Function at 0x100bd410
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017578d
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x101cfdb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
push 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10047940
lea ecx, [ebp - 0x2c]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x2c], eax
mov dword [eax], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 1
mov ecx, esi
mov byte [esi + 4], 0
call fcn.1004dcd0
mov bl, al
mov ecx, esi
lea eax, [ebp - 0x2c]
push eax
call fcn.1007e900
mov esi, eax
mov ecx, esi
call fcn.1004dcd0
mov ecx, esi
mov bh, al
call fcn.1004dcd0
movzx ecx, bl
sub ecx, 1
je 0x100bd59e
sub ecx, 1
jne 0x100bd6c4
movaps xmm0, xmmword [0x101b80c0]
cmp dword [ebp - 0x14], 0x10
movzx eax, al
push eax
movzx eax, bh
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x50], 0x5b0d0f
cmovae eax, dword [ebp - 0x28]
movups xmmword [ebp - 0x70], xmm0
push eax
movaps xmm0, xmmword [str.MWQK]
movups xmmword [ebp - 0x60], xmm0
mov al, byte [ebp - 0x70]
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 0x22
jb 0x100bd502
sub esp, 0x1c
mov byte [ebp - 0x4d], 0
lea eax, [ebp - 0x6f]
mov ecx, esp
push eax
call fcn.100461a0
lea eax, [ebp - 0x48]
push eax
call fcn.100492e0
add esp, 0x2c
mov byte [ebp - 4], 3
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x74], ecx
jb 0x100bd542
mov ecx, dword [ecx]
mov dword [ebp - 0x74], ecx
mov ebx, ecx
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100bd547
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.10117010
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x78], edi
call fcn.101193b0
push ebx
push dword [ebp - 0x74]
lea esi, [edi + 0x20]
push esi
call fcn.10118c50
add esp, 0x1c
mov dword [edi + 0x14], ebx
mov dword [edi + 4], esi
mov dword [edi + 0x18], 0x1f
mov ecx, dword ds:[0xf3690c]
push 0
push 0xffffffffffffffff
push dword [ebp - 0x78]
mov eax, dword [0x101b06ec]
call eax
jmp 0x100bd677
cmp dword [ebp - 0x14], 0x10
movaps xmm0, xmmword [0x101b8460]
movzx eax, al
push eax
movzx eax, bh
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x50], 0x33263967
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
movups xmmword [ebp - 0x70], xmm0
push eax
movaps xmm0, xmmword [0x101b79e0]
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x4c], 0x6731
mov byte [ebp - 0x4a], 0
nop dword [eax + eax]
mov al, byte [ebp - 0x70]
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 0x25
jb 0x100bd5e0
sub esp, 0x1c
mov byte [ebp - 0x4a], 0
lea eax, [ebp - 0x6f]
mov ecx, esp
push eax
call fcn.100461a0
lea eax, [ebp - 0x48]
push eax
call fcn.100492e0
add esp, 0x2c
mov byte [ebp - 4], 2
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x74], ecx
jb 0x100bd620
mov ecx, dword [ecx]
mov dword [ebp - 0x74], ecx
mov ebx, ecx
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100bd625
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.10117010
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x78], edi
call fcn.101193b0
push ebx
push dword [ebp - 0x74]
lea esi, [edi + 0x20]
push esi
call fcn.10118c50
add esp, 0x1c
mov dword [edi + 0x14], ebx
mov dword [edi + 4], esi
mov dword [edi + 0x18], 0x1f
mov ecx, dword ds:[0xf3690c]
push 0
push 0xffffffffffffffff
push dword [ebp - 0x78]
mov eax, dword [0x101b06ec]
call eax
push edi
call fcn.101163d0
add esp, 4
lea ecx, [ebp - 0x48]
call fcn.100432e0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x100bd69d
inc eax
push eax
push dword [ebp - 0x44]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x48]
push 8
push eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
call fcn.100479d0
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.100432e0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100bd6e1
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.100479d0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101163c0
mov esp, ebp
pop ebp
ret