joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44976c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4b1680]
cmp byte [eax + 0xc], 0
je 0x4498d9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4498d2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b2b9c], 0
jne 0x4497c0
push 0x4498e0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4498e8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b2b9c], eax
cmp dword [0x4a8dd8], 0
jne 0x4498bb
push 0x4498f8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4a8dd8], eax
cmp dword [0x4a8dd8], 0
je 0x4498bb
push 0x449904
mov eax, dword [0x4a8dd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b2ba0], eax
push 0x449914
mov eax, dword [0x4a8dd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b2ba4], eax
push 0x449928
mov eax, dword [0x4a8dd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b2ba8], eax
push 0x449940
mov eax, dword [0x4a8dd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b2bac], eax
push 0x449958
mov eax, dword [0x4a8dd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b2bb0], eax
push 0x44996c
mov eax, dword [0x4a8dd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b2bb4], eax
push 0x449984
mov eax, dword [0x4a8dd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b2bb8], eax
push 0x44999c
mov eax, dword [0x4a8dd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b2bbc], eax
push 0x4499b8
mov eax, dword [0x4a8dd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b2bc0], eax
push 0x4499c4
mov eax, dword [0x4a8dd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b2bc4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4498d9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44d764
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.004046f8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44d7b3
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.00404968
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x455004
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x455054]
test si, 4
je 0x455018
or bl, 1
test si, 8
je 0x455022
or bl, 4
test si, 1
je 0x45502c
or bl, 8
test si, 2
je 0x455036
or bl, 0x10
test si, 0x10
je 0x455040
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45504f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x455058
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x455090]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x455071
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x455080
or bl, 4
test esi, 0x20000000
je 0x45508b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45b754
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45b766
add esp, 0xfffffff0
call fcn.00403be4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423f18
mov eax, dword [0x4b1084]
mov dword [eax + 4], ebx
mov dword [eax], 0x45baf8
mov eax, dword [0x4b1098]
mov dword [eax + 4], ebx
mov dword [eax], 0x45bb04
mov eax, ebx
call fcn.0045bb10
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41a82c]
call fcn.0040387c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41a82c]
call fcn.0040387c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41a82c]
call fcn.0040387c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41a82c]
call fcn.0040387c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41a82c]
call fcn.0040387c
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, 0x457f28
push eax
push 0
push 0
mov eax, dword [0x4b12f4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x426074]
call fcn.004278ac
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x426074]
call fcn.004278ac
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x426074]
call fcn.004278ac
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045bf60
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45be28
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45be28
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45be28
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45b8a3
call fcn.00403c3c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45bc0c
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 0x45bdb7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45bd98
mov dl, 1
mov eax, dword [0x41ae90]
call fcn.0040387c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004046f8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45bd87
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.00449acc
test al, al
je 0x45bd7a
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, 0x45bdc8
lea eax, [ebp - 0x254]
call fcn.00409ff8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45bd7a
xor eax, eax
push ebp
push 0x45bd73
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 0x45be00
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45bd5c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404968
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 0x45bd5c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404968
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bd7a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45bc7d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041f9a4
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 0x45bdbe
lea eax, [ebp - 0x260]
call fcn.004046f8
ret

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

Disassembly:
push ecx
mov eax, dword [0x4b2be8]
cmp byte [eax + 0xa5], 0
jne 0x45c771
cmp dword [0x4b2c00], 0
jne 0x45c732
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45c6bc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b2c00], eax
cmp dword [0x4b2bfc], 0
jne 0x45c74d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b2bfc], eax
cmp dword [0x4b2c04], 0
jne 0x45c771
push esp
push 0
push 0
push 0x45c660
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4b2c04], eax
pop edx
ret
Function at 0x45cde8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b2be8]
cmp dword [eax + 0x30], 0
je 0x45ce92
cmp dword [ebx + 0x94], 0
jne 0x45ce8c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45cd78
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45ce8c
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 0x45ce52
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45ce8c
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.0041d0c8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45ce61
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45d9f0
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 0x45da25
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.004047e8
jmp 0x45da32
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040474c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45ea58
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45ea99
mov eax, esi
call fcn.0044518c
test al, al
je 0x45ea99
mov eax, dword [ebx + 0x84]
call fcn.00444eb4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45ea99
push 0
mov eax, dword [ebx + 0x84]
call fcn.00444eb4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45fda8
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404ba8
xor eax, eax
push ebp
push 0x45fe26
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404bb8
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x45fdf1
mov eax, dword [ebx + 4]
call fcn.00404bb8
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fe2d
lea eax, [ebp - 4]
call fcn.004046f8
ret
Function at 0x460e28
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x460fc5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402f50
cmp word [ebx + 0xa2], 0
je 0x460e71
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x460e85
lea esi, [ebp - 8]
jmp 0x460e87
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x460e94
xor edi, edi
jmp 0x460ea1
mov eax, dword [ebx + 0x80]
call fcn.00404bb8
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.00404bb8
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00460560
mov eax, dword [ebp - 0x14]
call fcn.00404bb8
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.00404bb8
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404bb8
push eax
mov eax, ebx
call fcn.00460694
push eax
mov eax, ebx
call fcn.00460668
push eax
mov eax, ebx
call fcn.0046061c
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.0046042c
mov eax, dword [ebp - 0x18]
call fcn.00404bb8
push eax
mov eax, dword [ebx + 8]
call fcn.00404bb8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0xc], 0
jne 0x460f2a
call fcn.0040e844
xor edx, edx
push ebp
push 0x460fa3
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x460f68
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x460f5e
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x460f8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460faa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x460fd4
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x461000
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00404bb8
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x461025
call fcn.0040e844
xor eax, eax
push ebp
push 0x46105c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x461045
call fcn.0040e844
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461063
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x46f970
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x46f978
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ba8
xor eax, eax
push ebp
push 0x46fea0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00408bbc
mov edx, dword [ebp - 0x2c]
mov ecx, 1
mov eax, 0x46feb8
call fcn.0046f874
mov ebx, eax
test ebx, ebx
jne 0x46f9e4
push 0
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.00408bbc
mov edx, dword [ebp - 0x30]
mov ecx, 1
mov eax, 0x46fec8
call fcn.0046f874
mov ebx, eax
test ebx, ebx
jne 0x46fa09
push 0
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.00408bbc
mov edx, dword [ebp - 0x34]
mov ecx, 1
mov eax, 0x46fedc
call fcn.0046f874
mov ebx, eax
test ebx, ebx
jle 0x46fe3f

