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

Disassembly:
sub esp, 0xa60
mov eax, dword [0x10444724]
xor eax, esp
mov dword [esp + 0xa5c], eax
mov eax, dword [esp + 0xa6c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xa70]
push ebx
mov dword [esp + 0x2c], eax
mov ebx, ecx
mov eax, dword [esp + 0xa78]
push ebp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa80]
push esi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa88]
push edi
mov edi, dword [esp + 0xa74]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x34]
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
mov esi, dword [edi + 0x30]
mov ebp, dword [edi + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
test eax, eax
je 0x1016a16d
test edx, edx
jne 0x1016a17b
xor edx, edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], edx
test ecx, ecx
je 0x1016a1a4
test edx, edx
je 0x1016a1a4
mov eax, dword [esp + 0xa78]
sub eax, 1
je 0x1016a19c
sub eax, 1
jne 0x1016a1a4
xor edx, edx
mov dword [esp + 0x2c], edx
jmp 0x1016a1a4
mov dword [esp + 0x1c], 0
xor eax, eax
test edx, edx
cmovne eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x20]
add eax, 0x44
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x118], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x128], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esp + 0x138], xmm0
mov al, byte [esp + 0x13c]
test al, al
jns 0x1016a203
test al, 0x40
jne 0x1016a203
lea ecx, [esp + 0x118]
call fcn.1003d040
movzx eax, al
mov dword [esp + 0x13c], eax
jmp 0x1016a20a
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x14]
push dword [edi + 0x3c]
shr eax, 3
and al, 1
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x14], eax
test ecx, ecx
mov eax, esi
mov dword [esp + 0x58], 0
cmovne eax, dword [esp + 0x24]
lea ecx, [esp + 0x48]
mov dword [esp + 0x54], eax
call fcn.10234370
xor edi, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], edi
cmp dword [esp + 0x1c], edi
je 0x1016a53a
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x34], eax
cmp esi, 0xfffffff
ja 0x1016a63c
mov edi, dword [esp + 0x28]
mov edx, esi
shl edx, 4
mov dword [esp + 0x14], edx
mov ecx, dword [edi + 4]
not ecx
inc ecx
and ecx, 3
lea eax, [ecx + edx]
mov dword [esp + 0x20], eax
cmp eax, edx
jb 0x1016a63c
mov eax, dword [edi + 8]
sub eax, dword [edi + 4]
cmp dword [esp + 0x20], eax
jbe 0x1016a2af
push 4
push edx
mov ecx, edi
call fcn.1007d8a0
mov eax, dword [edi + 4]
mov ecx, eax
mov edx, dword [esp + 0x14]
not ecx
inc ecx
and ecx, 3
jmp 0x1016a2b2
mov eax, dword [edi + 4]
add ecx, eax
mov dword [esp + 0x14], ecx
lea eax, [ecx + edx]
mov dword [edi + 4], eax
test esi, esi
je 0x1016a2d3
mov eax, esi
shl eax, 4
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x20]
push eax
call fcn.10042790
mov ecx, dword [esp + 0x38]
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 6
mov dword [esp + 0x78], 3
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], 1
test ecx, ecx
je 0x1016a318
mov eax, 1
lock xadd dword [ecx], eax
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x70]
push 0
push edi
push eax
push 0
push dword [esp + 0x24]
lea eax, [esp + 0x70]
mov dword [esp + 0x70], ecx
push eax
mov dword [esp + 0x78], 0xe
mov dword [esp + 0x7c], 2
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], 1
call fcn.100d8010
mov ecx, dword [esp + 0x74]
add esp, 0x18
or eax, 0xffffffff
test ecx, ecx
je 0x1016a382
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x1016a37f
push 0x90
push ecx
call fcn.1037dfe9
add esp, 8
or eax, 0xffffffff
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x1016a3a1
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x1016a3a1
push 0x90
push ecx
call fcn.1037dfe9
add esp, 8
or eax, 0xffffffff
xor ecx, ecx
mov dword [esp + 0x1c], eax
test esi, esi
jle 0x1016a41c
cmp esi, 8
jb 0x1016a40c
mov eax, esi
and eax, 0x80000007
jns 0x1016a3c1
dec eax
or eax, 0xfffffff8
inc eax
movaps xmm1, xmmword [0x1038a090]
mov edx, esi
sub edx, eax
movaps xmm2, xmm1
nop
movups xmm0, xmmword [edi + ecx*4]
pand xmm1, xmm0
movups xmm0, xmmword [edi + ecx*4 + 0x10]
add ecx, 8
pand xmm2, xmm0
cmp ecx, edx
jl 0x1016a3d0
pand xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
pand xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
pand xmm1, xmm0
movd eax, xmm1
mov dword [esp + 0x1c], eax
cmp ecx, esi
jge 0x1016a41c
and eax, dword [edi + ecx*4]
inc ecx
cmp ecx, esi
jl 0x1016a410
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x28]
mov ecx, esi
push 4
push 0x94
call fcn.1007d7f0
mov edi, eax
mov edx, edi
sub edx, dword [esi + 4]
push edx
lea ecx, [edi + 0x8c]
mov dword [esi + 4], ecx
mov ecx, esi
push 0x10169610
call fcn.1007d980
push 0
mov ecx, edi
call fcn.10050ec0
mov eax, dword [esp + 0x1c]
mov dword [edi], 0x1039ac78
and eax, 0xff000000
cmp eax, 0xff000000
mov dword [edi + 0x60], 0x3f800000
mov dword [edi + 0x64], 0
sete al
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0x3f800000
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0x3f800000
mov dword [edi + 0x84], 0x10
mov byte [edi + 0x88], al
mov eax, dword [esp + 0x10]
mov byte [edi + 0x89], al
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1016a633
mov edx, 1
lea ecx, [eax + 4]
mov eax, edx
lock xadd dword [ecx], eax
lea ecx, [edi + 4]
mov eax, edx
lock xadd dword [ecx], eax
push 4
push 0x44
mov ecx, esi
call fcn.1007d7f0
mov esi, eax
mov eax, dword [esp + 0x28]
mov edx, esi
sub edx, dword [eax + 4]
lea ecx, [esi + 0x3c]
push edx
mov dword [eax + 4], ecx
mov ecx, eax
push 0x101695c0
call fcn.1007d980
push 0
mov ecx, esi
call fcn.10050ec0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xa78]
mov dword [esi], 0x1038ae94
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], eax
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x28]
push dword [esp + 0x30]
lea ecx, [esp + 0x1e0]
call fcn.10055600
mov edx, dword [esp + 0x18]
push ecx
mov eax, esp
mov dword [esp + 0x14], eax
test edx, edx
je 0x1016a56b
lea ecx, [edx + 4]
mov eax, 1
lock xadd dword [ecx], eax
mov eax, esp
lea ecx, [esp + 0x1e0]
mov dword [eax], edx
call fcn.10056910
cmp dword [esp + 0x2c], 0
jne 0x1016a642
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x20]
push ecx
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x38], esp
test edx, edx
je 0x1016a5aa
lea eax, [edx + 4]
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
push esi
push ecx
mov dword [eax], edx
lea eax, [esp + 0x1e8]
push eax
lea eax, [ebx + 4]
push eax
call fcn.1022fc00
mov esi, dword [esp + 0x38]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x58]
push eax
call esi
add esp, 0x18
test al, al
je 0x1016ab8f
nop dword [eax]
test edi, edi
je 0x1016a604
push dword [esp + 0x4c]
mov ecx, edi
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push dword [esp + 0x20]
push ebp
push dword [esp + 0x4c]
call fcn.1016adc0
test al, al
je 0x1016a620
push dword [esp + 0x3c]
lea eax, [esp + 0x48]
push dword [esp + 0x44]
push dword [ebx + 0x24]
push dword [esp + 0x1c]
push eax
call fcn.1016abc0
add esp, 0x14
lea eax, [esp + 0x44]
push eax
call esi
add esp, 4
test al, al
jne 0x1016a5e0
jmp 0x1016ab8f
mov dword [esp + 0x18], edi
jmp 0x1016a53e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
push esi
lea ecx, [esp + 0xa4]
call fcn.100a3060
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xa0]
mov dword [esp + 0x84], eax
lea edx, [esp + 0x84]
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x8c], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x1dc]
mov dword [esp + 0x94], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x88], esi
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x40]
mov dword [esp + 0x20], eax
test eax, eax
je 0x1016a7fc
mov eax, dword [esp + 0x18]
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
call edx
movzx ecx, al
xor eax, eax
test edi, edi
cmovne ecx, eax
mov eax, dword [ebx + 0x24]
push ecx
mov byte [esp + 0x38], cl
mov ecx, esp
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0x30]
test edx, edx
je 0x1016a6f2
lea eax, [edx + 4]
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, esp
push esi
push dword [esp + 0x3c]
lea eax, [esp + 0xac]
mov dword [ecx], edx
push eax
lea eax, [esp + 0x1ec]
push eax
lea eax, [ebx + 4]
push eax
call fcn.1022fee0
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x5c]
push eax
call esi
add esp, 0x1c
test al, al
je 0x1016ab8f
nop dword [eax]
test edi, edi
je 0x1016a758
push dword [esp + 0x4c]
mov ecx, edi
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push dword [esp + 0x20]
push ebp
push dword [esp + 0x4c]
call fcn.1016adc0
test al, al
je 0x1016a7e5
movaps xmm0, xmmword [0x10386850]
lea eax, [esp + 0xb0]
push eax
push dword [esp + 0x30]
movups xmmword [esp + 0xb8], xmm0
lea eax, [esp + 0x4c]
mov dword [esp + 0xd8], 0x3f800000
movaps xmm0, xmmword [0x10386850]
push ebp
push eax
movups xmmword [esp + 0xd0], xmm0
mov dword [esp + 0xe4], 0x10
call fcn.1016ad10
add esp, 0x10
test al, al
je 0x1016a7e5
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xb0]
push edx
lea edx, [esp + 0x11c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test al, al
je 0x1016a7e5
push dword [esp + 0x3c]
lea eax, [esp + 0x48]
push dword [esp + 0x44]
push dword [ebx + 0x24]
push dword [esp + 0x1c]
push eax
call fcn.1016abc0
add esp, 0x14
lea eax, [esp + 0x44]
push eax
call esi
add esp, 4
test al, al
jne 0x1016a730
jmp 0x1016ab8f
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x44]
push eax
call esi
add esp, 4
test al, al
je 0x1016ab8f
test edi, edi
je 0x1016a83a
push dword [esp + 0x4c]
mov ecx, edi
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push dword [esp + 0x20]
push ebp
push dword [esp + 0x4c]
call fcn.1016adc0
test al, al
je 0x1016ab7d
push 0x800
push 0x800
lea eax, [esp + 0x254]
push eax
lea ecx, [esp + 0xa58]
call fcn.1007d6b0
mov eax, dword [ebx + 0x20]
movaps xmm0, xmmword [0x10386850]
mov dword [esp + 0x30], eax
lea eax, [esp + 0xb0]
push eax
push dword [esp + 0x30]
movups xmmword [esp + 0xb8], xmm0
lea eax, [esp + 0x4c]
mov dword [esp + 0x1e0], 0
movaps xmm0, xmmword [0x10386850]
push ebp
push eax
movups xmmword [esp + 0xd0], xmm0
mov dword [esp + 0xe0], 0x3f800000
mov dword [esp + 0xe4], 0x10
call fcn.1016ad10
mov ecx, dword [esp + 0x1e8]
add esp, 0x10
test al, al
je 0x1016ab5c
test ecx, ecx
je 0x1016a8dc
mov eax, dword [ecx]
push 0
call dword [eax]
mov dword [esp + 0x1d8], 0
movss xmm0, dword [esp + 0xb0]
lea eax, [esp + 0xd8]
movss dword [esp + 0xd8], xmm0
lea ecx, [esp + 0x20c]
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0xe8], xmm0
movss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x108], xmm0
movss xmm0, dword [esp + 0xbc]
movss dword [esp + 0xdc], xmm0
movss xmm0, dword [esp + 0xc0]
movss dword [esp + 0xec], xmm0
movss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [esp + 0xc8]
push eax
mov eax, dword [esp + 0x34]
movss dword [esp + 0xe8], xmm0
add eax, 4
movss xmm0, dword [esp + 0xd0]
movss dword [esp + 0xf8], xmm0
movss xmm0, dword [esp + 0xd4]
push eax
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0x108], 0x3f800000
mov dword [esp + 0x118], 0
mov dword [esp + 0x10c], 0
movss dword [esp + 0x11c], xmm0
call fcn.10041570
movups xmm1, xmmword [esp + 0x20c]
mov eax, dword [esp + 0x30]
movups xmm0, xmmword [esp + 0x22c]
mov dword [esp + 0x1ac], eax
lea eax, [esp + 0x140]
movups xmm2, xmmword [esp + 0x21c]
mov dword [esp + 0x1d8], eax
movups xmm3, xmmword [esp + 0x23c]
mov eax, dword [ebx + 0x24]
movups xmmword [esp + 0x164], xmm0
push ecx
movaps xmm0, xmm1
movss dword [esp + 0x188], xmm1
shufps xmm0, xmm1, 0x55
mov ecx, esp
movss dword [esp + 0x194], xmm0
movaps xmm0, xmm2
shufps xmm0, xmm2, 0x55
movss dword [esp + 0x198], xmm0
movaps xmm0, xmm3
shufps xmm0, xmm3, 0x55
movss dword [esp + 0x19c], xmm0
movups xmm0, xmmword [esp + 0xb4]
mov dword [esp + 0x1ac], 0x80
movups xmmword [esp + 0x148], xmm1
mov dword [esp + 0x144], 0x1038cb84
movups xmmword [esp + 0x1b4], xmm0
mov dword [esp + 0x14], ecx
movups xmm0, xmmword [esp + 0xc4]
movups xmmword [esp + 0x158], xmm2
movups xmmword [esp + 0x178], xmm3
movss dword [esp + 0x18c], xmm2
movss dword [esp + 0x190], xmm3
movups xmmword [esp + 0x1c4], xmm0
movq xmm0, qword [esp + 0xd4]
shufps xmm1, xmm1, 0xff
shufps xmm2, xmm2, 0xff
shufps xmm3, xmm3, 0xff
movss dword [esp + 0x1a0], xmm1
movss dword [esp + 0x1a4], xmm2
movss dword [esp + 0x1a8], xmm3
movq qword [esp + 0x1d4], xmm0
mov edx, dword [eax + 0x30]
test edx, edx
je 0x1016ab19
lea ecx, [edx + 4]
mov eax, 1
lock xadd dword [ecx], eax
mov ecx, esp
lea eax, [esp + 0xa50]
mov dword [ecx], edx
push eax
lea eax, [esp + 0x148]
push eax
lea eax, [esp + 0x1e8]
push eax
lea eax, [ebx + 4]
push eax
call fcn.1022fc00
push dword [esp + 0x50]
push dword [esp + 0x58]
push dword [ebx + 0x24]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.1016abc0
mov ecx, dword [esp + 0x200]
add esp, 0x28
test ecx, ecx
je 0x1016ab71
mov eax, dword [ecx]
push 0
call dword [eax]
mov dword [esp + 0x1d8], 0
lea ecx, [esp + 0xa4c]
call fcn.1007d750
lea eax, [esp + 0x44]
push eax
call esi
add esp, 4
test al, al
jne 0x1016a812
lea ecx, [esp + 0x1dc]
call fcn.10055700
mov ecx, dword [esp + 0xa6c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1037e005
add esp, 0xa60
ret 0x1c