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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
mov eax, dword [edi + 0x68]
cmp eax, 2
je 0x10053b76
mov ecx, 2
cmp eax, 4
jne 0x10053b7b
mov ecx, 1
movups xmm0, xmmword [ebp + 8]
sub esp, 0x10
test dword [edi + 0x358], ecx
mov eax, esp
mov ecx, edi
movups xmmword [eax], xmm0
setne al
movzx eax, al
push eax
push 0
push 0
lea eax, [esp + 0x3c]
push eax
call fcn.10042ea0
cmp dword [edi + 0xac], 0xffffffff
mov esi, dword [esp + 0x20]
je 0x10053c01
cmp byte [edi + 0xd8], 0
jne 0x10053c01
cmp dword [edi + 0x2e8], 2
lea ecx, [esi + 1]
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x18], eax
jne 0x10053bd7
mov eax, dword [edi + 0x12c]
jmp 0x10053bd9
xor eax, eax
push ecx
push esi
push eax
lea eax, [esp + 0x3c]
mov ecx, edi
push eax
call fcn.10043780
sub esp, 0x20
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x10], xmm0
mov ecx, edi
call dword [esp + 0x38]
mov ecx, dword [edi + 0x60]
mov eax, dword [edi + 0x38]
shl ecx, 4
push ecx
mov eax, dword [ecx + eax]
mov ecx, edi
sub eax, esi
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0x34]
push esi
push eax
call fcn.100448a0
cmp dword [edi + 0x3d0], 1
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
jne 0x10053c66
push eax
push esi
mov ecx, edi
mov dword [edi + 0x3d0], 0
call fcn.10044140
mov dword [edi + 0x3bc], 0
mov ecx, dword [edi + 0x60]
mov eax, dword [edi + 0x38]
add ecx, ecx
mov eax, dword [eax + ecx*8]
mov dword [edi + 0x3ec], eax
cmp dword [edi + 0x3e0], 0xffffffff
je 0x10053d3f
movups xmm0, xmmword [ebp + 8]
sub esp, 0x10
mov ecx, edi
mov eax, esp
push 0
push 1
movups xmmword [eax], xmm0
push 1
lea eax, [esp + 0x44]
push eax
call fcn.10042ea0
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x10053d3f
push eax
mov ecx, edi
call fcn.10053200
test al, al
je 0x10053d3f
movups xmm0, xmmword [ebp + 8]
sub esp, 0x10
mov dword [edi + 0x3e0], 0xffffffff
mov eax, esp
mov ecx, edi
push 0
push 1
movups xmmword [eax], xmm0
push 0
lea eax, [esp + 0x3c]
push eax
call fcn.10042ea0
push ecx
push 0xffffffffffffffff
push dword [esp + 0x2c]
lea eax, [esp + 0x34]
mov ecx, edi
push dword [esp + 0x2c]
push eax
call fcn.100448a0
push 0x64
push 0
mov esi, dword [eax]
lea eax, [esp + 0x60]
push eax
call fcn.10085460
mov eax, dword [ebp + 0x1c]
sub esp, 0x58
and eax, 2
mov dword [esp + 0xc8], esi
mov dword [esp + 0xd0], eax
lea esi, [esp + 0xbc]
mov eax, dword [edi]
mov ecx, 0x19
mov edi, esp
mov dword [esp + 0xc4], 0x7eb
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x78]
mov ecx, edi
call dword [eax + 0x88]
mov esi, dword [esp + 0x18]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xd8]
call eax
test al, al
je 0x100540a4
movups xmm0, xmmword [ebp + 8]
sub esp, 0x10
mov ecx, edi
mov eax, esp
movups xmmword [eax], xmm0
call fcn.10051f10
mov ecx, edi
test al, al
je 0x10053d8a
movups xmm0, xmmword [ebp + 8]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.10052000
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx + 0xac]
jmp 0x10053d9d
mov eax, dword [edi]
push 1
call dword [eax + 0xac]
push 0
mov ecx, edi
call fcn.10053340
movups xmm0, xmmword [ebp + 8]
mov eax, dword [edi]
mov ecx, edi
push 0
movups xmmword [edi + 0x3c0], xmm0
call dword [eax + 0xd4]
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0xcc]
push dword [ebp + 0x1c]
mov ecx, edi
push esi
push 0
call fcn.1004b050
cmp dword [edi + 0x3d0], 2
jne 0x10053fad
mov ecx, dword [edi + 0x60]
shl ecx, 4
add ecx, dword [edi + 0x38]
lea eax, [ecx + 8]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x10053dfa
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
cmp eax, dword [ecx + 4]
mov eax, dword [esp + 0x14]
setl dl
mov esi, dword [esp + 0x14]
test dl, dl
mov dword [esp + 0x24], 0
cmove eax, ecx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x10053e27
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 4]
setl al
test al, al
cmove ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], eax
cmp edx, eax
jne 0x10053e4a
cmp dword [esp + 0x2c], ecx
mov esi, dword [esp + 0x18]
setl al
test al, al
je 0x10054034
mov eax, dword [edi + 0x474]
mov dword [esp + 0x18], eax
test eax, eax
je 0x10053f9e
mov ecx, dword [ebp + 0x1c]
shr ecx, 1
test cl, 1
je 0x10053eb0
cmp dword [edi + 0x478], 0x10
lea edx, [edi + 0x464]
jb 0x10053e86
mov edx, dword [edx]
mov ecx, dword [edi + 0xb8]
push eax
push edx
push esi
call fcn.100318b0
test eax, eax
jle 0x10053f6d
push 0
add eax, esi
mov ecx, edi
push eax
push 0
push esi
call fcn.10043e20
jmp 0x10053f6d
cmp esi, edx
jne 0x10053ebc
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], ecx
setl cl
test cl, cl
je 0x10053f07
mov ecx, dword [edi + 0xb8]
push eax
push edx
call fcn.100315b0
cmp dword [edi + 0x478], 0x10
lea eax, [edi + 0x464]
jb 0x10053ee1
mov eax, dword [eax]
push dword [esp + 0x18]
mov ecx, dword [edi + 0xb8]
push eax
push esi
call fcn.100318b0
test eax, eax
jle 0x10053f6d
push 0
add eax, esi
mov ecx, edi
push eax
push 0
push esi
call fcn.10043e20
jmp 0x10053f6d
cmp esi, dword [esp + 0x14]
jne 0x10053f15
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x1c], ecx
setg cl
test cl, cl
je 0x10053f63
mov ecx, dword [edi + 0xb8]
push eax
push edx
call fcn.100315b0
sub esi, dword [edi + 0x474]
lea eax, [edi + 0x464]
cmp dword [eax + 0x14], 0x10
jb 0x10053f3d
mov eax, dword [eax]
push dword [esp + 0x18]
mov ecx, dword [edi + 0xb8]
push eax
push esi
call fcn.100318b0
test eax, eax
jle 0x10053f6d
push 0
add eax, esi
mov ecx, edi
push eax
push 0
push esi
call fcn.10043e20
jmp 0x10053f6d
push 0
push esi
mov ecx, edi
call fcn.10044140
cmp dword [edi + 0x478], 0x10
lea eax, [edi + 0x464]
mov ecx, eax
jb 0x10053f80
mov ecx, dword [eax]
mov dword [eax + 0x10], 0
mov byte [ecx], 0
mov word [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [edi + 0x3bc], 0
jmp 0x10054034
cmp dword [edi + 0x3bc], 0
jne 0x1005402a
mov ecx, dword [edi + 0x3c]
mov edx, dword [edi + 0x38]
sub ecx, edx
sar ecx, 4
cmp ecx, 1
jbe 0x10054011
mov eax, dword [esp + 0x1c]
add ecx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], esi
push 1
mov eax, dword [edx + ecx*8 - 8]
sub esp, 0x10
mov ecx, dword [edx + ecx*8 - 4]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x60]
mov dword [esp + 0x50], ecx
add eax, eax
movups xmm0, xmmword [esp + 0x44]
movups xmmword [edx + eax*8], xmm0
mov ecx, dword [edi + 0x60]
mov eax, esp
shl ecx, 4
add ecx, dword [edi + 0x38]
movups xmm0, xmmword [ecx]
mov ecx, edi
movups xmmword [eax], xmm0
call fcn.10043b80
jmp 0x1005402a
mov eax, dword [edi + 0x60]
mov ecx, edi
add eax, eax
push dword [edx + eax*8 + 0xc]
push dword [edx + eax*8 + 8]
push dword [esp + 0x24]
push esi
call fcn.10043e20
mov eax, dword [edi + 0x44]
mov dword [edi + 0x48], eax
mov byte [edi + 0x65], 0
mov ecx, edi
call fcn.100438f0
movups xmm0, xmmword [ebp + 8]
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x398], eax
cvttsd2si eax, xmm0
movups xmmword [edi + 0x388], xmm0
add eax, dword [edi + 8]
cmp dword [edi + 0x68], 1
mov dword [edi + 0x3e4], eax
jne 0x1005408e
mov ecx, dword [edi + 0x60]
mov eax, dword [edi + 0x38]
shl ecx, 4
push dword [ecx + eax + 4]
push dword [ecx + eax]
lea eax, [esp + 0x38]
push ecx
push eax
mov ecx, edi
call fcn.10042d40
cvttsd2si eax, qword [esp + 0x30]
add eax, dword [edi + 8]
mov dword [edi + 0x3e4], eax
push ecx
push 1
push 0
mov ecx, edi
mov dword [edi + 0x3d0], 0
call fcn.10046210
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18