Function at 0x47b498
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x419dd4]
call fcn.00405094
xor eax, eax
push ebp
push 0x47b5dc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a97c0], 0
jne 0x47b4eb
mov ecx, dword [0x4b0f30]
mov dl, 1
mov eax, dword [0x407ebc]
call fcn.0040d180
call fcn.0040404c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403244
mov eax, ebx
call fcn.00404f60
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x47b5ec
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004063d4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404f70
test eax, eax
jle 0x47b583
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x47b57c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404980
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404968
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408dc4
test eax, eax
jne 0x47b57c
mov ebx, 0x15
jmp 0x47b588
mov ebx, 0x10
jmp 0x47b588
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4a97c0]
call fcn.0047b3f0
mov eax, dword [ebp - 8]
call fcn.0047b3f0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004063ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b5e3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040471c
lea eax, [ebp - 0x10]
mov edx, dword [0x419dd4]
call fcn.00405164
ret
Function at 0x49185c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov edi, eax
mov ebx, ecx
sub ebx, edi
mov esi, dword [ebp + 8]
sub esi, dword [ebp - 4]
push 0
push 0x491960
push 0x491960
push 0x491964
call sub.gdi32.dll_CreateDCA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0xc], eax
push esi
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
push 0xcc0020
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 8]
push eax
push esi
push ebx
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
mov dl, 1
mov eax, dword [0x426ab0]
call fcn.0042cc7c
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x49194e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.0042dd6c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x118]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x58]
push 0
push 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x118]
call fcn.0041fa74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491955
mov eax, dword [ebp - 0x14]
call fcn.004038ac
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_ReleaseDC
ret

Function at 0x498598
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
xor ecx, ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x498660
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.004046f8
lea eax, [ebp - 4]
call fcn.00498800
cmp dword [ebp - 4], 0
jne 0x4985e5
mov eax, 0x498674
call fcn.0049867c
lea edx, [ebp - 4]
call fcn.0049870c
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00408e34
cmp dword [ebp - 0x214], 0
jne 0x498635
push pe_nt_image_headers32
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push eax
push 0x498678
call sub.kernel32.dll_GetVolumeInformationA
lea edx, [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0049852c
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00408e34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498667
lea eax, [ebp - 0x214]
call fcn.004046f8
lea eax, [ebp - 4]
call fcn.004046f8
ret
Function at 0x4992dc
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffbc
mov edi, ecx
mov esi, edx
mov ebx, eax
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x18]
mov dword [ebx], eax
mov dword [esp + 0x24], 0x20
lea eax, [esp + 0x24]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [esp + 0x2c]
shr eax, 0xa
shr eax, 0xa
mov dword [esi], eax
mov eax, dword [esp + 0x30]
mov dword [edi], eax
add esp, 0x44
pop edi
pop esi
pop ebx
ret

Function at 0x499454
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49953f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov eax, ebx
call fcn.00404bb8
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x499529
xor eax, eax
push ebp
push 0x499522
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, 2
call fcn.004993d8
push eax
xor eax, eax
call fcn.004993d8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
je 0x4994e3
mov eax, 2
call fcn.004993d8
cmp eax, dword [ebp - 0xc]
je 0x4994e7
xor eax, eax
jmp 0x4994e9
mov al, 1
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x49950b
mov eax, ebx
call fcn.00404bb8
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.004048f0
mov eax, dword [ebp - 0x10]
call fcn.004096a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499529
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499546
lea eax, [ebp - 0x10]
call fcn.004046f8
ret
Function at 0x499550
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x499688
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
mov edx, 0x104
call fcn.00404d44
push 0x104
lea eax, [ebp - 8]
call fcn.00404c10
push eax
push 0x49969c
call sub.kernel32.dll_GetEnvironmentVariableA
mov edx, eax
lea eax, [ebp - 8]
call fcn.00404d44
mov eax, dword [ebp - 8]
call fcn.004049b8
test eax, eax
jle 0x49966a
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.00403244
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x20], 1
mov word [ebp - 0x1c], 0
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x210
push 0
push 0
push 0
push dword [ebp - 8]
push 0x4996ac
push ebx
push 0x4996bc
push esi
lea eax, [ebp - 0x60]
mov edx, 5
call fcn.00404a78
mov eax, dword [ebp - 0x60]
call fcn.00404bb8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x49966a
xor eax, eax
push ebp
push 0x499663
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49966a
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49968f
lea eax, [ebp - 0x60]
call fcn.004046f8
lea eax, [ebp - 8]
call fcn.004046f8
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404bb8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4996dd
and eax, 0x10
cmp eax, 0x10
je 0x4996e1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret