Function at 0x4044e4
Capabilities:
Get disk information

Disassembly:
push 0x30
mov eax, 0x46d6a0
call fcn.004550bc
mov esi, ecx
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, dword [esi + 0x5c]
mov byte [ebp - 0xd], bl
jne 0x404558
mov edi, 0x1f4
push edi
lea eax, [esi + 0x60]
push ebx
push eax
call fcn.00457260
add esp, 0xc
push ebx
push dword [ebp + 8]
mov ecx, esi
call fcn.00403f27
lea eax, [esi + 0x60]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea edi, [esi + 0x60]
cmp byte [edi], bl
je 0x40477d
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push dword [esi + 0x5c]
mov ecx, esi
push edi
call fcn.00403e53
push edi
call fcn.00454b40
lea edi, [edi + eax + 1]
cmp byte [edi], bl
pop ecx
jne 0x404533
jmp 0x404798
call fcn.00442144
push eax
lea ecx, [ebp - 0x14]
call fcn.0040132d
mov dword [ebp - 4], ebx
call fcn.00442144
push eax
lea ecx, [ebp - 0x18]
call fcn.0040132d
push edi
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 1
call fcn.00401464
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.00404209
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040170c
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.004010af
push ebx
push edi
mov ecx, esi
call fcn.00403f27
push 0x47870c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040177e
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0040170c
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.004010af
lea ecx, [ebp - 0x3c]
call fcn.0044c73a
push ebx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.0044c7c6
test eax, eax
je 0x4046ab
lea ecx, [ebp - 0x3c]
call fcn.0044c453
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x3c]
push 0x10
lea ecx, [ebp - 0x3c]
call dword [eax + 0x38]
test eax, eax
je 0x4046a2
lea ecx, [ebp - 0x3c]
call fcn.0044c701
test eax, eax
jne 0x4046a2
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0xd], 1
call fcn.0044c9f5
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 5
call fcn.00404124
add esp, 0xc
mov eax, dword [eax]
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push dword [ebp + 8]
mov ecx, esi
push eax
mov byte [ebp - 4], 6
call fcn.00403e53
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov edi, eax
call fcn.004010af
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.004010af
push 0xffff0002
push edi
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x477979
push 1
mov ecx, esi
call fcn.00449535
cmp dword [ebp - 0x24], ebx
jne 0x40460c
push ebx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
call fcn.0044c7c6
cmp eax, ebx
je 0x404752
lea ecx, [ebp - 0x3c]
call fcn.0044c453
mov edi, eax
mov eax, dword [ebp - 0x3c]
push 0x10
lea ecx, [ebp - 0x3c]
call dword [eax + 0x38]
test eax, eax
jne 0x40474a
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
lea ecx, [ebp - 0x3c]
call fcn.0044c9f5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x134]
cmp al, bl
je 0x40474a
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0xd], 1
call fcn.0044c9f5
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 7
call fcn.00404124
add esp, 0xc
mov eax, dword [eax]
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push dword [ebp + 8]
mov ecx, esi
push eax
mov byte [ebp - 4], 8
call fcn.00403e53
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004010af
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.004010af
cmp edi, ebx
jne 0x4046bf
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0044c75e
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004010af
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004010af
cmp byte [ebp - 0xd], bl
jne 0x404798
push 0xffff0002
push dword [ebp + 8]
mov ecx, esi
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x477979
push 1
call fcn.00449535
call fcn.0045515b
ret 4