joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4445ac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4445e4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4445c5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4445d4
or bl, 4
test esi, 0x20000000
je 0x4445df
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44acc0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44acd2
add esp, 0xfffffff0
call fcn.004042e8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b2f0
mov eax, dword [0x481f64]
mov dword [eax + 4], ebx
mov dword [eax], 0x44b064
mov eax, dword [0x481f74]
mov dword [eax + 4], ebx
mov dword [eax], 0x44b070
mov eax, ebx
call fcn.0044b07c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412b28]
call fcn.00403f98
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412b28]
call fcn.00403f98
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412b28]
call fcn.00403f98
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412b28]
call fcn.00403f98
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412b28]
call fcn.00403f98
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x447494
push eax
push 0
push 0
mov eax, dword [0x482100]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41cd18]
call fcn.0041e180
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41cd18]
call fcn.0041e180
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41cd18]
call fcn.0041e180
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044b4f0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44b3b8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44b3b8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44b3b8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44ae0f
call fcn.00404340
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44b178
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
xor edx, edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44b348
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44b329
mov dl, 1
mov eax, dword [0x4130d0]
call fcn.00403f98
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404d3c
lea eax, [ebp - 0x118]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov ebx, eax
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
mov dword [ebp - 0x10], eax
dec ebx
test ebx, ebx
jl 0x44b318
inc ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.004390a0
test al, al
jne 0x44b215
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44b30b
xor edx, edx
push ebp
push 0x44b304
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44b235
mov ebx, dword [ebp - 0x10]
jmp 0x44b237
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x25c], 0
lea ecx, [ebp - 0x260]
mov edx, 0x44b358
lea eax, [ebp - 0x258]
call fcn.00409cc4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44b2ed
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x44b390
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44b2ed
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.00404fac
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x18]
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 - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44b2ed
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.00404fac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b30b
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x18], 4
dec dword [ebp - 0x14]
jne 0x44b1f6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004173f4
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 0x44b34f
lea eax, [ebp - 0x264]
call fcn.00404d3c
ret
Function at 0x44bc90
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x483b44]
cmp byte [eax + 0xa5], 0
jne 0x44bd01
cmp dword [0x483b5c], 0
jne 0x44bcc2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44bc4c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x483b5c], eax
cmp dword [0x483b58], 0
jne 0x44bcdd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x483b58], eax
cmp dword [0x483b60], 0
jne 0x44bd01
push esp
push 0
push 0
push 0x44bbf0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x483b60], eax
pop edx
ret

Function at 0x44c394
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x483b44]
cmp dword [eax + 0x30], 0
je 0x44c43e
cmp dword [ebx + 0x94], 0
jne 0x44c438
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44c324
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44c438
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 0x44c3fe
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44c438
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.00415030
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44c40d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44cf9c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44cfd1
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.00404e2c
jmp 0x44cfde
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404d90
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44e180
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44e1c1
mov eax, esi
call fcn.00434858
test al, al
je 0x44e1c1
mov eax, dword [ebx + 0x84]
call fcn.004345f8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44e1c1
push 0
mov eax, dword [ebx + 0x84]
call fcn.004345f8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x456b80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
cmp dword [ebx + 0xc], 0
jle 0x456c07
cmp dword [ebx + 0x10], 0
jle 0x456c07
mov ecx, edx
mov eax, dword [0x4568f4]
mov dl, 1
call fcn.00456dd8
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x456c00
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
call fcn.00402ca4
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00456ff8
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 4]
call fcn.00417714
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456c07
mov eax, dword [ebp - 4]
call fcn.00403fc8
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x401520
Capabilities:
Create thread

Disassembly:
sub esp, 0x20
push esi
lea eax, [esp + 4]
push edi
mov esi, ecx
push eax
push 4
push esi
push 0x4015e0
push 0
push 0
mov dword [esp + 0x20], 0
call fcn.0040b3a3
add esp, 0x18
mov dword [esi + 0x2c], eax
push eax
call dword [0x4110e4]
cmp dword [esi + 4], 1
jne 0x4015a0
mov edi, dword [0x4111bc]
push 0
push 0
lea ecx, [esp + 0x14]
push 0
push ecx
call edi
test eax, eax
je 0x4015ab
push ebx
mov ebx, dword [0x4111b8]
push ebp
mov ebp, dword [0x4111b4]
lea edx, [esp + 0x14]
push edx
call ebx
lea eax, [esp + 0x14]
push eax
call ebp
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
call edi
test eax, eax
jne 0x40157d
pop ebp
pop ebx
jmp 0x4015ab
mov edx, dword [esi]
push 0xffffffffffffffff
push edx
call dword [0x411090]
mov eax, dword [esi + 0x30]
push eax
call dword [0x411094]
mov ecx, dword [esi + 0x2c]
push 0x1388
push ecx
call dword [0x411090]
mov edx, dword [esi + 0x2c]
push edx
call dword [str.KI_A941F3F2331983CBCDEC22D3DA2C772A]
pop edi
pop esi
add esp, 0x20
ret
Function at 0x4028c0
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x410bbb
push eax
mov eax, dword [0x414814]
mov dword fs:[0], esp
push ebx
xor ebx, ebx
push esi
push edi
cmp eax, ebx
mov edi, ecx
je 0x4028f0
inc eax
mov dword [0x414814], eax
jmp 0x402af0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [0x4147d4], eax
mov dword [0x4147e8], ecx
mov dword [0x414808], edx
call fcn.00407e30
mov dword [0x4147f0], eax
mov dword [0x4147e4], ebx
mov dword [0x4147dc], ebx
mov dword [0x414810], ebx
mov dword [0x4147f8], ebx
call fcn.00407e50
push eax
call dword [0x41106c]
cmp eax, ebx
mov dword [0x4147c8], eax
je 0x402af0
mov esi, dword [0x411080]
push 0x413170
push eax
call esi
mov dword [str.R_F402753C4B78C7F363B45B62C8CB313F], eax
mov eax, dword [0x4147c8]
push 0x413164
push eax
call esi
mov ecx, dword [0x4147c8]
push 0x413154
push ecx
mov dword [0x4147ec], eax
call esi
mov edx, dword [0x4147c8]
push 0x41313c
push edx
mov dword [0x41480c], eax
call esi
mov dword [0x414800], eax
mov eax, dword [0x4147c8]
push 0x41312c
push eax
call esi
mov ecx, dword [0x4147c8]
push 0x41311c
push ecx
mov dword [0x4147e0], eax
call esi
mov edx, dword [0x4147c8]
push 0x413114
push edx
mov dword [0x4147fc], eax
call esi
mov dword [0x4147d8], eax
mov eax, dword [0x4147c8]
push 0x413108
push eax
call esi
mov ecx, dword [0x4147c8]
push 0x4130fc
push ecx
mov dword [0x4147d0], eax
call esi
mov edx, dword [0x4147c8]
push 0x4130f0
push edx
mov dword [0x414804], eax
call esi
mov dword [0x4147f4], eax
mov eax, dword [str.R_F402753C4B78C7F363B45B62C8CB313F]
cmp eax, ebx
je 0x402adb
cmp dword [0x4147ec], ebx
je 0x402adb
cmp dword [0x41480c], ebx
je 0x402adb
cmp dword [0x414800], ebx
je 0x402adb
cmp dword [0x4147e0], ebx
je 0x402adb
cmp dword [0x4147fc], ebx
je 0x402adb
cmp dword [0x4147d8], ebx
je 0x402adb
cmp dword [0x4147d0], ebx
je 0x402adb
call eax
test eax, eax
jne 0x402adb
push 0x20
mov dword [esp + 0x20], ebx
call fcn.0040b4dc
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov dword [esp + 0x14], ebx
je 0x402a89
mov ecx, eax
call fcn.00403f10
jmp 0x402a8b
xor eax, eax
mov esi, dword [0x4110e0]
push ebx
push ebx
push ebx
push ebx
mov dword [0x4147e4], eax
call esi
push ebx
push ebx
push ebx
push ebx
mov dword [0x4147dc], eax
call esi
mov dword [0x414810], eax
lea eax, [esp + 0x1c]
push eax
push 4
push edi
push 0x4033d0
push ebx
push ebx
call fcn.0040b3a3
add esp, 0x18
mov dword [0x4147f8], eax
push eax
call dword [0x4110e4]
mov dword [0x414814], 1
jmp 0x402af0
cmp dword [0x414814], ebx
jne 0x402af0
mov ecx, dword [0x4147c8]
push ecx
call dword [0x41105c]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0xc
Function at 0x404750
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x410cbe
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [esp + 0x140]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x148]
push edi
lea edx, [esi + 0x240]
xor edi, edi
push edx
push edi
mov dword [esi + 0x21c], eax
mov dword [esi + 0x25c], ecx
mov dword [esi + 0x230], edi
mov dword [esi + 0x234], edi
mov dword [esi + 0x220], edi
mov dword [esi + 0x228], edi
mov dword [esi + 0x22c], edi
mov dword [esi + 0x258], edi
call fcn.00407e90
mov ebx, dword [esp + 0x148]
add esp, 8
cmp ebx, edi
je 0x40497b
mov eax, dword [esp + 0x13c]
cmp eax, edi
je 0x40497b
mov ebp, dword [esp + 0x144]
cmp ebp, edi
je 0x40497b
mov edi, dword [0x411058]
push eax
call edi
cmp eax, 0x10
jae 0x40496d
push ebx
call edi
cmp eax, 0x104
jae 0x40496d
push ebp
call edi
cmp eax, 0x104
jae 0x40496d
lea edi, [esi + 0x14]
push ebx
mov ebx, dword [0x411068]
push edi
call ebx
mov eax, dword [esp + 0x13c]
lea ecx, [esi + 4]
push eax
push ecx
call ebx
lea edx, [esi + 0x118]
push ebp
push edx
call ebx
lea eax, [esp + 0x28]
mov ecx, esi
push eax
push edi
push 0x414818
call fcn.00404e70
xor ebx, ebx
push ebx
call fcn.00407df0
push eax
lea ecx, [esp + 0x30]
push ebx
push ecx
call dword [0x4110b4]
cmp eax, 0xffffffff
mov dword [esi + 0x224], eax
je 0x40494b
lea edx, [esp + 0x24]
lea ecx, [esp + 0x1c]
push edx
push ecx
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
push edx
push ecx
push eax
call dword [0x4110b0]
mov edi, dword [0x4110e0]
push ebx
push ebx
push ebx
push ebx
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x228], eax
call edi
push 0x20
mov dword [esi + 0x22c], eax
call fcn.0040b4dc
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
cmp edi, ebx
mov dword [esp + 0x134], ebx
je 0x4048d4
mov ecx, edi
call fcn.00403f10
jmp 0x4048d6
xor edi, edi
mov ecx, dword [esp + 0x148]
mov eax, 2
cmp ecx, eax
mov dword [esi + 0x258], edi
jne 0x4048fe
mov dword [esi + 0x238], 3
mov dword [esi + 0x23c], eax
jmp 0x40490e
mov dword [esi + 0x238], eax
mov dword [esi + 0x23c], 3
lea edx, [esp + 0x10]
mov edi, 1
push edx
push 4
push esi
push 0x404a50
push ebx
push ebx
mov dword [esi + 0x234], edi
mov dword [esp + 0x28], ebx
call fcn.0040b3a3
add esp, 0x18
mov dword [esi + 0x220], eax
push eax
call dword [0x4110e4]
mov dword [esi], ebx
mov dword [esi + 0x230], edi
jmp 0x40498f
call dword [0x4110a0]
push eax
mov eax, dword [esi + 0x21c]
push 0x413210
push 0x41324c
push eax
call fcn.00407010
add esp, 0x10
jmp 0x40498f
mov ecx, dword [esi + 0x21c]
push 0x413234
push ecx
jmp 0x404987
mov edx, dword [esi + 0x21c]
push 0x413234
push edx
call fcn.004070d0
add esp, 8
mov ecx, dword [esp + 0x12c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret 0x18
Function at 0x4065c0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x410e07
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
mov esi, ecx
push edi
push 8
mov dword [esi], eax
call fcn.0040b4dc
add esp, 4
mov dword [esp + 0xc], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x18], ebx
je 0x406602
mov ecx, eax
call fcn.004060f0
jmp 0x406604
xor eax, eax
mov ecx, dword [esi]
push ebp
or ebp, 0xffffffff
push ecx
mov ecx, eax
mov dword [esp + 0x20], ebp
mov dword [esi + 0x18], eax
call fcn.00406130
push 0x30
call fcn.0040b4dc
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x1c], 1
je 0x40663c
mov ecx, eax
call fcn.00403a70
jmp 0x40663e
xor eax, eax
mov ecx, eax
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x1c], eax
call fcn.00403e50
mov ecx, dword [esi + 0x1c]
call fcn.00404030
test eax, eax
jne 0x406695
push 0x26c
call fcn.0040b4dc
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x1c], 2
je 0x40668a
mov edx, dword [esi]
mov ecx, eax
push edx
push 2
call fcn.00408820
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x20], eax
jmp 0x406698
xor eax, eax
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x20], eax
jmp 0x406698
mov dword [esi + 0x20], ebx
push 0x20
mov dword [esi + 0x14], ebx
call fcn.0040b4dc
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
cmp edi, ebx
mov dword [esp + 0x1c], 3
je 0x4066c0
mov ecx, edi
call fcn.00403f10
jmp 0x4066c2
xor edi, edi
push 0x20
mov dword [esp + 0x20], ebp
mov dword [esi + 0x24], edi
call fcn.0040b4dc
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
cmp edi, ebx
mov dword [esp + 0x1c], 4
pop ebp
je 0x4066ef
mov ecx, edi
call fcn.00403f10
jmp 0x4066f1
xor edi, edi
push ebx
push ebx
mov dword [esi + 0x28], edi
mov edi, dword [0x4110e0]
push 1
push ebx
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 4], eax
call edi
mov dword [esi + 0xc], eax
lea eax, [esp + 0x20]
push eax
push 4
push esi
push 0x406830
push ebx
push ebx
mov dword [esp + 0x38], ebx
call fcn.0040b3a3
add esp, 0x18
mov dword [esi + 0x10], eax
push eax
call dword [0x4110e4]
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x40a590
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x410fa6
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x20]
push edi
lea ebp, [esi + 0x12c]
xor ebx, ebx
push esi
push 1
mov dword [esi + 0x138], eax
mov dword [esi + 0x15c], ecx
mov dword [esi + 0x14c], ebx
mov dword [esi + 0x150], ebx
mov dword [esi + 0x13c], ebx
mov dword [esi + 0x140], ebx
mov dword [esi + 0x144], ebx
mov dword [esi + 0x154], ebx
mov dword [esi + 0x158], ebx
mov dword [ebp], ebx
mov dword [esi + 0x130], ebx
call fcn.00407e90
add esp, 8
lea edx, [esi + 0x160]
push edx
call dword [0x411078]
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x40a633
mov eax, dword [esi + 0x138]
push 0x413a98
push eax
call fcn.004070d0
add esp, 8
jmp 0x40a7be
push eax
call dword [0x411058]
cmp eax, 0x104
jb 0x40a65a
mov ecx, dword [esi + 0x138]
push 0x413a98
push ecx
call fcn.004070d0
add esp, 8
jmp 0x40a7be
mov edx, dword [esp + 0x20]
lea edi, [esi + 0x18]
push edx
push edi
call dword [0x411068]
push edi
call dword [0x4111c4]
push ebp
mov ecx, esi
call fcn.0040a8d0
mov ebp, 1
cmp eax, ebp
jne 0x40a7be
push 0x11
push 2
push 2
call fcn.0040b35c
cmp eax, 0xffffffff
mov dword [esi + 0x130], eax
jne 0x40a6c5
mov dword [esi + 0x130], ebx
call fcn.0040b356
push eax
mov eax, dword [esi + 0x138]
push 0x413210
push 0x413a78
push eax
call fcn.00407010
add esp, 0x10
jmp 0x40a7be
lea ecx, [esp + 0x28]
push 4
push ecx
push 0x20
push 0xffff
push eax
mov dword [esp + 0x3c], ebp
call fcn.0040b350
cmp eax, 0xffffffff
jne 0x40a706
call fcn.0040b356
mov edx, dword [esi + 0x138]
push eax
push 0x413210
push 0x413a5c
push edx
call fcn.00407010
add esp, 0x10
jmp 0x40a7be
mov edi, dword [0x4110e0]
push ebx
push ebx
push ebx
push ebx
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x140], eax
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x144], eax
call edi
push 0x20
mov dword [esi + 0x148], eax
call fcn.0040b4dc
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
cmp edi, ebx
mov dword [esp + 0x18], ebx
je 0x40a751
mov ecx, edi
call fcn.00403f10
jmp 0x40a753
xor edi, edi
push 0x20
mov dword [esp + 0x1c], 0xffffffff
mov dword [esi + 0x154], edi
call fcn.0040b4dc
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
cmp edi, ebx
mov dword [esp + 0x18], ebp
je 0x40a782
mov ecx, edi
call fcn.00403f10
jmp 0x40a784
xor edi, edi
lea eax, [esp + 0x24]
mov dword [esi + 0x158], edi
push eax
push 4
push esi
push 0x40aaf0
push ebx
push ebx
mov dword [esi + 0x150], ebp
mov dword [esp + 0x3c], ebx
call fcn.0040b3a3
add esp, 0x18
mov dword [esi + 0x13c], eax
push eax
call dword [0x4110e4]
mov dword [esi + 0x14c], ebp
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0xc
Function at 0x40ac70
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
xor eax, eax
push ebp
mov al, byte [ebx + 0xc]
push esi
mov esi, eax
mov ax, word [ebx + 6]
cmp ax, 1
push edi
jne 0x40ace0
mov ebp, dword [esp + 0x14]
lea edi, [ebp + 0x18]
push edi
call dword [0x411058]
cmp esi, eax
jne 0x40acd4
mov ecx, esi
lea esi, [ebx + 0xd]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40acd4
mov ecx, dword [esp + 0x20]
xor eax, eax
mov ax, word [ebx + 0xa]
mov word [ebx + 6], 2
add eax, 0xc
push eax
push ebx
push ecx
mov ecx, ebp
call fcn.0040ae00
neg eax
sbb eax, eax
pop edi
and eax, 0x14
pop esi
pop ebp
add eax, 0xfffffff6
pop ebx
ret 0x10
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
ret 0x10
cmp ax, 2
jne 0x40ad2c
mov edx, dword [esp + 0x18]
mov byte [esi + ebx + 0xd], 0
mov esi, dword [esp + 0x14]
add ebx, 0xd
push edx
push ebx
mov ecx, dword [esi + 0x15c]
call fcn.004086b0
test eax, eax
je 0x40ad20
mov eax, dword [esi + 0x148]
push eax
call dword [0x411094]
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
ret 0x10
pop edi
pop esi
pop ebp
mov eax, 0xfffffff4
pop ebx
ret 0x10
cmp ax, 3
jne 0x40ad5f
mov ecx, dword [esp + 0x14]
mov byte [esi + ebx + 0xd], 0
push 0xffffffffffffffff
add ebx, 0xd
mov ecx, dword [ecx + 0x15c]
push 0
push ebx
call fcn.00408760
neg eax
sbb eax, eax
pop edi
and eax, 0x1c
pop esi
pop ebp
add eax, 0xfffffff2
pop ebx
ret 0x10
pop edi
pop esi
pop ebp
mov eax, 0xfffffff1
pop ebx
ret 0x10
Function at 0x937940
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3f4000]
push edi
or ebp, 0xffffffff
jmp 0x937962
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x937969
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x937958
mov eax, 1
add ebx, ebx
jne 0x93797b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x93798c
jne 0x9379ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9379ab
dec eax
add ebx, ebx
jne 0x937998
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x937970
add ebx, ebx
jne 0x9379a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x9379fd
xor ecx, ecx
sub eax, 3
jb 0x9379c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x937a32
sar eax, 1
mov ebp, eax
jmp 0x9379ce
add ebx, ebx
jne 0x9379ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x93799c
inc ecx
add ebx, ebx
jne 0x9379dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x93799c
add ebx, ebx
jne 0x9379e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9379de
jne 0x9379fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9379de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x937a1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x937a0e
jmp 0x93795e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x937a1c
add edi, ecx
jmp 0x93795e
pop esi
mov edi, esi
mov ecx, 0x13124
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x937a3a
cmp byte [edi], 0xac
jne 0x937a3a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x937a3f
lea edi, [esi + 0x533000]
mov eax, dword [edi]
or eax, eax
je 0x937aae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x538ba4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x538ce8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x937a6c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x538cf0]
or eax, eax
je 0x937aa8
mov dword [ebx], eax
add ebx, 4
jmp 0x937a89
call dword [esi + 0x538cec]
mov ebp, dword [esi + 0x538cf4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x937ae2
sub esp, 0xffffff80
jmp 0x7e7750