joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ac90c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x42a20c]
call fcn.00407f3c
xor eax, eax
push ebp
push 0x4aca56
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x57e760], 0
jne 0x4ac960
mov ecx, dword [0x57f5d8]
mov dl, 1
mov eax, dword [0x419094]
call fcn.0042405c
call fcn.004063a8
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.00404b3c
mov eax, ebx
call fcn.00407640
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x4aca64
lea edi, [ebp - 0x34]
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 esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.0040a0f8
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x4ac9a7
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4ac9fc
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4ac9f5
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.004078c4
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.00407888
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.0041e0e8
test eax, eax
jne 0x4ac9f5
mov ebx, 0x15
jmp 0x4aca01
mov ebx, 0x10
jmp 0x4aca01
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x57e760]
call fcn.004ac778
mov eax, dword [ebp - 4]
call fcn.004ac778
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.0040a110
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aca5d
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00406cd4
lea eax, [ebp - 0xc]
mov edx, dword [0x42a20c]
call fcn.00408014
ret
Function at 0x4ccb08
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00406d58
xor eax, eax
push ebp
push 0x4ccc47
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4ccc1a
xor edx, edx
push ebp
push 0x4ccc13
push dword fs:[edx]
mov dword fs:[edx], esp
mov esi, dword [ebp - 4]
mov eax, esi
test eax, eax
je 0x4ccb55
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4ccbe8
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor edx, edx
push ebp
push 0x4ccbd7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
test eax, eax
je 0x4ccb9a
sub eax, 4
mov eax, dword [eax]
mov esi, eax
add esi, esi
mov eax, dword [ebp - 4]
call fcn.004077dc
lea ecx, [esi + 2]
mov edx, ebx
call fcn.00404728
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ccbde
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x57f660]
mov dl, 1
mov eax, dword [0x419094]
call fcn.0042405c
call fcn.004063a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ccc4e
lea eax, [ebp - 4]
call fcn.00406c74
ret

Function at 0x4d2ffc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
movzx ebx, word [0x4d3038]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d3014
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d3024
or bx, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d3034
or bx, 2
mov eax, ebx
pop ebx
ret

Function at 0x4f1930
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.004f19e0
test eax, eax
je 0x4f196b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.004f19e0
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406dfc
jmp 0x4f1979
mov ecx, esi
mov edx, 0x4f1998
mov eax, ebx
call fcn.004f1878
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.00407054
add esp, 0x200
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00406c74
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x50e46a
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x50e463
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00407888
jmp 0x50e46a
mov eax, esi
call fcn.00406c74
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x528540
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x528552
add esp, 0xfffffff0
call fcn.00405634
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00452234
mov eax, dword [0x57f77c]
mov dword [eax + 4], ebx
mov dword [eax], 0x528980
mov eax, dword [0x57f78c]
mov dword [eax + 4], ebx
mov dword [eax], 0x52898c
mov eax, ebx
call fcn.00528998
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x4379f8]
call fcn.00404ff8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4379f8]
call fcn.00404ff8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4379f8]
call fcn.00404ff8
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x4379f8]
call fcn.00404ff8
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x4379f8]
call fcn.00404ff8
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 + 0x48], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x60]
push eax
mov eax, 0x5232fc
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x460c20]
call fcn.00466e98
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x460c20]
call fcn.00466e98
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x460c20]
call fcn.00466e98
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x460c20]
call fcn.00466e98
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x460c20]
call fcn.00466e98
mov dword [ebx + 0x90], eax
mov eax, ebx
call fcn.00528f90
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x528dac
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x528dac
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x528dac
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x528dac
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x528dac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5286cf
call fcn.0040568c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x529c3c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x529c53
add esp, 0xfffffff0
call fcn.00405634
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00452234
mov eax, dword [0x57f5a4]
cmp byte [eax], 0
jne 0x529c80
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x57fa1c]
cmp word [eax + 2], 0
jne 0x529c9a
mov eax, dword [0x57fa1c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0052be30
mov eax, dword [0x57fbcc]
cmp word [eax + 2], 0
jne 0x529cb4
mov eax, dword [0x57fbcc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0052c034
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x460c20]
call fcn.00466e98
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x52c5ac
mov dl, 1
mov eax, dword [0x4379f8]
call fcn.00404ff8
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x4379f8]
call fcn.00404ff8
mov dword [ebx + 0xb4], eax
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x60], 0xff000018
mov dword [ebx + 0x7c], 0x1f4
mov byte [ebx + 0x80], 1
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x78], 0x9c4
mov byte [ebx + 0x8c], 0
mov byte [ebx + 0xa9], 1
mov byte [ebx + 0xc0], 1
mov dl, 1
mov eax, dword [0x465778]
call fcn.00470830
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x529e98
mov eax, dword [0x57f864]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00470cc0
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x52c894
mov dl, 1
mov eax, dword [0x4379f8]
call fcn.00404ff8
mov dword [ebx + 0x9c], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x57f864]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041f840
test eax, eax
je 0x529dc8
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041f5f0
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041f824
test eax, eax
je 0x529de0
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x90]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00407888
push ebx
push 0x52b808
call fcn.0051f6d0
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x57f5a4]
cmp byte [eax], 0
jne 0x529e31
mov eax, ebx
call fcn.0052a058
mov byte [ebx + 0x5d], 1
mov byte [ebx + 0x5e], 1
mov byte [ebx + 0x5f], 1
mov byte [ebx + 0xaa], 1
mov byte [ebx + 0xd5], 0
mov byte [ebx + 0xe0], 0
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xd7], 0
xor eax, eax
mov dword [ebx + 0xac], eax
mov eax, ebx
call fcn.0052cadc
mov eax, ebx
call fcn.0052d708
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x529e8e
call fcn.0040568c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x544f40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x544f58
add esp, 0xfffffff0
call fcn.00405634
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x545072
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.00404530
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x54505c
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.004ac778
xor eax, eax
push ebp
push 0x545049
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004ac778
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.004078c4
jmp 0x54501a
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.00407bf0
mov eax, dword [ebx + 4]
call fcn.00407164
dec eax
jle 0x54502e
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x545008
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x545050
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x545079
lea eax, [ebp - 4]
call fcn.00406cbc
ret

Function at 0x5460b8
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.00545674
test byte [ebx + 0x2ad], 4
jne 0x54614d
mov edx, esp
mov eax, ebx
call fcn.0048d5e4
push esp
mov eax, ebx
call fcn.00496c28
push eax
push 0
mov eax, ebx
test eax, eax
je 0x5460ed
sub eax, 0xfffffd0c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x288]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x29c], 0
jne 0x54611e
mov ecx, dword [0x57f968]
mov dl, 1
mov eax, dword [0x4ac0f4]
call fcn.0042405c
call fcn.004063a8
mov eax, ebx
call fcn.00546d48
cmp byte [ebx + 0x61], 0
jne 0x546154
mov eax, ebx
call fcn.00496e90
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x546154
push 0
mov eax, ebx
call fcn.00496e90
push eax
call sub.user32.dll_ShowWindow
jmp 0x546154
mov eax, ebx
call fcn.00492af8
add esp, 0x10
pop ebx
ret
Function at 0x55e00c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x55e134
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0055def8
mov eax, dword [esi]
call fcn.004089bc
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x418b98]
call fcn.00408b70
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.00404728
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.00404728
add ebx, 0x1c
mov eax, dword [esi]
call fcn.004089bc
mov dword [ebp - 0xc], eax
mov eax, dword [0x57fd78]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.0054ee90
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00404b3c
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.004089bc
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.0054ee6c
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov ebx, eax
mov eax, ebx
call fcn.0054ee4c
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.0054ee88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55e13b
lea eax, [ebp - 4]
mov edx, dword [0x418b98]
call fcn.00408b7c
ret
Function at 0x56a8cc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406d58
xor eax, eax
push ebp
push 0x56a9dc
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x56a9bc
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.004077dc
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
mov eax, ebx
call fcn.00404564
mov esi, eax
push esi
push ebx
push 0
push edi
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x56a9ec
push esi
call sub.version.dll_VerQueryValueW
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 8]
shr edx, 0x10
mov word [ebp - 0xa], dx
movzx edx, word [eax + 8]
and dx, 0xffff
mov word [ebp - 0xc], dx
mov edx, dword [eax + 0xc]
shr edx, 0x10
mov word [ebp - 0xe], dx
movzx edi, word [eax + 0xc]
and di, 0xffff
mov edx, ebx
mov eax, esi
call fcn.00404580
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
movzx eax, word [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
movzx eax, word [ebp - 0xe]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
movzx eax, di
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x3c]
mov ecx, 3
mov eax, 0x56a9fc
call fcn.0041fb10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x56a9c6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56a9e3
lea eax, [ebp - 4]
call fcn.00406c74
ret

Function at 0x56ad04
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, edx
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.0041f928
add esp, 0x208
pop ebx
ret
Function at 0x56b320
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb24
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x4dc], ecx
mov dword [ebp - 0x4d8], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406d58
xor eax, eax
push ebp
push 0x56b4c8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x15], 0
cmp dword [ebp - 4], 0
je 0x56b49d
lea eax, [ebp - 0x40a]
push eax
push 0x3e8
call sub.kernel32.dll_GetLogicalDriveStringsW
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jle 0x56b492
mov ebx, 1
cmp ebx, dword [ebp - 0x20]
jge 0x56b492
cmp word [ebp + ebx*2 - 0x40c], 0x41
je 0x56b3af
cmp word [ebp + ebx*2 - 0x40c], 0x42
jne 0x56b3b7
add ebx, 4
jmp 0x56b489
movzx eax, word [ebp + ebx*2 - 0x40c]
mov word [ebp - 0x1c], ax
movzx eax, word [ebp + ebx*2 - 0x40a]
mov word [ebp - 0x1a], ax
mov word [ebp - 0x18], 0
push 0x64
lea eax, [ebp - 0x4d2]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.kernel32.dll_QueryDosDeviceW
test eax, eax
je 0x56b49d
lea edx, [ebp - 8]
lea eax, [ebp - 0x4d2]
call fcn.0041f928
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040709c
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.0040709c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00455acc
mov byte [ebp - 0x21], al
cmp byte [ebp - 0x21], 1
jne 0x56b486
lea edx, [ebp - 0x4d8]
lea eax, [ebp - 0x1c]
call fcn.0041f928
mov edx, dword [ebp - 0x4d8]
mov eax, dword [ebp - 0x14]
call fcn.00407054
mov esi, dword [ebp - 8]
test esi, esi
je 0x56b44f
sub esi, 4
mov esi, dword [esi]
mov edi, dword [ebp - 4]
test edi, edi
je 0x56b45b
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x4dc]
push eax
lea edx, [esi + 1]
mov ecx, edi
mov eax, dword [ebp - 4]
call fcn.00407ba8
mov edx, dword [ebp - 0x4dc]
mov eax, dword [ebp - 0x14]
call fcn.004079e0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 0x15], 1
jmp 0x56b49d
add ebx, 4
cmp ebx, dword [ebp - 0x20]
jl 0x56b399
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00407054
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56b4cf
lea eax, [ebp - 0x4dc]
mov edx, 2
call fcn.00406cd4
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00406cd4
ret

Function at 0x56b4e4
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x214], ecx
mov esi, edx
xor edx, edx
push ebp
push 0x56b576
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [ebp - 4]
push eax
push 0
push 0x1fffff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
push 0x104
lea eax, [ebp - 0x20e]
push eax
push ebx
call sub.psapi_GetProcessImageFileNameW
test eax, eax
je 0x56b55d
push ebx
call sub.kernel32.dll_CloseHandle_1
lea edx, [ebp - 0x214]
lea eax, [ebp - 0x20e]
call fcn.0041f928
mov eax, dword [ebp - 0x214]
mov edx, esi
call fcn.0056b320
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56b57d
lea eax, [ebp - 0x214]
call fcn.00406c74
ret
Function at 0x56d4c8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406d58
lea edi, [ebp - 0x230]
xor eax, eax
push ebp
push 0x56d630
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.005361b4
mov esi, eax
mov dword [edi], 0x22c
mov edx, edi
mov eax, esi
call fcn.005361d4
mov ebx, eax
jmp 0x56d602
lea eax, [ebp - 0x23c]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00407888
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 0x238]
call fcn.0041f428
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x234]
call fcn.0041dd2c
mov eax, dword [ebp - 0x234]
push eax
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 4]
call fcn.0041dd2c
mov edx, dword [ebp - 0x240]
pop eax
call fcn.00407b70
je 0x56d5e2
lea eax, [ebp - 0x248]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00407888
mov eax, dword [ebp - 0x248]
lea edx, [ebp - 0x244]
call fcn.0041dd2c
mov eax, dword [ebp - 0x244]
push eax
lea edx, [ebp - 0x24c]
mov eax, dword [ebp - 4]
call fcn.0041dd2c
mov edx, dword [ebp - 0x24c]
pop eax
call fcn.00407b70
jne 0x56d5f7
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, edi
mov eax, esi
call fcn.005361f4
mov ebx, eax
test ebx, ebx
jne 0x56d543
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56d637
lea eax, [ebp - 0x24c]
mov edx, 7
call fcn.00406cd4
lea eax, [ebp - 4]
call fcn.00406c74
ret

Function at 0x56dd8c
Capabilities:
Create process on windows
Get common file path
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f4
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
xor eax, eax
push ebp
push 0x56de81
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x80a]
push eax
push 0
push 0
push 0x25
push 0
call sub.shell32.dll_SHGetFolderPathW
lea edx, [ebp - 4]
lea eax, [ebp - 0x80a]
call fcn.0041f928
lea eax, [ebp - 8]
mov ecx, 0x56de98
mov edx, dword [ebp - 4]
call fcn.00407a38
push 5
push 0x56deb4
push 0x56deb8
mov eax, dword [ebp - 8]
call fcn.004077dc
push eax
push 0x56df08
push 0
call sub.shell32.dll_ShellExecuteW
push 0x3e8
call sub.kernel32.dll_Sleep_2
push 0
push 0
push 0
push 0x12
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x12
call sub.user32.dll_keybd_event
push 0
push 0
push 0
push 0x43
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x43
call sub.user32.dll_keybd_event
push 0x1f4
call sub.kernel32.dll_Sleep_2
push 0
push 2
push 0
push 0x43
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x43
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x12
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x12
call sub.user32.dll_keybd_event
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56de88
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406cd4
ret