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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov eax, dword [0x1005f040]
xor eax, esp
mov dword [esp + 0x1a0], eax
push ebx
push esi
push edi
mov edi, ecx
xorps xmm0, xmm0
mov dword [esp + 0x38], edi
comiss xmm0, dword [edi + 0x1c]
jae 0x1001fd5d
comiss xmm0, dword [edi + 0x20]
jae 0x1001fd5d
mov ecx, dword [0x1010c63c]
xor ebx, ebx
test ecx, ecx
je 0x1001f63e
mov eax, dword [0x1005fc68]
cmp eax, dword [edi + 0x10]
jge 0x1001f678
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x1010c63c], ebx
mov esi, dword [0x1010c638]
mov edx, dword [edi + 0x10]
push ebx
push 0x1010c63c
mov eax, dword [esi]
add edx, 0x1388
push ebx
push 0x142
push 0x208
mov ecx, dword [eax + 0x68]
imul eax, edx, 0x18
mov dword [0x1005fc68], edx
push eax
push esi
call ecx
test eax, eax
js 0x1001fd5d
mov ecx, dword [0x1010c634]
test ecx, ecx
je 0x1001f698
mov eax, dword [0x1005f9cc]
cmp eax, dword [edi + 0xc]
jge 0x1001f6cf
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x1010c634], ebx
mov esi, dword [0x1010c638]
mov edx, dword [edi + 0xc]
push ebx
push 0x1010c634
mov eax, dword [esi]
add edx, 0x2710
push ebx
push 0x65
push 0x208
mov ecx, dword [eax + 0x6c]
lea eax, [edx + edx]
push eax
push esi
mov dword [0x1005f9cc], edx
call ecx
test eax, eax
js 0x1001fd5d
mov ecx, dword [0x1010c638]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], ebx
push 1
mov eax, dword [ecx]
push ecx
call dword [eax + 0xec]
test eax, eax
js 0x1001fd5d
mov eax, dword [0x1010c638]
lea edx, [esp + 0xe8]
push edx
push 0x100
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb4]
mov eax, dword [0x1010c638]
lea edx, [esp + 0x128]
push edx
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb4]
mov eax, dword [0x1010c638]
lea edx, [esp + 0x168]
push edx
push 3
pop esi
mov ecx, dword [eax]
push esi
push eax
mov dword [esp + 0x48], esi
call dword [ecx + 0xb4]
mov edx, dword [0x1010c63c]
push 0x2000
mov eax, dword [edx]
mov ecx, dword [eax + 0x2c]
lea eax, [esp + 0x10]
push eax
imul eax, dword [edi + 0x10], 0x18
push eax
push ebx
push edx
call ecx
test eax, eax
js 0x1001fd5d
mov edx, dword [0x1010c634]
push 0x2000
mov eax, dword [edx]
mov ecx, dword [eax + 0x2c]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edi + 0xc]
add eax, eax
push eax
push ebx
push edx
call ecx
test eax, eax
js 0x1001fd5d
mov ecx, ebx
mov dword [esp + 0x10], ebx
cmp dword [edi + 8], ebx
jle 0x1001f854
mov eax, dword [edi + 4]
and dword [esp + 0x14], 0
mov ebx, dword [eax + ecx*4]
cmp dword [ebx + 0x18], 0
mov esi, dword [ebx + 0x20]
jle 0x1001f81a
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
mov eax, dword [esi]
lea esi, [esi + 0x14]
mov dword [ecx], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esi - 0x10]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0xc]
and dword [eax + 8], 0
mov ecx, dword [esi - 4]
movzx eax, byte [esi - 2]
movzx edx, cl
and ecx, 0xff00ff00
shl edx, 0x10
or edx, eax
mov eax, dword [esp + 0xc]
or edx, ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0xc]
mov ecx, dword [esi - 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esi - 8]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0xc]
add ecx, 0x18
inc edi
mov dword [esp + 0xc], ecx
cmp edi, dword [ebx + 0x18]
jl 0x1001f7ba
mov edi, dword [esp + 0x38]
mov eax, dword [ebx + 0xc]
add eax, eax
push eax
push dword [ebx + 0x14]
push dword [esp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebx + 0xc]
add esp, 0xc
mov eax, dword [esp + 0x18]
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
cmp ecx, dword [edi + 8]
jl 0x1001f79e
push 3
xor ebx, ebx
pop esi
mov eax, dword [0x1010c63c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [0x1010c634]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [0x1010c638]
push 0x18
push ebx
push dword [0x1010c63c]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x190]
mov eax, dword [0x1010c638]
push dword [0x1010c634]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1a0]
mov eax, dword [0x1010c638]
push 0x142
push eax
mov ecx, dword [eax]
call dword [ecx + 0x164]
movss xmm0, dword [edi + 0x1c]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
call fcn.10050bd0
movss xmm0, dword [edi + 0x20]
mov dword [esp + 0x58], eax
call fcn.10050bd0
and dword [esp + 0x60], 0
lea edx, [esp + 0x50]
mov dword [esp + 0x5c], eax
mov eax, dword [0x1010c638]
mov dword [esp + 0x64], 0x3f800000
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xbc]
mov eax, dword [0x1010c638]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1ac]
mov eax, dword [0x1010c638]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x170]
mov eax, dword [0x1010c638]
push 1
push 0x16
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x1010c638]
push ebx
push 0x89
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x1010c638]
push ebx
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x1010c638]
push 1
push 0x1b
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x1010c638]
push ebx
push 0xf
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x1010c638]
push 1
push 0xab
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x1010c638]
push 5
push 0x13
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x1010c638]
push 6
push 0x14
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x1010c638]
push 1
push 0xae
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x1010c638]
push 2
push 9
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x1010c638]
push 4
push 1
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x1010c638]
push 2
push 2
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x1010c638]
push ebx
push esi
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x1010c638]
push 4
push 4
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x1010c638]
push 2
push 5
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x1010c638]
push ebx
push 6
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x1010c638]
push 2
push 6
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x114]
mov eax, dword [0x1010c638]
mov ecx, dword [eax]
push 2
push 5
push ebx
push eax
call dword [ecx + 0x114]
movss xmm6, dword [edi + 0x14]
lea edx, [esp + 0xa8]
movss xmm4, dword [edi + 0x18]
movaps xmm5, xmm6
addss xmm6, dword [edi + 0x1c]
movss xmm0, dword [0x10059720]
movaps xmm3, xmm4
addss xmm4, dword [edi + 0x20]
movss xmm2, dword [0x1005978c]
addss xmm5, xmm0
addss xmm3, xmm0
mov eax, dword [0x1010c638]
addss xmm6, xmm0
and dword [esp + 0x94], 0
push edx
addss xmm4, xmm0
mov dword [esp + 0x94], 0x3f000000
movaps xmm0, xmmword [0x10059920]
movups xmmword [esp + 0xac], xmm0
mov ecx, dword [eax]
movaps xmm0, xmmword [0x10059930]
movaps xmm1, xmm6
movups xmmword [esp + 0xbc], xmm0
push 0x100
movaps xmm0, xmmword [0x10059950]
subss xmm1, xmm5
movups xmmword [esp + 0xd0], xmm0
push eax
movaps xmm0, xmmword [0x10059ec0]
movups xmmword [esp + 0xe4], xmm0
mov dword [esp + 0xac], 0x3f000000
movaps xmm0, xmm2
mov dword [esp + 0xb0], 0x3f800000
divss xmm0, xmm1
movss dword [esp + 0x74], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x78], xmm0
movaps xmm0, xmm3
subss xmm0, xmm4
divss xmm2, xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x8c], xmm0
movaps xmm0, xmm6
movss dword [esp + 0x88], xmm2
addss xmm0, xmm5
subss xmm5, xmm6
divss xmm0, xmm5
movss dword [esp + 0xa4], xmm0
movaps xmm0, xmm4
addss xmm0, xmm3
subss xmm4, xmm3
divss xmm0, xmm4
movss dword [esp + 0xa8], xmm0
call dword [ecx + 0xb0]
mov eax, dword [0x1010c638]
lea edx, [esp + 0xa8]
push edx
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [0x1010c638]
lea edx, [esp + 0x68]
push edx
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
movss xmm1, dword [edi + 0x14]
mov edx, ebx
movss xmm2, dword [edi + 0x18]
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ebx
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x34], xmm2
mov ecx, ebx
mov dword [esp + 0x14], ebx
cmp dword [edi + 8], ebx
jle 0x1001fcff
mov eax, dword [edi + 4]
mov dword [esp + 0x28], ebx
mov esi, dword [eax + ecx*4]
mov dword [esp + 0x24], esi
cmp dword [esi], ebx
jle 0x1001fce7
mov edi, dword [esp + 0x10]
mov eax, ebx
mov dword [esp + 0x2c], eax
mov ebx, dword [esi + 8]
add ebx, eax
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x1001fc11
push ebx
push esi
call eax
pop ecx
pop ecx
jmp 0x1001fca7
movss xmm0, dword [ebx + 4]
subss xmm0, xmm1
push dword [ebx + 0x14]
push 0
cvttss2si eax, xmm0
movss xmm0, dword [ebx + 8]
subss xmm0, xmm2
mov dword [esp + 0x48], eax
cvttss2si eax, xmm0
movss xmm0, dword [ebx + 0xc]
subss xmm0, xmm1
mov dword [esp + 0x4c], eax
cvttss2si eax, xmm0
movss xmm0, dword [ebx + 0x10]
subss xmm0, xmm2
mov dword [esp + 0x50], eax
cvttss2si eax, xmm0
mov dword [esp + 0x54], eax
mov eax, dword [0x1010c638]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x104]
mov eax, dword [0x1010c638]
lea edx, [esp + 0x40]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x12c]
mov eax, dword [ebx]
xor edx, edx
div dword [esp + 0x3c]
mov ecx, dword [0x1010c638]
push eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov esi, dword [ecx]
push dword [eax + 0x18]
push 0
push edi
push 4
push ecx
call dword [esi + 0x148]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
add eax, dword [ebx]
mov edx, dword [esp + 0x28]
movss xmm1, dword [esp + 0x30]
inc edx
movss xmm2, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
add eax, 0x28
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
cmp edx, dword [esi]
jl 0x1001fbfa
mov edi, dword [esp + 0x38]
xor ebx, ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add edx, dword [esi + 0x18]
inc ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
cmp ecx, dword [edi + 8]
jl 0x1001fbda
push 3
pop esi
mov eax, dword [0x1010c638]
lea edx, [esp + 0xe8]
push edx
push 0x100
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [0x1010c638]
lea edx, [esp + 0x128]
push edx
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [0x1010c638]
lea edx, [esp + 0x168]
push edx
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1004cc25
mov esp, ebp
pop ebp
ret