Function at 0x43437d
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x470]
sub esp, 0x4f0
mov eax, dword [0x48e610]
xor eax, ebp
mov dword [ebp + 0x46c], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x478]
mov esi, ecx
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x10], edi
call fcn.0043f500
lea eax, [ebp - 0xc]
push eax
push 0xb2
mov ecx, esi
call fcn.0040e236
push 8
pop eax
xor ebx, ebx
push 0x103
mov word [edi], ax
lea eax, [ebp + 0x369]
push ebx
push eax
mov dword [edi + 8], ebx
mov byte [ebp + 0x368], bl
call fcn.0045f090
add esp, 0xc
xor eax, eax
cmp byte [ebp - 5], 0xff
push 7
pop ecx
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x2cc]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x368]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ebx
lea eax, [ebp - 0xc]
jne 0x43440f
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x38], 0x61
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
cmp eax, ebx
je 0x4346bc
lea ecx, [ebp + 0x368]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x4345f9
cmp byte [ebp + 0x368], bl
je 0x434465
lea eax, [ebp + 0x368]
cmp byte [eax], 0x2f
jne 0x434460
mov byte [eax], 0x5c
inc eax
cmp byte [eax], bl
jne 0x434458
lea eax, [ebp + 0x368]
push eax
call fcn.0045f9f0
pop ecx
lea ecx, [ebp + 0x368]
cmp byte [eax + ecx - 1], 0x5c
je 0x43448e
mov eax, ecx
push 0x47e754
push eax
call fcn.0045f6d0
pop ecx
pop ecx
push 2
lea eax, [ebp + 0x368]
push 0x481bb0
push eax
call fcn.00461fca
add esp, 0xc
test eax, eax
je 0x4345f9
xor ecx, ecx
cmp byte [ebp + 0x368], bl
je 0x4345f9
lea eax, [ebp + 0x368]
cmp byte [eax], 0x5c
jne 0x4344c6
inc ecx
inc eax
cmp byte [eax], bl
jne 0x4344c0
cmp ecx, 1
jle 0x4345f9
lea eax, [ebp + 0x368]
push eax
lea ecx, [ebp - 0x80]
call fcn.004487d0
lea ecx, [ebp - 0x80]
call fcn.00448960
test eax, eax
jne 0x4345f1
lea ecx, [ebp - 0x28]
call fcn.00449510
lea eax, [ebp + 0x368]
push eax
lea ecx, [ebp - 0x28]
call fcn.00448d90
lea ecx, [ebp - 0x28]
call fcn.00448e50
test eax, eax
je 0x4345e9
lea eax, [ebp + 0x368]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x4345e9
lea eax, [ebp + 0x368]
push eax
lea ecx, [ebp - 4]
call fcn.0043f7b0
push 0x5dc
push 3
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 4]
call fcn.0043ff80
push eax
mov ecx, esi
call fcn.0040e451
test eax, eax
lea ecx, [ebp - 0x18]
setns byte [ebp + 7]
call fcn.0043f790
cmp byte [ebp + 7], bl
jne 0x434630
push str.1500
lea ecx, [esi + 0x290]
call fcn.0043f8e0
push 2
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 4]
call fcn.0043ff80
push eax
lea ecx, [esi + 0x288]
call fcn.0043f840
lea ecx, [ebp - 0x50]
call fcn.0043f790
push esi
lea ecx, [ebp + 8]
call fcn.00409d06
push 8
push 0x462
lea ecx, [ebp + 8]
call fcn.00409cbb
lea ecx, [ebp + 8]
cmp eax, 8
jne 0x4346b0
call fcn.00409de0
lea ecx, [ebp - 4]
call fcn.0043f790
lea ecx, [ebp - 0x28]
call fcn.00448d60
lea ecx, [ebp - 0x80]
call fcn.00448840
jmp 0x4343e4
lea ecx, [ebp - 0x28]
call fcn.00448d60
lea ecx, [ebp - 0x80]
call fcn.00448840
push esi
lea ecx, [ebp + 0x1b8]
call fcn.00409d06
push 2
push 0xb3
lea ecx, [ebp + 0x1b8]
call fcn.00409cbb
lea ecx, [ebp + 0x1b8]
cmp eax, 3
jne 0x4346b7
call fcn.00409de0
jmp 0x4343e4
cmp byte [ebp + 3], 0xff
lea esi, [ebp - 4]
jne 0x43463c
mov esi, dword [ebp - 4]
push ebx
push ebx
lea ecx, [ebp - 4]
call fcn.0043f510
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push esi
push ebx
push ebx
call edi
mov esi, eax
push esi
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
lea ecx, [esi + esi]
push ecx
push ebx
push eax
call fcn.0045f090
add esp, 0xc
cmp byte [ebp + 3], 0xff
lea eax, [ebp - 4]
jne 0x43467c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push esi
push dword [eax + 8]
lea ecx, [ebp - 4]
call fcn.0043f510
push eax
push dword [ebp - 0x14]
push ebx
push ebx
call edi
lea ecx, [ebp - 4]
call fcn.0043f790
lea ecx, [ebp - 0x28]
call fcn.00448d60
lea ecx, [ebp - 0x80]
call fcn.00448840
jmp 0x4346bc
call fcn.00409de0
jmp 0x434696
call fcn.00409de0
lea ecx, [ebp - 0xc]
call fcn.0043f790
mov ecx, dword [ebp + 0x46c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045f4ee
add ebp, 0x470
leave
ret 4