Function at 0x59ce40
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2c
push 0
push 0
dec ecx
jne 0x59ce48
push ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x59d8b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea edx, [ebp - 0x78]
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
call fcn.005c18b0
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x74]
call fcn.0041d9c0
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x68]
call fcn.0041c9e0
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0xc]
call fcn.0041d9c0
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x64]
call fcn.0041c9e0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x64]
call fcn.00407214
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
jne 0x59cf12
push ebp
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0x11
lea edx, [ebp - 0x88]
mov eax, dword [0x5e0470]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044cda0
mov eax, dword [ebp - 0x80]
call fcn.0059ccc0
pop ecx
jmp 0x59d84a
lea ecx, [ebp - 0x14]
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.005c1800
lea ecx, [ebp - 0x18]
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.005c19f0
lea ecx, [ebp - 0x3c]
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.005c1950
lea ecx, [ebp - 0x8c]
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
xor edx, edx
call fcn.005c1800
mov eax, dword [ebp - 0x8c]
call fcn.005994e0
push edx
push eax
lea ecx, [ebp - 0x90]
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
xor edx, edx
call fcn.005c19f0
mov eax, dword [ebp - 0x90]
call fcn.005994e0
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
call fcn.0040759c
je 0x59d057
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp - 0x4c]
jne 0x59cfbf
cmp eax, dword [ebp - 0x50]
jae 0x59d057
jmp 0x59cfc5
jge 0x59d057
push ebp
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xac], eax
mov byte [ebp - 0xa8], 0x11
push dword [ebp - 0x54]
push dword [ebp - 0x58]
lea edx, [ebp - 0xb0]
mov al, byte [0x59d8c8]
call fcn.0042b9d0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xa4], eax
mov byte [ebp - 0xa0], 0x11
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
lea edx, [ebp - 0xb4]
mov al, byte [0x59d8c8]
call fcn.0042b9d0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0x11
lea edx, [ebp - 0xac]
mov eax, dword [0x5dfe88]
mov eax, dword [eax]
mov ecx, 2
call fcn.0044cda0
mov eax, dword [ebp - 0x94]
call fcn.0059ccc0
pop ecx
jmp 0x59d84a
mov eax, dword [ebp - 0x14]
call fcn.005bc0a0
test al, al
jne 0x59d0a0
push ebp
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0x11
lea edx, [ebp - 0x88]
mov eax, dword [0x5e0000]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044cda0
mov eax, dword [ebp - 0xb8]
call fcn.0059ccc0
pop ecx
jmp 0x59d84a
mov eax, dword [ebp - 0x18]
call fcn.005bc0a0
test al, al
jne 0x59d0e9
push ebp
lea eax, [ebp - 0xbc]
push eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0x11
lea edx, [ebp - 0x88]
mov eax, dword [0x5e0000]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044cda0
mov eax, dword [ebp - 0xbc]
call fcn.0059ccc0
pop ecx
jmp 0x59d84a
mov dl, 1
mov eax, dword [0x427200]
call fcn.00405008
mov dword [ebp - 0x20], eax
mov dl, 1
mov eax, dword [0x427200]
call fcn.00405008
mov dword [ebp - 0x24], eax
push 0
mov ecx, 0x59d8d8
mov dl, 1
mov eax, dword [0x49206c]
call fcn.004637c0
mov dword [ebp - 4], eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004640c0
mov eax, dword [0x5e0088]
mov eax, dword [eax]
call fcn.0045be50
xor eax, eax
push ebp
push 0x59d843
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov byte [eax + 0x10], 1
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.0059ab00
push 0x59d8f0
lea edx, [ebp - 0xc4]
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
call fcn.005c18b0
push dword [ebp - 0xc4]
push 0x59d930
push dword [ebp - 0xc]
lea eax, [ebp - 0xc0]
mov edx, 4
call fcn.0040748c
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x5dfa4c]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043f8a0
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0xcc]
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
xor edx, edx
call fcn.005c1800
mov eax, dword [ebp - 0xcc]
lea edx, [ebp - 0xc8]
call fcn.0042bf40
mov eax, dword [ebp - 0xc8]
push eax
lea edx, [ebp - 0xd0]
mov eax, dword [ebp - 0x14]
call fcn.0042bf40
mov edx, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x20]
pop eax
call fcn.00599510
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0xd8]
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
xor edx, edx
call fcn.005c19f0
mov eax, dword [ebp - 0xd8]
lea edx, [ebp - 0xd4]
call fcn.0042bf40
mov eax, dword [ebp - 0xd4]
push eax
lea edx, [ebp - 0xdc]
mov eax, dword [ebp - 0x18]
call fcn.0042bf40
mov edx, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0x20]
pop eax
call fcn.00599510
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0xe4]
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
xor edx, edx
call fcn.005c1950
mov eax, dword [ebp - 0xe4]
lea edx, [ebp - 0xe0]
call fcn.0042bf40
mov eax, dword [ebp - 0xe0]
push eax
lea edx, [ebp - 0xe8]
mov eax, dword [ebp - 0x3c]
call fcn.0042bf40
mov edx, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0x20]
pop eax
call fcn.00599510
test eax, eax
jle 0x59d2d6
mov eax, dword [ebp - 0x3c]
call fcn.005bc0a0
test al, al
jne 0x59d2d6
push ebp
lea eax, [ebp - 0xec]
push eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0x11
lea edx, [ebp - 0x88]
mov eax, dword [0x5e0000]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044cda0
mov eax, dword [ebp - 0xec]
call fcn.0059ccc0
pop ecx
call fcn.00405dfc
jmp 0x59d84a
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x20]
call fcn.0042cca0
dec eax
test eax, eax
jl 0x59d393
inc eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0xf0]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.0042ca50
mov eax, dword [ebp - 0xf0]
lea edx, [ebp - 0x38]
call fcn.00492bd0
test al, al
je 0x59d331
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
add dword [ebp - 0x30], eax
adc dword [ebp - 0x2c], edx
jmp 0x59d387
push ebp
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0xf8]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.0042ca50
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0x11
lea edx, [ebp - 0x88]
mov eax, dword [0x5dfdfc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044cda0
mov eax, dword [ebp - 0xf4]
call fcn.0059ccc0
pop ecx
call fcn.00405dfc
jmp 0x59d84a
inc dword [ebp - 0x40]
dec dword [ebp - 0x6c]
jne 0x59d300
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
xor edx, edx
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], 0xbff00000
fild qword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
fstp qword [eax + 0x48]
wait
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
call fcn.00474880
mov eax, dword [0x5e0088]
mov eax, dword [eax]
call fcn.0045be50
mov eax, dword [ebp - 0x20]
call fcn.0042cca0
dec eax
test eax, eax
jl 0x59d5f8
inc eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0xfc]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x24]
call fcn.0042ca50
mov eax, dword [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x100]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.0042ca50
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 4]
pop ecx
call fcn.00492840
test al, al
jne 0x59d5c8
push ebp
lea ecx, [ebp - 0x108]
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
xor edx, edx
call fcn.005c1800
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
call fcn.0042bf40
mov eax, dword [ebp - 0x104]
push eax
lea ecx, [ebp - 0x10c]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.0042ca50
mov eax, dword [ebp - 0x10c]
pop edx
call fcn.0059cdd0
pop ecx
test al, al
jne 0x59d4d4
push ebp
lea ecx, [ebp - 0x114]
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
xor edx, edx
call fcn.005c19f0
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.0042bf40
mov eax, dword [ebp - 0x110]
push eax
lea ecx, [ebp - 0x118]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.0042ca50
mov eax, dword [ebp - 0x118]
pop edx
call fcn.0059cdd0
pop ecx
test al, al
je 0x59d5c8
mov eax, dword [ebp - 0x40]
dec eax
test eax, eax
jl 0x59d54b
inc eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x11c]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x20]
call fcn.0042ca50
mov eax, dword [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x24]
call fcn.0042ca50
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 4]
pop ecx
call fcn.00492840
fild dword [ebp - 0x44]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
call fcn.00474880
mov eax, dword [0x5e0088]
mov eax, dword [eax]
call fcn.0045be50
inc dword [ebp - 0x44]
dec dword [ebp - 0x70]
jne 0x59d4e7
push ebp
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x138]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.0042ca50
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 0x11
lea ecx, [ebp - 0x13c]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x24]
call fcn.0042ca50
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0x11
lea edx, [ebp - 0x134]
mov eax, dword [0x5df8c0]
mov eax, dword [eax]
mov ecx, 1
call fcn.0044cda0
mov eax, dword [ebp - 0x124]
call fcn.0059ccc0
pop ecx
call fcn.00405dfc
jmp 0x59d84a
fild dword [ebp - 0x40]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
call fcn.00474880
mov eax, dword [0x5e0088]
mov eax, dword [eax]
call fcn.0045be50
inc dword [ebp - 0x40]
dec dword [ebp - 0x6c]
jne 0x59d3f2
xor eax, eax
push ebp
push 0x59d807
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 - 0x140]
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
xor edx, edx
call fcn.005c1800
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x20]
call fcn.0042ce90
lea ecx, [ebp - 0x144]
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
xor edx, edx
call fcn.005c19f0
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x20]
call fcn.0042ce90
lea ecx, [ebp - 0x148]
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
xor edx, edx
call fcn.005c1950
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x20]
call fcn.0042ce90
push 0x59d948
lea ecx, [ebp - 0x14c]
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
xor edx, edx
call fcn.005c1800
mov eax, dword [ebp - 0x14c]
mov cl, byte [0x59d94c]
mov edx, dword [ebp - 0x20]
call fcn.0042adc0
push 0x59d948
lea ecx, [ebp - 0x150]
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
xor edx, edx
call fcn.005c19f0
mov eax, dword [ebp - 0x150]
mov cl, byte [0x59d94c]
mov edx, dword [ebp - 0x20]
call fcn.0042adc0
push 0x59d948
lea ecx, [ebp - 0x154]
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
xor edx, edx
call fcn.005c1950
mov eax, dword [ebp - 0x154]
mov cl, byte [0x59d94c]
mov edx, dword [ebp - 0x20]
call fcn.0042adc0
mov eax, dword [ebp - 0x20]
call fcn.0042cca0
dec eax
cmp eax, 0
jl 0x59d743
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.0042ca50
mov eax, dword [ebp - 0x1c]
call fcn.004283d0
test al, al
je 0x59d72e
mov eax, dword [ebp - 0x1c]
call fcn.00428400
mov eax, dword [0x5e0088]
mov eax, dword [eax]
call fcn.0045be50
dec dword [ebp - 0x40]
cmp dword [ebp - 0x40], 0xffffffff
jne 0x59d70c
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 4]
push 0x59d948
lea edx, [ebp - 0x158]
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
call fcn.005c18b0
mov eax, dword [ebp - 0x158]
mov cl, byte [0x59d94c]
mov edx, dword [ebp - 0x20]
call fcn.0042adc0
mov eax, dword [ebp - 0x20]
call fcn.0042cca0
dec eax
jge 0x59d79e
lea edx, [ebp - 0x15c]
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
call fcn.005c18b0
mov eax, dword [ebp - 0x15c]
call fcn.00428400
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59d80e
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.005c3360
mov eax, dword [0x5e0088]
mov eax, dword [eax]
call fcn.00558310
lea edx, [ebp - 0x164]
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
call fcn.005c18b0
mov ecx, dword [ebp - 0x164]
lea eax, [ebp - 0x160]
mov edx, 0x59d95c
call fcn.00407404
mov edx, dword [ebp - 0x160]
mov eax, dword [0x5dfa4c]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043f8a0
mov byte [ebp - 0xd], 1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59d8be
lea eax, [ebp - 0x164]
mov edx, 0xc
call fcn.00406670
lea eax, [ebp - 0x124]
mov edx, 0x1e
call fcn.00406670
lea eax, [ebp - 0x94]
mov edx, 3
call fcn.00406670
lea eax, [ebp - 0x80]
mov edx, 4
call fcn.00406670
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.00406670
lea eax, [ebp - 0x3c]
call fcn.00406610
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00406670
ret