joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404370
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push 0x1020
push 0
push esi
call fcn.00466310
push 0x4a1038
push 0x4ea040
call fcn.0046904f
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x4043a1
lea eax, [edi + 1]
pop edi
pop esi
ret
push ebx
push 2
push 0
push edi
call fcn.0046b94a
push edi
call fcn.0046bebc
push 0
push 0
push edi
mov ebx, eax
call fcn.0046b94a
mov ecx, ebx
add esp, 0x1c
sub ecx, 0xe1c
je 0x404404
sub ecx, 0x200
je 0x404404
sub ecx, 4
je 0x404404
push edi
call fcn.00468678
push str.Config_file_size_wrong___failing_to_read
push 2
call fcn.004049e0
push 0x1020
push 0x4e8f00
push esi
call fcn.00465d90
add esp, 0x18
or eax, 0xffffffff
pop ebx
pop edi
pop esi
ret
push edi
push 1
push ebx
push esi
call fcn.0046b5e0
push edi
mov esi, eax
call fcn.00468678
add esp, 0x14
xor eax, eax
cmp eax, esi
sbb eax, eax
pop ebx
pop edi
inc eax
pop esi
ret

Function at 0x404430
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
push 0x4e8ee8
xor esi, esi
call fcn.004615f0
mov edi, dword [esp + 0x14]
push 0x1020
push esi
push edi
call fcn.00466310
push 0x4a1038
push 0x4ea160
call fcn.0046904f
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x404485
push 2
push esi
push ebx
call fcn.0046b94a
push ebx
call fcn.0046bebc
push 0
push 0
push ebx
mov esi, eax
call fcn.0046b94a
add esp, 0x1c
mov ecx, esi
sub ecx, 0xe1c
je 0x404522
sub ecx, 0x200
je 0x404522
sub ecx, 4
je 0x404522
test ebx, ebx
je 0x4044b1
push ebx
call fcn.00468678
add esp, 4
push str.Config_file_size_wrong___failing_to_read
push 2
call fcn.004049e0
push edi
call fcn.00404370
add esp, 0xc
test eax, eax
jne 0x4044fe
lea eax, [edi + 4]
push 0x101c
push eax
call fcn.004040f0
add esp, 8
cmp eax, dword [edi]
jne 0x4044fe
push str.Loaded_config_backup
push 2
call fcn.004049e0
push 0x4e8ee8
call fcn.004618b0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0x1020
push 0x4e8f00
push edi
call fcn.00465d90
push 0x4e8ee8
call fcn.004618b0
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebx
ret
push ebx
push 1
push esi
push edi
call fcn.0046b5e0
push ebx
mov esi, eax
call fcn.00468678
add esp, 0x14
test esi, esi
jne 0x404544
push edi
call fcn.00404370
add esp, 4
lea esi, [edi + 4]
push 0x101c
push esi
call fcn.004040f0
add esp, 8
cmp eax, dword [edi]
je 0x40459f
push str.Conf_Corrupt___Loading_Backup__n
push 2
call fcn.004049e0
push edi
call fcn.00404370
push 0x101c
push esi
call fcn.004040f0
add esp, 0x14
cmp eax, dword [edi]
je 0x40459f
push str.Backup_Conf_Corrupted_n
push 2
call fcn.004049e0
push 0x4e8ee8
call fcn.004618b0
add esp, 0xc
mov eax, 2
pop edi
pop esi
pop ebx
ret
push 0x4e8ee8
call fcn.004618b0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x4046b0
Capabilities:
Copy file
Get common file path
Move file
Write file on windows

Disassembly:
sub esp, 0x108
mov eax, dword [0x4d31c4]
xor eax, esp
mov dword [esp + 0x104], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x118]
push 0x4e8ee8
call fcn.004615f0
lea ebp, [edi + 4]
push 0x101c
push ebp
call fcn.004040f0
add esp, 0xc
mov dword [edi], eax
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x4ea160]
lea ecx, [ecx + 1]
mov byte [esp + ecx + 0xb], al
test al, al
jne 0x4046f0
lea eax, [esp + 0xc]
push 0x5c
push eax
call fcn.00466470
add esp, 8
test eax, eax
je 0x40471c
mov ecx, 0x5c
mov word [eax], cx
push 0x104
call fcn.0046c15c
add esp, 4
mov esi, eax
lea eax, [esp + 0xc]
push esi
push 8
push str.nscf.conf.tmp
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x404772
push esi
call fcn.0046c157
add esp, 4
push 0x4e8ee8
call fcn.004618b0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004634b5
add esp, 0x108
ret
test esi, esi
jne 0x40479d
push 0x4e8ee8
call fcn.004618b0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004634b5
add esp, 0x108
ret
push ebx
push 0x4a104c
push esi
call fcn.0046904f
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4048a6
push ebx
push 1
push 0x1020
push edi
call fcn.0046c0ff
add esp, 0x10
push ebx
cmp eax, 1
je 0x4047ec
call fcn.00468678
push esi
call fcn.0046c157
push 0x4e8ee8
call fcn.004618b0
add esp, 0xc
xor eax, eax
jmp 0x4048be
call fcn.00468678
push 0x101c
push ebp
call fcn.004040f0
add esp, 0xc
cmp eax, dword [edi]
jne 0x404811
push 0
push 0x4ea040
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x1020
push edi
push 0x4e8f00
call fcn.00465d90
mov ecx, dword [0x4e8f04]
add esp, 0xc
mov eax, ecx
and eax, 8
mov dword [0x4e5694], eax
test ecx, 0x400
je 0x404848
mov dword [0x4e5690], 3
jmp 0x404869
test ecx, 0x200
je 0x40485c
mov dword [0x4e5690], 2
jmp 0x404869
mov eax, ecx
shr eax, 8
and eax, 1
mov dword [0x4e5690], eax
mov al, cl
shr cl, 5
push 3
shr al, 4
and cl, 1
push 0x4ea160
and al, 1
mov byte [0x4e5699], cl
push esi
mov byte [0x4e5698], al
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push esi
call fcn.0046c157
push 0x4e8ee8
call fcn.004618b0
add esp, 8
xor eax, eax
jmp 0x4048be
push esi
call fcn.0046c157
push 0x4e8ee8
call fcn.004618b0
add esp, 8
mov eax, 1
mov ecx, dword [esp + 0x114]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004634b5
add esp, 0x108
ret
Function at 0x404940
Capabilities:
Identify system language via api
Query or enumerate registry value

Disassembly:
sub esp, 0x20
mov eax, dword [0x4d31c4]
xor eax, esp
mov dword [esp + 0x1c], eax
lea eax, [esp]
push eax
push 0x20219
push 0
push dword [0x4d20b0]
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4049c1
push esi
lea eax, [esp + 8]
mov dword [esp + 0xc], 3
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0xc], 0x10
push eax
lea eax, [esp + 0x14]
push eax
push 0
push str.Language
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4049c1
lea eax, [esp + 0xc]
push eax
call fcn.00468467
add esp, 4
test eax, eax
jns 0x4049ca
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004634b5
add esp, 0x20
ret

Function at 0x4057c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x4057e7
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
sub esi, 1
jne 0x4057d6
pop edi
movzx eax, dl
pop esi
ret

