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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [esi + 0x60]
mov dword [esp + 0x34], edi
call fcn.0053bf50
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x14], eax
movzx ecx, word [edx + 6]
mov edi, dword [edi + 0x18]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x34]
lea esi, [edx + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], 0
mov eax, dword [eax + 0x30]
test byte [eax + 0x12], 8
seta al
shl ecx, 5
add esi, ecx
mov byte [esp + 0xb], al
movzx ecx, byte [edx + 0xa]
mov dword [esp + 0x38], ecx
lea ecx, [edx + 0x30]
mov dword [esp + 0xc], ecx
movzx ecx, word [edx + 4]
add ecx, 0xffffffff
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ecx
js 0x53c3f3
mov edx, dword [esp + 0xc]
test byte [esi + 0xf], 1
je 0x53c404
mov ecx, dword [ebp + 0xc]
push edx
mov eax, dword [ecx + 0x34]
mov ecx, dword [ecx + 0x30]
add eax, 0x70
push eax
lea eax, [ecx + 0x70]
push eax
push edi
push dword [esp + 0x24]
call fcn.0053caa0
mov eax, dword [esp + 0x24]
test eax, eax
fstp dword [esp + 0x3c]
sete dl
mov dword [esp + 0x70], 2
cmp eax, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x7c], eax
sete cl
mov eax, dword [esp + 0x28]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x84], eax
mov al, byte [esp + 0x1f]
mov byte [esp + 0x8c], al
lea eax, [esp + 0x3c]
mov dword [esp + 0x90], eax
lea eax, [esi + 0x14]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x30]
mov dword [esp + 0x80], edi
mov dword [esp + 0x90], esi
mov byte [esp + 0x95], cl
mov byte [esp + 0x96], dl
mov dword [esp + 0x9c], 0
call fcn.00528350
mov eax, dword [esp + 0x30]
add esp, 0x1c
mov dword [esp + 0x5c], 0
cmp word [eax + 0x204], 0
je 0x53c1cd
lea ecx, [esp + 0x5c]
push ecx
push eax
call fcn.00535220
add esp, 8
cmp word [edi + 0x204], 0
mov dword [esp + 0x5c], 1
je 0x53c1ed
lea eax, [esp + 0x5c]
push eax
push edi
call fcn.00535220
add esp, 8
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x10], eax
jge 0x53c205
mov eax, dword [esp + 0x24]
cmp byte [eax + 0xe], 0
je 0x53c205
and byte [esi + 0xf], 0xfd
test byte [esi + 0xf], 8
jne 0x53c3b3
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x54]
test eax, eax
je 0x53c224
cmp word [eax], 0x1e
je 0x53c3b3
movzx eax, byte [esi + 0xd]
movss xmm3, dword [esp + 0x28]
movd xmm2, eax
mov eax, dword [esp + 0x18]
cvtdq2ps xmm2, xmm2
mov eax, dword [eax + 0x78]
mulss xmm2, dword [0x785c4c]
mov eax, dword [eax + 0x68]
movss xmm0, dword [eax + 0x70]
xorps xmm0, xmmword [0x719730]
comiss xmm0, xmm3
jbe 0x53c321
comiss xmm2, dword [0x7866ac]
jbe 0x53c321
movzx eax, byte [esi + 0xc]
movss dword [esp + 0x60], xmm2
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
movss xmm0, dword [eax*4 + 0x7beb28]
mov al, byte [esi + 0xe]
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x68], xmm3
mov dword [esp + 0x64], 0x7f7fffee
test al, al
je 0x53c2b9
movzx eax, al
movss xmm0, dword [eax*4 + 0x7beb28]
movss dword [esp + 0x64], xmm0
lea eax, [esp + 0x3c]
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 0x34]
push dword [eax + 0x30]
lea eax, [esp + 0x68]
push edi
push dword [esp + 0x24]
push eax
push dword [esp + 0x24]
push dword [ebp + 8]
call fcn.0052d4b0
add esp, 0x20
cmp byte [esp + 0x74], 0
je 0x53c3ba
mov eax, dword [ebp + 0xc]
push 1
mov dword [esp + 0x44], 0x10001
mov dword [esp + 0x4c], esi
mov eax, dword [eax + 0x60]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x20]
call fcn.00528f30
add esp, 0xc
jmp 0x53c3ba
mov eax, dword [esp + 0x14]
movaps xmm0, xmmword [edi + 0x1a0]
shufps xmm0, xmm0, 0xff
movaps xmm1, xmmword [eax + 0x1a0]
shufps xmm1, xmm1, 0xff
addss xmm0, xmm1
mov eax, dword [ebp + 0xc]
movss xmm1, dword [0x718824]
addss xmm0, dword [0x787114]
divss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm1, dword [0x78711c]
addss xmm0, dword [0x718824]
mulss xmm1, xmm3
mulss xmm1, xmm0
movss dword [esi], xmm1
movaps xmm1, xmm2
mulss xmm1, xmm3
xorps xmm3, xmm3
comiss xmm2, xmm3
mulss xmm1, dword [eax]
mulss xmm1, dword [0x787260]
movss dword [esi + 4], xmm1
jbe 0x53c3a9
mov eax, dword [esp + 0xc]
movss xmm0, dword [eax + 0x1c]
addss xmm0, xmm1
movss dword [esi + 0x10], xmm0
jmp 0x53c3c7
movaps xmm0, xmm3
movss dword [esi + 0x10], xmm0
jmp 0x53c3c7
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
mov dword [esi], 0
and byte [esi + 0xf], 0xfe
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov al, byte [esp + 0xb]
add edx, 0x20
mov dword [esp + 0x24], esi
add esi, dword [esp + 0x38]
sub ecx, 1
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
jns 0x53c0d4
mov eax, dword [esp + 0x34]
pop edi
pop esi
mov eax, dword [eax + 0x30]
and byte [eax + 0x12], 0xf6
mov esp, ebp
pop ebp
ret
test al, al
je 0x53c3d7
mov eax, dword [esp + 0x10]
test eax, eax
mov edx, dword [esp + 0x20]
sete cl
mov dword [esp + 0x68], edx
cmp eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
sete al
mov dword [esp + 0x60], edx
mov edx, dword [ebp + 0x14]
mov byte [esp + 0x79], al
lea eax, [esi + 0x14]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x64], 2
mov dword [esp + 0x6c], edi
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], esi
mov byte [esp + 0x80], 1
mov byte [esp + 0x82], cl
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
call fcn.00528350
mov eax, dword [esp + 0x1c]
add esp, 8
mov dword [esp + 0x5c], 0
cmp word [eax + 0x204], 0
je 0x53c4c5
lea ecx, [esp + 0x5c]
push ecx
push eax
call fcn.00535220
add esp, 8
cmp word [edi + 0x204], 0
mov dword [esp + 0x5c], 1
je 0x53c4e5
lea eax, [esp + 0x5c]
push eax
push edi
call fcn.00535220
add esp, 8
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x10], eax
jge 0x53c3cb
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
cmp byte [eax + 0xe], 0
mov al, byte [esp + 0xb]
je 0x53c3d7
and byte [esi + 0xf], 0xfd
jmp 0x53c3d7