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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x2f8
mov eax, dword [0x1036900c]
xor eax, esp
mov dword [esp + 0x2f4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x178]
mov dword [esp + 0x3c], edi
call fcn.1014d510
test edx, edx
mov esi, ecx
mov ecx, dword [edi + 0x4c8]
cmovne esi, edx
test ecx, ecx
je 0x1015c890
push 1
call fcn.1018e910
push 0
push 1
push esi
lea eax, [edi + 0x4b8]
push eax
push edi
lea ecx, [esp + 0x214]
call fcn.1015abe0
nop dword [eax]
cmp byte [esp + 0x2b9], 0
je 0x1015c8be
xor al, al
jmp 0x1015c8f1
cmp byte [esp + 0x2ba], 0
je 0x1015c8e3
mov ecx, dword [esp + 0x2ac]
mov byte [esp + 0x2b9], 1
call fcn.10151d30
test al, al
sete al
jmp 0x1015c8f1
push 3
lea ecx, [esp + 0x204]
call fcn.1015af70
test al, al
je 0x1015cbe9
push 0x38
lea eax, [esp + 0x8c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [edi]
add esp, 0xc
mov ecx, edi
mov eax, dword [eax + 0xb8]
call eax
mov esi, eax
mov ecx, esi
mov dword [esp + 0xc0], esi
call fcn.1015bb00
mov ecx, dword [esi + 8]
mov dword [esp + 0xb4], ecx
lea ecx, [esp + 0x88]
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 8]
mov dword [esp + 0xc4], eax
mov byte [esp + 0xcc], 1
call fcn.1015aa30
test al, al
je 0x1015c8b0
nop dword [eax]
mov esi, dword [esp + 0xb8]
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x2ac]
mov dword [esp + 0x18], esi
mov ecx, dword [esi + 8]
sub eax, ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0xc]
mov edi, dword [edx + 0x20]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x10]
sub ecx, dword [esp + 0x14]
mov dword [esp + 0x24], edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
test edi, edi
je 0x1015cb9b
mov eax, dword [esi]
mov ecx, esi
push edi
mov eax, dword [eax + 0x7c]
call eax
test al, al
jne 0x1015cb8f
push 0x34
lea eax, [esp + 0xd8]
mov dword [esp + 0x38], esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [esp + 0x1c]
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov eax, dword [esi]
mov eax, dword [eax + 0x78]
call eax
mov ecx, dword [esp + 0xa8]
mov edi, eax
mov eax, dword [esp + 0x14]
sub eax, dword [ebp + 0x10]
movups xmm0, xmmword [ecx]
movd xmm2, eax
mov eax, dword [esp + 0x30]
sub eax, dword [ebp + 0xc]
movups xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [ecx + 0x10]
movd xmm1, eax
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
movups xmmword [esp + 0x60], xmm0
movq xmm0, qword [ecx + 0x20]
lea ecx, [esp + 0x50]
movq qword [esp + 0x70], xmm0
call fcn.101661d0
mov eax, dword [esi]
lea ecx, [esp + 0x150]
push ecx
mov ecx, esi
mov eax, dword [eax + 8]
call eax
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x164]
push edx
mov esi, dword [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [eax]
mov dword [esp + 0x48], eax
mov eax, dword [ecx]
mov dword [esp + 0x4c], esi
mov eax, dword [eax + 0xac]
call eax
movups xmm0, xmmword [esp + 0x50]
mov ecx, dword [esp + 0x38]
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1fc], esi
push eax
movups xmmword [esp + 0x1c8], xmm0
lea eax, [esp + 0xd8]
movups xmm0, xmmword [esp + 0x64]
push eax
lea eax, [esp + 0x1cc]
movups xmmword [esp + 0x1dc], xmm0
push eax
movq xmm0, qword [esp + 0x7c]
lea eax, [esp + 0x40]
movq qword [esp + 0x1f0], xmm0
movups xmm0, xmmword [esp + 0x4c]
push edi
push eax
movups xmmword [esp + 0x200], xmm0
call fcn.10189c60
test al, al
je 0x1015cb67
push dword [esp + 0x24]
lea ecx, [esp + 0x10c]
call fcn.1014d5a0
mov ecx, dword [esp + 0x128]
test ecx, ecx
je 0x1015cb1d
lea eax, [ecx + 4]
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x1015cb1d
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x108]
push eax
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x24]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x24]
push eax
lea eax, [esp + 0xe0]
mov dword [esp + 0x134], 0
push eax
lea eax, [esp + 0x98]
push eax
call dword [edx + 0x40]
lea ecx, [esp + 0x108]
call fcn.1014d6a0
test esi, esi
je 0x1015cb81
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x1015cb81
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [esp + 0xd4]
call fcn.10145e40
jmp 0x1015cbcc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
cmp byte [ebp + 0x18], 0
mov edi, dword [esi]
push edx
push ecx
push eax
mov ecx, esi
je 0x1015cbbd
mov eax, dword [esp + 0x1c]
add eax, 0x1c
push eax
lea eax, [esp + 0x98]
push eax
call dword [edi + 0x40]
jmp 0x1015cbcc
push dword [esp + 0x1c]
lea eax, [esp + 0x98]
push eax
call dword [edi + 0x70]
lea ecx, [esp + 0x88]
call fcn.1015aa30
test al, al
jne 0x1015c960
mov edi, dword [esp + 0x3c]
jmp 0x1015c8b0
lea ecx, [esp + 0x200]
call fcn.1015aed0
lea ecx, [esp + 0x178]
call fcn.1014d6a0
mov ecx, dword [esp + 0x2fc]
pop edi
pop esi
xor ecx, esp
call fcn.102af895
mov esp, ebp
pop ebp
ret 0x14