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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x150
mov eax, dword [0x102a2000]
xor eax, ebp
mov dword [esp + 0x148], eax
cmp dword [ebp + 8], 0
je 0x10051b3d
mov eax, dword [0x102a22ac]
mov eax, dword [eax]
cmp dword [eax], 0
je 0x10051b3d
mov eax, dword [0x102a2324]
mov ecx, dword [eax + 0x4f4]
mov dword [esp + 8], ecx
mov ecx, dword [eax + 0x4fc]
mov dword [esp + 0x34], ecx
movss xmm0, dword [eax + 0x548]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [eax + 0x54c]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [eax + 0x550]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax + 0x554]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [eax + 0x558]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [eax + 0x55c]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [eax + 0x560]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 0x564]
movss dword [esp + 0x24], xmm0
mov ecx, 0x161d018f
mov edx, 0x8b52e7d2
mov esi, dword [eax + 0x500]
mov dword [esp + 0x5c], esi
mov esi, dword [eax + 0x504]
mov dword [esp + 0x48], esi
movss xmm0, dword [eax + 0x568]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [eax + 0x56c]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [eax + 0x570]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [eax + 0x574]
movss dword [esp + 0x4c], xmm0
mov dword [esp + 0x114], edx
mov dword [esp + 0x110], ecx
mov edi, 0xe21a6ab0
mov ebx, 0xf9e31d73
mov esi, 0x161d01f7
mov edx, 0x8b52e7d2
mov dword [esp], edx
lea ecx, [esp + 0x130]
xor eax, eax
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x118], edi
mov dword [esp + 0x134], edx
mov dword [esp + 0x130], esi
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x138], edi
movaps xmm0, xmmword [esp + 0x110]
xorps xmm0, xmmword [ecx]
movaps xmmword [esp + 0x110], xmm0
mov dword [esp + 4], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
lea edx, [esp + 0x110]
push 0
push edx
call dword [eax + 0x20]
fstp xword [esp + 0x18]
mov eax, 0x161d018e
mov ecx, 0x8b52e7d2
mov dword [esp + 0x104], ecx
mov dword [esp + 0x100], eax
xor eax, eax
lea ecx, [esp + 0x130]
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x108], edi
mov eax, dword [esp]
mov dword [esp + 0x134], eax
mov dword [esp + 0x130], esi
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x138], edi
movaps xmm0, xmmword [esp + 0x100]
xorps xmm0, xmmword [ecx]
movaps xmmword [esp + 0x100], xmm0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
lea edx, [esp + 0x100]
push 0
push edx
call dword [eax + 0x20]
fstp xword [esp + 0xc]
mov eax, 0x161d018d
mov ecx, 0x8b52e7d2
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf0], eax
xor eax, eax
lea ecx, [esp + 0x130]
mov dword [esp + 0xfc], ebx
mov dword [esp + 0xf8], edi
mov eax, dword [esp]
mov dword [esp + 0x134], eax
mov dword [esp + 0x130], esi
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x138], edi
movaps xmm0, xmmword [esp + 0xf0]
xorps xmm0, xmmword [ecx]
movaps xmmword [esp + 0xf0], xmm0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
lea edx, [esp + 0xf0]
push 0
push edx
call dword [eax + 0x20]
fld xword [esp + 0x18]
fstp dword [esp + 0x124]
fld xword [esp + 0xc]
fstp dword [esp + 0x128]
fstp dword [esp + 0x12c]
mov eax, 0x64787282
mov ecx, 0x8b5283bb
mov dword [esp + 0x114], ecx
mov dword [esp + 0x110], eax
mov eax, dword [esp]
mov dword [esp + 0x134], eax
mov dword [esp + 0x130], esi
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x118], edi
mov dword [esp + 0x138], edi
lea eax, [esp + 0x130]
mov ecx, dword [esp + 4]
mov edi, dword [0x102a2380]
movaps xmm0, xmmword [esp + 0x110]
xorps xmm0, xmmword [eax]
movaps xmmword [esp + 0x110], xmm0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push 0
lea edx, [esp + 0x114]
push edx
call dword [eax + 0x18]
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx + 0x24]
test eax, eax
je 0x10051b3d
mov ecx, dword [0x102a2384]
mov edx, dword [ecx]
push eax
call dword [edx + 0xc]
test eax, eax
je 0x10051b3d
mov esi, eax
mov edi, eax
add edi, 8
je 0x10051b3d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
test al, al
jne 0x10051b3d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x260]
test al, al
je 0x10051b3d
mov eax, dword [0x102a22ac]
mov ecx, dword [eax]
mov ebx, dword [ecx]
cmp esi, ebx
je 0x10051972
mov ecx, dword [eax + 0x284]
mov eax, dword [ecx]
call dword [eax + 0x34]
test ebx, ebx
je 0x10051780
test eax, eax
jne 0x10051780
cmp esi, 0xfffffff8
je 0x10051780
mov ecx, ebx
add ecx, 8
je 0x10051780
mov eax, dword [ebx + 8]
call dword [eax + 0x28]
mov dword [esp], eax
mov ecx, dword [0x102a2380]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edx, dword [0x102a22ac]
cmp dword [esp], eax
jne 0x1005160a
mov eax, dword [edx + 0x184]
cmp byte [eax + ebx], 0
jne 0x100515d7
mov eax, dword [edx + 0x1c]
cmp dword [eax + ebx], 0
jg 0x1005160a
mov ecx, dword [0x102a2384]
mov eax, dword [edx + 0x18c]
mov edx, dword [ecx]
push dword [eax + ebx]
call dword [edx + 0x10]
mov edx, dword [0x102a22ac]
cmp eax, 0xdddddddd
je 0x1005160a
mov ecx, dword [edx + 0x188]
mov ecx, dword [ecx + ebx]
and ecx, 0xfffffffe
cmp ecx, 4
cmove ebx, eax
mov eax, dword [edx + 0x20]
mov ecx, dword [eax + esi]
cmp ecx, dword [eax + ebx]
jne 0x10051780
mov eax, dword [edx]
cmp esi, dword [eax]
je 0x10051780
mov eax, dword [esp + 8]
and eax, 2
je 0x10051780
movss xmm0, dword [0x10149668]
movss xmm1, dword [esp + 0x24]
mulss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 4], eax
movss xmm1, dword [esp + 0x28]
mulss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x18], eax
movss xmm1, dword [esp + 0x2c]
mulss xmm1, xmm0
cvttss2si ebx, xmm1
mov eax, dword [0x102a2324]
mov dword [esp], eax
mov eax, dword [0x102a22bc]
bswap eax
mov edx, dword [0x102a22c0]
add edx, eax
movss xmm1, dword [esp + 0x30]
mulss xmm1, xmm0
mov ecx, dword [0x102a22c4]
ror edx, cl
movss xmm0, dword [edx]
cvttss2si eax, xmm1
mov dword [esp + 0xc], eax
movss dword [esp + 0x90], xmm0
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x9c], 0
lea eax, [esp + 0x94]
mov edx, dword [esi]
mov ecx, esi
push eax
call dword [edx + 0x454]
mov eax, dword [esp + 0x12c]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 4]
shl ecx, 0x18
movzx eax, byte [esp + 0x18]
shl eax, 0x10
or eax, ecx
shl ebx, 8
movzx ecx, bx
or ecx, eax
movzx eax, byte [esp + 0xc]
or eax, ecx
movsd xmm0, qword [esp + 0x124]
movsd qword [esp + 0xa0], xmm0
mov dword [esp + 0xac], eax
mov eax, dword [esi + 8]
mov ecx, edi
call dword [eax + 0x28]
mov dword [esp + 0xb0], eax
mov eax, dword [0x102a22ac]
mov eax, dword [eax + 0x180]
mov eax, dword [eax + esi]
mov dword [esp + 0xb4], eax
mov word [esp + 0xb8], 0
mov eax, dword [esp + 0x34]
mov dword [esp + 0xbc], eax
sub esp, 0x30
movups xmm0, xmmword [esp + 0xe0]
movups xmmword [esp + 0x20], xmm0
movups xmm0, xmmword [esp + 0xc0]
movups xmm1, xmmword [esp + 0xd0]
jmp 0x10051b2b
mov eax, dword [0x102a22ac]
mov ecx, dword [eax]
mov ebx, dword [ecx]
mov ecx, dword [eax + 0x284]
mov eax, dword [ecx]
call dword [eax + 0x34]
xor edx, edx
test ebx, ebx
je 0x10051827
test eax, eax
jne 0x10051827
xor edx, edx
cmp esi, 0xfffffff8
je 0x10051827
mov ecx, ebx
add ecx, 8
je 0x10051827
mov eax, dword [ebx + 8]
call dword [eax + 0x28]
mov dword [esp], eax
mov ecx, dword [0x102a2380]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edx, dword [0x102a22ac]
cmp dword [esp], eax
jne 0x1005181b
mov eax, dword [edx + 0x184]
cmp byte [eax + ebx], 0
jne 0x100517e8
mov eax, dword [edx + 0x1c]
cmp dword [eax + ebx], 0
jg 0x1005181b
mov ecx, dword [0x102a2384]
mov eax, dword [edx + 0x18c]
mov edx, dword [ecx]
push dword [eax + ebx]
call dword [edx + 0x10]
mov edx, dword [0x102a22ac]
cmp eax, 0xdddddddd
je 0x1005181b
mov ecx, dword [edx + 0x188]
mov ecx, dword [ecx + ebx]
and ecx, 0xfffffffe
cmp ecx, 4
cmove ebx, eax
mov eax, dword [edx + 0x20]
mov ecx, dword [eax + esi]
cmp ecx, dword [eax + ebx]
sete dl
test dl, dl
jne 0x10051b3d
and dword [esp + 8], 4
je 0x10051b3d
movss xmm0, dword [0x10149668]
movss xmm1, dword [esp + 0x4c]
mulss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 4], eax
movss xmm1, dword [esp + 0x50]
mulss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x18], eax
movss xmm1, dword [esp + 0x54]
mulss xmm1, xmm0
cvttss2si ebx, xmm1
mov eax, dword [0x102a2324]
mov dword [esp], eax
mov eax, dword [0x102a22bc]
bswap eax
mov edx, dword [0x102a22c0]
add edx, eax
movss xmm1, dword [esp + 0x58]
mulss xmm1, xmm0
mov ecx, dword [0x102a22c4]
ror edx, cl
movss xmm0, dword [edx]
cvttss2si eax, xmm1
mov dword [esp + 0xc], eax
movss dword [esp + 0x60], xmm0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x6c], 0
lea eax, [esp + 0x64]
mov edx, dword [esi]
mov ecx, esi
push eax
call dword [edx + 0x454]
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 4]
shl ecx, 0x18
movzx eax, byte [esp + 0x18]
shl eax, 0x10
or eax, ecx
shl ebx, 8
movzx ecx, bx
or ecx, eax
movzx eax, byte [esp + 0xc]
or eax, ecx
movsd xmm0, qword [esp + 0x124]
movsd qword [esp + 0x70], xmm0
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 8]
mov ecx, edi
call dword [eax + 0x28]
mov dword [esp + 0x80], eax
mov eax, dword [0x102a22ac]
mov eax, dword [eax + 0x180]
mov eax, dword [eax + esi]
mov dword [esp + 0x84], eax
mov word [esp + 0x88], 0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x8c], eax
sub esp, 0x30
movups xmm0, xmmword [esp + 0xb0]
movups xmmword [esp + 0x20], xmm0
movups xmm0, xmmword [esp + 0x90]
movups xmm1, xmmword [esp + 0xa0]
jmp 0x10051b2b
mov edx, dword [0x102a2324]
lea eax, [edx + 0x7d0]
mov dword [esp], eax
mov ecx, dword [edx + 0x7d4]
cmp dword [edx + 0x7d0], ecx
je 0x100519be
movss xmm0, dword [ecx - 0x20]
mov ecx, dword [0x102a22bc]
bswap ecx
mov ebx, dword [0x102a22c0]
add ebx, ecx
mov ecx, dword [0x102a22c4]
ror ebx, cl
ucomiss xmm0, dword [ebx + 0x10]
jne 0x100519be
jp 0x100519be
mov ecx, dword [edx + 0x7d4]
mov byte [ecx - 0x1c], 0
mov edx, 0x401c
add edx, dword [0x102a22ac]
mov ecx, dword [0x102a22bc]
bswap ecx
mov ebx, dword [0x102a22c0]
add ebx, ecx
mov ecx, dword [0x102a22c4]
ror ebx, cl
add ebx, 0x10
lea eax, [esp + 0x124]
mov ecx, dword [esp]
push eax
push edx
push ebx
call fcn.10052350
test byte [esp + 8], 1
je 0x10051b3d
movss xmm0, dword [0x10149668]
movss xmm1, dword [esp + 0x38]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x3c]
mulss xmm1, xmm0
cvttss2si edx, xmm1
mov ecx, dword [0x102a2324]
mov dword [esp], ecx
mov ecx, dword [0x102a22bc]
bswap ecx
mov ebx, dword [0x102a22c0]
add ebx, ecx
mov ecx, dword [0x102a22c4]
ror ebx, cl
movss xmm1, dword [ebx]
movss dword [esp + 0xc0], xmm1
mov ecx, dword [0x102a22ac]
movsd xmm1, qword [ecx + 0x4010]
movsd qword [esp + 0xc4], xmm1
mov ecx, dword [ecx + 0x4018]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0xd8], ecx
movss xmm1, dword [esp + 0x40]
mulss xmm1, xmm0
shl eax, 0x18
movzx ecx, dl
shl ecx, 0x10
or ecx, eax
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x44]
mulss xmm1, xmm0
shl eax, 8
movzx eax, ax
or eax, ecx
cvttss2si ecx, xmm1
movzx ecx, cl
or ecx, eax
movsd xmm0, qword [esp + 0x124]
movsd qword [esp + 0xd0], xmm0
mov dword [esp + 0xdc], ecx
mov eax, dword [esi + 8]
mov ecx, edi
call dword [eax + 0x28]
mov dword [esp + 0xe0], eax
mov eax, dword [0x102a22ac]
mov eax, dword [eax + 0x180]
mov eax, dword [eax + esi]
mov dword [esp + 0xe4], eax
mov word [esp + 0xe8], 0
mov eax, dword [esp + 0x48]
mov dword [esp + 0xec], eax
sub esp, 0x30
movups xmm0, xmmword [esp + 0x110]
movups xmmword [esp + 0x20], xmm0
movups xmm0, xmmword [esp + 0xf0]
movups xmm1, xmmword [esp + 0x100]
movups xmmword [esp + 0x10], xmm1
movups xmmword [esp], xmm0
mov ecx, dword [esp + 0x30]
call fcn.10064370
mov ecx, dword [esp + 0x148]
xor ecx, ebp
call fcn.100ea0d3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4