Function at 0x100104f7
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x38
call fcn.1007f73f
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xe
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov ebx, dword [ebp + 0x14]
mov dword [ebx], 0
mov ebx, dword [ebp + 0x18]
mov dword [ebx], 0
cmp dword [ebp + 0xc], 0
jl 0x10010ab9
push 1
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push 0x100a1682
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
je 0x10010ab9
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call fcn.10009be9
test eax, eax
je 0x10010a8f
cmp dword [ebp + 0xc], 0
jne 0x100105eb
mov ebx, dword [ebp - 0xc]
add ebx, 0x18
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov ebx, dword [ebp - 0xc]
add ebx, 0x10
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
mov dword [ebp + 0xc], eax
jmp 0x10010669
mov ebx, dword [ebp - 0xc]
add ebx, 0x10
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0x18
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x30]
fild qword [ebx]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
mov ebx, dword [ebp - 0x34]
fild qword [ebx]
fstp qword [ebp - 0x44]
fsub qword [ebp - 0x44]
fstp qword [ebp - 0x4c]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fsub qword [ebp - 0x4c]
fcomp qword [0x1009b6d0]
fnstsw ax
test ah, 0x41
jne 0x10010669
mov ebx, dword [ebp - 0xc]
add ebx, 0x10
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0x18
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x2c]
fild qword [ebx]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
mov ebx, dword [ebp - 0x30]
fild qword [ebx]
fstp qword [ebp - 0x40]
fsub qword [ebp - 0x40]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.10001e7f
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0
jle 0x10010a8f
cmp dword [ebp + 0x10], 0
je 0x1001071a
push 1
push 3
mov eax, dword [ebp + 0xc]
cdq
push edx
push eax
push dword [ebp + 8]
call fcn.1000ff19
push 1
push dword [ebp + 0x24]
mov eax, 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 0
push dword [ebp + 8]
call fcn.10010b0c
push dword [ebp + 8]
call fcn.1001043b
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov ebx, dword [ebp - 0xc]
add ebx, 0x18
mov dword [ebp - 0x34], ebx
fild qword [ebp - 0x30]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
mov ebx, dword [ebp - 0x34]
fild qword [ebx]
fstp qword [ebp - 0x44]
fsub qword [ebp - 0x44]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
call fcn.10001e7f
mov dword [ebp + 0xc], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x18
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
push dword [ebx + 4]
push dword [ebx]
push dword [ebp + 8]
call fcn.1000ff19
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call fcn.10009be9
mov ebx, dword [ebp - 0xc]
add ebx, 0x18
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0x2c]
push dword [ebx + 4]
push dword [ebx]
call fcn.100116af
cmp dword [ebp + 0x2c], 0
jne 0x10010798
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x30], ebx
fild dword [ebp + 0xc]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.10001e7f
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
mov ebx, dword [ebp - 0x30]
push dword [ebx]
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
nop
nop
mov dword [ebp - 0x1c], eax
jmp 0x100107e8
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x30], ebx
fild dword [ebp + 0xc]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x48]
push dword [ebp + 0x2c]
fld qword [ebp - 0x48]
call fcn.10001e7f
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
mov ebx, dword [ebp - 0x30]
push dword [ebx]
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
nop
nop
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10010a8f
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.10001e7f
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x1c], 0
je 0x10010827
push dword [ebp + 0xc]
push dword [ebp - 0x1c]
call fcn.1001175a
push 0x100a1686
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [0x100a168e]
call fcn.10003509
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
xor ecx, ecx
push eax
lea eax, [ebp - 0x24]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x10010898
mov ebx, dword [0x100a168e]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x24]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx], 0
jne 0x10010893
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
jmp 0x10010898
pop eax
pop ebx
pop ecx
jmp 0x10010850
add esp, 0xc
cmp dword [ebp - 0x28], 0
jne 0x100109bd
fild dword [ebp - 0x20]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x1009b832]
fstp qword [ebp - 0x38]
mov dword [ebp - 0x40], 1
fld qword [ebp - 0x38]
call fcn.10001e7f
cmp eax, 0
jge 0x100108e2
push 0x7b9
push 0x4037ab6
push 0xa
call fcn.1007f751
add esp, 0xc
mov dword [ebp - 0x3c], eax
lea ebx, [ebp - 0x40]
call fcn.10005b2b
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.1007f73f
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x3c]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [0x100a168e]
call fcn.10005b2b
pop edx
mov eax, ecx
cmp ecx, edx
jle 0x10010924
mov ecx, edx
sub eax, ecx
sub edx, ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ebx, esi
mov ecx, eax
test ecx, ecx
je 0x10010951
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.1007f745
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x1001093a
pop edx
pop edi
test edx, edx
je 0x1001098c
mov ebx, edi
push edx
push ebx
push 0xc
call fcn.1007f73f
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
pop ebx
pop edx
add ebx, 4
dec edx
jne 0x1001095b
push dword [0x100a168e]
call fcn.1007f745
add esp, 4
pop eax
mov dword [0x100a168e], eax
fild dword [ebp - 0x20]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x1009b44d]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.10001e7f
mov dword [ebp - 0x28], eax
inc dword [0x100a168a]
mov ebx, dword [0x100a168e]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x28]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
mov ebx, dword [0x100a168e]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x28]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
mov ebx, dword [0x100a168e]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x28]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
push 0x100a1686
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0xc]
add ebx, 0x18
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0x18
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
fild qword [ebx]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.10001e7f
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
mov dword [ebx + 4], edx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call fcn.1000a078
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push dword [ebp + 8]
push 0x100a1682
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
cmp dword [ebp - 0x1c], 0
mov eax, 0
sete al
test eax, eax
je 0x10010adf
mov eax, 0
jmp 0x10010ae2
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
mov dword [ebx], eax
cmp dword [ebp - 0x1c], 0
mov eax, 0
setne al
jmp 0x10010af8
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.1007f745
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x2c