Function at 0x59aec0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2c
push 0
push 0
dec ecx
jne 0x59aec8
push ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x59b923
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea edx, [ebp - 0x78]
mov eax, dword [0x5dcd54]
mov eax, dword [eax]
call fcn.005bf630
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x74]
call fcn.0041da50
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x68]
call fcn.0041ca70
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0xc]
call fcn.0041da50
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x64]
call fcn.0041ca70
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 0x59af92
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 [0x5dd548]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044d210
mov eax, dword [ebp - 0x80]
call fcn.0059ad40
pop ecx
jmp 0x59b8b6
lea ecx, [ebp - 0x14]
mov eax, dword [0x5dcd54]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.005bf580
lea ecx, [ebp - 0x18]
mov eax, dword [0x5dcd54]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.005bf770
lea ecx, [ebp - 0x3c]
mov eax, dword [0x5dcd54]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.005bf6d0
lea ecx, [ebp - 0x8c]
mov eax, dword [0x5dcd54]
mov eax, dword [eax]
xor edx, edx
call fcn.005bf580
mov eax, dword [ebp - 0x8c]
call fcn.005975a0
push edx
push eax
lea ecx, [ebp - 0x90]
mov eax, dword [0x5dcd54]
mov eax, dword [eax]
xor edx, edx
call fcn.005bf770
mov eax, dword [ebp - 0x90]
call fcn.005975a0
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 0x59b0d7
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp - 0x4c]
jne 0x59b03f
cmp eax, dword [ebp - 0x50]
jae 0x59b0d7
jmp 0x59b045
jge 0x59b0d7
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 [0x59b934]
call fcn.0042ba70
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 [0x59b934]
call fcn.0042ba70
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0x11
lea edx, [ebp - 0xac]
mov eax, dword [0x5dcf60]
mov eax, dword [eax]
mov ecx, 2
call fcn.0044d210
mov eax, dword [ebp - 0x94]
call fcn.0059ad40
pop ecx
jmp 0x59b8b6
mov eax, dword [ebp - 0x14]
call fcn.005b9ed0
test al, al
jne 0x59b120
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 [0x5dd0d8]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044d210
mov eax, dword [ebp - 0xb8]
call fcn.0059ad40
pop ecx
jmp 0x59b8b6
mov eax, dword [ebp - 0x18]
call fcn.005b9ed0
test al, al
jne 0x59b169
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 [0x5dd0d8]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044d210
mov eax, dword [ebp - 0xbc]
call fcn.0059ad40
pop ecx
jmp 0x59b8b6
mov dl, 1
mov eax, dword [0x4272a0]
call fcn.00405008
mov dword [ebp - 0x20], eax
mov dl, 1
mov eax, dword [0x4272a0]
call fcn.00405008
mov dword [ebp - 0x24], eax
push 0
mov ecx, 0x59b944
mov dl, 1
mov eax, dword [0x4921cc]
call fcn.00463a50
mov dword [ebp - 4], eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00464350
mov eax, dword [0x5dd160]
mov eax, dword [eax]
call fcn.0045c150
xor eax, eax
push ebp
push 0x59b8af
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.00598b80
push 0x59b95c
lea edx, [ebp - 0xc4]
mov eax, dword [0x5dcd54]
mov eax, dword [eax]
call fcn.005bf630
push dword [ebp - 0xc4]
push 0x59b99c
push dword [ebp - 0xc]
lea eax, [ebp - 0xc0]
mov edx, 4
call fcn.0040748c
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x5dcb2c]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043fce0
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0xcc]
mov eax, dword [0x5dcd54]
mov eax, dword [eax]
xor edx, edx
call fcn.005bf580
mov eax, dword [ebp - 0xcc]
lea edx, [ebp - 0xc8]
call fcn.0042bfe0
mov eax, dword [ebp - 0xc8]
push eax
lea edx, [ebp - 0xd0]
mov eax, dword [ebp - 0x14]
call fcn.0042bfe0
mov edx, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x20]
pop eax
call fcn.005975d0
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0xd8]
mov eax, dword [0x5dcd54]
mov eax, dword [eax]
xor edx, edx
call fcn.005bf770
mov eax, dword [ebp - 0xd8]
lea edx, [ebp - 0xd4]
call fcn.0042bfe0
mov eax, dword [ebp - 0xd4]
push eax
lea edx, [ebp - 0xdc]
mov eax, dword [ebp - 0x18]
call fcn.0042bfe0
mov edx, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0x20]
pop eax
call fcn.005975d0
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0xe4]
mov eax, dword [0x5dcd54]
mov eax, dword [eax]
xor edx, edx
call fcn.005bf6d0
mov eax, dword [ebp - 0xe4]
lea edx, [ebp - 0xe0]
call fcn.0042bfe0
mov eax, dword [ebp - 0xe0]
push eax
lea edx, [ebp - 0xe8]
mov eax, dword [ebp - 0x3c]
call fcn.0042bfe0
mov edx, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0x20]
pop eax
call fcn.005975d0
test eax, eax
jle 0x59b356
mov eax, dword [ebp - 0x3c]
call fcn.005b9ed0
test al, al
jne 0x59b356
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 [0x5dd0d8]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044d210
mov eax, dword [ebp - 0xec]
call fcn.0059ad40
pop ecx
call fcn.00405dfc
jmp 0x59b8b6
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x20]
call fcn.0042cd40
dec eax
test eax, eax
jl 0x59b413
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.0042caf0
mov eax, dword [ebp - 0xf0]
lea edx, [ebp - 0x38]
call fcn.00492d30
test al, al
je 0x59b3b1
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
add dword [ebp - 0x30], eax
adc dword [ebp - 0x2c], edx
jmp 0x59b407
push ebp
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0xf8]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.0042caf0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0x11
lea edx, [ebp - 0x88]
mov eax, dword [0x5dced8]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044d210
mov eax, dword [ebp - 0xf4]
call fcn.0059ad40
pop ecx
call fcn.00405dfc
jmp 0x59b8b6
inc dword [ebp - 0x40]
dec dword [ebp - 0x6c]
jne 0x59b380
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.004749e0
mov eax, dword [0x5dd160]
mov eax, dword [eax]
call fcn.0045c150
mov eax, dword [ebp - 0x20]
call fcn.0042cd40
dec eax
test eax, eax
jl 0x59b678
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.0042caf0
mov eax, dword [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x100]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.0042caf0
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 4]
pop ecx
call fcn.004929a0
test al, al
jne 0x59b648
push ebp
lea ecx, [ebp - 0x108]
mov eax, dword [0x5dcd54]
mov eax, dword [eax]
xor edx, edx
call fcn.005bf580
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
call fcn.0042bfe0
mov eax, dword [ebp - 0x104]
push eax
lea ecx, [ebp - 0x10c]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.0042caf0
mov eax, dword [ebp - 0x10c]
pop edx
call fcn.0059ae50
pop ecx
test al, al
jne 0x59b554
push ebp
lea ecx, [ebp - 0x114]
mov eax, dword [0x5dcd54]
mov eax, dword [eax]
xor edx, edx
call fcn.005bf770
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.0042bfe0
mov eax, dword [ebp - 0x110]
push eax
lea ecx, [ebp - 0x118]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.0042caf0
mov eax, dword [ebp - 0x118]
pop edx
call fcn.0059ae50
pop ecx
test al, al
je 0x59b648
mov eax, dword [ebp - 0x40]
dec eax
test eax, eax
jl 0x59b5cb
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.0042caf0
mov eax, dword [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x24]
call fcn.0042caf0
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 4]
pop ecx
call fcn.004929a0
fild dword [ebp - 0x44]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
call fcn.004749e0
mov eax, dword [0x5dd160]
mov eax, dword [eax]
call fcn.0045c150
inc dword [ebp - 0x44]
dec dword [ebp - 0x70]
jne 0x59b567
push ebp
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x138]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.0042caf0
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.0042caf0
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0x11
lea edx, [ebp - 0x134]
mov eax, dword [0x5dc9a0]
mov eax, dword [eax]
mov ecx, 1
call fcn.0044d210
mov eax, dword [ebp - 0x124]
call fcn.0059ad40
pop ecx
call fcn.00405dfc
jmp 0x59b8b6
fild dword [ebp - 0x40]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
call fcn.004749e0
mov eax, dword [0x5dd160]
mov eax, dword [eax]
call fcn.0045c150
inc dword [ebp - 0x40]
dec dword [ebp - 0x6c]
jne 0x59b472
xor eax, eax
push ebp
push 0x59b873
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 [0x5dcd54]
mov eax, dword [eax]
xor edx, edx
call fcn.005bf580
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x20]
call fcn.0042cf30
lea ecx, [ebp - 0x144]
mov eax, dword [0x5dcd54]
mov eax, dword [eax]
xor edx, edx
call fcn.005bf770
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x20]
call fcn.0042cf30
lea ecx, [ebp - 0x148]
mov eax, dword [0x5dcd54]
mov eax, dword [eax]
xor edx, edx
call fcn.005bf6d0
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x20]
call fcn.0042cf30
lea ecx, [ebp - 0x14c]
mov eax, dword [0x5dcd54]
mov eax, dword [eax]
xor edx, edx
call fcn.005bf580
mov eax, dword [ebp - 0x14c]
mov cl, byte [0x59b9a8]
mov edx, dword [ebp - 0x20]
call fcn.0042ae60
lea ecx, [ebp - 0x150]
mov eax, dword [0x5dcd54]
mov eax, dword [eax]
xor edx, edx
call fcn.005bf770
mov eax, dword [ebp - 0x150]
mov cl, byte [0x59b9a8]
mov edx, dword [ebp - 0x20]
call fcn.0042ae60
lea ecx, [ebp - 0x154]
mov eax, dword [0x5dcd54]
mov eax, dword [eax]
xor edx, edx
call fcn.005bf6d0
mov eax, dword [ebp - 0x154]
mov cl, byte [0x59b9a8]
mov edx, dword [ebp - 0x20]
call fcn.0042ae60
mov eax, dword [ebp - 0x20]
call fcn.0042cd40
dec eax
cmp eax, 0
jl 0x59b7b4
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.0042caf0
mov eax, dword [ebp - 0x1c]
call fcn.00428470
test al, al
je 0x59b79f
mov eax, dword [ebp - 0x1c]
call fcn.004284a0
mov eax, dword [0x5dd160]
mov eax, dword [eax]
call fcn.0045c150
dec dword [ebp - 0x40]
cmp dword [ebp - 0x40], 0xffffffff
jne 0x59b77d
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 4]
lea edx, [ebp - 0x158]
mov eax, dword [0x5dcd54]
mov eax, dword [eax]
call fcn.005bf630
mov eax, dword [ebp - 0x158]
mov cl, byte [0x59b9a8]
mov edx, dword [ebp - 0x20]
call fcn.0042ae60
mov eax, dword [ebp - 0x20]
call fcn.0042cd40
dec eax
jge 0x59b80a
lea edx, [ebp - 0x15c]
mov eax, dword [0x5dcd54]
mov eax, dword [eax]
call fcn.005bf630
mov eax, dword [ebp - 0x15c]
call fcn.004284a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59b87a
mov eax, dword [0x5dcd54]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.005c10b0
mov eax, dword [0x5dd160]
mov eax, dword [eax]
call fcn.00556cc0
lea edx, [ebp - 0x164]
mov eax, dword [0x5dcd54]
mov eax, dword [eax]
call fcn.005bf630
mov ecx, dword [ebp - 0x164]
lea eax, [ebp - 0x160]
mov edx, 0x59b9b8
call fcn.00407404
mov edx, dword [ebp - 0x160]
mov eax, dword [0x5dcb2c]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043fce0
mov byte [ebp - 0xd], 1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59b92a
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