Function at 0x1000ddf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100921d6
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push esi
push edi
mov eax, dword [0x100bb084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x14]
sub edx, dword [esi + 0x10]
lea eax, [ecx + 1]
cmp eax, edx
jbe 0x1000de31
xor bl, bl
jmp 0x1000de37
mov eax, dword [esi + 0x10]
mov bl, byte [ecx + eax]
lea edx, [ecx + 1]
mov dword [esi + 8], edx
lea eax, [edx + 4]
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
cmp eax, ecx
jbe 0x1000de53
mov dword [ebp - 0x10], 0
jmp 0x1000de5c
mov eax, dword [esi + 0x10]
mov eax, dword [edx + eax]
mov dword [ebp - 0x10], eax
add edx, 4
mov dword [esi + 8], edx
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
lea eax, [edx + 4]
cmp eax, ecx
jbe 0x1000de73
xor edi, edi
jmp 0x1000de79
mov eax, dword [esi + 0x10]
mov edi, dword [edx + eax]
lea eax, [edx + 4]
mov dword [esi + 8], eax
cmp bl, 1
je 0x1000de96
cmp bl, 2
je 0x1000de96
mov ecx, dword [0x100bfe58]
mov eax, dword [0x100bfe54]
jmp 0x1000dec1
mov ecx, dword [0x100bfe58]
test ecx, ecx
je 0x1000deb5
mov eax, dword [ecx + 0x58]
test eax, eax
je 0x1000deb5
push edi
mov ecx, eax
call fcn.10049880
mov ecx, dword [0x100bfe58]
mov eax, dword [0x100bfe54]
test eax, eax
je 0x1000dec1
mov dword [eax + 0x4c], edi
cmp bl, 3
je 0x1000decb
cmp bl, 4
jne 0x1000dee8
test ecx, ecx
je 0x1000dee1
mov ecx, dword [ecx + 0x58]
test ecx, ecx
je 0x1000dee1
push edi
call fcn.10049980
mov eax, dword [0x100bfe54]
test eax, eax
je 0x1000dee8
mov dword [eax + 0x50], edi
movzx eax, bl
dec eax
cmp eax, 3
ja case.default.0x1000def5
jmp dword [eax*4 + 0x1000e1a4]
movaps xmm0, xmmword [0x100af370]
xor ecx, ecx
push dword [ebp - 0x10]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x44100c03
mov dword [ebp - 0x18], 0xc170527
mov word [ebp - 0x14], 0x4a
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x18
jb 0x1000df20
sub esp, 0x18
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x2b]
mov ecx, esp
push eax
call fcn.10004b40
lea eax, [ebp - 0x80]
push eax
call fcn.100043b0
add esp, 0x20
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x1000df5a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x44]
call fcn.10004b40
mov ecx, 0x10b81f8
mov byte [ebp - 4], 1
call fcn.10014e20
test eax, eax
je 0x1000df92
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x1000df92
push 0
push 0
push 0xff6565ff
lea eax, [ebp - 0x44]
push eax
call dword [0x100ad83c]
lea ecx, [ebp - 0x44]
call fcn.100044d0
lea ecx, [ebp - 0x80]
jmp 0x1000e18c
movaps xmm0, xmmword [str._sPLK]
xor ecx, ecx
push dword [ebp - 0x10]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x574c5e7c
mov word [ebp - 0x30], 0x11
nop
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x14
jb 0x1000dfc0
sub esp, 0x18
mov byte [ebp - 0x2f], 0
lea eax, [ebp - 0x43]
mov ecx, esp
push eax
call fcn.10004b40
lea eax, [ebp - 0x2c]
push eax
call fcn.100043b0
add esp, 0x20
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x1000dffa
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x80]
call fcn.10004b40
mov ecx, 0x10b81f8
mov byte [ebp - 4], 3
call fcn.10014e20
test eax, eax
je 0x1000e032
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x1000e032
push 0
push 0
push 0xffff3b3b
lea eax, [ebp - 0x80]
push eax
call dword [0x100ad83c]
lea ecx, [ebp - 0x80]
call fcn.100044d0
lea ecx, [ebp - 0x2c]
jmp 0x1000e18c
movaps xmm0, xmmword [0x100afa60]
xor ecx, ecx
push dword [ebp - 0x10]
movups xmmword [ebp - 0x4c], xmm0
movaps xmm0, xmmword [str._QoSZH]
movups xmmword [ebp - 0x3c], xmm0
nop dword [eax]
mov al, byte [ebp - 0x4c]
xor byte [ebp + ecx - 0x4b], al
inc ecx
cmp ecx, 0x1e
jb 0x1000e060
sub esp, 0x18
mov byte [ebp - 0x2d], 0
lea eax, [ebp - 0x4b]
mov ecx, esp
push eax
call fcn.10004b40
lea eax, [ebp - 0x2c]
push eax
call fcn.100043b0
add esp, 0x20
mov dword [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x1000e09a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x80]
call fcn.10004b40
mov ecx, 0x10b81f8
mov byte [ebp - 4], 5
call fcn.10014e20
test eax, eax
je 0x1000e032
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x1000e032
push 0
push 0
push 0xff6565ff
jmp 0x1000e028
movaps xmm0, xmmword [0x100af400]
xor ecx, ecx
push dword [ebp - 0x10]
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0x22401406
mov dword [ebp - 0x54], 0xe010c01
mov dword [ebp - 0x50], 0x4e0503
nop word [eax + eax]
mov al, byte [ebp - 0x68]
xor byte [ebp + ecx - 0x67], al
inc ecx
cmp ecx, 0x1a
jb 0x1000e100
sub esp, 0x18
mov byte [ebp - 0x4d], 0
lea eax, [ebp - 0x67]
mov ecx, esp
push eax
call fcn.10004b40
lea eax, [ebp - 0xb0]
push eax
call fcn.100043b0
add esp, 0x20
mov dword [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
jb 0x1000e13d
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x98]
call fcn.10004b40
mov ecx, 0x10b81f8
mov byte [ebp - 4], 7
call fcn.10014e20
test eax, eax
je 0x1000e17b
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x1000e17b
push 0
push 0
push 0xffff3b3b
lea eax, [ebp - 0x98]
push eax
call dword [0x100ad83c]
lea ecx, [ebp - 0x98]
call fcn.100044d0
lea ecx, [ebp - 0xb0]
call fcn.100044d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret