Function at 0x59b510
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2c
push 0
push 0
dec ecx
jne 0x59b518
push ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x59bf73
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea edx, [ebp - 0x78]
mov eax, dword [0x5ddd78]
mov eax, dword [eax]
call fcn.005bfce0
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x74]
call fcn.0041d9e0
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x68]
call fcn.0041ca00
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0xc]
call fcn.0041d9e0
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x64]
call fcn.0041ca00
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 0x59b5e2
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 [0x5de574]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044d1a0
mov eax, dword [ebp - 0x80]
call fcn.0059b390
pop ecx
jmp 0x59bf06
lea ecx, [ebp - 0x14]
mov eax, dword [0x5ddd78]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.005bfc30
lea ecx, [ebp - 0x18]
mov eax, dword [0x5ddd78]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.005bfe20
lea ecx, [ebp - 0x3c]
mov eax, dword [0x5ddd78]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.005bfd80
lea ecx, [ebp - 0x8c]
mov eax, dword [0x5ddd78]
mov eax, dword [eax]
xor edx, edx
call fcn.005bfc30
mov eax, dword [ebp - 0x8c]
call fcn.00597bf0
push edx
push eax
lea ecx, [ebp - 0x90]
mov eax, dword [0x5ddd78]
mov eax, dword [eax]
xor edx, edx
call fcn.005bfe20
mov eax, dword [ebp - 0x90]
call fcn.00597bf0
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 0x59b727
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp - 0x4c]
jne 0x59b68f
cmp eax, dword [ebp - 0x50]
jae 0x59b727
jmp 0x59b695
jge 0x59b727
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 [0x59bf84]
call fcn.0042ba00
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 [0x59bf84]
call fcn.0042ba00
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0x11
lea edx, [ebp - 0xac]
mov eax, dword [0x5ddf88]
mov eax, dword [eax]
mov ecx, 2
call fcn.0044d1a0
mov eax, dword [ebp - 0x94]
call fcn.0059b390
pop ecx
jmp 0x59bf06
mov eax, dword [ebp - 0x14]
call fcn.005ba580
test al, al
jne 0x59b770
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 [0x5de100]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044d1a0
mov eax, dword [ebp - 0xb8]
call fcn.0059b390
pop ecx
jmp 0x59bf06
mov eax, dword [ebp - 0x18]
call fcn.005ba580
test al, al
jne 0x59b7b9
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 [0x5de100]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044d1a0
mov eax, dword [ebp - 0xbc]
call fcn.0059b390
pop ecx
jmp 0x59bf06
mov dl, 1
mov eax, dword [0x427230]
call fcn.00405008
mov dword [ebp - 0x20], eax
mov dl, 1
mov eax, dword [0x427230]
call fcn.00405008
mov dword [ebp - 0x24], eax
push 0
mov ecx, 0x59bf94
mov dl, 1
mov eax, dword [0x49221c]
call fcn.00463ac0
mov dword [ebp - 4], eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004643c0
mov eax, dword [0x5de188]
mov eax, dword [eax]
call fcn.0045c1c0
xor eax, eax
push ebp
push 0x59beff
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.005991d0
push 0x59bfac
lea edx, [ebp - 0xc4]
mov eax, dword [0x5ddd78]
mov eax, dword [eax]
call fcn.005bfce0
push dword [ebp - 0xc4]
push 0x59bfec
push dword [ebp - 0xc]
lea eax, [ebp - 0xc0]
mov edx, 4
call fcn.0040748c
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x5ddb4c]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043fc70
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0xcc]
mov eax, dword [0x5ddd78]
mov eax, dword [eax]
xor edx, edx
call fcn.005bfc30
mov eax, dword [ebp - 0xcc]
lea edx, [ebp - 0xc8]
call fcn.0042bf70
mov eax, dword [ebp - 0xc8]
push eax
lea edx, [ebp - 0xd0]
mov eax, dword [ebp - 0x14]
call fcn.0042bf70
mov edx, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x20]
pop eax
call fcn.00597c20
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0xd8]
mov eax, dword [0x5ddd78]
mov eax, dword [eax]
xor edx, edx
call fcn.005bfe20
mov eax, dword [ebp - 0xd8]
lea edx, [ebp - 0xd4]
call fcn.0042bf70
mov eax, dword [ebp - 0xd4]
push eax
lea edx, [ebp - 0xdc]
mov eax, dword [ebp - 0x18]
call fcn.0042bf70
mov edx, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0x20]
pop eax
call fcn.00597c20
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0xe4]
mov eax, dword [0x5ddd78]
mov eax, dword [eax]
xor edx, edx
call fcn.005bfd80
mov eax, dword [ebp - 0xe4]
lea edx, [ebp - 0xe0]
call fcn.0042bf70
mov eax, dword [ebp - 0xe0]
push eax
lea edx, [ebp - 0xe8]
mov eax, dword [ebp - 0x3c]
call fcn.0042bf70
mov edx, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0x20]
pop eax
call fcn.00597c20
test eax, eax
jle 0x59b9a6
mov eax, dword [ebp - 0x3c]
call fcn.005ba580
test al, al
jne 0x59b9a6
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 [0x5de100]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044d1a0
mov eax, dword [ebp - 0xec]
call fcn.0059b390
pop ecx
call fcn.00405dfc
jmp 0x59bf06
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x20]
call fcn.0042ccd0
dec eax
test eax, eax
jl 0x59ba63
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.0042ca80
mov eax, dword [ebp - 0xf0]
lea edx, [ebp - 0x38]
call fcn.00492d80
test al, al
je 0x59ba01
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
add dword [ebp - 0x30], eax
adc dword [ebp - 0x2c], edx
jmp 0x59ba57
push ebp
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0xf8]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.0042ca80
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0x11
lea edx, [ebp - 0x88]
mov eax, dword [0x5ddefc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044d1a0
mov eax, dword [ebp - 0xf4]
call fcn.0059b390
pop ecx
call fcn.00405dfc
jmp 0x59bf06
inc dword [ebp - 0x40]
dec dword [ebp - 0x6c]
jne 0x59b9d0
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.00474a70
mov eax, dword [0x5de188]
mov eax, dword [eax]
call fcn.0045c1c0
mov eax, dword [ebp - 0x20]
call fcn.0042ccd0
dec eax
test eax, eax
jl 0x59bcc8
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.0042ca80
mov eax, dword [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x100]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.0042ca80
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 4]
pop ecx
call fcn.004929f0
test al, al
jne 0x59bc98
push ebp
lea ecx, [ebp - 0x108]
mov eax, dword [0x5ddd78]
mov eax, dword [eax]
xor edx, edx
call fcn.005bfc30
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
call fcn.0042bf70
mov eax, dword [ebp - 0x104]
push eax
lea ecx, [ebp - 0x10c]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.0042ca80
mov eax, dword [ebp - 0x10c]
pop edx
call fcn.0059b4a0
pop ecx
test al, al
jne 0x59bba4
push ebp
lea ecx, [ebp - 0x114]
mov eax, dword [0x5ddd78]
mov eax, dword [eax]
xor edx, edx
call fcn.005bfe20
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.0042bf70
mov eax, dword [ebp - 0x110]
push eax
lea ecx, [ebp - 0x118]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.0042ca80
mov eax, dword [ebp - 0x118]
pop edx
call fcn.0059b4a0
pop ecx
test al, al
je 0x59bc98
mov eax, dword [ebp - 0x40]
dec eax
test eax, eax
jl 0x59bc1b
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.0042ca80
mov eax, dword [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x24]
call fcn.0042ca80
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 4]
pop ecx
call fcn.004929f0
fild dword [ebp - 0x44]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
call fcn.00474a70
mov eax, dword [0x5de188]
mov eax, dword [eax]
call fcn.0045c1c0
inc dword [ebp - 0x44]
dec dword [ebp - 0x70]
jne 0x59bbb7
push ebp
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x138]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.0042ca80
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.0042ca80
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0x11
lea edx, [ebp - 0x134]
mov eax, dword [0x5dd9c0]
mov eax, dword [eax]
mov ecx, 1
call fcn.0044d1a0
mov eax, dword [ebp - 0x124]
call fcn.0059b390
pop ecx
call fcn.00405dfc
jmp 0x59bf06
fild dword [ebp - 0x40]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
call fcn.00474a70
mov eax, dword [0x5de188]
mov eax, dword [eax]
call fcn.0045c1c0
inc dword [ebp - 0x40]
dec dword [ebp - 0x6c]
jne 0x59bac2
xor eax, eax
push ebp
push 0x59bec3
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 [0x5ddd78]
mov eax, dword [eax]
xor edx, edx
call fcn.005bfc30
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x20]
call fcn.0042cec0
lea ecx, [ebp - 0x144]
mov eax, dword [0x5ddd78]
mov eax, dword [eax]
xor edx, edx
call fcn.005bfe20
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x20]
call fcn.0042cec0
lea ecx, [ebp - 0x148]
mov eax, dword [0x5ddd78]
mov eax, dword [eax]
xor edx, edx
call fcn.005bfd80
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x20]
call fcn.0042cec0
lea ecx, [ebp - 0x14c]
mov eax, dword [0x5ddd78]
mov eax, dword [eax]
xor edx, edx
call fcn.005bfc30
mov eax, dword [ebp - 0x14c]
mov cl, byte [0x59bff8]
mov edx, dword [ebp - 0x20]
call fcn.0042adf0
lea ecx, [ebp - 0x150]
mov eax, dword [0x5ddd78]
mov eax, dword [eax]
xor edx, edx
call fcn.005bfe20
mov eax, dword [ebp - 0x150]
mov cl, byte [0x59bff8]
mov edx, dword [ebp - 0x20]
call fcn.0042adf0
lea ecx, [ebp - 0x154]
mov eax, dword [0x5ddd78]
mov eax, dword [eax]
xor edx, edx
call fcn.005bfd80
mov eax, dword [ebp - 0x154]
mov cl, byte [0x59bff8]
mov edx, dword [ebp - 0x20]
call fcn.0042adf0
mov eax, dword [ebp - 0x20]
call fcn.0042ccd0
dec eax
cmp eax, 0
jl 0x59be04
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.0042ca80
mov eax, dword [ebp - 0x1c]
call fcn.00428400
test al, al
je 0x59bdef
mov eax, dword [ebp - 0x1c]
call fcn.00428430
mov eax, dword [0x5de188]
mov eax, dword [eax]
call fcn.0045c1c0
dec dword [ebp - 0x40]
cmp dword [ebp - 0x40], 0xffffffff
jne 0x59bdcd
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 4]
lea edx, [ebp - 0x158]
mov eax, dword [0x5ddd78]
mov eax, dword [eax]
call fcn.005bfce0
mov eax, dword [ebp - 0x158]
mov cl, byte [0x59bff8]
mov edx, dword [ebp - 0x20]
call fcn.0042adf0
mov eax, dword [ebp - 0x20]
call fcn.0042ccd0
dec eax
jge 0x59be5a
lea edx, [ebp - 0x15c]
mov eax, dword [0x5ddd78]
mov eax, dword [eax]
call fcn.005bfce0
mov eax, dword [ebp - 0x15c]
call fcn.00428430
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59beca
mov eax, dword [0x5ddd78]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.005c1760
mov eax, dword [0x5de188]
mov eax, dword [eax]
call fcn.00557250
lea edx, [ebp - 0x164]
mov eax, dword [0x5ddd78]
mov eax, dword [eax]
call fcn.005bfce0
mov ecx, dword [ebp - 0x164]
lea eax, [ebp - 0x160]
mov edx, 0x59c008
call fcn.00407404
mov edx, dword [ebp - 0x160]
mov eax, dword [0x5ddb4c]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043fc70
mov byte [ebp - 0xd], 1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59bf7a
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