Function at 0x471f94
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x471f9c
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x472917
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x19], 1
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
mov edx, 0xa50
mov eax, 0x472938
call fcn.0046b4c4
mov edx, dword [ebp - 0x50]
lea eax, [esi + 0x30]
call fcn.004070a0
lea eax, [ebp - 0x54]
push eax
xor ecx, ecx
mov edx, 0xa51
mov eax, 0x472950
call fcn.0046b4c4
mov edx, dword [ebp - 0x54]
lea eax, [esi + 0x2c]
call fcn.004070a0
cmp dword [esi + 0x1c], 0
jle 0x4720d9
lea eax, [ebp - 0x58]
push eax
xor ecx, ecx
mov edx, 0xa54
mov eax, 0x472974
call fcn.0046b4c4
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x14]
mov eax, dword [0x4c2698]
call fcn.004743d0
lea eax, [ebp - 0x5c]
push eax
xor ecx, ecx
mov edx, 0xa55
mov eax, 0x472990
call fcn.0046b4c4
mov edx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x18]
mov eax, dword [0x4c2698]
call fcn.004743d0
push 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040712c
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 0x47208c
cmp eax, dword [esp]
pop edx
pop eax
jae 0x472094
jmp 0x4728c7
pop edx
pop eax
jl 0x4728c7
push 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x18]
call fcn.0040712c
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 0x4720d1
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4720d9
jmp 0x4728c7
pop edx
pop eax
jl 0x4728c7
lea eax, [ebp - 0x60]
push eax
xor ecx, ecx
mov edx, 0xa5b
mov eax, 0x4729b8
call fcn.0046b4c4
mov edx, dword [ebp - 0x60]
lea eax, [esi + 0x2c]
call fcn.004070a0
cmp byte [esi + 0x20], 0
je 0x47210c
call fcn.0044b838
test al, al
je 0x4728c7
lea eax, [ebp - 0x64]
push eax
xor ecx, ecx
mov edx, 0xa5d
mov eax, 0x4729d8
call fcn.0046b4c4
mov edx, dword [ebp - 0x64]
lea eax, [esi + 0x2c]
call fcn.004070a0
mov ebx, dword [esi + 0x24]
test ebx, ebx
je 0x472140
call fcn.0044c970
cmp ebx, eax
jg 0x4728c7
lea eax, [ebp - 0x68]
push eax
xor ecx, ecx
mov edx, 0xa62
mov eax, 0x4729f4
call fcn.0046b4c4
mov edx, dword [ebp - 0x68]
lea eax, [esi + 0x2c]
call fcn.004070a0
mov eax, dword [esi + 0x28]
call fcn.004088b0
test eax, eax
jle 0x4721da
xor ebx, ebx
mov eax, dword [esi + 0x28]
call fcn.004088b0
dec eax
test eax, eax
jl 0x4721c0
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 - 0x6c]
call fcn.004153d0
mov eax, dword [ebp - 0x6c]
call fcn.00471e10
pop ecx
push ebp
mov eax, dword [ebp - 4]
call fcn.00471eb0
call fcn.00471ea4
pop ecx
test al, al
je 0x4721b8
mov bl, 1
jmp 0x4721c0
inc dword [ebp - 0x20]
dec dword [ebp - 0x40]
jne 0x472186
test bl, bl
jne 0x4721da
lea eax, [esi + 0x30]
mov edx, dword [0x4c2698]
mov edx, dword [edx + 0x7c]
call fcn.004070a0
jmp 0x4728c7
cmp word [ebp + 0xa], 0
jne 0x4721eb
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], 0x46e208
lea eax, [ebp - 0x70]
push eax
xor ecx, ecx
mov edx, 0xa78
mov eax, 0x472a08
call fcn.0046b4c4
mov edx, dword [ebp - 0x70]
lea eax, [esi + 0x2c]
call fcn.004070a0
mov byte [ebp - 0x39], 1
mov byte [ebp - 0x3a], 0
mov eax, dword [esi]
call fcn.004088b8
test eax, eax
jl 0x472285
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], 0
push ebp
push 0xffffffffffffffff
lea eax, [ebp - 0x74]
push eax
mov eax, dword [esi]
mov edx, dword [ebp - 0x20]
mov edx, dword [eax + edx*4]
lea ecx, [ebp - 0x74]
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
mov eax, dword [ebp - 0x74]
call fcn.00471e10
pop ecx
push ebp
mov eax, dword [ebp - 4]
call fcn.0044c47c
call fcn.00471ea4
pop ecx
test al, al
je 0x472279
lea eax, [esi + 0x30]
mov edx, dword [esi]
mov ecx, dword [ebp - 0x20]
mov edx, dword [edx + ecx*4]
call fcn.004070a0
mov byte [ebp - 0x3a], 1
cmp byte [esi + 0x14], 0
je 0x472285
jmp 0x47227d
mov byte [ebp - 0x39], 0
inc dword [ebp - 0x20]
dec dword [ebp - 0x40]
jne 0x472229
cmp byte [ebp - 0x39], 0
je 0x4722b1
cmp byte [esi + 0x14], 0
je 0x4722b1
lea eax, [ebp - 0x78]
push eax
xor ecx, ecx
mov edx, 0xa84
mov eax, 0x472a28
call fcn.0046b4c4
mov edx, dword [ebp - 0x78]
lea eax, [esi + 0x30]
call fcn.004070a0
cmp byte [ebp - 0x3a], 0
je 0x4722c1
cmp byte [esi + 0x14], 0
je 0x4728c7
cmp byte [ebp - 0x39], 0
je 0x4722d1
cmp byte [esi + 0x14], 0
jne 0x4728c7
lea eax, [ebp - 0x7c]
push eax
xor ecx, ecx
mov edx, 0xa87
mov eax, 0x472a3c
call fcn.0046b4c4
mov edx, dword [ebp - 0x7c]
lea eax, [esi + 0x2c]
call fcn.004070a0
mov byte [ebp - 0x39], 1
mov byte [ebp - 0x3a], 0
mov eax, dword [esi + 4]
call fcn.004088b8
test eax, eax
jl 0x472489
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 + 4]
mov edx, dword [ebp - 0x20]
mov edx, dword [eax + edx*4]
lea ecx, [ebp - 0x74]
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
mov eax, dword [ebp - 0x80]
call fcn.00471e10
pop ecx
mov dword [ebp - 0x24], 7
mov edi, 0x4bc578
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004070f4
mov edx, dword [ebp - 0xc]
mov eax, dword [edi]
call fcn.00407a64
mov ebx, eax
cmp ebx, 1
jle 0x47243a
mov eax, dword [edi]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x472384
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 0x4723a1
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4723a1
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.0040648c
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x4723b5
mov eax, dword [ebp - 0x48]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov eax, dword [edi]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x4723d7
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.00407878
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00407878
push ebp
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call dword [edi + 4]
call fcn.00471ea4
pop ecx
test al, al
je 0x472434
lea eax, [esi + 0x30]
mov edx, dword [esi + 4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [edx + ecx*4]
call fcn.004070a0
mov byte [ebp - 0x3a], 1
cmp byte [esi + 0x15], 0
je 0x472446
jmp 0x472446
mov byte [ebp - 0x39], 0
jmp 0x472446
add edi, 8
dec dword [ebp - 0x24]
jne 0x472342
dec ebx
jg 0x47247d
push ebp
mov eax, dword [ebp - 4]
call fcn.0044d33c
call fcn.00471ea4
pop ecx
test al, al
je 0x472479
lea eax, [esi + 0x30]
mov edx, dword [esi + 4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [edx + ecx*4]
call fcn.004070a0
mov byte [ebp - 0x3a], 1
cmp byte [esi + 0x15], 0
je 0x472489
jmp 0x47247d
mov byte [ebp - 0x39], 0
inc dword [ebp - 0x20]
dec dword [ebp - 0x40]
jne 0x472314
cmp byte [ebp - 0x39], 0
je 0x4724bb
cmp byte [esi + 0x15], 0
je 0x4724bb
lea eax, [ebp - 0x88]
push eax
xor ecx, ecx
mov edx, 0xaa6
mov eax, 0x472a58
call fcn.0046b4c4
mov edx, dword [ebp - 0x88]
lea eax, [esi + 0x30]
call fcn.004070a0
cmp byte [ebp - 0x3a], 0
je 0x4724cb
cmp byte [esi + 0x15], 0
je 0x4728c7
cmp byte [ebp - 0x39], 0
je 0x4724db
cmp byte [esi + 0x15], 0
jne 0x4728c7
lea eax, [ebp - 0x8c]
push eax
xor ecx, ecx
mov edx, 0xaa9
mov eax, 0x472a6c
call fcn.0046b4c4
mov edx, dword [ebp - 0x8c]
lea eax, [esi + 0x2c]
call fcn.004070a0
mov byte [ebp - 0x39], 1
mov byte [ebp - 0x3a], 0
mov eax, dword [esi + 8]
call fcn.004088b8
test eax, eax
jl 0x47259b
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], 0
push ebp
push 0xffffffffffffffff
lea eax, [ebp - 0x94]
push eax
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0x20]
mov edx, dword [eax + edx*4]
lea ecx, [ebp - 0x74]
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x90]
call fcn.0044da8c
mov eax, dword [ebp - 0x90]
call fcn.00471e10
pop ecx
push ebp
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0044cad0
call fcn.00471ea4
pop ecx
test al, al
je 0x47258f
lea eax, [esi + 0x30]
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x20]
mov edx, dword [edx + ecx*4]
call fcn.004070a0
mov byte [ebp - 0x3a], 1
cmp byte [esi + 0x16], 0
je 0x47259b
jmp 0x472593
mov byte [ebp - 0x39], 0
inc dword [ebp - 0x20]
dec dword [ebp - 0x40]
jne 0x472524
cmp byte [ebp - 0x39], 0
je 0x4725cd
cmp byte [esi + 0x16], 0
je 0x4725cd
lea eax, [ebp - 0x98]
push eax
xor ecx, ecx
mov edx, 0xab5
mov eax, 0x472a80
call fcn.0046b4c4
mov edx, dword [ebp - 0x98]
lea eax, [esi + 0x30]
call fcn.004070a0
cmp byte [ebp - 0x3a], 0
je 0x4725dd
cmp byte [esi + 0x16], 0
je 0x4728c7
cmp byte [ebp - 0x39], 0
je 0x4725ed
cmp byte [esi + 0x16], 0
jne 0x4728c7
lea eax, [ebp - 0x9c]
push eax
xor ecx, ecx
mov edx, 0xab8
mov eax, 0x472a94
call fcn.0046b4c4
mov edx, dword [ebp - 0x9c]
lea eax, [esi + 0x2c]
call fcn.004070a0
mov byte [ebp - 0x39], 1
mov byte [ebp - 0x3a], 0
mov eax, dword [esi + 0xc]
call fcn.004088b8
test eax, eax
jl 0x472765
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], 0
push ebp
push 0xffffffffffffffff
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
mov edx, dword [eax + edx*4]
lea ecx, [ebp - 0x74]
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
call fcn.0044da8c
mov eax, dword [ebp - 0xa0]
call fcn.00471e10
pop ecx
cmp byte [ebp - 5], 0
je 0x4726cd
lea eax, [ebp - 0xa8]
push eax
xor ecx, ecx
mov edx, 0xabe
mov eax, 0x472aac
call fcn.0046b4c4
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0xb4], 0x11
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0xac], 0x11
lea edx, [ebp - 0xb8]
mov ecx, 1
pop eax
call fcn.0044fc70
jmp 0x472723
lea eax, [ebp - 0xbc]
push eax
xor ecx, ecx
mov edx, 0xac0
mov eax, 0x472afc
call fcn.0046b4c4
mov eax, dword [ebp - 0xbc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0xb4], 0x11
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0xac], 0x11
lea edx, [ebp - 0xb8]
mov ecx, 1
pop eax
call fcn.0044fc70
push ebp
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0044b8a4
call fcn.00471ea4
pop ecx
test al, al
je 0x472755
lea eax, [esi + 0x30]
mov edx, dword [esi + 0xc]
mov ecx, dword [ebp - 0x20]
mov edx, dword [edx + ecx*4]
call fcn.004070a0
mov byte [ebp - 0x3a], 1
cmp byte [esi + 0x17], 0
je 0x472765
jmp 0x472759
mov byte [ebp - 0x39], 0
inc dword [ebp - 0x20]
dec dword [ebp - 0x40]
jne 0x472636
cmp byte [ebp - 0x39], 0
je 0x472797
cmp byte [esi + 0x17], 0
je 0x472797
lea eax, [ebp - 0xc0]
push eax
xor ecx, ecx
mov edx, 0xac8
mov eax, 0x472b50
call fcn.0046b4c4
mov edx, dword [ebp - 0xc0]
lea eax, [esi + 0x30]
call fcn.004070a0
cmp byte [ebp - 0x3a], 0
je 0x4727a7
cmp byte [esi + 0x17], 0
je 0x4728c7
cmp byte [ebp - 0x39], 0
je 0x4727b7
cmp byte [esi + 0x17], 0
jne 0x4728c7
lea eax, [ebp - 0xc4]
push eax
xor ecx, ecx
mov edx, 0xacb
mov eax, 0x472b64
call fcn.0046b4c4
mov edx, dword [ebp - 0xc4]
lea eax, [esi + 0x2c]
call fcn.004070a0
mov byte [ebp - 0x39], 1
mov byte [ebp - 0x3a], 0
mov eax, dword [esi + 0x10]
call fcn.004088b8
test eax, eax
jl 0x472865
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], 0
push ebp
push 0xffffffffffffffff
lea eax, [ebp - 0xc8]
push eax
mov eax, dword [esi + 0x10]
mov edx, dword [ebp - 0x20]
mov edx, dword [eax + edx*4]
lea ecx, [ebp - 0x74]
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
mov eax, dword [ebp - 0xc8]
call fcn.00471e10
pop ecx
push ebp
mov eax, dword [ebp - 4]
call fcn.0044b3cc
test eax, eax
setne al
call fcn.00471ea4
pop ecx
test al, al
je 0x472859
lea eax, [esi + 0x30]
mov edx, dword [esi + 0x10]
mov ecx, dword [ebp - 0x20]
mov edx, dword [edx + ecx*4]
call fcn.004070a0
mov byte [ebp - 0x3a], 1
cmp byte [esi + 0x18], 0
je 0x472865
jmp 0x47285d
mov byte [ebp - 0x39], 0
inc dword [ebp - 0x20]
dec dword [ebp - 0x40]
jne 0x4727fc
cmp byte [ebp - 0x39], 0
je 0x472897
cmp byte [esi + 0x18], 0
je 0x472897
lea eax, [ebp - 0xcc]
push eax
xor ecx, ecx
mov edx, 0xad7
mov eax, 0x472b7c
call fcn.0046b4c4
mov edx, dword [ebp - 0xcc]
lea eax, [esi + 0x30]
call fcn.004070a0
cmp byte [ebp - 0x3a], 0
je 0x4728a3
cmp byte [esi + 0x18], 0
je 0x4728c7
cmp byte [ebp - 0x39], 0
je 0x4728af
cmp byte [esi + 0x18], 0
jne 0x4728c7
lea eax, [esi + 0x2c]
xor edx, edx
call fcn.004070a0
lea eax, [esi + 0x30]
xor edx, edx
call fcn.004070a0
mov byte [ebp - 0x19], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47291e
lea eax, [ebp - 0xcc]
mov edx, 5
call fcn.00407098
lea eax, [ebp - 0xa8]
mov edx, 9
call fcn.00407098
lea eax, [ebp - 0x80]
mov edx, 0xd
call fcn.00407098
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00407098
lea eax, [ebp - 4]
call fcn.00407090
ret