Function at 0x1002055c
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.10038d18
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 0x10020c28
push 1
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push 0x10043e59
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
je 0x10020c28
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call fcn.1001c9db
test eax, eax
je 0x10020bfe
cmp dword [ebp + 0xc], 0
jne 0x10020650
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 0x100206ce
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 [0x1003f221]
fnstsw ax
test ah, 0x41
jne 0x100206ce
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.100010b7
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0
jle 0x10020bfe
cmp dword [ebp + 0x10], 0
je 0x1002077f
push 1
push 3
mov eax, dword [ebp + 0xc]
cdq
push edx
push eax
push dword [ebp + 8]
call fcn.1001f46c
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.10020c7b
push dword [ebp + 8]
call fcn.100204a0
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.100010b7
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.1001f46c
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call fcn.1001c9db
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.100217cb
cmp dword [ebp + 0x2c], 0
jne 0x1002081c
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]
mov dword [ebp - 0x4c], esp
fld qword [ebp - 0x48]
call fcn.100010b7
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
cmp dword [ebp - 0x4c], esp
je 0x10020814
push 0x472
push 0x4028aec
push 6
call fcn.10038d0c
add esp, 0xc
mov dword [ebp - 0x1c], eax
jmp 0x1002088b
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]
mov dword [ebp - 0x4c], esp
push dword [ebp + 0x2c]
fld qword [ebp - 0x48]
call fcn.100010b7
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
cmp dword [ebp - 0x4c], esp
je 0x10020888
push 0x4ef
push 0x4028aec
push 6
call fcn.10038d0c
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10020bfe
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.100010b7
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x1c], 0
je 0x100208ca
push dword [ebp + 0xc]
push dword [ebp - 0x1c]
call fcn.10021876
push 0x10043e6d
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [0x10043e75]
call fcn.10014b5f
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 0x1002096e
mov ebx, dword [0x10043e75]
call fcn.100010de
push ebx
push ecx
mov eax, dword [ebp - 0x24]
dec eax
jns 0x1002092b
push 0x70c
push 0x4028aec
push 4
call fcn.10038d0c
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10020948
push 0x70c
push 0x4028aec
push 1
call fcn.10038d0c
add esp, 0xc
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 0x10020969
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
jmp 0x1002096e
pop eax
pop ebx
pop ecx
jmp 0x100208f3
add esp, 0xc
cmp dword [ebp - 0x28], 0
jne 0x10020a93
fild dword [ebp - 0x20]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x1003f29b]
fstp qword [ebp - 0x38]
mov dword [ebp - 0x40], 1
fld qword [ebp - 0x38]
call fcn.100010b7
cmp eax, 0
jge 0x100209b8
push 0x7ef
push 0x4028aec
push 0xa
call fcn.10038d0c
add esp, 0xc
mov dword [ebp - 0x3c], eax
lea ebx, [ebp - 0x40]
call fcn.100010de
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.10038d18
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 [0x10043e75]
call fcn.100010de
pop edx
mov eax, ecx
cmp ecx, edx
jle 0x100209fa
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 0x10020a27
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.10038d1e
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x10020a10
pop edx
pop edi
test edx, edx
je 0x10020a62
mov ebx, edi
push edx
push ebx
push 0xc
call fcn.10038d18
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 0x10020a31
push dword [0x10043e75]
call fcn.10038d1e
add esp, 4
pop eax
mov dword [0x10043e75], eax
fild dword [ebp - 0x20]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x1003f283]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.100010b7
mov dword [ebp - 0x28], eax
inc dword [0x10043e71]
mov ebx, dword [0x10043e75]
call fcn.100010de
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x10020ac3
push 0x88f
push 0x4028aec
push 4
call fcn.10038d0c
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10020ae0
push 0x88f
push 0x4028aec
push 1
call fcn.10038d0c
add esp, 0xc
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 [0x10043e75]
call fcn.100010de
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x10020b1c
push 0x8c0
push 0x4028aec
push 4
call fcn.10038d0c
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10020b39
push 0x8c0
push 0x4028aec
push 1
call fcn.10038d0c
add esp, 0xc
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 [0x10043e75]
call fcn.100010de
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x10020b78
push 0x8f1
push 0x4028aec
push 4
call fcn.10038d0c
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10020b95
push 0x8f1
push 0x4028aec
push 1
call fcn.10038d0c
add esp, 0xc
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 0x10043e6d
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.100010b7
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.1001cec7
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 0x10043e59
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 0x10020c4e
mov eax, 0
jmp 0x10020c51
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 0x10020c67
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.10038d1e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x2c