joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453df8
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 0x453fa3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x453f84
mov dl, 1
mov eax, dword [0x411fa4]
call fcn.004031b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f30
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x453f73
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.00441d98
test al, al
je 0x453f66
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, 0x453fb4
lea eax, [ebp - 0x254]
call fcn.00408c30
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x453f66
xor eax, eax
push ebp
push 0x453f5f
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 0x453fec
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x453f48
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041a0
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 0x453f48
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453f66
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x453e69
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415b04
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 0x453faa
lea eax, [ebp - 0x260]
call fcn.00403f30
ret

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

Disassembly:
push ecx
mov eax, dword [0x48ebb0]
cmp byte [eax + 0xa5], 0
jne 0x454991
cmp dword [0x48ebc8], 0
jne 0x454952
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4548dc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48ebc8], eax
cmp dword [0x48ebc4], 0
jne 0x45496d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48ebc4], eax
cmp dword [0x48ebcc], 0
jne 0x454991
push esp
push 0
push 0
push 0x454880
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x48ebcc], eax
pop edx
ret
Function at 0x454a88
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x454a9f
add esp, 0xfffffff0
call fcn.00403504
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419914
mov eax, dword [0x48dc40]
cmp word [eax + 2], 0
jne 0x454ac7
mov eax, dword [0x48dc40]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004561f0
mov eax, dword [0x48dd10]
cmp word [eax + 2], 0
jne 0x454ae1
mov eax, dword [0x48dd10]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004563e8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411b68]
call fcn.004031b0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411b68]
call fcn.004031b0
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41be68]
call fcn.004235b8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x454c68
mov eax, dword [0x48db28]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423988
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x456988
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48db28]
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.0040c6dc
test eax, eax
je 0x454bd6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408610
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c704
test eax, eax
je 0x454bea
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004041a0
mov eax, dword [0x48d9c4]
cmp byte [eax], 0
jne 0x454c1e
mov eax, ebx
call fcn.00454d90
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00456b64
mov eax, ebx
call fcn.00457528
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x454c5e
call fcn.0040355c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455010
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48ebb0]
cmp dword [eax + 0x30], 0
je 0x4550ba
cmp dword [ebx + 0x94], 0
jne 0x4550b4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x454fa0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4550b4
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 0x45507a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4550b4
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.00413f74
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x455089
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x455c1c
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 0x455c51
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.00404020
jmp 0x455c5e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f84
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x456d40
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x456d81
mov eax, esi
call fcn.0043d3c4
test al, al
je 0x456d81
mov eax, dword [ebx + 0x84]
call fcn.0043d0c0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x456d81
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043d0c0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x458a4c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x458cac
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x458aaf
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00458514
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040c2c8
cmp al, 1
jne 0x458aaf
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0045882c
test al, al
je 0x458c3b
cmp dword [ebp - 8], 0
jge 0x458acd
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00458514
mov eax, dword [ebp - 0x210]
call fcn.004041f0
cmp ebx, eax
jge 0x458b17
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00458514
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x48dea4]
and eax, 0xff
bt dword [edx], eax
jae 0x458b17
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x458b2b
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00458a28
cmp ebx, dword [ebp - 8]
je 0x458c2d
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x458b57
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004033dc
and eax, 0x7f
movzx eax, word [eax*2 + 0x48ce04]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x458c1a
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004033dc
and eax, 0x7f
movzx eax, word [eax*2 + 0x48ce04]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0043d0c0
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004033dc
and eax, 0x7f
movzx eax, word [eax*2 + 0x48ce04]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0043d0c0
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458c21
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x458c8e
cmp dword [ebp - 8], 0
jge 0x458c46
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00458514
mov eax, dword [ebp - 0x218]
call fcn.004041f0
cmp eax, dword [ebp - 8]
jg 0x458c80
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00458514
mov eax, dword [ebp - 0x21c]
call fcn.004041f0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00458a28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458cb3
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00403f54
ret
Function at 0x488d64
Capabilities:
Parse credit card information
Parse pe header

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, eax
mov edi, 0x48ec10
mov esi, 1
lea ebx, [ebp + 4]

Function at 0x489f9c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x489fa4
push ebx
push esi
Function at 0x1005c72
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100a028]
jne 0x1005c7b
ret
jmp 0x1005c80
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x100a028]
mov dword [ebp + 0x2a4], eax
mov eax, dword [0x101b0cc]
test eax, eax
je 0x1005ca4
call eax
cmp dword [0x101b0d0], 0
je 0x1005ceb
push edi
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x80], 0xc0000409
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [0x101b0d0]
pop edi
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.01005c72
add ebp, 0x2a8
leave
ret

Function at 0x1006f0c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [esp + 0x14]
jle 0x1006f47
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x1006f24
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x1006f63
dec esi
je 0x1006f5c
dec esi
jne 0x1006f68
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
ret 0xc

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x1002e8f0
Capabilities:
Get memory capacity

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008a8e8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1008a8f4], 2
jne 0x1002e9e8
push esi
mov byte [0x1008af5c], 0
xor esi, esi
mov dword [0x1008af60], 0x1002efb0
push esi
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
jne 0x1002e939
inc esi
cmp esi, 0x100
jl 0x1002e923
jmp 0x1002e94a
mov dword [0x1008af60], 0x1002efe0
mov byte [0x1008af5c], 1
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x1c]
and eax, 0xfffc0000
mov dword [0x1008af54], eax
add eax, 0xff280000
shr eax, 4
imul eax, eax, 0xb
pop esi
cmp eax, 0x100000
jae 0x1002e980
mov eax, 0x100000
add eax, 0x3ffff
shr eax, 2
and eax, 0x3fff0000
cmp eax, 0x40000
jae 0x1002e999
mov eax, 0x40000
add eax, 0x3ffff
and eax, 0xfffc0000
push 0x1008b004
push 1
mov dword [0x1008af4c], eax
mov dword [0x1008af50], eax
call dword [sym.imp.ole32.dll_CoGetMalloc]
test eax, eax
jns 0x1002e9ce
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100313b2
mov esp, ebp
pop ebp
ret
push 0
push 0x1008afc0
call dword [sym.imp.MSDART.DLL_MPInitializeCriticalSectionAndSpinCount]
add esp, 8
test eax, eax
je 0x1002e9be
dec dword [0x1008a8f4]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.1007c0c0
mov esp, ebp
pop ebp
ret
Function at 0x100066dc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1000a0a0
cmp edx, dword [eax]
je 0x100066fe
add eax, 8
inc ecx
cmp eax, 0x1000a130
jl 0x100066ef
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1000a0a0]
jne 0x1000682c
mov eax, dword [0x1000a540]
cmp eax, 1
je 0x10006806
test eax, eax
jne 0x1000672f
cmp dword [0x1000a544], 1
je 0x10006806
cmp edx, 0xfc
je 0x1000682c
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10006766
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.10007120
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10007210
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x100067a9
lea eax, [ebp - 0x1a4]
push eax
call fcn.10007210
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1000938c
push edi
call fcn.10007a30
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.10007120
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.10007130
lea eax, [ebp - 0xa0]
push 0x1000936c
push eax
call fcn.10007130
push dword [esi + 0x1000a0a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.10007130
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.100079a5
add esp, 0x2c
pop edi
jmp 0x1000682c
lea eax, [ebp + 8]
lea esi, [esi + 0x1000a0a4]
push 0
push eax
push dword [esi]
call fcn.10007210
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x60fe1bd7
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1fe25154
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x43b643
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x43b3c1
sub edi, eax
mov edi, 0x8cec3138
or eax, edi
call fcn.0043b66d
add eax, eax
add edi, eax
xor dword [ecx], ebx
inc eax
inc ecx
or eax, eax
cmp ecx, edx
jne fcn.0043b643
push 0xa73bb2b4
pop eax
ret
Function at 0x401110
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401129
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401164
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401160
lea ebx, [ebx]
cmp esi, eax
jae 0x401164
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401150
cmp esi, eax
jb 0x40116a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x407720
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x639f80
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x7808
call fcn.006197b0
mov eax, dword [0x74f8a0]
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 esi, ecx
mov dword [ebp - 0x7818], esi
mov dword [ebp - 4], 0
push 0x2800
push 0
lea eax, [ebp - 0x2814]
push eax
call fcn.00618760
add esp, 0xc
push 0x27ff
cmp dword [esi + 0x2b7c], 0
je 0x4077be
lea ecx, [ebp - 0x7814]
push ecx
mov edx, dword [esi + 0x2b78]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4077d2
push 0x2800
lea eax, [ebp - 0x2814]
push eax
lea ecx, [ebp - 0x7814]
push ecx
call fcn.004072b0
add esp, 0xc
jmp 0x4077d2
lea edx, [ebp - 0x2814]
push edx
mov eax, dword [esi + 0x2b78]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x2800
lea ecx, [ebp - 0x2814]
push ecx
mov ecx, esi
call fcn.00407430
mov dword [ebp - 4], 0xffffffff
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.0061807e
mov esp, ebp
pop ebp
ret

Function at 0x408c10
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push ebx
xor ebp, ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test esi, esi
jle 0x408c77
add esi, 3
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
push edi
neg ecx
or ecx, eax
push ecx
call fcn.005ec342
mov edi, eax
add esp, 4
test edi, edi
je 0x408c70
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x408c67
mov ecx, dword [esp + 0x18]
push edi
call fcn.004017f0
mov ebp, 1
push edi
call fcn.005ec337
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret
pop esi
mov eax, ebp
pop ebp
pop ebx
ret
Function at 0x408d30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x63c888
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x74f8a0]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push esi
mov eax, dword [0x74f8a0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
xor eax, eax
mov ebx, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov word [esp + 0x10], ax
mov dword [esp + 0x24], eax
push esi
call fcn.005b0100
movzx ecx, al
add esp, 4
neg ecx
sbb ecx, ecx
and ecx, 0xfde9
push ecx
push esi
lea ecx, [esp + 0x14]
call fcn.00401980
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x408dae
lea eax, [esp + 0x10]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [ebx + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00401210
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.0061807e
add esp, 0x1c
ret 8

Function at 0x40c230
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63aa70
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x7804
call fcn.006197b0
mov eax, dword [0x74f8a0]
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 esi, ecx
mov dword [ebp - 4], 0
push 0x2800
push 0
lea eax, [ebp - 0x2814]
push eax
call fcn.00618760
add esp, 0xc
push 0x27ff
cmp dword [esi + 0x588], 0
je 0x40c2c8
lea ecx, [ebp - 0x7814]
push ecx
mov edx, dword [esi + 0x584]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x40c2dc
push 0x2800
lea eax, [ebp - 0x2814]
push eax
lea ecx, [ebp - 0x7814]
push ecx
call fcn.004072b0
add esp, 0xc
jmp 0x40c2dc
lea edx, [ebp - 0x2814]
push edx
mov eax, dword [esi + 0x584]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [ebp - 0x2814]
push ecx
push 0x66fea8
lea edx, [esi + 0x50c]
push edx
call fcn.00402f70
add esp, 0xc
mov ecx, esi
call fcn.0040bd00
mov dword [ebp - 4], 0xffffffff
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.0061807e
mov esp, ebp
pop ebp
ret