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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x623ec0]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x1d4], 0
jne 0x5704f8
mov edx, dword [0x9c25b0]
mov eax, dword [edx + 0x24]
cmp eax, 0x7534
je 0x5704ee
cmp eax, 0x7535
je 0x5704ee
cmp byte [esi + 0xa3d], 0
jne 0x5704ee
cmp byte [esi + 0xa25], 1
jne 0x5704a5
mov ecx, dword [edx + 0x4c]
cmp ecx, esi
je 0x5704a5
cmp byte [ecx + 0xa36], 0
je 0x5704ee
cmp eax, 0x7530
jne 0x57050f
mov ecx, dword [0x9c25ac]
movsx eax, byte [ecx + 0x10e1]
cmp byte [eax + ecx + 0x10e2], 0x1f
jne 0x57050f
mov eax, dword [esi + 0x9d8]
cmp eax, 0xc
je 0x570528
cmp eax, 0xb
je 0x570528
cmp byte [esi + 0x211], 1
je 0x570528
cmp dword [edx + 0x100], esi
jne 0x5704ee
mov dword [edx + 0x100], 0
mov dword [esi + 0x204], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0046676f
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x9d8]
cmp eax, 0xc
je 0x5704dc
cmp eax, 0xb
je 0x5704dc
cmp byte [esi + 0x211], 1
je 0x5704dc
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.004bf180
mov eax, dword [0x9c25ac]
xor bl, bl
mov eax, dword [eax + 0x21a74]
movq xmm0, qword [eax + 0x48]
mov eax, dword [eax + 0x50]
mov dword [esp + 0x28], eax
mov eax, dword [0x9c25b0]
movq qword [esp + 0x20], xmm0
mov ecx, dword [eax + 0x100]
mov eax, dword [eax + 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
cmp byte [esi + 0xa44], bl
jle 0x570585
mov eax, dword [esi + 0xa48]
mov dword [esp + 0x14], eax
movsx eax, word [esi + 0x18e]
push 0x2bf20
push 0
push eax
mov dword [esp + 0x1c], eax
call fcn.004abba0
mov ecx, dword [esi + 0x5e8]
mov edx, eax
mov edi, dword [0x9c25b0]
test ecx, ecx
je 0x5705ce
cmp dword [ecx + 0x34], 0
je 0x5705ce
cmp dword [esp + 0xc], 0
jne 0x5705cc
mov dword [edi + 0x100], esi
mov dword [esi + 0x204], 1
mov bl, 1
mov eax, dword [esp + 0x14]
movss xmm5, dword [esi + 0x38]
mulss xmm5, dword [eax*8 + 0x629070]
addss xmm5, dword [0x604d2c]
test edx, edx
je 0x570717
mov eax, dword [esp + 0x10]
cmp eax, 0xb48
je 0x570610
cmp eax, 0xb49
jne 0x570713
movss xmm5, dword [0x605000]
jmp 0x570618
movss xmm5, dword [0x604f80]
movss dword [esp + 0x10], xmm5
test bl, bl
jne 0x570713
movss xmm0, dword [esi + 0x28]
lea eax, [esp + 0x5c]
movss xmm4, dword [esi + 0x2c]
subss xmm0, xmm5
movss xmm3, dword [esi + 0x30]
movaps xmm1, xmm4
push 0
push 0
push 0
push eax
lea eax, [esp + 0x78]
movss dword [esp + 0x54], xmm0
push eax
movss dword [esp + 0x40], xmm0
lea eax, [esp + 0x40]
push eax
movaps xmm0, xmm5
movss dword [esp + 0x60], xmm3
addss xmm0, dword [esi + 0x28]
subss xmm1, xmm5
movss dword [esp + 0x48], xmm3
addss xmm4, xmm5
movss dword [esp + 0x54], xmm3
lea eax, [esp + 0x50]
movss dword [esp + 0x6c], xmm3
push eax
lea eax, [esp + 0x60]
movss dword [esp + 0x54], xmm0
push eax
movss dword [esp + 0x6c], xmm1
movss dword [esp + 0x54], xmm4
movss dword [esp + 0x60], xmm1
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x78], xmm4
call fcn.00406d1b
cmp eax, 1
jne 0x5706de
mov edi, dword [0x9c25b0]
cmp dword [esp + 0xc], 0
jne 0x5706da
mov dword [edi + 0x100], esi
mov dword [esi + 0x204], 1
mov bl, 1
jmp 0x57070d
push 0
push 0
push 0
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00406d1b
mov edi, dword [0x9c25b0]
cmp eax, 1
je 0x5706c3
movss xmm5, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp dword [esi + 0x218], 0x38
jne 0x57082d
cmp word [esi + 0x172], 0
jne 0x57082d
movss xmm0, dword [eax*8 + 0x629074]
lea eax, [esp + 0x5c]
subss xmm5, dword [0x604ce8]
mulss xmm0, dword [esi + 0x38]
push 0
movss xmm4, dword [esi + 0x30]
movss xmm2, dword [esi + 0x28]
movss xmm3, dword [esi + 0x2c]
subss xmm2, xmm5
addss xmm5, dword [esi + 0x28]
push 0
push 0
push eax
lea eax, [esp + 0x78]
movss dword [esp + 0x54], xmm2
push eax
lea eax, [esp + 0x40]
movss dword [esp + 0x60], xmm3
push eax
addss xmm0, xmm4
movss dword [esp + 0x44], xmm5
lea eax, [esp + 0x50]
movss dword [esp + 0x4c], xmm3
push eax
lea eax, [esp + 0x60]
movss dword [esp + 0x54], xmm2
push eax
movss dword [esp + 0x68], xmm0
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x5c], xmm4
movss dword [esp + 0x60], xmm3
movss dword [esp + 0x70], xmm5
movss dword [esp + 0x74], xmm4
movss dword [esp + 0x78], xmm3
call fcn.00406d1b
cmp eax, 1
jne 0x5707fa
mov ecx, dword [esp + 0xc]
mov edi, dword [0x9c25b0]
test ecx, ecx
jne 0x5707f3
mov dword [edi + 0x100], esi
mov dword [esi + 0x204], 1
mov bl, 1
jmp 0x570ce2
test bl, bl
jne 0x570cd8
push 0
push 0
push 0
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00406d1b
cmp eax, 1
jne 0x570835
jmp 0x5707d5
test bl, bl
jne 0x570cde
cmp word [esi + 0x21c], 0x19
mov eax, dword [esp + 0x14]
movss xmm6, dword [esi + 0x38]
movaps xmm5, xmm6
mulss xmm5, dword [eax*8 + 0x629070]
movss dword [esp + 0x10], xmm5
jne 0x570878
cmp byte [esi + 0xa44], 1
jne 0x570878
movss xmm0, dword [0x604dc4]
minss xmm0, xmm5
movaps xmm5, xmm0
movss dword [esp + 0x10], xmm0
mulss xmm6, dword [eax*8 + 0x629074]
lea eax, [esp + 0x5c]
push 0
movss xmm0, dword [esi + 0x28]
movss xmm2, dword [esi + 0x2c]
subss xmm0, xmm5
movss xmm4, dword [esi + 0x30]
movaps xmm1, xmm2
push 0
push 0
push eax
lea eax, [esp + 0x78]
movss dword [esp + 0x54], xmm0
push eax
movss dword [esp + 0x40], xmm0
lea eax, [esp + 0x40]
push eax
movaps xmm0, xmm5
movss dword [esp + 0x54], xmm4
addss xmm0, dword [esi + 0x28]
addss xmm6, xmm4
movss dword [esp + 0x6c], xmm4
subss xmm1, xmm5
addss xmm2, xmm5
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x60]
movss dword [esp + 0x64], xmm6
push eax
movss dword [esp + 0x6c], xmm1
movss dword [esp + 0x50], xmm6
movss dword [esp + 0x54], xmm2
movss dword [esp + 0x58], xmm0
movss dword [esp + 0x60], xmm1
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x78], xmm2
call fcn.00406d1b
cmp eax, 1
jne 0x570928
mov ecx, dword [esp + 0xc]
mov edi, dword [0x9c25b0]
jmp 0x57095b
push 0
push 0
push 0
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00406d1b
mov ecx, dword [esp + 0xc]
mov edi, dword [0x9c25b0]
cmp eax, 1
jne 0x570971
test ecx, ecx
jne 0x57096f
mov dword [edi + 0x100], esi
mov dword [esi + 0x204], 1
mov bl, 1
mov eax, dword [esp + 0x14]
movss xmm7, dword [esp + 0x10]
movss xmm3, dword [esi + 0x38]
movaps xmm2, xmm7
movss xmm6, dword [esi + 0x30]
mulss xmm3, dword [eax*8 + 0x629074]
movss xmm5, dword [esi + 0x2c]
movss xmm4, dword [esi + 0x28]
movaps xmm1, xmm5
movss dword [esp + 0x3c], xmm6
subss xmm4, xmm7
movss dword [esp + 0x54], xmm6
addss xmm3, xmm6
movss dword [esp + 0x9c], xmm6
subss xmm1, xmm7
movss dword [esp + 0x90], xmm6
addss xmm5, xmm7
addss xmm2, dword [esi + 0x28]
movss dword [esp + 0x44], xmm4
movss dword [esp + 0x48], xmm3
movss dword [esp + 0x4c], xmm1
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x38], xmm4
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x50], xmm2
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x74], xmm4
movss dword [esp + 0x78], xmm3
movss dword [esp + 0x7c], xmm5
movss dword [esp + 0x80], xmm2
movss dword [esp + 0x84], xmm3
movss dword [esp + 0x88], xmm5
movss dword [esp + 0x98], xmm4
movss dword [esp + 0xa0], xmm5
movss dword [esp + 0x8c], xmm2
movss dword [esp + 0x94], xmm5
test bl, bl
jne 0x570ce2
push 0
push 0
push 0
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.00406d1b
cmp eax, 1
je 0x5707d5
push 0
push 0
push 0
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00406d1b
cmp eax, 1
je 0x5707d5
push 0
push 0
push 0
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00406d1b
cmp eax, 1
je 0x5707d5
push 0
push 0
push 0
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.00406d1b
cmp eax, 1
je 0x5707d5
push 0
push 0
push 0
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00406d1b
cmp eax, 1
je 0x5707d5
push 0
push 0
push 0
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.00406d1b
cmp eax, 1
je 0x5707d5
push 0
push 0
push 0
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00406d1b
cmp eax, 1
je 0x5707d5
push 0
push 0
push 0
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.00406d1b
cmp eax, 1
je 0x5707d5
cmp dword [esi + 0x218], 0x38
jne 0x570cd8
cmp word [esi + 0x172], 0
jne 0x570cd8
movss xmm5, dword [esp + 0x10]
lea eax, [esp + 0x5c]
movss xmm4, dword [esi + 0x2c]
movss xmm0, dword [esi + 0x28]
movaps xmm1, xmm4
movss xmm3, dword [esi + 0x30]
subss xmm0, xmm5
push 0
push 0
push 0
push eax
lea eax, [esp + 0x78]
movss dword [esp + 0x54], xmm0
push eax
subss xmm1, xmm5
movss dword [esp + 0x5c], xmm3
addss xmm4, xmm5
movss dword [esp + 0x40], xmm0
addss xmm5, dword [esi + 0x28]
lea eax, [esp + 0x40]
movss dword [esp + 0x44], xmm3
push eax
lea eax, [esp + 0x50]
movss dword [esp + 0x64], xmm1
push eax
lea eax, [esp + 0x60]
movss dword [esp + 0x50], xmm4
push eax
movss dword [esp + 0x58], xmm5
movss dword [esp + 0x5c], xmm3
movss dword [esp + 0x60], xmm1
movss dword [esp + 0x70], xmm5
movss dword [esp + 0x74], xmm3
movss dword [esp + 0x78], xmm4
call fcn.00406d1b
cmp eax, 1
je 0x5707d5
push 0
push 0
push 0
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00406d1b
cmp eax, 1
je 0x5707d5
mov edi, dword [0x9c25b0]
mov ecx, dword [esp + 0xc]
mov eax, dword [0x9c25ac]
movss xmm3, dword [esp + 0x28]
movss xmm1, dword [esp + 0x20]
cmp dword [eax + 0x21a74], 0
je 0x570dcc
cmp ecx, esi
je 0x570dcc
cmp bl, 1
jne 0x570da7
mov eax, dword [esp + 0x18]
test eax, eax
je 0x570d81
movaps xmm2, xmm1
movaps xmm0, xmm3
subss xmm0, dword [eax + 0x2c]
subss xmm1, dword [esi + 0x28]
subss xmm2, dword [eax + 0x28]
mulss xmm0, xmm0
movss dword [esp + 0x14], xmm1
movaps xmm1, xmm3
subss xmm1, dword [esi + 0x2c]
mulss xmm2, xmm2
addss xmm0, xmm2
movss dword [esp + 0x10], xmm1
call fcn.00445ac0
movss xmm1, dword [esp + 0x14]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x10]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.00445ac0
movss xmm1, dword [esp + 0x1c]
comiss xmm1, xmm0
jbe 0x570dd5
mov eax, dword [edi + 0x100]
test eax, eax
je 0x570d95
mov dword [eax + 0x204], 0
mov dword [edi + 0x100], esi
mov dword [esi + 0x204], 1
jmp 0x570dd5
cmp dword [edi + 0x100], esi
jne 0x570e6a
mov dword [edi + 0x100], 0
mov dword [esi + 0x204], 1
jmp 0x570e6a
cmp bl, 1
jne 0x570e6a
movss xmm1, dword [esp + 0x20]
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [esi + 0x2c]
subss xmm1, dword [esi + 0x28]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.00445ac0
movss xmm1, dword [0x604e14]
comiss xmm1, xmm0
mov eax, dword [esp + 0x18]
jbe 0x570e21
mov dword [esi + 0x204], 0
xor bl, bl
mov dword [edi + 0x100], eax
jmp 0x570e6a
test eax, eax
je 0x570e6a
cmp dword [esp + 0xc], esi
je 0x570e6a
cmp dword [esi + 0x20], 0x3e8
jae 0x570e6a
cmp dword [eax + 0x20], 0x3e8
jb 0x570e6a
cmp byte [eax + 0x215], 1
jne 0x570e6a
mov eax, dword [edi + 0x100]
test eax, eax
je 0x570e5a
mov dword [eax + 0x204], 0
mov dword [esi + 0x204], 1
mov dword [edi + 0x100], esi
cmp dword [esi + 0x204], 0
jne 0x570eac
cmp bl, 1
jne 0x570eac
cmp dword [edi + 0x24], 0x7530
je 0x570eac
mov ecx, dword [0x9c25cc]
test ecx, ecx
je 0x570eac
push 0x34
call fcn.004a8da0
mov edi, eax
mov ecx, edi
call fcn.004a85c0
test eax, eax
je 0x570eac
sub esp, 0xc
push 0
push ecx
mov ecx, edi
call fcn.004a86c0
mov ecx, dword [esp + 0xa4]
movzx eax, bl
pop edi
mov dword [esi + 0x204], eax
pop esi
pop ebx
xor ecx, esp
call fcn.0046676f
mov esp, ebp
pop ebp
ret