Function at 0x405930
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, 0x10c
call fcn.00463700
mov eax, dword [0x4d31c4]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x4059cf
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x4059cf
lea eax, [esp + 0x118]
push eax
push 0
push dword [esp + 0x11c]
lea eax, [esp + 0x14]
push 0x100
push eax
call fcn.004040b0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.0046aeb4
add esp, 0x1c
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea ecx, [esp + 4]
push 0
push ecx
test eax, eax
mov ecx, 0x100
cmovs eax, ecx
push eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.004634b5
add esp, 0x10c
ret
lea eax, [esp + 0x118]
push eax
push 0
push dword [esp + 0x11c]
lea eax, [esp + 0x14]
push 0xff
push eax
call fcn.004040b0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.0046aeb4
add esp, 0x1c
mov byte [esp + 0x107], 0
call fcn.004057f0
test eax, eax
jle 0x405a63
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x405a77
push 0
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.004634b5
add esp, 0x10c
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x10c]
pop esi
xor ecx, esp
call fcn.004634b5
add esp, 0x10c
ret
Function at 0x4129a0
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
push dword [esp + 0x10]
call fcn.00412a80
mov edi, eax
add esp, 8
test edi, edi
jne 0x412a38
push 0xaf
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.004065b0
push 0x4b2118
push esi
push 0x4b211c
push dword [esp + 0x2c]
push str.fopen_
push 5
call fcn.00406150
add esp, 0x2c
call fcn.0047198e
cmp dword [eax], 2
jne 0x412a1b
push 0xb2
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.004065b0
add esp, 0x14
xor eax, eax
pop edi
pop esi
ret
push 0xb4
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.004065b0
add esp, 0x14
xor eax, eax
pop edi
pop esi
ret
push 0x4d2520
call fcn.00413050
mov esi, eax
add esp, 4
test esi, esi
jne 0x412a59
push edi
call fcn.00468678
add esp, 4
xor eax, eax
pop edi
pop esi
ret
push 0
push esi
call fcn.00412c90
push edi
push 1
push 0x6a
push esi
call fcn.00412cc0
add esp, 0x18
mov eax, esi
pop edi
pop esi
ret
Function at 0x417570
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x417639
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x417591
cmp al, 0x6b
jne 0x417639
inc ecx
cmp al, 0x6b
jne 0x4175fb
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x4175b2
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x4175b2
cmp dl, 0xbb
jne 0x4175db
inc eax
cmp eax, esi
jl 0x4175a0
sub esi, eax
test eax, eax
jne 0x4175fe
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.004065b0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x7b
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.004065b0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x417627
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.004065b0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.00465d90
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x70
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.004065b0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x41d7d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x70
call fcn.00463700
mov eax, dword [0x4d31c4]
xor eax, esp
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x88], 0x40000000
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
push esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], 0
ja 0x41d9a7
mov esi, dword [esp + 0x80]
cmp esi, 0x40000000
ja 0x41d9a7
cmp dword [esp + 0x88], 0x40000000
ja 0x41d9a7
push ebx
push edi
push eax
call fcn.00406b80
mov edi, eax
lea eax, [esp + 0x28]
push eax
call fcn.004050d0
push 0
push dword [esp + 0x20]
lea eax, [esp + 0x34]
mov ebx, 1
push eax
call fcn.00404cb0
push dword [esp + 0xa4]
lea eax, [esp + 0x3c]
mov dword [esp + 0x28], 0x1000000
push dword [esp + 0x30]
push eax
call fcn.00404e60
add esp, 0x20
test eax, eax
je 0x41d983
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00404e60
add esp, 0xc
test eax, eax
je 0x41d983
push dword [esp + 0x98]
lea eax, [esp + 0x28]
push dword [esp + 0x24]
push eax
call fcn.00404e60
add esp, 0xc
test eax, eax
je 0x41d983
push 0
cmp esi, edi
jb 0x41d94b
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.00404c00
add esp, 0xc
test eax, eax
je 0x41d983
sub esi, edi
je 0x41d97b
push 0
push dword [esp + 0x18]
lea eax, [esp + 0x2c]
add ebp, edi
push eax
inc ebx
call fcn.00404cb0
push dword [esp + 0x9c]
mov eax, ebx
mov byte [esp + 0x23], bl
push dword [esp + 0x28]
shr eax, 8
mov byte [esp + 0x26], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x25], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x24], al
lea eax, [esp + 0x38]
push eax
call fcn.00404e60
add esp, 0x18
test eax, eax
jne 0x41d897
jmp 0x41d983
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00404c00
add esp, 0xc
test eax, eax
je 0x41d983
push esi
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.00465d90
lea eax, [esp + 0x48]
push edi
push eax
call fcn.00405490
add esp, 0x14
mov dword [esp + 0x1c], 1
lea eax, [esp + 0x24]
push eax
call fcn.00404e70
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.004634b5
add esp, 0x70
ret
mov ecx, dword [esp + 0x74]
xor eax, eax
pop esi
pop ebp
xor ecx, esp
call fcn.004634b5
add esp, 0x70
ret
Function at 0x41dbb0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.00463700
mov eax, dword [0x4d31c4]
xor eax, esp
mov dword [esp + 0x88], eax
mov edx, dword [esp + 0xa0]
xor eax, eax
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x9c]
push edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x10], edx
test edi, edi
je 0x41dc16
cmp edi, dword [esi]
je 0x41dc0d
test ebp, ebp
je 0x41dc90
test ebx, ebx
js 0x41dc90
mov eax, 1
mov dword [esi], edi
jmp 0x41dc1c
mov edi, dword [esi]
test edi, edi
je 0x41dc90
test ebp, ebp
je 0x41ddab
push edi
call fcn.00406b70
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x41dc50
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.00405a90
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jge 0x41dcab
push dword [esp + 0x10]
lea eax, [esi + 4]
push edi
push eax
call fcn.00404cb0
add esp, 0xc
test eax, eax
je 0x41dc90
push ebx
push ebp
lea ebx, [esi + 4]
push ebx
call fcn.00404e60
add esp, 0xc
test eax, eax
je 0x41dc90
lea ebp, [esi + 0x4c]
push ebp
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.00404c30
add esp, 0xc
test eax, eax
jne 0x41dcc7
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004634b5
add esp, 0x8c
ret
cmp ebx, 0x80
ja 0x41dc90
push ebx
lea eax, [esi + 0x50]
push ebp
push eax
call fcn.00465d90
lea ebp, [esi + 0x4c]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x80
je 0x41dcea
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.00466310
add esp, 0xc
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov al, byte [esi + ecx + 0x50]
xor al, 0x36
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x41dcf0
push edx
lea ebx, [esi + 0x1c]
push edi
push ebx
call fcn.00404cb0
add esp, 0xc
test eax, eax
je 0x41dc90
push edi
call fcn.00406b70
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.00404e60
add esp, 0x10
test eax, eax
je 0x41dc90
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x41dd40
push dword [esp + 0x10]
lea ebx, [esi + 0x34]
push edi
push ebx
call fcn.00404cb0
add esp, 0xc
test eax, eax
je 0x41dc90
push edi
call fcn.00406b70
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.00404e60
add esp, 0x10
test eax, eax
je 0x41dc90
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.00404f30
add esp, 8
test eax, eax
je 0x41dc90
mov eax, 1
jmp 0x41dc92
test eax, eax
je 0x41dd89
jmp 0x41dcee
Function at 0x41df40
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x41df52
xor eax, eax
pop edi
ret
push ebp
push esi
push edi
call fcn.00429300
mov ecx, dword [esp + 0x1c]
add esp, 4
mov ebp, dword [esp + 0x14]
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x41e015
mov ecx, dword [edi + 0x10c]
push ebx
cmp ecx, esi
jne 0x41dfa6
test esi, esi
jle 0x41dff4
mov edx, ebp
lea ecx, [edi + 0x8c]
mov ebx, esi
nop word [eax + eax]
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x41df90
jmp 0x41dff4
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x41dfca
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.00466310
add esp, 0xc
test esi, esi
jle 0x41dff4
mov edx, ebp
lea ecx, [edi + 0xac]
mov ebx, esi
nop dword [eax + eax]
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x41dfe0
push esi
push ebp
push ebp
push edi
call fcn.00406b30
add esp, 0x10
pop ebx
test eax, eax
jne 0x41e015
push esi
push ebp
call fcn.00405490
add esp, 8
xor eax, eax
pop esi
pop ebp
pop edi
ret
pop esi
pop ebp
mov eax, 1
pop edi
ret
Function at 0x4506f0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ecx, dword [edx + 4]
mov ebp, edx
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
cmovge ebp, edi
cmovge edi, edx
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 8]
jg 0x450719
mov eax, ebx
jmp 0x450723
push eax
push ebx
call fcn.00414a90
add esp, 8
test eax, eax
jne 0x45072b
pop edi
pop ebp
pop ebx
ret
xor eax, eax
cmp dword [ebp + 4], eax
jle 0x45074a
push esi
mov ecx, dword [edi]
mov edx, dword [ebp]
mov esi, dword [ecx + eax*4]
mov ecx, dword [ebx]
xor esi, dword [edx + eax*4]
mov dword [ecx + eax*4], esi
inc eax
cmp eax, dword [ebp + 4]
jl 0x450733
pop esi
cmp eax, dword [edi + 4]
jge 0x450760
nop
mov ecx, dword [edi]
mov edx, dword [ebx]
mov ecx, dword [ecx + eax*4]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [edi + 4]
jl 0x450750
mov ecx, dword [edi + 4]
mov dword [ebx + 4], ecx
test ecx, ecx
jle 0x450783
mov edx, dword [ebx]
add edx, 0xfffffffc
lea edx, [edx + ecx*4]
mov eax, dword [edx]
lea edx, [edx - 4]
test eax, eax
jne 0x450780
dec ecx
test ecx, ecx
jg 0x450772
mov dword [ebx + 4], ecx
pop edi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x451c70
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x459770
push ebp
mov ebp, dword [esp + 0x10]
push ebp
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.00459970
add esp, 0xc
test eax, eax
js 0x459960
push ebx
push esi
push edi
mov edi, dword [ebp + 0xf0]
xor ebx, ebx
shl edi, 2
test edi, edi
jle 0x4597f0
lea esi, [ebp + 8]
lea esi, [esi + edi*4]
lea eax, [ebp + 8]
nop dword [eax]
mov edx, dword [eax - 8]
lea eax, [eax + 0x10]
mov ecx, dword [esi - 8]
lea esi, [esi - 0x10]
mov dword [eax - 0x18], ecx
add ebx, 4
mov ecx, dword [esi + 0xc]
sub edi, 4
mov dword [esi + 8], edx
mov edx, dword [eax - 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov edx, dword [eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [eax - 0xc], ecx
mov dword [esi + 0x14], edx
cmp ebx, edi
jl 0x4597b0
mov edi, 1
cmp dword [ebp + 0xf0], edi
jle 0x45995b
lea esi, [ebp + 2]
mov edx, dword [esi + 0xe]
lea esi, [esi + 0x10]
mov eax, edx
inc edi
shr eax, 0x18
movzx ecx, byte [eax*4 + 0x4c3248]
movzx eax, byte [esi - 1]
mov ecx, dword [ecx*4 + 0x4c3e48]
movzx eax, byte [eax*4 + 0x4c3248]
xor ecx, dword [eax*4 + 0x4c4648]
movzx eax, byte [esi]
movzx eax, byte [eax*4 + 0x4c3248]
xor ecx, dword [eax*4 + 0x4c4248]
movzx eax, dl
mov edx, dword [esi + 2]
movzx eax, byte [eax*4 + 0x4c3248]
xor ecx, dword [eax*4 + 0x4c4a48]
mov eax, edx
shr eax, 0x18
mov dword [esi - 2], ecx
movzx ecx, byte [eax*4 + 0x4c3248]
movzx eax, byte [esi + 3]
mov ecx, dword [ecx*4 + 0x4c3e48]
movzx eax, byte [eax*4 + 0x4c3248]
xor ecx, dword [eax*4 + 0x4c4648]
movzx eax, byte [esi + 4]
movzx eax, byte [eax*4 + 0x4c3248]
xor ecx, dword [eax*4 + 0x4c4248]
movzx eax, dl
mov edx, dword [esi + 6]
movzx eax, byte [eax*4 + 0x4c3248]
xor ecx, dword [eax*4 + 0x4c4a48]
mov eax, edx
shr eax, 0x18
mov dword [esi + 2], ecx
movzx ecx, byte [eax*4 + 0x4c3248]
movzx eax, byte [esi + 7]
mov ecx, dword [ecx*4 + 0x4c3e48]
movzx eax, byte [eax*4 + 0x4c3248]
xor ecx, dword [eax*4 + 0x4c4648]
movzx eax, byte [esi + 8]
movzx eax, byte [eax*4 + 0x4c3248]
xor ecx, dword [eax*4 + 0x4c4248]
movzx eax, dl
mov edx, dword [esi + 0xa]
movzx eax, byte [eax*4 + 0x4c3248]
xor ecx, dword [eax*4 + 0x4c4a48]
mov eax, edx
shr eax, 0x18
mov dword [esi + 6], ecx
movzx ecx, byte [eax*4 + 0x4c3248]
movzx eax, byte [esi + 0xb]
mov ecx, dword [ecx*4 + 0x4c3e48]
movzx eax, byte [eax*4 + 0x4c3248]
xor ecx, dword [eax*4 + 0x4c4648]
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax*4 + 0x4c3248]
xor ecx, dword [eax*4 + 0x4c4248]
movzx eax, dl
movzx eax, byte [eax*4 + 0x4c3248]
xor ecx, dword [eax*4 + 0x4c4a48]
mov dword [esi + 0xa], ecx
cmp edi, dword [ebp + 0xf0]
jl 0x459804
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x452250
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.00463700
mov eax, dword [0x4d31c4]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push ebx
mov dword [esp + 0xc], eax
xor ebx, ebx
mov eax, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov dword [esp + 0x10], eax
xor esi, esi
mov dword [eax], ebx
lea eax, [esp + 0x1c]
push edi
mov edi, dword [esp + 0x8c]
push eax
call fcn.004050d0
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.00404f30
add esp, 0xc
test eax, eax
je 0x452352
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00404c30
add esp, 0xc
test eax, eax
je 0x452352
lea eax, [esp + 0x20]
push eax
call fcn.00404e70
mov esi, dword [ebp]
add esp, 4
test byte [esi + 0xc], 4
je 0x452370
push edi
call fcn.00411cb0
push ebx
push edi
mov dword [esp + 0x1c], eax
call fcn.00406e10
mov esi, eax
add esp, 0xc
test esi, esi
je 0x452352
push esi
call fcn.00445080
add esp, 4
test eax, eax
jle 0x452352
push dword [ebp]
push ebx
push 1
push 0xf8
push 0xffffffffffffffff
push esi
call fcn.00406bc0
add esp, 0x18
test eax, eax
jle 0x452352
push dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x24]
push esi
call fcn.00444fa0
add esp, 0x14
test eax, eax
jle 0x452352
mov ecx, dword [esp + 0x14]
mov ebx, 1
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
push esi
call fcn.00406db0
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004634b5
add esp, 0x6c
ret
xor eax, eax
lea ecx, [esi + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x452388
cmp dword [edi], edx
je 0x4523b2
inc eax
add ecx, 4
cmp eax, 4
jl 0x452375
push 0x7b
push str..cryptoevpp_sign.c
push 0x6e
push 0x6b
push 6
call fcn.004065b0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004634b5
add esp, 0x6c
ret
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x4523e6
push 0x80
push str..cryptoevpp_sign.c
push 0x68
push 0x6b
push 6
call fcn.004065b0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004634b5
add esp, 0x6c
ret
push dword [edi + 0x14]
mov ecx, dword [esp + 0x18]
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x44]
push dword [esp + 0x28]
push ecx
push dword [esi]
call eax
mov ecx, dword [esp + 0x90]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004634b5
add esp, 0x6c
ret