Function at 0x403560
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430416
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x439178]
xor eax, ebp
mov dword [ebp - 0x20], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x23c], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00404760
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00404760
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00404760
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], 0
jmp 0x4035d9
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1a
jae 0x40379f
mov word [ebp - 0x22c], 0
push 0x206
push 0
lea ecx, [ebp - 0x22a]
push ecx
call fcn.00416030
add esp, 0xc
mov edx, dword [ebp - 0x1c]
add edx, 0x41
push edx
push 0x434c54
lea eax, [ebp - 0x14]
push eax
call fcn.0040d030
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00406bf0
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea edx, [ebp - 0x22c]
push edx
lea ecx, [ebp - 0x18]
call fcn.00404860
lea ecx, [ebp - 0x18]
call fcn.00404b30
movzx eax, al
test eax, eax
jne 0x40379a
push 0
lea ecx, [ebp - 0x18]
call fcn.00406bf0
push eax
lea ecx, [ebp + 0xc]
call fcn.004048a0
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x40379a
lea ecx, [ebp + 0xc]
call fcn.00404b10
mov esi, eax
lea ecx, [ebp - 0x18]
call fcn.00404b10
sub esi, eax
push esi
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00404920
mov dword [ebp - 0x244], eax
mov edx, dword [ebp - 0x244]
mov dword [ebp - 0x248], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x248]
push eax
lea ecx, [ebp - 0x10]
call fcn.00404840
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x234]
call fcn.00404820
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x238]
push eax
call fcn.004049b0
add esp, 0xc
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x250], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x250]
push edx
lea ecx, [ebp - 0x10]
call fcn.00404840
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x238]
call fcn.00404820
lea ecx, [ebp - 0x10]
call fcn.00406bf0
push eax
mov ecx, dword [ebp - 0x240]
call fcn.00403530
test eax, eax
je 0x40378d
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404780
mov ecx, dword [ebp - 0x23c]
or ecx, 1
mov dword [ebp - 0x23c], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00404820
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00404820
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00404820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00404820
mov eax, dword [ebp + 8]
jmp 0x4037f0
push 0x434c48
lea ecx, [ebp - 0x10]
call fcn.00404860
jmp 0x4035d0
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404780
mov eax, dword [ebp - 0x23c]
or eax, 1
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00404820
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00404820
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00404820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00404820
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0041765d
mov esp, ebp
pop ebp
ret 8