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

Disassembly:
sub esp, 0x60
mov ecx, dword [0x100e6f58]
xor edx, edx
inc edx
push edi
mov eax, dword [ecx + 0x3e40]
mov byte [eax + 0xac], dl
mov edi, dword [ecx + 0x3e40]
mov dword [esp + 0x44], edi
cmp byte [edi + 0xaf], 0
je 0x1005beac
xor al, al
jmp 0x1005c6de
mov eax, dword [esp + 0x6c]
shr eax, 1
push esi
mov esi, dword [0x100e6f58]
and al, dl
mov dword [esp + 0x54], esi
mov dword [esp + 0x4c], eax
jne 0x1005bef5
test dword [esp + 0x70], 0x400
jne 0x1005bef5
movss xmm0, dword [esi + 0x37dc]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [edi + 0x128]
minss xmm0, dword [esi + 0x37e0]
movss dword [esp + 0x2c], xmm0
jmp 0x1005bf09
mov eax, dword [esi + 0x37dc]
mov ecx, dword [esi + 0x37e0]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x1005bf29
push eax
push dword [esp + 0x78]
call fcn.10011ea6
pop ecx
pop ecx
mov dword [esp + 0x78], eax
push ecx
mov dword [esp], 0xbf800000
push 0
push eax
push dword [esp + 0x80]
lea eax, [esp + 0x40]
push eax
call fcn.1000926f
movss xmm1, dword [esi + 0x37e0]
add esp, 0x14
mov ecx, dword [esp + 0x58]
addss xmm1, xmm1
movss xmm5, dword [0x100b4cb0]
xorps xmm3, xmm3
movss xmm7, dword [ecx + 4]
addss xmm1, dword [esi + 0x3bd0]
movaps xmm0, xmm7
mulss xmm0, xmm5
minss xmm1, dword [edi + 0x11c]
addss xmm0, dword [esp + 0x34]
and dword [esp + 0x18], 0
test dword [esp + 0x70], 0x1000
maxss xmm1, xmm0
je 0x1005bfa2
movss xmm2, dword [edi + 0x1f0]
jmp 0x1005bfaa
movss xmm2, dword [edi + 0xf0]
cmp byte [esp + 0x4c], 0
movss xmm6, dword [0x100b4c68]
movss dword [esp + 0x18], xmm2
movss xmm0, dword [edi + 0xf4]
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmm1
movss xmm4, dword [edi + 0x1f8]
movss dword [esp + 0x20], xmm4
addss xmm0, dword [edi + 0xf4]
movss dword [esp + 0x24], xmm0
je 0x1005c03e
movss xmm0, dword [edi + 0x44]
mulss xmm0, xmm6
subss xmm0, dword [0x100b4c90]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
movss dword [esp + 0x18], xmm2
movss xmm0, dword [edi + 0x44]
mulss xmm0, xmm6
movss xmm2, dword [ecx]
mulss xmm2, dword [0x100b4cb8]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm4
movss dword [esp + 0x20], xmm0
jmp 0x1005c046
movss xmm2, dword [ecx]
mulss xmm2, xmm5
movss xmm4, dword [esi + 0x3bd0]
movss xmm6, dword [esp + 0x30]
movaps xmm0, xmm4
comiss xmm6, xmm3
addss xmm0, xmm2
movss xmm2, dword [edi + 0x128]
maxss xmm2, xmm7
movss dword [esp + 0x5c], xmm0
jbe 0x1005c07e
movss xmm3, dword [ecx]
mulss xmm3, xmm5
addss xmm3, xmm6
addss xmm2, dword [edi + 0xf4]
addss xmm0, dword [edi + 0xf0]
addss xmm4, xmm3
movss dword [esp + 0x44], xmm1
push ecx
lea eax, [esp + 0x44]
movss dword [esp], xmm7
push eax
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x58], xmm4
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x48], xmm4
call fcn.1000ec1d
cmp byte [esp + 0x54], 0
lea esi, [esp + 0x20]
lea edi, [esp + 0x10]
movsd dword es:[edi], dword [esi]
pop ecx
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x54]
jne 0x1005c105
test dword [esp + 0x70], 0x1800
jne 0x1005c105
movss xmm0, dword [edi + 0x37ec]
movss xmm1, dword [esp + 0x50]
addss xmm0, xmm0
addss xmm1, dword [esp + 0x18]
addss xmm0, xmm1
movss dword [esp + 0x10], xmm0
mov eax, dword [esp + 0x70]
xor edx, edx
push dword [esp + 0x70]
mov esi, dword [esp + 0x70]
inc edx
shr eax, 8
and al, dl
push esi
mov dword [esp + 0x58], eax
call fcn.1005c727
mov byte [esp + 0x6f], al
pop ecx
pop ecx
test al, al
je 0x1005c15f
cmp byte [edi + 0x47f8], 0
jne 0x1005c15f
mov eax, dword [esp + 0x70]
and eax, 0x2008
cmp eax, 0x2000
jne 0x1005c15f
mov edx, dword [esp + 0x48]
mov ecx, dword [edx + 0x17c]
mov eax, dword [edx + 0x178]
bts ecx, eax
mov dword [edx + 0x17c], ecx
push 0
push 0
lea eax, [esp + 0x10]
push esi
push eax
call fcn.1000ed6e
add esp, 0x10
lea esi, [esp + 0x18]
push 2
pop edx
or dword [edi + 0x46bc], edx
add edi, 0x46e0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test al, al
jne 0x1005c1ad
mov al, byte [esp + 0x67]
test al, al
je 0x1005c6dd
test byte [esp + 0x70], 8
jne 0x1005c6dd
mov edx, dword [esp + 0x6c]
push edx
jmp 0x1005c6d3
mov eax, dword [esp + 0x70]
movss xmm1, dword [esp + 0x38]
and eax, 4
subss xmm1, dword [esp + 0x5c]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x44], eax
neg eax
sbb eax, eax
movss xmm2, dword [esi + 0x3804]
and eax, 0x1000
movss xmm3, dword [esi + 0xdc0]
movaps xmm0, xmm1
mov ecx, eax
subss xmm0, xmm2
or ecx, 0x200
cmp byte [esp + 0x50], 0
cmovne ecx, eax
comiss xmm3, xmm0
jb 0x1005c229
mov eax, dword [esp + 0x58]
addss xmm1, xmm2
movss xmm0, dword [eax]
mulss xmm0, dword [0x100b4cb0]
addss xmm0, dword [esi + 0x3bd0]
addss xmm0, xmm1
comiss xmm0, xmm3
jbe 0x1005c229
xor edx, edx
inc edx
mov al, dl
jmp 0x1005c22e
xor edx, edx
xor al, al
inc edx
mov edi, dword [esp + 0x48]
mov byte [esp + 0x66], al
cmp edi, dword [esi + 0x3e44]
jne 0x1005c242
test al, al
jne 0x1005c24c
or ecx, 0x10000
test al, al
je 0x1005c251
or ecx, 0x10
jmp 0x1005c263
test byte [esp + 0x70], 0x40
je 0x1005c260
or ecx, 0x120
jmp 0x1005c263
or ecx, 0x20
mov al, byte [esp + 0x70]
and al, dl
mov byte [esp + 0x63], al
lea eax, [esp + 0x64]
push ecx
push eax
lea eax, [esp + 0x6d]
push eax
push dword [esp + 0x78]
lea eax, [esp + 0x18]
push eax
call fcn.1005af92
xor cl, cl
add esp, 0x14
cmp byte [esp + 0x50], cl
jne 0x1005c386
test al, al
je 0x1005c309
mov eax, dword [esp + 0x6c]
cmp dword [esi + 0x49b4], eax
je 0x1005c2f8
test byte [esp + 0x70], 0xc0
je 0x1005c2b4
cmp dword [esi + 0x47cc], eax
jne 0x1005c2bb
xor edx, edx
inc edx
mov cl, dl
jmp 0x1005c2be
xor edx, edx
inc edx
test byte [esp + 0x70], 0x80
je 0x1005c2dd
cmp byte [esp + 0x66], 0
je 0x1005c2d9
cmp byte [esi + 0x47fb], 0
jne 0x1005c2d9
mov al, dl
jmp 0x1005c2db
xor al, al
or cl, al
test byte [esp + 0x70], 0x40
je 0x1005c309
push 2
pop eax
cmp word [esi + 0x370a], ax
mov al, byte [esp + 0x67]
jne 0x1005c30d
mov cl, dl
jmp 0x1005c30d
mov al, byte [esp + 0x67]
push 1
test al, al
movzx ecx, cl
pop edx
cmove ecx, edx
jmp 0x1005c30d
mov al, byte [esp + 0x67]
mov edx, dword [esp + 0x6c]
cmp dword [esi + 0x47c4], edx
jne 0x1005c336
cmp dword [esi + 0x4824], 0
jne 0x1005c336
test al, al
je 0x1005c336
xor eax, eax
inc eax
mov byte [esp + 0x48], al
call fcn.10010501
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x6c]
cmp dword [esi + 0x47c4], eax
jne 0x1005c35b
xor eax, eax
inc eax
cmp dword [esi + 0x4824], eax
jne 0x1005c35b
cmp byte [esp + 0x67], 0
jne 0x1005c35b
call fcn.10010501
jmp 0x1005c35f
test cl, cl
je 0x1005c386
mov al, byte [esp + 0x67]
xor ecx, ecx
inc ecx
xor al, cl
mov ecx, dword [edi + 0x18c]
mov byte [esp + 0x67], al
movzx eax, al
push eax
push dword [esp + 0x70]
call fcn.1000b030
or dword [esi + 0x46bc], 0x10
cmp dword [esp + 0x44], 0
je 0x1005c392
call fcn.10008e26
push ecx
mov dword [esp], 0x3f800000
push 0
call fcn.10007296
cmp byte [esp + 0x54], 0
pop ecx
pop ecx
mov cl, byte [esp + 0x65]
mov dword [esp + 0x54], eax
je 0x1005c55a
cmp byte [esp + 0x64], 0
je 0x1005c3c6
test cl, cl
je 0x1005c3c6
push 0x1a
pop eax
jmp 0x1005c3d0
xor eax, eax
test cl, cl
setne al
add eax, 0x18
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.10007296
movss xmm0, dword [esi + 0x37e4]
add esp, 4
xor ecx, ecx
inc ecx
movss dword [esp], xmm0
push ecx
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.100119f8
push 2
pop eax
push eax
push dword [esp + 0x8c]
lea eax, [esp + 0x3c]
push eax
call fcn.10011c65
movss xmm0, dword [esp + 0x60]
add esp, 0x28
test dword [esp + 0x70], 0x200
je 0x1005c480
movss xmm1, dword [esp + 0x5c]
mulss xmm1, dword [0x100b4c6c]
push dword [esp + 0x54]
subss xmm0, xmm1
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x3bd0]
mulss xmm0, dword [0x100b4c68]
addss xmm0, dword [esp + 0x40]
movss dword [esp + 0x48], xmm0
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [edi + 0x264]
call fcn.1003c20f
add esp, 0x10
jmp 0x1005c4de
cmp byte [esp + 0x50], 0
subss xmm0, dword [esp + 0x5c]
jne 0x1005c4d8
mov eax, dword [esp + 0x58]
push ecx
mov dword [esp], 0x3f800000
addss xmm0, dword [eax]
movzx eax, byte [esp + 0x6b]
lea eax, [eax*2 + 1]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x40]
push eax
push dword [esp + 0x5c]
movss dword [esp + 0x50], xmm0
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [edi + 0x264]
call fcn.1003c09a
add esp, 0x18
jmp 0x1005c4de
movss dword [esp + 0x38], xmm0
test dword [esp + 0x70], 0x100000
je 0x1005c508
movss xmm1, dword [esi + 0x37dc]
addss xmm1, dword [esi + 0x3bd0]
movss xmm0, dword [esp + 0x20]
subss xmm0, xmm1
movss dword [esp + 0x20], xmm0
cmp byte [esi + 0x5a74], 0
je 0x1005c51f
mov eax, 0x100b2f40
push eax
push eax
call fcn.1000f564
pop ecx
pop ecx
and dword [esp + 0x28], 0
lea eax, [esp + 0x28]
and dword [esp + 0x2c], 0
push 0
push eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x84]
lea eax, [esp + 0x30]
push dword [esp + 0x84]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.1001148f
add esp, 0x1c
jmp 0x1005c6c0
test cl, cl
jne 0x1005c564
cmp byte [esp + 0x63], cl
je 0x1005c5ae
cmp byte [esp + 0x64], 0
je 0x1005c574
test cl, cl
je 0x1005c574
push 0x1a
pop eax
jmp 0x1005c57e
xor eax, eax
test cl, cl
setne al
add eax, 0x18
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.10007296
add esp, 4
and dword [esp], 0
push 0
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.100119f8
add esp, 0x1c
push 2
pop eax
push eax
push dword [esp + 0x70]
lea eax, [esp + 0x20]
push eax
call fcn.10011c65
add esp, 0xc
test dword [esp + 0x70], 0x200
je 0x1005c623
movss xmm1, dword [esp + 0x5c]
mulss xmm1, dword [0x100b4c68]
movss xmm0, dword [esp + 0x38]
push dword [esp + 0x54]
subss xmm0, xmm1
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x3bd0]
mulss xmm0, dword [0x100b4c68]
addss xmm0, dword [esp + 0x40]
movss dword [esp + 0x48], xmm0
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [edi + 0x264]
call fcn.1003c20f
add esp, 0x10
jmp 0x1005c68f
cmp byte [esp + 0x50], 0
jne 0x1005c68f
movss xmm0, dword [esp + 0x38]
subss xmm0, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov dword [esp], 0x3f333333
addss xmm0, dword [eax]
movzx eax, byte [esp + 0x6b]
movss dword [esp + 0x44], xmm0
lea eax, [eax*2 + 1]
movss xmm0, dword [esi + 0x3bd0]
mulss xmm0, dword [0x100b4c54]
push eax
push dword [esp + 0x5c]
addss xmm0, dword [esp + 0x48]
movss dword [esp + 0x50], xmm0
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [edi + 0x264]
call fcn.1003c09a
add esp, 0x18
cmp byte [esi + 0x5a74], 0
je 0x1005c6a6
push 0
push 0x100b4490
call fcn.1000f564
pop ecx
pop ecx
push 0
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x48]
push dword [esp + 0x48]
call fcn.100112f8
add esp, 0x14
mov al, byte [esp + 0x67]
test al, al
je 0x1005c6dd
test byte [esp + 0x70], 8
jne 0x1005c6dd
push dword [esp + 0x6c]
call fcn.1005c6e3
mov al, byte [esp + 0x6b]
pop ecx
pop esi
pop edi
add esp, 0x60
ret