Function at 0x5f2a10
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2c
push 0
push 0
dec ecx
jne 0x5f2a18
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5f34f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea edx, [ebp - 0x70]
mov eax, dword [0x65409c]
mov eax, dword [eax]
call fcn.006228b0
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
call fcn.0042e310
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x60]
call fcn.0042e3e0
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0xc]
call fcn.0042e310
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x5c]
call fcn.0042e3e0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x5c]
call fcn.0040767c
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
jne 0x5f2ad8
push ebp
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0x11
lea edx, [ebp - 0x80]
mov eax, dword [0x654c34]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044e6d0
mov eax, dword [ebp - 0x78]
call fcn.005f2860
pop ecx
jmp 0x5f3437
lea ecx, [ebp - 0x14]
mov eax, dword [0x65409c]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.00622800
lea ecx, [ebp - 0x18]
mov eax, dword [0x65409c]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.00622bf0
lea ecx, [ebp - 0x34]
mov eax, dword [0x65409c]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.00622b50
lea ecx, [ebp - 0x84]
mov eax, dword [0x65409c]
mov eax, dword [eax]
xor edx, edx
call fcn.00622800
mov eax, dword [ebp - 0x84]
call fcn.005ee1c0
push edx
push eax
lea ecx, [ebp - 0x88]
mov eax, dword [0x65409c]
mov eax, dword [eax]
xor edx, edx
call fcn.00622bf0
mov eax, dword [ebp - 0x88]
call fcn.005ee1c0
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
call fcn.00407a04
je 0x5f2c1b
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp - 0x44]
jne 0x5f2b85
cmp eax, dword [ebp - 0x48]
jae 0x5f2c1b
jmp 0x5f2b8b
jge 0x5f2c1b
push ebp
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xa4], eax
mov byte [ebp - 0xa0], 0x11
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
lea ecx, [ebp - 0xa8]
xor edx, edx
xor eax, eax
call fcn.00432250
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0x11
push dword [ebp - 0x44]
push dword [ebp - 0x48]
lea ecx, [ebp - 0xac]
xor edx, edx
xor eax, eax
call fcn.00432250
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 0x11
lea edx, [ebp - 0xa4]
mov eax, dword [0x6543a8]
mov eax, dword [eax]
mov ecx, 2
call fcn.0044e6d0
mov eax, dword [ebp - 0x8c]
call fcn.005f2860
pop ecx
jmp 0x5f3437
mov eax, dword [ebp - 0x14]
call fcn.00432f00
test al, al
jne 0x5f2c5b
push ebp
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0x11
lea edx, [ebp - 0x80]
mov eax, dword [0x6545a4]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044e6d0
mov eax, dword [ebp - 0xb0]
call fcn.005f2860
pop ecx
jmp 0x5f3437
mov eax, dword [ebp - 0x18]
call fcn.00432f00
test al, al
jne 0x5f2c9b
push ebp
lea eax, [ebp - 0xb4]
push eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0x11
lea edx, [ebp - 0x80]
mov eax, dword [0x6545a4]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044e6d0
mov eax, dword [ebp - 0xb4]
call fcn.005f2860
pop ecx
jmp 0x5f3437
mov dl, 1
mov eax, dword [0x42d298]
call fcn.004053a8
mov dword [ebp - 0x20], eax
mov dl, 1
mov eax, dword [0x42d298]
call fcn.004053a8
mov dword [ebp - 0x24], eax
push 0
mov ecx, dword [0x6544d4]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4c529c]
call fcn.0063daa0
mov dword [ebp - 4], eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0063e440
mov edx, dword [0x653b60]
mov edx, dword [edx]
mov eax, dword [0x65466c]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00639d20
xor eax, eax
push ebp
push 0x5f3430
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov byte [eax + 0x14], 1
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.005efcc0
push 0x5f3514
lea edx, [ebp - 0xbc]
mov eax, dword [0x65409c]
mov eax, dword [eax]
call fcn.006228b0
push dword [ebp - 0xbc]
push 0x5f3554
push dword [ebp - 0xc]
lea eax, [ebp - 0xb8]
mov edx, 4
call fcn.004078f4
mov edx, dword [ebp - 0xb8]
mov eax, dword [0x653d30]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043f390
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0xc4]
mov eax, dword [0x65409c]
mov eax, dword [eax]
xor edx, edx
call fcn.00622800
mov eax, dword [ebp - 0xc4]
lea edx, [ebp - 0xc0]
call fcn.00432af0
mov eax, dword [ebp - 0xc0]
push eax
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 0x14]
call fcn.00432af0
mov edx, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x20]
pop eax
call fcn.005ee1f0
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0xd0]
mov eax, dword [0x65409c]
mov eax, dword [eax]
xor edx, edx
call fcn.00622bf0
mov eax, dword [ebp - 0xd0]
lea edx, [ebp - 0xcc]
call fcn.00432af0
mov eax, dword [ebp - 0xcc]
push eax
lea edx, [ebp - 0xd4]
mov eax, dword [ebp - 0x18]
call fcn.00432af0
mov edx, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0x20]
pop eax
call fcn.005ee1f0
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0xdc]
mov eax, dword [0x65409c]
mov eax, dword [eax]
xor edx, edx
call fcn.00622b50
mov eax, dword [ebp - 0xdc]
lea edx, [ebp - 0xd8]
call fcn.00432af0
mov eax, dword [ebp - 0xd8]
push eax
lea edx, [ebp - 0xe0]
mov eax, dword [ebp - 0x34]
call fcn.00432af0
mov edx, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x20]
pop eax
call fcn.005ee1f0
test eax, eax
jle 0x5f2e8c
mov eax, dword [ebp - 0x34]
call fcn.00432f00
test al, al
jne 0x5f2e8c
push ebp
lea eax, [ebp - 0xe4]
push eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0x11
lea edx, [ebp - 0x80]
mov eax, dword [0x6545a4]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044e6d0
mov eax, dword [ebp - 0xe4]
call fcn.005f2860
pop ecx
call fcn.00406244
jmp 0x5f3437
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x20]
call fcn.00433c40
dec eax
test eax, eax
jl 0x5f2f51
inc eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0xe8]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
call fcn.00433970
mov eax, dword [ebp - 0xe8]
call fcn.0042e5d0
test al, al
jne 0x5f2f23
push ebp
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0xf0]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
call fcn.00433970
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0x11
lea edx, [ebp - 0x80]
mov eax, dword [0x6542d8]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044e6d0
mov eax, dword [ebp - 0xec]
call fcn.005f2860
pop ecx
call fcn.00406244
jmp 0x5f3437
lea ecx, [ebp - 0xf4]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
call fcn.00433970
mov eax, dword [ebp - 0xf4]
call fcn.0042e930
add dword [ebp - 0x30], eax
adc dword [ebp - 0x2c], edx
inc dword [ebp - 0x38]
dec dword [ebp - 0x64]
jne 0x5f2eb6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x138]
xor edx, edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], 0xbff00000
fild qword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x138]
fstp qword [eax + 0x50]
wait
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x138]
call fcn.00471370
mov edx, dword [0x653b60]
mov edx, dword [edx]
mov eax, dword [0x65466c]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00639d20
mov eax, dword [ebp - 0x20]
call fcn.00433c40
dec eax
test eax, eax
jl 0x5f31d4
inc eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0xf8]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x24]
call fcn.00433970
mov eax, dword [ebp - 0xf8]
push eax
lea ecx, [ebp - 0xfc]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
call fcn.00433970
mov edx, dword [ebp - 0xfc]
mov eax, dword [ebp - 4]
pop ecx
call fcn.004c5a80
test al, al
jne 0x5f319a
push ebp
lea ecx, [ebp - 0x104]
mov eax, dword [0x65409c]
mov eax, dword [eax]
xor edx, edx
call fcn.00622800
mov eax, dword [ebp - 0x104]
lea edx, [ebp - 0x100]
call fcn.00432af0
mov eax, dword [ebp - 0x100]
push eax
lea ecx, [ebp - 0x108]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
call fcn.00433970
mov eax, dword [ebp - 0x108]
pop edx
call fcn.005f29a0
pop ecx
test al, al
jne 0x5f309c
push ebp
lea ecx, [ebp - 0x110]
mov eax, dword [0x65409c]
mov eax, dword [eax]
xor edx, edx
call fcn.00622bf0
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0x10c]
call fcn.00432af0
mov eax, dword [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x114]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
call fcn.00433970
mov eax, dword [ebp - 0x114]
pop edx
call fcn.005f29a0
pop ecx
test al, al
je 0x5f319a
mov eax, dword [ebp - 0x38]
dec eax
test eax, eax
jl 0x5f311d
inc eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x118]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x20]
call fcn.00433970
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x11c]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x24]
call fcn.00433970
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 4]
pop ecx
call fcn.004c5a80
fild dword [ebp - 0x3c]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x138]
call fcn.00471370
mov edx, dword [0x653b60]
mov edx, dword [edx]
mov eax, dword [0x65466c]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00639d20
inc dword [ebp - 0x3c]
dec dword [ebp - 0x68]
jne 0x5f30af
push ebp
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x134]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
call fcn.00433970
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x12c], 0x11
lea ecx, [ebp - 0x138]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x24]
call fcn.00433970
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x128], eax
mov byte [ebp - 0x124], 0x11
lea edx, [ebp - 0x130]
mov eax, dword [0x653adc]
mov eax, dword [eax]
mov ecx, 1
call fcn.0044e6d0
mov eax, dword [ebp - 0x120]
call fcn.005f2860
pop ecx
call fcn.00406244
jmp 0x5f3437
fild dword [ebp - 0x38]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x138]
call fcn.00471370
mov edx, dword [0x653b60]
mov edx, dword [edx]
mov eax, dword [0x65466c]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00639d20
inc dword [ebp - 0x38]
dec dword [ebp - 0x64]
jne 0x5f2fba
xor eax, eax
push ebp
push 0x5f33f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 4]
lea ecx, [ebp - 0x13c]
mov eax, dword [0x65409c]
mov eax, dword [eax]
xor edx, edx
call fcn.00622800
mov edx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x20]
call fcn.00433e30
lea ecx, [ebp - 0x140]
mov eax, dword [0x65409c]
mov eax, dword [eax]
xor edx, edx
call fcn.00622bf0
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x20]
call fcn.00433e30
lea ecx, [ebp - 0x144]
mov eax, dword [0x65409c]
mov eax, dword [eax]
xor edx, edx
call fcn.00622b50
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x20]
call fcn.00433e30
push 0x5f356c
lea ecx, [ebp - 0x148]
mov eax, dword [0x65409c]
mov eax, dword [eax]
xor edx, edx
call fcn.00622800
mov eax, dword [ebp - 0x148]
mov cl, byte [0x5f3570]
mov edx, dword [ebp - 0x20]
call fcn.00431670
push 0x5f356c
lea ecx, [ebp - 0x14c]
mov eax, dword [0x65409c]
mov eax, dword [eax]
xor edx, edx
call fcn.00622bf0
mov eax, dword [ebp - 0x14c]
mov cl, byte [0x5f3570]
mov edx, dword [ebp - 0x20]
call fcn.00431670
push 0x5f356c
lea ecx, [ebp - 0x150]
mov eax, dword [0x65409c]
mov eax, dword [eax]
xor edx, edx
call fcn.00622b50
mov eax, dword [ebp - 0x150]
mov cl, byte [0x5f3570]
mov edx, dword [ebp - 0x20]
call fcn.00431670
mov eax, dword [ebp - 0x20]
call fcn.00433c40
dec eax
cmp eax, 0
jl 0x5f3329
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
call fcn.00433970
mov eax, dword [ebp - 0x1c]
call fcn.0042e690
test al, al
je 0x5f330a
mov eax, dword [ebp - 0x1c]
call fcn.0042e6c0
mov edx, dword [0x653b60]
mov edx, dword [edx]
mov eax, dword [0x65466c]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00639d20
dec dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0xffffffff
jne 0x5f32e8
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 4]
push 0x5f356c
lea edx, [ebp - 0x154]
mov eax, dword [0x65409c]
mov eax, dword [eax]
call fcn.006228b0
mov eax, dword [ebp - 0x154]
mov cl, byte [0x5f3570]
mov edx, dword [ebp - 0x20]
call fcn.00431670
mov eax, dword [ebp - 0x20]
call fcn.00433c40
dec eax
jge 0x5f3384
lea edx, [ebp - 0x158]
mov eax, dword [0x65409c]
mov eax, dword [eax]
call fcn.006228b0
mov eax, dword [ebp - 0x158]
call fcn.0042e6c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f33fb
mov eax, dword [0x65409c]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.006241f0
mov eax, dword [0x65466c]
mov eax, dword [eax]
call fcn.005dd0c0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
lea edx, [ebp - 0x160]
mov eax, dword [0x65409c]
mov eax, dword [eax]
call fcn.006228b0
mov ecx, dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
mov edx, 0x5f3580
call fcn.0040786c
mov edx, dword [ebp - 0x15c]
mov eax, dword [0x653d30]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043f390
mov byte [ebp - 0xd], 1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f34ff
lea eax, [ebp - 0x160]
call fcn.00406a84
lea eax, [ebp - 0x15c]
call fcn.00406a84
lea eax, [ebp - 0x158]
mov edx, 2
call fcn.00406ae4
lea eax, [ebp - 0x150]
mov edx, 8
call fcn.00406ae4
lea eax, [ebp - 0x120]
mov edx, 0x19
call fcn.00406ae4
lea eax, [ebp - 0xbc]
call fcn.00406a84
lea eax, [ebp - 0xb8]
mov edx, 5
call fcn.00406ae4
lea eax, [ebp - 0x8c]
mov edx, 3
call fcn.00406ae4
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.00406ae4
lea eax, [ebp - 0x70]
call fcn.00406a84
lea eax, [ebp - 0x6c]
call fcn.00406a84
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.00406ae4
lea eax, [ebp - 0x34]
call fcn.00406a84
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00406ae4
ret