joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4020e8
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, eax
cmp byte [0x4565c0], 0
jne 0x402105
call fcn.004019fc
test al, al
je 0x40210d
cmp ebx, 0x7ffffff8
jle 0x402117
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x40226b
xor ecx, ecx
push ebp
push 0x402264
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp byte [0x456049], 0
je 0x402138
push 0x4565c8
call sub.KERNEL32.DLL_WinExec
add ebx, 7
and ebx, 0xfffffffc
cmp ebx, 0xc
jge 0x402148
mov ebx, 0xc
cmp ebx, 0x1000
jg 0x4021e7
mov eax, ebx
test eax, eax
jns 0x40215d
add eax, 3
sar eax, 2
mov edx, dword [0x456620]
mov edx, dword [edx + eax*4 - 0xc]
test edx, edx
je 0x4021e7
mov esi, edx
mov eax, esi
add eax, ebx
and dword [eax], 0xfffffffe
mov eax, dword [edx + 4]
cmp edx, eax
jne 0x402198
mov eax, ebx
test eax, eax
jns 0x402187
add eax, 3
sar eax, 2
mov ecx, dword [0x456620]
xor edi, edi
mov dword [ecx + eax*4 - 0xc], edi
jmp 0x4021be
mov ecx, ebx
test ecx, ecx
jns 0x4021a1
add ecx, 3
sar ecx, 2
mov edi, dword [0x456620]
mov dword [edi + ecx*4 - 0xc], eax
mov ecx, dword [edx]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, esi
mov edx, dword [edx + 8]
or edx, 2
mov dword [eax], edx
add eax, 4
mov dword [ebp - 4], eax
inc dword [0x4565b0]
sub ebx, 4
add dword [0x4565b4], ebx
call fcn.00403934
jmp 0x40226b
cmp ebx, dword [0x456618]
jg 0x402239
sub dword [0x456618], ebx
cmp dword [0x456618], 0xc
jge 0x40220b
add ebx, dword [0x456618]
xor eax, eax
mov dword [0x456618], eax
mov eax, dword [0x45661c]
add dword [0x45661c], ebx
mov edx, ebx
or edx, 2
mov dword [eax], edx
add eax, 4
mov dword [ebp - 4], eax
inc dword [0x4565b0]
sub ebx, 4
add dword [0x4565b4], ebx
call fcn.00403934
jmp 0x40226b
mov eax, ebx
call fcn.00401ff4
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40226b
cmp byte [0x456049], 0
je 0x402263
push 0x4565c8
call sub.KERNEL32.DLL_WriteFile
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x402278
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
mov dword [0x4565c4], eax
cmp byte [0x4565c0], 0
jne 0x4022b0
call fcn.004019fc
test al, al
jne 0x4022b0
mov dword [0x4565c4], 8
mov dword [ebp - 4], 8
jmp 0x402411
xor ecx, ecx
push ebp
push 0x40240a
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp byte [0x456049], 0
je 0x4022d1
push 0x4565c8
call sub.KERNEL32.DLL_WinExec
mov esi, ebx
sub esi, 4
mov ebx, dword [esi]
test bl, 2
jne 0x4022ec
mov dword [0x4565c4], 9
jmp 0x4023e1
dec dword [0x4565b0]
mov eax, ebx
and eax, 0x7ffffffc
sub eax, 4
sub dword [0x4565b4], eax
test bl, 1
je 0x40234c
mov eax, esi
sub eax, 0xc
mov edx, dword [eax + 8]
cmp edx, 0xc
jl 0x40231c
test edx, 0x80000003
je 0x40232b
mov dword [0x4565c4], 0xa
jmp 0x4023e1
mov eax, esi
sub eax, edx
cmp edx, dword [eax + 8]
je 0x402343
mov dword [0x4565c4], 0xa
jmp 0x4023e1
add ebx, edx
mov esi, eax
call fcn.00401ba0
and ebx, 0x7ffffffc
mov eax, esi
add eax, ebx
mov edi, eax
cmp edi, dword [0x45661c]
jne 0x40238c
sub dword [0x45661c], ebx
add dword [0x456618], ebx
cmp dword [0x456618], 0x3c00
jle 0x40237d
call fcn.00401e90
xor eax, eax
mov dword [ebp - 4], eax
call fcn.00403934
jmp 0x402411
mov edx, dword [eax]
test dl, 2
je 0x4023af
and edx, 0x7ffffffc
cmp edx, 4
jge 0x4023aa
mov dword [0x4565c4], 0xb
jmp 0x4023e1
or dword [eax], 1
jmp 0x4023d8
mov eax, edi
cmp dword [eax + 4], 0
je 0x4023c2
cmp dword [eax], 0
je 0x4023c2
cmp dword [eax + 8], 0xc
jge 0x4023ce
mov dword [0x4565c4], 0xb
jmp 0x4023e1
mov edx, dword [eax + 8]
add ebx, edx
call fcn.00401ba0
mov edx, ebx
mov eax, esi
call fcn.00401e08
mov eax, dword [0x4565c4]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402411
cmp byte [0x456049], 0
je 0x402409
push 0x4565c8
call sub.KERNEL32.DLL_WriteFile
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x404530
Capabilities:
Hide graphical window

Disassembly:
test eax, eax
je 0x404544
push eax
push 0
call sub.user32.dll_ShowWindow
test eax, eax
je 0x404528
ret

Function at 0x404e9c
Capabilities:
Clear file content

Disassembly:
add esp, 0xffffffe4
push 0x1c
lea edx, [esp + 4]
push edx
push eax
call sub.KERNEL32.DLL_SetEndOfFile
cmp dword [esp + 0x10], 0x1000
jne 0x404ebc
mov eax, dword [esp + 4]
jmp 0x404ebe
xor eax, eax
add esp, 0x1c
ret
Function at 0x404f50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
push 0x4050e4
call sub.KERNEL32.DLL_GlobalUnlock
mov esi, eax
test esi, esi
je 0x404fb8
push 0x4050f4
push esi
call sub.KERNEL32.DLL_InitializeCriticalSection
mov ebx, eax
test ebx, ebx
je 0x404fb8
push 0x105
lea eax, [ebp - 0x24f]
push eax
mov eax, dword [ebp - 4]
push eax
call ebx
test eax, eax
je 0x404fb8
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x24f]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_LockResource
jmp 0x4050da
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x404ff8
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x5c
jne 0x4050da
mov eax, dword [ebp - 4]
add eax, 2
call fcn.00404f3c
mov esi, eax
cmp byte [esi], 0
je 0x4050da
lea eax, [esi + 1]
call fcn.00404f3c
mov esi, eax
cmp byte [esi], 0
je 0x4050da
jmp 0x404ffe
mov esi, dword [ebp - 4]
add esi, 2
mov ebx, esi
sub ebx, dword [ebp - 4]
lea eax, [ebx + 1]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x24f]
push eax
call sub.KERNEL32.DLL_LockResource
jmp 0x4050bd
lea eax, [esi + 1]
call fcn.00404f3c
mov edi, eax
mov eax, edi
sub eax, esi
mov edx, eax
add edx, ebx
inc edx
cmp edx, 0x105
jg 0x4050da
inc eax
push eax
push esi
lea eax, [ebp - 0x24f]
add eax, ebx
push eax
call sub.KERNEL32.DLL_LockResource
lea eax, [ebp - 0x14a]
push eax
lea eax, [ebp - 0x24f]
push eax
call sub.KERNEL32.DLL_GlobalFindAtomA
mov esi, eax
cmp esi, 0xffffffff
je 0x4050da
push esi
call sub.KERNEL32.DLL_GlobalDeleteAtom
lea eax, [ebp - 0x11e]
push eax
call sub.KERNEL32.DLL_MulDiv
lea edx, [ebx + 1]
add eax, edx
inc eax
cmp eax, 0x105
jg 0x4050da
mov byte [ebp + ebx - 0x24f], 0x5c
mov eax, 0x105
sub eax, ebx
dec eax
push eax
lea eax, [ebp - 0x11e]
push eax
lea eax, [ebp - 0x24f]
add eax, ebx
inc eax
push eax
call sub.KERNEL32.DLL_LockResource
lea eax, [ebp - 0x11e]
push eax
call sub.KERNEL32.DLL_MulDiv
inc eax
add ebx, eax
mov esi, edi
cmp byte [esi], 0
jne 0x40501c
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x24f]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_LockResource
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405108
Capabilities:
Extract resource via kernel32 functions

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_GlobalReAlloc
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405338
push 0x80000001
call sub.user32.dll_UnhookWindowsHookEx
test eax, eax
je 0x40518b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405338
push 0x80000002
call sub.user32.dll_UnhookWindowsHookEx
test eax, eax
je 0x40518b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405354
push 0x80000001
call sub.user32.dll_UnhookWindowsHookEx
test eax, eax
jne 0x405214
xor eax, eax
push ebp
push 0x40520d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404f50
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.user32.dll_UnregisterClassA
test eax, eax
je 0x4051f2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405374
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_UnregisterClassA
test eax, eax
je 0x4051f2
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405214
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_TranslateMessage
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LockResource
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_LoadLibraryA
push eax
call sub.KERNEL32.DLL_GlobalHandle
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40532e
cmp byte [ebp - 0xd], 0
jne 0x40525b
cmp byte [ebp - 0x12], 0
je 0x40532e
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_MulDiv
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405274
dec ebx
cmp byte [ebx], 0x2e
je 0x405283
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405273
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40532e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4052c0
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_LockResource
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadResource
mov esi, eax
test esi, esi
jne 0x40532e
cmp byte [ebp - 0xd], 0
je 0x40532e
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_LockResource
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadResource
mov esi, eax
test esi, esi
jne 0x40532e
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_LockResource
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadResource
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ad48
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0
push esi
xor eax, eax
push ebp
push 0x40addf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
call sub.user32.dll_MessageBeep
mov ecx, 0x40adf4
mov edx, 0x100b
call fcn.0040aac0
mov eax, dword [ebp - 4]
mov edx, 1
call fcn.00407e68
mov esi, eax
mov eax, esi
add eax, 0xfffffffd
sub eax, 3
jae 0x40adc9
push 4
push esi
call sub.user32.dll_MessageBeep
push eax
push 0x40ac94
call sub.user32.dll_GetWindowTextA
mov edx, 7
mov eax, 0x45676c
mov dword [eax], 0xffffffff
add eax, 4
dec edx
jne 0x40adaa
push 3
push esi
call sub.user32.dll_MessageBeep
push eax
push 0x40acd0
call sub.user32.dll_GetWindowTextA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ade6
lea eax, [ebp - 4]
call fcn.00403e4c
ret

Function at 0x40bacc
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 0x40bba2
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 0x40bb8c
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bb85
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 0x40bb6f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bbb4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bb6f
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 0x40bb8c
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bba9
lea eax, [ebp - 8]
call fcn.00403e4c
ret

Function at 0x41b964
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 0x41b96a
ret
Function at 0x41d144
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x41d1e1
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x41d1e1
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x10]
mov dl, byte [0x41d1ec]
mov eax, ebx
call fcn.0041d5f4
mov eax, dword [ebx + 0x14]
call fcn.0041ce44
call fcn.0041c1c0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetKeyboardLayout
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x18]
call fcn.0041c1c0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetMenuState
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
add ecx, edi
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00412510
lea ecx, [ebp - 0x14]
mov edx, ebx
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0x14]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41d690
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0xc]
call fcn.0041c694
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x18]
call fcn.0041c1c0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetMenuState
pop ebx
ret

Function at 0x41d6bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x10]
call fcn.0041cb94
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebx + 0x10]
movzx eax, byte [eax + 0x18]
movzx eax, word [eax*2 + 0x4546a8]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetMenuItemID
pop ebx
ret

Function at 0x41d6ec
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x14]
call fcn.0041ce80
push eax
call sub.user32.dll_GetScrollInfo
mov eax, dword [ebx + 0x14]
call fcn.0041ce80
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebx + 0x14]
call fcn.0041cf60
test al, al
jne 0x41d73f
mov eax, dword [ebx + 0x14]
call fcn.0041ce44
call fcn.0041c1c0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetKeyboardLayout
push 2
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetKeyboardLayoutList
pop ebx
ret
mov eax, dword [ebx + 0x14]
call fcn.0041ce44
call fcn.0041c1c0
not eax
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetKeyboardLayout
push 1
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetKeyboardLayoutList
pop ebx
ret
Function at 0x41d928
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
push 0
call sub.user32.dll_CloseClipboard
mov dword [ebp - 0x18], eax
push 0
call sub.user32.dll_CloseClipboard
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x41da76
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x34]
push eax
push 0x18
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_EndPaint
test bl, bl
je 0x41d98a
push 0
push 1
push 1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_CallWindowProcA
mov dword [ebp - 0x10], eax
jmp 0x41d9ec
push 0
call fcn.004063e8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41d99f
call fcn.0041d870
xor eax, eax
push ebp
push 0x41d9e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_ClientToScreen
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41d9cc
call fcn.0041d870
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d9ec
mov eax, dword [ebp - 0x14]
push eax
push 0
call fcn.00406630
ret
cmp dword [ebp - 0x10], 0
je 0x41da56
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_GetKeyNameTextA
mov ebx, eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.user32.dll_GetKeyNameTextA
mov esi, eax
push 0xcc0020
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.user32.dll_GetPropA
test ebx, ebx
je 0x41da48
push ebx
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_GetKeyNameTextA
test esi, esi
je 0x41da56
push esi
mov eax, dword [ebp - 0x1c]
push eax
call sub.user32.dll_GetKeyNameTextA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41da7d
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_DestroyCursor
mov eax, dword [ebp - 0x1c]
push eax
call sub.user32.dll_DestroyCursor
ret
Function at 0x41e008
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffbfc
mov edi, eax
xor esi, esi
mov word [esp], 0x300
test edi, edi
je 0x41e057
push 0
call sub.user32.dll_CloseClipboard
mov ebx, eax
push edi
push ebx
call sub.user32.dll_GetKeyNameTextA
mov edi, eax
lea eax, [esp + 4]
push eax
push 0x100
push 0
push ebx
call sub.user32.dll_DrawMenuBar
mov word [esp + 2], ax
push edi
push ebx
call sub.user32.dll_GetKeyNameTextA
push ebx
call sub.user32.dll_DestroyCursor
jmp 0x41e06a
mov word [esp + 2], cx
mov eax, edx
lea edx, [esp + 4]
shl ecx, 2
call fcn.004028b8
cmp word [esp + 2], 0
je 0x41e09d
cmp word [esp + 2], 0x10
jne 0x41e085
mov eax, esp
call fcn.0041df70
test al, al
jne 0x41e093
movzx edx, word [esp + 2]
lea eax, [esp + 4]
call fcn.0041de00
mov eax, esp
push eax
call sub.user32.dll_DefMDIChildProcA
mov esi, eax
mov eax, esi
add esp, 0x404
pop edi
pop esi
pop ebx
ret

Function at 0x41e7c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
mov edx, ebx
mov ecx, dword [ebp + 8]
mov eax, esi
call fcn.0041e678
xor eax, eax
mov dword [ebp - 8], eax
push 0
call sub.user32.dll_CloseClipboard
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x41e865
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x41e81c
push 0
push edi
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyState
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetDCEx
push 0
push ebx
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebx + 8]
push eax
push 0
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_DrawTextA
test eax, eax
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e86c
cmp dword [ebp - 8], 0
je 0x41e85b
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyState
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_DestroyCursor
ret
Function at 0x420924
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf0
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
test esi, esi
je 0x4209da
cmp word [ecx + 0x26], 8
ja 0x4209da
lea edx, [ebp - 0x410]
mov ecx, 0xff
mov eax, dword [ebp - 4]
call fcn.0041e0ac
mov ebx, eax
test ebx, ebx
je 0x4209da
push 0
call fcn.004063e8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_CloseClipboard
mov dword [ebp - 0xc], eax
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4209d3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x410]
push eax
push ebx
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetLastActivePopup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4209da
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_DestroyCursor
mov eax, dword [ebp - 8]
push eax
push 0
call fcn.00406630
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426a7c
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 0x426c2d
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, 0x426c44
call fcn.00404158
mov eax, ebx
call fcn.00419908
mov edi, eax
dec edi
test edi, edi
jl 0x426b34
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004198dc
mov edx, dword [0x42ac6c]
call fcn.00403288
test al, al
je 0x426b30
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.004198dc
lea edx, [ebp - 0x14]
call fcn.00432a98
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 0x426ae2
mov al, byte [0x426c48]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x426c54
mov eax, dword [ebp - 0xc]
call fcn.0040c68c
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.00432a98
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x426c44
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.00432a98
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x426c44
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, 0x426c44
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, 0x426c60
call fcn.004089fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426c34
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