joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461928
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 0x461ad3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x461ab4
mov dl, 1
mov eax, dword [0x4179e4]
call fcn.00403904
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004047e8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x461aa3
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.0044f910
test al, al
je 0x461a96
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, 0x461ae4
lea eax, [ebp - 0x254]
call fcn.0040a3d8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x461a96
xor eax, eax
push ebp
push 0x461a8f
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 0x461b1c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x461a78
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a58
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 0x461a78
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461a96
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x461999
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c55c
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 0x461ada
lea eax, [ebp - 0x260]
call fcn.004047e8
ret

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

Disassembly:
push ecx
mov eax, dword [0x495bec]
cmp byte [eax + 0xa5], 0
jne 0x462479
cmp dword [0x495c04], 0
jne 0x46243a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4623c4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x495c04], eax
cmp dword [0x495c00], 0
jne 0x462455
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x495c00], eax
cmp dword [0x495c08], 0
jne 0x462479
push esp
push 0
push 0
push 0x462368
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x495c08], eax
pop edx
ret
Function at 0x462570
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x462587
add esp, 0xfffffff0
call fcn.00403c58
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004209a4
mov eax, dword [0x494648]
cmp word [eax + 2], 0
jne 0x4625af
mov eax, dword [0x494648]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463c60
mov eax, dword [0x494768]
cmp word [eax + 2], 0
jne 0x4625c9
mov eax, dword [0x494768]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463e58
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417290]
call fcn.00403904
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417290]
call fcn.00403904
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 [0x422f48]
call fcn.0042a7b4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x462750
mov eax, dword [0x4944cc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042ab84
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4643f8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4944cc]
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.0040dddc
test eax, eax
je 0x4626be
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409db8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040de04
test eax, eax
je 0x4626d2
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.00404a58
mov eax, dword [0x4942e4]
cmp byte [eax], 0
jne 0x462706
mov eax, ebx
call fcn.00462878
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.004645d4
mov eax, ebx
call fcn.00464f98
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x462746
call fcn.00403cb0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462af8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x495bec]
cmp dword [eax + 0x30], 0
je 0x462ba2
cmp dword [ebx + 0x94], 0
jne 0x462b9c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x462a88
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x462b9c
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 0x462b62
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x462b9c
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.00419a64
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x462b71
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x463704
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 0x463739
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.004048d8
jmp 0x463746
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040483c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4647b0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4647f1
mov eax, esi
call fcn.0044af3c
test al, al
je 0x4647f1
mov eax, dword [ebx + 0x84]
call fcn.0044ac38
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4647f1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044ac38
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4790b4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x479225
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x479200
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.004049d0
lea eax, [ebp - 0x118]
mov edx, 0x47923c
call fcn.00404ab0
mov eax, dword [ebp - 0x118]
call fcn.00404ca8
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x479172
lea eax, [ebp - 0x111]
call fcn.00409d7c
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.004048d8
jmp 0x479179
mov eax, esi
call fcn.004047e8
cmp bl, 0x61
jae 0x47919a
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040dcb0
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.0040483c
jmp 0x4791b4
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040dc24
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.0040483c
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x479248
call fcn.0040a458
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.0040483c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479207
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x47e508
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c98
xor eax, eax
push ebp
push 0x47e56c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 4]
call fcn.0047e578
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.00409f68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e573
lea eax, [ebp - 4]
call fcn.004047e8
ret
Function at 0x47eab4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404c98
xor eax, eax
push ebp
push 0x47eba4
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov ax, word [esi + 8]
mov word [ebx + 8], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.0047e2ac
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x22], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov ax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409bc4
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0047f01c
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409aa8
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0047f090
xor eax, eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x40], 0
mov byte [ebx + 0x42], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ebab
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040480c
ret
Function at 0x47ebb4
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404c98
xor eax, eax
push ebp
push 0x47ecb4
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.0047e2ac
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
cmp dword [ebp - 4], 0
je 0x47ec7a
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409bc4
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0047f01c
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409aa8
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0047f090
jmp 0x47ec8c
xor edx, edx
mov eax, ebx
call fcn.0047f01c
xor edx, edx
mov eax, ebx
call fcn.0047f090
xor eax, eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x40], 0
mov byte [ebx + 0x42], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ecbb
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040480c
ret

Function at 0x484f98
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x148]
mov edx, ebx
mov eax, edi
call fcn.004851bc
mov esi, eax
mov dword [edi + 0x148], esi
and esi, 0xff
add dword [edi + 0x14c], esi
imul esi, dword [edi + 0x14c], 0x8088405
inc esi
mov dword [edi + 0x14c], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x150]
mov eax, edi
call fcn.004851bc
mov dword [edi + 0x150], eax
pop edi
pop esi
pop ebx
ret

Function at 0x48500c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x485031
inc esi
mov eax, edi
call fcn.00484ff0
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.00484f98
inc ebx
dec esi
jne 0x48501b
pop edi
pop esi
pop ebx
ret
Function at 0x4850c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404c98
xor eax, eax
push ebp
push 0x485135
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00485038
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.00484ff0
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.00484f98
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x485100
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48513c
lea eax, [ebp - 4]
call fcn.004047e8
ret
Function at 0x485af4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x485cc4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x485c80
mov eax, dword [ebp - 4]
call fcn.00487228
cmp ebx, eax
jge 0x485c80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
mov edx, ebx
call fcn.0047cc28
mov edx, dword [0x47e5bc]
call fcn.00403ae4
mov esi, eax
mov eax, esi
call fcn.0047efb0
test al, al
je 0x485c76
xor eax, eax
mov dword [ebp - 0x10], eax
mov edi, dword [esi + 0x3c]
test edi, edi
jne 0x485c6a
xor eax, eax
push ebp
push 0x485c63
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0048606c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
call fcn.0041c60c
mov dword [ebp - 0x10], eax
mov edx, dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
xor ecx, ecx
mov esi, dword [eax]
call dword [esi + 0x14]
lea edx, [ebp - 0x3e]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx edx, word [ebp - 0x22]
movzx eax, word [ebp - 0x20]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
mov cx, 1
mov esi, dword [eax]
call dword [esi + 0x14]
movzx esi, word [ebp - 0x1e]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00404e34
mov eax, dword [ebp - 8]
call fcn.00404d00
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x138]
mov al, byte [eax + 0x24]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00485e54
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x138]
mov dl, byte [ebp - 9]
mov byte [eax + 0x24], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485cae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x485c62
mov eax, dword [ebp - 4]
call fcn.004860f0
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00409f68
jmp 0x485cae
mov eax, dword [ebp - 8]
call fcn.004047e8
jmp 0x485cae
mov dword [ebp - 0x48], ebx
mov byte [ebp - 0x44], 0
lea eax, [ebp - 0x48]
push eax
push 0
lea edx, [ebp - 0x4c]
mov eax, 0xb3
call fcn.004094cc
mov ecx, dword [ebp - 0x4c]
mov dl, 1
mov eax, dword [0x417068]
call fcn.0040ce08
call fcn.00404184
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485ccb
lea eax, [ebp - 0x4c]
call fcn.004047e8
ret
Function at 0x48e364
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffae0
push ebx
xor edx, edx
mov dword [ebp - 0x520], edx
mov dword [ebp - 0x51c], edx
mov dword [ebp - 0x518], edx
mov dword [ebp - 0x514], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48e49f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x409], 0
lea eax, [ebp - 0x408]
push eax
push 0x3fe
call sub.kernel32.dll_GetLogicalDriveStringsA
test eax, eax
jne 0x48e3e1
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x514]
call fcn.0040c5c4
mov ecx, dword [ebp - 0x514]
mov dl, 1
mov eax, dword [0x407efc]
call fcn.0040cdcc
call fcn.00404184
lea ecx, [eax + 1]
lea edx, [ebp - 0x409]
lea eax, [ebp - 4]
call fcn.004048d8
lea edx, [ebp - 0x518]
mov eax, dword [ebp - 4]
call fcn.00408a54
mov edx, dword [ebp - 0x518]
lea eax, [ebp - 4]
call fcn.00404880
push 0x104
lea eax, [ebp - 0x50e]
push eax
mov eax, ebx
call fcn.00404ca8
push eax
call sub.kernel32.dll_GetShortPathNameA
test eax, eax
je 0x48e471
lea edx, [ebp - 0x50e]
lea ecx, [ebp - 8]
xchg ecx, eax
call fcn.004048d8
lea edx, [ebp - 0x51c]
mov eax, dword [ebp - 8]
call fcn.00408a54
mov edx, dword [ebp - 0x51c]
lea eax, [ebp - 8]
call fcn.00404880
push ebp
lea edx, [ebp - 0x520]
mov eax, dword [ebp - 8]
call fcn.0040daf8
mov eax, dword [ebp - 0x520]
call fcn.0048e038
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e4a6
lea eax, [ebp - 0x520]
mov edx, 4
call fcn.0040480c
lea eax, [ebp - 8]
call fcn.004047e8
lea eax, [ebp - 4]
call fcn.004047e8
ret
Function at 0x48e9e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
mov esi, 0x495ff4
xor eax, eax
push ebp
push 0x48eb62
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x495ff0]
mov eax, dword [eax + 0x310]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
push 0x48eb70
call sub.kernel32.dll_OutputDebugStringA
lea eax, [ebp - 4]
mov ecx, dword [esi]
mov edx, 0x48eba8
call fcn.00404af4
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0048e984
mov eax, dword [ebx + 0x324]
add eax, 0x58
mov edx, dword [esi]
call fcn.0040483c
cmp dword [0x49602c], 0
je 0x48eaa0
lea eax, [ebp - 8]
push eax
mov eax, dword [0x49602c]
call fcn.00404aa8
mov edx, eax
mov ecx, 1
mov eax, dword [0x49602c]
call fcn.00404d08
mov eax, dword [ebp - 8]
mov edx, 0x48ebc4
call fcn.00404bf4
je 0x48ea8c
mov eax, 0x49602c
mov edx, 0x48ebc4
call fcn.00404ab0
mov eax, esi
mov ecx, 0x48ebd0
mov edx, dword [0x49602c]
call fcn.00404af4
jmp 0x48eaef
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x495ffc]
call fcn.00404aa8
mov edx, eax
mov ecx, 1
mov eax, dword [0x495ffc]
call fcn.00404d08
mov eax, dword [ebp - 0xc]
mov edx, 0x48ebc4
call fcn.00404bf4
je 0x48eadd
mov eax, 0x495ffc
mov edx, 0x48ebc4
call fcn.00404ab0
mov eax, esi
mov ecx, 0x48ebec
mov edx, dword [0x495ffc]
call fcn.00404af4
mov al, byte [0x48ebf8]
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x48ec04
mov edx, 0x48ec10
mov eax, dword [esi]
call fcn.0040e41c
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.0040483c
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x14]
mov ecx, 0x48ec20
mov edx, dword [0x496020]
call fcn.00404af4
mov eax, dword [ebp - 0x14]
push eax
push 0
mov eax, 0x48df80
push eax
push 1
or ecx, 0xffffffff
mov dl, 1
mov eax, dword [0x48d010]
call fcn.0048d2a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48eb69
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.0040480c
ret
Function at 0x42c1b3
Capabilities:
Terminate process

Disassembly:
jmp 0x4426c0
jmp fcn.00455ae0
cmp ecx, dword [0x497240]
jne 0x4426ca
repz ret
jmp 0x42c663