Function at 0x1012b850
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 0x1012bfe5
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.10147de0
mov ecx, dword [0x101e36f0]
mov esi, eax
mov dword [esp + 0x68], ecx
mov cx, word [0x101e36f4]
mov word [esp + 0x6c], cx
test ch, ch
je 0x1012b8fe
xor edx, edx
mov dword [esp + 0x2c], edx
mov eax, 0xa0a0a0a1
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [esp + 0x2c]
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [esp + edx + 0x68], cl
inc edx
mov dword [esp + 0x2c], edx
cmp edx, 6
jl 0x1012b8d5
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 0x1012b923
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.1014de90
mov ecx, dword [esp + 0x84]
cmp ecx, 0xf
jbe 0x1012b991
mov edx, dword [esp + 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1012b987
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012bff9
push ecx
push edx
call fcn.1018e573
add esp, 8
mov ecx, dword [0x10214414]
mov ecx, dword [ecx + 0x40]
call fcn.101505e0
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 [0x101eb580]
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.100b3a60
mov edx, dword [0x10214408]
sub esp, 0x18
movaps xmm0, xmmword [0x101ebbb0]
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.100b3be0
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 [0x101eb2c4]
movups xmmword [edx], xmm1
mov dword [edx + 0x10], eax
movzx eax, byte [ecx + 0x37bc]
mov byte [edx + 0x14], al
call fcn.100b3be0
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.100b3a60
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 0x1012baed
xorps xmm6, xmm6
jmp 0x1012bb40
movss xmm3, dword [0x101eb6ac]
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.1015cf30
movss xmm0, dword [esp + 0x50]
addss xmm0, dword [0x101eb32c]
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 [0x101eb478]
cvtdq2ps xmm1, xmm1
cmp byte [eax + 0x3548], 0
subss xmm1, xmm6
subss xmm1, dword [0x101eb4d0]
je 0x1012bb7f
movaps xmm0, xmm5
mulss xmm0, dword [0x101eb3d8]
addss xmm0, xmm7
jmp 0x1012bb82
xorps xmm0, xmm0
addss xmm0, dword [0x101eb498]
mov ecx, dword [ecx + 0x1bdc]
lea edx, [esp + 0x40]
push 0
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x48], xmm0
call fcn.101507a0
mov eax, dword [0x10214408]
cmp dword [eax + 0x37c0], 0
je 0x1012bbb8
xorps xmm7, xmm7
movss xmm0, dword [esp + 0x3c]
comiss xmm4, xmm0
ja 0x1012bbcf
movss xmm4, dword [0x101eb334]
minss xmm4, xmm0
movss xmm1, dword [esp + 0x34]
mulss xmm4, dword [0x101eb60c]
addss xmm6, xmm1
push 0
subss xmm1, dword [0x101eb468]
push ecx
addss xmm4, dword [0x101eb2c4]
movaps xmm0, xmm6
movss dword [esp], xmm7
addss xmm0, dword [0x101eb4b8]
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 [0x101eb3d8]
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 [0x101eb468]
subss xmm0, dword [0x101eb3d8]
movss dword [esp + 0x50], xmm3
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x30], xmm0
call fcn.1015a4c0
mov eax, dword [0x10214408]
movss xmm3, dword [0x101eb438]
mov eax, dword [eax + 0x37c0]
test eax, eax
jne 0x1012bd0e
movss xmm0, dword [esp + 0x40]
lea eax, [esp + 0x18]
addss xmm0, dword [0x101eb4bc]
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 [0x101eb478]
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.1015a3d0
jmp 0x1012bd9a
cmp eax, 1
je 0x1012bd4b
cmp eax, 2
jne 0x1012bd41
movss xmm0, dword [esp + 0x24]
movss xmm1, dword [esp + 0x50]
movss dword [esp + 0x18], xmm0
movaps xmm0, xmm1
subss xmm0, dword [0x101eb478]
subss xmm1, xmm3
movss dword [esp + 0x14], xmm1
jmp 0x1012bd6b
cmp eax, 3
je 0x1012bd4b
cmp eax, 4
jne 0x1012bd9a
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [0x101eb334]
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.1015a2a0
mov eax, dword [0x10214408]
mov eax, dword [eax + 0x37c0]
cmp eax, 3
jne 0x1012bddf
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 [0x101eb3d8]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x20]
jmp 0x1012be63
cmp eax, 4
jne 0x1012be8a
movss xmm0, dword [esp + 0x34]
mov ecx, esi
subss xmm0, dword [0x101eb3d8]
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.1015a620
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 [0x101eb4ac]
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.1015a620
cmp dword [0x10214430], 0xf
mov edx, 0x1021441c
movups xmm3, xmmword [esp + 0x70]
cmova edx, dword [0x1021441c]
movss xmm1, dword [0x101eb334]
xorps xmm0, xmm0
comiss xmm0, xmm3
jbe 0x1012beb7
xorps xmm2, xmm2
jmp 0x1012bebe
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm4, dword [0x101eb60c]
movss xmm3, dword [0x101eb2c4]
movss xmm5, dword [esp + 0x5c]
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si ecx, xmm2
shl ecx, 0x10
comiss xmm0, xmm5
jbe 0x1012beed
xorps xmm2, xmm2
jmp 0x1012bef4
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 0x1012bf15
xorps xmm2, xmm2
jmp 0x1012bf1c
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 0x1012bf3c
minss xmm1, xmm2
movaps xmm0, xmm1
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si edi, xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [0x101eb478]
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 [0x101eb438]
movss dword [esp + 0x4c], xmm0
test edi, 0xff000000
je 0x1012bfdb
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x68], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1012bf90
sub ecx, dword [esp + 0x68]
add ecx, edx
cmp edx, ecx
je 0x1012bfdb
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.1015d0f0
call fcn.10150690
call fcn.10150120
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.1018e27a
mov esp, ebp
pop ebp
ret
call fcn.101936a6
int3