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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x49372c]
cmp byte [eax + 0xc], 0
je 0x445229
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x445222
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x494b9c], 0
jne 0x445110
push 0x445230
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x445238
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x494b9c], eax
cmp dword [0x491b94], 0
jne 0x44520b
push 0x445248
call sub.kernel32.dll_LoadLibraryA
mov dword [0x491b94], eax
cmp dword [0x491b94], 0
je 0x44520b
push 0x445254
mov eax, dword [0x491b94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x494ba0], eax
push 0x445264
mov eax, dword [0x491b94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x494ba4], eax
push 0x445278
mov eax, dword [0x491b94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x494ba8], eax
push 0x445290
mov eax, dword [0x491b94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x494bac], eax
push 0x4452a8
mov eax, dword [0x491b94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x494bb0], eax
push 0x4452bc
mov eax, dword [0x491b94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x494bb4], eax
push 0x4452d4
mov eax, dword [0x491b94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x494bb8], eax
push 0x4452ec
mov eax, dword [0x491b94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x494bbc], eax
push 0x445308
mov eax, dword [0x491b94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x494bc0], eax
push 0x445314
mov eax, dword [0x491b94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x494bc4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445229
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x449344
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.00404198
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x449393
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.00404408
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450ad0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x450b20]
test si, 4
je 0x450ae4
or bl, 1
test si, 8
je 0x450aee
or bl, 4
test si, 1
je 0x450af8
or bl, 8
test si, 2
je 0x450b02
or bl, 0x10
test si, 0x10
je 0x450b0c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450b1b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x450b24
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x450b5c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450b3d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450b4c
or bl, 4
test esi, 0x20000000
je 0x450b57
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x457204
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x457216
add esp, 0xfffffff0
call fcn.00403730
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e3d8
mov eax, dword [0x493328]
mov dword [eax + 4], ebx
mov dword [eax], 0x4575a8
mov eax, dword [0x493334]
mov dword [eax + 4], ebx
mov dword [eax], 0x4575b4
mov eax, ebx
call fcn.004575c0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4154a0]
call fcn.004033dc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4154a0]
call fcn.004033dc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4154a0]
call fcn.004033dc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4154a0]
call fcn.004033dc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4154a0]
call fcn.004033dc
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, 0x4539dc
push eax
push 0
push 0
mov eax, dword [0x4934d4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41fe44]
call fcn.004215b8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41fe44]
call fcn.004215b8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41fe44]
call fcn.004215b8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00457a70
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457904
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457904
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457904
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457353
call fcn.00403788
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4576e8
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 0x457893
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x457874
mov dl, 1
mov eax, dword [0x415bbc]
call fcn.004033dc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404198
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x457863
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.0044541c
test al, al
je 0x457856
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, 0x4578a4
lea eax, [ebp - 0x254]
call fcn.004091e8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x457856
xor eax, eax
push ebp
push 0x45784f
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 0x4578dc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x457838
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404408
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 0x457838
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404408
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457856
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x457759
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041a5c8
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 0x45789a
lea eax, [ebp - 0x260]
call fcn.00404198
ret

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

Disassembly:
push ecx
mov eax, dword [0x494be8]
cmp byte [eax + 0xa5], 0
jne 0x458281
cmp dword [0x494c00], 0
jne 0x458242
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4581cc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x494c00], eax
cmp dword [0x494bfc], 0
jne 0x45825d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x494bfc], eax
cmp dword [0x494c04], 0
jne 0x458281
push esp
push 0
push 0
push 0x458170
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x494c04], eax
pop edx
ret
Function at 0x458378
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45838f
add esp, 0xfffffff0
call fcn.00403730
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e3d8
mov eax, dword [0x4934c0]
cmp word [eax + 2], 0
jne 0x4583b7
mov eax, dword [0x4934c0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459a68
mov eax, dword [0x493590]
cmp word [eax + 2], 0
jne 0x4583d1
mov eax, dword [0x493590]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459c60
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4154a0]
call fcn.004033dc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4154a0]
call fcn.004033dc
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 [0x420924]
call fcn.0042819c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x458558
mov eax, dword [0x49339c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042856c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45a210
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x49339c]
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.0040ca08
test eax, eax
je 0x4584c6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408bc8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ca30
test eax, eax
je 0x4584da
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.00404408
mov eax, dword [0x493240]
cmp byte [eax], 0
jne 0x45850e
mov eax, ebx
call fcn.00458680
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.0045a3ec
mov eax, ebx
call fcn.0045adb0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45854e
call fcn.00403788
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458900
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x494be8]
cmp dword [eax + 0x30], 0
je 0x4589aa
cmp dword [ebx + 0x94], 0
jne 0x4589a4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x458890
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4589a4
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 0x45896a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4589a4
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.00417c80
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x458979
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45950c
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 0x459541
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.00404288
jmp 0x45954e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004041ec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45a5c8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45a609
mov eax, esi
call fcn.00440a98
test al, al
je 0x45a609
mov eax, dword [ebx + 0x84]
call fcn.00440794
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45a609
push 0
mov eax, dword [ebx + 0x84]
call fcn.00440794
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45b0b8
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
ja 0x45b0e4
cmp dword [esp + 4], 5
jne 0x45b0e0
cmp dword [esp + 8], 1
jae 0x45b0e4
xor eax, eax
jmp 0x45b0e6
mov al, 1
mov byte [0x494c0c], al
add esp, 0x94
ret
Function at 0x471fc8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00450b60
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret

Function at 0x47dde4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47de12
mov eax, ebx
call fcn.0047e898
cmp dword [ebx + 0x40], 0
je 0x47de0b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47de83
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47de75
cmp dword [ebx + 8], 0
je 0x47de34
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x47de46
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47de75
cmp dword [ebx + 8], 0
je 0x47de27
cmp eax, 3
je 0x47de59
dec eax
jne 0x47de27
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x47de27
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47de27
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47dea1
cmp dword [ebx + 0x14], 0xcc
je 0x47dea1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0047deac
pop ebx
ret

Function at 0x48f94c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 5
add esp, 0xfffff004
push eax
dec eax
jne 0x48f955
mov eax, dword [ebp - 4]
add esp, 0xffffffa0
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404648
xor eax, eax
push ebp
push 0x48fa87
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x280d]
mov edx, dword [ebp - 4]
call fcn.00408c24
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.004028d8
lea eax, [ebp - 0x500e]
mov edx, dword [ebp - 0xc]
call fcn.00408c24
lea eax, [ebp - 0x5054]
xor ecx, ecx
mov edx, 0x44
call fcn.00402da8
mov dword [ebp - 0x5054], 0x44
mov dword [ebp - 0x5028], 1
mov word [ebp - 0x5024], bx
lea eax, [ebp - 0x5064]
push eax
lea eax, [ebp - 0x5054]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x280d]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x48fa0e
mov dword [ebp - 8], 0xffffffff
jmp 0x48fa69
cmp byte [ebp + 8], 0
je 0x48fa4b
mov eax, dword [0x493570]
mov eax, dword [eax]
call fcn.004597bc
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x5064]
push eax
call sub.kernel32.dll_GetExitCodeProcess
cmp dword [ebp - 8], 0x103
jne 0x48fa69
mov eax, dword [0x493570]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
je 0x48fa14
jmp 0x48fa69
push 0xffffffffffffffff
mov eax, dword [ebp - 0x5064]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x5064]
push eax
call sub.kernel32.dll_GetExitCodeProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fa8e
lea eax, [ebp - 0xc]
call fcn.00404198
lea eax, [ebp - 4]
call fcn.00404198
ret
Function at 0x48fa98
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x48faa0
push ecx
push ebx
mov ebx, edx
xor eax, eax
push ebp
push 0x48fc47
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404198
lea edx, [ebp - 0x4c]
mov eax, 0x48fc5c
call fcn.0048eaf0
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x18]
call fcn.00413890
push 0
push 0
push 0
push 0x48fc80
push 0x48fc84
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040f37c
add esp, 0x1c
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x28]
call fcn.00413978
push 0x48fca4
push 0x48fcc4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0040f37c
add esp, 0x10
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x38]
call fcn.00413978
push 0x48fcd4
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0040f37c
add esp, 0xc
lea edx, [ebp - 0x80]
lea eax, [ebp - 0x70]
call fcn.00413454
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 4]
mov ecx, 0x48fce0
call fcn.00405af8
jmp 0x48fbbb
push 0x48fcf0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0040f37c
add esp, 0xc
lea edx, [ebp - 0x94]
lea eax, [ebp - 0x84]
call fcn.00412754
mov edx, dword [ebp - 0x84]
mov eax, 0x48fd00
call fcn.0040479c
dec eax
jne 0x48fbbb
push 0x48fd08
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0040f37c
add esp, 0xc
lea edx, [ebp - 0xa4]
mov eax, ebx
call fcn.00412754
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x48]
push eax
push 1
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x48fb5a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fc4e
lea eax, [ebp - 0xa4]
mov edx, dword [0x4010b0]
mov ecx, 2
call fcn.00404c4c
lea eax, [ebp - 0x84]
call fcn.00404198
lea eax, [ebp - 0x80]
call fcn.0040f374
lea eax, [ebp - 0x70]
call fcn.00405ab4
lea eax, [ebp - 0x6c]
mov edx, dword [0x4010b0]
mov ecx, 2
call fcn.00404c4c
lea eax, [ebp - 0x4c]
call fcn.00405ab4
lea eax, [ebp - 0x48]
mov edx, dword [0x4010c0]
mov ecx, 4
call fcn.00404c4c
lea eax, [ebp - 4]
call fcn.00405ab4
ret
Function at 0x48fd14
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x48ff8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404198
xor edi, edi
lea eax, [ebp - 0x110]
push eax
push 0x104
call sub.kernel32.dll_GetLogicalDriveStringsA
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
test esi, esi
jns 0x48fd6a
add esi, 3
sar esi, 2
test esi, esi
jl 0x48fe47
inc esi
lea ebx, [ebp - 0x110]
lea eax, [ebp - 0x114]
mov dl, byte [ebx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x118]
call fcn.00402c8c
lea eax, [ebp - 0x11c]
mov dl, byte [ebx + 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x11c]
lea eax, [ebp - 0x118]
mov cl, 2
call fcn.00402c5c
lea edx, [ebp - 0x118]
lea eax, [ebp - 0x120]
call fcn.00402c8c
lea eax, [ebp - 0x11c]
mov dl, byte [ebx + 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x11c]
lea eax, [ebp - 0x120]
mov cl, 3
call fcn.00402c5c
lea edx, [ebp - 0x120]
lea eax, [ebp - 0xc]
call fcn.004043fc
mov eax, dword [ebp - 0xc]
call fcn.00404658
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x48fe3d
lea eax, [ebp - 0x124]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.004046b8
mov eax, dword [ebp - 0x124]
mov edx, 0x48ffa4
call fcn.004045a4
je 0x48fe3d
inc edi
add ebx, 4
dec esi
jne 0x48fd7c
test edi, edi
jne 0x48fe5a
mov eax, 0x48ffb0
call fcn.0042caa8
jmp 0x48ff68
dec edi
jle 0x48fe6c
mov eax, 0x48ffd0
call fcn.0042caa8
jmp 0x48ff68
mov esi, dword [ebp - 8]
test esi, esi
jns 0x48fe76
add esi, 3
sar esi, 2
test esi, esi
jl 0x48ff68
inc esi
lea ebx, [ebp - 0x110]
lea eax, [ebp - 0x114]
mov dl, byte [ebx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x118]
call fcn.00402c8c
lea eax, [ebp - 0x11c]
mov dl, byte [ebx + 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x11c]
lea eax, [ebp - 0x118]
mov cl, 2
call fcn.00402c5c
lea edx, [ebp - 0x118]
lea eax, [ebp - 0x120]
call fcn.00402c8c
lea eax, [ebp - 0x11c]
mov dl, byte [ebx + 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x11c]
lea eax, [ebp - 0x120]
mov cl, 3
call fcn.00402c5c
lea edx, [ebp - 0x120]
lea eax, [ebp - 0xc]
call fcn.004043fc
mov eax, dword [ebp - 0xc]
call fcn.00404658
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x48ff5e
lea eax, [ebp - 0x128]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.004046b8
mov eax, dword [ebp - 0x128]
mov edx, 0x48ffa4
call fcn.004045a4
je 0x48ff5e
mov eax, dword [ebp - 4]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.004046b8
add ebx, 4
dec esi
jne 0x48fe88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ff95
lea eax, [ebp - 0x128]
mov edx, 2
call fcn.004041bc
lea eax, [ebp - 0xc]
call fcn.00404198
ret
Function at 0x490594
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2b
push 0
push 0
dec ecx
jne 0x49059c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404648
lea edi, [ebp - 0x134]
xor eax, eax
push ebp
push 0x49074a
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.0048e64c
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.0048e66c
jmp 0x490717
lea edx, [ebp - 0x140]
lea eax, [edi + 0x24]
call fcn.00408d78
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x13c]
call fcn.004083cc
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.00408a5c
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 8]
call fcn.0040817c
lea edx, [ebp - 0x148]
lea eax, [edi + 0x24]
call fcn.00408d78
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.004083cc
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0xc]
call fcn.0040817c
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 4]
call fcn.0040817c
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 8]
call fcn.004045a4
je 0x4906c0
lea edx, [ebp - 0x150]
mov eax, dword [ebp - 4]
call fcn.0040817c
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0xc]
call fcn.004045a4
je 0x4906c0
lea edx, [ebp - 0x158]
mov eax, dword [ebp - 4]
call fcn.00408a5c
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x154]
call fcn.0040817c
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 8]
call fcn.004045a4
jne 0x49070e
lea edx, [ebp - 0x15c]
mov eax, dword [0x493570]
mov eax, dword [eax]
call fcn.00459f78
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 4]
call fcn.004045a4
jne 0x4906f7
call sub.kernel32.dll_GetCurrentProcessId
cmp eax, dword [edi + 8]
je 0x4906f7
mov edx, edi
mov eax, ebx
call fcn.0048e68c
jmp 0x490717
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 esi, eax
mov edx, edi
mov eax, ebx
call fcn.0048e68c
test eax, eax
jne 0x4905ea
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490751
lea eax, [ebp - 0x15c]
mov edx, 0xa
call fcn.004041bc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004041bc
ret