Function at 0x438953
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565a53
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x5d6c64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb8], ecx
and dword [ebp - 0x5c], 0
and dword [ebp - 0x58], 0
and dword [ebp - 0x34], 0
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
push 0x43
pop eax
mov word [ebp - 0x60], ax
xor eax, eax
mov word [ebp - 0x54], ax
xor eax, eax
lea edi, [ebp - 0x52]
stosw word es:[edi], ax
lea eax, [ebp - 0x91]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xbc], eax
and dword [ebp - 4], 0
push 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.00406660
mov dword [ebp - 4], 1
push 0x572090
lea ecx, [ebp - 0x7c]
call fcn.00404e60
mov byte [ebp - 4], 2
and dword [ebp - 0x80], 0
jmp 0x4389f5
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x14
jae 0x438b28
mov ax, word [ebp - 0x60]
mov word [ebp - 0x54], ax
xor eax, eax
mov word [ebp - 0x52], ax
lea ecx, [ebp - 0x2c]
call fcn.0041c7f4
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
mov dword [ebp - 0xb0], eax
push dword [ebp - 0xb0]
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00410870
push 0x572098
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
mov dword [ebp - 0xb4], eax
push dword [ebp - 0xb4]
push 0x572098
lea ecx, [ebp - 0x2c]
call fcn.00410870
cmp dword [ebp - 0x18], 8
jb 0x438a6e
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc0], eax
jmp 0x438a77
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xc0], eax
push dword [ebp - 0xc0]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 3
jne 0x438b17
push dword [ebp - 0x60]
mov ecx, dword [ebp - 0xb8]
call fcn.00438bd0
movzx eax, al
test eax, eax
jne 0x438b17
and dword [ebp - 0x30], 0
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x18], 8
jb 0x438ac4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc4], eax
jmp 0x438acd
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xc4], eax
push 0
push 0
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0xc4]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x438b17
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x58]
jb 0x438b17
ja 0x438af7
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x5c]
jbe 0x438b17
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x58], eax
push dword [0x5c0400]
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00406560
mov ax, word [ebp - 0x60]
add ax, 1
mov word [ebp - 0x60], ax
jmp 0x4389ee
lea eax, [ebp - 0x50]
push eax
call fcn.0041ebba
mov ecx, eax
call fcn.0041ef93
mov byte [ebp - 4], 3
push dword [0x5c0400]
push 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004074b0
cmp dword [ebp + 8], 0
je 0x438b6a
push dword [0x5c0400]
push 0
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406560
mov byte [ebp - 0x85], 1
mov byte [ebp - 4], 4
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.00406660
mov byte [ebp - 4], 2
mov byte [ebp - 4], 5
push 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.00406660
mov byte [ebp - 4], 1
mov dword [ebp - 4], 6
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00406660
or dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x85]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004610a0
leave
ret 4