Function at 0x404e20
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x428edc
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x435c14]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
mov eax, dword [0x435c14]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov esi, ecx
push 0x42b7b3
lea ecx, [esp + 0x20]
call fcn.00402230
push 0x42bfc4
lea ecx, [esp + 0x14]
mov dword [esp + 0x240], 0
call fcn.00402230
mov ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
setne al
mov byte [esp + 0x23c], 1
test eax, eax
jne 0x404ea4
push 0x80004005
call fcn.00401ab0
mov eax, dword [esi + 0x78]
push ecx
push eax
call fcn.00415598
add esp, 8
test eax, eax
sete al
test al, al
je 0x404eca
push 3
push 0x42bc84
lea ecx, [esp + 0x18]
call fcn.00401fe0
push 0x100
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x34]
push eax
push 0x100
lea ecx, [esp + 0x148]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x404f18
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esi + 0x84]
push 0x42bfc0
push ecx
call fcn.00402180
add esp, 0xc
push 0x42b7b3
lea ecx, [esp + 0x18]
call fcn.00402230
mov eax, dword [esi + 0x90]
push 0
push 1
lea edx, [esp + 0x1c]
push edx
push ecx
sub eax, 0x10
mov bl, 2
mov dword [esp + 0x28], esp
mov edi, esp
push eax
mov byte [esp + 0x250], bl
call fcn.004036e0
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esi + 0x7c]
sub eax, 0x10
mov dword [esp + 0x34], esp
mov edi, esp
push eax
mov byte [esp + 0x254], 3
call fcn.004036e0
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov ecx, esi
mov byte [esp + 0x250], bl
call fcn.00404450
mov eax, dword [esi + 0x84]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov edi, esp
push eax
call fcn.004036e0
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00404ca0
mov eax, dword [eax]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404fc4
push 0x80004005
call fcn.00401ab0
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00415598
add esp, 8
test eax, eax
mov eax, dword [esp + 0x18]
sete bl
add eax, 0xfffffff0
or esi, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404ff9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 1
mov edx, esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test bl, bl
je 0x405073
test edx, edx
jg 0x405024
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40504b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x23c], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x40506f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x4050ce
test edx, edx
jg 0x405081
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4050a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x23c], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x4050cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00413ddb
add esp, 0x230
ret