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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
mov esi, esp
mov dword [esi + 0xd8], ebp
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0xdc], esp
mov dword [esi + 0xe8], 0xffffffff
lea eax, [esi + 0xe0]
mov dword [esi + 0xe4], 0x1002c9e0
mov ecx, dword fs:[0]
mov dword [esi + 0xe0], ecx
mov dword fs:[0], eax
cmp dword [ebx + 0x3c50], 0
je 0x10023699
mov edx, dword [ebx + 0x3c4c]
mov eax, edx
shr eax, 1
mov ecx, dword [ebx + 0x3c48]
dec ecx
and ecx, eax
mov eax, dword [ebx + 0x3c44]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10356958]
test al, 1
je 0x10023d72
and edx, 1
test al, 2
je 0x10023da2
mov dword [esi + 0xc], edx
mov ebx, dword [ecx + edx*8]
mov eax, dword [ebx + 0x6350]
cmp eax, dword [0x10356954]
jg 0x10023699
cmp byte [ebx + 0x6358], 0
jne 0x10023699
cmp eax, dword [0x1035695c]
jl 0x10023699
mov dword [esi + 8], ecx
mov edi, dword [0x1035678c]
mov ecx, dword [edi + 0x208]
mov eax, dword [ecx]
call dword [eax + 0x30]
fstp dword [esi + 0x8c]
mov eax, dword [0x103567e0]
mov eax, dword [eax + 0x20]
xor ecx, ecx
test eax, eax
cmovg ecx, eax
mov eax, dword [0x1035678c]
mov edx, dword [eax]
mov eax, dword [eax + 0x124]
mov edx, dword [edx]
mov eax, dword [eax + edx]
movss xmm1, dword [edi + 0x3f48]
addss xmm1, dword [edi + 0x3f4c]
movss xmm0, dword [esi + 0x8c]
addss xmm1, dword [edi + 0x3f50]
sub eax, ecx
cvtsi2ss xmm2, eax
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
mulss xmm2, dword [edx + 0x20]
subss xmm2, dword [ebx + 0x6360]
mov dword [esi + 0x10], 0x7996b829
mov eax, dword [esi + 0x10]
bswap eax
mov dword [esi + 0x10], eax
add dword [esi + 0x10], 0x14c76987
mov eax, dword [esi + 0x10]
rol eax, 0xd
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
cvtsi2ss xmm3, eax
mov dword [esi + 0x10], 0xe106bf1c
mov eax, dword [esi + 0x10]
bswap eax
mov dword [esi + 0x10], eax
add dword [esi + 0x10], 0x1bc0f920
mov eax, dword [esi + 0x10]
rol eax, 0xd
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
cvtsi2ss xmm4, eax
xorps xmm5, xmm5
maxss xmm5, xmm1
movaps xmm6, xmm0
cmpltss xmm6, xmm1
movaps xmm1, xmm6
andnps xmm1, xmm5
andps xmm6, xmm0
orps xmm6, xmm1
subss xmm6, xmm2
andps xmm6, xmmword [0x10154d90]
divss xmm3, xmm4
ucomiss xmm3, xmm6
jbe 0x10023696
mov eax, dword [0x103567a8]
bswap eax
mov edx, dword [0x103567ac]
add edx, eax
mov ecx, dword [0x103567b0]
ror edx, cl
mov eax, dword [edx + 0x16c]
mov ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov ecx, dword [edx + ebx*8]
sub eax, dword [ecx + 0x63f0]
jle 0x100236b5
movss xmm0, dword [edi + 0x3f50]
mulss xmm0, dword [0x10154044]
mov ecx, dword [0x1035679c]
bswap ecx
mov edx, dword [0x103567a0]
add edx, ecx
mov ecx, dword [0x103567a4]
ror edx, cl
movss xmm1, dword [edx + 0x20]
mov dword [esi + 0x10], 0x79967887
mov ecx, dword [esi + 0x10]
bswap ecx
mov dword [esi + 0x10], ecx
add dword [esi + 0x10], 0x14c76987
mov ecx, dword [esi + 0x10]
rol ecx, 0xd
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x10]
cvtsi2ss xmm2, ecx
unpcklps xmm0, xmm2
mov dword [esi + 0x10], 0xe106bf1c
mov ecx, dword [esi + 0x10]
bswap ecx
mov dword [esi + 0x10], ecx
add dword [esi + 0x10], 0x1bc0f920
mov ecx, dword [esi + 0x10]
rol ecx, 0xd
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x10]
xorps xmm2, xmm2
cvtsi2ss xmm2, ecx
unpcklps xmm1, xmm2
divps xmm0, xmm1
movaps xmm1, xmm0
shufps xmm1, xmm0, 0x55
addss xmm1, xmm0
cvttss2si ecx, xmm1
cmp eax, ecx
jge 0x10023696
mov dword [esi + 0x60], esp
mov edi, ebx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx]
mov edx, dword [esi + 8]
mov eax, dword [edx + edi*8 + 4]
test eax, eax
je 0x10023754
lock inc dword [eax + 4]
mov ebx, dword [edx + edi*8 + 4]
jmp 0x10023756
mov edi, dword [ebp + 8]
mov byte [edi + 0x3c], 0
mov eax, dword [esi + 0xe0]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov dword [esi + 0x60], esp
sub esp, 0x10
mov ecx, ebx
mov ebx, esp
xorps xmm0, xmm0
movlps qword [ebx + 4], xmm0
mov eax, ebx
add eax, 4
mov ecx, dword [edx + ecx*8 + 4]
test ecx, ecx
je 0x100236d7
lock inc dword [ecx + 4]
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 8]
mov ecx, dword [edi + edx*8]
mov dword [ebx + 4], ecx
mov ecx, dword [edi + edx*8 + 4]
mov dword [ebx + 8], ecx
mov byte [ebx + 0xc], 1
mov ecx, dword [ebp + 0xc]
mov dword [ebx], ecx
mov byte [esi + 0x28], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
movups xmmword [esi + 0x2c], xmm0
movups xmmword [esi + 0x3c], xmm0
mov dword [esi + 0x1c], ecx
lea ecx, [esi + 0x20]
push eax
call fcn.1002aca0
cmp byte [ebx + 0xc], 0
je 0x10023746
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x10023746
lock dec dword [ebx + 4]
jne 0x10023746
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock dec dword [ebx + 8]
jne 0x10023746
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov esp, dword [esi + 0x60]
lea ebx, [esi + 0x10]
mov edi, dword [ebp + 8]
jmp 0x10023d5e
xor ebx, ebx
mov eax, dword [edx + edi*8]
mov dword [esi + 0x10], ecx
movss xmm0, dword [eax + 0x6360]
movss dword [esi + 0x14], xmm0
mov ecx, dword [eax + 0x6378]
mov dword [esi + 0x18], ecx
not cl
and cl, 1
mov byte [esi + 0x1c], cl
xorps xmm0, xmm0
movlps qword [esi + 0x20], xmm0
mov ecx, dword [eax + 0x6384]
mov dword [esi + 0x30], ecx
movsd xmm0, qword [eax + 0x637c]
movsd qword [esi + 0x28], xmm0
mov ecx, dword [eax + 0x6428]
mov dword [esi + 0x3c], ecx
movsd xmm0, qword [eax + 0x6420]
movsd qword [esi + 0x34], xmm0
mov ecx, dword [eax + 0x63b8]
mov dword [esi + 0x48], ecx
movsd xmm0, qword [eax + 0x63b0]
movsd qword [esi + 0x40], xmm0
movsd xmm0, qword [eax + 0x63e0]
movsd qword [esi + 0x4c], xmm0
mov eax, dword [eax + 0x63e8]
mov dword [esi + 0x54], eax
test ebx, ebx
je 0x100237f6
lock dec dword [ebx + 4]
jne 0x100237f6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock dec dword [ebx + 8]
jne 0x100237f6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov esp, dword [esi + 0x60]
movss xmm1, dword [esi + 0x34]
movss xmm0, dword [esi + 0x38]
xorps xmm3, xmm3
ucomiss xmm0, xmm3
jne 0x10023817
jp 0x10023817
xorps xmm2, xmm2
ucomiss xmm1, xmm2
jne 0x10023817
jnp 0x1002384b
cvtss2sd xmm1, xmm1
cvtss2sd xmm0, xmm0
sub esp, 0x10
movsd qword [esp + 8], xmm1
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
add esp, 0x10
fstp dword [esi + 0x88]
movss xmm3, dword [esi + 0x88]
mulss xmm3, dword [0x10154da0]
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x3c50], 2
mov ecx, dword [esi + 8]
jb 0x10023a69
movss dword [esi + 0x60], xmm3
mov eax, dword [ebp + 0xc]
lea ebx, [eax + 0x3c40]
mov eax, dword [esi + 0xc]
mov eax, dword [ecx + eax*8]
movss xmm0, dword [eax + 0x6360]
movss dword [esi + 0x5c], xmm0
mov ecx, ebx
push 1
call fcn.10023eb0
mov eax, dword [eax]
movss xmm0, dword [esi + 0x5c]
subss xmm0, dword [eax + 0x6360]
movss dword [esi + 0x5c], xmm0
mov ecx, ebx
push 1
call fcn.10023eb0
mov eax, dword [eax]
movss xmm0, dword [eax + 0x6424]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
mov edi, dword [ebp + 8]
jne 0x100238dc
jp 0x100238dc
mov ecx, ebx
push 1
call fcn.10023eb0
xorps xmm1, xmm1
mov eax, dword [eax]
movss xmm0, dword [eax + 0x6420]
ucomiss xmm0, xmm1
jne 0x100238dc
jnp 0x10023940
mov ecx, ebx
push 1
call fcn.10023eb0
mov eax, dword [eax]
movss xmm0, dword [eax + 0x6420]
movss dword [esi + 0x58], xmm0
mov ecx, ebx
push 1
call fcn.10023eb0
mov eax, dword [eax]
movss xmm0, dword [eax + 0x6424]
movss xmm1, dword [esi + 0x58]
cvtss2sd xmm1, xmm1
cvtss2sd xmm0, xmm0
sub esp, 0x10
movsd qword [esp + 8], xmm1
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
add esp, 0x10
fstp dword [esi + 0x84]
movss xmm1, dword [esi + 0x84]
mulss xmm1, dword [0x10154da0]
movss dword [esi + 0x58], xmm1
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x60]
cvtss2sd xmm0, xmm0
sub esp, 0x10
movsd qword [esp], xmm0
mov dword [esp + 0xc], 0x40768000
mov dword [esp + 8], 0
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
movss xmm3, dword [esi + 0x58]
movss xmm2, dword [esi + 0x60]
add esp, 0x10
fstp dword [esi + 0x80]
movss xmm0, dword [esi + 0x80]
ucomiss xmm3, xmm2
jbe 0x100239a1
ucomiss xmm0, dword [0x10154dac]
jb 0x100239b6
addss xmm0, dword [0x10154db0]
jmp 0x100239b6
movss xmm1, dword [0x10154da4]
ucomiss xmm1, xmm0
jb 0x100239b6
addss xmm0, dword [0x10154da8]
andps xmm0, xmmword [0x10154d90]
ucomiss xmm0, dword [0x10154db4]
ja 0x10023699
movaps xmm0, xmm2
subss xmm0, xmm3
cvtss2sd xmm0, xmm0
sub esp, 0x10
movsd qword [esp], xmm0
mov dword [esp + 0xc], 0x40768000
mov dword [esp + 8], 0
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
movss xmm3, dword [esi + 0x60]
add esp, 0x10
fstp dword [esi + 0x7c]
movss xmm0, dword [esi + 0x7c]
movss xmm1, dword [0x10154db0]
addss xmm1, xmm0
movss xmm2, dword [0x10154dac]
cmpltss xmm2, xmm0
andps xmm1, xmm2
andnps xmm2, xmm0
orps xmm2, xmm1
movss xmm1, dword [0x10154da8]
movaps xmm0, xmm2
cmpltss xmm0, dword [0x10154da4]
addss xmm1, xmm2
andps xmm1, xmm0
andnps xmm0, xmm2
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
orps xmm0, xmm1
divss xmm0, dword [esi + 0x5c]
mulss xmm0, dword [edx + 0x20]
mov ecx, dword [esi + 8]
movaps xmm1, xmmword [0x10154d90]
andps xmm1, xmm0
movss xmm2, dword [0x10154db8]
cmpltss xmm2, xmm1
andnps xmm2, xmm0
movss dword [esi + 0x20], xmm2
movss dword [esi + 0x24], xmm3
mov ebx, dword [esi + 0xc]
mov eax, dword [ecx + ebx*8]
cmp dword [eax + 0x6350], 0
jle 0x10023b77
xor edi, edi
movaps xmmword [esi + 0x60], xmm2
nop word cs:[eax + eax]
movss xmm0, dword [esi + 0x24]
addss xmm0, xmm2
cvtss2sd xmm0, xmm0
sub esp, 0x10
movsd qword [esp], xmm0
mov dword [esp + 0xc], 0x40768000
mov dword [esp + 8], 0
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
add esp, 0x10
fstp dword [esi + 0x78]
movss xmm0, dword [esi + 0x78]
movaps xmm1, xmm0
addss xmm1, dword [0x10154db0]
movss xmm2, dword [0x10154dac]
cmpltss xmm2, xmm0
andps xmm1, xmm2
andnps xmm2, xmm0
orps xmm2, xmm1
movaps xmm0, xmm2
addss xmm0, dword [0x10154da8]
movaps xmm1, xmm2
cmpltss xmm1, dword [0x10154da4]
andps xmm0, xmm1
andnps xmm1, xmm2
orps xmm1, xmm0
movss dword [esi + 0x24], xmm1
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movss xmm0, dword [edx + 0x20]
addss xmm0, dword [esi + 0x14]
movss dword [esi + 0x14], xmm0
mov ecx, dword [0x10356940]
lea eax, [esi + 0x10]
push eax
call fcn.1004f630
mov ecx, dword [esi + 8]
movaps xmm2, xmmword [esi + 0x60]
inc edi
mov eax, dword [ecx + ebx*8]
cmp edi, dword [eax + 0x6350]
jl 0x10023ab0
mov dword [esi + 0x60], esp
mov byte [eax + 0x6000], 1
push eax
sub esp, 0xc
mov ebx, esp
lea edi, [ebx + 4]
lea eax, [esi + 0x90]
push eax
call fcn.10023ee0
add esp, 4
movsd xmm0, qword [esi + 0x90]
movsd qword [ebx + 4], xmm0
xorps xmm0, xmm0
movlps qword [esi + 0x90], xmm0
mov byte [ebx + 0xc], 1
mov eax, dword [ebp + 0xc]
mov dword [ebx], eax
lea ecx, [esi + 0xa8]
mov byte [esi + 0xb0], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0xa0], 0
movups xmmword [esi + 0xb4], xmm0
movups xmmword [esi + 0xc4], xmm0
mov dword [esi + 0xa4], eax
push edi
call fcn.1002aca0
cmp byte [ebx + 0xc], 0
je 0x10023c24
mov edi, dword [ebx + 8]
test edi, edi
je 0x10023c24
lock dec dword [edi + 4]
jne 0x10023c24
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock dec dword [edi + 8]
jne 0x10023c24
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov esp, dword [esi + 0x60]
lea ecx, [esi + 0x90]
call fcn.10023ff0
cmp byte [esi + 0xb0], 0
je 0x10023de5
mov ebx, dword [esi + 0xa8]
push 0x6434
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 8]
push dword [eax + edi*8]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movss xmm0, dword [esi + 0x14]
movss dword [ebx + 0x6360], xmm0
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x6378], eax
lea ecx, [esi + 0x28]
mov eax, dword [ecx + 8]
mov dword [ebx + 0x6384], eax
movsd xmm0, qword [ecx]
movsd qword [ebx + 0x637c], xmm0
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x6428], eax
movsd xmm0, qword [ecx + 0xc]
movsd qword [ebx + 0x6420], xmm0
mov eax, dword [esi + 8]
mov ecx, dword [eax + edi*8]
cmp dword [ecx + 0x63a4], 0
je 0x10023d40
mov ebx, edi
movss xmm0, dword [esi + 0x28]
movss xmm1, dword [esi + 0x2c]
movss xmm2, dword [esi + 0x30]
subss xmm0, dword [ecx + 0x637c]
subss xmm1, dword [ecx + 0x6380]
subss xmm2, dword [ecx + 0x6384]
xor eax, eax
xor edx, edx
mov edi, dword [ebp + 8]
nop word cs:[eax + eax]
cmp edx, 0x100
je 0x10023dd6
movss xmm3, dword [ecx + eax + 0xc]
addss xmm3, xmm0
movss dword [ecx + eax + 0xc], xmm3
movss xmm3, dword [ecx + eax + 0x1c]
addss xmm3, xmm1
movss dword [ecx + eax + 0x1c], xmm3
movss xmm3, dword [ecx + eax + 0x2c]
addss xmm3, xmm2
movss dword [ecx + eax + 0x2c], xmm3
inc edx
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + ebx*8]
add eax, 0x30
cmp edx, dword [ecx + 0x63a4]
jb 0x10023cf0
jmp 0x10023d43
mov edi, dword [ebp + 8]
push 0x3000
push ecx
add ecx, 0x3000
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ebx, [esi + 0x98]
mov ecx, edi
push ebx
call fcn.10023e20
mov ecx, ebx
call fcn.1001ca10
jmp 0x1002369d
or eax, 1
mov dword [0x10356958], eax
mov dword [esi + 0x10], 0x838ed949
mov eax, dword [esi + 0x10]
bswap eax
mov dword [esi + 0x10], eax
add dword [esi + 0x10], 0xb626718e
mov eax, dword [esi + 0x10]
mov dword [0x10356954], eax
mov eax, dword [0x10356958]
jmp 0x10023466
or eax, 2
mov dword [0x10356958], eax
mov dword [esi + 0x10], 0xcabdf623
mov eax, dword [esi + 0x10]
bswap eax
mov dword [esi + 0x10], eax
add dword [esi + 0x10], 0xdc094236
mov eax, dword [esi + 0x10]
rol eax, 7
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
mov dword [0x1035695c], eax
jmp 0x10023471
mov dword [esi + 0xe8], 0
call fcn.1002adc0
mov dword [esi + 0xe8], 0
call fcn.1002ad40
nop word cs:[eax + eax]
push ebp
sub esp, 0x10
lea esi, [ebp - 0xec]
mov ebp, dword [esi + 0xd8]
lea ecx, [esi + 0x98]
call fcn.1001ca10
add esp, 0x10
pop ebp
ret