Function at 0x44596b
Capabilities:
Get disk information

Disassembly:
push ebp
sub esp, 0x464
lea ebp, [esp - 4]
mov eax, dword [0x4ff5d0]
xor eax, ebp
mov dword [ebp + 0x464], eax
push 0x88
mov eax, 0x4c43b5
call fcn.004943c6
mov edi, dword [ebp + 0x470]
mov esi, ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], edi
call fcn.00472090
lea eax, [ebp - 0x20]
push eax
xor ebx, ebx
push 0xb2
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0042703c
push 8
pop eax
push 0x103
mov word [edi], ax
lea eax, [ebp + 0x361]
push ebx
push eax
mov dword [edi + 8], ebx
mov byte [ebp + 0x360], bl
call fcn.00493d40
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0x19], 0xff
push 7
pop ecx
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x1fc]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x360]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x20]
jne 0x445a09
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x4c], 0x61
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
cmp eax, ebx
je 0x445d0d
lea ecx, [ebp + 0x360]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x445c35
cmp byte [ebp + 0x360], bl
je 0x445a5f
lea eax, [ebp + 0x360]
cmp byte [eax], 0x2f
jne 0x445a5a
mov byte [eax], 0x5c
inc eax
cmp byte [eax], bl
jne 0x445a52
lea eax, [ebp + 0x360]
push eax
call fcn.00494920
pop ecx
lea ecx, [ebp + 0x360]
cmp byte [eax + ecx - 1], 0x5c
je 0x445a88
mov eax, ecx
push 0x4d19a0
push eax
call fcn.00494830
pop ecx
pop ecx
push 2
lea eax, [ebp + 0x360]
push 0x4d95b8
push eax
call fcn.00497e6e
add esp, 0xc
test eax, eax
je 0x445c35
xor ecx, ecx
cmp byte [ebp + 0x360], bl
je 0x445c35
lea eax, [ebp + 0x360]
cmp byte [eax], 0x5c
jne 0x445ac0
inc ecx
inc eax
cmp byte [eax], bl
jne 0x445aba
cmp ecx, 1
jle 0x445c35
lea eax, [ebp + 0x360]
push eax
lea ecx, [ebp - 0x94]
call fcn.0047b440
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.0047b5d0
test eax, eax
jne 0x445c27
lea ecx, [ebp - 0x3c]
call fcn.0047c160
lea eax, [ebp + 0x360]
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.0047b9e0
lea ecx, [ebp - 0x3c]
call fcn.0047baa0
test eax, eax
je 0x445c1b
lea eax, [ebp + 0x360]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x445c1b
lea eax, [ebp + 0x360]
push eax
lea ecx, [ebp - 0x18]
call fcn.00472340
push 3
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00472b10
push 0x5dc
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00427363
test eax, eax
lea ecx, [ebp - 0x2c]
setns byte [ebp - 0xd]
mov byte [ebp - 4], 3
call fcn.00472320
cmp byte [ebp - 0xd], bl
jne 0x445c73
push str.1500
lea ecx, [esi + 0xfc]
call fcn.00472470
push 2
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x18]
call fcn.00472b10
push eax
lea ecx, [esi + 0xf4]
mov byte [ebp - 4], 5
call fcn.004723d0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00472320
push esi
lea ecx, [ebp]
call fcn.0041e2e3
push 8
push 0x462
lea ecx, [ebp]
mov byte [ebp - 4], 6
call fcn.0041fcce
mov byte [ebp - 4], 3
lea ecx, [ebp]
cmp eax, 8
jne 0x445d01
call fcn.0041fd2a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00472320
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0047b9b0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], bl
call fcn.0047b580
jmp 0x4459de
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0047b9b0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], bl
call fcn.0047b580
push esi
lea ecx, [ebp + 0x1b0]
call fcn.0041e2e3
push 2
push 0xb3
lea ecx, [ebp + 0x1b0]
mov byte [ebp - 4], 7
call fcn.0041fcce
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x1b0]
cmp eax, 3
jne 0x445d08
call fcn.0041fd2a
jmp 0x4459de
cmp byte [ebp - 0x11], 0xff
lea esi, [ebp - 0x18]
jne 0x445c7f
mov esi, dword [ebp - 0x18]
push ebx
push ebx
lea ecx, [ebp - 0x18]
call fcn.004720a0
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 - 0x24]
mov dword [ecx + 8], eax
lea ecx, [esi + esi]
push ecx
push ebx
push eax
call fcn.00493d40
add esp, 0xc
cmp byte [ebp - 0x11], 0xff
lea eax, [ebp - 0x18]
jne 0x445cbf
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
push esi
push dword [eax + 8]
lea ecx, [ebp - 0x18]
call fcn.004720a0
push eax
push dword [ebp - 0x28]
push ebx
push ebx
call edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00472320
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0047b9b0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], bl
call fcn.0047b580
jmp 0x445d0d
call fcn.0041fd2a
jmp 0x445cd9
call fcn.0041fd2a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00472320
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x464]
xor ecx, ebp
call fcn.00493f43
add ebp, 0x468
leave
ret 4