Function at 0x10138d30
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 [0x1020c0c0]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [0x10229c78]
push esi
push edi
cmp byte [eax + 0x365c], 0
je 0x10139995
push 0x1045647c
call fcn.1019f887
add esp, 4
test eax, eax
jne 0x101399a9
mov eax, dword [0x1051df2c]
mov ecx, dword [0x1051df30]
cmp eax, ecx
je 0x10138d8f
cmp byte [eax + 8], 0
jne 0x10138d9e
add eax, 0xc
cmp eax, ecx
jne 0x10138d82
mov eax, dword [0x10229c84]
cmp byte [eax + 0x5c], 0
je 0x10139988
mov ecx, dword [0x10229c78]
xorps xmm1, xmm1
mov edx, dword [0x10453c48]
movss xmm0, dword [ecx + 0x3660]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10138dcf
movss xmm0, dword [ecx + 0x3664]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10138e25
or dword [edx + 0x1c74], 1
mov eax, dword [ecx + 0x3660]
mov ecx, dword [ecx + 0x3664]
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 [0x10229c78]
mov dword [eax + 0x3660], 0
mov dword [eax + 0x3664], 0
or dword [edx + 0x1c74], 0x12
mov esi, 0xc02fb
movaps xmm0, xmmword [0x10202ad0]
mov ecx, 0xfb
movups xmmword [edx + 0x1cb0], xmm0
mov dword [edx + 0x1c94], 0x43160000
movq xmm0, qword [str.aCQVBVLVHePTMK_]
mov dword [edx + 0x1c98], 0
mov dword [edx + 0x1c7c], 2
mov dword [edx + 0x1cc0], 0
mov dword [edx + 0x1cc4], 0
mov eax, dword [0x10229c84]
movq qword [esp + 0x70], xmm0
cmp byte [eax + 0x5c], 0
mov eax, dword [0x101f8b6c]
mov dword [esp + 0x78], eax
cmovne esi, ecx
mov ax, word [0x101f8b70]
xor edx, edx
cmp dword [0x1022b6e0], 2
mov word [esp + 0x7c], ax
mov al, byte [0x101f8b72]
mov byte [esp + 0x7e], al
mov dword [esp + 0x1c], edx
jl 0x10138fd0
movaps xmm2, xmmword [0x102025e0]
mov eax, 4
movaps xmm3, xmmword [0x10202aa0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov edx, 8
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
movd xmm4, eax
mov eax, 0x1f
psrad xmm1, xmm4
mov dword [esp + 0x1c], edx
movaps xmm0, xmm1
movd xmm5, eax
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10202660]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10202620]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
movd xmm0, dword [str.aCQVBVLVHePTMK_]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.2222222222222222777777777777777788888888888888889999999999999999]
pxor 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, xmm4
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10202660]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
movd xmm0, dword [esp + 0x74]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.2222222222222222777777777777777788888888888888889999999999999999]
pxor xmm1, xmm0
movd dword [esp + 0x74], xmm1
nop dword [eax + eax]
mov eax, 0x4d4873ed
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, 0x35
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x70], cl
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0xf
jl 0x10138fd0
push esi
xor edx, edx
lea ecx, [esp + 0x74]
call fcn.1015ee50
mov ecx, dword [0x10229c84]
mov ecx, dword [ecx + 0x40]
call fcn.101615a0
mov eax, dword [0x10453c48]
xor edx, edx
push str.Background
mov eax, dword [eax + 0x1d50]
mov ecx, dword [eax]
call fcn.10158ca0
mov ecx, dword [0x10453c48]
sub esp, 0x18
mov edx, esp
mov edi, eax
mov dword [esp + 0x64], edi
mov ecx, dword [ecx + 0x1bec]
movss xmm0, dword [ecx + 0x10]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [ecx + 0x14]
mov ecx, dword [0x10229c78]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [ecx + 0x38d4]
divss xmm0, dword [0x102022e8]
mov eax, dword [ecx + 0x38c8]
movss dword [esp + 0x44], xmm0
movups xmm0, xmmword [ecx + 0x38b8]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], eax
mov al, byte [ecx + 0x38cc]
mov byte [edx + 0x14], al
call fcn.100bfbf0
mov edx, dword [0x10229c78]
sub esp, 0x18
movaps xmm0, xmmword [0x10202a40]
mov ecx, esp
movups xmmword [esp + 0x68], xmm0
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x38c8]
movups xmmword [esp + 0x78], xmm0
movups xmm0, xmmword [edx + 0x38b8]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov al, byte [edx + 0x38cc]
xorps xmm0, xmm0
mov byte [ecx + 0x14], al
call fcn.100bfd60
mov ecx, dword [0x10229c78]
sub esp, 0x18
mov edx, esp
mov dword [esp + 0x58], eax
movups xmm1, xmmword [ecx + 0x38b8]
mov eax, dword [ecx + 0x38c8]
movss xmm0, dword [ecx + 0x38c4]
mulss xmm0, dword [0x10201ff4]
movups xmmword [edx], xmm1
mov dword [edx + 0x10], eax
mov al, byte [ecx + 0x38cc]
mov byte [edx + 0x14], al
call fcn.100bfd60
mov esi, dword [0x10229c78]
sub esp, 0x18
mov edx, esp
mov dword [esp + 0x4c], eax
movups xmm0, xmmword [esi + 0x38b8]
mov ecx, dword [esi + 0x38c8]
mov al, byte [esi + 0x38cc]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], ecx
mov byte [edx + 0x14], al
call fcn.100bfbf0
mov cx, word [0x101fa3c8]
xor edx, edx
movq xmm0, qword [0x101fa3c0]
mov word [esp + 0x78], cx
mov cl, byte [0x101fa3ca]
mov dword [esp + 0x44], eax
movq qword [esp + 0x70], xmm0
mov byte [esp + 0x7a], cl
mov dword [esp + 0x1c], edx
nop
mov eax, 0x3521cfb3
mul edx
mov eax, dword [esp + 0x1c]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [esp + 0x1c]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x70], cl
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0xb
jl 0x10139180
movss xmm3, dword [0x10202414]
lea eax, [esp + 0x70]
push 0
push 0
push eax
push ecx
lea eax, [esp + 0x48]
mov dword [esp], 0xbf800000
push eax
mov eax, dword [0x10453c48]
movss xmm2, dword [eax + 0x1988]
mov ecx, dword [eax + 0x1984]
call fcn.1016dac0
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [0x10202058]
mov eax, dword [0x10229c78]
movss xmm4, dword [0x102021d8]
mov dword [esp + 0x30], 2
cmp dword [eax + 0x38d0], 0
cvttss2si esi, xmm0
xorps xmm0, xmm0
je 0x1013921f
xorps xmm4, xmm4
movss xmm1, dword [esp + 0x2c]
comiss xmm0, xmm1
jbe 0x1013922f
xorps xmm2, xmm2
jmp 0x1013923b
movss xmm2, dword [0x10202060]
minss xmm2, xmm1
movss xmm1, dword [esp + 0x24]
mulss xmm2, dword [0x10202378]
movaps xmm0, xmm1
push 0
addss xmm0, dword [0x1020231c]
movss xmm3, dword [esp + 0x2c]
addss xmm2, dword [0x10201ff4]
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 [0x10202128]
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 [0x10202128]
push eax
movss dword [esp + 0x2c], xmm0
call fcn.1016b050
mov eax, dword [0x10229c78]
mov eax, dword [eax + 0x38d0]
test eax, eax
jne 0x10139351
movss xmm0, dword [esp + 0x24]
lea eax, [esp + 0x70]
addss xmm0, dword [0x10202320]
movss xmm1, dword [0x10202060]
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], 0x40a00000
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.1016af60
jmp 0x101393e4
cmp eax, 1
je 0x10139395
cmp eax, 2
jne 0x1013938b
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x1c]
subss xmm0, dword [0x10202188]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x1c]
subss xmm0, dword [0x10202060]
jmp 0x101393b5
cmp eax, 3
je 0x10139395
cmp eax, 4
jne 0x101393e4
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [0x10202060]
movss dword [esp + 0x74], xmm0
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 + 0x1c], xmm1
push eax
lea eax, [esp + 0x20]
movss dword [esp + 0x24], xmm0
push eax
call fcn.1016ae30
mov ax, word [0x101fa3c8]
xor edx, edx
movq xmm0, qword [0x101fa3c0]
mov word [esp + 0x78], ax
mov al, byte [0x101fa3ca]
movq qword [esp + 0x70], xmm0
mov byte [esp + 0x7a], al
mov dword [esp + 0x20], edx
nop dword [eax]
mov eax, 0x3521cfb3
mul edx
mov eax, dword [esp + 0x20]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [esp + 0x20]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x70], cl
inc edx
mov dword [esp + 0x20], edx
cmp edx, 0xb
jl 0x10139410
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]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10139470
sub ecx, edx
lea eax, [esp + 0x70]
push ecx
push eax
lea ecx, [esp + 0x88]
call fcn.10027e90
cmp dword [esp + 0x94], 0x10
lea eax, [esp + 0x80]
movups xmm3, xmmword [esp + 0x50]
cmovae eax, dword [esp + 0x80]
movss xmm1, dword [0x10202060]
xorps xmm0, xmm0
comiss xmm0, xmm3
mov dword [esp + 0x20], eax
jbe 0x101394c0
xorps xmm2, xmm2
jmp 0x101394c7
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm4, dword [0x10202378]
movss xmm3, dword [0x10201ff4]
movss xmm5, dword [esp + 0x64]
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si ecx, xmm2
shl ecx, 0x10
comiss xmm0, xmm5
jbe 0x101394f6
xorps xmm2, xmm2
jmp 0x101394fd
movaps xmm2, xmm1
minss xmm2, xmm5
movss xmm5, dword [esp + 0x68]
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x1013951e
xorps xmm2, xmm2
jmp 0x10139525
movaps xmm2, xmm1
minss xmm2, xmm5
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x6c]
or ecx, eax
comiss xmm0, xmm2
ja 0x10139545
movaps xmm0, xmm1
minss xmm0, xmm2
mulss xmm0, xmm4
movd xmm2, esi
cvtdq2ps xmm2, xmm2
addss xmm0, xmm3
mulss xmm2, xmm3
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [0x102022c8]
shl edx, 0x18
or edx, ecx
subss xmm0, xmm2
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x3c]
mulss xmm0, xmm3
addss xmm0, dword [esp + 0x28]
subss xmm0, xmm1
movss dword [esp + 0x18], xmm0
test edx, 0xff000000
je 0x101395ed
mov esi, dword [esp + 0x20]
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101395a8
sub ecx, dword [esp + 0x20]
add ecx, esi
cmp esi, ecx
je 0x101395ed
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.1016dc80
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x80]
cmp eax, 0x10
jb 0x1013962b
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x10139621
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101399af
push edx
push ecx
call fcn.101a043c
add esp, 8
mov eax, dword [0x10229c78]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0xf
mov byte [esp + 0x80], 0
mov eax, dword [eax + 0x38d0]
cmp eax, 3
jne 0x1013969b
movss xmm0, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
movss dword [esp + 0x70], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x3c]
push eax
push eax
mov eax, dword [esp + 0x3c]
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x1c], xmm0
jmp 0x1013973d
cmp eax, 4
jne 0x10139753
movss xmm1, dword [esp + 0x24]
mov ecx, edi
mov esi, dword [esp + 0x40]
movaps xmm0, xmm1
addss xmm0, dword [0x10202128]
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.1016b1b0
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 [0x10202318]
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.1016b1b0
mov ecx, dword [0x1051df30]
mov eax, dword [0x1051df2c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], eax
cmp eax, ecx
je 0x1013997e
mov edi, dword [0x10453c48]
cmp byte [eax + 8], 0
je 0x1013996f
mov esi, dword [0x1051de0c]
cmp esi, dword [0x1051de10]
je 0x1013996f
mov eax, dword [eax]
cmp dword [esi + 0x84], eax
je 0x101397a8
add esi, 0x148
cmp esi, dword [0x1051de10]
jne 0x10139792
mov eax, dword [esp + 0x1c]
cmp esi, dword [0x1051de10]
je 0x1013996f
mov eax, dword [esi + 0x94]
cmp eax, 4
jne 0x10139818
movss xmm3, dword [0x10202414]
lea eax, [esp + 0x70]
movss xmm2, dword [edi + 0x1988]
push 0
push 0
push 0x101f9a94
push ecx
mov ecx, dword [edi + 0x1984]
mov dword [esp], 0xbf800000
push eax
call fcn.1016dac0
movss xmm0, dword [esp + 0x70]
addss xmm0, dword [0x10202058]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x70], xmm0
jmp 0x101398c4
cmp eax, 5
jne 0x1013986f
movss xmm3, dword [0x10202414]
lea eax, [esp + 0x38]
movss xmm2, dword [edi + 0x1988]
push 0
push 0
push 0x101f9a98
push ecx
mov ecx, dword [edi + 0x1984]
mov dword [esp], 0xbf800000
push eax
call fcn.1016dac0
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [0x10202058]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x38], xmm0
jmp 0x101398c4
cmp eax, 6
jne 0x101398c4
movss xmm3, dword [0x10202414]
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.1016dac0
movss xmm0, dword [esp + 0x44]
addss xmm0, dword [0x10202058]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x44], xmm0
add esi, 0xa0
cmp dword [esi + 0x14], 0x10
jb 0x101398d2
mov esi, dword [esi]
movss xmm0, dword [esp + 0x24]
mov ecx, esi
addss xmm0, dword [0x102021d0]
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 [0x10202178]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [esp + 0x18], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10139914
sub ecx, edx
lea edx, [ecx + esi]
cmp esi, edx
je 0x10139963
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.1016dc80
mov edi, dword [0x10453c48]
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 0x10139774
call fcn.10161650
call fcn.101610e0
push 0x1045647c
call fcn.1019f8ce
add esp, 4
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.101a0143
mov esp, ebp
pop ebp
ret
push eax
call fcn.1019f9be
call fcn.101a56c6
int3