Function at 0x415fbe
Capabilities:
Get disk information
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d2ed9
mov eax, dword fs:[0]
push eax
sub esp, 0x348
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x344], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x518450]
xor eax, esp
push eax
lea eax, [esp + 0x35c]
mov dword fs:[0], eax
mov byte [esp + 0x17], dl
mov ebx, ecx
mov edi, dword [esp + 0x36c]
mov esi, dword [sym.imp.USER32.dll_CheckDlgButton]
movzx eax, byte [edi + 0x17]
and eax, 1
push eax
push 5
push ebx
call esi
mov eax, dword [edi + 0x14]
shr eax, 0x1f
push eax
push 8
push ebx
call esi
xor eax, eax
xor esi, esi
push 0x1fe
mov word [esp + 0x15c], ax
lea eax, [esp + 0x15e]
push esi
push eax
call fcn.004bf040
add esp, 0xc
push 0x32
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x1839473
mov edx, 0x10517405
mov ecx, 0x96c09fe6
mov ebx, eax
call fcn.0040198e
pop ecx
mov edx, eax
mov ecx, ebx
call fcn.00414c22
lea eax, [esp + 0xac]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [esp + 0x17], 0
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
je 0x41627a
push 0x10024
push esi
push 0x1036
push ebx
call ebp
push 0xa
pop ecx
xor eax, eax
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov ecx, dword [0x52aa50]
lea eax, [esp + 0x158]
mov edi, 0x100
mov dword [esp + 0x70], 6
push edi
push eax
push 0x1d
mov dword [esp + 0x84], 0x32
call fcn.0042126e
test eax, eax
jne 0x4160fd
movzx edx, word [0x51f94a]
lea eax, [esp + 0x158]
push edi
push eax
xor edx, 0x9191
mov ecx, 0x51f94c
call fcn.00412903
pop ecx
pop ecx
lea eax, [esp + 0x158]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x70]
push eax
push esi
push 0x1061
push ebx
call ebp
mov ecx, dword [0x52aa50]
lea eax, [esp + 0x158]
push edi
push eax
push 0x1e
mov dword [esp + 0x84], 0x64
call fcn.0042126e
test eax, eax
jne 0x41615d
movzx edx, word [0x51f958]
lea eax, [esp + 0x158]
push edi
push eax
xor edx, 0x9191
mov ecx, 0x51f95a
call fcn.00412903
pop ecx
pop ecx
lea eax, [esp + 0x70]
push eax
push 1
push 0x1061
push ebx
call ebp
mov eax, dword [esp + 0xb4]
sub eax, dword [esp + 0xac]
mov ecx, dword [0x52aa50]
sub eax, 0x190
mov dword [esp + 0x78], eax
lea eax, [esp + 0x158]
push edi
push eax
push 0x1f
call fcn.0042126e
test eax, eax
jne 0x4161bf
movzx edx, word [0x51f968]
lea eax, [esp + 0x158]
push edi
push eax
xor edx, 0x9191
mov ecx, 0x51f96a
call fcn.00412903
pop ecx
pop ecx
lea eax, [esp + 0x70]
push eax
push 2
push 0x1061
push ebx
call ebp
mov ecx, dword [0x52aa50]
lea eax, [esp + 0x158]
push edi
push eax
push 0x20
mov dword [esp + 0x84], 0x64
call fcn.0042126e
test eax, eax
jne 0x416215
movzx edx, word [0x51f97a]
lea eax, [esp + 0x158]
push edi
push eax
xor edx, 0x9191
mov ecx, 0x51f97c
call fcn.00412903
pop ecx
pop ecx
lea eax, [esp + 0x70]
push eax
push 3
push 0x1061
push ebx
call ebp
mov ecx, dword [0x52aa50]
lea eax, [esp + 0x158]
push edi
push eax
push 0x68
mov dword [esp + 0x84], 0x96
call fcn.0042126e
test eax, eax
jne 0x41626b
movzx edx, word [0x5202c8]
lea eax, [esp + 0x158]
push edi
push eax
xor edx, 0x9191
mov ecx, 0x5202ca
call fcn.00412903
pop ecx
pop ecx
lea eax, [esp + 0x70]
push eax
push 4
push 0x1061
push ebx
call ebp
push esi
push esi
push 0x1009
push ebx
call ebp
push 0x38
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.004bf040
add esp, 0xc
mov dword [esp + 0x38], esi
lea eax, [esp + 0x158]
mov dword [esp + 0x34], 1
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
xor edx, edx
inc edx
shl edx, cl
test eax, edx
je 0x416515
lea edx, [ecx + 0x41]
movzx eax, dl
mov eax, dword [eax*4 + 0x52aa34]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x416511
mov dword [esp + 0x18], esi
lea ecx, [eax + 0x251]
lea esi, [esp + 0x18]
mov dword [esp + 0x24], ecx
push esi
push ecx
mov ecx, dword [0x52aa58]
add eax, 0x248
push eax
push edx
mov dword [esp + 0x40], eax
call fcn.0040e676
mov edi, dword [esp + 0x1c]
mov esi, edi
mov ecx, dword [esp + 0x38]
and esi, 0xfff
shl ecx, 0xc
or esi, ecx
mov dword [esp + 0x28], eax
mov ecx, eax
shl esi, 4
and ecx, 1
or esi, ecx
lea ecx, [esp + 0xbc]
call fcn.00423fcd
and dword [esp + 0x364], 0
lea ecx, [esp + 0xbc]
push edi
call fcn.0042479a
test al, al
je 0x4163a6
push 0x40
lea eax, [esp + 0x11c]
push eax
push 0
push 0x10d
lea ecx, [esp + 0xcc]
call fcn.00447bfc
test al, al
je 0x41639a
mov eax, 0xd01
cmp word [esp + 0x120], ax
jne 0x41639a
movzx eax, byte [esp + 0x124]
and esi, 0xfffffffd
shr eax, 1
and eax, 1
or eax, 2
add eax, eax
or esi, eax
lea ecx, [esp + 0xbc]
call fcn.00424059
mov eax, dword [esp + 0x18]
mov edx, esi
mov ecx, eax
shr edx, 1
shr eax, 2
and edx, 1
and eax, 1
mov dword [esp + 0x34], 5
and cl, 2
push 0x3a
cmovne edx, eax
and dword [esp + 0x40], 0
lea eax, [edi + 0x41]
shl edx, 3
mov word [esp + 0x15c], ax
xor edx, esi
pop eax
mov word [esp + 0x15a], ax
xor edi, edi
xor eax, eax
and edx, 8
mov word [esp + 0x15c], ax
xor esi, edx
lea eax, [esp + 0x34]
mov dword [esp + 0x18], esi
push eax
push edi
push 0x104d
push ebx
mov dword [esp + 0x64], esi
call ebp
cmp dword [esp + 0x28], edi
mov esi, eax
mov eax, 0x2000
mov dword [esp + 0x80], 0xf000
mov ecx, 0x1000
cmovne ecx, eax
lea eax, [esp + 0x70]
push eax
push esi
push 0x102b
push ebx
mov dword [esp + 0x8c], ecx
call ebp
inc dword [esp + 0x3c]
lea eax, [esp + 0x158]
push 0x100
push eax
push 0xffffffffffffffff
push dword [esp + 0x3c]
mov dword [esp + 0x44], 1
push edi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call edi
lea eax, [esp + 0x34]
push eax
push esi
push 0x104c
push ebx
call ebp
inc dword [esp + 0x3c]
lea eax, [esp + 0x158]
push 0x100
push eax
push 0xffffffffffffffff
push dword [esp + 0x30]
push 0
push 0
call edi
lea eax, [esp + 0x34]
push eax
push esi
push 0x104c
push ebx
call ebp
inc dword [esp + 0x3c]
lea eax, [esp + 0x158]
push 0x100
push eax
push 0xffffffffffffffff
mov eax, dword [esp + 0x38]
add eax, 0x262
push eax
push 0
push 0
call edi
lea eax, [esp + 0x34]
mov edi, 0x104c
push eax
push esi
push edi
push ebx
call ebp
inc dword [esp + 0x3c]
lea edx, [esp + 0x158]
lea ecx, [esp + 0x18]
call fcn.00418a94
lea eax, [esp + 0x34]
push eax
push esi
push edi
push ebx
call ebp
inc dword [esp + 0x38]
lea ecx, [esp + 0xbc]
or dword [esp + 0x364], 0xffffffff
call fcn.00423ffa
mov ecx, dword [esp + 0x1c]
xor esi, esi
mov eax, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, 0x1a
jl 0x4162bb
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x200000
je 0x416582
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
lea edi, [esp + 0x74]
push 0xa
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
push 5
mov dword [esp + 0x74], 2
call esi
mov edi, dword [esp + 0xb4]
sub edi, dword [esp + 0xac]
push 2
sub edi, eax
call esi
sub edi, eax
lea eax, [esp + 0x70]
push eax
push 2
push 0x1060
sub edi, 0xfa
push ebx
mov dword [esp + 0x88], edi
call ebp
push 2
pop eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x124], eax
lea eax, [esp + 0x118]
push eax
push 0
push 0x102b
push ebx
call ebp
mov ecx, dword [esp + 0x35c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x344]
xor ecx, esp
call fcn.004b9a6c
add esp, 0x354
ret