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

Disassembly:
push 0x198
mov eax, 0x4b47e0
call fcn.004991ba
mov eax, dword [ebp + 8]
mov esi, edx
xor ebx, ebx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x150], ecx
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x14c], eax
mov word [esi + 4], cx
mov dword [ebp - 4], ebx
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx]
mov edx, dword [eax]
mov dword [ebp - 0x144], 1
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x130], ecx
mov edi, dword [eax + 0x18]
mov eax, dword [eax]
cmp dword [ebp - 0x134], ebx
je 0x418432
cmp dword [ebp - 0x134], eax
je 0x418437
call fcn.00497df5
cmp dword [ebp - 0x130], edi
je 0x418643
lea esi, [ebp - 0x134]
call fcn.00431223
movsx ax, byte [eax]
movzx eax, ax
push eax
push str._c:_
lea ecx, [ebp - 0x12c]
call fcn.0042f9b3
pop ecx
pop ecx
mov dword [ebp - 4], 1
xor eax, eax
cmp dword [ebp - 0x114], 8
lea edi, [ebp - 0x13c]
mov dword [ebp - 0x140], ebx
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x128]
jae 0x418493
lea eax, [ebp - 0x128]
push ebx
lea ecx, [ebp - 0x140]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
xor eax, eax
push 0xfe
mov word [ebp - 0x110], ax
lea eax, [ebp - 0x10e]
push ebx
push eax
call fcn.00499dd0
mov eax, dword [ebp - 0x128]
add esp, 0xc
cmp dword [ebp - 0x114], 8
jae 0x4184d6
lea eax, [ebp - 0x128]
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x80
lea ecx, [ebp - 0x110]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push dword [ebp - 0x13c]
lea eax, [ebp - 0x16c]
push dword [ebp - 0x140]
push eax
call fcn.0042e247
add esp, 0xc
push eax
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 2
call fcn.004011d5
pop ecx
mov byte [ebp - 4], 3
cmp dword [eax + 0x18], 8
jb 0x418529
mov edi, dword [eax + 4]
jmp 0x41852c
lea edi, [eax + 4]
lea esi, [ebp - 0x134]
call fcn.00431223
movsx eax, byte [eax]
push edi
lea ecx, [ebp - 0x110]
push ecx
push eax
push str._c:__s___s_
lea ecx, [ebp - 0x188]
call fcn.0042f9b3
add esp, 0x10
push 0xffffffffffffffff
push ebx
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x138]
push eax
call fcn.0040c7f8
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0x188]
call fcn.00403ead
push ebx
push edi
lea esi, [ebp - 0x1a4]
call fcn.00403ead
push ebx
push edi
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 1
call fcn.00403db0
lea esi, [ebp - 0x134]
call fcn.00431223
push dword [ebp - 0x13c]
movsx eax, byte [eax]
push dword [ebp - 0x140]
lea ecx, [ebp - 0x110]
push ecx
push eax
push str._c:_s:_lld
lea ecx, [ebp - 0x16c]
call fcn.0042f9b3
add esp, 0x14
mov dword [ebp - 0x148], eax
mov byte [ebp - 4], 5
call fcn.00431223
push eax
push dword [ebp - 0x150]
call fcn.004196f2
push 0xffffffffffffffff
push ebx
push eax
mov eax, dword [ebp - 0x148]
call fcn.00403dfb
push ebx
push edi
lea esi, [ebp - 0x16c]
mov byte [ebp - 4], 1
call fcn.00403ead
push 0x4c1a00
push dword [ebp - 0x138]
call fcn.0040c4c2
push ebx
push edi
lea esi, [ebp - 0x12c]
mov byte [ebp - 4], bl
call fcn.00403ead
lea esi, [ebp - 0x134]
call fcn.004104a9
mov eax, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x138]
jmp 0x41841d
mov eax, esi
call fcn.0049923d
ret