Function at 0x415b39
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
xor ebx, ebx
cmp dword [0x442318], ebx
push esi
jne 0x415c67
lea eax, [ebp - 4]
mov esi, reloc.WS2_32.dll_bind
push eax
push 0x2001f
push ebx
push 0x432548
push esi
call dword [0x4422b8]
test eax, eax
jne 0x415bc4
mov ax, word [0x4397cc]
mov word [ebp - 6], ax
lea eax, [ebp - 6]
push eax
call fcn.00418970
pop ecx
push eax
lea eax, [ebp - 6]
push eax
push 1
push ebx
push 0x439670
push dword [ebp - 4]
call dword [0x44226c]
test eax, eax
je 0x415ba6
push 0x4397ac
jmp 0x415bab
push 0x439794
lea eax, [ebp - 0x220]
push eax
call fcn.00418f47
pop ecx
pop ecx
push dword [ebp - 4]
call dword [0x442224]
jmp 0x415bd7
lea eax, [ebp - 0x220]
push 0x439608
push eax
call fcn.00418f47
pop ecx
pop ecx
cmp dword [ebp + 0x14], ebx
jne 0x415bf6
push 1
lea eax, [ebp - 0x220]
push dword [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040a474
add esp, 0x14
lea eax, [ebp - 0x220]
push eax
call fcn.00405616
pop ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push ebx
push 0x432564
push esi
call dword [0x4422b8]
test eax, eax
jne 0x415c60
lea eax, [ebp - 8]
push 4
push eax
push 4
push ebx
push 0x4395f4
push dword [ebp - 4]
mov dword [ebp - 8], ebx
call dword [0x44226c]
test eax, eax
je 0x415c42
push 0x439758
jmp 0x415c47
push 0x439724
lea eax, [ebp - 0x220]
push eax
call fcn.00418f47
pop ecx
pop ecx
push dword [ebp - 4]
call dword [0x442224]
jmp 0x415c7a
push 0x4396ec
jmp 0x415c6c
push 0x439528
lea eax, [ebp - 0x220]
push eax
call fcn.00418f47
pop ecx
pop ecx
cmp dword [ebp + 0x14], ebx
jne 0x415c99
push 1
lea eax, [ebp - 0x220]
push dword [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040a474
add esp, 0x14
lea eax, [ebp - 0x220]
push eax
call fcn.00405616
cmp dword [0x442340], ebx
pop ecx
jne 0x415e0b
push edi
mov esi, 0x439408
mov edi, 0x200
push dword [esi + 4]
push dword [esi]
push ebx
call fcn.0040c386
add esp, 0xc
push dword [esi]
test eax, eax
jne 0x415cd8
push 0x4396d0
jmp 0x415cdd
push 0x4396ac
lea eax, [ebp - 0x220]
push edi
push eax
call fcn.00418916
add esp, 0x10
cmp dword [ebp + 0x14], ebx
jne 0x415d0c
push 1
lea eax, [ebp - 0x220]
push dword [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040a474
add esp, 0x14
lea eax, [ebp - 0x220]
push eax
call fcn.00405616
add esi, 8
pop ecx
cmp esi, 0x439418
jl 0x415cbd
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
test eax, eax
mov dword [ebp - 4], eax
mov bl, 0x41
je 0x415df3
mov eax, dword [ebp - 4]
and eax, 1
cmp al, 1
jne 0x415de8
cmp bl, 0x41
je 0x415de8
movsx esi, bl
push esi
push 0x4396a8
lea eax, [ebp - 0x14]
push 0xa
push eax
call fcn.00418916
push esi
push 0x4396a0
lea eax, [ebp - 0x20]
push 0xa
push eax
call fcn.00418916
add esp, 0x20
lea eax, [ebp - 0x20]
push eax
call dword [fcn.004422a8]
cmp eax, 3
jne 0x415de8
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
call fcn.0040c386
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x14]
push eax
jne 0x415da6
push 0x4396d0
jmp 0x415dab
push 0x4396ac
lea eax, [ebp - 0x220]
push edi
push eax
call fcn.00418916
add esp, 0x10
cmp dword [ebp + 0x14], 0
jne 0x415ddb
push 1
lea eax, [ebp - 0x220]
push dword [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040a474
add esp, 0x14
lea eax, [ebp - 0x220]
push eax
call fcn.00405616
pop ecx
inc bl
shr dword [ebp - 4], 1
jne 0x415d37
lea eax, [ebp - 0x220]
push 0x439680
push eax
call fcn.00418f47
pop ecx
xor ebx, ebx
pop ecx
pop edi
jmp 0x415e1e
lea eax, [ebp - 0x220]
push 0x439448
push eax
call fcn.00418f47
pop ecx
pop ecx
cmp dword [ebp + 0x14], ebx
jne 0x415e3c
push ebx
lea eax, [ebp - 0x220]
push dword [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040a474
add esp, 0x14
lea eax, [ebp - 0x220]
push eax
call fcn.00405616
pop ecx
push 1
pop eax
pop esi
pop ebx
leave
ret