Function at 0x4751c4
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x4751cc
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x47594c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x19], 1
lea eax, [esi + 0x30]
mov edx, 0x47596c
call fcn.00407064
lea eax, [esi + 0x2c]
mov edx, 0x475984
call fcn.00407064
cmp dword [esi + 0x1c], 0
jle 0x4752bc
lea ecx, [ebp - 0x14]
mov edx, 0x4759a8
mov eax, dword [0x49c698]
call fcn.0046acbc
lea ecx, [ebp - 0x18]
mov edx, 0x4759c4
mov eax, dword [0x49c698]
call fcn.0046acbc
push 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004070f0
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov eax, dword [esi + 0x1c]
cdq
push edx
push eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
shrd eax, edx, 0x14
shr edx, 0x14
cmp edx, dword [esp + 4]
jne 0x47526f
cmp eax, dword [esp]
pop edx
pop eax
jae 0x475277
jmp 0x475907
pop edx
pop eax
jl 0x475907
push 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x18]
call fcn.004070f0
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov eax, dword [esi + 0x1c]
cdq
push edx
push eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
shrd eax, edx, 0x14
shr edx, 0x14
cmp edx, dword [esp + 4]
jne 0x4752b4
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4752bc
jmp 0x475907
pop edx
pop eax
jl 0x475907
lea eax, [esi + 0x2c]
mov edx, 0x4759ec
call fcn.00407064
cmp byte [esi + 0x20], 0
je 0x4752dc
call fcn.00451a10
test al, al
je 0x475907
lea eax, [esi + 0x2c]
mov edx, 0x475a0c
call fcn.00407064
mov ebx, dword [esi + 0x24]
test ebx, ebx
je 0x4752fd
call fcn.00451a20
cmp ebx, eax
jg 0x475907
lea eax, [esi + 0x2c]
mov edx, 0x475a28
call fcn.00407064
mov eax, dword [esi + 0x28]
call fcn.00408874
test eax, eax
jle 0x475384
xor ebx, ebx
mov eax, dword [esi + 0x28]
call fcn.00408874
dec eax
test eax, eax
jl 0x47536a
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], 0
push ebp
mov eax, dword [esi + 0x28]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4]
lea edx, [ebp - 0x50]
call fcn.0040f5a8
mov eax, dword [ebp - 0x50]
call fcn.00475040
pop ecx
push ebp
mov eax, dword [ebp - 4]
call fcn.004750e0
call fcn.004750d4
pop ecx
test al, al
je 0x475362
mov bl, 1
jmp 0x47536a
inc dword [ebp - 0x20]
dec dword [ebp - 0x40]
jne 0x475330
test bl, bl
jne 0x475384
lea eax, [esi + 0x30]
mov edx, dword [0x49c698]
mov edx, dword [edx + 0x7c]
call fcn.00407064
jmp 0x475907
cmp word [ebp + 0xa], 0
jne 0x475395
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], 0x475b68
lea eax, [esi + 0x2c]
mov edx, 0x475a3c
call fcn.00407064
mov byte [ebp - 0x39], 1
mov byte [ebp - 0x3a], 0
mov eax, dword [esi]
call fcn.0040887c
test eax, eax
jl 0x47541c
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], 0
push ebp
push 0xffffffffffffffff
lea eax, [ebp - 0x54]
push eax
mov eax, dword [esi]
mov edx, dword [ebp - 0x20]
mov edx, dword [eax + edx*4]
lea ecx, [ebp - 0x54]
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
mov eax, dword [ebp - 0x54]
call fcn.00475040
pop ecx
push ebp
mov eax, dword [ebp - 4]
call fcn.00453b60
call fcn.004750d4
pop ecx
test al, al
je 0x475410
lea eax, [esi + 0x30]
mov edx, dword [esi]
mov ecx, dword [ebp - 0x20]
mov edx, dword [edx + ecx*4]
call fcn.00407064
mov byte [ebp - 0x3a], 1
cmp byte [esi + 0x14], 0
je 0x47541c
jmp 0x475414
mov byte [ebp - 0x39], 0
inc dword [ebp - 0x20]
dec dword [ebp - 0x40]
jne 0x4753c0
cmp byte [ebp - 0x39], 0
je 0x475435
cmp byte [esi + 0x14], 0
je 0x475435
lea eax, [esi + 0x30]
mov edx, 0x475a5c
call fcn.00407064
cmp byte [ebp - 0x3a], 0
je 0x475445
cmp byte [esi + 0x14], 0
je 0x475907
cmp byte [ebp - 0x39], 0
je 0x475455
cmp byte [esi + 0x14], 0
jne 0x475907
lea eax, [esi + 0x2c]
mov edx, 0x475a70
call fcn.00407064
mov byte [ebp - 0x39], 1
mov byte [ebp - 0x3a], 0
mov eax, dword [esi + 4]
call fcn.0040887c
test eax, eax
jl 0x4755ee
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], 0
push ebp
push 0xffffffffffffffff
lea eax, [ebp - 0x58]
push eax
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov edx, dword [eax + edx*4]
lea ecx, [ebp - 0x54]
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
mov eax, dword [ebp - 0x58]
call fcn.00475040
pop ecx
mov dword [ebp - 0x24], 7
mov edi, 0x496358
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004070b8
mov edx, dword [ebp - 0xc]
mov eax, dword [edi]
call fcn.00407a28
mov ebx, eax
cmp ebx, 1
jle 0x47559f
mov eax, dword [edi]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x4754ef
mov eax, dword [ebp - 0x44]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x47550c
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x47550c
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00406450
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x475520
mov eax, dword [ebp - 0x48]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov eax, dword [edi]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x47553c
mov eax, dword [ebp - 0x4c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x4c]
inc ecx
mov edx, dword [ebp - 0x44]
add edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0040783c
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0040783c
push ebp
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call dword [edi + 4]
call fcn.004750d4
pop ecx
test al, al
je 0x475599
lea eax, [esi + 0x30]
mov edx, dword [esi + 4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [edx + ecx*4]
call fcn.00407064
mov byte [ebp - 0x3a], 1
cmp byte [esi + 0x15], 0
je 0x4755ab
jmp 0x4755ab
mov byte [ebp - 0x39], 0
jmp 0x4755ab
add edi, 8
dec dword [ebp - 0x24]
jne 0x4754b3
dec ebx
jg 0x4755e2
push ebp
mov eax, dword [ebp - 4]
call fcn.00453ef4
call fcn.004750d4
pop ecx
test al, al
je 0x4755de
lea eax, [esi + 0x30]
mov edx, dword [esi + 4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [edx + ecx*4]
call fcn.00407064
mov byte [ebp - 0x3a], 1
cmp byte [esi + 0x15], 0
je 0x4755ee
jmp 0x4755e2
mov byte [ebp - 0x39], 0
inc dword [ebp - 0x20]
dec dword [ebp - 0x40]
jne 0x475485
cmp byte [ebp - 0x39], 0
je 0x475607
cmp byte [esi + 0x15], 0
je 0x475607
lea eax, [esi + 0x30]
mov edx, 0x475a5c
call fcn.00407064
cmp byte [ebp - 0x3a], 0
je 0x475617
cmp byte [esi + 0x15], 0
je 0x475907
cmp byte [ebp - 0x39], 0
je 0x475627
cmp byte [esi + 0x15], 0
jne 0x475907
lea eax, [esi + 0x2c]
mov edx, 0x475a8c
call fcn.00407064
mov byte [ebp - 0x39], 1
mov byte [ebp - 0x3a], 0
mov eax, dword [esi + 8]
call fcn.0040887c
test eax, eax
jl 0x4756be
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], 0
push ebp
push 0xffffffffffffffff
lea eax, [ebp - 0x64]
push eax
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0x20]
mov edx, dword [eax + edx*4]
lea ecx, [ebp - 0x54]
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.0045319c
mov eax, dword [ebp - 0x60]
call fcn.00475040
pop ecx
push ebp
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00452c34
call fcn.004750d4
pop ecx
test al, al
je 0x4756b2
lea eax, [esi + 0x30]
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x20]
mov edx, dword [edx + ecx*4]
call fcn.00407064
mov byte [ebp - 0x3a], 1
cmp byte [esi + 0x16], 0
je 0x4756be
jmp 0x4756b6
mov byte [ebp - 0x39], 0
inc dword [ebp - 0x20]
dec dword [ebp - 0x40]
jne 0x475653
cmp byte [ebp - 0x39], 0
je 0x4756d7
cmp byte [esi + 0x16], 0
je 0x4756d7
lea eax, [esi + 0x30]
mov edx, 0x475a5c
call fcn.00407064
cmp byte [ebp - 0x3a], 0
je 0x4756e7
cmp byte [esi + 0x16], 0
je 0x475907
cmp byte [ebp - 0x39], 0
je 0x4756f7
cmp byte [esi + 0x16], 0
jne 0x475907
lea eax, [esi + 0x2c]
mov edx, 0x475aa0
call fcn.00407064
mov byte [ebp - 0x39], 1
mov byte [ebp - 0x3a], 0
mov eax, dword [esi + 0xc]
call fcn.0040887c
test eax, eax
jl 0x4757f6
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], 0
push ebp
push 0xffffffffffffffff
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
mov edx, dword [eax + edx*4]
lea ecx, [ebp - 0x54]
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call fcn.0045319c
mov eax, dword [ebp - 0x68]
call fcn.00475040
pop ecx
cmp byte [ebp - 5], 0
je 0x475788
mov eax, dword [ebp - 4]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0x11
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0x11
lea edx, [ebp - 0x7c]
mov ecx, 1
mov eax, 0x475ab8
call fcn.0045ef68
jmp 0x4757b4
mov eax, dword [ebp - 4]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0x11
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0x11
lea edx, [ebp - 0x7c]
mov ecx, 1
mov eax, 0x475b08
call fcn.0045ef68
push ebp
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00454ee0
call fcn.004750d4
pop ecx
test al, al
je 0x4757e6
lea eax, [esi + 0x30]
mov edx, dword [esi + 0xc]
mov ecx, dword [ebp - 0x20]
mov edx, dword [edx + ecx*4]
call fcn.00407064
mov byte [ebp - 0x3a], 1
cmp byte [esi + 0x17], 0
je 0x4757f6
jmp 0x4757ea
mov byte [ebp - 0x39], 0
inc dword [ebp - 0x20]
dec dword [ebp - 0x40]
jne 0x475727
cmp byte [ebp - 0x39], 0
je 0x47580f
cmp byte [esi + 0x17], 0
je 0x47580f
lea eax, [esi + 0x30]
mov edx, 0x475a5c
call fcn.00407064
cmp byte [ebp - 0x3a], 0
je 0x47581f
cmp byte [esi + 0x17], 0
je 0x475907
cmp byte [ebp - 0x39], 0
je 0x47582f
cmp byte [esi + 0x17], 0
jne 0x475907
lea eax, [esi + 0x2c]
mov edx, 0x475b5c
call fcn.00407064
mov byte [ebp - 0x39], 1
mov byte [ebp - 0x3a], 0
mov eax, dword [esi + 0x10]
call fcn.0040887c
test eax, eax
jl 0x4758be
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], 0
push ebp
push 0xffffffffffffffff
lea eax, [ebp - 0x80]
push eax
mov eax, dword [esi + 0x10]
mov edx, dword [ebp - 0x20]
mov edx, dword [eax + edx*4]
lea ecx, [ebp - 0x54]
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
mov eax, dword [ebp - 0x80]
call fcn.00475040
pop ecx
push ebp
mov eax, dword [ebp - 4]
call fcn.00453640
test eax, eax
setne al
call fcn.004750d4
pop ecx
test al, al
je 0x4758b2
lea eax, [esi + 0x30]
mov edx, dword [esi + 0x10]
mov ecx, dword [ebp - 0x20]
mov edx, dword [edx + ecx*4]
call fcn.00407064
mov byte [ebp - 0x3a], 1
cmp byte [esi + 0x18], 0
je 0x4758be
jmp 0x4758b6
mov byte [ebp - 0x39], 0
inc dword [ebp - 0x20]
dec dword [ebp - 0x40]
jne 0x47585b
cmp byte [ebp - 0x39], 0
je 0x4758d7
cmp byte [esi + 0x18], 0
je 0x4758d7
lea eax, [esi + 0x30]
mov edx, 0x475a5c
call fcn.00407064
cmp byte [ebp - 0x3a], 0
je 0x4758e3
cmp byte [esi + 0x18], 0
je 0x475907
cmp byte [ebp - 0x39], 0
je 0x4758ef
cmp byte [esi + 0x18], 0
jne 0x475907
lea eax, [esi + 0x2c]
xor edx, edx
call fcn.00407064
lea eax, [esi + 0x30]
xor edx, edx
call fcn.00407064
mov byte [ebp - 0x19], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475953
lea eax, [ebp - 0x80]
call fcn.00407054
lea eax, [ebp - 0x6c]
mov edx, 4
call fcn.0040705c
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.0040705c
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.0040705c
lea eax, [ebp - 4]
call fcn.00407054
ret