Function at 0x1001c9db
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
mov dword [ebp - 0x14], ebx
push dword [ebp + 8]
call fcn.1001cd20
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x14], ebx
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x1003f211]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.100010b7
push eax
call fcn.1001cd20
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x14], ebx
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x1003f201]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.100010b7
push eax
call fcn.1001cd20
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x14], ebx
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x1003f25b]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.100010b7
push eax
call fcn.1001cd20
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x14], ebx
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x1003f263]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.100010b7
push eax
call fcn.1001cd46
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x14], ebx
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x100433ce]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.100010b7
push eax
call fcn.1001cd46
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0x20
mov dword [ebp - 0x14], ebx
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x1003f28b]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.100010b7
push eax
call fcn.1001cd46
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0x28
mov dword [ebp - 0x14], ebx
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x1003f273]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.100010b7
push eax
call fcn.1001cd20
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0x2c
mov dword [ebp - 0x14], ebx
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x1003f26b]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.100010b7
push eax
call fcn.1001cd20
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0x30
mov dword [ebp - 0x14], ebx
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x1003f293]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.100010b7
push eax
call fcn.1001cd20
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0x34
mov dword [ebp - 0x14], ebx
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x1003f253]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.100010b7
push eax
call fcn.1001cd20
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
mov ebx, dword [ebp - 0x14]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1001cc38
push 0x49f
push 0x4028af9
push 6
call fcn.10038d0c
add esp, 0xc
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x14], ebx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor ecx, ecx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx + 4], edx
jl 0x1001cc5d
jg 0x1001cc5c
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], eax
jbe 0x1001cc5d
inc ecx
mov eax, ecx
test eax, eax
je 0x1001cc87
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x14], ebx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov dword [ebp - 0xc], 1
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x14], ebx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], eax
jne 0x1001cca2
cmp dword [ebx + 4], edx
je 0x1001ccd3
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x14], ebx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov dword [ebp - 0xc], 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001cd7a
cmp dword [ebp - 0xc], 0
je 0x1001cce8
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001cec7
cmp dword [ebp - 8], 0
jne 0x1001ccf2
cmp dword [ebp - 4], 0
jne 0x1001cd04
mov dword [ebp - 0x10], 1
jmp 0x1001cd12
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001d0d4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
jmp 0x1001cd1a
mov esp, ebp
pop ebp
ret 8