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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
mov edi, dword [0x10091850]
mov esi, edi
mov al, byte [esi + 8]
and al, 1
mov byte [esi + 0x35b], 0
test byte [esi + 8], 2
mov byte [ebp - 2], al
je 0x5d5d91
test byte [esi + 0xc], 1
je 0x5d5d91
movss xmm0, dword [esi + 0x304]
xorps xmm1, xmm1
comiss xmm0, xmm1
mov byte [ebp - 1], 1
ja 0x5d5d85
movss xmm0, dword [esi + 0x30c]
comiss xmm0, xmm1
ja 0x5d5d85
movss xmm0, dword [esi + 0x308]
comiss xmm0, xmm1
ja 0x5d5d85
movss xmm0, dword [esi + 0x310]
comiss xmm0, xmm1
jbe 0x5d5d95
mov dword [esi + 0x1b4c], 4
jmp 0x5d5d95
mov byte [ebp - 1], 0
mov ecx, dword [0x1005d2e0]
test al, al
je 0x5d604a
mov eax, dword [esi + 0x64]
mov dword [ebp - 0xc], eax
test eax, eax
js 0x5d5dfa
mov edx, edi
cmp eax, 0x200
jl 0x5d5ddb
push 0x10d3
push 0x1005d678
push 0x1005ea40
call ecx
mov edi, dword [0x10091850]
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov edx, esi
mov ecx, dword [0x1005d2e0]
mov al, byte [edx + eax + 0x104]
test al, al
je 0x5d5dfa
mov dword [esi + 0x304], 0x3f800000
mov dword [esi + 0x1b4c], 3
mov eax, dword [esi + 0x68]
mov dword [ebp - 0xc], eax
test eax, eax
js 0x5d5e4f
mov edx, edi
mov dword [ebp - 8], edx
cmp eax, 0x200
jl 0x5d5e30
push 0x10d3
push 0x1005d678
push 0x1005ea40
call ecx
mov edi, dword [0x10091850]
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov al, byte [edx + eax + 0x104]
test al, al
je 0x5d5e4f
mov dword [esi + 0x30c], 0x3f800000
mov dword [esi + 0x1b4c], 3
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0xc], eax
test eax, eax
js 0x5d5ea8
mov ecx, edi
mov dword [ebp - 8], ecx
cmp eax, 0x200
jl 0x5d5e89
push 0x10d3
push 0x1005d678
push 0x1005ea40
call dword [0x1005d2e0]
mov edi, dword [0x10091850]
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x5d5ea8
mov dword [esi + 0x308], 0x3f800000
mov dword [esi + 0x1b4c], 3
mov eax, dword [esi + 0x38]
mov dword [ebp - 0xc], eax
test eax, eax
js 0x5d5f01
mov ecx, edi
mov dword [ebp - 8], ecx
cmp eax, 0x200
jl 0x5d5ee2
push 0x10d3
push 0x1005d678
push 0x1005ea40
call dword [0x1005d2e0]
mov edi, dword [0x10091850]
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x5d5f01
mov dword [esi + 0x348], 0x3f800000
mov dword [esi + 0x1b4c], 3
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0xc], eax
test eax, eax
js 0x5d5f5a
mov ecx, edi
mov dword [ebp - 8], ecx
cmp eax, 0x200
jl 0x5d5f3b
push 0x10d3
push 0x1005d678
push 0x1005ea40
call dword [0x1005d2e0]
mov edi, dword [0x10091850]
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x5d5f5a
mov dword [esi + 0x34c], 0x3f800000
mov dword [esi + 0x1b4c], 3
mov eax, dword [esi + 0x40]
mov dword [ebp - 0xc], eax
test eax, eax
js 0x5d5fb3
mov ecx, edi
mov dword [ebp - 8], ecx
cmp eax, 0x200
jl 0x5d5f94
push 0x10d3
push 0x1005d678
push 0x1005ea40
call dword [0x1005d2e0]
mov edi, dword [0x10091850]
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x5d5fb3
mov dword [esi + 0x350], 0x3f800000
mov dword [esi + 0x1b4c], 3
mov eax, dword [esi + 0x44]
mov dword [ebp - 0xc], eax
test eax, eax
js 0x5d600c
mov ecx, edi
mov dword [ebp - 8], ecx
cmp eax, 0x200
jl 0x5d5fed
push 0x10d3
push 0x1005d678
push 0x1005ea40
call dword [0x1005d2e0]
mov edi, dword [0x10091850]
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x5d600c
mov dword [esi + 0x354], 0x3f800000
mov dword [esi + 0x1b4c], 3
mov al, byte [esi + 0x100]
test al, al
je 0x5d6020
mov dword [esi + 0x33c], 0x3f800000
cmp byte [esi + 0x101], 0
je 0x5d6033
mov dword [esi + 0x340], 0x3f800000
cmp byte [esi + 0x102], 0
je 0x5d604a
test al, al
jne 0x5d604a
mov dword [esi + 0x344], 0x3f800000
movups xmm0, xmmword [esi + 0x1458]
mov eax, dword [esi + 0x14a8]
lea ecx, [esi + 0x1458]
movss xmm2, dword [0x1008b3b0]
xorps xmm1, xmm1
movups xmmword [esi + 0x14ac], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [esi + 0x14bc], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [esi + 0x14cc], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [esi + 0x14dc], xmm0
movups xmm0, xmmword [ecx + 0x40]
movups xmmword [esi + 0x14ec], xmm0
mov dword [esi + 0x14fc], eax
mov eax, 0x15
nop word [eax + eax]
movss xmm0, dword [ecx - 0x1154]
comiss xmm0, xmm1
jbe 0x5d60e2
movss xmm2, dword [ecx]
comiss xmm1, xmm2
jbe 0x5d60cf
movss xmm2, dword [0x1008b3b0]
movaps xmm0, xmm1
jmp 0x5d60e5
movss xmm0, dword [esi + 0x18]
addss xmm0, xmm2
movss xmm2, dword [0x1008b3b0]
jmp 0x5d60e5
movaps xmm0, xmm2
movss dword [ecx], xmm0
add ecx, 4
sub eax, 1
jne 0x5d60ac
mov ecx, dword [esi + 0x1b74]
test ecx, ecx
je 0x5d6185
cmp byte [esi + 0x1b6e], al
je 0x5d610f
cmp byte [esi + 0x1b72], al
je 0x5d6185
cmp dword [esi + 0x1b20], 0
je 0x5d6185
cmp byte [esi + 0x1b72], 0
mov eax, dword [esi + 0x1b64]
mov edx, eax
mov dword [ebp - 0xc], eax
push 0
je 0x5d6161
call fcn.005d4d9c
mov eax, dword [ebp - 0xc]
add esp, 4
movups xmm0, xmmword [esi + 0x1b78]
add eax, 0x31
shl eax, 4
add eax, dword [edi + 0x1b20]
movups xmmword [eax], xmm0
mov word [edi + 0x1b6d], 1
mov byte [edi + 0x1b6f], 1
jmp 0x5d6169
call fcn.005d4d9c
add esp, 4
mov eax, dword [esi + 0x1b64]
movups xmm0, xmmword [esi + 0x1b78]
add eax, 0x31
shl eax, 4
add eax, dword [esi + 0x1b20]
movups xmmword [eax], xmm0
mov al, byte [esi + 0x1b89]
mov word [esi + 0x1b71], 0
mov dword [esi + 0x1b74], 0
mov dword [esi + 0x1b40], 0
test al, al
je 0x5d61b7
call fcn.005d6eac
mov al, byte [esi + 0x1b89]
cmp dword [esi + 0x1b90], 2
jne 0x5d61ff
test al, al
jne 0x5d61dc
push 0x20a8
push 0x1005d678
push 0x1005ff60
call dword [0x1005d2e0]
add esp, 0xc
cmp dword [esi + 0x1ba4], 0
jne 0x5d61f5
cmp dword [esi + 0x1bf4], 0
jne 0x5d61f5
mov byte [esi + 0x1b6e], 0
mov dword [esi + 0x1b90], 0
cmp byte [esi + 0x1b6d], 0
je 0x5d6273
cmp byte [esi + 0x1b6c], 0
je 0x5d6273
test byte [esi + 8], 4
je 0x5d626c
test byte [esi + 0xc], 4
je 0x5d626c
cmp byte [esi + 0x1b6e], 0
jne 0x5d626c
cmp byte [esi + 0x1b6f], 0
je 0x5d626c
cmp dword [esi + 0x1b20], 0
je 0x5d626c
lea ecx, [ebp - 0x10]
call fcn.005d5a5c
mov ecx, dword [eax]
mov dword [esi + 0x380], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x384], eax
mov eax, ecx
mov dword [esi + 0xe8], eax
mov eax, dword [esi + 0x384]
mov dword [esi + 0xec], eax
mov byte [esi + 0x35b], 1
mov byte [esi + 0x1b6d], 0
mov eax, dword [esi + 0x1b64]
mov byte [esi + 0x1b6c], 0
mov dword [esi + 0x1b3c], 0
test eax, eax
je 0x5d62ab
cmp eax, 1
je 0x5d62ab
push 0x20be
push 0x1005d678
push 0x1005ff88
call dword [0x1005d2e0]
add esp, 0xc
mov edx, dword [esi + 0x1b20]
test edx, edx
je 0x5d62e1
mov ecx, edx
nop dword [eax + eax]
mov eax, dword [ecx + 8]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x5d62d7
mov ecx, dword [ecx + 0x2f4]
test ecx, ecx
jne 0x5d62bc
jmp 0x5d62e1
cmp ecx, edx
je 0x5d62e1
mov dword [ecx + 0x304], edx
mov eax, dword [esi + 0x1b20]
test eax, eax
je 0x5d6307
cmp dword [eax + 0x304], 0
je 0x5d6307
cmp dword [esi + 0x1b64], 0
jne 0x5d6307
mov dword [eax + 0x304], 0
call fcn.005d763c
cmp byte [ebp - 2], 0
jne 0x5d6318
cmp byte [ebp - 1], 0
je 0x5d632f
mov eax, dword [esi + 0x1b20]
test eax, eax
je 0x5d632f
test dword [eax + 8], 0x40000
jne 0x5d632f
mov al, 1
jmp 0x5d6331
xor al, al
mov byte [esi + 0x35d], al
test al, al
je 0x5d634d
cmp dword [esi + 0x1b24], 0
je 0x5d634d
cmp byte [esi + 0x1b6e], 0
je 0x5d635a
cmp dword [esi + 0x1c18], 0
jne 0x5d635a
xor al, al
jmp 0x5d635c
mov al, 1
mov edx, 1
mov byte [esi + 0x35e], al
mov ecx, edx
call fcn.005d5b7c
xorps xmm5, xmm5
comiss xmm0, xmm5
jbe 0x5d655c
cmp dword [esi + 0x1a2c], 0
je 0x5d63a2
mov eax, dword [0x10091850]
mov eax, dword [eax + 0x1a44]
shr eax, 1
test dl, al
jne 0x5d655c
call fcn.005c905c
jmp 0x5d655c
mov edi, dword [esi + 0x1b20]
test edi, edi
je 0x5d646c
mov eax, dword [edi + 8]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x5d646c
mov eax, dword [edi + 0x2f4]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x5d646c
cmp dword [edi + 0x4c], 0
jne 0x5d63f5
push 0x20da
push 0x1005d678
push 0x1005ffd0
call dword [0x1005d2e0]
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov ecx, eax
call fcn.005d1c5c
mov ecx, dword [edi + 0x4c]
mov edi, dword [0x10091850]
mov dword [ebp - 0xc], ecx
mov eax, dword [edi + 0x1b20]
test eax, eax
jne 0x5d6433
push 0x1e9e
push 0x1005d678
push 0x1005fdbc
call dword [0x1005d2e0]
mov eax, dword [edi + 0x1b20]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x1b24], ecx
xorps xmm5, xmm5
mov dword [edi + 0x1b28], 0
mov dword [eax + 0x308], ecx
cmp byte [esi + 0x1b6f], 0
mov byte [esi + 0x1b6c], 0
je 0x5d655c
mov byte [esi + 0x1b6d], 1
jmp 0x5d655c
mov edx, dword [esi + 0x1b08]
test edx, edx
jle 0x5d64a2
mov eax, dword [esi + 0x1b10]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*4 - 0x20]
test dword [eax + 8], 0x8000000
jne 0x5d655c
lea ecx, [edx - 1]
mov dl, 1
call fcn.005d40fc
xorps xmm5, xmm5
jmp 0x5d655c
cmp dword [esi + 0x1b64], 0
je 0x5d6529
mov ecx, dword [0x10091850]
mov dword [ebp - 0xc], ecx
mov edi, dword [ecx + 0x1b20]
mov dword [ecx + 0x1b64], 0
mov eax, dword [edi + 0x304]
test eax, eax
cmovne edi, eax
mov dword [ecx + 0x1b20], edi
mov ecx, dword [edi + 0x308]
test ecx, ecx
je 0x5d651b
push 0
xor edx, edx
call fcn.005d4d9c
mov ecx, dword [ebp - 0xc]
add esp, 4
movups xmm0, xmmword [edi + 0x310]
xorps xmm5, xmm5
mov eax, dword [ecx + 0x1b20]
movups xmmword [eax + 0x310], xmm0
mov word [ecx + 0x1b6d], 1
mov byte [ecx + 0x1b6f], 1
jmp 0x5d655c
mov dl, 1
mov ecx, edi
call fcn.005d595c
xorps xmm5, xmm5
jmp 0x5d655c
test edi, edi
je 0x5d6548
mov eax, dword [edi + 8]
test eax, 0x4000000
jne 0x5d653e
test eax, 0x1000000
jne 0x5d6548
mov dword [edi + 0x308], 0
mov dword [esi + 0x1b28], 0
mov dword [esi + 0x1b24], 0
cmp dword [esi + 0x1b24], 0
mov dword [esi + 0x1b38], 0
mov dword [esi + 0x1b34], 0
mov dword [esi + 0x1b30], 0
mov dword [esi + 0x1b2c], 0
je 0x5d666f
cmp byte [esi + 0x1b6e], 0
jne 0x5d666f
cmp dword [esi + 0x1c18], 0
jne 0x5d666f
mov eax, dword [esi + 0x1b20]
test eax, eax
je 0x5d666f
test dword [eax + 8], 0x40000
jne 0x5d666f
mov eax, dword [0x10091850]
movss xmm0, dword [eax + 0x304]
comiss xmm0, xmm5
seta al
mov byte [ebp - 1], al
test al, al
je 0x5d65f1
mov edx, 1
xor ecx, ecx
call fcn.005d5b7c
comiss xmm0, xmm5
ja 0x5d65f3
xor dl, dl
mov ecx, dword [esi + 0x1a2c]
test ecx, ecx
jne 0x5d660f
test dl, dl
je 0x5d6617
mov eax, dword [esi + 0x1b24]
mov dword [esi + 0x1b2c], eax
jmp 0x5d6617
cmp ecx, dword [esi + 0x1b24]
jne 0x5d6629
cmp byte [ebp - 1], 0
je 0x5d6629
mov eax, dword [esi + 0x1b24]
mov dword [esi + 0x1b30], eax
test ecx, ecx
je 0x5d6635
cmp ecx, dword [esi + 0x1b24]
jne 0x5d6645
test dl, dl
je 0x5d6645
mov eax, dword [esi + 0x1b24]
mov dword [esi + 0x1b34], eax
test ecx, ecx
je 0x5d6651
cmp ecx, dword [esi + 0x1b24]
jne 0x5d666f
mov edx, 1
lea ecx, [edx + 1]
call fcn.005d5b7c
comiss xmm0, xmm5
jbe 0x5d666f
mov eax, dword [esi + 0x1b24]
mov dword [esi + 0x1b38], eax
mov eax, dword [esi + 0x1b20]
test eax, eax
je 0x5d6689
test dword [eax + 8], 0x40000
je 0x5d6689
mov byte [esi + 0x1b6e], 1
mov ecx, dword [esi + 0x1b2c]
mov edi, dword [0x1005d2e0]
test ecx, ecx
je 0x5d66bb
cmp dword [esi + 0x1b30], ecx
je 0x5d66bb
push 0x2108
push 0x1005d678
push 0x10060008
call edi
mov eax, dword [esi + 0x1b20]
add esp, 0xc
mov ecx, dword [esi + 0x1b48]
mov byte [esi + 0x1b89], 0
test ecx, ecx
je 0x5d66e4
mov dword [esi + 0x1b38], ecx
mov dword [esi + 0x1b34], ecx
mov dword [esi + 0x1b30], ecx
mov dword [esi + 0x1b2c], ecx
mov ecx, dword [esi + 0x1b90]
mov dword [esi + 0x1b48], 0
test ecx, ecx
jne 0x5d6828
mov dword [esi + 0x1b94], 0xffffffff
mov dword [esi + 0x1b8c], ecx
test eax, eax
je 0x5d681a
cmp dword [esi + 0x1c18], ecx
jne 0x5d681a
test dword [eax + 8], 0x40000
jne 0x5d681a
mov eax, dword [0x10091850]
test byte [eax + 0x1a40], 1
jne 0x5d6767
lea edx, [ecx + 3]
lea ecx, [edx + 1]
call fcn.005d5b7c
xorps xmm5, xmm5
comiss xmm0, xmm5
ja 0x5d675b
lea ecx, [edx + 0xe]
call fcn.005d5b7c
comiss xmm0, xmm5
jbe 0x5d676a
mov dword [esi + 0x1b94], 0
jmp 0x5d676a
xorps xmm5, xmm5
mov eax, dword [0x10091850]
mov eax, dword [eax + 0x1a40]
shr eax, 1
test al, 1
jne 0x5d67a4
mov edx, 3
lea ecx, [edx + 2]
call fcn.005d5b7c
comiss xmm0, xmm5
ja 0x5d679a
lea ecx, [edx + 0xf]
call fcn.005d5b7c
comiss xmm0, xmm5
jbe 0x5d67a4
mov dword [esi + 0x1b94], 1
mov eax, dword [0x10091850]
mov eax, dword [eax + 0x1a40]
shr eax, 2
test al, 1
jne 0x5d67df
mov edx, 3
lea ecx, [edx + 3]
call fcn.005d5b7c
comiss xmm0, xmm5
ja 0x5d67d5
lea ecx, [edx + 0x10]
call fcn.005d5b7c
comiss xmm0, xmm5
jbe 0x5d67df
mov dword [esi + 0x1b94], 2
mov eax, dword [0x10091850]
mov eax, dword [eax + 0x1a40]
shr eax, 3
test al, 1
jne 0x5d681a
mov edx, 3
lea ecx, [edx + 4]
call fcn.005d5b7c
comiss xmm0, xmm5
ja 0x5d6810
lea ecx, [edx + 0x11]
call fcn.005d5b7c
comiss xmm0, xmm5
jbe 0x5d681a
mov dword [esi + 0x1b94], 3
mov eax, dword [esi + 0x1b94]
mov dword [esi + 0x1b9c], eax
jmp 0x5d6877
cmp dword [esi + 0x1b94], 0xffffffff
je 0x5d683a
cmp dword [esi + 0x1b9c], 0xffffffff
jne 0x5d6854
push 0x2123
push 0x1005d678
push 0x10060058
call edi
mov ecx, dword [esi + 0x1b90]
add esp, 0xc
cmp ecx, 1
je 0x5d686d
push 0x2124
push 0x1005d678
push 0x100600e0
call edi
add esp, 0xc
mov dword [esi + 0x1b90], 2
cmp byte [ebp - 2], 0
xorps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
je 0x5d688f
call fcn.005d711c
movss dword [ebp - 0xc], xmm0
mov eax, dword [esi + 0x1b94]
cmp eax, 0xffffffff
je 0x5d68a7
mov byte [esi + 0x1b89], 1
mov dword [esi + 0x1b98], eax
cmp byte [esi + 0x1b89], 0
je 0x5d68d3
cmp dword [esi + 0x1b24], 0
jne 0x5d68d3
mov word [esi + 0x1b71], 0x101
mov dword [esi + 0x1b74], 0
mov byte [esi + 0x1b6e], 0
mov eax, dword [0x10091850]
cmp byte [eax + 0x1b89], 0
jne 0x5d68ee
cmp byte [eax + 0x1b71], 0
jne 0x5d68ee
xor cl, cl
jmp 0x5d68f0
mov cl, 1
mov byte [eax + 0x1b70], cl
test cl, cl
je 0x5d6917
cmp dword [eax + 0x1b20], 0
jne 0x5d6917
push 0x2012
push 0x1005d678
push 0x1005ff10
call edi
add esp, 0xc
mov edi, dword [esi + 0x1b20]
movss xmm2, dword [0x1008b208]
test edi, edi
je 0x5d6b22
test dword [edi + 8], 0x40000
jne 0x5d6b22
cmp dword [esi + 0x1c18], 0
jne 0x5d6b22
mov eax, dword [0x10091850]
movss xmm1, dword [eax + 0x18cc]
mov eax, dword [edi + 0x2f4]
mulss xmm1, dword [edi + 0x270]
test eax, eax
je 0x5d696e
mulss xmm1, dword [eax + 0x270]
cmp dword [edi + 0x13c], 0
mulss xmm1, dword [0x1008b344]
mulss xmm1, dword [esi + 0x18]
addss xmm1, xmm2
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [ebp - 8], xmm1
jne 0x5d6a39
cmp byte [edi + 0x149], 0
je 0x5d6a39
cmp byte [esi + 0x1b89], 0
je 0x5d6a39
mov eax, dword [esi + 0x1b94]
test eax, eax
je 0x5d69cf
cmp eax, 1
jne 0x5d69fd
movss xmm0, dword [0x1008b278]
jmp 0x5d69d7
movss xmm0, dword [0x1008b3b0]
mulss xmm0, xmm1
mov dword [edi + 0x68], 0
addss xmm0, dword [edi + 0x50]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x60], xmm0
mov eax, dword [esi + 0x1b94]
cmp eax, 2
je 0x5d6a11
cmp eax, 3
jne 0x5d6a39
movss xmm0, dword [0x1008b278]
jmp 0x5d6a19
movss xmm0, dword [0x1008b3b0]
mulss xmm0, xmm1
mov dword [edi + 0x6c], 0
addss xmm0, dword [edi + 0x54]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x64], xmm0
xor edx, edx
lea ecx, [edx + 9]
call fcn.005d5b7c
lea ecx, [edx + 8]
movaps xmm7, xmm0
call fcn.005d5b7c
subss xmm7, xmm0
xorps xmm5, xmm5
lea ecx, [edx + 0xb]
addss xmm7, xmm5
call fcn.005d5b7c
lea ecx, [edx + 0xa]
movaps xmm6, xmm0
call fcn.005d5b7c
mov eax, dword [0x10091850]
subss xmm6, xmm0
movss xmm1, dword [eax + 0x33c]
comiss xmm1, xmm5
addss xmm6, xmm5
jbe 0x5d6a96
mulss xmm7, dword [0x1008b1b4]
mulss xmm6, dword [0x1008b1b4]
mov eax, dword [0x10091850]
movss xmm0, dword [eax + 0x340]
comiss xmm0, xmm5
jbe 0x5d6ab8
mulss xmm7, dword [0x1008b300]
mulss xmm6, dword [0x1008b300]
movss xmm1, dword [ebp - 8]
ucomiss xmm7, xmm5
lahf
test ah, 0x44
jnp 0x5d6aee
cmp byte [edi + 0x78], dl
je 0x5d6aee
mulss xmm7, xmm1
mov dword [edi + 0x68], edx
addss xmm7, dword [edi + 0x50]
cvttss2si eax, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x60], xmm0
mov byte [esi + 0x1b88], 1
movss xmm2, dword [0x1008b208]
ucomiss xmm6, xmm5
lahf
test ah, 0x44
jnp 0x5d6b22
mulss xmm6, xmm1
mov dword [edi + 0x6c], edx
addss xmm6, dword [edi + 0x54]
cvttss2si eax, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x64], xmm0
mov byte [esi + 0x1b88], 1
mov dword [esi + 0x1ba0], 0
xorps xmm0, xmm0
mov dword [esi + 0x1ba8], 0
mov dword [esi + 0x1ba4], 0
mov dword [esi + 0x1bb4], 0x7f7fffff
mov dword [esi + 0x1bb0], 0x7f7fffff
mov dword [esi + 0x1bac], 0x7f7fffff
movups xmmword [esi + 0x1bb8], xmm0
mov dword [esi + 0x1bc8], 0
mov dword [esi + 0x1bd0], 0
mov dword [esi + 0x1bcc], 0
mov dword [esi + 0x1bdc], 0x7f7fffff
mov dword [esi + 0x1bd8], 0x7f7fffff
mov dword [esi + 0x1bd4], 0x7f7fffff
movups xmmword [esi + 0x1be0], xmm0
mov dword [esi + 0x1bf0], 0
mov dword [esi + 0x1bf8], 0
mov dword [esi + 0x1bf4], 0
mov dword [esi + 0x1c04], 0x7f7fffff
mov dword [esi + 0x1c00], 0x7f7fffff
mov dword [esi + 0x1bfc], 0x7f7fffff
movups xmmword [esi + 0x1c08], xmm0
cmp byte [esi + 0x1b89], 0
je 0x5d6d63
cmp byte [esi + 0x1b88], 0
je 0x5d6d63
cmp dword [esi + 0x1b64], 0
jne 0x5d6d63
mov ecx, dword [esi + 0x1b20]
movss xmm3, dword [0x1008b278]
movss xmm7, dword [ecx + 0x1fc]
subss xmm7, dword [ecx + 0xc]
movss xmm5, dword [ecx + 0x204]
movss xmm6, dword [ecx + 0x208]
movss xmm4, dword [ecx + 0x200]
subss xmm5, dword [ecx + 0xc]
subss xmm6, dword [ecx + 0x10]
subss xmm4, dword [ecx + 0x10]
movss xmm0, dword [ecx + 0x310]
subss xmm7, xmm3
movss dword [ebp - 8], xmm0
addss xmm5, xmm3
addss xmm6, xmm3
subss xmm4, xmm3
comiss xmm0, xmm7
jb 0x5d6c9c
movss xmm0, dword [ecx + 0x314]
comiss xmm0, xmm4
jb 0x5d6c9c
comiss xmm5, dword [ecx + 0x318]
jb 0x5d6c9c
comiss xmm6, dword [ecx + 0x31c]
jae 0x5d6d5c
mov eax, dword [0x10091850]
movss xmm1, dword [eax + 0x18cc]
mov eax, dword [ecx + 0x2f4]
mulss xmm1, dword [ecx + 0x270]
test eax, eax
je 0x5d6cc3
mulss xmm1, dword [eax + 0x270]
movss xmm0, dword [ecx + 0x314]
movaps xmm3, xmm5
mulss xmm1, xmm2
subss xmm3, xmm7
movaps xmm2, xmm6
subss xmm2, xmm4
minss xmm3, xmm1
minss xmm2, xmm1
movss xmm1, dword [ebp - 8]
xorps xmm3, xmmword [0x1008ce20]
subss xmm7, xmm3
addss xmm3, xmm5
xorps xmm2, xmmword [0x1008ce20]
subss xmm4, xmm2
addss xmm2, xmm6
maxss xmm1, xmm7
maxss xmm0, xmm4
movss dword [ecx + 0x310], xmm1
movss dword [ecx + 0x314], xmm0
movss xmm1, dword [ecx + 0x318]
movss xmm0, dword [ecx + 0x31c]
minss xmm1, xmm3
minss xmm0, xmm2
movss dword [ecx + 0x318], xmm1
movss dword [ecx + 0x31c], xmm0
mov dword [esi + 0x1b28], 0
mov dword [esi + 0x1b24], 0
mov byte [esi + 0x1b88], 0
mov ecx, dword [esi + 0x1b20]
test ecx, ecx
je 0x5d6d97
mov eax, dword [esi + 0x1b64]
add eax, 0x31
add eax, eax
movss xmm0, dword [ecx + eax*8]
comiss xmm0, dword [ecx + eax*8 + 8]
ja 0x5d6d97
movss xmm0, dword [ecx + eax*8 + 4]
comiss xmm0, dword [ecx + eax*8 + 0xc]
ja 0x5d6d97
movups xmm0, xmmword [ecx + eax*8]
jmp 0x5d6d9a
xorps xmm0, xmm0
lea eax, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x20], xmm0
test ecx, ecx
je 0x5d6de6
movss xmm2, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x10]
movaps xmm3, xmm2
addss xmm3, dword [ebp - 0x18]
addss xmm2, dword [ebp - 0x20]
movaps xmm1, xmm0
addss xmm1, dword [ebp - 0x14]
addss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x20], xmm2
movss dword [ebp - 0x14], xmm1
movss dword [ebp - 0x1c], xmm0
jmp 0x5d6e0d
mov eax, dword [0x10091850]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movss xmm0, dword [eax + 0x10]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 0x14]
movss dword [ebp - 0x14], xmm0
movss xmm2, dword [ebp - 0xc]
lea eax, [ebp - 0x20]
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x1b50], xmm0
movss xmm1, dword [esi + 0x1b5c]
addss xmm2, dword [esi + 0x1b54]
addss xmm1, dword [ebp - 0xc]
movss dword [esi + 0x1b54], xmm2
movss dword [esi + 0x1b5c], xmm1
movss xmm0, dword [esi + 0x1b50]
addss xmm0, dword [0x1008b278]
minss xmm0, dword [esi + 0x1b58]
comiss xmm0, xmm0
movss dword [esi + 0x1b50], xmm0
movss dword [esi + 0x1b58], xmm0
ja 0x5d6e76
comiss xmm2, xmm1
jbe 0x5d6e8e
push 0x2175
push 0x1005d678
push 0x10060158
call dword [0x1005d2e0]
add esp, 0xc
pop edi
mov dword [esi + 0x1b60], 0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret