joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458974
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x458b1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x458b00
mov dl, 1
mov eax, dword [0x412bec]
call fcn.00403b98
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004049f4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x458aef
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044a0f4
test al, al
je 0x458ae2
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x458b30
lea eax, [ebp - 0x254]
call fcn.004096d4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x458ae2
xor eax, eax
push ebp
push 0x458adb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x458b68
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x458ac4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c64
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x458ac4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458ae2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4589e5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.004170bc
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458b26
lea eax, [ebp - 0x260]
call fcn.004049f4
ret

Function at 0x459498
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x486ccc]
cmp byte [eax + 0xad], 0
jne 0x459509
cmp dword [0x486ce8], 0
jne 0x4594ca
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459454
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x486ce8], eax
cmp dword [0x486ce4], 0
jne 0x4594e5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x486ce4], eax
cmp dword [0x486cec], 0
jne 0x459509
push esp
push 0
push 0
push 0x4593f8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x486cec], eax
pop edx
ret
Function at 0x45970c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x459723
add esp, 0xfffffff0
call fcn.00403eec
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b210
mov eax, dword [0x48142c]
cmp word [eax + 2], 0
jne 0x45974b
mov eax, dword [0x48142c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b454
mov eax, dword [0x4814e0]
cmp word [eax + 2], 0
jne 0x459765
mov eax, dword [0x4814e0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b660
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412580]
call fcn.00403b98
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412580]
call fcn.00403b98
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x412580]
call fcn.00403b98
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41fb94]
call fcn.0042766c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45991c
mov eax, dword [0x481344]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427a40
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45bd34
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x481344]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cf98
test eax, eax
je 0x45986c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040908c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cfcc
test eax, eax
je 0x459880
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404c64
mov byte [ebx + 0xd4], 0
push ebx
push 0x45aee0
call fcn.0041c38c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x481220]
cmp byte [eax], 0
jne 0x4598d1
mov eax, ebx
call fcn.00459a60
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045bf18
mov eax, ebx
call fcn.0045ca7c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459911
call fcn.00403f44
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459ce0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x459d7f
cmp dword [ebx + 0x94], 0
jne 0x459d79
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x459c68
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x459d79
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x459d3f
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x459d79
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414b6c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x459d4e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x459f98
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x486ccc]
cmp dword [eax + 0x30], 0
je 0x45a0f5
test bl, bl
jne 0x45a046
cmp dword [esi + 0x9c], 0
jne 0x45a03b
mov eax, esi
call fcn.0045c8f8
push eax
push 0x459ec4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45a00c
mov eax, dword [0x486ccc]
call fcn.0045cfd8
test al, al
je 0x45a00c
mov eax, dword [0x486cf0]
call fcn.004058fc
mov edi, eax
cmp edi, 0
jl 0x45a00c
push 0
mov eax, dword [0x486cf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x459ff6
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45a03b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414b6c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45a01b
inc dword [esi + 0x9c]
jmp 0x45a0f5
cmp dword [esi + 0x9c], 0
jle 0x45a0f5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45a0f5
cmp dword [esi + 0x44], 0
je 0x45a0a1
mov eax, dword [0x486ccc]
call fcn.0045cfd8
test al, al
je 0x45a0a1
mov eax, dword [0x486cf0]
call fcn.004058fc
mov edi, eax
cmp edi, 0
jl 0x45a0a1
push 5
mov eax, dword [0x486cf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45a08b
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45a0d0
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414b6c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45a0b0
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x486cf0
mov ecx, 1
mov edx, dword [0x459ea4]
call fcn.00405ab0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45abdc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45ac46
mov eax, ebx
call fcn.0045cfd8
test al, al
jne 0x45ac46
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404ae4
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45ac33
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45ac53
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a48
jmp 0x45ac53
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a48
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45c0fc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c16a
mov eax, esi
call fcn.00444dd8
test al, al
je 0x45c16a
mov eax, dword [ebx + 0x84]
call fcn.00444a64
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c16a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45c15e
push 0
mov eax, dword [ebx + 0x84]
call fcn.00444a64
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043c8e4
jmp 0x45c16a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045bf38
pop esi
pop ebx
ret

Function at 0x46719c
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe54
xor edx, edx
mov dword [ebp - 0x1ac], edx
mov dword [ebp - 0x1a8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4672fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xa4], 0x94
lea eax, [ebp - 0xa4]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x4671e7
cmp dword [ebp - 0x94], 1
je 0x4671eb
xor eax, eax
jmp 0x4671ed
mov al, 1
mov byte [ebp - 0xd], al
mov dl, 1
mov eax, dword [0x41e5b8]
call fcn.0041e688
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4672d8
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 8]
call fcn.0041e728
cmp byte [ebp - 0xd], 0
je 0x46722f
mov edx, 0x467310
mov eax, dword [ebp - 8]
call fcn.0041e8b0
jmp 0x46723c
mov edx, 0x467344
mov eax, dword [ebp - 8]
call fcn.0041e8b0
lea ecx, [ebp - 0x1a8]
mov edx, 0x46737c
mov eax, dword [ebp - 8]
call fcn.0041eaf8
mov edx, dword [ebp - 0x1a8]
mov eax, dword [ebp - 4]
add eax, 0x1c
call fcn.00404a48
lea ecx, [ebp - 0x1ac]
mov edx, 0x467394
mov eax, dword [ebp - 8]
call fcn.0041eaf8
mov edx, dword [ebp - 0x1ac]
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.00404a48
mov eax, dword [ebp - 8]
call fcn.0041e6f8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
jne 0x4672c2
mov dword [ebp - 0xc], 0xff
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1a4]
push eax
call sub.advapi32.dll_GetUserNameA
mov eax, dword [ebp - 4]
add eax, 0x1c
lea edx, [ebp - 0x1a4]
mov ecx, pe_nt_image_headers32
call fcn.00404c64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4672df
mov eax, dword [ebp - 8]
call fcn.00403bc8
ret
Function at 0x46cefc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46cf2a
mov eax, ebx
call fcn.0046d9b0
cmp dword [ebx + 0x40], 0
je 0x46cf23
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46cf9b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46cf8d
cmp dword [ebx + 8], 0
je 0x46cf4c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46cf5e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46cf8d
cmp dword [ebx + 8], 0
je 0x46cf3f
cmp eax, 3
je 0x46cf71
dec eax
jne 0x46cf3f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46cf3f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46cf3f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46cfb9
cmp dword [ebx + 0x14], 0xcc
je 0x46cfb9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046cfc4
pop ebx
ret

Function at 0x47d958
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e74
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x47dac0
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.0045d418
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.0045d438
mov ebx, eax
jmp 0x47da92
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404c64
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00408f08
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408494
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408494
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404e1c
je 0x47da72
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404c64
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408494
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00408494
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404e1c
jne 0x47da87
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, edi
mov eax, esi
call fcn.0045d458
mov ebx, eax
test ebx, ebx
jne 0x47d9d3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47dac7
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404a18
lea eax, [ebp - 4]
call fcn.004049f4
ret
Function at 0x402590
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc74
push edi
push esi
push ebx
push 0x52550e
push 1
push 0
call fcn.0040943c
mov dword [0x52c932], eax
call fcn.0040949c
or eax, eax
jne 0x402690
push dword [0x52c932]
call fcn.0040941e
push 0x12c
lea eax, [ebp - 0x384]
push eax
push dword [0x52c92e]
call fcn.004094a8
push 0x12c
lea eax, [ebp - 0x12c]
push eax
call fcn.004094ba
lea ecx, [ebp - 0x12c]
cmp byte [eax + ecx - 1], 0x5c
je 0x402602
mov word [eax + ecx], 0x5c
lea eax, [ebp - 0x12c]
push eax
push 0x525769
lea eax, [ebp - 0x258]
push eax
call fcn.00409412
add esp, 0xc
lea eax, [ebp - 0x38c]
push eax
lea eax, [ebp - 0x388]
push eax
lea eax, [ebp - 0x384]
push eax
call fcn.00402760
mov edi, dword [ebp - 0x388]
cmp word [edi], 0x5a4d
jne 0x402655
add edi, dword [edi + 0x3c]
cmp dword [edi], 0x4550
jne 0x402655
xor word [edi + 0x16], 0x2000
push dword [ebp - 0x38c]
push dword [ebp - 0x388]
lea eax, [ebp - 0x258]
push eax
call fcn.004026b0
cmp eax, 0xffffffff
je 0x40267e
lea eax, [ebp - 0x258]
push eax
call fcn.00402710
push 0x8000
push 0
push dword [ebp - 0x388]
call fcn.00409550
push dword [0x52c932]
call fcn.0040941e
xor eax, eax
pop ebx
pop esi
pop edi
leave
ret

Function at 0x4027f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb40
push edi
push esi
push ebx
push 0x52577a
push 0
push 4
call fcn.00409502
or eax, eax
je 0x402868
mov dword [ebp - 0x4bc], eax
push 0
push 0
push 0
push 4
push dword [ebp - 0x4bc]
call fcn.004094fc
mov dword [ebp - 0x4c0], eax
mov ecx, dword [eax]
mov dword [ebp - 0x4b8], ecx
add eax, 4
mov edi, eax
push 0x40
push 0x1000
push dword [ebp - 0x4b8]
push 0
call fcn.0040954a
mov dword [ebp - 0x4b4], eax
push dword [ebp - 0x4b8]
push edi
push dword [ebp - 0x4b4]
call fcn.0040e8ff
jmp 0x402895
push 0x258
lea eax, [ebp - 0x4b0]
push eax
push 0
call fcn.004094a8
lea eax, [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x4b4]
push eax
lea eax, [ebp - 0x4b0]
push eax
call fcn.00402760
mov edi, dword [ebp - 0x4b4]
cmp word [edi], 0x5a4d
jne 0x4028b3
add edi, dword [edi + 0x3c]
cmp dword [edi], 0x4550
jne 0x4028b3
or word [edi + 0x16], 0x2000
mov edi, dword [ebp - 0x4b4]
mov esi, edi
add esi, dword [esi + 0x3c]
mov ebx, dword [esi + 0x34]
lea esi, [esi + 0x78]
mov eax, dword [esi]
push eax
push edi
call fcn.00402930
add eax, edi
mov eax, dword [eax + 0xc]
push eax
push edi
call fcn.00402930
add edi, eax
push edi
call fcn.00409586
push eax
push 0
push edi
call fcn.0040e930
push dword [ebp + 8]
push edi
call fcn.0040957a
push dword [ebp + 0xc]
call fcn.004029a0
push dword [ebp - 0x4b8]
push dword [ebp - 0x4b4]
push dword [ebp + 0xc]
call fcn.004026b0
push 0x8000
push 0
push dword [ebp - 0x4b4]
call fcn.00409550
pop ebx
pop esi
pop edi
leave
ret 8
Function at 0x408cd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [0x52c92e], edi
add ebp, 4
mov ebx, 0xffffffff
push 0x400
push edi
call fcn.004094de
or eax, eax
jne 0x408d19
cmp word [edi], 0x5a4d
jne 0x408d19
add edi, dword [edi + 0x3c]
cmp dword [edi], 0x4550
jne 0x408d19
movzx ecx, word [edi + 0x16]
test ecx, 0x2000
je 0x408d19
xor ebx, ebx
or ebx, ebx
jne 0x408d3a
call fcn.00402520
cmp esi, 1
jne 0x408d33
mov eax, 1
pop ebx
pop esi
pop edi
leave
ret 0xc
pop ebx
pop esi
pop edi
leave
ret 0xc
sub ebp, 4
pop ebx
pop esi
pop edi
leave
ret 0xc

Function at 0x40a2d4
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov dword [edx], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x40cfec
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 0x20], 0xfe
mov byte [ebp - 0x1f], 0xdc
mov byte [ebp - 0x1e], 0xba
mov byte [ebp - 0x1d], 0x98
mov byte [ebp - 0x1c], 0x76
mov byte [ebp - 0x1b], 0x54
mov byte [ebp - 0x1a], 0x32
mov byte [ebp - 0x19], 0x10
mov byte [ebp - 0x18], 0xa3
mov byte [ebp - 0x17], 0x9d
mov byte [ebp - 0x16], 0x4a
mov byte [ebp - 0x15], 0x18
mov byte [ebp - 0x14], 0xf8
mov byte [ebp - 0x13], 0x5b
mov byte [ebp - 0x12], 0x4a
mov byte [ebp - 0x11], 0x52
mov byte [ebp - 0x10], 0xfe
mov byte [ebp - 0xf], 0xdc
mov byte [ebp - 0xe], 0xba
mov byte [ebp - 0xd], 0x98
mov byte [ebp - 0xc], 0x76
mov byte [ebp - 0xb], 0x54
mov byte [ebp - 0xa], 0x32
mov byte [ebp - 9], 0x10
mov byte [ebp - 8], 0xa3
mov byte [ebp - 7], 0x3d
mov byte [ebp - 6], 0x4a
mov byte [ebp - 5], 0x18
mov byte [ebp - 4], 0xf8
mov byte [ebp - 3], 0x5b
mov byte [ebp - 2], 0x4a
mov byte [ebp - 1], 0x52
push 0
mov dl, 2
lea ecx, [ebp - 0x48]
call fcn.0040d0bc
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x33], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x2f], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x2b], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x27], eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp + 0xc]
shl edx, 3
push edx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x48]
call fcn.0040d13f
mov esp, ebp
pop ebp
ret 8
Function at 0x412528
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff38
mov eax, dword [ebp + 0x10]
shl eax, 3
mov dword [ebp - 4], eax
mov dword [0x52be68], 0x67452301
mov dword [0x52be6c], 0xefcdab89
mov dword [0x52be70], 0x98badcfe
mov dword [0x52be74], 0x10325476
cmp dword [ebp + 0x10], 0x40
jle 0x412595
push dword [ebp + 0xc]
lea edx, [ebp - 0xc8]
push edx
call fcn.00412735
add esp, 8
lea ecx, [ebp - 0xc8]
push ecx
call fcn.0041278e
pop ecx
add dword [ebp + 0xc], 0x40
sub dword [ebp + 0x10], 0x40
cmp dword [ebp + 0x10], 0x40
jg 0x412568
xor eax, eax
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov byte [edx + ebp - 0x88], 0
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x80
jl 0x41259a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea eax, [ebp - 0x88]
push eax
call fcn.0040e8ff
mov eax, dword [ebp + 0x10]
mov byte [eax + ebp - 0x88], 0x80
cmp dword [ebp + 0x10], 0x37
jg 0x412608
push dword [ebp - 4]
lea edx, [ebp - 0x50]
push edx
call fcn.004126fa
add esp, 8
lea ecx, [ebp - 0x88]
push ecx
lea eax, [ebp - 0xc8]
push eax
call fcn.00412735
add esp, 8
lea edx, [ebp - 0xc8]
push edx
call fcn.0041278e
pop ecx
jmp 0x41265a
push dword [ebp - 4]
lea ecx, [ebp - 0x10]
push ecx
call fcn.004126fa
add esp, 8
lea eax, [ebp - 0x88]
push eax
lea edx, [ebp - 0xc8]
push edx
call fcn.00412735
add esp, 8
lea ecx, [ebp - 0xc8]
push ecx
call fcn.0041278e
pop ecx
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0xc8]
push edx
call fcn.00412735
add esp, 8
lea ecx, [ebp - 0xc8]
push ecx
call fcn.0041278e
pop ecx
xor eax, eax
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov byte [edx + ebp - 0x88], 0
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x80
jl 0x41265f
lea ecx, [ebp - 0x88]
push ecx
lea eax, [ebp - 0xc8]
push eax
call fcn.00412735
add esp, 8
push dword [0x52be68]
push dword [ebp + 8]
call fcn.004126fa
add esp, 8
push dword [0x52be6c]
mov edx, dword [ebp + 8]
add edx, 4
push edx
call fcn.004126fa
add esp, 8
push dword [0x52be70]
mov ecx, dword [ebp + 8]
add ecx, 8
push ecx
call fcn.004126fa
add esp, 8
push dword [0x52be74]
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
call fcn.004126fa
add esp, 8
xor edx, edx
mov dword [0x52be74], edx
mov dword [0x52be70], edx
mov dword [0x52be6c], edx
mov dword [0x52be68], edx
mov esp, ebp
pop ebp
ret
Function at 0x10002859
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x10002869
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jle 0x10002977
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cwde
call fcn.10002987
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a4d
jne 0x10002977
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call fcn.10002987
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4550
jne 0x10002977
pop eax
push eax
mov eax, dword [eax + 0x7c]
call fcn.10002987
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10002977
pop eax
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop eax
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x10002974
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.1000299a
test eax, eax
je 0x10002963
push ecx
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop ecx
leave
ret 8
push dword [ebp - 8]
call fcn.100029ce
add dword [ebp - 0xc], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x1000291e
add esp, 0xc
mov eax, 0
jmp 0x10002981
mov esp, ebp
pop ebp
ret 8