joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404278
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x404223
cmp al, 0xb
je 0x404223
cmp al, 0xc
je 0x40422d
cmp al, 0xd
je 0x404240
cmp al, 0xe
je 0x40425e
cmp al, 0xf
je 0x404223
cmp al, 0x11
je 0x404223
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.0040272c
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x404223
jmp 0x404272
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x40422d
jmp 0x404272
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call 0x4041e4
dec edi
jg 0x404243
pop ebp
jmp 0x404272
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.004041b8
dec edi
jg 0x404261
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x4041e4

Function at 0x4042b0
Capabilities:
Terminate process

Disassembly:
push eax
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x4042f7
cmp al, 0xb
je 0x404311
cmp al, 0xc
je 0x404328
cmp al, 0xd
je 0x404337
cmp al, 0xe
je 0x404355
cmp al, 0xf
je 0x40436b
cmp al, 0x11
je 0x40437a
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.0040272c
cmp ecx, 1
mov eax, ebx
jg 0x404308
call fcn.00403990
jmp 0x404389
mov edx, ecx
call fcn.004039b4
jmp 0x404389
cmp ecx, 1
mov eax, ebx
jg 0x40431f
call fcn.00403f5c
jmp 0x404389
mov edx, ecx
call fcn.00403f74
jmp 0x404389
mov eax, ebx
add ebx, 0x10
call fcn.00404b3c
dec edi
jg 0x404328
jmp 0x404389
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.004042b0
dec edi
jg 0x40433a
pop ebp
jmp 0x404389
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00404284
dec edi
jg 0x404358
pop ebp
jmp 0x404389
mov eax, ebx
add ebx, 4
call fcn.00405194
dec edi
jg 0x40436b
jmp 0x404389
mov eax, ebx
mov edx, esi
add ebx, 4
call fcn.00404d30
dec edi
jg 0x40437a
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x404390
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.004042b0
Function at 0x40439c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
xor eax, eax
mov al, byte [ecx + 1]
lea edi, [ecx + eax + 0xa]
mov ebp, dword [edi - 4]
xor eax, eax
mov ecx, dword [edi - 8]
push ecx
mov ecx, dword [edi + 4]
sub ecx, eax
jle 0x4043c8
mov edx, eax
add eax, esi
add edx, ebx
call fcn.004027b8
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x404407
cmp cl, 0xb
je 0x404418
cmp cl, 0xc
je 0x404429
cmp cl, 0xd
je 0x40443a
cmp cl, 0xe
je 0x40445a
cmp cl, 0xf
je 0x404473
cmp cl, 0x11
je 0x404484
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.0040272c
mov edx, dword [esi + eax]
add eax, ebx
call fcn.004039e4
mov eax, 4
jmp 0x404495
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403f98
mov eax, 4
jmp 0x404495
lea edx, [esi + eax]
add eax, ebx
call fcn.00404760
mov eax, 0x10
jmp 0x404495
xor ecx, ecx
mov cl, byte [edx + 1]
push dword [edx + ecx + 2]
push dword [edx + ecx + 6]
mov ecx, dword [edx + ecx + 0xa]
mov ecx, dword [ecx]
lea edx, [esi + eax]
add eax, ebx
call fcn.004044b8
pop eax
jmp 0x404495
xor ecx, ecx
mov cl, byte [edx + 1]
mov ecx, dword [edx + ecx + 2]
push ecx
mov ecx, edx
lea edx, [esi + eax]
add eax, ebx
call fcn.0040439c
pop eax
jmp 0x404495
mov edx, dword [esi + eax]
add eax, ebx
call fcn.004051ac
mov eax, 4
jmp 0x404495
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00404d6c
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x4043b6
pop ecx
sub ecx, eax
jle 0x4044b1
lea edx, [ebx + eax]
add eax, esi
call fcn.004027b8
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4044b8
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
mov edi, ecx
mov ebp, dword [esp + 0x14]
mov cl, byte [edi]
cmp cl, 0xa
je 0x4044fe
cmp cl, 0xb
je 0x404515
cmp cl, 0xc
je 0x404529
cmp cl, 0xd
je 0x40453d
cmp cl, 0xe
je 0x40455e
cmp cl, 0xf
je 0x40457b
cmp cl, 0x11
je 0x40458f
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.0040272c
mov eax, ebx
mov edx, dword [esi]
call fcn.004039e4
add ebx, 4
add esi, 4
dec ebp
jne 0x4044fe
jmp 0x4045a3
mov eax, ebx
mov edx, dword [esi]
call fcn.00403f98
add ebx, 4
add esi, 4
dec ebp
jne 0x404515
jmp 0x4045a3
mov eax, ebx
mov edx, esi
call fcn.00404760
add ebx, 0x10
add esi, 0x10
dec ebp
jne 0x404529
jmp 0x4045a3
xor ecx, ecx
mov cl, byte [edi + 1]
lea edi, [edi + ecx + 2]
mov eax, ebx
mov edx, esi
mov ecx, dword [edi + 8]
push dword [edi + 4]
call fcn.004044b8
add ebx, dword [edi]
add esi, dword [edi]
dec ebp
jne 0x404546
jmp 0x4045a3
mov eax, ebx
mov edx, esi
mov ecx, edi
call fcn.0040439c
xor eax, eax
mov al, byte [edi + 1]
add ebx, dword [edi + eax + 2]
add esi, dword [edi + eax + 2]
dec ebp
jne 0x40455e
jmp 0x4045a3
mov eax, ebx
mov edx, dword [esi]
call fcn.004051ac
add ebx, 4
add esi, 4
dec ebp
jne 0x40457b
jmp 0x4045a3
mov eax, ebx
mov edx, dword [esi]
mov ecx, edi
call fcn.00404d6c
add ebx, 4
add esi, 4
dec ebp
jne 0x40458f
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x404760
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.0040272c
cmp eax, edx
je 0x4047f7
cmp word [eax], 8
jb 0x404798
push eax
push edx
cmp word [eax], 0x100
je 0x40478e
cmp word [eax], 0x101
je 0x404786
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x404796
call dword [0x4483e8]
jmp 0x404796
add eax, 8
call fcn.00403990
pop edx
pop eax
cmp word [edx], 8
jae 0x4047af
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
je 0x4047ca
cmp word [edx], 0x101
jne 0x4047e3
push eax
call 0x40479e
pop eax
jmp dword [0x4483f0]
mov edx, dword [edx + 8]
or edx, edx
je 0x4047da
mov ecx, dword [edx - 8]
inc ecx
jle 0x4047da
mov dword [edx - 8], ecx
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne 0x404714
ret

