Function at 0x636400
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x70fa82
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x74]
xor eax, eax
mov dword [esp + 0x6c], 0
mov ecx, 0x87f4c0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
xchg dword [ecx], eax
cmp dword [0x87f4c4], 0
jne 0x6364b2
push 7
xor eax, eax
mov dword [esp + 0x58], 7
push str.mpr.dll
lea ecx, [esp + 0x48]
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
call fcn.00419290
mov dword [esp + 0x58], 0
mov eax, 1
mov dword [esp + 0x6c], 1
mov dword [esp + 0x18], eax
mov ecx, 0x87f4c4
push 2
lea eax, [esp + 0x44]
push eax
call fcn.006154c0
mov byte [esp + 0x17], 1
test al, al
jne 0x6364b7
mov byte [esp + 0x17], 0
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.MSVCR120.dll_free]
mov dword [esp + 0x6c], 0
test al, 1
je 0x636507
push dword [esp + 0x58]
and eax, 0xfffffffe
mov dword [esp + 0x1c], eax
call esi
add esp, 4
cmp dword [esp + 0x54], 8
jb 0x6364f0
push dword [esp + 0x40]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
cmp byte [esp + 0x17], 0
je 0x63665c
push 0xd
xor eax, eax
mov dword [esp + 0x38], 7
push str.WNetOpenEnumW
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
call fcn.00419290
mov dword [esp + 0x38], 0
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x70], 2
push eax
mov ecx, 0x87f4c4
call fcn.00615190
push dword [esp + 0x38]
mov dword [0x87f4c8], eax
mov byte [esp + 0x70], 0
call esi
add esp, 4
cmp dword [esp + 0x34], 8
jb 0x636580
push dword [esp + 0x20]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0x11
xor eax, eax
mov dword [esp + 0x38], 7
push str.WNetEnumResourceW
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
call fcn.00419290
mov dword [esp + 0x38], 0
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x70], 3
push eax
mov ecx, 0x87f4c4
call fcn.00615190
push dword [esp + 0x38]
mov dword [0x87f4cc], eax
mov byte [esp + 0x70], 0
call esi
add esp, 4
cmp dword [esp + 0x34], 8
jb 0x6365ee
push dword [esp + 0x20]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0xd
xor eax, eax
mov dword [esp + 0x38], 7
push str.WNetCloseEnum
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
call fcn.00419290
mov dword [esp + 0x38], 0
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x70], 4
push eax
mov ecx, 0x87f4c4
call fcn.00615190
push dword [esp + 0x38]
mov dword [0x87f4d0], eax
mov byte [esp + 0x70], 0
call esi
add esp, 4
cmp dword [esp + 0x34], 8
jb 0x63665c
push dword [esp + 0x20]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0
mov ecx, ebx
call fcn.005d94a0
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
or eax, 2
push 0
push 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x20], eax
call edi
mov esi, eax
xor ecx, ecx
mov edx, 2
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006cff38
add esp, 4
mov ebp, eax
push ebp
push esi
call edi
cmp word [ebp], 0
mov esi, ebp
je 0x6366ea
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push esi
push ebx
call fcn.00635e10
mov eax, esi
add esp, 0x10
lea edx, [eax + 2]
jmp 0x6366d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6366d0
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2]
add esi, 2
cmp word [esi], cx
jne 0x6366b1
push ebp
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
add esp, 4
test byte [esp + 0x7c], 8
jne 0x6367ac
test byte [esp + 0x78], 2
jne 0x6367ac
push 0
lea ecx, [esp + 0x24]
call fcn.005d94a0
push dword [esp + 0x7c]
lea eax, [esp + 0x24]
mov dword [esp + 0x70], 5
push dword [esp + 0x7c]
push 0
push eax
call fcn.006351e0
add esp, 0x10
test al, al
je 0x63679e
mov eax, dword [esp + 0x24]
xor esi, esi
test eax, eax
je 0x63679e
xor edi, edi
cmp dword [0x82e960], 0
je 0x636782
cmp esi, eax
jb 0x636782
push str.wxArrayString:_index_out_of_bounds
push str.nIndex___m_nCount
push str.wxArrayString::Item
push 0xb2
push str.C:SourceSvn_trunk_tools_sourcewxWidgets_3.0includewx_arrstr.h
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x636782
mov byte [0x87c8e0], 0
int3
mov eax, dword [esp + 0x28]
mov ecx, ebx
push 1
add eax, edi
push eax
call fcn.005d8e70
mov eax, dword [esp + 0x24]
inc esi
add edi, 0x20
cmp esi, eax
jb 0x636743
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 0
call fcn.005d8cf0
mov eax, ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x5c
ret