joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d36c
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 0x45d517
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45d4f8
mov dl, 1
mov eax, dword [0x41aacc]
call fcn.00404194
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405050
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45d4e7
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.00471d58
test al, al
je 0x45d4da
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45d528
lea eax, [ebp - 0x254]
call fcn.0040c5d0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45d4da
xor eax, eax
push ebp
push 0x45d4d3
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 0x45d560
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45d4bc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004052c0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45d4bc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004052c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d4da
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45d3dd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041f6e0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d51e
lea eax, [ebp - 0x260]
call fcn.00405050
ret

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

Disassembly:
push ecx
mov eax, dword [0x521d6c]
cmp byte [eax + 0xa5], 0
jne 0x45ded1
cmp dword [0x521d84], 0
jne 0x45de92
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45de1c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x521d84], eax
cmp dword [0x521d80], 0
jne 0x45dead
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x521d80], eax
cmp dword [0x521d88], 0
jne 0x45ded1
push esp
push 0
push 0
push 0x45ddc0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x521d88], eax
pop edx
ret
Function at 0x45e564
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x521d6c]
cmp dword [eax + 0x30], 0
je 0x45e60e
cmp dword [ebx + 0x94], 0
jne 0x45e608
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45e4f4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45e608
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 0x45e5ce
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45e608
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041cd40
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45e5dd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45f16c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45f1a1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405140
jmp 0x45f1ae
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004050a4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x460368
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4603a9
mov eax, esi
call fcn.0046d28c
test al, al
je 0x4603a9
mov eax, dword [ebx + 0x84]
call fcn.0046cf88
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4603a9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0046cf88
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x464150
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 [0x521dd0], 0
je 0x46429f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x51e5d4]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x46429f
mov eax, dword [0x521dd4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x521dd0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x46426e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x521dd0]
call fcn.0041cd40
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x464266
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x464266
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x464266
mov eax, dword [ebp - 0x14]
call fcn.0046cf88
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x464266
push ebp
call fcn.0046410c
pop ecx
test al, al
jne 0x464266
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x464222
mov eax, dword [ebp - 0x14]
call fcn.0046ba80
dec eax
jle 0x464266
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.004043cc
cmp byte [ebp - 1], 0
je 0x464266
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x464266
mov edx, dword [ebp - 0x14]
mov eax, dword [0x521dd4]
call fcn.004638d8
inc edi
dec ebx
jne 0x4641b5
mov eax, dword [0x521dd4]
cmp dword [eax + 8], 0
jle 0x464286
mov eax, dword [0x521dd4]
call fcn.00463968
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x46429f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00463f74
pop ecx
test al, al
jne 0x46429f
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 0x4678c0
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 0x46790c
mov eax, esi
call fcn.004568b0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x46790c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x46790c
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 0x467a4b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x46794c
cmp eax, 0x108
ja 0x46794c
mov eax, esi
call fcn.004568b0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x467a42
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x467a4b
jmp 0x467a42
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x467a2b
cmp eax, 0x20a
ja 0x467a2b
test byte [esi + 0x50], 0x80
jne 0x46797e
sub eax, 0x203
je 0x46797b
sub eax, 3
je 0x46797b
sub eax, 3
jne 0x46797e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x467992
dec eax
je 0x4679a7
dec eax
je 0x4679c4
dec eax
je 0x4679a7
jmp 0x4679cb
mov ecx, ebx
mov eax, dword [0x51e5d4]
mov eax, dword [eax]
mov edx, esi
call fcn.00460220
jmp 0x467a42
cmp byte [esi + 0x5d], 1
jne 0x4679bd
mov eax, esi
mov si, 0xffed
call fcn.004043cc
jmp 0x467a4b
or word [esi + 0x54], 1
jmp 0x467a42
and word [esi + 0x54], 0xfffe
jmp 0x467a42
mov eax, dword [0x521d8c]
cmp byte [eax + 0x20], 0
je 0x467a42
mov eax, dword [0x521d8c]
cmp dword [eax + 0x1c], 0
je 0x467a42
mov eax, dword [ebx]
mov edx, dword [0x521d8c]
cmp eax, dword [edx + 0x1c]
jne 0x467a42
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.004567f4
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.004043cc
jmp 0x467a4b
cmp eax, 0xb00b
jne 0x467a42
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004661b4
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
Function at 0x46b0e0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x46b0fc
cmp dword [esi + 4], 0
je 0x46b129
test byte [ebx + 0x55], 1
jne 0x46b11b
mov eax, ebx
call fcn.00469c80
test eax, eax
jne 0x46b11b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x46b239
mov edx, esi
mov eax, ebx
call fcn.0046ac04
jmp 0x46b239
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x46b232
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0046cf88
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.004677f4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0046b0e0
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0046cf88
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b239
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4719f8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x51e814]
cmp byte [eax + 0xc], 0
je 0x471b65
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x471b5e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x521de0], 0
jne 0x471a4c
push 0x471b6c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x471b74
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x521de0], eax
cmp dword [0x51d858], 0
jne 0x471b47
push 0x471b84
call sub.kernel32.dll_LoadLibraryA
mov dword [0x51d858], eax
cmp dword [0x51d858], 0
je 0x471b47
push 0x471b90
mov eax, dword [0x51d858]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x521de4], eax
push 0x471ba0
mov eax, dword [0x51d858]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x521de8], eax
push 0x471bb4
mov eax, dword [0x51d858]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x521dec], eax
push 0x471bcc
mov eax, dword [0x51d858]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x521df0], eax
push 0x471be4
mov eax, dword [0x51d858]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x521df4], eax
push 0x471bf8
mov eax, dword [0x51d858]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x521df8], eax
push 0x471c10
mov eax, dword [0x51d858]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x521dfc], eax
push 0x471c28
mov eax, dword [0x51d858]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x521e00], eax
push 0x471c44
mov eax, dword [0x51d858]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x521e04], eax
push 0x471c50
mov eax, dword [0x51d858]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x521e08], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471b65
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x473094
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.00405050
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4730e3
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004052c0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48c714
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48c974
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x48c777
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0048c1dc
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040fdbc
cmp al, 1
jne 0x48c777
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0048c4f4
test al, al
je 0x48c903
cmp dword [ebp - 8], 0
jge 0x48c795
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0048c1dc
mov eax, dword [ebp - 0x210]
call fcn.00405310
cmp ebx, eax
jge 0x48c7df
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0048c1dc
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x51e7f4]
and eax, 0xff
bt dword [edx], eax
jae 0x48c7df
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x48c7f3
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0048c6f0
cmp ebx, dword [ebp - 8]
je 0x48c8f5
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x48c81f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004043cc
and eax, 0x7f
movzx eax, word [eax*2 + 0x51d984]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x48c8e2
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004043cc
and eax, 0x7f
movzx eax, word [eax*2 + 0x51d984]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0046cf88
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004043cc
and eax, 0x7f
movzx eax, word [eax*2 + 0x51d984]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0046cf88
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c8e9
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x48c956
cmp dword [ebp - 8], 0
jge 0x48c90e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0048c1dc
mov eax, dword [ebp - 0x218]
call fcn.00405310
cmp eax, dword [ebp - 8]
jg 0x48c948
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0048c1dc
mov eax, dword [ebp - 0x21c]
call fcn.00405310
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0048c6f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c97b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00405074
ret
Function at 0x4a4d74
Capabilities:
Log keystrokes via polling

Disassembly:
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x4a4d95
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x4a4d95
xor eax, eax
ret
mov al, 1
ret

Function at 0x4a5920
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x419a08]
call fcn.00405ab4
xor eax, eax
push ebp
push 0x4a5a64
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x51d9ac], 0
jne 0x4a5973
mov ecx, dword [0x51e1bc]
mov dl, 1
mov eax, dword [0x40a228]
call fcn.0040f46c
call fcn.004049a4
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004038d0
mov eax, ebx
call fcn.00405900
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4a5a74
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406bb8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405910
test eax, eax
jle 0x4a5a0b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4a5a04
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004052d8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004052c0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040b0b8
test eax, eax
jne 0x4a5a04
mov ebx, 0x15
jmp 0x4a5a10
mov ebx, 0x10
jmp 0x4a5a10
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x51d9ac]
call fcn.004a581c
mov eax, dword [ebp - 8]
call fcn.004a581c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406bd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5a6b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00405074
lea eax, [ebp - 0x10]
mov edx, dword [0x419a08]
call fcn.00405b84
ret
Function at 0x4a82b8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405510
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4a82d1
test al, 0x10
jne 0x4a82d5
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4a82dc
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe78
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
call fcn.00405500
xor eax, eax
push ebp
push 0x4a84b7
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 0x20]
call fcn.00403ac0
mov edi, eax
cmp dword [ebp + 0x20], 0
je 0x4a8385
cmp dword [ebp - 0x10], 0
je 0x4a8385
mov eax, dword [ebp + 0x20]
call fcn.0040bb68
test al, al
jne 0x4a833b
mov eax, dword [ebp + 0x20]
call fcn.004a82b8
test al, al
je 0x4a835e
push 0x4000
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.00405510
push eax
call sub.shell32.dll_SHGetFileInfoA
jmp 0x4a837f
push 0x4010
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.00405510
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edi, dword [ebp - 0x174]
cmp byte [ebp + 0x1c], 0
je 0x4a83ac
push 0x4000
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
push 0x4a84c8
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
jmp 0x4a83cb
push 0x4001
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
push 0x4a84c8
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call sub.comctl32.dll_ImageList_GetIconSize
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.0041b694
test bl, bl
je 0x4a840b
cmp byte [ebp + 0x14], 0
jne 0x4a840b
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0042a950
push eax
push edi
push esi
call sub.comctl32.dll_ImageList_Draw
test byte [ebp + 0x14], bl
je 0x4a84a1
mov dl, 1
mov eax, dword [0x42843c]
call fcn.0042efbc
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0
push 0
push 0
mov eax, ebx
call fcn.0042f58c
call fcn.0042a950
push eax
push edi
push esi
call sub.comctl32.dll_ImageList_Draw
mov eax, dword [ebp - 8]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x184], eax
fild dword [ebp - 0x14]
fmul qword [ebp + 0xc]
call fcn.00403330
add eax, dword [ebp - 8]
mov dword [ebp - 0x180], eax
fild dword [ebp - 0x18]
fmul qword [ebp + 0xc]
call fcn.00403330
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x17c], eax
mov ecx, ebx
lea edx, [ebp - 0x188]
mov eax, dword [ebp - 4]
call fcn.004a81dc
mov eax, ebx
call fcn.004041c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a84be
lea eax, [ebp + 0x20]
call fcn.00405050
ret
Function at 0x4adadc
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
ja 0x4adb08
cmp dword [esp + 4], 5
jne 0x4adb04
cmp dword [esp + 8], 1
jae 0x4adb08
xor eax, eax
jmp 0x4adb0a
mov al, 1
mov byte [0x521f80], al
add esp, 0x94
ret

Function at 0x4adfc8
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4adfda
add esp, 0xfffffff0
call fcn.0040453c
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00406c2c
xor eax, eax
push ebp
push 0x4ae04e
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00404194
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004ae13c
mov dl, 1
mov eax, dword [0x41aacc]
call fcn.00404194
mov dword [esi + 0x28], eax
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4ae038
push 0x4ae074
call sub.user32.dll_RegisterClipboardFormatA
mov dword [0x521f8c], eax
call sub.user32.dll_CloseClipboard
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae055
lea eax, [ebp - 4]
call fcn.00406bb8
ret