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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x1020a0c0]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [0x10227c40]
push esi
push edi
cmp byte [eax + 0x3647], 0
je 0x101393b5
mov eax, dword [0x10227c48]
lea edx, [esp + 0x68]
push edx
lea edx, [esp + 0x40]
push edx
mov ecx, dword [eax + 0x5c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xb0]
call eax
mov eax, dword [0x104e2068]
xor edx, edx
push str.Background
mov eax, dword [eax + 0x1d50]
mov ecx, dword [eax]
call fcn.10155c70
mov ecx, dword [0x101f6f2c]
mov edi, eax
mov dword [esp + 0x68], ecx
mov cx, word [0x101f6f30]
mov word [esp + 0x6c], cx
test ch, ch
je 0x10138cbe
xor edx, edx
mov dword [esp + 0x28], edx
mov eax, 0x8d3dcb09
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [esp + 0x28]
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x39
xor byte [esp + edx + 0x68], cl
inc edx
mov dword [esp + 0x28], edx
cmp edx, 6
jl 0x10138c95
xorps xmm0, xmm0
mov dword [esp + 0x80], 0
lea ecx, [esp + 0x68]
movaps xmmword [esp + 0x70], xmm0
mov dword [esp + 0x84], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10138ce3
sub ecx, edx
lea eax, [esp + 0x68]
push ecx
push eax
lea ecx, [esp + 0x78]
call fcn.10027bd0
cmp dword [esp + 0x84], 0x10
lea ecx, [esp + 0x70]
push 0xc02bb
cmovae ecx, dword [esp + 0x74]
xor edx, edx
call fcn.1015be20
mov ecx, dword [esp + 0x84]
cmp ecx, 0x10
jb 0x10138d51
mov edx, dword [esp + 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10138d47
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101393c9
push ecx
push edx
call fcn.1019d45c
add esp, 8
mov ecx, dword [0x10227c4c]
mov ecx, dword [ecx + 0x40]
call fcn.1015e570
mov eax, dword [0x104e2068]
sub esp, 0x18
mov edx, esp
mov eax, dword [eax + 0x1bec]
movss xmm0, dword [eax + 0x10]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [eax + 0x14]
mov eax, dword [0x10227c40]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [eax + 0x38c0]
divss xmm0, dword [0x101ff3c8]
mov ecx, dword [eax + 0x38b4]
movss dword [esp + 0x50], xmm0
movups xmm0, xmmword [eax + 0x38a4]
movzx eax, byte [eax + 0x38b8]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], ecx
mov byte [edx + 0x14], al
call fcn.100bd7c0
mov edx, dword [0x10227c40]
sub esp, 0x18
movaps xmm0, xmmword [0x101ffb40]
mov ecx, esp
movups xmmword [esp + 0x88], xmm0
mov dword [esp + 0x44], eax
mov eax, dword [edx + 0x38b4]
movups xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [edx + 0x38a4]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
movzx eax, byte [edx + 0x38b8]
xorps xmm0, xmm0
mov byte [ecx + 0x14], al
call fcn.100bd930
mov ecx, dword [0x10227c40]
sub esp, 0x18
mov edx, esp
mov dword [esp + 0x6c], eax
movups xmm1, xmmword [ecx + 0x38a4]
mov eax, dword [ecx + 0x38b4]
movss xmm0, dword [ecx + 0x38b0]
mulss xmm0, dword [0x101ff0d4]
movups xmmword [edx], xmm1
mov dword [edx + 0x10], eax
movzx eax, byte [ecx + 0x38b8]
mov byte [edx + 0x14], al
call fcn.100bd930
mov esi, dword [0x10227c40]
sub esp, 0x18
mov edx, esp
mov dword [esp + 0x80], eax
movups xmm0, xmmword [esi + 0x38a4]
mov ecx, dword [esi + 0x38b4]
movzx eax, byte [esi + 0x38b8]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], ecx
mov byte [edx + 0x14], al
call fcn.100bd7c0
cmp dword [0x10227c68], 0x10
mov ecx, dword [0x104e2068]
mov dword [esp + 0x44], eax
mov eax, 0x10227c54
cmovae eax, dword [0x10227c54]
movss xmm5, dword [ecx + 0x1988]
movss dword [esp + 0x28], xmm5
test eax, eax
jne 0x10138eb3
xorps xmm6, xmm6
jmp 0x10138f06
movss xmm3, dword [0x101ff4f4]
movaps xmm2, xmm5
push 0
push 0
push eax
push ecx
mov ecx, dword [ecx + 0x1984]
lea eax, [esp + 0x5c]
mov dword [esp], 0xbf800000
push eax
call fcn.1016aa90
movss xmm0, dword [esp + 0x4c]
addss xmm0, dword [0x101ff138]
movss xmm5, dword [esp + 0x50]
mov ecx, dword [0x104e2068]
movss dword [esp + 0x28], xmm5
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movd xmm1, dword [esp + 0x3c]
xorps xmm4, xmm4
mov eax, dword [0x10227c40]
movss xmm7, dword [0x101ff2b8]
cvtdq2ps xmm1, xmm1
cmp byte [eax + 0x3640], 0
subss xmm1, xmm6
subss xmm1, dword [0x101ff310]
je 0x10138f45
movaps xmm0, xmm5
mulss xmm0, dword [0x101ff208]
addss xmm0, xmm7
jmp 0x10138f48
xorps xmm0, xmm0
addss xmm0, dword [0x101ff2d8]
mov ecx, dword [ecx + 0x1bec]
lea edx, [esp + 0x3c]
push 0
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x44], xmm0
call fcn.1015e730
mov eax, dword [0x10227c40]
cmp dword [eax + 0x38bc], 0
je 0x10138f7e
xorps xmm7, xmm7
movss xmm0, dword [esp + 0x38]
comiss xmm4, xmm0
ja 0x10138f95
movss xmm4, dword [0x101ff140]
minss xmm4, xmm0
movss xmm1, dword [esp + 0x30]
mulss xmm4, dword [0x101ff458]
addss xmm6, xmm1
push 0
subss xmm1, dword [0x101ff2a0]
push ecx
addss xmm4, dword [0x101ff0d4]
movaps xmm0, xmm6
movss dword [esp], xmm7
addss xmm0, dword [0x101ff2f8]
mov ecx, edi
movss dword [esp + 0x44], xmm6
movss dword [esp + 0x24], xmm1
cvttss2si eax, xmm4
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x14], xmm0
movaps xmm0, xmm5
mulss xmm0, dword [0x101ff208]
shl eax, 0x18
push eax
lea eax, [esp + 0x18]
movss dword [esp + 0x20], xmm1
addss xmm0, dword [esp + 0x40]
push eax
lea eax, [esp + 0x24]
push eax
movaps xmm3, xmm0
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x48]
subss xmm3, dword [0x101ff2a0]
subss xmm0, dword [0x101ff208]
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x2c], xmm0
call fcn.10168020
mov eax, dword [0x10227c40]
movss xmm3, dword [0x101ff268]
mov eax, dword [eax + 0x38bc]
test eax, eax
jne 0x101390d4
movss xmm0, dword [esp + 0x3c]
lea eax, [esp + 0x14]
addss xmm0, dword [0x101ff2fc]
movss xmm1, dword [esp + 0x4c]
sub esp, 0xc
subss xmm1, xmm3
mov ecx, edi
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x3c]
subss xmm0, dword [0x101ff2b8]
mov dword [esp + 8], 0x3fc00000
mov dword [esp], 0x40a00000
push dword [esp + 0x38]
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x44]
subss xmm0, xmm3
push eax
lea eax, [esp + 0x20]
push eax
movss dword [esp + 0x28], xmm0
call fcn.10167f30
jmp 0x10139160
cmp eax, 1
je 0x10139111
cmp eax, 2
jne 0x10139107
movss xmm0, dword [esp + 0x20]
movss xmm1, dword [esp + 0x4c]
movss dword [esp + 0x14], xmm0
movaps xmm0, xmm1
subss xmm0, dword [0x101ff2b8]
subss xmm1, xmm3
movss dword [esp + 0x10], xmm1
jmp 0x10139131
cmp eax, 3
je 0x10139111
cmp eax, 4
jne 0x10139160
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x24]
subss xmm0, dword [0x101ff140]
movss dword [esp + 0x10], xmm0
movss xmm2, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push ecx
mov dword [esp], 0x40000000
mov ecx, edi
push dword [esp + 0x30]
movss dword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x18]
movss dword [esp + 0x18], xmm2
push eax
call fcn.10167e00
mov eax, dword [0x10227c40]
mov eax, dword [eax + 0x38bc]
cmp eax, 3
jne 0x101391ab
movss xmm0, dword [esp + 0x20]
mov eax, dword [esp + 0x54]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [esp + 0x34]
push eax
push eax
mov eax, dword [esp + 0x70]
subss xmm0, dword [0x101ff208]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x24]
jmp 0x10139235
cmp eax, 4
jne 0x1013925a
movss xmm0, dword [esp + 0x30]
mov ecx, edi
subss xmm0, dword [0x101ff208]
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x44]
push esi
push esi
push eax
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x44]
push eax
movss dword [esp + 0x28], xmm0
lea eax, [esp + 0x24]
movss xmm0, dword [esp + 0x2c]
push eax
movss dword [esp + 0x20], xmm0
lea eax, [esp + 0x20]
movss xmm0, dword [esp + 0x38]
push eax
movss dword [esp + 0x28], xmm0
call fcn.10168180
movss xmm0, dword [esp + 0x20]
mov eax, dword [esp + 0x44]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [0x101ff2ec]
push esi
push esi
push eax
push eax
lea eax, [esp + 0x24]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x34]
mov ecx, edi
push eax
lea eax, [esp + 0x20]
movss dword [esp + 0x24], xmm0
push eax
call fcn.10168180
cmp dword [0x10227c68], 0x10
mov edx, 0x10227c54
movups xmm3, xmmword [esp + 0x70]
cmovae edx, dword [0x10227c54]
movss xmm1, dword [0x101ff140]
xorps xmm0, xmm0
comiss xmm0, xmm3
jbe 0x10139287
xorps xmm2, xmm2
jmp 0x1013928e
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm4, dword [0x101ff458]
movss xmm3, dword [0x101ff0d4]
movss xmm5, dword [esp + 0x5c]
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si ecx, xmm2
shl ecx, 0x10
comiss xmm0, xmm5
jbe 0x101392bd
xorps xmm2, xmm2
jmp 0x101392c4
movaps xmm2, xmm1
minss xmm2, xmm5
movss xmm5, dword [esp + 0x60]
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x101392e5
xorps xmm2, xmm2
jmp 0x101392ec
movaps xmm2, xmm1
minss xmm2, xmm5
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x64]
or ecx, eax
comiss xmm0, xmm2
ja 0x1013930c
minss xmm1, xmm2
movaps xmm0, xmm1
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [0x101ff2b8]
shl esi, 0x18
or esi, ecx
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x28]
mulss xmm0, xmm3
addss xmm0, dword [esp + 0x34]
subss xmm0, dword [0x101ff268]
movss dword [esp + 0x48], xmm0
test esi, 0xff000000
je 0x101393ab
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x68], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10139360
sub ecx, dword [esp + 0x68]
add ecx, edx
cmp edx, ecx
je 0x101393ab
push dword [esp + 0x48]
mov eax, dword [edi + 0x2c]
push dword [esp + 0x48]
movups xmm0, xmmword [edi + 0x60]
push 0
movss xmm2, dword [eax + 0xc]
push ecx
mov dword [esp], 0
push ecx
push edx
lea ecx, [esp + 0x88]
push ecx
mov ecx, dword [eax + 8]
push esi
push edi
movups xmmword [esp + 0x94], xmm0
call fcn.1016ac50
call fcn.1015e620
call fcn.1015e0b0
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.1019d163
mov esp, ebp
pop ebp
ret
call fcn.101a26e6
int3