joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456350
Capabilities:
Check for time delay via gettickcount
Get number of processors
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0x49b000]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x456529
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0044e644
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0044f86c
mov eax, dword [esi]
call fcn.0046c268
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x4563c2
mov eax, dword [esi]
call fcn.0046c268
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.0046c274
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x4563e6
mov eax, dword [esi]
call fcn.0046c274
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.0046c25c
cmp eax, dword [ebp - 0x18]
jle 0x4563fc
mov eax, dword [esi]
call fcn.0046c25c
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.0046c250
cmp eax, dword [ebp - 0xc]
jle 0x456412
mov eax, dword [esi]
call fcn.0046c250
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.00454dfc
push eax
call sub.user32.dll_SetWindowPos
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x4564d9
mov eax, ebx
call fcn.0040486c
cmp eax, 0x64
jge 0x4564d9
cmp dword [0x499c9c], 0
je 0x4564d9
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call sub.user32.dll_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x4564d9
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call sub.user32.dll_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x45649c
mov bl, 2
jmp 0x4564b7
lea edx, [ebp - 0x20]
mov eax, dword [0x49cb54]
call fcn.004595e8
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x4564b5
xor ebx, ebx
jmp 0x4564b7
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x499da4]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.00454dfc
push eax
call dword [0x499c9c]
mov eax, dword [0x49adac]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
call fcn.00452530
push 4
mov eax, dword [ebp - 4]
call fcn.00454dfc
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456530
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x4596f8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x49b034]
cmp byte [eax + 0xc], 0
je 0x459865
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45985e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49cba8], 0
jne 0x45974c
push 0x45986c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x459874
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49cba8], eax
cmp dword [0x499dcc], 0
jne 0x459847
push 0x459884
call sub.kernel32.dll_LoadLibraryA
mov dword [0x499dcc], eax
cmp dword [0x499dcc], 0
je 0x459847
push 0x459890
mov eax, dword [0x499dcc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49cbac], eax
push 0x4598a0
mov eax, dword [0x499dcc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49cbb0], eax
push 0x4598b4
mov eax, dword [0x499dcc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49cbb4], eax
push 0x4598cc
mov eax, dword [0x499dcc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49cbb8], eax
push 0x4598e4
mov eax, dword [0x499dcc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49cbbc], eax
push 0x4598f8
mov eax, dword [0x499dcc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49cbc0], eax
push 0x459910
mov eax, dword [0x499dcc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49cbc4], eax
push 0x459928
mov eax, dword [0x499dcc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49cbc8], eax
push 0x459944
mov eax, dword [0x499dcc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49cbcc], eax
push 0x459950
mov eax, dword [0x499dcc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49cbd0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459865
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45e0ac
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.0040459c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45e0fb
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.0040481c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4658c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x465918]
test si, 4
je 0x4658dc
or bl, 1
test si, 8
je 0x4658e6
or bl, 4
test si, 1
je 0x4658f0
or bl, 8
test si, 2
je 0x4658fa
or bl, 0x10
test si, 0x10
je 0x465904
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x465913
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x46591c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x465954]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x465935
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x465944
or bl, 4
test esi, 0x20000000
je 0x46594f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x46c018
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46c02a
add esp, 0xfffffff0
call fcn.00403a88
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004234ac
mov eax, dword [0x49aa48]
mov dword [eax + 4], ebx
mov dword [eax], 0x46c3bc
mov eax, dword [0x49aa58]
mov dword [eax + 4], ebx
mov dword [eax], 0x46c3c8
mov eax, ebx
call fcn.0046c3d4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x417c5c]
call fcn.004036e0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x417c5c]
call fcn.004036e0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x417c5c]
call fcn.004036e0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x417c5c]
call fcn.004036e0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x417c5c]
call fcn.004036e0
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4687ec
push eax
push 0
push 0
mov eax, dword [0x49acbc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x424f20]
call fcn.004266b8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x424f20]
call fcn.004266b8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x424f20]
call fcn.004266b8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046c824
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46c6ec
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46c6ec
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46c6ec
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46c167
call fcn.00403ae0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46c4d0
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 0x46c67b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46c65c
mov dl, 1
mov eax, dword [0x4182c0]
call fcn.004036e0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040459c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46c64b
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.00459a58
test al, al
je 0x46c63e
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, 0x46c68c
lea eax, [ebp - 0x254]
call fcn.0040a2d8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46c63e
xor eax, eax
push ebp
push 0x46c637
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 0x46c6c4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46c620
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040481c
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 0x46c620
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040481c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c63e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46c541
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041cde0
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 0x46c682
lea eax, [ebp - 0x260]
call fcn.0040459c
ret

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

Disassembly:
push ecx
mov eax, dword [0x49cbf4]
cmp byte [eax + 0xa5], 0
jne 0x46d035
cmp dword [0x49cc0c], 0
jne 0x46cff6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46cf80
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x49cc0c], eax
cmp dword [0x49cc08], 0
jne 0x46d011
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x49cc08], eax
cmp dword [0x49cc10], 0
jne 0x46d035
push esp
push 0
push 0
push 0x46cf24
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x49cc10], eax
pop edx
ret
Function at 0x46d6c8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x49cbf4]
cmp dword [eax + 0x30], 0
je 0x46d772
cmp dword [ebx + 0x94], 0
jne 0x46d76c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46d658
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46d76c
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 0x46d732
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46d76c
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.0041a5b4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46d741
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46e2d0
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 0x46e305
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.0040468c
jmp 0x46e312
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045f0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46f4dc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46f51d
mov eax, esi
call fcn.004550d4
test al, al
je 0x46f51d
mov eax, dword [ebx + 0x84]
call fcn.00454dfc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46f51d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00454dfc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x470fd0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x47102a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x49a9a8]
cmp byte [eax], 0
je 0x470ffa
push ebx
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
jmp 0x471014
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004047d4
mov eax, dword [ebp - 4]
call fcn.00404a6c
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471031
lea eax, [ebp - 4]
call fcn.0040459c
ret
Function at 0x4712f8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor esi, esi
mov eax, ebx
call fcn.00407918
cmp ax, 0xffff
jne 0x471319
neg ebx
mov eax, ebx
shr eax, 4
and eax, 0xffff
inc eax
and ebx, 0xf
push 6
push eax
push edi
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x4713a5
push eax
push edi
call sub.kernel32.dll_LoadResource
mov edi, eax
test edi, edi
je 0x4713a5
push edi
call sub.kernel32.dll_LockResource
mov dword [ebp - 8], eax
mov eax, ebx
dec eax
test eax, eax
jl 0x471366
inc eax
mov edx, dword [ebp - 8]
movzx edx, word [edx]
add edx, edx
add edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 8], edx
dec eax
jne 0x471352
mov eax, dword [ebp - 8]
movzx esi, word [eax]
add dword [ebp - 8], 2
cmp dword [ebp - 4], 0
je 0x4713a5
cmp dword [ebp + 8], 0
jle 0x4713a5
mov eax, dword [ebp + 8]
dec eax
mov edx, esi
call fcn.0042d97c
mov esi, eax
test esi, esi
jle 0x47139c
mov ecx, esi
add ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040792c
mov eax, dword [ebp - 4]
mov word [eax + esi*2], 0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x472020
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x472084
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040481c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409580
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47208b
lea eax, [ebp - 0xc]
call fcn.0040459c
ret

Function at 0x472114
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x47216f
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x472143
call fcn.0040ea04
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov ecx, 6
call fcn.00402c88
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 6
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x47216f
call fcn.0040ea04
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x484014
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x48401c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x48420e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x484224
mov eax, esi
call fcn.00481bb0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004045f0
lea ecx, [ebp - 0x10]
mov edx, 0x484238
mov eax, esi
call fcn.00481bb0
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004045f0
lea ecx, [ebp - 0x14]
mov edx, 0x484250
mov eax, esi
call fcn.00481bb0
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004045f0
lea ecx, [ebp - 0x18]
mov edx, 0x48426c
mov eax, esi
call fcn.00481bb0
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004045f0
lea ecx, [ebp - 0x1c]
mov edx, 0x484288
mov eax, esi
call fcn.00481bb0
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004045f0
lea ecx, [ebp - 0x24]
mov edx, 0x4842a0
mov eax, esi
call fcn.00481bb0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409048
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409580
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4842b8
mov eax, esi
call fcn.00481bb0
mov eax, dword [ebp - 0x28]
call fcn.0047b31c
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4842c8
mov eax, esi
call fcn.00481bb0
mov eax, dword [ebp - 0x2c]
call fcn.0047b31c
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4842e0
mov eax, esi
call fcn.00481bb0
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409580
inc eax
je 0x4841b1
lea ecx, [ebp - 0x34]
mov edx, 0x4842e0
mov eax, esi
call fcn.00481bb0
mov eax, dword [ebp - 0x34]
call fcn.00409544
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040b1c8
fstp qword [ebp - 0x3c]
wait
call fcn.0040b538
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4841cc
lea ecx, [ebp - 0x40]
mov edx, 0x4842e0
mov eax, esi
call fcn.00481bb0
mov eax, dword [ebp - 0x40]
call fcn.0047b31c
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4842f0
mov eax, esi
call fcn.00481bb0
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004045f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484215
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004045c0
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004045c0
ret
Function at 0x4918b4
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x49b024]
cmp dword [eax], 2
je 0x4918d5
mov ecx, 0x2d9
mov edx, 0x491908
mov eax, 0x491948
call fcn.004044f8
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x491854
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x49d234], eax
cmp dword [0x49d234], 0
jne 0x4918fc
call fcn.0040ea04
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, dword [0x49a9a8]
cmp byte [eax], 0
jne 0x491c9e
mov ecx, 0xb0
mov edx, 0x491cec
mov eax, 0x491d2c
call fcn.004044f8
mov eax, ebx
call fcn.00404cb8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x491cdd
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00404e4c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x491d40
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov eax, dword [0x49a9a8]
cmp byte [eax], 0
jne 0x491d64
mov ecx, 0xbc
mov edx, 0x491d7c
mov eax, 0x491dbc
call fcn.004044f8
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
pop ebx
pop ebp
ret

Function at 0x497c88
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x497d06
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x497ce9
lea eax, [ebp - 4]
mov edx, 0x105
call fcn.00404bf8
mov eax, dword [ebp - 4]
call fcn.00404a6c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, dword [ebp - 4]
call fcn.00404a6c
mov edx, eax
mov eax, ebx
call fcn.004047a4
jmp 0x497cf0
mov eax, ebx
call fcn.0040459c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497d0d
lea eax, [ebp - 4]
call fcn.0040459c
ret
Function at 0x498368
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, 0x497f20
call fcn.00406b94
xor eax, eax
push ebp
push 0x4984fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x49adac]
mov eax, dword [eax]
call fcn.0046e734
mov eax, 0x498514
call fcn.00497dbc
test al, al
jne 0x4983c6
push 0x30
mov ecx, 0x498518
mov edx, 0x498520
mov eax, dword [0x49adac]
mov eax, dword [eax]
call fcn.0046e95c
jmp 0x4984e0
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00497c88
mov edx, dword [ebp - 0x14]
mov eax, 0x49d2a0
call fcn.004045f0
push 0
push 0
mov ecx, 0x498550
mov edx, 0x498574
mov eax, dword [0x49d2a0]
call fcn.00497b2c
mov al, 1
call fcn.00496e88
mov eax, 0x49d29c
call fcn.00496978
sub eax, 1
jb 0x498413
dec eax
je 0x498464
jmp 0x4984e0
mov eax, dword [0x49d29c]
call fcn.00403710
mov edx, dword [0x49acc8]
mov edx, dword [edx]
lea eax, [ebp - 0x18]
mov ecx, 0x498580
call fcn.00404f60
mov edx, dword [ebp - 0x18]
mov eax, 0x49d2a0
call fcn.00404834
push 5
push 0x498590
push 0x498590
mov eax, dword [0x49d2a0]
call fcn.00404a6c
push eax
push 0x498594
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x4984e0
mov eax, dword [0x49d29c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4984e0
mov eax, dword [0x49adac]
mov eax, dword [eax]
mov edx, 0x4985a4
call fcn.0046e31c
mov ecx, dword [0x49af0c]
mov eax, dword [0x49adac]
mov eax, dword [eax]
mov edx, dword [0x497078]
call fcn.0046e74c
mov dl, 1
mov eax, dword [0x4182c0]
call fcn.004036e0
mov ebx, eax
mov eax, dword [0x49af0c]
mov eax, dword [eax]
mov dword [eax + 0x314], ebx
mov eax, dword [0x49af0c]
mov eax, ebx
mov edx, dword [0x49d29c]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x49af0c]
mov eax, dword [eax]
call fcn.004972fc
mov eax, dword [0x49adac]
mov eax, dword [eax]
call fcn.0046e7cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498505
lea eax, [ebp - 0x18]
call fcn.00404cb8
lea eax, [ebp - 0x14]
call fcn.0040459c
ret