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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x102220c0]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [0x1023fc80]
push esi
push edi
cmp byte [eax + 0x36a4], 0
je 0x1014e903
push 0x1046ad7c
call fcn.101b4ecb
add esp, 4
test eax, eax
jne 0x1014e917
cmp dword [0x1046ada8], 0x7fffffff
je 0x1014e91e
mov eax, dword [0x1053304c]
mov ecx, dword [0x10533050]
cmp eax, ecx
je 0x1014dcff
cmp byte [eax + 8], 0
jne 0x1014dd0e
add eax, 0xc
cmp eax, ecx
jne 0x1014dcf2
mov eax, dword [0x1023fc8c]
cmp byte [eax + 0x5c], 0
je 0x1014e8f6
mov ecx, dword [0x1023fc80]
xorps xmm1, xmm1
mov edx, dword [0x10468548]
movss xmm0, dword [ecx + 0x36a8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1014dd3f
movss xmm0, dword [ecx + 0x36ac]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1014dd95
or dword [edx + 0x1c74], 1
mov eax, dword [ecx + 0x36a8]
mov ecx, dword [ecx + 0x36ac]
mov dword [edx + 0x1c84], eax
mov dword [edx + 0x1c88], ecx
mov dword [edx + 0x1c8c], 0
mov dword [edx + 0x1c90], 0
mov dword [edx + 0x1c78], 1
mov eax, dword [0x1023fc80]
mov dword [eax + 0x36a8], 0
mov dword [eax + 0x36ac], 0
or dword [edx + 0x1c74], 0x12
mov esi, 0xc02fb
movss xmm2, dword [0x102146b8]
mov ecx, 0xfb
movss xmm0, dword [0x102147a4]
mov dword [edx + 0x1c94], 0x43340000
mov dword [edx + 0x1c98], 0
mov dword [edx + 0x1c7c], 2
movss dword [esp + 0x70], xmm2
mov dword [edx + 0x1cb0], 0x43340000
movss dword [edx + 0x1cb4], xmm1
movss dword [edx + 0x1cb8], xmm2
movss dword [edx + 0x1cbc], xmm0
movq xmm0, qword [str.eG_ZNZHRL]
mov dword [edx + 0x1cc0], 0
mov dword [edx + 0x1cc4], 0
mov eax, dword [0x1023fc8c]
movq qword [esp + 0x70], xmm0
cmp byte [eax + 0x5c], 0
mov eax, dword [0x1020a0b0]
mov dword [esp + 0x78], eax
cmovne esi, ecx
mov ax, word [0x1020a0b4]
xor edx, edx
cmp dword [0x10240d90], 2
mov word [esp + 0x7c], ax
mov al, byte [0x1020a0b6]
mov byte [esp + 0x7e], al
mov dword [esp + 0x1c], edx
jl 0x1014df50
movaps xmm2, xmmword [0x10214950]
mov edx, 8
movaps xmm3, xmmword [0x10214d20]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov dword [esp + 0x1c], edx
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10214990]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
movd xmm0, dword [str.eG_ZNZHRL]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10214a90]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x70], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
movd xmm0, dword [esp + 0x74]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10214a90]
xorps xmm1, xmm0
movd dword [esp + 0x74], xmm1
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x1c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + edx + 0x70], cl
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0xf
jl 0x1014df50
push esi
xor edx, edx
lea ecx, [esp + 0x74]
call fcn.10174f90
mov ecx, dword [0x1023fc8c]
mov ecx, dword [ecx + 0x40]
call fcn.101776f0
mov eax, dword [0x10468548]
xor edx, edx
push str.Background
mov eax, dword [eax + 0x1d50]
mov ecx, dword [eax]
call fcn.1016f7c0
mov esi, dword [0x10468548]
sub esp, 0x18
mov edx, esp
mov edi, eax
mov dword [esp + 0x64], edi
mov ecx, dword [esi + 0x1bec]
movss xmm0, dword [ecx + 0x10]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [ecx + 0x14]
mov ecx, dword [0x1023fc80]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [ecx + 0x391c]
divss xmm0, dword [0x10214680]
mov eax, dword [ecx + 0x3910]
movss dword [esp + 0x34], xmm0
movups xmm0, xmmword [ecx + 0x3900]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], eax
mov al, byte [ecx + 0x3914]
mov byte [edx + 0x14], al
call fcn.100bb8c0
mov edx, dword [0x1023fc80]
sub esp, 0x18
movaps xmm0, xmmword [0x10214cc0]
mov ecx, esp
movups xmmword [esp + 0x68], xmm0
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x3910]
movups xmmword [esp + 0x78], xmm0
movups xmm0, xmmword [edx + 0x3900]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov al, byte [edx + 0x3914]
xorps xmm0, xmm0
mov byte [ecx + 0x14], al
call fcn.100bba40
mov ecx, dword [0x1023fc80]
sub esp, 0x18
mov edx, esp
mov dword [esp + 0x58], eax
movups xmm1, xmmword [ecx + 0x3900]
mov eax, dword [ecx + 0x3910]
movss xmm0, dword [ecx + 0x390c]
mulss xmm0, dword [0x102143b4]
movups xmmword [edx], xmm1
mov dword [edx + 0x10], eax
mov al, byte [ecx + 0x3914]
mov byte [edx + 0x14], al
call fcn.100bba40
mov dword [esp + 0x34], eax
sub esp, 0x18
mov eax, dword [0x1023fc80]
mov edx, esp
movups xmm0, xmmword [eax + 0x3900]
mov ecx, dword [eax + 0x3910]
mov al, byte [eax + 0x3914]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], ecx
mov byte [edx + 0x14], al
call fcn.100bb8c0
mov cx, word [0x1020c1ec]
xor edx, edx
movq xmm0, qword [str.eG_ZNZHRLL_]
mov word [esp + 0x78], cx
mov cl, byte [0x1020c1ee]
mov dword [esp + 0x44], eax
movq qword [esp + 0x70], xmm0
mov byte [esp + 0x7a], cl
mov dword [esp + 0x30], edx
nop
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [esp + 0x30]
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + edx + 0x70], cl
inc edx
mov dword [esp + 0x30], edx
cmp edx, 0xb
jl 0x1014e100
movss xmm3, dword [0x102147a4]
lea eax, [esp + 0x70]
movss xmm2, dword [esi + 0x1988]
push 0
push 0
push eax
push ecx
mov ecx, dword [esi + 0x1984]
lea eax, [esp + 0x48]
mov dword [esp], 0xbf800000
push eax
call fcn.10183840
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [0x10214418]
mov eax, dword [0x1023fc80]
mov dword [esp + 0x30], 2
cmp dword [eax + 0x3918], 0
cvttss2si esi, xmm0
xorps xmm0, xmm0
jne 0x1014e18f
movss xmm4, dword [0x102145e4]
jmp 0x1014e192
xorps xmm4, xmm4
movss xmm1, dword [esp + 0x1c]
comiss xmm0, xmm1
jbe 0x1014e1a2
xorps xmm2, xmm2
jmp 0x1014e1ae
movss xmm2, dword [0x10214420]
minss xmm2, xmm1
movss xmm1, dword [esp + 0x24]
mulss xmm2, dword [0x10214708]
movaps xmm0, xmm1
push 0
addss xmm0, dword [0x102146b8]
movss xmm3, dword [esp + 0x2c]
addss xmm2, dword [0x102143b4]
push ecx
movss dword [esp], xmm4
mov ecx, edi
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x44]
mulss xmm0, dword [0x102144c8]
cvttss2si eax, xmm2
addss xmm0, xmm3
movss dword [esp + 0x78], xmm1
shl eax, 0x18
push eax
lea eax, [esp + 0x20]
movss dword [esp + 0x80], xmm3
push eax
movss dword [esp + 0x2c], xmm0
lea eax, [esp + 0x80]
subss xmm0, dword [0x102144c8]
push eax
movss dword [esp + 0x2c], xmm0
call fcn.10180f50
mov eax, dword [0x1023fc80]
mov eax, dword [eax + 0x3918]
test eax, eax
jne 0x1014e2c4
movss xmm0, dword [esp + 0x24]
lea eax, [esp + 0x70]
addss xmm0, dword [0x102146bc]
movss xmm1, dword [0x10214420]
sub esp, 0xc
mov ecx, edi
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x28]
subss xmm0, xmm1
mov dword [esp + 8], 0x3fc00000
mov dword [esp], 0x41700000
push dword [esp + 0x2c]
push eax
movss dword [esp + 0x88], xmm0
lea eax, [esp + 0x28]
movss xmm0, dword [esp + 0x38]
subss xmm0, xmm1
push eax
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x40]
subss xmm0, xmm1
movss dword [esp + 0x30], xmm0
call fcn.10180e60
jmp 0x1014e343
cmp eax, 1
je 0x1014e2f4
cmp eax, 2
jne 0x1014e2ea
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x1c]
subss xmm0, dword [0x10214528]
jmp 0x1014e30e
cmp eax, 3
je 0x1014e2f4
cmp eax, 4
jne 0x1014e343
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [0x10214420]
movss xmm1, dword [esp + 0x24]
lea eax, [esp + 0x70]
push ecx
mov dword [esp], 0x40000000
mov ecx, edi
push dword [esp + 0x24]
movss dword [esp + 0x7c], xmm0
push eax
lea eax, [esp + 0x20]
movss dword [esp + 0x20], xmm1
push eax
movss dword [esp + 0x28], xmm0
call fcn.10180d30
mov ax, word [0x1020c1ec]
xor edx, edx
movq xmm0, qword [str.eG_ZNZHRLL_]
mov word [esp + 0x78], ax
mov al, byte [0x1020c1ee]
movq qword [esp + 0x70], xmm0
mov byte [esp + 0x7a], al
mov dword [esp + 0x20], edx
nop dword [eax + eax]
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [esp + 0x20]
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + edx + 0x70], cl
inc edx
mov dword [esp + 0x20], edx
cmp edx, 0xb
jl 0x1014e370
xorps xmm0, xmm0
mov dword [esp + 0x90], 0
lea ecx, [esp + 0x70]
movaps xmmword [esp + 0x80], xmm0
mov dword [esp + 0x94], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1014e3c1
sub ecx, edx
lea eax, [esp + 0x70]
push ecx
push eax
lea ecx, [esp + 0x88]
call fcn.10027d90
cmp dword [esp + 0x94], 0xf
lea eax, [esp + 0x80]
movups xmm3, xmmword [esp + 0x50]
cmova eax, dword [esp + 0x80]
movss xmm1, dword [0x10214420]
xorps xmm0, xmm0
comiss xmm0, xmm3
mov dword [esp + 0x20], eax
jbe 0x1014e411
xorps xmm2, xmm2
jmp 0x1014e418
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm3, dword [0x10214708]
movss xmm5, dword [0x102143b4]
movss xmm4, dword [esp + 0x64]
mulss xmm2, xmm3
addss xmm2, xmm5
cvttss2si ecx, xmm2
shl ecx, 0x10
comiss xmm0, xmm4
jbe 0x1014e447
xorps xmm2, xmm2
jmp 0x1014e44e
movaps xmm2, xmm1
minss xmm2, xmm4
movss xmm4, dword [esp + 0x68]
mulss xmm2, xmm3
addss xmm2, xmm5
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x1014e46f
xorps xmm2, xmm2
jmp 0x1014e476
movaps xmm2, xmm1
minss xmm2, xmm4
mulss xmm2, xmm3
addss xmm2, xmm5
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x6c]
or ecx, eax
comiss xmm0, xmm2
ja 0x1014e496
minss xmm1, xmm2
movaps xmm0, xmm1
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mulss xmm0, xmm3
divss xmm2, dword [0x10214528]
addss xmm0, xmm5
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [0x10214674]
shl edx, 0x18
or edx, ecx
subss xmm0, xmm2
subss xmm0, dword [0x10214560]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x3c]
divss xmm0, dword [0x10214528]
addss xmm0, dword [esp + 0x28]
addss xmm0, dword [0x102144c8]
movss dword [esp + 0x18], xmm0
test edx, 0xff000000
je 0x1014e555
mov esi, dword [esp + 0x20]
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1014e510
sub ecx, dword [esp + 0x20]
add ecx, esi
cmp esi, ecx
je 0x1014e555
push dword [esp + 0x18]
mov eax, dword [edi + 0x2c]
push dword [esp + 0x18]
movups xmm0, xmmword [edi + 0x60]
push 0
movss xmm2, dword [eax + 0xc]
push ecx
mov dword [esp], 0
push ecx
push esi
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [eax + 8]
push edx
push edi
movups xmmword [esp + 0x74], xmm0
call fcn.10183a00
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x80]
cmp eax, 0xf
jbe 0x1014e593
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x1014e589
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014e92f
push edx
push ecx
call fcn.101b5a93
add esp, 8
mov eax, dword [0x1023fc80]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0xf
mov byte [esp + 0x80], 0
mov eax, dword [eax + 0x3918]
cmp eax, 3
jne 0x1014e604
movss xmm0, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x3c]
addss xmm0, xmm1
movss dword [esp + 0x18], xmm1
push eax
push eax
mov eax, dword [esp + 0x3c]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x1c], xmm0
jmp 0x1014e6a6
cmp eax, 4
jne 0x1014e6bc
movss xmm1, dword [esp + 0x24]
mov ecx, edi
mov esi, dword [esp + 0x40]
movaps xmm0, xmm1
addss xmm0, dword [0x102144c8]
mov eax, dword [esp + 0x44]
push esi
push esi
push eax
push eax
movss dword [esp + 0x80], xmm0
lea eax, [esp + 0x80]
movss xmm0, dword [esp + 0x2c]
push eax
movss dword [esp + 0x88], xmm0
lea eax, [esp + 0x28]
movss xmm0, dword [esp + 0x3c]
push eax
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x30], xmm0
call fcn.101810b0
movss xmm0, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [0x102146b4]
push esi
push esi
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x20], xmm0
push eax
push eax
lea eax, [esp + 0x80]
mov ecx, edi
push eax
lea eax, [esp + 0x28]
push eax
call fcn.101810b0
mov ecx, dword [0x10533050]
mov eax, dword [0x1053304c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], eax
cmp eax, ecx
je 0x1014e8ec
mov edi, dword [0x10468548]
nop dword [eax]
cmp byte [eax + 8], 0
je 0x1014e8dd
mov esi, dword [0x10532f2c]
cmp esi, dword [0x10532f30]
je 0x1014e8dd
mov eax, dword [eax]
nop
cmp dword [esi + 0x84], eax
je 0x1014e716
add esi, 0x148
cmp esi, dword [0x10532f30]
jne 0x1014e700
mov eax, dword [esp + 0x1c]
cmp esi, dword [0x10532f30]
je 0x1014e8dd
mov eax, dword [esi + 0x94]
cmp eax, 4
jne 0x1014e786
movss xmm3, dword [0x102147a4]
lea eax, [esp + 0x70]
movss xmm2, dword [edi + 0x1988]
push 0
push 0
push 0x1020b0ac
push ecx
mov ecx, dword [edi + 0x1984]
mov dword [esp], 0xbf800000
push eax
call fcn.10183840
movss xmm0, dword [esp + 0x70]
addss xmm0, dword [0x10214418]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x70], xmm0
jmp 0x1014e832
cmp eax, 5
jne 0x1014e7dd
movss xmm3, dword [0x102147a4]
lea eax, [esp + 0x38]
movss xmm2, dword [edi + 0x1988]
push 0
push 0
push 0x1020b09c
push ecx
mov ecx, dword [edi + 0x1984]
mov dword [esp], 0xbf800000
push eax
call fcn.10183840
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [0x10214418]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x38], xmm0
jmp 0x1014e832
cmp eax, 6
jne 0x1014e832
movss xmm3, dword [0x102147a4]
lea eax, [esp + 0x44]
movss xmm2, dword [edi + 0x1988]
push 0
push 0
push str.Freecam
push ecx
mov ecx, dword [edi + 0x1984]
mov dword [esp], 0xbf800000
push eax
call fcn.10183840
movss xmm0, dword [esp + 0x44]
addss xmm0, dword [0x10214418]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x44], xmm0
add esi, 0xa0
cmp dword [esi + 0x14], 0xf
jbe 0x1014e840
mov esi, dword [esi]
movss xmm0, dword [esp + 0x24]
mov ecx, esi
addss xmm0, dword [0x10214568]
movd xmm1, dword [esp + 0x30]
cvtdq2pd xmm1, xmm1
lea edx, [ecx + 1]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x28]
mulsd xmm1, qword [0x10214518]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [esp + 0x18], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1014e882
sub ecx, edx
lea edx, [ecx + esi]
cmp esi, edx
je 0x1014e8d1
push dword [esp + 0x18]
mov ecx, dword [esp + 0x50]
push dword [esp + 0x18]
push 0
mov eax, dword [ecx + 0x2c]
movups xmm0, xmmword [ecx + 0x60]
push ecx
mov dword [esp], 0
movss xmm2, dword [eax + 0xc]
push edx
push esi
lea edx, [esp + 0x68]
push edx
push 0xffffffffffffffff
push ecx
mov ecx, dword [eax + 8]
movups xmmword [esp + 0x74], xmm0
call fcn.10183a00
mov edi, dword [0x10468548]
inc dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
add eax, 0xc
mov dword [esp + 0x1c], eax
cmp eax, ecx
jne 0x1014e6e0
call fcn.101777a0
call fcn.10177230
push 0x1046ad7c
call fcn.101b4efd
add esp, 4
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.101b579a
mov esp, ebp
pop ebp
ret
push 5
call fcn.101b510c
push 6
mov dword [0x1046ada8], 0x7ffffffe
call fcn.101b510c
call fcn.101babc6
int3