joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444e24
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, eax
sub edx, 1
jb 0x444e33
sub edx, 0x67
je 0x444e52
jmp 0x444e83
mov eax, ebx
call fcn.00444d68
cmp byte [ebx + 0xd], 0
jne 0x444e49
mov eax, ebx
call fcn.00444db4
jmp 0x444e83
mov eax, ebx
call fcn.00444d84
pop ebx
ret
cmp byte [ebx + 0x20], 0
je 0x444e83
cmp byte [ebx + 0xd], 0
je 0x444e6f
push 0
lea eax, [ebx + 0x10]
push eax
push 0
push 0x68
call sub.user32.dll_MapVirtualKeyA
jmp 0x444e83
push 0
push 0
mov eax, dword [ebx + 0x14]
push eax
mov eax, dword [ebx + 0x18]
push eax
call sub.user32.dll_GetWindowPlacement
mov dword [ebx + 0x10], eax
pop ebx
ret

Function at 0x445280
Capabilities:
Extract resource via kernel32 functions
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4453f8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
call sub.KERNEL32.DLL_LockResource
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x44540c
call fcn.0040a4dc
mov edx, dword [ebp - 4]
mov eax, 0x491c10
call fcn.00404bb0
mov eax, dword [0x491c10]
call fcn.00404fec
push eax
call sub.KERNEL32.DLL_RtlUnwind
mov word [0x491c0c], ax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x48f7f4]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
call sub.KERNEL32.DLL_MoveFileA
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x445420
call fcn.0040a4dc
mov edx, dword [ebp - 0x10]
mov eax, 0x491c14
call fcn.00404bb0
mov eax, dword [0x491c14]
call fcn.00404fec
push eax
call sub.KERNEL32.DLL_RtlUnwind
mov word [0x491c0e], ax
mov eax, dword [0x491c14]
call fcn.00404fec
push eax
call sub.user32.dll_GetSysColorBrush
mov dword [0x491c18], eax
mov dl, 1
mov eax, dword [0x413720]
call fcn.00415ffc
mov dword [0x491c50], eax
call fcn.00444e88
mov dl, 1
mov eax, dword [0x434774]
call fcn.00444c34
mov dword [0x491bf8], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x44ac7c]
call fcn.00453564
mov edx, dword [0x48c0e8]
mov dword [edx], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x44ad80]
call fcn.004547e4
mov edx, dword [0x48bee0]
mov dword [edx], eax
mov eax, dword [0x48bee0]
mov eax, dword [eax]
mov dl, 1
call fcn.00456adc
mov ecx, 0x434b5c
mov edx, 0x434b6c
mov eax, dword [0x432334]
call fcn.00415754
push 0x445434
call sub.KERNEL32.DLL_SetThreadContext
mov ebx, eax
test ebx, ebx
je 0x4453da
push 0x44543c
push ebx
call sub.KERNEL32.DLL_SetThreadLocale
mov dword [0x48a41c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4453ff
lea eax, [ebp - 0x10]
call fcn.00404b5c
lea eax, [ebp - 4]
call fcn.00404b5c
ret
Function at 0x44b18c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov edx, dword [0x48a5f8]
mov dword [ebp - 8], edx
mov edx, dword [0x48a608]
mov dword [ebp - 0xc], edx
mov dword [0x48a5f8], eax
xor eax, eax
mov dword [0x48a608], eax
xor eax, eax
push ebp
push 0x44b23d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x48a604], 1
xor eax, eax
push ebp
push 0x44b1ff
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x44b13c
call sub.KERNEL32.DLL_MoveFileA
push eax
call fcn.004073ec
mov eax, dword [0x48a608]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44b218
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b244
mov byte [0x48a604], 0
mov eax, dword [ebp - 0xc]
mov dword [0x48a608], eax
mov eax, dword [ebp - 8]
mov dword [0x48a5f8], eax
ret

Function at 0x44b3a0
Capabilities:
Move file

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call fcn.0040741c
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x44b3c6
mov eax, esp
push eax
push 0x44b368
call fcn.004073f4
jmp 0x44b3d9
mov eax, esp
push eax
push 0x44b348
call sub.KERNEL32.DLL_MoveFileA
push eax
call fcn.004073ec
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x453920
Capabilities:
Get keyboard layout

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, eax
push 0x7f00
push 0
call sub.user32.dll_GetKeyboardLayoutNameA
mov dword [ebp + 0x60], eax
mov ebx, 0xffffffea
mov esi, 0x48a690
cmp ebx, 0xffffffef
jl 0x453949
cmp ebx, 0xfffffff4
jle 0x45394e
cmp ebx, 0xffffffeb
jne 0x453956
mov edi, dword [0x48f7f4]
jmp 0x453958
xor edi, edi
mov eax, dword [esi]
push eax
push edi
call sub.user32.dll_GetKeyboardLayoutNameA
mov ecx, eax
mov edx, ebx
mov eax, ebp
call fcn.00453a24
inc ebx
add esi, 4
cmp ebx, 0xffffffff
jne 0x45393f
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x453cfc
Capabilities:
Move file

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov esi, edx
mov ebx, eax
cmp si, word [ebx + 0x44]
je 0x453d8b
mov word [ebx + 0x44], si
test si, si
jne 0x453d7b
push esp
call sub.user32.dll_AdjustWindowRectEx
push dword [esp + 4]
push dword [esp + 4]
call sub.user32.dll_PostMessageA
mov edi, eax
test edi, edi
je 0x453d7b
push 0
push edi
call sub.user32.dll_FrameRect
mov ebp, eax
call sub.KERNEL32.DLL_MoveFileA
cmp ebp, eax
jne 0x453d7b
movzx eax, word [esp]
mov word [esp + 8], ax
movzx eax, word [esp + 4]
mov word [esp + 0xa], ax
mov eax, dword [esp + 8]
push eax
push 0
push 0x84
push edi
call sub.user32.dll_GetWindowPlacement
movzx eax, ax
or eax, 0x2000000
push eax
push edi
push 0x20
push edi
call sub.user32.dll_GetWindowPlacement
jmp 0x453d8e
movsx edx, si
mov eax, ebx
call fcn.00453cd4
push eax
call sub.user32.dll_InsertMenuA
inc dword [ebx + 0x48]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x453d98
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe6c
push ebx
mov ebx, eax
mov byte [ebp - 1], 0
cmp dword [0x491c98], 0
je 0x453dc0
mov eax, dword [0x491c98]
movzx eax, byte [eax + 0x88]
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x453edf
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x491c98], 0
je 0x453de3
xor edx, edx
mov eax, dword [0x491c98]
call fcn.00456adc
push 0
lea eax, [ebp - 0x3d]
push eax
push 0x3c
push 0x1f
call sub.user32.dll_MapVirtualKeyA
test eax, eax
je 0x453e0e
lea eax, [ebp - 0x3d]
push eax
call sub.gdi32.dll_CreateFontIndirectA
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.00422524
jmp 0x453e22
push 0xd
call sub.gdi32.dll_GetStockObject
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.00422524
mov dword [ebp - 0x191], 0x154
push 0
lea eax, [ebp - 0x191]
push eax
push 0
push 0x29
call sub.user32.dll_MapVirtualKeyA
test eax, eax
je 0x453e76
lea eax, [ebp - 0xb5]
push eax
call sub.gdi32.dll_CreateFontIndirectA
mov edx, eax
mov eax, dword [ebx + 0x80]
call fcn.00422524
lea eax, [ebp - 0xf1]
push eax
call sub.gdi32.dll_CreateFontIndirectA
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.00422524
jmp 0x453e9a
mov eax, dword [ebx + 0x80]
mov edx, 8
call fcn.00422610
push 0xd
call sub.gdi32.dll_GetStockObject
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.00422524
mov eax, dword [ebx + 0x80]
mov edx, 0xff000017
call fcn.004222a8
mov eax, dword [ebx + 0x88]
mov edx, 0xff000007
call fcn.004222a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453ee6
cmp dword [0x491c98], 0
je 0x453ede
movzx edx, byte [ebp - 1]
mov eax, dword [0x491c98]
call fcn.00456adc
ret

Function at 0x454390
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0x8c], 0
je 0x4543b6
mov eax, dword [ebp - 4]
or word [eax + 0x8e], 0x10
jmp 0x454410
mov eax, dword [ebp - 4]
call fcn.00453eec
xor eax, eax
push ebp
push 0x454409
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x30
call sub.user32.dll_MapVirtualKeyA
lea ecx, [ebp - 0x14]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00454308
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454410
mov eax, dword [ebp - 4]
and word [eax + 0x8e], 0xffef
mov eax, dword [ebp - 4]
call fcn.00453ef4
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x454570
Capabilities:
Get disk size
Get file attributes
Move file

Disassembly:
push ecx
mov eax, dword [0x491c98]
cmp byte [eax + 0xad], 0
jne 0x4545e1
cmp dword [0x491cb4], 0
jne 0x4545a2
call sub.KERNEL32.DLL_MoveFileA
push eax
push 0
mov eax, 0x45452c
push eax
push 3
call sub.user32.dll_LoadCursorA
mov dword [0x491cb4], eax
cmp dword [0x491cb0], 0
jne 0x4545bd
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_GetDiskFreeSpaceA
mov dword [0x491cb0], eax
cmp dword [0x491cb8], 0
jne 0x4545e1
push esp
push 0
push 0
push 0x4544d0
push 0x3e8
push 0
call sub.KERNEL32.DLL_GetFileAttributesA
mov dword [0x491cb8], eax
pop edx
ret
Function at 0x4545e4
Capabilities:
Move file

Disassembly:
cmp dword [0x491cb4], 0
je 0x4545f8
mov eax, dword [0x491cb4]
push eax
call sub.user32.dll_OemToCharA
xor eax, eax
mov dword [0x491cb4], eax
cmp dword [0x491cb8], 0
je 0x45463f
mov eax, dword [0x491cb0]
push eax
call sub.KERNEL32.DLL_MultiByteToWideChar
call sub.KERNEL32.DLL_MoveFileA
cmp eax, dword [0x491cac]
je 0x45462d
push 0xffffffffffffffff
mov eax, dword [0x491cb8]
push eax
call sub.KERNEL32.DLL_Sleep
mov eax, dword [0x491cb8]
push eax
call sub.KERNEL32.DLL_FreeResource
xor eax, eax
mov dword [0x491cb8], eax
ret

Function at 0x454640
Capabilities:
Log keystrokes

Disassembly:
add esp, 0xfffffff8
mov dword [esp], 8
push 0
lea eax, [esp + 4]
push eax
push 8
push 0x48
call sub.user32.dll_MapVirtualKeyA
test eax, eax
je 0x454669
cmp dword [esp + 4], 0
setne al
pop ecx
pop edx
ret
xor eax, eax
pop ecx
pop edx
ret

Function at 0x454670
Capabilities:
Log keystrokes