Function at 0x404ae4
Capabilities:
Terminate process

Disassembly:
push eax
cmp word [eax], 8
jb 0x404af2
push edx
call fcn.0040471c
pop edx
xor eax, eax
test edx, edx
je 0x404b0e
mov eax, dword [edx - 4]
shr eax, 1
je 0x404b0e
push eax
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x403f44
pop edx
mov word [edx], 8
mov dword [edx + 8], eax
ret
Function at 0x404de8
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404fa0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404e49
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404fbc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404eb6
xor eax, eax
push ebp
push 0x404eaf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404e98
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404fdc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404eb6
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404f97
cmp byte [ebp - 0xd], 0
jne 0x404ef8
cmp byte [ebp - 0x12], 0
je 0x404f97
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404f11
dec ebx
cmp byte [ebx], 0x2e
je 0x404f20
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404f10
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404f97
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404f4d
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404f97
cmp byte [ebp - 0xd], 0
je 0x404f97
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404f97
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4051c8
Capabilities:
Terminate process

Disassembly:
test edx, edx
je fcn.00405194
push eax
push ecx
push edx
mov ecx, dword [eax]
test ecx, ecx
je 0x4051e2
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [esp]
mov eax, dword [edx]
call dword [eax]
test eax, eax
je 0x4051f1
mov al, 0x17
jmp fcn.0040272c
ret
Function at 0x40886c
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 0x4088a5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403a74
jmp 0x4088ae
mov eax, ebx
mov edx, esi
call fcn.00403a28
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4088b8
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 0x4088d9
mov al, byte [esp]
jmp 0x4088db
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c84c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c90a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x40c918
push 0
mov eax, ebx
call fcn.00403dd0
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x40c8cf
mov eax, esi
call fcn.00403c0c
inc eax
push eax
mov eax, esi
call fcn.00403dd0
push eax
push 1
push 0
mov eax, edi
call fcn.00403dd0
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x40c8f4
lea edx, [ebp - 0xc]
mov eax, dword [0x447c34]
call fcn.0040513c
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x40b5f8]
call fcn.00408fac
call fcn.00403400
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c911
lea eax, [ebp - 0xc]
call fcn.00403990
ret

Function at 0x416b1c
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 0x416b22
ret

Function at 0x418f88
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 0x418fd9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x418fc0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x418fb0
jmp 0x418fd9
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 0x418fc1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4226b4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x448784
cmp dword [edi], 0
jne 0x422730
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x448780]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x447648
mov ecx, 2
call fcn.004027b8
mov edx, 0x42268c
lea eax, [esi + 5]
call fcn.004226ac
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004226ac
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 0x422705
mov dword [0x448780], 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 0x422854
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4228a4]
test si, 4
je 0x422868
or bl, 1
test si, 8
je 0x422872
or bl, 4
test si, 1
je 0x42287c
or bl, 8
test si, 2
je 0x422886
or bl, 0x10
test si, 0x10
je 0x422890
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42289f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4228a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4228e0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4228c1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4228d0
or bl, 4
test esi, 0x20000000
je 0x4228db
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x428e28
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 0x428fcd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40f054]
call fcn.00402d40
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403990
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x428fa3
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.0043fff8
test al, al
je 0x428f96
lea eax, [ebp - 0xc]
push eax
push 0xf003f
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, 0x428fdc
lea eax, [ebp - 0x254]
call fcn.004086dc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x428f96
xor eax, eax
push ebp
push 0x428f8f
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 0x429014
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x428f78
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403bbc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x428f78
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403bbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428f96
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x428e99
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00411ee4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428fd4
lea eax, [ebp - 0x260]
call fcn.00403990
ret

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

Disassembly:
push ecx
mov eax, dword [0x448754]
cmp byte [eax + 0x8d], 0
jne 0x4297d9
cmp dword [0x448790], 0
jne 0x42979a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x429724
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x448790], eax
cmp dword [0x44878c], 0
jne 0x4297b5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x44878c], eax
cmp dword [0x448794], 0
jne 0x4297d9
push esp
push 0
push 0
push 0x4296c8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x448794], eax
pop edx
ret
Function at 0x4298d0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4298e7
add esp, 0xfffffff0
call fcn.00403054
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00414cc0
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40ed54]
call fcn.00402d40
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x40ed54]
call fcn.00402d40
mov dword [ebx + 0x90], eax
xor eax, eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x44], 0x80000018
mov dword [ebx + 0x60], 0x1f4
mov byte [ebx + 0x64], 1
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x85], 1
mov dl, 1
mov eax, dword [0x4169d4]
call fcn.0041d5dc
mov esi, eax
mov dword [ebx + 0x80], esi
push 0x429a58
mov eax, dword [0x447c38]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041d980
mov eax, dword [ebx + 0x80]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x42b200
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x447c38]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
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.004099c8
test eax, eax
je 0x4299d7
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408030
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004099f0
test eax, eax
je 0x4299eb
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x74]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403bbc
mov eax, dword [0x447b24]
cmp byte [eax], 0
jne 0x429a1c
mov eax, ebx
call fcn.00429b44
mov byte [ebx + 0x41], 1
mov byte [ebx + 0x42], 1
mov byte [ebx + 0x43], 1
mov byte [ebx + 0x86], 1
xor eax, eax
mov dword [ebx + 0x88], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x429a4e
call fcn.004030ac
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x429da0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x448754]
cmp dword [eax + 0x24], 0
je 0x429e30
cmp dword [ebx + 0x7c], 0
jne 0x429e2d
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x429d34
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x429e2d
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 0x429dfc
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x429e2d
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x78]
call fcn.00410378
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x429e08
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x42a780
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x42a7b5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403a74
jmp 0x42a7bf
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403a28
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x42b530
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x42b568
mov eax, esi
call fcn.0043bfc8
test al, al
je 0x42b568
mov eax, dword [ebx + 0x6c]
call fcn.0043bbe8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42b568
push 0
mov eax, dword [ebx + 0x6c]
call fcn.0043bbe8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x42de80
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403990
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42dee1
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x42dee1
cmp byte [ebp - 0x102], 0
je 0x42dee1
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403bbc
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433dac
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 - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x4487e0], 0
sete dl
or al, dl
jne 0x433ef0
mov eax, dword [0x4487e4]
mov bx, 0xffff
call fcn.00402f44
mov eax, dword [0x4487e0]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x433ebf
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x4487e0]
call fcn.00410378
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x433eb7
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x433eb7
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x433eb7
mov eax, dword [ebp - 0x10]
call fcn.0043bbe8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x433eb7
push ebp
call fcn.00433d68
pop ecx
test al, al
jne 0x433eb7
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x433e73
mov eax, dword [ebp - 0x10]
call fcn.0043a530
dec eax
jle 0x433eb7
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bx, 0xffc2
call fcn.00402f44
cmp byte [ebp - 0x15], 0
je 0x433eb7
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x433eb7
mov edx, dword [ebp - 0x10]
mov eax, dword [0x4487e4]
call fcn.00433618
inc edi
dec esi
jne 0x433e06
mov eax, dword [0x4487e4]
cmp dword [eax + 8], 0
jle 0x433ed7
mov eax, dword [0x4487e4]
call fcn.004336a8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x433ef0
push ebp
mov eax, dword [ebp - 0x14]
call fcn.00433c20
pop ecx
test al, al
jne 0x433ef0
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret