joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a5f8
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 0x45a7a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45a784
mov dl, 1
mov eax, dword [0x41728c]
call fcn.00403d4c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404be8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45a773
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.00448514
test al, al
je 0x45a766
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, 0x45a7b4
lea eax, [ebp - 0x254]
call fcn.0040a8b0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45a766
xor eax, eax
push ebp
push 0x45a75f
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 0x45a7ec
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45a748
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404e58
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 0x45a748
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a766
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45a669
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041b23c
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 0x45a7aa
lea eax, [ebp - 0x260]
call fcn.00404be8
ret

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

Disassembly:
push ecx
mov eax, dword [0x4b4bb4]
cmp byte [eax + 0xa5], 0
jne 0x45b15d
cmp dword [0x4b4bcc], 0
jne 0x45b11e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45b0a8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b4bcc], eax
cmp dword [0x4b4bc8], 0
jne 0x45b139
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b4bc8], eax
cmp dword [0x4b4bd0], 0
jne 0x45b15d
push esp
push 0
push 0
push 0x45b04c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4b4bd0], eax
pop edx
ret
Function at 0x45b7f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b4bb4]
cmp dword [eax + 0x30], 0
je 0x45b89a
cmp dword [ebx + 0x94], 0
jne 0x45b894
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45b780
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45b894
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 0x45b85a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45b894
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.00419260
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45b869
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45c3f8
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 0x45c42d
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.00404cd8
jmp 0x45c43a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404c3c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45d604
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45d645
mov eax, esi
call fcn.00443bd4
test al, al
je 0x45d645
mov eax, dword [ebx + 0x84]
call fcn.004438d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45d645
push 0
mov eax, dword [ebx + 0x84]
call fcn.004438d0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x463b34
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x416634]
call fcn.004056dc
xor eax, eax
push ebp
push 0x463c78
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b0eb0], 0
jne 0x463b87
mov ecx, dword [0x4b2f04]
mov dl, 1
mov eax, dword [0x4082bc]
call fcn.0040d510
call fcn.004045e0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004035f4
mov eax, ebx
call fcn.00405478
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x463c88
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406830
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405488
test eax, eax
jle 0x463c1f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x463c18
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404e70
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404e58
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004091b8
test eax, eax
jne 0x463c18
mov ebx, 0x15
jmp 0x463c24
mov ebx, 0x10
jmp 0x463c24
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4b0eb0]
call fcn.00463a8c
mov eax, dword [ebp - 8]
call fcn.00463a8c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406848
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463c7f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404c0c
lea eax, [ebp - 0x10]
mov edx, dword [0x416634]
call fcn.004057ac
ret

Function at 0x473628
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4c5e58
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x47364a
shr eax, 1
xor eax, 0xedb88320
jmp 0x47364c
shr eax, 1
dec edx
jne 0x473638
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x473631
mov byte [0x4c6258], 1
pop esi
pop ebx
ret

Function at 0x473668
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4c6258], 0
jne 0x47367f
call fcn.00473628
mov eax, edi
dec eax
test eax, eax
jl 0x4736a8
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4c5e58]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x473689
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x47661c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x47664d
dec al
je 0x476689
dec al
je 0x4766cd
dec al
je 0x476738
jmp 0x4767c2
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4767c2
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x47665d
jmp 0x4767c2
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4767c2
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x476699
jmp 0x4767c2
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4767c2
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4766fb
xor ebp, ebp
jmp 0x47670c
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x476715
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4766dd
jmp 0x4767c2
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4767c2
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x476790
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004736b0
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x47674c
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x480970
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407ca0
ret

Function at 0x481140
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4811f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, pe_nt_image_headers32
call fcn.00402af8
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4811d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetLogicalDriveStringsA
test eax, eax
je 0x4811c1
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x4811b9
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404de0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
call fcn.0040a228
inc eax
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp byte [eax], 0
jne 0x481198
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4811de
mov eax, dword [ebp - 4]
call fcn.00402b28
ret

Function at 0x481200
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405098
xor eax, eax
push ebp
push 0x481284
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404ea8
dec eax
jne 0x481242
lea eax, [ebp - 4]
mov edx, 0x48129c
call fcn.00404eb0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004050a8
push eax
call sub.kernel32.dll_GetVolumeInformationA
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_SetErrorMode
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48128b
lea eax, [ebp - 4]
call fcn.00404be8
ret
Function at 0x4812a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4813dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [0x4b32a0]
mov edx, dword [edx]
call fcn.00404c3c
mov dl, 1
mov eax, dword [0x41728c]
call fcn.00403d4c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4813b8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.00481140
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4813a2
inc ebx
xor esi, esi
lea ecx, [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, 0x4813f4
mov eax, dword [ebp - 8]
call fcn.004090dc
test al, al
jne 0x48139a
mov edx, 0x481400
mov eax, dword [ebp - 8]
call fcn.004090dc
test al, al
jne 0x48139a
mov eax, dword [ebp - 8]
call fcn.004050a8
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x48139a
mov eax, dword [ebp - 8]
call fcn.00481200
test al, al
je 0x48139a
lea eax, [ebp - 8]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00405108
lea eax, [ebp - 0x10]
mov ecx, 0x48140c
mov edx, dword [ebp - 8]
call fcn.00404ef4
mov eax, dword [ebp - 0x10]
call fcn.00409c5c
test al, al
je 0x48139a
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404c3c
jmp 0x4813a2
inc esi
dec ebx
jne 0x48130d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4813bf
mov eax, dword [ebp - 0xc]
call fcn.00403d7c
ret
Function at 0x48142c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x481569
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [0x4b32a0]
mov edx, dword [edx]
call fcn.00404c3c
mov dl, 1
mov eax, dword [0x41728c]
call fcn.00403d4c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x481544
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.00481140
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x48152e
inc ebx
xor esi, esi
lea ecx, [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 8]
call fcn.004050a8
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x481526
mov eax, dword [ebp - 8]
call fcn.00481200
test al, al
je 0x481526
lea eax, [ebp - 8]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00405108
mov edx, 0x481580
mov eax, dword [ebp - 8]
call fcn.004090dc
test al, al
jne 0x481526
mov edx, 0x48158c
mov eax, dword [ebp - 8]
call fcn.004090dc
test al, al
jne 0x481526
lea eax, [ebp - 0x10]
mov ecx, 0x481598
mov edx, dword [ebp - 8]
call fcn.00404ef4
mov eax, dword [ebp - 0x10]
call fcn.00409c5c
test al, al
je 0x481526
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404c3c
jmp 0x48152e
inc esi
dec ebx
jne 0x481499
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48154b
mov eax, dword [ebp - 0xc]
call fcn.00403d7c
ret
Function at 0x4824d4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x48256a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.00402af8
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48254d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xfe
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
push ebx
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404de0
mov eax, dword [ebp - 8]
mov ecx, 1
mov edx, 1
call fcn.00405108
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482554
mov eax, dword [ebp - 4]
call fcn.00402b28
ret

Function at 0x482608
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 1], cl
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.00405098
xor eax, eax
push ebp
push 0x482740
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404be8
lea eax, [ebp - 0x10]
call fcn.00404be8
mov dl, 1
mov eax, dword [0x41728c]
call fcn.00403d4c
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x482716
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
call fcn.00481140
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4826ec
inc ebx
xor esi, esi
lea ecx, [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, 0x482758
mov eax, dword [ebp - 0x14]
call fcn.004090dc
test al, al
jne 0x4826e8
mov edx, 0x482764
mov eax, dword [ebp - 0x14]
call fcn.004090dc
test al, al
jne 0x4826e8
mov eax, dword [ebp - 0x14]
call fcn.004050a8
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, dword [ebp - 0xc]
jne 0x4826e8
mov eax, dword [ebp - 0x14]
call fcn.00481200
test al, al
je 0x4826e8
push ebp
mov eax, dword [ebp - 0x14]
call fcn.00482578
pop ecx
test al, al
je 0x4826e8
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.00404c80
jmp 0x4826ec
inc esi
dec ebx
jne 0x48267f
cmp dword [ebp - 0x10], 0
je 0x482700
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00404ef4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48271d
mov eax, dword [ebp - 0x18]
call fcn.00403d7c
ret
Function at 0x48360c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x48374a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [0x4b32a0]
mov edx, dword [edx]
call fcn.00404c3c
mov dl, 1
mov eax, dword [0x41728c]
call fcn.00403d4c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x483720
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.00481140
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x48370a
inc ebx
xor esi, esi
lea ecx, [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, 0x483760
mov eax, dword [ebp - 8]
call fcn.004090dc
test al, al
jne 0x483702
mov edx, 0x48376c
mov eax, dword [ebp - 8]
call fcn.004090dc
test al, al
jne 0x483702
mov eax, dword [ebp - 8]
call fcn.004050a8
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x483702
lea eax, [ebp - 0x14]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00405108
mov eax, dword [ebp - 0x14]
call fcn.00481200
test al, al
je 0x483702
lea eax, [ebp - 0xc]
mov ecx, 0x483778
mov edx, dword [ebp - 8]
call fcn.00404ef4
mov eax, dword [ebp - 0xc]
call fcn.00409c5c
test al, al
je 0x483702
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404c3c
jmp 0x48370a
inc esi
dec ebx
jne 0x483675
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483727
mov eax, dword [ebp - 0x10]
call fcn.00403d7c
ret
Function at 0x483794
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x4838d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [0x4b32a0]
mov edx, dword [edx]
call fcn.00404c3c
mov dl, 1
mov eax, dword [0x41728c]
call fcn.00403d4c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4838a8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.00481140
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x483892
inc ebx
xor esi, esi
lea ecx, [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, 0x4838e8
mov eax, dword [ebp - 8]
call fcn.004090dc
test al, al
jne 0x48388a
mov edx, 0x4838f4
mov eax, dword [ebp - 8]
call fcn.004090dc
test al, al
jne 0x48388a
mov eax, dword [ebp - 8]
call fcn.004050a8
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x48388a
lea eax, [ebp - 0x14]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00405108
mov eax, dword [ebp - 0x14]
call fcn.00481200
test al, al
je 0x48388a
lea eax, [ebp - 0xc]
mov ecx, 0x483900
mov edx, dword [ebp - 8]
call fcn.00404ef4
mov eax, dword [ebp - 0xc]
call fcn.00409c5c
test al, al
je 0x48388a
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404c3c
jmp 0x483892
inc esi
dec ebx
jne 0x4837fd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4838af
mov eax, dword [ebp - 0x10]
call fcn.00403d7c
ret