joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444080
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 0x44409c
cmp dword [esi + 4], 0
je 0x4440c9
test byte [ebx + 0x55], 1
jne 0x4440bb
mov eax, ebx
call fcn.00442c20
test eax, eax
jne 0x4440bb
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4441d9
mov edx, esi
mov eax, ebx
call fcn.00443ba4
jmp 0x4441d9
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 0x4441d2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00445ef0
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.004408bc
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00444080
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.00445ef0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4441d9
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 0x44a8ac
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4a0b48]
cmp byte [eax + 0xc], 0
je 0x44aa19
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44aa12
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a1b98], 0
jne 0x44a900
push 0x44aa20
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44aa28
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a1b98], eax
cmp dword [0x49ed24], 0
jne 0x44a9fb
push 0x44aa38
call sub.kernel32.dll_LoadLibraryA
mov dword [0x49ed24], eax
cmp dword [0x49ed24], 0
je 0x44a9fb
push 0x44aa44
mov eax, dword [0x49ed24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a1b9c], eax
push 0x44aa54
mov eax, dword [0x49ed24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a1ba0], eax
push 0x44aa68
mov eax, dword [0x49ed24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a1ba4], eax
push 0x44aa80
mov eax, dword [0x49ed24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a1ba8], eax
push 0x44aa98
mov eax, dword [0x49ed24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a1bac], eax
push 0x44aaac
mov eax, dword [0x49ed24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a1bb0], eax
push 0x44aac4
mov eax, dword [0x49ed24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a1bb4], eax
push 0x44aadc
mov eax, dword [0x49ed24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a1bb8], eax
push 0x44aaf8
mov eax, dword [0x49ed24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a1bbc], eax
push 0x44ab04
mov eax, dword [0x49ed24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a1bc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44aa19
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44edc0
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.00404540
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44ee0f
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.004047b0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4565e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x456630]
test si, 4
je 0x4565f4
or bl, 1
test si, 8
je 0x4565fe
or bl, 4
test si, 1
je 0x456608
or bl, 8
test si, 2
je 0x456612
or bl, 0x10
test si, 0x10
je 0x45661c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45662b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x456634
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45666c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45664d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45665c
or bl, 4
test esi, 0x20000000
je 0x456667
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45cd30
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45cd42
add esp, 0xfffffff0
call fcn.00403aec
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ab58
mov eax, dword [0x4a07c4]
mov dword [eax + 4], ebx
mov dword [eax], 0x45d0d4
mov eax, dword [0x4a07d0]
mov dword [eax + 4], ebx
mov dword [eax], 0x45d0e0
mov eax, ebx
call fcn.0045d0ec
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412c1c]
call fcn.00403784
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412c1c]
call fcn.00403784
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412c1c]
call fcn.00403784
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412c1c]
call fcn.00403784
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412c1c]
call fcn.00403784
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, 0x459504
push eax
push 0
push 0
mov eax, dword [0x4a093c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41c5d4]
call fcn.0041dd6c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41c5d4]
call fcn.0041dd6c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41c5d4]
call fcn.0041dd6c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045d5f0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d470
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d470
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d470
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45ce7f
call fcn.00403b44
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45d254
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 0x45d3ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45d3e0
mov dl, 1
mov eax, dword [0x413038]
call fcn.00403784
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404540
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45d3cf
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.0044ac0c
test al, al
je 0x45d3c2
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, 0x45d410
lea eax, [ebp - 0x254]
call fcn.00409528
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45d3c2
xor eax, eax
push ebp
push 0x45d3bb
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 0x45d448
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45d3a4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047b0
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 0x45d3a4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d3c2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45d2c5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416cb4
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 0x45d406
lea eax, [ebp - 0x260]
call fcn.00404540
ret

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

Disassembly:
push ecx
mov eax, dword [0x4a1be4]
cmp byte [eax + 0xa5], 0
jne 0x45de01
cmp dword [0x4a1bfc], 0
jne 0x45ddc2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45dd4c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a1bfc], eax
cmp dword [0x4a1bf8], 0
jne 0x45dddd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a1bf8], eax
cmp dword [0x4a1c00], 0
jne 0x45de01
push esp
push 0
push 0
push 0x45dcf0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4a1c00], eax
pop edx
ret
Function at 0x45e494
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a1be4]
cmp dword [eax + 0x30], 0
je 0x45e53e
cmp dword [ebx + 0x94], 0
jne 0x45e538
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45e424
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45e538
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 0x45e4fe
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45e538
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.00414fd4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45e50d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45f09c
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 0x45f0d1
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.00404630
jmp 0x45f0de
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404594
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4602a8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4602e9
mov eax, esi
call fcn.004461f4
test al, al
je 0x4602e9
mov eax, dword [ebx + 0x84]
call fcn.00445ef0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4602e9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00445ef0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x469558
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x469586
mov eax, ebx
call fcn.0046a00c
cmp dword [ebx + 0x40], 0
je 0x46957f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4695f7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4695e9
cmp dword [ebx + 8], 0
je 0x4695a8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4695ba
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4695e9
cmp dword [ebx + 8], 0
je 0x46959b
cmp eax, 3
je 0x4695cd
dec eax
jne 0x46959b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46959b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46959b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x469615
cmp dword [ebx + 0x14], 0xcc
je 0x469615
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00469620
pop ebx
ret

Function at 0x47a9c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049f0
xor eax, eax
push ebp
push 0x47aa87
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x47aaa0
call fcn.00404b44
test eax, eax
jne 0x47aa0b
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x47aaac
call fcn.0040484c
test bl, bl
je 0x47aa4b
lea edx, [ebp - 8]
mov eax, 0x47aabc
call fcn.0047a638
cmp dword [ebp - 8], 0
je 0x47aa4b
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.00404a00
push eax
mov eax, dword [ebp - 8]
call fcn.00404a00
push eax
push 0x47aac4
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
mov ebx, eax
jmp 0x47aa6c
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404a00
push eax
push 0x47aac4
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47aa8e
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404564
ret
Function at 0x47aacc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049f0
xor eax, eax
push ebp
push 0x47ab88
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x47ab15
push 0x47aba0
push ebx
push 0x47abb0
push dword [ebp - 4]
push 0x47abbc
lea eax, [ebp - 4]
mov edx, 5
call fcn.004048c0
jmp 0x47ab25
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x47aba0
call fcn.0040484c
push dword [ebp - 4]
push 0x47abc8
push esi
push 0x47abdc
push dword [ebp + 0x10]
push 0x47abec
push dword [ebp + 0xc]
push 0x47abfc
push dword [ebp + 8]
lea eax, [ebp - 4]
mov edx, 9
call fcn.004048c0
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404a00
push eax
push 0x47ac04
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ab8f
lea eax, [ebp - 4]
call fcn.00404540
ret

Function at 0x47ac0c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff5c
push ebx
xor eax, eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x9c], eax
xor eax, eax
push ebp
push 0x47ad63
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x94]
mov edx, 0x94
call fcn.004070fc
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
xor ebx, ebx
cmp dword [ebp - 0x84], 2
jne 0x47acaa
mov eax, dword [ebp - 0x90]
sub eax, 3
je 0x47ac85
dec eax
je 0x47ac8c
dec eax
je 0x47ac93
jmp 0x47ad45
mov bl, 5
jmp 0x47ad45
mov bl, 6
jmp 0x47ad45
cmp dword [ebp - 0x8c], 0
jne 0x47aca3
mov bl, 7
jmp 0x47ad45
mov bl, 9
jmp 0x47ad45
cmp dword [ebp - 0x90], 4
jne 0x47ad45
mov eax, dword [ebp - 0x8c]
test eax, eax
jne 0x47acfd
mov bl, 1
lea eax, [ebp - 0x9c]
lea edx, [ebp - 0x80]
mov ecx, 0x80
call fcn.004047b0
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call fcn.0040867c
mov eax, dword [ebp - 0x98]
mov edx, 0x47ad7c
call fcn.0040494c
jne 0x47ad45
mov bl, 2
jmp 0x47ad45
cmp eax, 0xa
jne 0x47ad3e
mov bl, 3
lea eax, [ebp - 0xa4]
lea edx, [ebp - 0x80]
mov ecx, 0x80
call fcn.004047b0
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
call fcn.0040867c
mov eax, dword [ebp - 0xa0]
mov edx, 0x47ad88
call fcn.0040494c
jne 0x47ad45
mov bl, 4
jmp 0x47ad45
cmp eax, 0x5a
jne 0x47ad45
mov bl, 8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ad6a
lea eax, [ebp - 0xa4]
mov edx, 4
call fcn.00404564
ret

Function at 0x47ada4
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov eax, esp
mov edx, 0x94
call fcn.004070fc
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x47add1
cmp dword [esp + 4], 5
jae 0x47add5
xor eax, eax
jmp 0x47add7
mov al, 1
add esp, 0x94
ret
Function at 0x47ade0
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov eax, esp
mov edx, 0x94
call fcn.004070fc
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
mov eax, dword [esp + 4]
cmp eax, 5
jne 0x47ae0f
cmp dword [esp + 8], 1
jae 0x47ae18
cmp eax, 5
ja 0x47ae18
xor eax, eax
jmp 0x47ae1a
mov al, 1
add esp, 0x94
ret

Function at 0x47ae34
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_GetPriorityClass
mov esi, eax
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_GetThreadPriority
mov ebx, eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_SetPriorityClass
push 0xf
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
push 0xa
call sub.kernel32.dll_Sleep_1
rdtsc
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push 0x28
call sub.kernel32.dll_Sleep_1
rdtsc
sub eax, dword [ebp - 4]
sbb edx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push ebx
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
push esi
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_SetPriorityClass
mov eax, dword [ebp - 4]
mov ecx, 0x9c40
xor edx, edx
div ecx
mov ecx, 0xa
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
fild qword [ebp - 0x10]
call fcn.00402f6c
add eax, eax
lea eax, [eax + eax*4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47aee0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47af4a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x106]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x106]
call fcn.004090a8
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040cdc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47af51
lea eax, [ebp - 0x10c]
call fcn.00404540
ret

Function at 0x47af58
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47afc2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x106]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x106]
call fcn.004090a8
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040cdc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47afc9
lea eax, [ebp - 0x10c]
call fcn.00404540
ret
Function at 0x47afd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47b03a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x106]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x106]
call fcn.004090a8
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040cdc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b041
lea eax, [ebp - 0x10c]
call fcn.00404540
ret

Function at 0x47b340
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x47b378]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47b356
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47b365
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47b374
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x47ecd0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe28
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47ed74
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x1d8]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x47ed5e
push 0x40
lea eax, [ebp - 0x45]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x45]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x47ed5e
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x47ed37
push dword [edi]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 4]
call fcn.00404738
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x47ed25
call sub.wsock32.dll_WSACleanup
cmp dword [ebp - 4], 0
je 0x47ed58
mov eax, dword [ebp - 4]
mov edx, 0x47ed8c
call fcn.0040494c
jne 0x47ed5c
xor ebx, ebx
jmp 0x47ed5e
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ed7b
lea eax, [ebp - 4]
call fcn.00404540
ret