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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x102a100c]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x102a1b70]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], edx
mov eax, dword [edi + 0x17fc]
mov dword [esp + 0x4c], ecx
mov byte [eax + 0x8e], 1
mov eax, dword [edi + 0x17fc]
mov dword [esp + 0x20], eax
cmp byte [eax + 0x90], 0
je 0x1005b09a
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.1001e823
mov esp, ebp
pop ebp
ret
mov eax, edx
xorps xmm5, xmm5
shr eax, 1
and al, 1
mov dword [esp + 0x50], eax
jne 0x1005b0c9
test edx, 0x400
jne 0x1005b0c9
movss xmm0, dword [edi + 0x1418]
movss dword [esp + 0x78], xmm0
mov dword [esp + 0x7c], 0
jmp 0x1005b0e1
mov ecx, dword [edi + 0x141c]
mov eax, dword [edi + 0x1418]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x78]
movss xmm2, dword [eax + 4]
mov dword [esp + 0x94], eax
movss dword [esp + 0x24], xmm2
test esi, esi
jne 0x1005b117
mov esi, ecx
cmp ecx, 0xffffffff
jae 0x1005b117
mov al, byte [esi]
test al, al
je 0x1005b117
cmp al, 0x23
jne 0x1005b111
cmp byte [esi + 1], al
je 0x1005b117
inc esi
cmp esi, 0xffffffff
jb 0x1005b102
movss xmm1, dword [edi + 0x172c]
mov eax, dword [edi + 0x1728]
mov dword [esp + 0x98], eax
movss dword [esp + 0x28], xmm1
cmp ecx, esi
jne 0x1005b13e
movaps xmm3, xmm5
movaps xmm6, xmm1
jmp 0x1005b1aa
movss xmm3, dword [0x10294548]
movaps xmm2, xmm1
push ecx
push esi
push ecx
push ecx
lea ecx, [esp + 0x68]
mov dword [esp], 0xbf800000
push ecx
mov ecx, eax
call fcn.10086f00
movss xmm1, dword [esp + 0x58]
xorps xmm5, xmm5
comiss xmm1, xmm5
jbe 0x1005b183
mov eax, dword [esp + 0x98]
movss xmm0, dword [esp + 0x28]
divss xmm0, dword [eax]
subss xmm1, xmm0
addss xmm1, dword [0x102943e4]
movss xmm6, dword [edi + 0x172c]
movss xmm2, dword [esp + 0x24]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x5c]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
mov edx, dword [esp + 0x20]
movaps xmm0, xmm2
mov eax, dword [edi + 0x17fc]
addss xmm2, xmm2
movss dword [esp + 0xa4], xmm1
movss dword [esp + 0xa0], xmm3
maxss xmm0, dword [edx + 0xfc]
movss xmm4, dword [edx + 0xf8]
mov ecx, dword [eax + 0x1a0]
addss xmm2, xmm1
movss xmm1, dword [eax + 0x4c]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [edi + 0x141c]
addss xmm0, xmm0
addss xmm0, xmm6
minss xmm4, xmm0
maxss xmm4, xmm2
test ecx, ecx
je 0x1005b257
mov edx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
mov eax, dword [edi + 0x17fc]
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [eax + 0x1a0]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mov edx, dword [esp + 0x20]
mulss xmm1, dword [eax + ecx*4]
mov eax, dword [edi + 0x17fc]
addss xmm1, xmm0
subss xmm1, dword [eax + 0x54]
cmp byte [esp + 0x50], 0
movaps xmm0, xmm4
addss xmm0, dword [edx + 0xdc]
addss xmm1, dword [edx + 0x14]
movss xmm7, dword [edx + 0xd8]
movss xmm2, dword [edx + 0xdc]
movss dword [esp + 0x30], xmm7
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x80], xmm7
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x84], xmm2
movss dword [esp + 0x88], xmm1
movss dword [esp + 0x8c], xmm0
je 0x1005b313
movss xmm0, dword [edx + 0x54]
mulss xmm0, dword [0x102943b4]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x94]
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x102943f0]
subss xmm7, xmm0
addss xmm0, xmm1
movss xmm1, dword [eax]
movaps xmm2, xmm1
mulss xmm2, dword [0x10294448]
movss dword [esp + 0x30], xmm7
movss dword [esp + 0x88], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x80], xmm7
addss xmm0, xmm1
jmp 0x1005b325
mov eax, dword [esp + 0x94]
movss xmm2, dword [eax]
addss xmm2, xmm2
movaps xmm0, xmm2
comiss xmm3, xmm5
movaps xmm1, xmm6
addss xmm1, xmm2
movss dword [esp + 0x54], xmm1
jbe 0x1005b33d
addss xmm0, xmm3
jmp 0x1005b340
movaps xmm0, xmm5
movss xmm1, dword [esp + 0x58]
addss xmm6, xmm0
lea ecx, [esp + 0x98]
movss dword [esp + 0x9c], xmm4
movss dword [esp + 0x98], xmm6
call fcn.1006a070
cmp byte [esp + 0x50], 0
lea eax, [esp + 0x60]
je 0x1005b382
movaps xmm0, xmmword [esp + 0x80]
movaps xmmword [esp + 0x60], xmm0
jmp 0x1005b3ba
movss xmm0, dword [esp + 0x24]
addss xmm6, xmm7
movss dword [esp + 0x64], xmm0
movss xmm0, dword [edi + 0x1428]
addss xmm0, xmm0
movss dword [esp + 0x60], xmm7
addss xmm0, xmm6
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x6c], xmm0
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 0x100
movups xmmword [esp + 0x60], xmm0
mov dword [esp + 0x28], ecx
je 0x1005b3de
mov byte [esp + 0x10], 1
jmp 0x1005b516
mov ecx, dword [0x102a1b70]
mov dword [esp + 0xa8], ecx
cmp dword [ecx + 0x18cc], 0
mov edx, dword [ecx + 0x17fc]
mov dword [esp + 0x98], edx
mov edx, dword [edx + 0x138]
je 0x1005b4b7
test byte [ecx + 0x18cc], 1
je 0x1005b447
mov al, byte [ecx + 0x18ca]
mov ecx, edx
mov dword [esp + 0x10], eax
movzx eax, al
push eax
push dword [esp + 0x18]
call fcn.1006b790
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0x10]
mov dword [edx + 0x18cc], 0
jmp 0x1005b4d9
push 0xffffffffffffffff
push dword [esp + 0x18]
mov ecx, edx
call fcn.1006b880
cmp eax, 0xffffffff
jne 0x1005b49b
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x98]
mov al, byte [eax + 0x18ca]
mov ecx, dword [ecx + 0x138]
mov dword [esp + 0x10], eax
movzx eax, al
push eax
push dword [esp + 0x18]
call fcn.1006b790
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0x10]
mov dword [edx + 0x18cc], 0
jmp 0x1005b4d9
mov edx, dword [esp + 0xa8]
test eax, eax
setne cl
mov dword [esp + 0x10], ecx
mov dword [edx + 0x18cc], 0
jmp 0x1005b4d9
shr eax, 5
mov ecx, edx
and eax, 1
push eax
push dword [esp + 0x18]
call fcn.1006b880
mov edx, dword [esp + 0xa8]
test eax, eax
setne cl
mov dword [esp + 0x10], ecx
cmp byte [edx + 0x28f0], 0
je 0x1005b516
test byte [esp + 0x18], 0x10
jne 0x1005b516
mov eax, dword [esp + 0x98]
movzx ecx, cl
mov dword [esp + 0x98], 1
mov eax, dword [eax + 0x10c]
cmp eax, dword [edx + 0x2900]
cmovl ecx, dword [esp + 0x98]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x60]
call fcn.10069ef0
test al, al
je 0x1005b9b7
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 4
mov edx, eax
mov dword [esp + 0xa8], ecx
or ecx, 0x140
shl ecx, 4
and edx, 0x40
mov dword [esp + 0x98], edx
je 0x1005b561
and eax, 0x80
or eax, 0x400
shr eax, 6
or ecx, eax
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1e]
push ecx
push eax
lea eax, [esp + 0x27]
push eax
lea ecx, [esp + 0x6c]
call fcn.1005ca90
add esp, 0xc
test al, al
je 0x1005b624
cmp dword [esp + 0x28], 0
jne 0x1005b624
mov eax, dword [esp + 0x18]
test al, 0xc0
sete cl
mov byte [esp + 0x1d], cl
test al, al
jns 0x1005b5df
movss xmm0, dword [esp + 0x60]
lea edx, [esp + 0xb0]
addss xmm0, dword [esp + 0x54]
push 1
lea ecx, [esp + 0x64]
movss dword [esp + 0xb4], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0xb8], xmm0
call fcn.100659c0
mov cl, byte [esp + 0x21]
add esp, 4
or cl, al
cmp dword [esp + 0x98], 0
je 0x1005b5ef
or cl, byte [edi + 0x371]
cmp byte [edi + 0x1af0], 0
mov eax, dword [esp + 0x10]
je 0x1005b600
test al, al
jne 0x1005b624
test cl, cl
je 0x1005b624
test al, al
sete al
mov dword [esp + 0x10], eax
movzx eax, al
push eax
mov eax, dword [esp + 0x24]
push dword [esp + 0x18]
mov ecx, dword [eax + 0x138]
call fcn.1006b790
cmp dword [esp + 0xa8], 0
je 0x1005b633
call fcn.10065490
cmp byte [esp + 0x1e], 0
mov dl, byte [esp + 0x1f]
je 0x1005b649
test dl, dl
je 0x1005b649
mov ecx, 0x1a
jmp 0x1005b653
xor ecx, ecx
test dl, dl
setne cl
add ecx, 0x18
movss xmm1, dword [0x102943f0]
call fcn.1006be70
cmp byte [esp + 0x50], 0
movss xmm1, dword [esp + 0x54]
movss xmm2, dword [esp + 0x30]
movaps xmm0, xmm1
movss xmm4, dword [esp + 0x24]
addss xmm0, xmm2
movss xmm3, dword [esp + 0x58]
mov dword [esp + 0x20], eax
movss dword [esp + 0xa8], xmm0
movaps xmm0, xmm4
addss xmm0, xmm3
movss dword [esp + 0x98], xmm0
movss dword [esp + 0xac], xmm0
je 0x1005b822
push dword [esp + 0x8c]
movss xmm2, dword [edi + 0x1420]
mov dl, 1
push dword [esp + 0x8c]
mov ecx, eax
push dword [esp + 0x8c]
push dword [esp + 0x8c]
call fcn.10066230
mov eax, dword [esp + 0xa4]
xor ecx, ecx
cmp byte [esp + 0x20], cl
movss xmm1, dword [0x102943f0]
setne cl
movss xmm0, dword [eax]
addss xmm0, dword [esp + 0x40]
lea ecx, [ecx*2 + 1]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0xa8]
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.10065fa0
add esp, 0x18
lea ecx, [esp + 0xa8]
cmp byte [edi + 0x28f0], 0
je 0x1005b7e1
mov ax, word [0x100d8f70]
lea edx, [esp + 0x98]
mov word [esp + 0x94], ax
mov al, byte [0x100d8f72]
mov byte [esp + 0x96], al
lea eax, [esp + 0x9b]
push eax
mov dword [esp + 0x9c], 0x23230a
call fcn.10066930
add esp, 4
mov dword [esp + 0xb0], 0
lea eax, [esp + 0xb0]
mov dword [esp + 0xb4], 0
lea edx, [esp + 0x88]
lea ecx, [esp + 0xa8]
push 0
push eax
lea eax, [esp + 0xa8]
push eax
push esi
push dword [esp + 0x5c]
call fcn.10066350
add esp, 0x14
lea eax, [esp + 0x97]
lea edx, [esp + 0x95]
lea ecx, [esp + 0xa8]
push eax
call fcn.10066930
add esp, 4
jmp 0x1005b9b7
push 0
lea eax, [esp + 0xb4]
mov dword [esp + 0xb4], 0
push eax
lea eax, [esp + 0xa8]
mov dword [esp + 0xbc], 0
push eax
push esi
push dword [esp + 0x5c]
lea edx, [esp + 0x9c]
call fcn.10066350
add esp, 0x14
jmp 0x1005b9b7
test dl, dl
jne 0x1005b832
mov eax, dword [esp + 0x18]
test al, 1
je 0x1005b8ba
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xa0], eax
mov eax, dword [0x102a1b70]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x84]
push 0xf
mov dword [esp + 0xa8], ecx
mov ecx, dword [eax + 0x17fc]
lea eax, [esp + 0xb4]
push ecx
mov dword [esp], 0
push dword [esp + 0x28]
mov ecx, dword [ecx + 0x254]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.100892f0
movss xmm1, dword [esp + 0x54]
movss xmm2, dword [esp + 0x30]
movss xmm3, dword [esp + 0x58]
movss xmm4, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
test eax, 0x200
je 0x1005b90c
movss xmm0, dword [edi + 0x172c]
mulss xmm0, dword [0x102943b4]
mulss xmm1, dword [0x102943b4]
addss xmm0, xmm3
addss xmm1, xmm2
addss xmm0, xmm4
movss dword [esp + 0xa0], xmm1
movss dword [esp + 0xa4], xmm0
push dword [esp + 0xa4]
push dword [esp + 0xa4]
call fcn.10065f00
jmp 0x1005b977
cmp dword [esp + 0x28], 0
jne 0x1005b97a
mov eax, dword [esp + 0x94]
xor ecx, ecx
cmp byte [esp + 0x10], cl
movss xmm1, dword [0x102943c8]
setne cl
movss xmm0, dword [eax]
addss xmm0, xmm2
lea ecx, [ecx*2 + 1]
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [edi + 0x172c]
mulss xmm0, dword [0x10294394]
addss xmm0, xmm3
addss xmm0, xmm4
movss dword [esp + 0xa4], xmm0
push dword [esp + 0xa4]
push dword [esp + 0xa4]
call fcn.10065fa0
add esp, 8
cmp byte [edi + 0x28f0], 0
je 0x1005b999
push 0
mov edx, 0x100d8f74
lea ecx, [esp + 0xac]
call fcn.10066930
add esp, 4
push dword [esp + 0xac]
mov ecx, dword [esp + 0x50]
mov edx, esi
push dword [esp + 0xac]
push 0
call fcn.10066800
add esp, 0xc
mov eax, dword [esp + 0x10]
test al, al
je 0x1005b9d3
test byte [esp + 0x18], 8
jne 0x1005b9d3
mov ecx, dword [esp + 0x14]
call fcn.10048130
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
xor ecx, esp
call fcn.1001e823
mov esp, ebp
pop ebp
ret