Function at 0x1005ff80
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
push esi
mov esi, dword [0x1017dbe8]
push edi
test esi, esi
je 0x100607d9
cmp byte [0x100f9794], 0
je 0x100607d9
mov ecx, dword [0x100fc340]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x100607d9
mov ecx, esi
call fcn.1000e7d0
test al, al
jne 0x100607d9
mov ecx, esi
call fcn.1000e8d0
shr eax, 0xf
test al, 1
jne 0x100607d9
mov ecx, esi
call fcn.1000e9f0
shr eax, 0x12
test al, 1
jne 0x100607d9
mov ecx, esi
call fcn.1000e9f0
shr eax, 0xd
test al, 1
jne 0x100607d9
mov esi, dword [0x1017dbe8]
lea edx, [esp + 0x2c]
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
push edx
lea edx, [esp + 0x5c]
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov eax, dword [eax + 0x50]
push edx
call eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [0x1017ec5c]
cmp dword [0x1017ec58], ecx
mov dword [esp + 0x28], 1
movss xmm0, dword [eax]
cmovne ecx, dword [0x1017ec58]
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [esp + 0x60]
mulss xmm0, dword [0x100f0654]
addss xmm0, dword [eax + 8]
lea eax, [esp + 0x28]
mov dword [0x1017ec5c], ecx
push eax
mov ecx, 0x1017dbe0
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x98], xmm0
call fcn.100ce400
mov ecx, dword [eax + 4]
mov edi, dword [eax]
mov dword [esp + 0x14], ecx
cmp edi, ecx
je 0x1006052e
mov eax, ecx
nop dword [eax]
mov ecx, dword [edi]
test ecx, ecx
je 0x10060523
call fcn.1000e7d0
test al, al
jne 0x1006051f
mov ecx, dword [edi]
call fcn.10010c10
cmp eax, 8
jne 0x1006051f
mov ecx, dword [edi]
call fcn.1000e8d0
shr eax, 4
test al, 1
jne 0x1006051f
mov ecx, dword [edi]
call fcn.1000e9f0
shr eax, 0xd
test al, 1
jne 0x1006051f
cmp byte [0x100f97e4], 0
je 0x1006015d
mov ecx, dword [edi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
cmp byte [eax + 0x1017dbf4], 0
jne 0x1006051f
mov esi, dword [edi]
lea edx, [esp + 0x68]
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
push edx
lea edx, [esp + 0x78]
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov eax, dword [eax + 0x50]
push edx
call eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
movss xmm0, dword [esp + 0x64]
movss xmm3, dword [esp + 0x70]
movaps xmm1, xmm0
addss xmm3, dword [esp + 0x7c]
movss xmm2, dword [eax]
movss xmm4, dword [eax + 4]
subss xmm0, xmm2
subss xmm1, xmm2
movss dword [esp + 0x50], xmm2
movss dword [esp + 0x80], xmm2
mulss xmm3, dword [0x100f0654]
movss xmm2, dword [esp + 0x40]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x3c]
addss xmm3, dword [eax + 8]
movaps xmm5, xmm0
mulss xmm1, xmm1
subss xmm0, xmm4
movss dword [esp + 0x54], xmm4
subss xmm5, xmm4
movss dword [esp + 0x84], xmm4
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x88], xmm3
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm2
subss xmm0, xmm3
mulss xmm5, xmm5
subss xmm2, xmm3
addss xmm5, xmm1
mulss xmm0, xmm0
movss dword [esp + 0x4c], xmm2
addss xmm0, xmm5
call fcn.1000fd60
comiss xmm0, dword [0x100f0850]
ja 0x1006051f
cvtps2pd xmm0, xmm5
sub esp, 8
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
movsd qword [esp], xmm0
call fcn.1000fd70
fdivr dword [esp + 0x4c]
fstp dword [esp + 0x44]
movss xmm0, dword [esp + 0x44]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
mulss xmm0, dword [0x100f07d4]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x48]
divss xmm0, dword [esp + 0x38]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
mulss xmm0, dword [0x100f07d4]
xorps xmm2, xmm2
mov dword [esp + 0x34], 0
movss xmm1, dword [esp + 0x38]
comiss xmm1, xmm2
movss dword [esp + 0x30], xmm0
jb 0x100602f6
addss xmm0, dword [0x100f0830]
movss dword [esp + 0x30], xmm0
mov ecx, dword [0x1017dbe8]
lea eax, [esp + 0x18]
push eax
call fcn.100161d0
lea edx, [esp + 0x2c]
mov ecx, eax
call fcn.1000ff40
movss xmm1, dword [0x100f07dc]
comiss xmm1, xmm0
ja 0x1006051f
cmp byte [0x100f97cc], 0
je 0x100604d6
movss xmm1, dword [esp + 0x38]
xorps xmm0, xmm0
movss xmm2, dword [esp + 0x4c]
xor eax, eax
movq qword [esp + 0xbc], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x104], xmm0
movss dword [esp + 0x100], xmm1
mulss xmm0, xmm0
mov dword [esp + 0xcc], eax
mulss xmm1, xmm1
mov dword [esp + 0x5c], eax
movss dword [esp + 0x108], xmm2
mulss xmm2, xmm2
mov dword [esp + 0xa0], 0
addss xmm0, xmm1
mov dword [esp + 0x9c], 0
xorps xmm1, xmm1
mov dword [esp + 0x98], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa4], 0
addss xmm0, xmm2
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
ucomiss xmm0, xmm1
mov dword [esp + 0x58], vtable.CTraceFilterWorldAndPropsOnly.0
mov byte [esp + 0x131], 1
lahf
test ah, 0x44
jp 0x10060426
mov byte [esp + 0x131], 0
movss xmm0, dword [esp + 0x50]
lea edx, [esp + 0x98]
mov ecx, dword [0x100fc328]
movss dword [esp + 0xf0], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0xf4], xmm0
movss xmm0, dword [esp + 0x28]
push edx
mov dword [esp + 0x124], 0
lea edx, [esp + 0x5c]
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov byte [esp + 0x134], 1
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
movss dword [esp + 0xfc], xmm0
mov eax, dword [ecx]
push edx
push 0x200400b
lea edx, [esp + 0xfc]
mov eax, dword [eax + 0x10]
push edx
call eax
movss xmm0, dword [0x100f06a8]
comiss xmm0, dword [esp + 0xc4]
ja 0x1006051f
mov eax, dword [0x1017ec5c]
cmp eax, dword [0x1017ec60]
je 0x1006050c
movss xmm0, dword [esp + 0x50]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [eax + 4], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [eax + 8], xmm0
add dword [0x1017ec5c], 0xc
jmp 0x1006051f
lea ecx, [esp + 0x80]
push ecx
push eax
mov ecx, 0x1017ec58
call fcn.1005c4f0
mov eax, dword [esp + 0x14]
add edi, 4
cmp edi, eax
jne 0x100600f0
cmp byte [0x100f978c], 0
mov esi, dword [0x100fbfac]
mov edi, dword fs:[0x2c]
je 0x1006060a
mov ecx, dword [edi + esi*4]
mov eax, dword [0x1017ec4c]
cmp eax, dword [ecx + 4]
jle 0x1006058d
push 0x1017ec4c
call fcn.100d136a
add esp, 4
cmp dword [0x1017ec4c], 0xffffffff
jne 0x1006058d
mov eax, dword [0x1017ec58]
cmp eax, dword [0x1017ec5c]
push 0x1017ec4c
sete byte [0x1017ec54]
call fcn.100d1320
add esp, 4
mov ecx, dword [0x1017ec58]
mov edx, dword [0x1017ec5c]
cmp ecx, edx
sete al
cmp al, byte [0x1017ec54]
je 0x1006060a
cmp ecx, edx
je 0x100605f8
mov dword [esp + 0x18], 0xa0abaeb6
xor ecx, ecx
mov dword [esp + 0x1c], 0xa9a3a8a1
mov dword [esp + 0x20], 0xebfbe9bd
mov word [esp + 0x24], 0xfd
mov byte [esp + 0x26], 1
mov al, cl
sub al, 0x40
xor byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0xd
jb 0x100605d0
mov ecx, dword [0x100fc310]
lea edx, [esp + 0x18]
mov byte [esp + 0x26], 0
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x1a8]
call eax
mov eax, dword [0x1017ec58]
cmp eax, dword [0x1017ec5c]
sete byte [0x1017ec54]
cmp dword [0x100f9764], 0
jne 0x1006067f
mov eax, dword [0x1017ec58]
cmp eax, dword [0x1017ec5c]
je 0x100607d9
mov eax, dword [0x100fc3ec]
cdq
push 8
sub eax, edx
push 0x100f9030
sar eax, 1
sub eax, 0x78
push 0x28
push 0x28
push eax
mov eax, dword [0x100fc3e8]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x14
push eax
call fcn.100cd710
mov edi, dword [0x1017ec5c]
mov esi, dword [0x1017ec58]
cmp esi, edi
je 0x100607d9
push esi
lea eax, [esp + 0x90]
push eax
call fcn.1005fa30
add esi, 0xc
cmp esi, edi
jne 0x10060664
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + esi*4]
mov eax, dword [0x1017ec50]
cmp eax, dword [ecx + 4]
jle 0x100606c4
push 0x1017ec50
call fcn.100d136a
add esp, 4
cmp dword [0x1017ec50], 0xffffffff
jne 0x100606c4
mov eax, dword [0x1017ec58]
cmp eax, dword [0x1017ec5c]
push 0x1017ec50
sete byte [0x1017ec48]
call fcn.100d1320
add esp, 4
mov eax, dword [0x1017ec58]
mov ecx, dword [0x1017ec5c]
cmp eax, ecx
mov esi, dword [0x100fc33c]
sete dl
cmp dl, byte [0x1017ec48]
je 0x1006070b
cmp eax, ecx
je 0x100606fb
movss xmm1, dword [esi + 0xc]
movss dword [0x1017d9e8], xmm1
mov byte [0x1017ec48], dl
jmp 0x10060713
movss xmm1, dword [0x1017d9e8]
mov byte [0x1017ec48], dl
jmp 0x10060713
movss xmm1, dword [0x1017d9e8]
xorps xmm2, xmm2
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x100607d9
movss xmm0, dword [esi + 0xc]
lea eax, [esp + 0x40]
subss xmm0, xmm1
mov dword [esp + 0x3c], 0x3f800000
movss xmm1, dword [0x100f06a8]
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], 0
mulss xmm0, dword [0x100f0780]
comiss xmm0, xmm2
movss dword [esp + 0x40], xmm0
cmovae ecx, eax
lea eax, [esp + 0x3c]
comiss xmm1, xmm0
cmovae eax, ecx
movss xmm1, dword [eax]
movaps xmm0, xmm1
mulss xmm0, dword [0x100f0654]
comiss xmm0, dword [0x100f0654]
jb 0x1006078c
mov dword [0x1017d9e8], 0
movss xmm0, dword [0x100f0814]
mov ecx, dword [0x100fc31c]
mov esi, dword [0x100fc3ec]
mov edi, dword [0x100fc3e8]
mulss xmm1, xmm0
mov edx, dword [ecx]
subss xmm0, xmm1
cvttss2si eax, xmm0
movzx eax, al
push eax
mov eax, dword [edx + 0x2c]
push 0
push 0
push 0xff
call eax
mov ecx, dword [0x100fc31c]
push esi
push edi
push 0
mov eax, dword [ecx]
push 0
mov eax, dword [eax + 0x30]
call eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret