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

Disassembly:
push 0xffffffffffffffff
push 0x4d28ee
mov eax, dword fs:[0]
push eax
sub esp, 0x348
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x344], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517490]
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.004bea90
add esp, 0xc
push 0x32
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x7bdbb2a6
mov edx, 0xb6466641
mov ecx, 0xe3854a0d
mov ebx, eax
call fcn.0040180b
pop ecx
mov edx, eax
mov ecx, ebx
call fcn.00414850
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 0x415ea8
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 [0x529a90]
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.00420e3f
test eax, eax
jne 0x415d2b
movzx edx, word [0x51e97a]
lea eax, [esp + 0x158]
push edi
push eax
xor edx, 0x2525
mov ecx, 0x51e97c
call fcn.00412531
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 [0x529a90]
lea eax, [esp + 0x158]
push edi
push eax
push 0x1e
mov dword [esp + 0x84], 0x64
call fcn.00420e3f
test eax, eax
jne 0x415d8b
movzx edx, word [0x51e988]
lea eax, [esp + 0x158]
push edi
push eax
xor edx, 0x2525
mov ecx, 0x51e98a
call fcn.00412531
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 [0x529a90]
sub eax, 0x190
mov dword [esp + 0x78], eax
lea eax, [esp + 0x158]
push edi
push eax
push 0x1f
call fcn.00420e3f
test eax, eax
jne 0x415ded
movzx edx, word [0x51e998]
lea eax, [esp + 0x158]
push edi
push eax
xor edx, 0x2525
mov ecx, 0x51e99a
call fcn.00412531
pop ecx
pop ecx
lea eax, [esp + 0x70]
push eax
push 2
push 0x1061
push ebx
call ebp
mov ecx, dword [0x529a90]
lea eax, [esp + 0x158]
push edi
push eax
push 0x20
mov dword [esp + 0x84], 0x64
call fcn.00420e3f
test eax, eax
jne 0x415e43
movzx edx, word [0x51e9aa]
lea eax, [esp + 0x158]
push edi
push eax
xor edx, 0x2525
mov ecx, 0x51e9ac
call fcn.00412531
pop ecx
pop ecx
lea eax, [esp + 0x70]
push eax
push 3
push 0x1061
push ebx
call ebp
mov ecx, dword [0x529a90]
lea eax, [esp + 0x158]
push edi
push eax
push 0x68
mov dword [esp + 0x84], 0x96
call fcn.00420e3f
test eax, eax
jne 0x415e99
movzx edx, word [0x51f2fa]
lea eax, [esp + 0x158]
push edi
push eax
xor edx, 0x2525
mov ecx, 0x51f2fc
call fcn.00412531
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.004bea90
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 0x416143
lea edx, [ecx + 0x41]
movzx eax, dl
mov eax, dword [eax*4 + 0x529a6c]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x41613f
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 [0x529a98]
add eax, 0x248
push eax
push edx
mov dword [esp + 0x40], eax
call fcn.0040e2e2
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.00423b5c
and dword [esp + 0x364], 0
lea ecx, [esp + 0xbc]
push edi
call fcn.004242c5
test al, al
je 0x415fd4
push 0x40
lea eax, [esp + 0x11c]
push eax
push 0
push 0x10d
lea ecx, [esp + 0xcc]
call fcn.004477fa
test al, al
je 0x415fc8
mov eax, 0xd01
cmp word [esp + 0x120], ax
jne 0x415fc8
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.00423be8
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.004186bf
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.00423b89
mov ecx, dword [esp + 0x1c]
xor esi, esi
mov eax, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, 0x1a
jl 0x415ee9
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x200000
je 0x4161b0
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.004b94b6
add esp, 0x354
ret