joyce8/EMBER2024-capa huggingface dataset:
Function at 0x487f90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
sub edx, edi
sar edx, 1
mov esi, 0x811c9dc5
mov ecx, 0
add edx, edx
je 0x487fc1
lea ecx, [ecx]
movzx eax, byte [ecx + edi]
xor esi, eax
inc ecx
imul esi, esi, 0x1000193
cmp ecx, edx
jb 0x487fb0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x4892c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
call fcn.00461a40
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 5
push esi
push ebx
or edi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x489398
push 0xf0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x48931e
push ecx
push ebx
call eax
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadResource]
push dword [ebp - 8]
xor esi, esi
push ebx
call eax
test eax, eax
je 0x489385
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x489385
push dword [ebp - 4]
push eax
call fcn.0048b5b0
add esp, 8
mov ebx, eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov edi, eax
test edi, edi
je 0x489364
cmp edi, 0xffffffff
jne 0x48936c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp ebx, dword [ebp - 8]
je 0x48938d
test ebx, ebx
je 0x48938d
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x48938d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x489398
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48a9d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b966
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x565680]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x48aa7c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x48aa7c
call fcn.0045bec0
mov esi, eax
jmp 0x48ab6c
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x48aa9f
call fcn.0045bec0
jmp 0x48ab5f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
jne 0x48aabd
call fcn.0045bec0
jmp 0x48ab5f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x48aade
mov esi, 0x8007000e
jmp 0x48ab61
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00489d40
jmp 0x48ab08
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x48ab1f
mov esi, 0x8007000e
jmp 0x48ab61
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x48ab3f
call fcn.0045bec0
jmp 0x48ab5f
mov eax, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor edx, edx
mov word [eax + ecx*2], dx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.0048a870
mov esi, eax
test edi, edi
je 0x48ab6c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x48ab90
lea ecx, [ebp - 0x418]
call fcn.0048a150
jmp 0x48ab90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e52a4
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48b490
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x48b4a9
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48b4b5
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x48b4b0
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x48d100
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bba6
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x565680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
push 2
mov dword [ebp - 0x24c], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x244], esi
cmp esi, 0xffffffff
jne 0x48d154
xor eax, eax
jmp 0x48d30d
push 0x22c
xor ebx, ebx
lea eax, [ebp - 0x23c]
push ebx
push eax
call fcn.004e67c0
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
push esi
mov dword [ebp - 0x23c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x48d300
lea edi, [ebp - 0x218]
shr edi, 0x10
mov dword [ebp - 0x248], edi
mov ecx, dword [0x566ac0]
mov eax, ecx
imul eax, ecx
mov edx, 1
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x48d1b5
dec eax
or eax, 0xfffffff8
inc eax
cmp eax, 7
jne 0x48d1c5
test ecx, ecx
cmove ecx, edx
mov dword [0x566ac0], ecx
mov eax, dword [0x5651b8]
mov ecx, 0x5651b8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x240], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
test edi, edi
jne 0x48d20d
movzx edi, ax
push 0
push edi
call fcn.00402f50
add esp, 8
test eax, eax
je 0x48d238
push edi
push eax
lea ecx, [ebp - 0x240]
call fcn.004073a0
jmp 0x48d232
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48d210
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x240]
call fcn.00409940
mov esi, dword [ebp - 0x240]
mov edi, dword [esi - 0xc]
mov dword [ebp - 4], 1
test edi, edi
js 0x48d2f6
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x48d26d
push edi
lea ecx, [ebp - 0x240]
call fcn.00407590
mov esi, dword [ebp - 0x240]
lea eax, [edi + 1]
push eax
push esi
call fcn.004e7585
add esp, 8
cmp edi, dword [esi - 8]
jg 0x48d2f6
mov dword [esi - 0xc], edi
xor eax, eax
mov word [esi + edi*2], ax
mov edi, dword [ebp - 0x24c]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jl 0x48d2af
push esi
push eax
call fcn.004e5f62
add esp, 8
test eax, eax
je 0x48d2af
sub eax, dword [edi]
sar eax, 1
cmovns ebx, dword [ebp - 0x234]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48d2d0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x244]
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x48d300
test ebx, ebx
jne 0x48d300
mov edi, dword [ebp - 0x248]
jmp 0x48d199
push 0x80070057
call fcn.00402fc0
test esi, esi
je 0x48d30b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e52a4
mov esp, ebp
pop ebp
ret
Function at 0x48e960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bd80
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x565680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x3c
lea eax, [ebp - 0x48]
push 0
push eax
mov dword [ebp - 4], 1
call fcn.004e67c0
add esp, 0xc
mov dword [ebp - 0x48], 0x3c
call fcn.0048eef0
mov esi, dword [0x566ac0]
mov edi, 1
test al, al
jne 0x48e9c5
test esi, esi
cmove esi, edi
mov dword [0x566ac0], esi
mov eax, esi
imul eax, esi
cdq
mov ecx, 9
idiv ecx
mov dword [ebp - 0x3c], str.open
cmp edx, 2
jne 0x48ea63
xor edx, edx
mov ecx, edx
and ecx, edi
dec ecx
not ecx
and ecx, esi
mov eax, edx
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, edi
dec ecx
sar eax, 1
not ecx
and ecx, esi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, edi
dec ecx
sar eax, 1
not ecx
and ecx, esi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, edi
dec ecx
sar eax, 1
not ecx
and ecx, esi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
inc edx
add esi, eax
cmp edx, 0x100
jl 0x48e9e4
mov dword [0x566ac0], esi
mov eax, dword [ebp + 8]
mov edx, edi
sub edx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, edx
jge 0x48ea7f
push 0
lea ecx, [ebp + 8]
call fcn.00407590
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], 5
mov dword [ebp - 0x44], 0x440
sub edi, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, edi
jge 0x48eaaa
push 0
lea ecx, [ebp + 0xc]
call fcn.00407590
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [0x568154]
test eax, eax
jne 0x48eae5
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x48ead8
push str.ShellExecuteExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x568154], eax
jmp 0x48eadd
mov eax, dword [0x568154]
test eax, eax
jne 0x48eae5
xor bl, bl
jmp 0x48eaf1
lea ecx, [ebp - 0x48]
push ecx
call eax
cmp eax, 1
sete bl
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
or esi, 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x48eb14
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp + 0xc]
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x48eb35
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x492640
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.004e6790
mov eax, dword [0x565680]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x4926a5
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x4926a5
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.004e9a6d
add eax, 0x40
push eax
call fcn.004ec277
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004e52a4
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.004ec1b2
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x492734
call fcn.00492500
test eax, eax
jle 0x492734
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004e52a4
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004e52a4
add esp, 0x108
ret
Function at 0x4a4750
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x24
call fcn.004e6790
mov eax, dword [0x565680]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, esi
push edi
mov dword [ebp - 0x18], esi
lea ecx, [eax + 1]
jmp 0x4a4780
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4a4780
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
sub eax, ecx
lea edi, [eax + 1]
push edi
push esi
push 8
push 0xfde9
mov dword [ebp - 0x20], 8
call ebx
mov esi, eax
test esi, esi
jg 0x4a47f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3ec
jne 0x4a47da
mov ecx, dword [ebp - 0x18]
push 0
push 0
push edi
push ecx
push 0
push 0xfde9
mov dword [ebp - 0x20], 0
call ebx
mov esi, eax
test esi, esi
jg 0x4a47f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x459
jne 0x4a488a
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push edx
push eax
jmp 0x4a4878
lea eax, [esi + esi]
call fcn.004eb7f0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov eax, esp
push esi
push eax
push edi
push ecx
push edx
push 0xfde9
mov dword [ebp - 0x24], eax
call ebx
test eax, eax
je 0x4a488a
mov esi, dword [ebp - 0x1c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a4823
push 8
sub eax, edx
lea ecx, [ebp - 0x14]
push ecx
inc eax
push eax
push esi
push 0
push 0xfde9
call ebx
test eax, eax
je 0x4a488a
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.004e78bd
mov esi, eax
add esp, 8
test esi, esi
jne 0x4a492e
call fcn.004ed77f
cmp dword [eax], 2
je 0x4a4870
call fcn.004ed77f
cmp dword [eax], 9
jne 0x4a4882
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
push ecx
push edx
call fcn.004eb1fb
mov esi, eax
add esp, 8
test esi, esi
jne 0x4a492e
push 0xa9
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.004911b0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
push 0x530314
push eax
push 0x530310
push ecx
push str.fopen_
push 5
call fcn.00490d90
add esp, 0x2c
call fcn.004ed77f
cmp dword [eax], 2
jne 0x4a4900
push 0xac
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.004911b0
add esp, 0x14
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e52a4
mov esp, ebp
pop ebp
ret
push 0xae
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.004911b0
add esp, 0x14
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e52a4
mov esp, ebp
pop ebp
ret
push 0x564678
call fcn.0048f800
mov edi, eax
add esp, 4
test edi, edi
jne 0x4a4960
push esi
call fcn.004e7a4d
add esp, 4
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e52a4
mov esp, ebp
pop ebp
ret
push 0
push edi
call fcn.0048f290
push esi
push 1
push 0x6a
push edi
call fcn.0048f5f0
add esp, 0x18
mov eax, edi
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e52a4
mov esp, ebp
pop ebp
ret
Function at 0x4c35f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x4c3609
mov esi, edi
mov edi, eax
jmp 0x4c360b
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x4c361b
mov eax, ebx
jmp 0x4c3625
push eax
push ebx
call fcn.004948c0
add esp, 8
test eax, eax
jne 0x4c362d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x4c3649
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x4c3634
cmp eax, dword [esi + 4]
jge 0x4c3660
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x4c3650
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x4c3681
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x4c367e
dec eax
test eax, eax
jg 0x4c3670
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x4fee88
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x565680]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004f0fa1
mov dword [ebp - 0x14], eax
cmp dword [0x56b16c], edi
jne 0x4fef79
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4fef06
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4ff059
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4ff059
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ff059
push eax
call ebx
push 0x554578
push esi
mov dword [0x56b16c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x56b170], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x55459c
push esi
mov dword [0x56b174], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x56b17c], eax
test eax, eax
je 0x4fef76
push 0x5545b8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x56b178], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4fef9e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4fef91
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4fefb3
push 4
pop eax
jmp 0x4ff05b
cmp dword [ebp - 0x14], edi
je 0x4fefb3
push dword [0x56b16c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4fef98
mov eax, dword [0x56b178]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4ff011
cmp dword [0x56b17c], esi
je 0x4ff011
push eax
call ebx
push dword [0x56b17c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4ff011
test eax, eax
je 0x4ff011
call ecx
test eax, eax
je 0x4ff006
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4ff006
test byte [ebp - 8], 1
jne 0x4ff011
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4ff041
mov eax, dword [0x56b170]
cmp eax, esi
je 0x4ff03e
push eax
call ebx
test eax, eax
je 0x4ff03e
call eax
mov edi, eax
test edi, edi
je 0x4ff03e
mov eax, dword [0x56b174]
cmp eax, esi
je 0x4ff03e
push eax
call ebx
test eax, eax
je 0x4ff03e
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x56b16c]
call ebx
test eax, eax
je 0x4ff059
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4ff05b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e52a4
leave
ret
Function at 0x501462
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004f1e05
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x50149a
xor eax, eax
jmp 0x5014c6
cmp esi, dword [ebp - 4]
je 0x5014c3
cmp dword [ebp + 0xc], 0
je 0x5014c3
push dword [edi + 0x9c]
call fcn.00501070
push dword [edi + 0x9c]
mov esi, eax
call fcn.004f12b9
pop ecx
pop ecx
cmp esi, eax
je 0x501496
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x404890
Capabilities:
Hash data with md5

Disassembly:
push edi
push esi
sub esp, 8
mov eax, 0x64100800
mov dword [esp + 4], ecx
mov edx, dword [0x48b514]
cmp eax, edx
mov dword [esp], ecx
jge 0x4048be
mov eax, dword [0x497fc0]
and eax, 0xc1d537e
mov dword [0x497fc0], eax
mov eax, 0x33cc11c9
mov ecx, dword [esp]
mov dword [ecx], 0
mov edx, dword [0x493134]
xor edx, 0xa601000
mov dword [0x493134], edx
mov dword [ecx + 4], 0
mov si, word [0x480fba]
mov dx, si
mov si, word [0x48661c]
mov di, si
add edi, edx
mov si, di
mov word [0x48661c], si
mov dword [ecx + 8], 0x67452301
mov edx, dword [0x4887a4]
or edx, 0x7b827621
mov dword [0x4887a4], edx
mov dword [ecx + 0xc], 0xefcdab89
mov edx, dword [0x49003c]
add edx, 0xaeef5c46
cmp eax, edx
je 0x404965
mov eax, dword [0x488504]
mov ecx, eax
dec ecx
mov dword [0x488504], ecx
add eax, 0x1395dc4e
mov dx, word [0x47fca6]
mov cx, dx
and eax, ecx
and eax, 0x77
mov dx, ax
mov word [0x47fca6], dx
mov eax, 0x81fda649
mov ecx, dword [esp]
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [0x49107c]
cmp eax, edx
jge 0x4049dd
mov eax, dword [0x490354]
inc eax
mov dword [0x490354], eax
cmp eax, 0xc52f18e
jl 0x4049d8
mov eax, dword [0x49224c]
mov ecx, eax
dec ecx
mov dword [0x49224c], ecx
mov dx, word [0x481d90]
mov cx, dx
dec ecx
mov dx, cx
mov word [0x481d90], dx
movsx ecx, dx
and eax, ecx
mov ecx, dword [0x497864]
cmp eax, ecx
jne 0x4049d3
jmp 0x4049d3
jmp 0x4049d8
jmp 0x4049dd
mov eax, 0xbe9f8f7f
mov ecx, dword [esp]
mov dword [ecx + 0x14], 0x10325476
mov edx, dword [0x489288]
sar edx, 9
cmp eax, edx
jl 0x404a0c
mov eax, dword [0x488838]
and eax, 0x9042a6a0
mov dword [0x488838], eax
add esp, 8
pop esi
pop edi
ret
Function at 0x40dc10
Capabilities:
Terminate process

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, 0x922c9cb
mov dword [esp + 0xc], eax
mov eax, dword [0x48bb0c]
cmp ecx, eax
jg 0x40dc3c
mov eax, dword [0x498a3c]
or eax, 0xb4650fbc
mov dword [0x498a3c], eax
mov eax, 1
mov ecx, dword [0x499740]
mov edx, esp
mov dword [edx], ecx
mov dword [esp + 8], eax
call fcn.00437240
mov ecx, dword [0x48c2f0]
mov edx, ecx
dec edx
mov dword [0x48c2f0], edx
add ecx, 0xa773cd95
mov edx, dword [0x48f48c]
and ecx, edx
and ecx, 0xc0e407cb
mov dword [0x48f48c], ecx
mov dword [esp], 1
mov byte [esp + 7], al
call fcn.00456a1a
int3