Function at 0x1003a1c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4c
mov eax, dword [0x100c83c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
xorps xmm0, xmm0
push esi
push edi
mov dword [ebp - 0xf48], ebx
comiss xmm0, dword [ebx + 0x1c]
jae 0x1003aa3f
comiss xmm0, dword [ebx + 0x20]
jae 0x1003aa3f
mov esi, dword [0x101423a0]
test esi, esi
je 0x1003a204
mov esi, dword [esi + 0x78]
jmp 0x1003a206
xor esi, esi
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x38]
mov edi, dword [esi + 4]
mov dword [ebp - 0xf34], esi
mov dword [ebp - 0xf38], edi
mov dword [ebp - 0xf2c], eax
test ecx, ecx
je 0x1003a23d
mov eax, dword [eax]
cmp eax, dword [ebx + 0xc]
jge 0x1003a299
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea edx, [esi + 0xc]
mov dword [edx], 0
jmp 0x1003a246
mov dword [ebp - 0xf2c], eax
lea edx, [esi + 0xc]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0xf2c]
add eax, 0x1388
push edx
push 0
mov dword [ebp - 8], 0
lea edx, [ebp - 0x1c]
mov dword [ecx], eax
lea eax, [eax + eax*4]
shl eax, 2
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0x10000
mov dword [ebp - 0xc], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x1003aa3f
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1003a2b5
mov eax, dword [esi + 0x3c]
cmp eax, dword [ebx + 8]
jge 0x1003a2fc
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x10], 0
mov eax, dword [ebx + 8]
lea edx, [esi + 0x10]
add eax, 0x2710
mov dword [ebp - 0x18], 2
mov dword [esi + 0x3c], eax
xorps xmm0, xmm0
add eax, eax
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
push edx
push 0
mov dword [ebp - 0x14], 2
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x10], 0x10000
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x1003aa3f
mov eax, dword [edi]
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 4
push 0
push dword [esi + 0xc]
push edi
call dword [eax + 0x38]
test eax, eax
jne 0x1003aa3f
mov eax, dword [edi]
lea ecx, [ebp - 0x38]
push ecx
push 0
push 4
push 0
push dword [esi + 0x10]
push edi
call dword [eax + 0x38]
test eax, eax
jne 0x1003aa3f
cmp dword [ebx + 4], 0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xf2c], ecx
mov dword [ebp - 0xf30], eax
jle 0x1003a3bc
xor edi, edi
nop dword [eax]
mov eax, dword [ebx + 0x10]
mov esi, dword [eax + edi*4]
mov eax, dword [esi + 0x18]
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [esi + 0x20]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0xc]
add esp, 0xc
add eax, eax
push eax
push dword [esi + 0x14]
push dword [ebp - 0xf30]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0x18]
inc edi
mov ecx, dword [ebp - 0xf2c]
add esp, 0xc
mov edx, dword [ebp - 0xf30]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xf2c], ecx
lea edx, [edx + eax*2]
mov dword [ebp - 0xf30], edx
cmp edi, dword [ebx + 4]
jl 0x1003a350
mov edi, dword [ebp - 0xf38]
mov esi, dword [ebp - 0xf34]
mov eax, dword [edi]
push 0
push dword [esi + 0xc]
push edi
call dword [eax + 0x3c]
mov eax, dword [edi]
push 0
push dword [esi + 0x10]
push edi
call dword [eax + 0x3c]
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push ecx
push 0
push 4
push 0
push dword [esi + 0x1c]
push edi
call dword [eax + 0x38]
test eax, eax
jne 0x1003aa3f
movss xmm6, dword [ebx + 0x14]
movss xmm2, dword [0x100c43e8]
movaps xmm3, xmm6
addss xmm3, dword [ebx + 0x1c]
movss xmm5, dword [ebx + 0x18]
movaps xmm0, xmm2
mov eax, dword [ebp - 0x10]
movaps xmm4, xmm5
addss xmm4, dword [ebx + 0x20]
push 0
movaps xmm1, xmm3
subss xmm1, xmm6
divss xmm0, xmm1
movss dword [eax], xmm0
movaps xmm0, xmm5
mov eax, dword [ebp - 0x10]
subss xmm0, xmm4
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x10]
divss xmm2, xmm0
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov eax, dword [ebp - 0x10]
movaps xmm0, xmm3
movss dword [eax + 0x14], xmm2
addss xmm0, xmm6
mov eax, dword [ebp - 0x10]
subss xmm6, xmm3
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0x10]
divss xmm0, xmm6
mov dword [eax + 0x1c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], 0x3f000000
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], 0
mov eax, dword [ebp - 0x10]
movss dword [eax + 0x30], xmm0
movaps xmm0, xmm4
addss xmm0, xmm5
mov eax, dword [ebp - 0x10]
subss xmm4, xmm5
divss xmm0, xmm4
movss dword [eax + 0x34], xmm0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], 0x3f000000
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], 0x3f800000
push dword [esi + 0x1c]
mov eax, dword [edi]
push edi
call dword [eax + 0x3c]
push 0xee8
lea eax, [ebp - 0xf20]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xf24], 0x10
lea ecx, [ebp - 0xf20]
mov dword [ebp - 0xf28], 0x10
mov eax, dword [edi]
push ecx
lea ecx, [ebp - 0xf28]
push ecx
push edi
call dword [eax + 0x180]
mov eax, dword [edi]
lea ecx, [ebp - 0xe20]
push ecx
lea ecx, [ebp - 0xf24]
push ecx
push edi
call dword [eax + 0x17c]
mov eax, dword [edi]
lea ecx, [ebp - 0xca0]
push ecx
push edi
call dword [eax + 0x178]
mov eax, dword [edi]
lea ecx, [ebp - 0xc88]
push ecx
lea ecx, [ebp - 0xc98]
push ecx
lea ecx, [ebp - 0xc9c]
push ecx
push edi
call dword [eax + 0x16c]
mov eax, dword [edi]
lea ecx, [ebp - 0xc84]
push ecx
lea ecx, [ebp - 0xc80]
push ecx
push edi
call dword [eax + 0x170]
mov eax, dword [edi]
lea ecx, [ebp - 0xc7c]
push ecx
push 1
push 0
push edi
call dword [eax + 0x124]
mov eax, dword [edi]
lea ecx, [ebp - 0xc78]
push ecx
push 1
push 0
push edi
call dword [eax + 0x12c]
lea ecx, [ebp - 0xc68]
mov dword [ebp - 0xc60], 0x100
push ecx
lea ecx, [ebp - 0xc5c]
mov dword [ebp - 0xc64], 0x100
push ecx
mov dword [ebp - 0xc68], 0x100
lea ecx, [ebp - 0xc74]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x128]
mov eax, dword [edi]
lea ecx, [ebp - 0xc64]
push ecx
lea ecx, [ebp - 0x85c]
push ecx
lea ecx, [ebp - 0xc70]
push ecx
push edi
call dword [eax + 0x130]
mov eax, dword [edi]
lea ecx, [ebp - 0x50]
push ecx
push 1
push 0
push edi
call dword [eax + 0x120]
mov eax, dword [edi]
lea ecx, [ebp - 0xc60]
push ecx
lea ecx, [ebp - 0x45c]
push ecx
lea ecx, [ebp - 0xc6c]
push ecx
push edi
call dword [eax + 0x148]
mov eax, dword [edi]
lea ecx, [ebp - 0x5c]
push ecx
push edi
call dword [eax + 0x14c]
mov eax, dword [edi]
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x58]
push ecx
push edi
call dword [eax + 0x140]
mov eax, dword [edi]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push 1
push 0
push edi
call dword [eax + 0x13c]
mov eax, dword [edi]
lea ecx, [ebp - 0x3c]
push ecx
push edi
call dword [eax + 0x138]
mov edx, edi
mov ecx, ebx
call fcn.1003a060
movss xmm0, dword [ebx + 0x14]
xor ecx, ecx
movss xmm4, dword [ebx + 0x18]
xor edx, edx
xor esi, esi
mov dword [ebp - 0xf34], ecx
mov dword [ebp - 0xf2c], edx
movss dword [ebp - 0xf44], xmm0
movss dword [ebp - 0xf30], xmm4
mov dword [ebp - 0xf38], esi
cmp dword [ebx + 4], ecx
jle 0x1003a815
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xf40], 0
mov ebx, dword [eax + esi*4]
cmp dword [ebx], 0
jle 0x1003a7ed
xor eax, eax
mov dword [ebp - 0xf3c], eax
mov esi, dword [ebx + 8]
add esi, eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1003a720
cmp eax, 0xffffffff
jne 0x1003a714
mov ecx, dword [ebp - 0xf48]
mov edx, edi
call fcn.1003a060
jmp 0x1003a7a9
push esi
push ebx
call eax
add esp, 8
jmp 0x1003a7a9
movss xmm3, dword [esi]
movss xmm2, dword [esi + 8]
subss xmm3, xmm0
movss xmm1, dword [esi + 4]
subss xmm2, xmm0
movss xmm0, dword [esi + 0xc]
subss xmm1, xmm4
subss xmm0, xmm4
comiss xmm3, xmm2
jae 0x1003a7b1
comiss xmm1, xmm0
jae 0x1003a7b1
cvttss2si eax, xmm3
lea ecx, [ebp - 0x14]
push ecx
push 1
push edi
mov dword [ebp - 0x14], eax
cvttss2si eax, xmm1
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm2
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
mov eax, dword [edi]
call dword [eax + 0xb4]
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x20]
push ecx
push 1
mov dword [ebp - 0x20], eax
mov eax, dword [edi]
push 0
push edi
call dword [eax + 0x20]
mov eax, dword [esi + 0x14]
add eax, dword [ebp - 0xf2c]
mov ecx, dword [edi]
push eax
mov eax, dword [esi + 0x18]
add eax, dword [ebp - 0xf34]
push eax
push dword [esi + 0x1c]
push edi
call dword [ecx + 0x30]
movss xmm4, dword [ebp - 0xf30]
mov eax, dword [ebp - 0xf40]
add dword [ebp - 0xf3c], 0x28
inc eax
cmp eax, dword [ebx]
movss xmm0, dword [ebp - 0xf44]
mov dword [ebp - 0xf40], eax
mov eax, dword [ebp - 0xf3c]
jl 0x1003a6f1
mov ecx, dword [ebp - 0xf34]
mov edx, dword [ebp - 0xf2c]
mov esi, dword [ebp - 0xf38]
add ecx, dword [ebx + 0xc]
inc esi
add edx, dword [ebx + 0x18]
mov ebx, dword [ebp - 0xf48]
mov dword [ebp - 0xf34], ecx
mov dword [ebp - 0xf2c], edx
mov dword [ebp - 0xf38], esi
cmp esi, dword [ebx + 4]
jl 0x1003a6d0
mov eax, dword [edi]
lea ecx, [ebp - 0xf20]
push ecx
push dword [ebp - 0xf28]
push edi
call dword [eax + 0xb4]
mov eax, dword [edi]
lea ecx, [ebp - 0xe20]
push ecx
push dword [ebp - 0xf24]
push edi
call dword [eax + 0xb0]
push dword [ebp - 0xca0]
mov eax, dword [edi]
push edi
call dword [eax + 0xac]
mov ecx, dword [ebp - 0xca0]
test ecx, ecx
je 0x1003a860
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0xc88]
mov eax, dword [edi]
lea ecx, [ebp - 0xc98]
push ecx
push dword [ebp - 0xc9c]
push edi
call dword [eax + 0x8c]
mov ecx, dword [ebp - 0xc9c]
test ecx, ecx
je 0x1003a88c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0xc84]
mov eax, dword [edi]
push dword [ebp - 0xc80]
push edi
call dword [eax + 0x90]
mov ecx, dword [ebp - 0xc80]
test ecx, ecx
je 0x1003a8b1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0xc7c]
push ecx
push 1
push 0
push edi
call dword [eax + 0x20]
mov ecx, dword [ebp - 0xc7c]
test ecx, ecx
je 0x1003a8d2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0xc78]
push ecx
push 1
push 0
push edi
call dword [eax + 0x28]
mov ecx, dword [ebp - 0xc78]
test ecx, ecx
je 0x1003a8f3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0xc68]
mov eax, dword [edi]
lea ecx, [ebp - 0xc5c]
push ecx
push dword [ebp - 0xc74]
push edi
call dword [eax + 0x24]
mov ecx, dword [ebp - 0xc74]
test ecx, ecx
je 0x1003a91c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc68]
xor esi, esi
test eax, eax
je 0x1003a94c
nop dword [eax + eax]
mov ecx, dword [ebp + esi*4 - 0xc5c]
test ecx, ecx
je 0x1003a947
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc68]
inc esi
cmp esi, eax
jb 0x1003a930
push dword [ebp - 0xc64]
mov eax, dword [edi]
lea ecx, [ebp - 0x85c]
push ecx
push dword [ebp - 0xc70]
push edi
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0xc70]
test ecx, ecx
je 0x1003a975
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0x50]
push ecx
push 1
push 0
push edi
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x1003a990
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0xc60]
mov eax, dword [edi]
lea ecx, [ebp - 0x45c]
push ecx
push dword [ebp - 0xc6c]
push edi
call dword [eax + 0x5c]
mov ecx, dword [ebp - 0xc6c]
test ecx, ecx
je 0x1003a9b9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc64]
xor esi, esi
test eax, eax
je 0x1003a9e1
mov ecx, dword [ebp + esi*4 - 0x85c]
test ecx, ecx
je 0x1003a9dc
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc64]
inc esi
cmp esi, eax
jb 0x1003a9c5
push dword [ebp - 0x5c]
mov eax, dword [edi]
push edi
call dword [eax + 0x60]
push dword [ebp - 0x4c]
mov eax, dword [edi]
push dword [ebp - 0x40]
push dword [ebp - 0x58]
push edi
call dword [eax + 0x4c]
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x1003aa06
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push 1
push 0
push edi
call dword [eax + 0x48]
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x1003aa29
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x3c]
mov eax, dword [edi]
push edi
call dword [eax + 0x44]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x1003aa3f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100acd72
mov esp, ebp
pop ebp
ret