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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x74
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x348]
xor esi, esi
cmp eax, esi
je 0x53dfce
mov ecx, dword [eax]
mov eax, dword [ecx]
cmp eax, esi
je 0x53dfce
mov edx, 0xffffff38
mov ebx, dword [ecx + 8]
cmp byte [ebx + 8], 2
jne 0x53dfc6
cmp word [ebx + 0xc], dx
je 0x53dfd7
mov ecx, eax
mov eax, dword [eax]
cmp eax, esi
jne 0x53dfb7
mov dword [esp + 0x14], esi
jmp 0x53e21f
push 0x68c828
mov dword [esp + 0x18], ebx
call fcn.005f1f70
add esp, 4
push 0xffffffffffffff9b
mov ecx, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
call fcn.00531c40
cmp eax, esi
jl 0x53e02a
lea eax, [eax + eax*2]
lea eax, [edi + eax*4 + 0x194]
cmp eax, esi
je 0x53e02a
mov eax, dword [eax]
cmp eax, esi
je 0x53e02a
mov eax, dword [eax + 0x8c]
cmp eax, esi
je 0x53e02a
push 0x74
push eax
push ebx
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.00536a20
push 0xffffffffffffff9a
mov ecx, edi
call fcn.00531c40
cmp eax, esi
jl 0x53e060
lea ecx, [eax + eax*2]
lea eax, [edi + ecx*4 + 0x194]
cmp eax, esi
je 0x53e060
mov eax, dword [eax]
cmp eax, esi
je 0x53e060
mov eax, dword [eax + 0x8c]
cmp eax, esi
je 0x53e060
push 0x75
push eax
push ebx
mov ecx, edi
call fcn.00536a20
push 0xffffff50
mov ecx, edi
call fcn.00531c40
cmp eax, esi
jl 0x53e0b4
lea edx, [eax + eax*2]
lea eax, [edi + edx*4 + 0x194]
cmp eax, esi
je 0x53e0b4
mov eax, dword [eax]
cmp eax, esi
je 0x53e0b4
mov esi, dword [eax + 0x8c]
test esi, esi
je 0x53e0b4
push 0x75
push esi
push ebx
mov ecx, edi
call fcn.00536a20
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esi + 0x211], 1
je 0x53e0b4
push eax
lea ecx, [esi + 0x20c]
call fcn.00401a50
push 0
push 8
push 0
call dword [esp + 0x28]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x53e21b
call fcn.005f2050
fmul dword [0x68ba44]
fstp dword [esp + 0x1c]
call fcn.005f2050
fmul dword [0x68ba44]
movaps xmm1, xmmword [ebx + 0x40]
push esi
fsub dword [0x68ba40]
mov ecx, ebx
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fsub dword [0x68ba40]
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [0x68b4fc]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [0x68b4fc]
movss dword [esp + 0x30], xmm0
movaps xmm0, xmmword [esp + 0x24]
addps xmm1, xmm0
movss xmm0, dword [0x68b4fc]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [0x68b4fc]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [0x68b4fc]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [0x68b500]
movss dword [esp + 0x30], xmm0
movaps xmm2, xmmword [esp + 0x24]
movaps xmmword [esp + 0x64], xmm1
movaps xmm0, xmm2
shufps xmm0, xmm2, 0x39
movaps xmm1, xmm0
shufps xmm1, xmm0, 0x39
movaps xmm3, xmm1
shufps xmm3, xmm1, 0x39
movaps xmmword [esi + 0x10], xmm3
movaps xmmword [esi + 0x20], xmm1
movaps xmmword [esi + 0x30], xmm0
movaps xmmword [esi + 0x40], xmm2
mov edx, dword [esi + 0x84]
or edx, 0x80
mov word [esi + 0xc], 0xff37
mov dword [esi + 0x84], edx
mov dword [esi + 0x1d0], 0
call fcn.005ef6a0
push esi
lea ecx, [ebx + 0x2a8]
call fcn.00401a50
xor ecx, ecx
lea eax, [esp + 0x60]
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
cmp eax, ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 8
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
je 0x53e21b
lea ecx, [esp + 0x20]
push ecx
push 0xb
push esi
call eax
add esp, 0xc
mov byte [edi + 9], 2
mov al, byte [edi + 0x2bc]
test al, al
je 0x53e370
push 0xffffff1e
mov ecx, edi
call fcn.0053d6e0
test eax, eax
je 0x53e243
inc dword [edi + 0x2ec]
push 0xffffff1e
mov ecx, edi
call fcn.00538580
mov ebx, eax
test ebx, ebx
je 0x53e370
mov eax, dword [esp + 0x14]
movaps xmm0, xmmword [eax + 0x10]
movaps xmmword [ebx + 0x10], xmm0
movaps xmm0, xmmword [eax + 0x20]
movaps xmmword [ebx + 0x20], xmm0
movaps xmm0, xmmword [eax + 0x30]
movaps xmmword [ebx + 0x30], xmm0
movaps xmm0, xmmword [eax + 0x40]
movaps xmmword [ebx + 0x40], xmm0
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x40480000
movss xmm0, dword [edx]
movaps xmm1, xmm0
shufps xmm1, xmm0, 0
movaps xmm0, xmmword [eax + 0x30]
mulps xmm0, xmm1
movaps xmm1, xmm0
movaps xmm0, xmmword [eax + 0x40]
subps xmm0, xmm1
movss xmm1, dword [0x68b500]
movss dword [esp + 0x20], xmm1
movss xmm1, dword [0x68b4fc]
movss dword [esp + 0x24], xmm1
movss xmm1, dword [0x68b4fc]
movss dword [esp + 0x28], xmm1
movss xmm1, dword [0x68b4fc]
movss dword [esp + 0x2c], xmm1
movaps xmm1, xmmword [esp + 0x20]
lea eax, [esp + 0x20]
shufps xmm1, xmm0, 0xe0
shufps xmm0, xmm1, 0x24
push eax
mov ecx, ebx
movaps xmmword [ebx + 0x40], xmm0
call fcn.005efd90
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.0053d1c0
mov esi, eax
test esi, esi
je 0x53e370
push 0x74
mov word [esi + 0xc], 0xff69
mov edx, dword [0x725b2c]
push esi
mov dword [esi + 0x13b8], edx
push ebx
mov ecx, edi
mov dword [esi + 0x1318], 0
call fcn.00536a20
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
mov dword [esp + 0x64], eax
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x60], 0x64
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
je 0x53e370
lea edx, [esp + 0x60]
push edx
push 0xb
push esi
call ecx
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret