Function at 0x437d80
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x489ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x437dc6
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ebx, dword [ebp + 8]
add ebx, 0x80
mov dword [esp + 0x68], 0
call fcn.0040abd0
lea ecx, [esp + 0x38]
push ecx
call fcn.0040a490
push 0
mov byte [esp + 0x6c], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
call edi
mov esi, eax
lea edx, [esi + 1]
push edx
call fcn.00446d76
add esp, 4
mov ebx, eax
push ebx
push esi
mov dword [esp + 0x3c], ebx
call edi
mov eax, ebx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x437e24
sub eax, esi
mov esi, eax
mov dword [esp + 0x18], esi
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x437e4f
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
test esi, esi
mov byte [esp + 0x68], 2
jbe 0x438009
test ebx, ebx
jne 0x437e74
xor eax, eax
jmp 0x437e8b
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x437e80
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0x24]
call fcn.004068a0
mov esi, dword [esp + 0x1c]
cmp dword [esi - 0xc], 0
jl 0x43808b
mov cl, byte [esi]
mov byte [esp + 0x20], cl
mov edx, dword [esp + 0x20]
push edx
call fcn.00414c30
add esp, 4
test eax, eax
je 0x437ed6
mov eax, dword [esp + 0x18]
lea ebx, [ebx + eax + 1]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x437ec8
jmp 0x437ffb
cmp dword [esi - 0xc], 0
jl 0x43808b
mov cl, byte [esi]
mov byte [esp + 0x24], cl
mov edx, dword [esp + 0x24]
push 0
push edx
lea eax, [esp + 0x38]
push eax
call fcn.004146b0
add esp, 0xc
push str.mi.dat
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x74], 3
call fcn.00406070
add esp, 0xc
mov byte [esp + 0x68], 4
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x437f74
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x437f66
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x437f66
push eax
call fcn.00406990
mov dword [esp + 0x2c], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x437f59
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x28]
add ecx, 0x10
mov dword [esp + 0x14], ecx
jmp 0x437f74
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004068a0
mov byte [esp + 0x68], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x437f99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x68], 2
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437fbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 6
jle 0x437fe5
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.0040a7d0
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x38]
push ecx
push edx
call fcn.0043db70
mov eax, dword [esp + 0x18]
lea ebx, [ebx + eax + 1]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x437ff2
sub eax, edx
test eax, eax
mov dword [esp + 0x18], eax
ja 0x437e6c
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00446d7b
mov byte [esp + 0x6c], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43803b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 0
call fcn.0040a510
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438071
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00401db0
int3