Function at 0x1003c873
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006eefe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x98
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1003ca55
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x1003c93d
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1003c91b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 1
jge 0x1003c938
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0xa0]
call fcn.1002185c
or dword [eax], 0xffffffff
jmp 0x1003c910
jmp 0x1003ca50
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0x4320e32c
jl 0x1003c999
mov dword [ebp - 0x2c], 1
jmp 0x1003c99d
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0x3bd65256
jl 0x1003c9b1
mov dword [ebp - 0x34], 1
jmp 0x1003c9b5
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jne 0x1003c9c8
mov dword [ebp - 0x44], 1
jmp 0x1003c9cc
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x44]
sub eax, 0x9598
cmp dword [ebp - 0x2c], eax
jne 0x1003c9ea
mov dword [ebp - 0x3c], 1
jmp 0x1003c9ee
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jg 0x1003ca01
mov dword [ebp - 0x30], 1
jmp 0x1003ca05
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x84]
mov dword [eax], 0x8f0a
cmp dword [ebp - 0x30], 0x8f0a
jle 0x1003ca23
mov dword [ebp - 0x38], 1
jmp 0x1003ca27
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x38]
jge 0x1003ca3a
mov dword [ebp - 0x40], 1
jmp 0x1003ca3e
and dword [ebp - 0x40], 0
push 0
mov ecx, dword [ebp - 0x8c]
call fcn.1002185c
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
jmp 0x1003cb75
lea eax, [ebp + 0xc]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x1003cb65
mov dword [ebp - 0x48], 0x113a
mov dword [ebp - 0x9c], 0x10008504
cmp dword [ebp - 0x48], 0x11a0
jle 0x1003cb00
and dword [ebp - 0x24], 0
jmp 0x1003ca96
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7060
jge 0x1003cb00
and dword [ebp - 0x20], 0
jmp 0x1003caac
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x6bbc
jge 0x1003cafe
and dword [ebp - 0x28], 0
jmp 0x1003cac2
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x19b5
jge 0x1003cafc
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
sar eax, cl
cdq
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
mov ecx, 0x10616598
call fcn.10021518
jmp 0x1003cabb
jmp 0x1003caa5
jmp 0x1003ca8f
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1003cb20
push 0x1290
push 0
push 0
push 0x16b5
call dword [sym.imp.GDI32.dll_PolyPolygon]
and dword [ebp - 4], 0
cmp dword [ebp - 0x48], 0x10f8
jge 0x1003cb3d
mov edx, dword [ebp - 0x9c]
mov ecx, 0x10616598
call fcn.100246df
jmp 0x1003cb59
or dword [ebp - 4], 0xffffffff
jmp 0x1003cb63
jmp 0x1003cb75
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret