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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1c0
mov esi, esp
mov dword [esi + 0x1a8], ebp
mov dword [esi], ecx
mov edi, dword [ebp + 0x14]
lea edx, [ebp + 0x10]
mov dword [esi + 0x1ac], esp
mov dword [esi + 0x1b8], 0xffffffff
mov dword [esi + 0x1b4], 0x10024940
mov eax, dword fs:[0]
mov dword [esi + 0x1b0], eax
lea eax, [esi + 0x1b0]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
test edi, edi
je 0x100226c5
cvtsi2ss xmm3, edi
mov edx, dword [edx]
movzx edi, dl
shl edi, 0x10
mov ebx, edx
and edx, 0xff00ff00
or edx, edi
shr ebx, 0x10
movzx edi, bl
or edi, edx
movsd xmm0, qword [ecx]
movaps xmmword [esi + 0x10], xmm0
movaps xmm1, xmm0
shufps xmm1, xmm0, 0x55
movaps xmmword [esi + 0x180], xmm1
addss xmm1, xmm3
movaps xmmword [esi + 0x140], xmm1
movaps xmm2, xmm3
shufps xmm2, xmm3, 0
movaps xmm1, xmmword [str.0_t_]
mulps xmm1, xmm2
movaps xmm5, xmm2
addps xmm1, xmm0
movaps xmmword [esi + 0x70], xmm1
movaps xmm2, xmm0
addss xmm2, xmm3
movaps xmmword [esi + 0x150], xmm2
movss xmm2, dword [0x101476b0]
mulss xmm2, xmm3
shufps xmm2, xmm2, 0
addps xmm2, xmm0
movaps xmmword [esi + 0xb0], xmm2
movaps xmm4, xmmword [0x101476c0]
mulps xmm4, xmm5
movaps xmmword [esi + 0x170], xmm5
addps xmm4, xmm0
movaps xmmword [esi + 0xf0], xmm4
movaps xmm0, xmm4
shufps xmm0, xmm4, 0x55
movaps xmmword [esi + 0x120], xmm0
shufps xmm2, xmm2, 0x55
movaps xmmword [esi + 0x110], xmm2
shufps xmm1, xmm1, 0x55
movaps xmmword [esi + 0x130], xmm1
movsd xmm1, qword [eax]
movaps xmmword [esi + 0x100], xmm1
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
movaps xmmword [esi + 0x190], xmm0
movaps xmmword [esi + 0x160], xmm3
subss xmm0, xmm3
movaps xmmword [esi + 0xc0], xmm0
movaps xmm0, xmm1
subss xmm0, xmm3
movaps xmmword [esi + 0xd0], xmm0
movaps xmm0, xmmword [0x101476d0]
mulps xmm0, xmm5
addps xmm0, xmm1
movaps xmmword [esi + 0xe0], xmm0
push 0x150
call fcn.100e9fad
add esp, 4
movaps xmm0, xmmword [esi + 0x10]
movss dword [eax], xmm0
movaps xmm4, xmmword [esi + 0xc0]
movss dword [eax + 4], xmm4
mov dword [eax + 8], 0
mov dword [eax + 0xc], edi
movss dword [eax + 0x10], xmm0
movaps xmm1, xmmword [esi + 0x140]
movss dword [eax + 0x14], xmm1
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], edi
movaps xmm0, xmmword [esi + 0x70]
movlps qword [eax + 0x20], xmm0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], edi
movaps xmm0, xmmword [esi + 0xb0]
movlps qword [eax + 0x30], xmm0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], edi
movaps xmm7, xmmword [esi + 0xf0]
movlps qword [eax + 0x40], xmm7
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], edi
movaps xmm5, xmmword [esi + 0x150]
movss dword [eax + 0x50], xmm5
movaps xmm0, xmmword [esi + 0x180]
movss dword [eax + 0x54], xmm0
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], edi
movaps xmm3, xmmword [esi + 0xd0]
movss dword [eax + 0x60], xmm3
movss dword [eax + 0x64], xmm0
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], edi
movaps xmm0, xmmword [esi + 0x120]
movss dword [eax + 0x74], xmm0
mov dword [eax + 0x78], 0
mov dword [eax + 0x7c], edi
movaps xmm0, xmmword [esi + 0x110]
movss dword [eax + 0x84], xmm0
mov dword [eax + 0x88], 0
mov dword [eax + 0x8c], edi
movaps xmm2, xmmword [esi + 0xe0]
movss dword [eax + 0x90], xmm2
movaps xmm0, xmmword [esi + 0x130]
movss dword [eax + 0x94], xmm0
mov dword [eax + 0x98], 0
mov dword [eax + 0x9c], edi
movaps xmm6, xmmword [esi + 0x100]
movss dword [eax + 0xa0], xmm6
movss dword [eax + 0xa4], xmm1
mov dword [eax + 0xa8], 0
mov dword [eax + 0xac], edi
movss dword [eax + 0xb0], xmm6
movaps xmm0, xmmword [esi + 0x160]
mulss xmm0, dword [0x101476e0]
shufps xmm0, xmm0, 0
addps xmm0, xmm6
movaps xmm1, xmmword [esi + 0x170]
mulps xmm1, xmmword [0x101476f0]
addps xmm1, xmm6
movss dword [eax + 0xb4], xmm4
movaps xmm6, xmm4
mov dword [eax + 0xb8], 0
mov dword [eax + 0xbc], edi
movlps qword [eax + 0xc0], xmm2
movaps xmm4, xmm2
mov dword [eax + 0xc8], 0
mov dword [eax + 0xcc], edi
movss dword [eax + 0x80], xmm0
movlps qword [eax + 0xd0], xmm0
movaps xmm2, xmm0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], edi
movss dword [eax + 0x70], xmm1
movlps qword [eax + 0xe0], xmm1
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], edi
movss dword [eax + 0xf0], xmm3
movaps xmm0, xmmword [esi + 0x190]
movss dword [eax + 0xf4], xmm0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], edi
movss dword [eax + 0x100], xmm5
movss dword [eax + 0x104], xmm0
mov dword [eax + 0x108], 0
mov dword [eax + 0x10c], edi
movss dword [eax + 0x110], xmm7
shufps xmm1, xmm1, 0x55
movss dword [eax + 0x114], xmm1
mov dword [eax + 0x118], 0
mov dword [eax + 0x11c], edi
movaps xmm0, xmmword [esi + 0xb0]
movss dword [eax + 0x120], xmm0
shufps xmm2, xmm2, 0x55
movss dword [eax + 0x124], xmm2
mov dword [eax + 0x128], 0
mov dword [eax + 0x12c], edi
movaps xmm0, xmmword [esi + 0x70]
movss dword [eax + 0x130], xmm0
shufps xmm4, xmm4, 0x55
movss dword [eax + 0x134], xmm4
mov dword [eax + 0x138], 0
mov dword [eax + 0x13c], edi
movaps xmm0, xmmword [esi + 0x10]
movss dword [eax + 0x140], xmm0
movss dword [eax + 0x144], xmm6
mov dword [esi + 4], eax
lea ecx, [eax + 0x150]
mov dword [esi + 0xc], ecx
mov dword [eax + 0x148], 0
mov dword [eax + 0x14c], edi
mov dword [esi + 0x10], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0x2c], 6
mov dword [esi + 0x30], 0x13
mov dword [esi + 0x1b8], 2
push 0x150
call fcn.100e9fad
add esp, 4
mov ebx, eax
add dword [esi], 0x20
add eax, 0x150
mov dword [esi + 0x70], eax
mov eax, dword [esi + 4]
mov edi, dword [esi + 0x10]
sub edi, eax
push edi
mov dword [esi + 0x10], eax
push eax
push ebx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [esi + 0x98], xmm0
mov eax, dword [esi + 0x30]
mov dword [esi + 0x8c], eax
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x88], ecx
mov dword [esi + 0xa8], 0x10147844
mov edx, 0x1023d000
or edx, 2
mov dword [esi + 0xac], edx
mov dword [esi + 0x40], 1
movups xmmword [esi + 0x58], xmm0
mov dword [esi + 0x6c], edx
mov dword [esi + 0x68], 0x10147844
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], ecx
add edi, ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], edi
mov eax, dword [esi + 0x70]
mov dword [esi + 0x58], eax
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x1b8], 3
lea eax, [esi + 0x40]
mov ecx, dword [esi]
push eax
call fcn.100242a0
mov eax, dword [esi + 0x6c]
and eax, 3
cmp eax, 1
je 0x10022860
cmp eax, 2
jne 0x1002286b
lea eax, [esi + 0x48]
mov ecx, dword [esi + 0x68]
push eax
call dword [ecx]
jmp 0x10022868
mov edx, dword [edx]
movzx edi, dl
shl edi, 0x10
mov ebx, edx
and edx, 0xff00ff00
or edx, edi
shr ebx, 0x10
movzx edi, bl
or edi, edx
movsd xmm0, qword [ecx]
movaps xmmword [esi + 0x10], xmm0
movsd xmm0, qword [eax]
movaps xmmword [esi + 0x70], xmm0
push 0x40
call fcn.100e9fad
add esp, 4
mov dword [esi + 4], eax
lea ecx, [eax + 0x40]
mov dword [esi + 0xc], ecx
movaps xmm1, xmmword [esi + 0x10]
movss dword [eax], xmm1
movaps xmm2, xmmword [esi + 0x70]
movaps xmm0, xmm2
shufps xmm0, xmm2, 0x55
movss dword [eax + 4], xmm0
mov dword [eax + 8], 0
mov dword [eax + 0xc], edi
movsd qword [eax + 0x10], xmm1
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], edi
movsd qword [eax + 0x20], xmm2
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], edi
movss dword [eax + 0x30], xmm2
shufps xmm1, xmm1, 0x55
movss dword [eax + 0x34], xmm1
mov dword [eax + 0x38], 0
mov dword [esi + 0x10], eax
mov dword [eax + 0x3c], edi
mov dword [esi + 8], ecx
mov dword [esi + 0x2c], 5
mov dword [esi + 0x30], 2
mov dword [esi + 0x1b8], 0
push 0x40
call fcn.100e9fad
add esp, 4
xorps xmm0, xmm0
movups xmmword [esi + 0x98], xmm0
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
mov dword [esi + 0x8c], edx
mov dword [esi + 0x88], ecx
mov dword [esi + 0xa8], 0x10147844
mov edi, 0x1023d000
or edi, 2
mov dword [esi + 0xac], edi
mov dword [esi + 0x40], 1
movups xmmword [esi + 0x58], xmm0
mov dword [esi + 0x6c], edi
mov dword [esi + 0x68], 0x10147844
mov dword [esi + 0x4c], edx
mov dword [esi + 0x48], ecx
mov ecx, dword [esi + 0x10]
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ecx]
movups xmm1, xmmword [ecx + 0x10]
movups xmmword [eax + 0x10], xmm1
movups xmmword [eax], xmm0
mov dword [esi + 0x50], eax
add eax, 0x40
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov ecx, dword [esi]
add ecx, 0x20
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x1b8], 1
lea eax, [esi + 0x40]
push eax
call fcn.100242a0
mov eax, dword [esi + 0x6c]
and eax, 3
cmp eax, 1
je 0x10022894
cmp eax, 2
mov edi, dword [esi + 0x10]
jne 0x100228a2
lea eax, [esi + 0x48]
mov ecx, dword [esi + 0x68]
push eax
call dword [ecx]
add esp, 4
jmp 0x100228a2
mov eax, dword [esi + 0x68]
push dword [esi + 0x64]
call dword [eax]
add esp, 4
mov edx, dword [esi + 0x10]
test edx, edx
je 0x100228ad
mov eax, dword [esi + 0xc]
sub eax, edx
cmp eax, 0x1000
jb 0x10022890
mov ecx, dword [edx - 4]
add edx, 0xfffffffc
sub edx, ecx
cmp edx, 0x20
jae 0x100228c3
add eax, 0x23
mov edx, ecx
push eax
push edx
jmp 0x100228a5
mov eax, dword [esi + 0x68]
push dword [esi + 0x64]
call dword [eax]
add esp, 4
mov edi, dword [esi + 0x10]
push 0x40
push edi
call fcn.100ea090
add esp, 8
mov eax, dword [esi + 0x1b0]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop dword [eax]
push ebp
sub esp, 0xc
lea esi, [ebp - 0x1bc]
mov ebp, dword [esi + 0x1a8]
lea ecx, [esi + 0x40]
call fcn.10022970
lea ecx, [esi + 0x88]
call fcn.100229b0
lea ecx, [esi + 0x2c]
call fcn.10021f70
add esp, 0xc
pop ebp
ret