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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x60af78]
cmp byte [eax + 0xc], 0
je 0x43f421
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43f41a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x60bb24], 0
jne 0x43f308
push 0x43f428
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43f430
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x60bb24], eax
cmp dword [0x45db5c], 0
jne 0x43f403
push 0x43f440
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45db5c], eax
cmp dword [0x45db5c], 0
je 0x43f403
push 0x43f44c
mov eax, dword [0x45db5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x60bb28], eax
push 0x43f45c
mov eax, dword [0x45db5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x60bb2c], eax
push 0x43f470
mov eax, dword [0x45db5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x60bb30], eax
push 0x43f488
mov eax, dword [0x45db5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x60bb34], eax
push 0x43f4a0
mov eax, dword [0x45db5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x60bb38], eax
push 0x43f4b4
mov eax, dword [0x45db5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x60bb3c], eax
push 0x43f4cc
mov eax, dword [0x45db5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x60bb40], eax
push 0x43f4e4
mov eax, dword [0x45db5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x60bb44], eax
push 0x43f500
mov eax, dword [0x45db5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x60bb48], eax
push 0x43f50c
mov eax, dword [0x45db5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x60bb4c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f421
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4432f0
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.00404274
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44333f
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.004044e4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44ab10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44ab60]
test si, 4
je 0x44ab24
or bl, 1
test si, 8
je 0x44ab2e
or bl, 4
test si, 1
je 0x44ab38
or bl, 8
test si, 2
je 0x44ab42
or bl, 0x10
test si, 0x10
je 0x44ab4c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ab5b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44ab64
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44ab9c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ab7d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ab8c
or bl, 4
test esi, 0x20000000
je 0x44ab97
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x451260
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x451272
add esp, 0xfffffff0
call fcn.00403820
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419b4c
mov eax, dword [0x60ac4c]
mov dword [eax + 4], ebx
mov dword [eax], 0x451604
mov eax, dword [0x60ac58]
mov dword [eax + 4], ebx
mov dword [eax], 0x451610
mov eax, ebx
call fcn.0045161c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411d58]
call fcn.004034b8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411d58]
call fcn.004034b8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411d58]
call fcn.004034b8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411d58]
call fcn.004034b8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411d58]
call fcn.004034b8
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, 0x44da34
push eax
push 0
push 0
mov eax, dword [0x60ad9c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b5bc]
call fcn.0041cd54
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b5bc]
call fcn.0041cd54
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b5bc]
call fcn.0041cd54
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00451a6c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451934
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451934
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451934
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4513af
call fcn.00403878
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x451718
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 0x4518c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4518a4
mov dl, 1
mov eax, dword [0x412174]
call fcn.004034b8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404274
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x451893
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.0043f614
test al, al
je 0x451886
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, 0x4518d4
lea eax, [ebp - 0x254]
call fcn.00408f4c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x451886
xor eax, eax
push ebp
push 0x45187f
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 0x45190c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x451868
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044e4
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 0x451868
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451886
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x451789
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415ce4
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 0x4518ca
lea eax, [ebp - 0x260]
call fcn.00404274
ret

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

Disassembly:
push ecx
mov eax, dword [0x60bb70]
cmp byte [eax + 0xa5], 0
jne 0x45227d
cmp dword [0x60bb88], 0
jne 0x45223e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4521c8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x60bb88], eax
cmp dword [0x60bb84], 0
jne 0x452259
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x60bb84], eax
cmp dword [0x60bb8c], 0
jne 0x45227d
push esp
push 0
push 0
push 0x45216c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x60bb8c], eax
pop edx
ret
Function at 0x452910
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x60bb70]
cmp dword [eax + 0x30], 0
je 0x4529ba
cmp dword [ebx + 0x94], 0
jne 0x4529b4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4528a0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4529b4
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 0x45297a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4529b4
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.004140d4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x452989
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x453518
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 0x45354d
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.00404364
jmp 0x45355a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042c8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45466c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4546ad
mov eax, esi
call fcn.0043abd0
test al, al
je 0x4546ad
mov eax, dword [ebx + 0x84]
call fcn.0043a8cc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4546ad
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043a8cc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4551f8
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffca8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x358], ebx
mov dword [ebp - 0x34c], ebx
mov dword [ebp - 0x344], ebx
mov dword [ebp - 0x348], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x45551d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
xor edx, edx
push ebp
push 0x4552fd
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
push 0
push 3
push 0
push 0x455538
lea eax, [ebp - 0x348]
mov dl, byte [ebp - 1]
call fcn.0040445c
push dword [ebp - 0x348]
push 0x455548
lea eax, [ebp - 0x344]
mov edx, 3
call fcn.004045f4
mov eax, dword [ebp - 0x344]
call fcn.00404734
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4552b3
call fcn.00403d34
jmp 0x4554f4
xor eax, eax
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0xc
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0x2d1080
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_DeviceIoControl
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x4552e6
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455304
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455524
lea eax, [ebp - 0x358]
call fcn.00404274
lea eax, [ebp - 0x34c]
mov edx, 3
call fcn.00404298
ret
Function at 0x455bb8
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404724
xor eax, eax
push ebp
push 0x455c9c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [0x60bbac], eax
xor eax, eax
mov dword [0x60bbb7], eax
mov dword [ebp - 8], 0xffffffff
xor eax, eax
push ebp
push 0x455c77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, 0x455cb0
call fcn.00404580
mov eax, dword [ebp - 0x1c]
call fcn.00404734
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x455c60
push 0
lea eax, [ebp - 0xc]
push eax
push 0xc
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x2d1080
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_DeviceIoControl
mov eax, dword [ebp - 0x18]
mov dword [0x60bbac], eax
mov eax, dword [ebp - 0x10]
mov dword [0x60bbb7], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455c7e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
ret
Function at 0x455cb8
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404724
xor eax, eax
push ebp
push 0x455e71
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x60bba8
call fcn.00404274
mov dword [ebp - 8], 0xffffffff
push ebp
push 0x455e44
push dword fs:[0]
mov dword fs:[0], esp
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x148]
mov ecx, dword [ebp - 4]
mov edx, 0x455e88
call fcn.00404580
mov eax, dword [ebp - 0x148]
call fcn.00404734
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x455e2d
lea eax, [ebp - 0x18]
mov edx, 0xc
call fcn.00406ce8
lea eax, [ebp - 0x141]
mov edx, 0x129
call fcn.00406ce8
mov eax, 0x129
mov dword [ebp - 0x13d], eax
push 0
lea edx, [ebp - 0xc]
push edx
push eax
lea eax, [ebp - 0x141]
push eax
push 0xc
lea eax, [ebp - 0x18]
push eax
push 0x2d1400
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_DeviceIoControl
mov eax, 0x60bba8
call fcn.00404274
xor ecx, ecx
mov edx, dword [ebp - 0x121]
dec edx
cmp edx, 0
jl 0x455dc6
lea eax, [ebp + edx - 0x11d]
cmp byte [eax], 0
jne 0x455dbf
mov ecx, edx
jmp 0x455dc6
dec edx
dec eax
cmp edx, 0xffffffff
jne 0x455db6
xor ebx, ebx
mov edx, ecx
mov esi, dword [ebp - 0x121]
dec esi
sub esi, edx
jl 0x455e2d
inc esi
lea edi, [ebp + edx - 0x11d]
mov al, byte [edi]
add al, 0xe0
sub al, 0x5f
jae 0x455e29
cmp dword [0x60bba8], 0
je 0x455e02
mov eax, dword [0x60bba8]
call fcn.00404534
mov edx, dword [0x60bba8]
mov bl, byte [edx + eax - 2]
cmp bl, 0x20
jne 0x455e0c
cmp byte [edi], 0x20
je 0x455e29
lea eax, [ebp - 0x14c]
mov dl, byte [edi]
call fcn.0040445c
mov edx, dword [ebp - 0x14c]
mov eax, 0x60bba8
call fcn.0040453c
inc edi
dec esi
jne 0x455ddd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455e4b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
ret
Function at 0x456064
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb4
push ebx
xor edx, edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404724
mov ebx, 0x60bb94
xor eax, eax
push ebp
push 0x4562ce
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 4]
call fcn.00404274
lea eax, [ebx + 8]
mov edx, 0x4562e4
call fcn.004042c8
lea eax, [ebx + 0xc]
mov edx, 0x4562e4
call fcn.004042c8
lea eax, [ebx + 0x10]
call fcn.00404274
push 0x104
lea eax, [ebp - 0x23e]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x104
lea eax, [ebp - 0x139]
push eax
lea eax, [ebp - 0x244]
mov ecx, 0x4562f4
mov edx, dword [ebp - 4]
call fcn.00404580
mov eax, dword [ebp - 0x244]
call fcn.00404734
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4561d8
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
call fcn.00404734
push eax
mov eax, dword [0x60ad28]
mov eax, dword [eax]
call eax
fild qword [ebp - 0x20]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x2c]
call fcn.00455e90
fild qword [ebp - 0x28]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x30]
call fcn.00455e90
lea eax, [ebp - 0x248]
lea edx, [ebp - 0x139]
mov ecx, 0x105
call fcn.004044e4
cmp dword [ebp - 0x248], 0
je 0x456197
lea eax, [ebp - 0x34]
lea edx, [ebp - 0x139]
mov ecx, 0x105
call fcn.004044e4
jmp 0x45619f
lea eax, [ebp - 0x34]
call fcn.00404274
lea eax, [ebx + 4]
mov edx, dword [ebp - 0x34]
call fcn.004042c8
lea eax, [ebx + 0x10]
lea edx, [ebp - 0x23e]
mov ecx, 0x105
call fcn.004044e4
lea eax, [ebx + 8]
mov edx, dword [ebp - 0x2c]
call fcn.004042c8
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 0x30]
call fcn.004042c8
jmp 0x45629b
lea eax, [ebp - 0x34]
mov edx, 0x456300
call fcn.0040430c
push 0
push 0
push 3
push 0
push 3
push 0
push 0x456318
push dword [ebp - 4]
push 0x456328
lea eax, [ebp - 0x24c]
mov edx, 3
call fcn.004045f4
mov eax, dword [ebp - 0x24c]
call fcn.00404734
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x456294
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push 0
push 0x2d4800
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
jne 0x45627d
lea eax, [ebx + 4]
mov edx, dword [ebp - 0x34]
call fcn.004042c8
lea eax, [ebx + 0x10]
call fcn.00404274
lea eax, [ebx + 8]
mov edx, 0x4562e4
call fcn.004042c8
lea eax, [ebx + 0xc]
mov edx, 0x4562e4
call fcn.004042c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45629b
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 0x4562d5
lea eax, [ebp - 0x24c]
mov edx, 3
call fcn.00404298
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404298
lea eax, [ebp - 4]
call fcn.00404274
ret
Function at 0x45632c
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
xor edx, edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404724
xor eax, eax
push ebp
push 0x4564d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov dword [ebp - 0xc], 0xffffffff
xor edx, edx
push ebp
push 0x4564af
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x154]
mov ecx, dword [ebp - 4]
mov edx, 0x4564f0
call fcn.00404580
mov eax, dword [ebp - 0x154]
call fcn.00404734
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x456498
push 0
lea eax, [ebp - 0x18]
push eax
push 8
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x2d0c14
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_DeviceIoControl
lea eax, [ebp - 0x24]
mov edx, 0xc
call fcn.00406ce8
lea eax, [ebp - 0x14d]
mov edx, 0x129
call fcn.00406ce8
mov eax, 0x129
mov dword [ebp - 0x149], eax
push 0
lea edx, [ebp - 0x18]
push edx
push eax
lea eax, [ebp - 0x14d]
push eax
push 0xc
lea eax, [ebp - 0x24]
push eax
push 0x2d1400
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_DeviceIoControl
mov eax, dword [ebp - 0x131]
cmp eax, 7
je 0x456441
cmp eax, 4
je 0x456441
cmp eax, 2
je 0x456441
cmp byte [ebp - 0x10], 0
je 0x456435
cmp byte [ebp - 0xf], 0
jne 0x456441
cmp byte [ebp - 0xe], 0
jne 0x456441
cmp byte [ebp - 0x10], 0
je 0x456447
mov byte [ebp - 5], 1
jmp 0x45644b
mov byte [ebp - 5], 0
mov eax, 0x60bb94
mov ecx, 0x456500
mov edx, dword [ebp - 4]
call fcn.00404580
mov al, byte [ebp - 0x10]
mov byte [0x60bbb4], al
mov al, byte [ebp - 0xf]
mov byte [0x60bbb5], al
mov al, byte [ebp - 0xe]
mov byte [0x60bbb6], al
mov eax, dword [ebp - 0x131]
mov dword [0x60bbb0], eax
mov eax, dword [ebp - 4]
call fcn.00455cb8
mov eax, dword [ebp - 4]
call fcn.00456064
mov eax, dword [ebp - 4]
call fcn.00455bb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4564b6
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
ret
Function at 0x456504
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
xor eax, eax
push ebp
push 0x456777
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetLogicalDrives
mov esi, eax
xor ebx, ebx
mov eax, ebx
cmp eax, 0x1f
ja 0x456533
bt esi, eax
jae 0x45674a
lea eax, [ebp - 8]
mov edx, ebx
add dl, 0x41
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 8]
lea eax, [ebp - 0xc]
call fcn.00402dc8
mov edx, 0x456788
lea eax, [ebp - 0xc]
mov cl, 2
call fcn.00402d98
lea edx, [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.004044d8
mov eax, dword [ebp - 4]
call fcn.00404734
push eax
call sub.kernel32.dll_GetDriveTypeA
sub eax, 2
je 0x456594
dec eax
je 0x45660d
sub eax, 2
je 0x4566de
jmp 0x45674a
cmp byte [ebp + 0xc], 0
je 0x45674a
mov eax, dword [ebp - 4]
call fcn.0045632c
test al, al
je 0x45674a
push dword [0x60bb94]
push 0x456794
push dword [0x60bba8]
push 0x4567a0
push 0x456794
push dword [0x60bba4]
push 0x4567bc
push dword [0x60bb9c]
push 0x4567c8
push dword [0x60bba0]
push 0x4567d4
push dword [0x60bb98]
lea eax, [ebp - 0x10]
mov edx, 0xc
call fcn.004045f4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
call fcn.004149f4
jmp 0x45674a
cmp byte [ebp + 0x10], 0
je 0x45674a
mov eax, dword [ebp - 4]
call fcn.0045632c
test al, al
je 0x456682
push dword [0x60bb94]
push 0x456794
push dword [0x60bba8]
push 0x4567e0
push 0x456794
push dword [0x60bba4]
push 0x4567bc
push dword [0x60bb9c]
push 0x4567c8
push dword [0x60bba0]
push 0x4567d4
push dword [0x60bb98]
lea eax, [ebp - 0x14]
mov edx, 0xc
call fcn.004045f4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
call fcn.004149f4
jmp 0x45674a
push dword [0x60bb94]
push 0x456794
push dword [0x60bba8]
push 0x456804
push 0x456794
push dword [0x60bba4]
push 0x4567bc
push dword [0x60bb9c]
push 0x4567c8
push dword [0x60bba0]
push 0x4567d4
push dword [0x60bb98]
lea eax, [ebp - 0x18]
mov edx, 0xc
call fcn.004045f4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
call fcn.004149f4
jmp 0x45674a
cmp byte [ebp + 0x14], 0
je 0x45674a
mov eax, dword [ebp - 4]
call fcn.0045632c
test al, al
je 0x45674a
push dword [0x60bb94]
push 0x456794
push dword [0x60bba8]
push 0x456818
push 0x456794
push dword [0x60bba4]
push 0x4567bc
push dword [0x60bb9c]
push 0x4567c8
push dword [0x60bba0]
push 0x4567d4
push dword [0x60bb98]
lea eax, [ebp - 0x1c]
mov edx, 0xc
call fcn.004045f4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
call fcn.004149f4
inc ebx
cmp ebx, 0x1a
jne 0x456529
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45677e
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404298
lea eax, [ebp - 4]
call fcn.00404274
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x40bc43
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x40bc52
pop dword [ebp - 0x24]
mov eax, 0x40bc52
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x3a7bd
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0xaac5303d
add ecx, 0x553b1bd4
xor edi, edi
add edi, eax
mov esi, 0x413bc4
add esi, dword [ebp - 0x24]
mov ebx, 0x339a37b
sub ebx, 0xa745c04b
mov dword [ebp - 0x10], 0xcdf54f19
mov edx, dword [esi]
add dword [ebp - 0xc], ecx
xor edx, ebx
xor dword [ebp - 0x20], 0x82bdab38
mov dword [edi], edx
mov dword [ebp - 0x18], 0x74fbeba8
add edi, 4
add esi, 0xa2b5be4f
sub esi, 0xa2b5be4b
loop 0x40bca3
add eax, 0xf9de3e36
sub eax, 0xf9dd1b1f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x1d02ef2b
sub ecx, 0x1cc2ef2b
add ecx, dword [ebp - 0x24]
call ebx
leave
ret