joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003f180
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x390
mov eax, dword [0x101165b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x390], esi
mov dword [ebp - 0x388], eax
call sym.cis_cc_3.2.dll_PCIS_CC_GetState
cmp eax, 1
jl 0x1003f300
call sym.cis_cc_3.2.dll_PCIS_CC_GetState
cmp eax, 4
jg 0x1003f300
push ebx
push esi
call sym.cis_cc_3.2.dll_HASH_Initialize
lea eax, [esi + 0x280]
push ebx
push eax
mov dword [ebp - 0x38c], eax
call sym.cis_cc_3.2.dll_HASH_Initialize
add esp, 0x10
mov esi, 0x40
cmp ebx, sym.cis_cc_3.2.dll_sha384
je 0x1003f1f8
cmp ebx, sym.cis_cc_3.2.dll_sha512
jne 0x1003f1fd
mov esi, 0x80
push edi
mov edi, dword [ebp + 0x10]
cmp edi, esi
jbe 0x1003f248
lea ecx, [ebp - 0x384]
push ebx
push ecx
call sym.cis_cc_3.2.dll_HASH_Initialize
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x388]
push edx
push eax
lea ecx, [ebp - 0x384]
push ecx
call sym.cis_cc_3.2.dll_HASH_Update_PCIS
lea edx, [ebp - 0x384]
push edx
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x84]
push ecx
call sym.cis_cc_3.2.dll_HASH_Finalize
mov edi, dword [ebp + 0x10]
add esp, 0x20
jmp 0x1003f25f
mov edx, dword [ebp - 0x388]
push edi
push edx
lea eax, [ebp - 0x84]
push eax
call fcn.10086490
add esp, 0xc
push edi
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0x104]
push edx
call fcn.10086490
add esp, 0xc
cmp edi, esi
jae 0x1003f2ad
mov ebx, esi
sub ebx, edi
push ebx
lea eax, [ebp + edi - 0x104]
lea ecx, [ebp + edi - 0x84]
push 0
push eax
mov dword [ebp - 0x388], ecx
call fcn.10086410
mov edx, dword [ebp - 0x388]
push ebx
push 0
push edx
call fcn.10086410
add esp, 0x18
xor eax, eax
pop edi
test esi, esi
je 0x1003f2d5
jmp 0x1003f2c0
xor byte [ebp + eax - 0x84], 0x36
xor byte [ebp + eax - 0x104], 0x5c
inc eax
cmp eax, esi
jb 0x1003f2c0
mov ecx, dword [ebp - 0x390]
push esi
lea eax, [ebp - 0x84]
push eax
push ecx
call sym.cis_cc_3.2.dll_HASH_Update_PCIS
mov eax, dword [ebp - 0x38c]
push esi
lea edx, [ebp - 0x104]
push edx
push eax
call sym.cis_cc_3.2.dll_HASH_Update_PCIS
add esp, 0x18
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1008600b
mov esp, ebp
pop ebp
ret
Function at 0x1003f6d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x101165b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x18]
push esi
push 0
push ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x40], eax
call fcn.10086410
mov eax, dword [ebp + 0x10]
xor edx, edx
div esi
add esp, 0xc
test eax, eax
je 0x1003f82a
mov edx, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x3c], eax
jmp 0x1003f71b
mov edx, dword [ebp - 0x2c]
xor eax, eax
test esi, esi
je 0x1003f744
mov edi, ebx
lea ecx, [ebp - 0x24]
sub edi, ecx
jmp 0x1003f730
lea ecx, [ebp + eax - 0x24]
mov bl, byte [edi + ecx]
xor bl, byte [edx + eax]
inc eax
mov byte [ecx], bl
cmp eax, esi
jb 0x1003f730
mov ebx, dword [ebp - 0x30]
push esi
push 0
push ebx
call fcn.10086410
mov edx, dword [ebp - 0x40]
push esi
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.10086490
xor edi, edi
add esp, 0x18
mov dword [ebp - 0x34], edi
test esi, esi
je 0x1003f81d
jmp 0x1003f770
mov cl, byte [ebp + edi - 0x24]
xor eax, eax
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x25], cl
lea esp, [esp]
mov dl, byte [ebp - 0x25]
mov cl, 7
sub cl, al
shr dl, cl
test dl, 1
je 0x1003f7a0
lea ecx, [ebp - 0x14]
mov eax, ebx
sub ecx, ebx
mov edi, esi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec edi
jne 0x1003f797
mov al, byte [ebp - 0x14]
mov ecx, 1
test byte [ebp + esi - 0x15], cl
je 0x1003f7d9
cmp esi, ecx
jbe 0x1003f7cd
mov dl, byte [ebp + ecx - 0x14]
mov bl, dl
shl al, 7
shr bl, 1
or bl, al
mov byte [ebp + ecx - 0x14], bl
inc ecx
mov al, dl
cmp ecx, esi
jb 0x1003f7b2
mov ebx, dword [ebp - 0x30]
mov al, byte [ebp - 0x14]
shr al, 1
xor al, 0xe1
mov byte [ebp - 0x14], al
jmp 0x1003f7fe
cmp esi, 1
jbe 0x1003f7fb
mov edi, edi
mov dl, byte [ebp + ecx - 0x14]
mov bl, dl
shl al, 7
shr bl, 1
or bl, al
mov byte [ebp + ecx - 0x14], bl
inc ecx
mov al, dl
cmp ecx, esi
jb 0x1003f7e0
mov ebx, dword [ebp - 0x30]
shr byte [ebp - 0x14], 1
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, 8
jb 0x1003f780
mov edi, dword [ebp - 0x34]
inc edi
mov dword [ebp - 0x34], edi
cmp edi, esi
jb 0x1003f770
add dword [ebp - 0x2c], esi
dec dword [ebp - 0x3c]
jne 0x1003f718
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.1008600b
mov esp, ebp
pop ebp
ret
Function at 0x100408e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x560
mov eax, dword [0x101165b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0xb0b0b0b
mov dword [ebp - 0x20], 0xb0b0b0b
mov dword [ebp - 0x1c], 0xb0b0b0b
mov dword [ebp - 0x18], 0xb0b0b0b
mov dword [ebp - 0x14], 0xb0b0b0b
mov dword [ebp - 0x10], 0x54206948
mov dword [ebp - 0xc], 0x65726568
mov byte [ebp - 8], 0
mov dword [ebp - 0x40], 0x12b16f89
mov dword [ebp - 0x3c], 0x19dfbb8a
mov dword [ebp - 0x38], 0x7c103268
mov dword [ebp - 0x34], 0x3ff39dd4
mov dword [ebp - 0x30], 0x16b1b447
mov dword [ebp - 0x2c], 0x4fba1299
mov dword [ebp - 0x28], 0x224b6853
call sym.cis_cc_3.2.dll_PCIS_CC_GetState
cmp eax, 1
jl 0x10040a02
call sym.cis_cc_3.2.dll_PCIS_CC_GetState
cmp eax, 4
jg 0x10040a02
call sym.cis_cc_3.2.dll_PCIS_CC_SetStateConditionalSelfTest
push sym.cis_cc_3.2.dll_sha224
push 0x14
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x55c]
push ecx
call sym.cis_cc_3.2.dll_HMAC_Initialize
push 8
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x55c]
push eax
call sym.cis_cc_3.2.dll___HMAC_Update
lea ecx, [ebp - 0x55c]
push ecx
lea edx, [ebp - 0x560]
push edx
lea eax, [ebp - 0x5c]
push eax
call sym.cis_cc_3.2.dll_HMAC_Finalize
add esp, 0x28
xor eax, eax
nop
mov cl, byte [ebp + eax - 0x40]
cmp cl, byte [ebp + eax - 0x5c]
jne 0x100409e5
inc eax
cmp eax, 0x1c
jb 0x100409c0
call sym.cis_cc_3.2.dll_PCIS_CC_SetPreStateConditionalSelfTest
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008600b
mov esp, ebp
pop ebp
ret
push 0xffffffffffffff9e
call sym.cis_cc_3.2.dll_PCIS_CC_SetState
add esp, 4
mov eax, 0xffffdc49
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008600b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0xffffdcd7
call fcn.1008600b
mov esp, ebp
pop ebp
ret
Function at 0x10040a70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x568
mov eax, dword [0x101165b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0xb0b0b0b
mov dword [ebp - 0x20], 0xb0b0b0b
mov dword [ebp - 0x1c], 0xb0b0b0b
mov dword [ebp - 0x18], 0xb0b0b0b
mov dword [ebp - 0x14], 0xb0b0b0b
mov dword [ebp - 0x10], 0x54206948
mov dword [ebp - 0xc], 0x65726568
mov byte [ebp - 8], 0
mov dword [ebp - 0x44], 0x614c34b0
mov dword [ebp - 0x40], 0x5338dbd8
mov dword [ebp - 0x3c], 0xceafa85c
mov dword [ebp - 0x38], 0x2bf10baf
mov dword [ebp - 0x34], 0xc21d88
mov dword [ebp - 0x30], 0xa73d83c9
mov dword [ebp - 0x2c], 0x6c37e926
mov dword [ebp - 0x28], 0xf7cf322e
call sym.cis_cc_3.2.dll_PCIS_CC_GetState
cmp eax, 1
jl 0x10040b98
call sym.cis_cc_3.2.dll_PCIS_CC_GetState
cmp eax, 4
jg 0x10040b98
call sym.cis_cc_3.2.dll_PCIS_CC_SetStateConditionalSelfTest
push sym.cis_cc_3.2.dll_sha256
push 0x14
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x564]
push ecx
call sym.cis_cc_3.2.dll_HMAC_Initialize
push 8
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x564]
push eax
call sym.cis_cc_3.2.dll___HMAC_Update
lea ecx, [ebp - 0x564]
push ecx
lea edx, [ebp - 0x568]
push edx
lea eax, [ebp - 0x64]
push eax
call sym.cis_cc_3.2.dll_HMAC_Finalize
add esp, 0x28
xor eax, eax
mov cl, byte [ebp + eax - 0x44]
cmp cl, byte [ebp + eax - 0x64]
jne 0x10040b7b
inc eax
cmp eax, 0x20
jb 0x10040b56
call sym.cis_cc_3.2.dll_PCIS_CC_SetPreStateConditionalSelfTest
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008600b
mov esp, ebp
pop ebp
ret
push 0xffffffffffffff9e
call sym.cis_cc_3.2.dll_PCIS_CC_SetState
add esp, 4
mov eax, 0xffffdc48
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008600b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0xffffdcd7
call fcn.1008600b
mov esp, ebp
pop ebp
ret
Function at 0x10040c00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x588
mov eax, dword [0x101165b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0xb0b0b0b
mov dword [ebp - 0x20], 0xb0b0b0b
mov dword [ebp - 0x1c], 0xb0b0b0b
mov dword [ebp - 0x18], 0xb0b0b0b
mov dword [ebp - 0x14], 0xb0b0b0b
mov dword [ebp - 0x10], 0x54206948
mov dword [ebp - 0xc], 0x65726568
mov byte [ebp - 8], 0
mov dword [ebp - 0x54], 0x4439d0af
mov dword [ebp - 0x50], 0x629548d8
mov dword [ebp - 0x4c], 0xf425086b
mov dword [ebp - 0x48], 0x7f9046ab
mov dword [ebp - 0x44], 0xdbdaf915
mov dword [ebp - 0x40], 0xc61e10e4
mov dword [ebp - 0x3c], 0x4c03aa82
mov dword [ebp - 0x38], 0x9cc5eb7c
mov dword [ebp - 0x34], 0xa99eeafa
mov dword [ebp - 0x30], 0x7fde6e07
mov dword [ebp - 0x2c], 0xe852f14a
mov dword [ebp - 0x28], 0xb69cfab2
call sym.cis_cc_3.2.dll_PCIS_CC_GetState
cmp eax, 1
jl 0x10040d55
call sym.cis_cc_3.2.dll_PCIS_CC_GetState
cmp eax, 4
jg 0x10040d55
call sym.cis_cc_3.2.dll_PCIS_CC_SetStateConditionalSelfTest
push sym.cis_cc_3.2.dll_sha384
push 0x14
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x584]
push ecx
call sym.cis_cc_3.2.dll_HMAC_Initialize
push 8
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x584]
push eax
call sym.cis_cc_3.2.dll___HMAC_Update
lea ecx, [ebp - 0x584]
push ecx
lea edx, [ebp - 0x588]
push edx
lea eax, [ebp - 0x84]
push eax
call sym.cis_cc_3.2.dll_HMAC_Finalize
add esp, 0x28
xor eax, eax
jmp 0x10040d10
mov cl, byte [ebp + eax - 0x54]
cmp cl, byte [ebp + eax - 0x84]
jne 0x10040d38
inc eax
cmp eax, 0x30
jb 0x10040d10
call sym.cis_cc_3.2.dll_PCIS_CC_SetPreStateConditionalSelfTest
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008600b
mov esp, ebp
pop ebp
ret
push 0xffffffffffffff9e
call sym.cis_cc_3.2.dll_PCIS_CC_SetState
add esp, 4
mov eax, 0xffffdc47
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008600b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0xffffdcd7
call fcn.1008600b
mov esp, ebp
pop ebp
ret
Function at 0x10040dd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5a8
mov eax, dword [0x101165b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0xb0b0b0b
mov dword [ebp - 0x20], 0xb0b0b0b
mov dword [ebp - 0x1c], 0xb0b0b0b
mov dword [ebp - 0x18], 0xb0b0b0b
mov dword [ebp - 0x14], 0xb0b0b0b
mov dword [ebp - 0x10], 0x54206948
mov dword [ebp - 0xc], 0x65726568
mov byte [ebp - 8], 0
mov dword [ebp - 0x64], 0xde7caa87
mov dword [ebp - 0x60], 0x9d61efa5
mov dword [ebp - 0x5c], 0x24b4f04f
mov dword [ebp - 0x58], 0xb06c1d1a
mov dword [ebp - 0x54], 0xe2f47923
mov dword [ebp - 0x50], 0x78c24ece
mov dword [ebp - 0x4c], 0x5b3d07a
mov dword [ebp - 0x48], 0xde7ce145
mov dword [ebp - 0x44], 0xb733a8da
mov dword [ebp - 0x40], 0x2a7b8d6
mov dword [ebp - 0x3c], 0x4e278b03
mov dword [ebp - 0x38], 0xe4f4a3ae
mov dword [ebp - 0x34], 0x4e919dbe
mov dword [ebp - 0x30], 0x70f161eb
mov dword [ebp - 0x2c], 0x206c692e
mov dword [ebp - 0x28], 0x5468123a
call sym.cis_cc_3.2.dll_PCIS_CC_GetState
cmp eax, 1
jl 0x10040f36
call sym.cis_cc_3.2.dll_PCIS_CC_GetState
cmp eax, 4
jg 0x10040f36
call sym.cis_cc_3.2.dll_PCIS_CC_SetStateConditionalSelfTest
push sym.cis_cc_3.2.dll_sha512
push 0x14
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x5a4]
push ecx
call sym.cis_cc_3.2.dll_HMAC_Initialize
push 8
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x5a4]
push eax
call sym.cis_cc_3.2.dll___HMAC_Update
lea ecx, [ebp - 0x5a4]
push ecx
lea edx, [ebp - 0x5a8]
push edx
lea eax, [ebp - 0xa4]
push eax
call sym.cis_cc_3.2.dll_HMAC_Finalize
add esp, 0x28
xor eax, eax
mov cl, byte [ebp + eax - 0x64]
cmp cl, byte [ebp + eax - 0xa4]
jne 0x10040f19
inc eax
cmp eax, 0x40
jb 0x10040ef1
call sym.cis_cc_3.2.dll_PCIS_CC_SetPreStateConditionalSelfTest
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008600b
mov esp, ebp
pop ebp
ret
push 0xffffffffffffff9e
call sym.cis_cc_3.2.dll_PCIS_CC_SetState
add esp, 4
mov eax, 0xffffdc46
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008600b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0xffffdcd7
call fcn.1008600b
mov esp, ebp
pop ebp
ret
Function at 0x10041100
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x101165b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 0xc24edac5
mov dword [ebp - 0x28], 0x9632128
mov dword [ebp - 0x24], 0xf86bb306
mov dword [ebp - 0x20], 0xa3ce4966
mov dword [ebp - 0x1c], 0x264b2720
mov dword [ebp - 0x18], 0x88a2e9f2
mov dword [ebp - 0xc], 0xe6917fcf
mov word [ebp - 8], 0x777a
mov dword [ebp - 0x14], 0x2011259b
mov dword [ebp - 0x10], 0x49bf431b
call sym.cis_cc_3.2.dll_PCIS_CC_GetState
cmp eax, 1
jl 0x10041202
call sym.cis_cc_3.2.dll_PCIS_CC_GetState
cmp eax, 4
jg 0x10041202
call sym.cis_cc_3.2.dll_PCIS_CC_SetStateConditionalSelfTest
push sym.cis_cc_3.2.dll_aria192
push 0x18
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xb8]
push ecx
call sym.cis_cc_3.2.dll_CMAC_Initialize
push 6
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0xb8]
push eax
call sym.cis_cc_3.2.dll_CMAC_Update
lea ecx, [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x34]
push 8
push edx
call sym.cis_cc_3.2.dll_CMAC_Finalize
add esp, 0x28
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x14]
cmp cl, byte [ebp + eax - 0x34]
jne 0x100411e5
inc eax
cmp eax, 8
jb 0x100411c0
call sym.cis_cc_3.2.dll_PCIS_CC_SetPreStateConditionalSelfTest
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008600b
mov esp, ebp
pop ebp
ret
push 0xffffffffffffff9e
call sym.cis_cc_3.2.dll_PCIS_CC_SetState
add esp, 4
mov eax, 0xffffdc44
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008600b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0xffffdcd7
call fcn.1008600b
mov esp, ebp
pop ebp
ret
Function at 0x10049bb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1028c
call fcn.10087710
mov eax, dword [0x101165b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x10288], eax
mov eax, dword [ebp + 0x14]
mov edi, edx
push eax
lea edx, [ebp - 0x10284]
push edx
mov dword [ebp - 0x1028c], ecx
call sym.cis_cc_3.2.dll_HASH_Initialize
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x10284]
push ebx
push ecx
call sym.cis_cc_3.2.dll_HASH_Update_clone
add esp, 0x14
cmp edi, 0xffffffff
jne 0x10049c7c
push esi
call fcn.10085a69
add esp, 4
test eax, eax
jne 0x10049d1d
jmp 0x10049c20
push esi
push 0x10000
lea edx, [ebp - 0x10004]
push 1
push edx
call fcn.10085d20
push esi
mov edi, eax
call fcn.10085a91
add esp, 0x14
test eax, eax
jne 0x10049c69
push edi
lea eax, [ebp - 0x10004]
push eax
lea ecx, [ebp - 0x10284]
push ecx
call sym.cis_cc_3.2.dll_HASH_Update_clone
push esi
call fcn.10085a69
add esp, 0x10
test eax, eax
je 0x10049c20
jmp 0x10049d1d
pop edi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008600b
mov esp, ebp
pop ebp
ret
cmp edi, 0x10000
jbe 0x10049cd6
push esi
push 0x10000
lea edx, [ebp - 0x10004]
push 1
push edx
call fcn.10085d20
push esi
mov ebx, eax
call fcn.10085a91
add esp, 0x14
test eax, eax
jne 0x10049c69
push ebx
lea eax, [ebp - 0x10004]
push eax
lea ecx, [ebp - 0x10284]
push ecx
call sym.cis_cc_3.2.dll_HASH_Update_clone
push esi
sub edi, 0x10000
call fcn.10085a69
add esp, 0x10
test eax, eax
jne 0x10049cd6
cmp edi, 0x10000
ja 0x10049c84
push esi
call fcn.10085a69
add esp, 4
test eax, eax
jne 0x10049d1d
push esi
push edi
lea edx, [ebp - 0x10004]
push 1
push edx
call fcn.10085d20
push esi
mov edi, eax
call fcn.10085a91
add esp, 0x14
test eax, eax
jne 0x10049c69
push edi
lea eax, [ebp - 0x10004]
push eax
lea ecx, [ebp - 0x10284]
push ecx
call sym.cis_cc_3.2.dll_HASH_Update_clone
add esp, 0xc
mov eax, dword [ebp - 0x1028c]
mov ecx, dword [ebp - 0x10288]
lea edx, [ebp - 0x10284]
push edx
push eax
push ecx
call sym.cis_cc_3.2.dll_HASH_Finalize
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.1008600b
mov esp, ebp
pop ebp
ret
Function at 0x1004bce0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x101165b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x25c], ebx
test eax, eax
je 0x1004be53
test ecx, ecx
je 0x1004be53
test ebx, ebx
je 0x1004be53
push esi
lea eax, [ebx + 0x20c]
push edi
push eax
call sym.cis_cc_3.2.dll_MINT_GetBitLength
mov esi, eax
add esp, 4
shr esi, 3
mov dword [ebp - 0x260], eax
test al, 7
je 0x1004bd48
inc esi
push esi
call fcn.10085e5d
push esi
mov edi, eax
call fcn.10085e5d
push esi
push 0
push eax
mov dword [ebp - 0x258], eax
call fcn.10086410
lea eax, [ebp - 0x44]
push eax
call sym.cis_cc_3.2.dll_RANDHASH_Initialize
mov ecx, dword [ebp - 0x260]
push ecx
push edi
call sym.cis_cc_3.2.dll_HASHDRBG_GetRandNum
add esp, 0x20
mov edi, edi
lea edx, [ebp - 0x44]
push edx
push esi
push edi
call sym.cis_cc_3.2.dll_RANDHASH_GetRandomNum
add esp, 0xc
test esi, esi
jle 0x1004bdaf
mov ecx, dword [ebp - 0x258]
mov eax, edi
sub ecx, edi
mov edx, esi
mov edi, edi
mov bl, byte [ecx + eax]
xor byte [eax], bl
inc eax
dec edx
jne 0x1004bda0
mov ebx, dword [ebp - 0x25c]
mov eax, dword [ebp - 0x254]
push esi
push edi
push eax
call sym.cis_cc_3.2.dll_MINT_SetByByteArray
mov ecx, dword [ebp - 0x254]
lea eax, [ebx + 0x20c]
push eax
push ecx
call sym.cis_cc_3.2.dll_MINT_ModClassic
mov edx, dword [ebp - 0x254]
lea eax, [ebx + 0x20c]
push eax
push edx
lea eax, [ebp - 0x250]
push eax
call sym.cis_cc_3.2.dll_MINT_Inverse
add esp, 0x20
test eax, eax
jne 0x1004bd80
mov esi, dword [ebp - 0x264]
push 4
push ebx
lea ecx, [ebp - 0x250]
push ecx
lea eax, [ebx + 0x418]
push eax
push esi
call sym.cis_cc_3.2.dll_MINT_ExpWin
mov edx, dword [esi]
add edx, edx
add edx, edx
lea eax, [esi + 4]
push edx
push eax
push eax
call fcn.10086490
push edi
call fcn.10085a2f
mov eax, dword [ebp - 0x258]
push eax
call fcn.10085a2f
mov ecx, dword [ebp - 0x254]
push ebx
push esi
push ecx
call sym.cis_cc_3.2.dll_CONDITIONAL_SELFTEST_KEYPAIR_KCDSA
add esp, 0x34
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008600b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
or eax, 0xffffffff
pop ebx
call fcn.1008600b
mov esp, ebp
pop ebp
ret
Function at 0x10058a20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x12b4
call fcn.10087710
mov eax, dword [0x101165b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0xfff
xor edi, edi
lea ecx, [ebp - 0x101f]
push edi
push ecx
mov dword [ebp - 0x12ac], eax
mov dword [ebp - 0x12b0], esi
mov byte [ebp - 0x1020], 0
call fcn.10086410
lea edx, [ebp - 0x12b4]
push edx
lea eax, [ebp - 0x12a4]
push eax
lea ecx, [ebp - 0x1020]
push ecx
mov dword [ebp - 0x12a4], edi
mov dword [ebp - 0x12b4], edi
call fcn.1000141f
mov eax, dword [ebp + 0x10]
add esp, 0x18
test al, 7
je 0x10058a9f
shr eax, 3
lea ebx, [eax + 1]
jmp 0x10058aa4
shr eax, 3
mov ebx, eax
cmp ebx, edi
jbe 0x10058b91
lea esp, [esp]
lea edx, [ebp - 0x12a0]
push sym.cis_cc_3.2.dll_sha224
push edx
call sym.cis_cc_3.2.dll_HASH_Initialize
mov eax, dword [ebp - 0x12a4]
push eax
lea ecx, [ebp - 0x1020]
push ecx
lea edx, [ebp - 0x12a0]
push edx
call sym.cis_cc_3.2.dll_HASH_Update_PCIS
lea eax, [ebp - 0x12a0]
push eax
lea ecx, [ebp - 0x12a8]
push ecx
lea edx, [ebp - 0x20]
push edx
call sym.cis_cc_3.2.dll_HASH_Finalize
mov esi, dword [ebp - 0x12a8]
mov eax, ebx
sub eax, edi
add esp, 0x20
cmp eax, esi
jae 0x10058b0b
mov esi, eax
mov dword [ebp - 0x12a8], esi
mov ecx, dword [ebp - 0x12ac]
push esi
lea eax, [ebp - 0x20]
push eax
add ecx, edi
push ecx
call fcn.10086490
add edi, esi
add esp, 0xc
cmp edi, ebx
jae 0x10058b76
xor ecx, ecx
lea eax, [ebp - 0xfd1]
nop
movzx edx, byte [eax + 1]
xor byte [ebp + ecx - 0x1020], dl
movzx edx, byte [eax]
xor byte [ebp + ecx - 0x101f], dl
movzx edx, byte [eax - 1]
xor byte [ebp + ecx - 0x101e], dl
movzx edx, byte [eax - 2]
xor byte [ebp + ecx - 0x101d], dl
movzx edx, byte [eax - 3]
xor byte [ebp + ecx - 0x101c], dl
add ecx, 5
sub eax, 5
cmp ecx, 0x50
jb 0x10058b30
jmp 0x10058ab0
mov eax, dword [ebp - 0x12b0]
mov dword [eax], edi
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008600b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [esi], edi
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.1008600b
mov esp, ebp
pop ebp
ret
Function at 0x10058c10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x12ac
call fcn.10087710
mov eax, dword [0x101165b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0xfff
xor edi, edi
lea ecx, [ebp - 0x1017]
push edi
push ecx
mov dword [ebp - 0x12a4], eax
mov dword [ebp - 0x12a8], esi
mov byte [ebp - 0x1018], 0
call fcn.10086410
lea edx, [ebp - 0x12ac]
push edx
lea eax, [ebp - 0x129c]
push eax
lea ecx, [ebp - 0x1018]
push ecx
mov dword [ebp - 0x129c], edi
mov dword [ebp - 0x12ac], edi
call fcn.1000141f
mov eax, dword [ebp + 0x10]
add esp, 0x18
test al, 7
je 0x10058c8f
shr eax, 3
lea ebx, [eax + 1]
jmp 0x10058c94
shr eax, 3
mov ebx, eax
cmp ebx, edi
jbe 0x10058d81
lea esp, [esp]
lea edx, [ebp - 0x1298]
push sym.cis_cc_3.2.dll_pophas160
push edx
call sym.cis_cc_3.2.dll_HASH_Initialize
mov eax, dword [ebp - 0x129c]
push eax
lea ecx, [ebp - 0x1018]
push ecx
lea edx, [ebp - 0x1298]
push edx
call sym.cis_cc_3.2.dll_HASH_Update_PCIS
lea eax, [ebp - 0x1298]
push eax
lea ecx, [ebp - 0x12a0]
push ecx
lea edx, [ebp - 0x18]
push edx
call sym.cis_cc_3.2.dll_HASH_Finalize
mov esi, dword [ebp - 0x12a0]
mov eax, ebx
sub eax, edi
add esp, 0x20
cmp eax, esi
jae 0x10058cfb
mov esi, eax
mov dword [ebp - 0x12a0], esi
mov ecx, dword [ebp - 0x12a4]
push esi
lea eax, [ebp - 0x18]
push eax
add ecx, edi
push ecx
call fcn.10086490
add edi, esi
add esp, 0xc
cmp edi, ebx
jae 0x10058d66
xor ecx, ecx
lea eax, [ebp - 0xfc9]
nop
movzx edx, byte [eax + 1]
xor byte [ebp + ecx - 0x1018], dl
movzx edx, byte [eax]
xor byte [ebp + ecx - 0x1017], dl
movzx edx, byte [eax - 1]
xor byte [ebp + ecx - 0x1016], dl
movzx edx, byte [eax - 2]
xor byte [ebp + ecx - 0x1015], dl
movzx edx, byte [eax - 3]
xor byte [ebp + ecx - 0x1014], dl
add ecx, 5
sub eax, 5
cmp ecx, 0x50
jb 0x10058d20
jmp 0x10058ca0
mov eax, dword [ebp - 0x12a8]
mov dword [eax], edi
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008600b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [esi], edi
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.1008600b
mov esp, ebp
pop ebp
ret