Function at 0x1012b860
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 [0x101f90c0]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [0x10214408]
push esi
push edi
cmp byte [eax + 0x354f], 0
je 0x1012bff5
mov eax, dword [0x10214410]
lea edx, [esp + 0x68]
push edx
lea edx, [esp + 0x44]
push edx
mov ecx, dword [eax + 0x5c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xb0]
call eax
mov eax, dword [0x103d8bec]
xor edx, edx
push str.Background
mov eax, dword [eax + 0x1d40]
mov ecx, dword [eax]
call fcn.10147c40
mov ecx, dword [0x101e332c]
mov esi, eax
mov dword [esp + 0x68], ecx
mov cx, word [0x101e3330]
mov word [esp + 0x6c], cx
test ch, ch
je 0x1012b90e
xor edx, edx
mov dword [esp + 0x2c], edx
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [esp + 0x2c]
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x68], cl
inc edx
mov dword [esp + 0x2c], edx
cmp edx, 6
jl 0x1012b8e5
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 0x1012b933
sub ecx, edx
lea eax, [esp + 0x68]
push ecx
push eax
lea ecx, [esp + 0x78]
call fcn.10026930
cmp dword [esp + 0x84], 0xf
lea ecx, [esp + 0x70]
push 0xc02bb
cmova ecx, dword [esp + 0x74]
xor edx, edx
call fcn.1014dcf0
mov ecx, dword [esp + 0x84]
cmp ecx, 0xf
jbe 0x1012b9a1
mov edx, dword [esp + 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1012b997
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012c009
push ecx
push edx
call fcn.1018e3c3
add esp, 8
mov ecx, dword [0x10214414]
mov ecx, dword [ecx + 0x40]
call fcn.10150440
mov eax, dword [0x103d8bec]
sub esp, 0x18
mov edx, esp
mov eax, dword [eax + 0x1bdc]
movss xmm0, dword [eax + 0xc]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [eax + 0x10]
mov eax, dword [0x10214408]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [eax + 0x37c4]
divss xmm0, dword [0x101eb5a0]
mov ecx, dword [eax + 0x37b8]
movss dword [esp + 0x54], xmm0
movups xmm0, xmmword [eax + 0x37a8]
movzx eax, byte [eax + 0x37bc]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], ecx
mov byte [edx + 0x14], al
call fcn.100b3a00
mov edx, dword [0x10214408]
sub esp, 0x18
movaps xmm0, xmmword [0x101ebbc0]
mov ecx, esp
movups xmmword [esp + 0x88], xmm0
mov dword [esp + 0x48], eax
mov eax, dword [edx + 0x37b8]
movups xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [edx + 0x37a8]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
movzx eax, byte [edx + 0x37bc]
xorps xmm0, xmm0
mov byte [ecx + 0x14], al
call fcn.100b3b80
mov ecx, dword [0x10214408]
sub esp, 0x18
mov edx, esp
mov edi, eax
movups xmm1, xmmword [ecx + 0x37a8]
mov eax, dword [ecx + 0x37b8]
movss xmm0, dword [ecx + 0x37b4]
mulss xmm0, dword [0x101eb2e4]
movups xmmword [edx], xmm1
mov dword [edx + 0x10], eax
movzx eax, byte [ecx + 0x37bc]
mov byte [edx + 0x14], al
call fcn.100b3b80
mov dword [esp + 0x68], eax
sub esp, 0x18
mov eax, dword [0x10214408]
mov edx, esp
movups xmm0, xmmword [eax + 0x37a8]
mov ecx, dword [eax + 0x37b8]
movzx eax, byte [eax + 0x37bc]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], ecx
mov byte [edx + 0x14], al
call fcn.100b3a00
cmp dword [0x10214430], 0xf
mov ecx, dword [0x103d8bec]
mov dword [esp + 0x48], eax
mov eax, 0x1021441c
cmova eax, dword [0x1021441c]
movss xmm5, dword [ecx + 0x1978]
movss dword [esp + 0x2c], xmm5
test eax, eax
jne 0x1012bafd
xorps xmm6, xmm6
jmp 0x1012bb50
movss xmm3, dword [0x101eb6cc]
movaps xmm2, xmm5
push 0
push 0
push eax
push ecx
mov ecx, dword [ecx + 0x1974]
lea eax, [esp + 0x60]
mov dword [esp], 0xbf800000
push eax
call fcn.1015cd90
movss xmm0, dword [esp + 0x50]
addss xmm0, dword [0x101eb34c]
movss xmm5, dword [esp + 0x54]
mov ecx, dword [0x103d8bec]
movss dword [esp + 0x2c], xmm5
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movd xmm1, dword [esp + 0x40]
xorps xmm4, xmm4
mov eax, dword [0x10214408]
movss xmm7, dword [0x101eb498]
cvtdq2ps xmm1, xmm1
cmp byte [eax + 0x3548], 0
subss xmm1, xmm6
subss xmm1, dword [0x101eb4f0]
je 0x1012bb8f
movaps xmm0, xmm5
mulss xmm0, dword [0x101eb3f8]
addss xmm0, xmm7
jmp 0x1012bb92
xorps xmm0, xmm0
addss xmm0, dword [0x101eb4b8]
mov ecx, dword [ecx + 0x1bdc]
lea edx, [esp + 0x40]
push 0
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x48], xmm0
call fcn.10150600
mov eax, dword [0x10214408]
cmp dword [eax + 0x37c0], 0
je 0x1012bbc8
xorps xmm7, xmm7
movss xmm0, dword [esp + 0x3c]
comiss xmm4, xmm0
ja 0x1012bbdf
movss xmm4, dword [0x101eb354]
minss xmm4, xmm0
movss xmm1, dword [esp + 0x34]
mulss xmm4, dword [0x101eb62c]
addss xmm6, xmm1
push 0
subss xmm1, dword [0x101eb488]
push ecx
addss xmm4, dword [0x101eb2e4]
movaps xmm0, xmm6
movss dword [esp], xmm7
addss xmm0, dword [0x101eb4d8]
mov ecx, esi
movss dword [esp + 0x48], xmm6
movss dword [esp + 0x28], xmm1
cvttss2si eax, xmm4
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x18], xmm0
movaps xmm0, xmm5
mulss xmm0, dword [0x101eb3f8]
shl eax, 0x18
push eax
lea eax, [esp + 0x1c]
movss dword [esp + 0x24], xmm1
addss xmm0, dword [esp + 0x44]
push eax
lea eax, [esp + 0x28]
push eax
movaps xmm3, xmm0
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x4c]
subss xmm3, dword [0x101eb488]
subss xmm0, dword [0x101eb3f8]
movss dword [esp + 0x50], xmm3
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x30], xmm0
call fcn.1015a320
mov eax, dword [0x10214408]
movss xmm3, dword [0x101eb458]
mov eax, dword [eax + 0x37c0]
test eax, eax
jne 0x1012bd1e
movss xmm0, dword [esp + 0x40]
lea eax, [esp + 0x18]
addss xmm0, dword [0x101eb4dc]
movss xmm1, dword [esp + 0x50]
sub esp, 0xc
subss xmm1, xmm3
mov ecx, esi
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x40]
subss xmm0, dword [0x101eb498]
mov dword [esp + 8], 0x3fc00000
mov dword [esp], 0x40a00000
push dword [esp + 0x3c]
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x48]
subss xmm0, xmm3
push eax
lea eax, [esp + 0x24]
push eax
movss dword [esp + 0x2c], xmm0
call fcn.1015a230
jmp 0x1012bdaa
cmp eax, 1
je 0x1012bd5b
cmp eax, 2
jne 0x1012bd51
movss xmm0, dword [esp + 0x24]
movss xmm1, dword [esp + 0x50]
movss dword [esp + 0x18], xmm0
movaps xmm0, xmm1
subss xmm0, dword [0x101eb498]
subss xmm1, xmm3
movss dword [esp + 0x14], xmm1
jmp 0x1012bd7b
cmp eax, 3
je 0x1012bd5b
cmp eax, 4
jne 0x1012bdaa
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [0x101eb354]
movss dword [esp + 0x14], xmm0
movss xmm2, dword [esp + 0x20]
lea eax, [esp + 0x18]
push ecx
mov dword [esp], 0x40000000
mov ecx, esi
push dword [esp + 0x34]
movss dword [esp + 0x24], xmm0
push eax
lea eax, [esp + 0x1c]
movss dword [esp + 0x1c], xmm2
push eax
call fcn.1015a100
mov eax, dword [0x10214408]
mov eax, dword [eax + 0x37c0]
cmp eax, 3
jne 0x1012bdef
movss xmm0, dword [esp + 0x24]
mov eax, dword [esp + 0x68]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [esp + 0x38]
subss xmm0, dword [0x101eb3f8]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x20]
jmp 0x1012be73
cmp eax, 4
jne 0x1012be9a
movss xmm0, dword [esp + 0x34]
mov ecx, esi
subss xmm0, dword [0x101eb3f8]
mov eax, dword [esp + 0x48]
push edi
push edi
push eax
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x48]
push eax
movss dword [esp + 0x2c], xmm0
lea eax, [esp + 0x28]
movss xmm0, dword [esp + 0x30]
push eax
movss dword [esp + 0x24], xmm0
lea eax, [esp + 0x24]
movss xmm0, dword [esp + 0x3c]
push eax
movss dword [esp + 0x2c], xmm0
call fcn.1015a480
movss xmm0, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x101eb4cc]
push edi
push edi
push eax
push eax
lea eax, [esp + 0x28]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x38]
mov ecx, esi
push eax
lea eax, [esp + 0x24]
movss dword [esp + 0x28], xmm0
push eax
call fcn.1015a480
cmp dword [0x10214430], 0xf
mov edx, 0x1021441c
movups xmm3, xmmword [esp + 0x70]
cmova edx, dword [0x1021441c]
movss xmm1, dword [0x101eb354]
xorps xmm0, xmm0
comiss xmm0, xmm3
jbe 0x1012bec7
xorps xmm2, xmm2
jmp 0x1012bece
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm4, dword [0x101eb62c]
movss xmm3, dword [0x101eb2e4]
movss xmm5, dword [esp + 0x5c]
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si ecx, xmm2
shl ecx, 0x10
comiss xmm0, xmm5
jbe 0x1012befd
xorps xmm2, xmm2
jmp 0x1012bf04
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 0x1012bf25
xorps xmm2, xmm2
jmp 0x1012bf2c
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 0x1012bf4c
minss xmm1, xmm2
movaps xmm0, xmm1
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si edi, xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [0x101eb498]
shl edi, 0x18
or edi, ecx
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x2c]
mulss xmm0, xmm3
addss xmm0, dword [esp + 0x38]
subss xmm0, dword [0x101eb458]
movss dword [esp + 0x4c], xmm0
test edi, 0xff000000
je 0x1012bfeb
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x68], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1012bfa0
sub ecx, dword [esp + 0x68]
add ecx, edx
cmp edx, ecx
je 0x1012bfeb
push dword [esp + 0x4c]
mov eax, dword [esi + 0x2c]
push dword [esp + 0x4c]
movups xmm0, xmmword [esi + 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 edi
push esi
movups xmmword [esp + 0x94], xmm0
call fcn.1015cf50
call fcn.101504f0
call fcn.1014ff80
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.1018e0ca
mov esp, ebp
pop ebp
ret
call fcn.101934f6
int3