Disassembly:
add esp, 0xfffffff8
mov dword [esp], 8
cmp al, 1
cmc
sbb eax, eax
mov dword [esp + 4], eax
push 0
lea eax, [esp + 4]
push eax
push 8
push 0x49
call sub.user32.dll_MapVirtualKeyA
pop ecx
pop edx
ret
Function at 0x4547e4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4547fb
add esp, 0xfffffff0
call fcn.00403f80
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d020
mov eax, dword [0x48be0c]
cmp word [eax + 2], 0
jne 0x454823
mov eax, dword [0x48be0c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004564d4
mov eax, dword [0x48bf1c]
cmp word [eax + 2], 0
jne 0x45483d
mov eax, dword [0x48bf1c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004566e0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4136bc]
call fcn.00403c44
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4136bc]
call fcn.00403c44
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4136bc]
call fcn.00403c44
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x421390]
call fcn.0042725c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4549f4
mov eax, dword [0x48bcb4]
mov eax, dword [eax]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, eax
mov eax, esi
call fcn.00427630
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x456db4
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48bcb4]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_SetFilePointer
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_GetMenuStringA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040e110
test eax, eax
je 0x454944
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409a78
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e144
test eax, eax
je 0x454958
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call fcn.00407304
push eax
call fcn.004072e4
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.00404dcc
mov byte [ebx + 0xd4], 0
push ebx
push 0x455f60
call fcn.0041e19c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x48bae0]
cmp byte [eax], 0
jne 0x4549a9
mov eax, ebx
call fcn.00454b38
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00456fc8
mov eax, ebx
call fcn.00457b2c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4549e9
call fcn.00403fd8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x456564
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00457960
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x456591
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x30]
jmp 0x456594
mov ebx, dword [ebp - 0x10]
push 2
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x48bdb4]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x18], eax
push 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [0x48bdb4]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
je 0x456623
mov dword [ebp - 0x48], 0x28
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [0x48bca4]
mov eax, dword [eax]
call eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_FillRect
push 0x1d
push 0
push 0
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
sub ecx, edx
sar ecx, 1
jns 0x456600
adc ecx, 0
add ecx, edx
push ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
sub edx, eax
sar edx, 1
jns 0x456612
adc edx, 0
add edx, eax
push edx
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_LoadBitmapA
mov eax, dword [ebp - 0x10]
call fcn.0044b18c
mov dword [ebp - 0x14], eax
call fcn.0044afe4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
call fcn.004551d4
test al, al
je 0x456648
or esi, 0x100000
xor ecx, ecx
push ebp
push 0x4566cc
push dword fs:[ecx]
mov dword fs:[ecx], esp
push esi
mov eax, dword [ebp - 8]
push eax
push edi
push ebx
call sub.user32.dll_GetMenuItemInfoA
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4566d3
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
je 0x4566b2
push 0x1d
push 0
push 0
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x54]
sub ecx, edx
sar ecx, 1
jns 0x45668f
adc ecx, 0
add ecx, edx
push ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x58]
sub edx, eax
sar edx, 1
jns 0x4566a1
adc edx, 0
add edx, eax
push edx
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_LoadBitmapA
mov eax, dword [ebp - 0x14]
call fcn.0044b250
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_GetWindowTextA
mov eax, dword [ebp - 0x20]
call fcn.0044afec
ret
Function at 0x456c1c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x456d69
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00456b90
mov ebx, eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x88], 0
je 0x456c65
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0
jne 0x456c65
mov eax, dword [ebp - 4]
call fcn.00457220
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.00454424
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00434bc0
mov edx, dword [ebp - 0xc]
mov eax, dword [0x491c98]
call fcn.00456e14
mov byte [ebp - 5], 1
xor eax, eax
push ebp
push 0x456d10
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp word [eax + 0x12a], 0
je 0x456cbb
lea ecx, [ebp - 5]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x12c]
call dword [ebx + 0x128]
cmp byte [ebp - 5], 0
je 0x456d06
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xc0]
test ebx, ebx
jg 0x456cd8
mov eax, dword [ebp - 4]
call fcn.00456b2c
jmp 0x456d06
cmp dword [0x491cc4], 0
jne 0x456d06
push 0x456bb4
push ebx
push 0
push 0
call sub.user32.dll_IsWindowUnicode
mov dword [0x491cc4], eax
cmp dword [0x491cc4], 0
jne 0x456d06
mov eax, dword [ebp - 4]
call fcn.00456b2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x456d25
call sub.KERNEL32.DLL_MoveFileA
mov edx, dword [0x48c110]
cmp eax, dword [edx]
jne 0x456d43
xor eax, eax
call fcn.0041c83c
test al, al
je 0x456d43
mov byte [ebp - 5], 0
cmp byte [ebp - 5], 0
je 0x456d4e
call sub.user32.dll_PeekMessageW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456d70
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404b80
ret

Function at 0x456ea8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetKeyNameTextA
cmp eax, 1
sbb eax, eax
inc eax
cmp al, byte [0x48a718]
jne 0x456f39
cmp bl, byte [0x48a718]
je 0x456f39
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00457f98
test al, al
je 0x456f0e
cmp byte [0x48a718], 0
jne 0x456f0e
push 0xffffffffffffffec
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x30]
push esi
call sub.user32.dll_EnumThreadWindows
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp + 8]
push esi
call sub.user32.dll_IsWindowVisible
movzx eax, bl
movzx eax, word [eax*2 + 0x48a71c]
push eax
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_LoadBitmapA
mov byte [0x48a718], bl
pop esi
pop ebx
pop ebp
ret
Function at 0x4588a8
Capabilities:
Query environment variable
Resume thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fdc
xor eax, eax
push ebp
push 0x45896e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404fec
push eax
call sub.KERNEL32.DLL_GetEnvironmentVariableA
mov dword [ebx], eax
cmp dword [ebx], 0
je 0x458958
push 0
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov dword [esi], eax
cmp dword [esi], 0
jne 0x458915
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_FreeResource
jmp 0x458958
push 4
push 0x3000
mov eax, dword [esi]
push eax
push 0
call sub.KERNEL32.DLL_GetTickCount
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi]
push eax
push edi
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
test eax, eax
jne 0x458955
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_FreeResource
push 0x8000
push 0
push edi
call sub.KERNEL32.DLL_VirtualFree
jmp 0x458958
mov dword [ebp - 8], edi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458975
lea eax, [ebp - 4]
call fcn.00404b5c
ret

Function at 0x458b64
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
call fcn.00404fdc
xor eax, eax
push ebp
push 0x458c19
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push pe_nt_image_headers32
push 0x3000
push 0x5c4
push 0
call sub.KERNEL32.DLL_GetTickCount
mov edi, eax
test edi, edi
je 0x458c03
push 4
push 0x3000
push 0x10
push 0
call sub.KERNEL32.DLL_GetTickCount
mov esi, eax
test esi, esi
je 0x458c03
mov edx, 0x48a720
mov ecx, 0x5c4
mov eax, edi
call fcn.00407804
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.00458a9c
test eax, eax
je 0x458c03
mov dword [esi], edi
mov dword [esi + 4], eax
mov eax, sub.KERNEL32.DLL_ExitThread
mov dword [esi + 8], eax
mov eax, sub.KERNEL32.DLL_SetThreadLocale
mov dword [esi + 0xc], eax
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x458a10
push 0
push 0
call sub.KERNEL32.DLL_GetFileAttributesA
test eax, eax
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458c20
lea eax, [ebp + 8]
call fcn.00404b5c
ret

Function at 0x45a974
Capabilities:
Accept command line arguments
Get geographical location

Disassembly:
add esp, 0xfffffff0
lea eax, [esp + 8]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
je 0x45a9af
push esp
call sub.KERNEL32.DLL_GetCommandLineA
test eax, eax
je 0x45a9a8
fild qword [esp]
fild qword [esp + 8]
fdivp st(1)
fmul dword [0x45a9b8]
call fcn.0040335c
and eax, 0xffffffff
jmp 0x45a9b4
call sub.KERNEL32.DLL_WriteProcessMemory
jmp 0x45a9b4
call sub.KERNEL32.DLL_WriteProcessMemory
add esp, 0x10
ret
Function at 0x10001570
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call ebx
test eax, eax
je 0x100015ae
mov ecx, dword [ebp + 8]
push esi
push ecx
push edi
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push esi
push edi
call ebx
neg eax
sbb eax, eax
neg eax
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100015c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100433b0
push 0x10032c79
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1004dcb0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 5
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
mov byte [esi], 0xe9
sub edi, esi
sub edi, 5
mov dword [esi + 1], edi
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 5
push esi
call ebx
mov dword [ebp - 4], 0xfffffffe
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret