joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42aec0
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 + 0x1e8], 0
je 0x42aedc
cmp dword [esi + 4], 0
je 0x42af09
test byte [ebx + 0x45], 1
jne 0x42aefb
mov eax, ebx
call fcn.00429df8
test eax, eax
jne 0x42aefb
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x42b019
mov edx, esi
mov eax, ebx
call fcn.0042ab38
jmp 0x42b019
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
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 0x42b012
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042ce90
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.00427d5c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0042aec0
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 + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
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.0042ce90
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b019
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 0x4347b4
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.00403b14
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x434803
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.00403d44
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c1ac
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x47c7e8
cmp dword [edi], 0
jne 0x43c228
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x47c7e4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4788e4
mov ecx, 2
call fcn.0040282c
mov edx, 0x43c184
lea eax, [esi + 5]
call fcn.0043c1a4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043c1a4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x43c1fd
mov dword [0x47c7e4], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x43c344
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43c394]
test si, 4
je 0x43c358
or bl, 1
test si, 8
je 0x43c362
or bl, 4
test si, 1
je 0x43c36c
or bl, 8
test si, 2
je 0x43c376
or bl, 0x10
test si, 0x10
je 0x43c380
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43c38f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x43c398
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43c3d0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43c3b1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43c3c0
or bl, 4
test esi, 0x20000000
je 0x43c3cb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x442578
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44258a
add esp, 0xfffffff0
call fcn.004030ec
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041532c
mov eax, ebx
call fcn.004428c4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x40e0d4]
call fcn.00402dd4
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x40e0d4]
call fcn.00402dd4
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x40e0d4]
call fcn.00402dd4
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x40e0d4]
call fcn.00402dd4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x40e0d4]
call fcn.00402dd4
mov dword [ebx + 0x70], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x442548
push eax
push 0
push 0
mov eax, dword [0x47afb4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4167f4]
call fcn.00417ad0
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x4167f4]
call fcn.00417ad0
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x4167f4]
call fcn.00417ad0
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.00442ca4
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x442bc0
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x442bc0
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x442bc0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x442699
call fcn.00403144
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4429a4
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 0x442b4f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x442b30
mov dl, 1
mov eax, dword [0x40e600]
call fcn.00402dd4
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403b14
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x442b1f
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.004313d4
test al, al
je 0x442b12
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, 0x442b60
lea eax, [ebp - 0x254]
call fcn.004091b4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x442b12
xor eax, eax
push ebp
push 0x442b0b
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 0x442b98
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x442af4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403d44
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x442af4
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403d44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442b12
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x442a15
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00411de8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442b56
lea eax, [ebp - 0x260]
call fcn.00403b14
ret

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

Disassembly:
push ecx
mov eax, dword [0x47c7d8]
cmp byte [eax + 0x95], 0
jne 0x44340d
cmp dword [0x47c7f4], 0
jne 0x4433ce
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x443358
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47c7f4], eax
cmp dword [0x47c7f0], 0
jne 0x4433e9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x47c7f0], eax
cmp dword [0x47c7f8], 0
jne 0x44340d
push esp
push 0
push 0
push 0x4432fc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x47c7f8], eax
pop edx
ret
Function at 0x443504
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44351b
add esp, 0xfffffff0
call fcn.004030ec
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041532c
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40e0d4]
call fcn.00402dd4
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40e0d4]
call fcn.00402dd4
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x416f28]
call fcn.0041caec
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x443690
mov eax, dword [0x47ae34]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041cebc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x445038
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47ae34]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040b7a0
test eax, eax
je 0x44360e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408b54
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040b7c8
test eax, eax
je 0x443622
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403d44
mov eax, dword [0x47ac1c]
cmp byte [eax], 0
jne 0x443653
mov eax, ebx
call fcn.0044377c
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x443685
call fcn.00403144
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4439ec
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47c7d8]
cmp dword [eax + 0x24], 0
je 0x443a8f
cmp dword [ebx + 0x84], 0
jne 0x443a89
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44397c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x443a89
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 0x443a52
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x443a89
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.0040fa9c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x443a61
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x44449c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x4444d1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403bfc
jmp 0x4444db
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403b68
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4453ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x4453e4
mov eax, esi
call fcn.0042d18c
test al, al
je 0x4453e4
mov eax, dword [ebx + 0x74]
call fcn.0042ce90
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4453e4
push 0
mov eax, dword [ebx + 0x74]
call fcn.0042ce90
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44b098
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00403f58
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x44b0f0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x47b2a4]
mov dl, 1
mov eax, dword [0x44ab98]
call fcn.0040ac54
call fcn.00403544
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0044aca0
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44fbdc
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 0x44fbe4
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x44fdd6
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x44fdec
mov eax, esi
call fcn.0044d96c
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00403b68
lea ecx, [ebp - 0x10]
mov edx, 0x44fe00
mov eax, esi
call fcn.0044d96c
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00403b68
lea ecx, [ebp - 0x14]
mov edx, 0x44fe18
mov eax, esi
call fcn.0044d96c
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00403b68
lea ecx, [ebp - 0x18]
mov edx, 0x44fe34
mov eax, esi
call fcn.0044d96c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00403b68
lea ecx, [ebp - 0x1c]
mov edx, 0x44fe50
mov eax, esi
call fcn.0044d96c
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00403b68
lea ecx, [ebp - 0x24]
mov edx, 0x44fe68
mov eax, esi
call fcn.0044d96c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408498
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408790
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x44fe80
mov eax, esi
call fcn.0044d96c
mov eax, dword [ebp - 0x28]
call fcn.0044ca98
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x44fe90
mov eax, esi
call fcn.0044d96c
mov eax, dword [ebp - 0x2c]
call fcn.0044ca98
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x44fea8
mov eax, esi
call fcn.0044d96c
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408790
inc eax
je 0x44fd79
lea ecx, [ebp - 0x34]
mov edx, 0x44fea8
mov eax, esi
call fcn.0044d96c
mov eax, dword [ebp - 0x34]
call fcn.00408754
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.004093a8
fstp qword [ebp - 0x3c]
wait
call fcn.00409780
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x44fd94
lea ecx, [ebp - 0x40]
mov edx, 0x44fea8
mov eax, esi
call fcn.0044d96c
mov eax, dword [ebp - 0x40]
call fcn.0044ca98
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x44feb8
mov eax, esi
call fcn.0044d96c
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00403b68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fddd
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00403b38
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00403b38
ret
Function at 0x460c78
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 0x460cdc
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.00403d44
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408790
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460ce3
lea eax, [ebp - 0xc]
call fcn.00403b14
ret

Function at 0x463dd0
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00402aa4
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x466fc4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46709c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47ce08], 0
jne 0x467080
lea eax, [ebp - 4]
mov edx, 0x4670b4
call fcn.00403bac
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00403f58
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x467080
mov eax, ebx
call fcn.00402714
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x467079
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x467063
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4670c4
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x467063
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x47ce08], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467080
mov eax, dword [ebp - 0xc]
call fcn.0040272c
ret
mov ebx, dword [0x47ce08]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4670a3
lea eax, [ebp - 4]
call fcn.00403b14
ret

Function at 0x46b548
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x47ce2c], 0
jne 0x46b56b
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46b4cc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47ce2c], eax
ret

Function at 0x46cf10
Capabilities:
Set global application hook

Disassembly:
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x46ce58
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x479490], eax
cmp dword [0x479490], 0
jne 0x46cf37
call fcn.00462c34
ret
Function at 0x46d1ac
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, ebx
call fcn.00404144
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x46d1fb
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.004042c8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46d200
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, eax
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
pop ebx
ret

Function at 0x47119c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004042f4
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4711b5
test al, 0x10
jne 0x4711b9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4749c8
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, ebx
and ax, 0xffff
cmp ax, 0xffff
jne 0x4749f7
mov eax, esi
call fcn.004042f4
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4749f7
push 0x20
push edi
call sub.kernel32.dll_SetFileAttributesW
push ebx
mov ecx, esi
mov dl, 1
mov eax, dword [0x47135c]
call fcn.00471464
cmp dword [eax + 8], 0xffffffff
jne 0x474a13
call fcn.00402e04
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x475be4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.004046c4
lea eax, [ebp - 8]
call fcn.004046c4
xor eax, eax
push ebp
push 0x475d84
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov dl, 1
mov eax, dword [0x40e8ac]
call fcn.00402dd4
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
push ebx
call fcn.00474dcc
test al, al
jne 0x475c42
mov eax, ebx
call fcn.00402e04
jmp 0x475d61
mov esi, dword [ebx + 4]
mov eax, ebx
call fcn.00411e8c
cmp eax, 8
jle 0x475ca8
lea eax, [ebp - 0x10]
mov edx, esi
call fcn.00403ccc
mov eax, dword [ebp - 0x10]
mov edx, 0x475da0
call fcn.00403ea4
jne 0x475ca8
add esi, 8
push 0
mov eax, ebx
call fcn.00411e8c
mov ecx, eax
sub ecx, 8
mov eax, dword [0x47cea4]
mov eax, dword [eax + 0x2e8]
mov edx, esi
call fcn.0047475c
mov eax, ebx
call fcn.00412228
mov eax, ebx
mov edx, dword [0x47cea4]
mov edx, dword [edx + 0x2e8]
mov ebx, dword [edx + 0x24]
mov dword [edx + 0x24], eax
mov dx, 0xffff
mov eax, dword [ebp - 8]
call fcn.004749c8
mov esi, eax
test esi, esi
je 0x475d5a
jmp 0x475d12
mov eax, ebx
call fcn.00411e8c
mov edi, eax
mov eax, ebx
call fcn.00411e70
sub edi, eax
mov dword [0x48ceb4], edi
cmp dword [0x48ceb4], 0x10000
jle 0x475cee
mov dword [0x48ceb4], 0x10000
mov edx, 0x47ceb4
mov ecx, dword [0x48ceb4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 4]
mov edx, 0x47ceb4
mov ecx, dword [0x48ceb4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov eax, ebx
call fcn.00411e70
mov edi, eax
mov eax, ebx
call fcn.00411e8c
cmp edi, eax
jl 0x475cc0
mov eax, esi
call fcn.00402e04
mov eax, ebx
call fcn.00402e04
mov eax, dword [ebp - 4]
call fcn.004710fc
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00475804
mov eax, dword [ebp - 4]
call fcn.004042f4
push eax
call sub.kernel32.dll_DeleteFileW
mov byte [ebp - 9], 1
jmp 0x475d61
mov eax, ebx
call fcn.00402e04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475d8b
lea eax, [ebp - 0x10]
call fcn.00403b14
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040415c
ret