joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100aa4f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
cmp esi, ebx
jne 0x100aa50b
pop edi
pop esi
lea eax, [ebx + 0x25]
pop ebx
pop ebp
ret 0xc
mov eax, dword [0x100fecc0]
mov ecx, dword [eax + 4]
push ebx
push 0x34a
push str....._src_fmod_pluginfactory.cpp
push 0x84
call fcn.10075b20
cmp eax, ebx
je 0x100aa619
mov dword [eax + 0x3c], 0xffffffff
mov dword [eax + 0x38], ebx
lea edx, [eax + 0x30]
mov dword [edx], edx
mov dword [edx + 4], edx
mov ecx, dword [esi]
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x14], ecx
mov ecx, dword [esi + 0x18]
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 0x1c]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 0x20]
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 0x24]
mov dword [eax + 0x24], ecx
mov ecx, dword [esi + 0x28]
mov dword [eax + 0x28], ecx
mov ecx, dword [esi + 0x2c]
mov dword [eax + 0x2c], ecx
mov ecx, dword [esi + 0x40]
mov dword [eax + 0x40], ecx
mov ecx, dword [esi + 0x44]
mov dword [eax + 0x44], ecx
mov ecx, dword [esi + 0x48]
mov dword [eax + 0x48], ecx
mov ecx, dword [esi + 0x54]
mov dword [eax + 0x54], ecx
mov ecx, dword [esi + 0x58]
mov dword [eax + 0x58], ecx
mov ecx, dword [esi + 0x5c]
mov dword [eax + 0x5c], ecx
mov ecx, dword [esi + 0x60]
mov dword [eax + 0x60], ecx
mov ecx, dword [esi + 0x64]
mov dword [eax + 0x64], ecx
mov ecx, dword [esi + 0x68]
mov dword [eax + 0x68], ecx
mov ecx, dword [esi + 0x6c]
mov dword [eax + 0x6c], ecx
mov ecx, dword [esi + 0x70]
mov dword [eax + 0x70], ecx
mov ecx, dword [esi + 0x74]
mov dword [eax + 0x74], ecx
mov ecx, dword [esi + 0x78]
mov dword [eax + 0x78], ecx
mov ecx, dword [esi + 0x7c]
mov dword [eax + 0x7c], ecx
mov ecx, dword [esi + 0x80]
mov dword [eax + 0x80], ecx
mov ecx, dword [edi + 0x2cc]
mov dword [eax + 0x4c], ecx
inc dword [edi + 0x2cc]
mov ecx, dword [esi + 0x50]
mov dword [eax + 0x50], ecx
lea ecx, [edi + 0x19c]
cmp ecx, ebx
je 0x100aa60d
lea ebx, [edi + 0x1cc]
test ecx, ecx
je 0x100aa625
lea ecx, [edi + 0x1cc]
jmp 0x100aa627
pop edi
pop esi
mov eax, 0x2b
pop ebx
pop ebp
ret 0xc
xor ecx, ecx
mov ecx, dword [ecx]
mov esi, dword [ebp + 0x10]
lea esp, [esp]
cmp esi, dword [ecx + 0xc]
jb 0x100aa63e
mov ecx, dword [ecx]
cmp dword [ecx + 4], ebx
jne 0x100aa630
jmp 0x100aa651
mov dword [edx + 0xc], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov dword [edx], ecx
mov dword [ecx + 4], edx
mov ecx, dword [edx + 4]
mov dword [ecx], edx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x100aa65d
mov edx, dword [eax + 0x4c]
mov dword [ecx], edx
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc
Function at 0x100aa670
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov ebx, ecx
cmp esi, edi
jne 0x100aa68b
lea eax, [edi + 0x25]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
mov eax, dword [0x100fecc0]
mov ecx, dword [eax + 4]
push edi
push 0x391
push str....._src_fmod_pluginfactory.cpp
push 0x84
call fcn.10075b20
cmp eax, edi
je 0x100aa75d
mov dword [eax + 0x3c], 0xffffffff
mov dword [eax + 0x38], edi
lea edx, [eax + 0x30]
mov dword [edx], edx
mov dword [edx + 4], edx
mov ecx, dword [esi]
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x14], ecx
mov ecx, dword [esi + 0x18]
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 0x1c]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 0x20]
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 0x24]
mov dword [eax + 0x24], ecx
mov ecx, dword [esi + 0x28]
mov dword [eax + 0x28], ecx
mov ecx, dword [esi + 0x2c]
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x40], edi
mov dword [eax + 0x44], 0x118
mov dword [eax + 0x48], edi
mov dword [eax + 0x54], edi
mov dword [eax + 0x58], edi
mov dword [eax + 0x5c], edi
mov dword [eax + 0x60], edi
mov dword [eax + 0x64], edi
mov dword [eax + 0x68], edi
mov dword [eax + 0x6c], edi
mov dword [eax + 0x70], edi
mov dword [eax + 0x74], edi
mov dword [eax + 0x78], edi
mov dword [eax + 0x7c], edi
mov dword [eax + 0x80], edi
mov ecx, dword [ebx + 0x2cc]
mov dword [eax + 0x4c], ecx
inc dword [ebx + 0x2cc]
lea ecx, [ebx + 0x19c]
cmp ecx, edi
je 0x100aa769
lea esi, [ebx + 0x1cc]
jmp 0x100aa76b
pop edi
pop esi
mov eax, 0x2b
pop ebx
pop ebp
ret 0xc
xor esi, esi
cmp ecx, edi
je 0x100aa777
lea ecx, [ebx + 0x1cc]
jmp 0x100aa779
xor ecx, ecx
mov ecx, dword [ecx]
mov ebx, dword [ebp + 0x10]
mov edi, edi
cmp ebx, dword [ecx + 0xc]
jb 0x100aa78e
mov ecx, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x100aa780
jmp 0x100aa7a1
mov dword [edx + 0xc], ebx
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov dword [edx], ecx
mov dword [ecx + 4], edx
mov ecx, dword [edx + 4]
mov dword [ecx], edx
mov ecx, dword [ebp + 0xc]
cmp ecx, edi
je 0x100aa7ad
mov edx, dword [eax + 0x4c]
mov dword [ecx], edx
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc
Function at 0x100c5f50
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100ff900]
jne 0x100c5f5a
repz ret
jmp fcn.100c9d3c

Function at 0x100d8519
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100ff900]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.100cfe3b
and dword [ebp - 0x14], 0
cmp dword [0x10141e78], 0
mov dword [ebp - 0x18], eax
jne 0x100d85cc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x100d8674
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x100d8674
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10141e78], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10141e7c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10141e80], eax
call edi
push eax
call esi
mov dword [0x10141e88], eax
test eax, eax
je 0x100d85cc
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10141e84], eax
mov eax, dword [0x10141e84]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x100d8625
cmp dword [0x10141e88], ecx
je 0x100d8625
push eax
call esi
push dword [0x10141e88]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x100d8625
test ebx, ebx
je 0x100d8625
call edi
test eax, eax
je 0x100d861c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x100d861c
test byte [ebp - 8], 1
jne 0x100d8625
or dword [ebp + 0x10], 0x200000
jmp 0x100d8658
mov eax, dword [0x10141e7c]
cmp eax, dword [ebp - 0x18]
je 0x100d8658
push eax
call esi
test eax, eax
je 0x100d8658
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100d8658
mov eax, dword [0x10141e80]
cmp eax, dword [ebp - 0x18]
je 0x100d8658
push eax
call esi
test eax, eax
je 0x100d8658
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10141e78]
call esi
test eax, eax
je 0x100d8674
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x100d8676
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c5f50
leave
ret
Function at 0x100019b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x100019cb
push 0
push 0
push 0x10001880
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
add esp, 0xc
mov eax, 1
pop ebp
ret 0xc
Function at 0x405a00
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405a66
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004040bc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b38
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405a50
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405a6d
lea eax, [ebp - 0x10]
call fcn.00403e4c
ret

Function at 0x40aabc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40aaf5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f3c
jmp 0x40aafe
mov eax, ebx
mov edx, esi
call fcn.00403ea0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ab08
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ab29
mov al, byte [esp]
jmp 0x40ab2b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b1b0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b028
mov eax, dword [0x45b130]
cmp byte [eax], 0
je 0x40b22c
mov eax, dword [0x45af4c]
call fcn.004029a4
call fcn.00402824
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408330
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b274
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b262
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45aefc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45c664]
call fcn.00404f14
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40bac8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bb9e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ee4
lea eax, [ebp - 8]
call fcn.0040435c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040430c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bb88
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bb81
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040430c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bb6b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bbb0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bb6b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bb88
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bba5
lea eax, [ebp - 8]
call fcn.00403e4c
ret

Function at 0x40c0b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c114
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004040bc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407e78
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c11b
lea eax, [ebp - 0xc]
call fcn.00403e4c
ret

Function at 0x41a388
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45c884
cmp dword [edi], 0
jne 0x41a404
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45c880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45a3ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a360
lea eax, [esi + 5]
call fcn.0041a380
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a380
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41a3d9
mov dword [0x45c880], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41b980
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41b986
ret
Function at 0x41de90
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41dee1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41dec8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41deb8
jmp 0x41dee1
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41dec9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426a80
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004042fc
xor eax, eax
push ebp
push 0x426bae
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x426b81
xor eax, eax
push ebp
push 0x426b7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040410c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x426b4f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x426b3e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040410c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.0040430c
mov edx, ebx
pop ecx
call fcn.004028b8
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426b45
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x45aea4]
mov dl, 1
mov eax, dword [0x406d50]
call fcn.0040b334
call fcn.00403888
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426bb5
lea eax, [ebp - 4]
call fcn.00403e4c
ret
Function at 0x426bbc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x426d6d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004044fc
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x426d84
call fcn.00404158
mov eax, ebx
call fcn.0041991c
mov edi, eax
dec edi
test edi, edi
jl 0x426c74
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004198f0
mov edx, dword [0x42edd0]
call fcn.00403288
test al, al
je 0x426c70
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.004198f0
lea edx, [ebp - 0x14]
call fcn.0043744c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004044fc
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004041cc
inc esi
dec edi
jne 0x426c22
mov al, byte [0x426d88]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x426d94
mov eax, dword [ebp - 0xc]
call fcn.0040c688
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00403ee4
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0043744c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x426d84
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0043744c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x426d84
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x426d84
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x426da0
call fcn.004089f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426d74
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00403e70
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403e70
lea eax, [ebp - 0x14]
call fcn.00403e4c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403e70
ret

Function at 0x431b2c
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x431a78
call sub.user32.dll_EnumWindows
ret
Function at 0x431c4c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x431cc9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004316ac
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x431c71
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004312ac
cmp dword [ebp - 4], 0
je 0x431cb3
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040430c
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431cd0
lea eax, [ebp - 4]
call fcn.00403e4c
ret

Function at 0x434f9c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x45cb80], 0
je 0x4350eb
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45b0d0]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4350eb
mov eax, dword [0x45cb84]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45cb80]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4350ba
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x45cb80]
call fcn.00413940
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4350b2
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4350b2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4350b2
mov eax, dword [ebp - 0x14]
call fcn.0043dc34
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4350b2
push ebp
call fcn.00434f58
pop ecx
test al, al
jne 0x4350b2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43506e
mov eax, dword [ebp - 0x14]
call fcn.0043c764
dec eax
jle 0x4350b2
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004032f8
cmp byte [ebp - 1], 0
je 0x4350b2
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4350b2
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45cb84]
call fcn.00434724
inc edi
dec ebx
jne 0x435001
mov eax, dword [0x45cb84]
cmp dword [eax + 8], 0
jle 0x4350d2
mov eax, dword [0x45cb84]
call fcn.004347b4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4350eb
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00434dc0
pop ecx
test al, al
jne 0x4350eb
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4386cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x438718
mov eax, esi
call fcn.0044e3bc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x438718
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x438718
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x438857
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x438758
cmp eax, 0x108
ja 0x438758
mov eax, esi
call fcn.0044e3bc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43884e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x438857
jmp 0x43884e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x438837
cmp eax, 0x20a
ja 0x438837
test byte [esi + 0x50], 0x80
jne 0x43878a
sub eax, 0x203
je 0x438787
sub eax, 3
je 0x438787
sub eax, 3
jne 0x43878a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43879e
dec eax
je 0x4387b3
dec eax
je 0x4387d0
dec eax
je 0x4387b3
jmp 0x4387d7
mov ecx, ebx
mov eax, dword [0x45b0d0]
mov eax, dword [eax]
mov edx, esi
call fcn.00457b68
jmp 0x43884e
cmp byte [esi + 0x5d], 1
jne 0x4387c9
mov eax, esi
mov si, 0xffed
call fcn.004032f8
jmp 0x438857
or word [esi + 0x54], 1
jmp 0x43884e
and word [esi + 0x54], 0xfffe
jmp 0x43884e
mov eax, dword [0x45cb3c]
cmp byte [eax + 0x20], 0
je 0x43884e
mov eax, dword [0x45cb3c]
cmp dword [eax + 0x1c], 0
je 0x43884e
mov eax, dword [ebx]
mov edx, dword [0x45cb3c]
cmp eax, dword [edx + 0x1c]
jne 0x43884e
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0044e300
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004032f8
jmp 0x438857
cmp eax, 0xb00b
jne 0x43884e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00436fec
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret