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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov eax, dword [0x1005a040]
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 0x1001bf65
comiss xmm0, dword [edi + 0x20]
jae 0x1001bf65
mov ecx, dword [0x1010cdec]
xor ebx, ebx
test ecx, ecx
je 0x1001b846
mov eax, dword [0x1005ac6c]
cmp eax, dword [edi + 0x10]
jge 0x1001b880
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x1010cdec], ebx
mov esi, dword [0x1010cde8]
mov edx, dword [edi + 0x10]
push ebx
push 0x1010cdec
mov eax, dword [esi]
add edx, 0x1388
push ebx
push 0x142
push 0x208
mov ecx, dword [eax + 0x68]
imul eax, edx, 0x18
mov dword [0x1005ac6c], edx
push eax
push esi
call ecx
test eax, eax
js 0x1001bf65
mov ecx, dword [0x1010cde4]
test ecx, ecx
je 0x1001b8a0
mov eax, dword [0x1005ac68]
cmp eax, dword [edi + 0xc]
jge 0x1001b8d7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x1010cde4], ebx
mov esi, dword [0x1010cde8]
mov edx, dword [edi + 0xc]
push ebx
push 0x1010cde4
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 [0x1005ac68], edx
call ecx
test eax, eax
js 0x1001bf65
mov ecx, dword [0x1010cde8]
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 0x1001bf65
mov eax, dword [0x1010cde8]
lea edx, [esp + 0xe8]
push edx
push 0x100
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb4]
mov eax, dword [0x1010cde8]
lea edx, [esp + 0x128]
push edx
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb4]
mov eax, dword [0x1010cde8]
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 [0x1010cdec]
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 0x1001bf65
mov edx, dword [0x1010cde4]
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 0x1001bf65
mov ecx, ebx
mov dword [esp + 0x10], ebx
cmp dword [edi + 8], ebx
jle 0x1001ba5c
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 0x1001ba22
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 0x1001b9c2
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 0x1001b9a6
push 3
xor ebx, ebx
pop esi
mov eax, dword [0x1010cdec]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [0x1010cde4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [0x1010cde8]
push 0x18
push ebx
push dword [0x1010cdec]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x190]
mov eax, dword [0x1010cde8]
push dword [0x1010cde4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1a0]
mov eax, dword [0x1010cde8]
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.1004cd00
movss xmm0, dword [edi + 0x20]
mov dword [esp + 0x58], eax
call fcn.1004cd00
and dword [esp + 0x60], 0
lea edx, [esp + 0x50]
mov dword [esp + 0x5c], eax
mov eax, dword [0x1010cde8]
mov dword [esp + 0x64], 0x3f800000
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xbc]
mov eax, dword [0x1010cde8]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1ac]
mov eax, dword [0x1010cde8]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x170]
mov eax, dword [0x1010cde8]
push 1
push 0x16
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x1010cde8]
push ebx
push 0x89
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x1010cde8]
push ebx
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x1010cde8]
push 1
push 0x1b
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x1010cde8]
push ebx
push 0xf
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x1010cde8]
push 1
push 0xab
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x1010cde8]
push 5
push 0x13
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x1010cde8]
push 6
push 0x14
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x1010cde8]
push 1
push 0xae
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x1010cde8]
push 2
push 9
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x1010cde8]
push 4
push 1
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x1010cde8]
push 2
push 2
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x1010cde8]
push ebx
push esi
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x1010cde8]
push 4
push 4
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x1010cde8]
push 2
push 5
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x1010cde8]
push ebx
push 6
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x1010cde8]
push 2
push 6
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x114]
mov eax, dword [0x1010cde8]
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 [0x10055588]
movaps xmm3, xmm4
addss xmm4, dword [edi + 0x20]
movss xmm2, dword [0x100555f4]
addss xmm5, xmm0
addss xmm3, xmm0
mov eax, dword [0x1010cde8]
addss xmm6, xmm0
and dword [esp + 0x94], 0
push edx
addss xmm4, xmm0
mov dword [esp + 0x94], 0x3f000000
movaps xmm0, xmmword [0x10055790]
movups xmmword [esp + 0xac], xmm0
mov ecx, dword [eax]
movaps xmm0, xmmword [0x100557a0]
movaps xmm1, xmm6
movups xmmword [esp + 0xbc], xmm0
push 0x100
movaps xmm0, xmmword [0x100557c0]
subss xmm1, xmm5
movups xmmword [esp + 0xd0], xmm0
push eax
movaps xmm0, xmmword [0x10055d60]
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 [0x1010cde8]
lea edx, [esp + 0xa8]
push edx
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [0x1010cde8]
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 0x1001bf07
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 0x1001beef
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 0x1001be19
push ebx
push esi
call eax
pop ecx
pop ecx
jmp 0x1001beaf
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 [0x1010cde8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x104]
mov eax, dword [0x1010cde8]
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 [0x1010cde8]
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 0x1001be02
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 0x1001bde2
push 3
pop esi
mov eax, dword [0x1010cde8]
lea edx, [esp + 0xe8]
push edx
push 0x100
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [0x1010cde8]
lea edx, [esp + 0x128]
push edx
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [0x1010cde8]
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.10048e36
mov esp, ebp
pop ebp
ret