Function at 0x10032f00
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10083fc0
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x100a5c90]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x100a5c90]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov ebx, ecx
xor edi, edi
mov dword [esp + 0x20], eax
xor ecx, ecx
push edi
mov eax, 0x1008da28
lea esi, [esp + 0x5c]
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], edi
mov word [esp + 0x5c], cx
call fcn.10003a30
mov dword [esp + 0xa0], edi
cmp dword [ebx + 0x10], 3
jbe 0x10033014
push 4
xor ecx, ecx
lea esi, [esp + 0x78]
mov edx, ebx
call fcn.10009bd0
mov edi, eax
lea esi, [esp + 0x58]
mov byte [esp + 0xa0], 1
call fcn.100037e0
mov byte [esp + 0xa0], 0
cmp dword [esp + 0x88], 8
jb 0x10032fbf
mov edx, dword [esp + 0x74]
push edx
call fcn.10066b10
add esp, 4
mov eax, dword [esp + 0x68]
push 0x100955a8
mov edi, 4
lea ecx, [esp + 0x5c]
call fcn.10004240
test eax, eax
jne 0x10033014
mov eax, dword [ebx + 0x10]
dec eax
push eax
mov ecx, edi
lea esi, [esp + 0x78]
mov edx, ebx
call fcn.10009bd0
mov edi, eax
mov esi, ebx
mov byte [esp + 0xa0], 2
call fcn.100037e0
cmp dword [esp + 0x88], 8
jb 0x10033014
mov eax, dword [esp + 0x74]
push eax
call fcn.10066b10
add esp, 4
xor ecx, ecx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], cx
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0xa4], 3
call fcn.1001f720
add esp, 4
test al, al
je 0x1003306f
mov eax, dword [esp + 0x3c]
mov esi, 8
cmp dword [esp + 0x50], esi
jae 0x10033057
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
jmp 0x1003308b
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov esi, 8
test eax, eax
setne al
test al, al
jne 0x100330cb
cmp dword [esp + 0x50], esi
jb 0x100330a7
mov edx, dword [esp + 0x3c]
push edx
call fcn.10066b10
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
cmp dword [esp + 0x6c], esi
jb 0x10033131
mov ecx, dword [esp + 0x58]
push ecx
jmp 0x10033129
mov edx, dword [esp + 0x18]
cmp edx, dword [ebp + 0xc]
jb 0x100330f8
ja 0x100330df
mov eax, dword [esp + 0x14]
cmp eax, dword [ebp + 8]
jbe 0x100330f8
mov edi, dword [ebp + 0x14]
mov esi, dword [esp + 0x20]
push edi
push ebx
mov ecx, esi
call fcn.10032d50
test eax, eax
jne 0x10033159
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x1003310b
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.10066b10
add esp, 4
xor edx, edx
mov word [esp + 0x3c], dx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], 7
cmp dword [esp + 0x6c], esi
jb 0x10033131
mov eax, dword [esp + 0x58]
push eax
call fcn.10066b10
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.10066b1b
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esi + 0x14], 8
jb 0x10033163
mov eax, dword [esi]
jmp 0x10033165
mov eax, esi
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push 7
push 0xc0000000
push eax
call dword [0x100ac6c4]
mov esi, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
cmp edi, ebx
je 0x10033198
add dword [ebp + 8], 0x200
adc dword [ebp + 0xc], ebx
jmp 0x100331a3
add dword [ebp + 8], 0xfffffe00
adc dword [ebp + 0xc], 0xffffffff
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
push esi
call dword [0x100ac6ec]
push esi
call dword [0x100ac70c]
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x100331d7
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.10066b10
add esp, 4
xor edx, edx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
cmp dword [esp + 0x6c], esi
jb 0x100331fd
mov eax, dword [esp + 0x58]
push eax
call fcn.10066b10
add esp, 4
mov eax, 1
jmp 0x10033133