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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46bf1c]
cmp byte [eax + 0xc], 0
je 0x4423f9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4423f2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46cb98], 0
jne 0x4422e0
push 0x442400
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x442408
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb98], eax
cmp dword [0x46abd4], 0
jne 0x4423db
push 0x442418
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46abd4], eax
cmp dword [0x46abd4], 0
je 0x4423db
push 0x442424
mov eax, dword [0x46abd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb9c], eax
push 0x442434
mov eax, dword [0x46abd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cba0], eax
push 0x442448
mov eax, dword [0x46abd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cba4], eax
push 0x442460
mov eax, dword [0x46abd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cba8], eax
push 0x442478
mov eax, dword [0x46abd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cbac], eax
push 0x44248c
mov eax, dword [0x46abd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cbb0], eax
push 0x4424a4
mov eax, dword [0x46abd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cbb4], eax
push 0x4424bc
mov eax, dword [0x46abd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cbb8], eax
push 0x4424d8
mov eax, dword [0x46abd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cbbc], eax
push 0x4424e4
mov eax, dword [0x46abd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cbc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4423f9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x446284
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.00404b44
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4462d3
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.00404db4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44d9e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44da38]
test si, 4
je 0x44d9fc
or bl, 1
test si, 8
je 0x44da06
or bl, 4
test si, 1
je 0x44da10
or bl, 8
test si, 2
je 0x44da1a
or bl, 0x10
test si, 0x10
je 0x44da24
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44da33
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44da3c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44da74]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44da55
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44da64
or bl, 4
test esi, 0x20000000
je 0x44da6f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45411c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45412e
add esp, 0xfffffff0
call fcn.00404070
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e248
mov eax, dword [0x46baa0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4544c0
mov eax, dword [0x46baac]
mov dword [eax + 4], ebx
mov dword [eax], 0x4544cc
mov eax, ebx
call fcn.004544d8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415fc0]
call fcn.00403d1c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415fc0]
call fcn.00403d1c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415fc0]
call fcn.00403d1c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415fc0]
call fcn.00403d1c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415fc0]
call fcn.00403d1c
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, 0x4508f4
push eax
push 0
push 0
mov eax, dword [0x46bc7c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41fc9c]
call fcn.00421410
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41fc9c]
call fcn.00421410
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41fc9c]
call fcn.00421410
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004548f8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4547d4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4547d4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4547d4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45426b
call fcn.004040c8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4545b8
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 0x454763
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x454744
mov dl, 1
mov eax, dword [0x416494]
call fcn.00403d1c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404b44
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x454733
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.004425ec
test al, al
je 0x454726
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, 0x454774
lea eax, [ebp - 0x254]
call fcn.0040a06c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x454726
xor eax, eax
push ebp
push 0x45471f
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 0x4547ac
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x454708
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404db4
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 0x454708
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404db4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454726
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x454629
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041a374
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 0x45476a
lea eax, [ebp - 0x260]
call fcn.00404b44
ret

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

Disassembly:
push ecx
mov eax, dword [0x46cbe4]
cmp byte [eax + 0xa5], 0
jne 0x455109
cmp dword [0x46cbfc], 0
jne 0x4550ca
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x455054
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46cbfc], eax
cmp dword [0x46cbf8], 0
jne 0x4550e5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46cbf8], eax
cmp dword [0x46cc00], 0
jne 0x455109
push esp
push 0
push 0
push 0x454ff8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46cc00], eax
pop edx
ret
Function at 0x455200
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x455217
add esp, 0xfffffff0
call fcn.00404070
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e248
mov eax, dword [0x46bc60]
cmp word [eax + 2], 0
jne 0x45523f
mov eax, dword [0x46bc60]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456754
mov eax, dword [0x46bd54]
cmp word [eax + 2], 0
jne 0x455259
mov eax, dword [0x46bd54]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045694c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415fc0]
call fcn.00403d1c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415fc0]
call fcn.00403d1c
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x42077c]
call fcn.00427af4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4553e0
mov eax, dword [0x46bb34]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427ec4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x456efc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46bb34]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040d870
test eax, eax
je 0x45534e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409a4c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d898
test eax, eax
je 0x455362
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404db4
mov eax, dword [0x46b990]
cmp byte [eax], 0
jne 0x455396
mov eax, ebx
call fcn.00455508
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004570d8
mov eax, ebx
call fcn.00457a9c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4553d6
call fcn.004040c8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455788
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46cbe4]
cmp dword [eax + 0x30], 0
je 0x455832
cmp dword [ebx + 0x94], 0
jne 0x45582c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x455718
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45582c
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 0x4557f2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45582c
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.004183e0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x455801
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x456394
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 0x4563c9
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.00404c34
jmp 0x4563d6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b98
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4572b4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4572f5
mov eax, esi
call fcn.0043dcac
test al, al
je 0x4572f5
mov eax, dword [ebx + 0x84]
call fcn.0043d9d4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4572f5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043d9d4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4591e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x208], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45936e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x46bf0c]
cmp dword [eax], 2
jne 0x4592b0
mov byte [ebp - 0x203], bl
mov byte [ebp - 0x202], 0x3a
mov byte [ebp - 0x201], 0
mov byte [ebp - 0x102], 0
push pe_nt_image_headers32
lea eax, [ebp - 0x102]
push eax
lea eax, [ebp - 0x203]
push eax
call sub.kernel32.dll_QueryDosDeviceA
mov edx, esi
lea eax, [ebp - 0x102]
call fcn.00409bfc
lea eax, [ebp - 0x208]
push eax
mov eax, dword [esi]
mov ecx, 4
mov edx, 1
call fcn.00405064
mov eax, dword [ebp - 0x208]
mov edx, 0x459384
call fcn.00404f50
jne 0x4592a4
push esi
mov eax, dword [esi]
call fcn.00404e04
mov ecx, eax
mov eax, dword [esi]
mov edx, 5
call fcn.00405064
jmp 0x459350
mov eax, esi
call fcn.00404b44
jmp 0x459350
lea eax, [ebp - 0x210]
mov edx, ebx
call fcn.00404d2c
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
call fcn.00408c64
mov eax, dword [ebp - 0x20c]
mov al, byte [eax]
sub al, 0x40
mov byte [ebp - 1], al
mov byte [ebp - 0x102], 0
pushal
push es
xor ebx, ebx
mov bh, 2
mov bl, byte [ebp - 1]
lea edx, [ebp - 0x102]
push 0
push 0x71aa
push 0x2a0010
call sub.kernel32.dll_BaseThreadInitThunk
pop es
popal
mov edx, esi
lea eax, [ebp - 0x102]
call fcn.00409bfc
cmp dword [esi], 0
je 0x459350
pushal
push ds
push es
xor ebx, ebx
lea esi, [ebp - 0x102]
lea edi, [ebp - 0x203]
mov ecx, 0
mov cl, 2
mov ch, 0
push ecx
push 0x7160
push 0x2a0010
call sub.kernel32.dll_BaseThreadInitThunk
pop es
pop ds
popal
mov edx, esi
lea eax, [ebp - 0x203]
call fcn.00409bfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459375
lea eax, [ebp - 0x210]
mov edx, 3
call fcn.00404b68
ret

Function at 0x45fe58
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x45fee8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, dword [ebp + 8]
call fcn.00404d3c
lea eax, [ebp - 8]
mov edx, dword [ebp + 0xc]
call fcn.00404d3c
xor eax, eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], 4
mov eax, dword [ebp - 4]
call fcn.00405004
mov dword [ebp - 0x1e], eax
mov eax, dword [ebp - 8]
call fcn.00405004
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], 0x414
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x26]
push eax
call sub.shell32.dll_SHFileOperationA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45feef
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b68
ret
Function at 0x45ffa8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x45ffb1
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ff4
xor eax, eax
push ebp
push 0x46008c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x46bde0]
mov byte [eax], 0
mov dword [ebx], 0xffffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
call fcn.00402dcc
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.004034a0
call fcn.004028f4
test eax, eax
jne 0x460069
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10145]
mov ecx, 0xfff1
lea eax, [ebp - 0x154]
call fcn.00402f1c
mov dx, word [ebp - 8]
test dx, dx
jbe 0x460063
lea eax, [ebp - 0x10145]
xor ecx, ecx
mov cl, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x46b464]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x46003f
cmp dword [ebp - 8], 0
jne 0x460016
lea eax, [ebp - 0x154]
call fcn.00402f3c
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460093
lea eax, [ebp - 4]
call fcn.00404b44
ret
Function at 0x4613d0
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ff4
xor eax, eax
push ebp
push 0x46151b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x46152c
call sub.user32.dll_FindWindowA
mov esi, eax
test esi, esi
jne 0x46145d
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x3c
call fcn.0040315c
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x40
mov eax, 0x46153c
mov dword [ebp - 0x34], eax
mov eax, 0x461544
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x40]
push eax
call sub.shell32.dll_ShellExecuteExA
push 0xc8
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_WaitForInputIdle
push 0
push 0x46152c
call sub.user32.dll_FindWindowA
mov esi, eax
push 1
push esi
call sub.user32.dll_ShowWindow
push 0
push 0x461550
push 0
push esi
call sub.user32.dll_FindWindowExA
mov esi, eax
push esi
call sub.user32.dll_SetForegroundWindow
mov ebx, 0x1e
push 0
push 0x25
push pe_nt_image_headers32
push esi
call sub.user32.dll_SendMessageA
dec ebx
test ebx, ebx
jne 0x461481
push 0xc8
call sub.kernel32.dll_Sleep_1
push 0
push 0x27
push pe_nt_image_headers32
push esi
call sub.user32.dll_SendMessageA
push 0xc8
call sub.kernel32.dll_Sleep_1
mov ebx, 1
mov eax, dword [ebp - 4]
call fcn.00404e04
mov edi, eax
mov eax, dword [ebp - 4]
mov al, byte [eax + ebx - 1]
cmp al, 0x5c
jne 0x4614ed
push 0
push 0x27
push pe_nt_image_headers32
push esi
call sub.user32.dll_SendMessageA
push 0xc8
call sub.kernel32.dll_Sleep_1
jmp 0x461500
push 0
and eax, 0xff
push eax
push 0x102
push esi
call sub.user32.dll_SendMessageA
inc ebx
cmp edi, ebx
jne 0x4614c7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461522
lea eax, [ebp - 4]
call fcn.00404b44
ret
Function at 0x4622c4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp - 4]
push eax
push 0xb
call sub.NTDLL.DLL_ZwQuerySystemInformation
push 0x40
push 0x1000
mov eax, dword [ebp - 4]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_2
mov esi, eax
push 0
mov eax, dword [ebp - 4]
push eax
push esi
push 0xb
call sub.NTDLL.DLL_ZwQuerySystemInformation
mov edi, eax
mov eax, edi
call fcn.004622bc
test al, al
je 0x46237e
xor ebx, ebx
jmp 0x46236a
imul edi, ebx, 0x47
movzx eax, word [esi + edi*4 + 0x18]
mov edx, dword [ebp + 8]
mov dword [edx + ebx*4], eax
movzx eax, word [esi + edi*4 + 0x1e]
lea edx, [esi + edi*4]
lea eax, [edx + eax + 0x20]
mov edx, dword [ebp + 8]
mov edx, dword [edx + ebx*4 + 0x7d0]
xchg edx, eax
call fcn.00409a4c
mov eax, dword [esi + edi*4 + 0xc]
mov edx, dword [ebp + 8]
mov dword [edx + ebx*4 + 0xfa0], eax
mov eax, dword [esi + edi*4 + 0x10]
mov edx, dword [ebp + 8]
mov dword [edx + ebx*4 + 0x1770], eax
lea eax, [esi + edi*4 + 0x20]
mov edx, dword [ebp + 8]
mov edx, dword [edx + ebx*4 + 0x1f40]
xchg edx, eax
call fcn.00409a4c
inc ebx
cmp ebx, dword [esi]
jbe 0x46230f
push 0x1000
mov eax, dword [ebp - 4]
push eax
push 0
call sub.kernel32.dll_VirtualFree_1
push 0x1000
mov eax, dword [ebp - 4]
push eax
push 0
call sub.kernel32.dll_VirtualFree_1
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x462854
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ff4
xor eax, eax
push ebp
push 0x46290f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 3
push 0
push 1
push BaseThreadInitThunk
mov eax, dword [ebp - 4]
call fcn.00405004
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4628f9
push 0
push 0
push 0
push 2
push 0
push ebx
call sub.kernel32.dll_CreateFileMappingA
mov esi, eax
test esi, esi
jne 0x4628b7
push ebx
call sub.kernel32.dll_CloseHandle_1
push 0
push 0
push 0
push 4
push esi
call sub.kernel32.dll_MapViewOfFile
mov edi, eax
test edi, edi
jne 0x4628d9
push esi
call sub.kernel32.dll_CloseHandle_1
push ebx
call sub.kernel32.dll_CloseHandle_1
jmp 0x4628f9
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4628e7
call fcn.00462820
push edi
call sub.kernel32.dll_UnmapViewOfFile
push esi
call sub.kernel32.dll_CloseHandle_1
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462916
lea eax, [ebp - 4]
call fcn.00404b44
ret
Function at 0x463450
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
xor eax, eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4635ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4635dc
mov dword [ebp - 4], eax
lea eax, [ebp - 0x134]
mov edx, dword [ebp + 0xc]
call fcn.00404d3c
mov edx, dword [ebp - 0x134]
lea eax, [ebp - 0x18]
mov ecx, 0x4635e8
call fcn.00404e50
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x46359d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x10
lea eax, [ebp - 0x12d]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00405004
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x463586
lea eax, [ebp - 0x138]
mov edx, ebx
call fcn.00404d3c
mov eax, dword [ebp - 0x138]
mov edx, 0x4635f4
call fcn.00408cdc
test eax, eax
jne 0x463546
lea edx, [ebp - 0x13c]
lea eax, [ebp - 0x12d]
call fcn.00409bfc
mov eax, dword [ebp - 0x13c]
call fcn.00405004
mov dword [ebp - 4], eax
lea eax, [ebp - 0x140]
mov edx, ebx
call fcn.00404d3c
mov eax, dword [ebp - 0x140]
mov edx, 0x463600
call fcn.00408cdc
test eax, eax
jne 0x463586
lea edx, [ebp - 0x144]
lea eax, [ebp - 0x11d]
call fcn.00409bfc
mov eax, dword [ebp - 0x144]
call fcn.00405004
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4635a4
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SetErrorMode
ret