Function at 0x100140b7
Capabilities:
Encode data using xor

Disassembly:
push 0x64
mov eax, 0x10070c3a
call fcn.10039b20
mov esi, ecx
mov al, byte [esi + 0x20]
xor ebx, ebx
mov dword [ebp - 0x58], 0xe10
push 0x3c
pop ecx
test al, al
je 0x10014286
mov eax, dword [esi + 0x24]
test eax, eax
jle 0x100140e7
dec eax
mov dword [esi + 0x24], eax
mov edi, dword [esi + 0x24]
test edi, edi
js 0x1001427a
mov eax, edi
mov dword [ebp - 0x18], 0xf
cdq
idiv dword [ebp - 0x58]
push 0x3c
mov eax, edx
mov dword [ebp - 0x1c], ebx
cdq
idiv ecx
mov byte [ebp - 0x2c], bl
mov ecx, eax
mov eax, edi
cdq
pop edi
idiv edi
push 0xa
pop edi
mov dword [ebp - 4], ebx
push edx
push ecx
cmp ecx, edi
jae 0x10014179
cmp edx, edi
mov edx, ebx
jae 0x10014151
mov cl, 0x73
mov dword [ebp - 0x38], 0x17564373
mov dword [ebp - 0x34], 0x17564349
mov byte [ebp - 0x30], bl
xor cl, byte [ebp + edx - 0x37]
mov byte [ebp + edx - 0x37], cl
inc edx
cmp edx, 7
jae 0x1001414c
mov cl, byte [ebp - 0x38]
jmp 0x10014139
mov byte [ebp - 0x30], bl
jmp 0x100141d0
mov cl, 0x62
mov dword [ebp - 0x38], 0x6475262
mov dword [ebp - 0x34], 0x64758
xor cl, byte [ebp + edx - 0x37]
mov byte [ebp + edx - 0x37], cl
inc edx
cmp edx, 6
jae 0x10014174
mov cl, byte [ebp - 0x38]
jmp 0x10014161
mov byte [ebp - 0x31], bl
jmp 0x100141d0
mov ecx, ebx
cmp edx, edi
jae 0x100141ac
push 0x3c
pop eax
mov dl, 0x58
mov word [ebp - 0x38], 0x7d58
mov byte [ebp - 0x36], al
mov word [ebp - 0x35], 0x6862
mov byte [ebp - 0x33], 0x7d
mov byte [ebp - 0x32], al
mov byte [ebp - 0x31], bl
xor byte [ebp + ecx - 0x37], dl
inc ecx
cmp ecx, 6
jae 0x10014174
mov dl, byte [ebp - 0x38]
jmp 0x1001419d
mov dl, 0x1a
mov dword [ebp - 0x38], 0x207e3f1a
mov word [ebp - 0x34], 0x7e3f
mov byte [ebp - 0x32], bl
xor byte [ebp + ecx - 0x37], dl
inc ecx
cmp ecx, 5
jae 0x100141cd
mov dl, byte [ebp - 0x38]
jmp 0x100141be
mov byte [ebp - 0x32], bl
sub esp, 0x18
lea eax, [ebp - 0x37]
mov ecx, esp
push eax
call fcn.10002907
lea eax, [ebp - 0x54]
push eax
call fcn.100072fa
add esp, 0x24
lea ecx, [ebp - 0x2c]
push eax
call fcn.1000472a
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.100027bc
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
movaps xmm0, xmmword [str.4g_UZP_ZS]
mov ecx, ebx
cmovae eax, dword [ebp - 0x2c]
push eax
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0x6947116f
mov byte [ebp - 0x40], bl
mov al, byte [ebp + ecx - 0x53]
xor al, byte [ebp - 0x54]
mov byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0x13
jb 0x10014221
sub esp, 0x18
mov byte [ebp - 0x40], bl
lea eax, [ebp - 0x53]
mov ecx, esp
push eax
call fcn.10002907
lea eax, [ebp - 0x70]
push eax
call fcn.100072fa
add esp, 0x20
mov byte [ebp - 4], 1
mov edx, eax
mov ecx, dword [esi + 8]
call fcn.1000c667
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.100027bc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
push ebx
push 1
call fcn.100027bc
push 0x3c
pop ecx
cmp dword [esi + 0x24], 0
jg 0x10014286
mov byte [esi + 0x20], bl
mov dword [esi + 0x24], ebx
mov al, byte [esi + 0x21]
test al, al
je 0x10014434
movzx eax, word [esi + 0x28]
test ax, ax
jle 0x1001429f
dec eax
mov word [esi + 0x28], ax
movzx edi, word [esi + 0x28]
mov eax, edi
test ax, ax
js 0x10014425
cwde
cdq
idiv dword [ebp - 0x58]
push 0x3c
mov eax, edx
mov dword [ebp - 0x18], 0xf
cdq
idiv ecx
mov dword [ebp - 0x1c], ebx
movzx ecx, ax
mov eax, edi
cwde
cdq
pop edi
idiv edi
mov byte [ebp - 0x2c], bl
movzx eax, dx
push 0xa
pop edx
push eax
push ecx
cmp cx, dx
mov dword [ebp - 4], 2
mov ecx, ebx
jae 0x10014337
cmp ax, dx
jae 0x10014313
mov dl, 0x5d
mov dword [ebp - 0x38], 0x39786d5d
mov dword [ebp - 0x34], 0x39786d67
mov byte [ebp - 0x30], bl
xor byte [ebp + ecx - 0x37], dl
inc ecx
cmp ecx, 7
jae 0x1001430e
mov dl, byte [ebp - 0x38]
jmp 0x100142ff
mov byte [ebp - 0x30], bl
jmp 0x1001437f
mov dl, 0x32
mov dword [ebp - 0x38], 0x56170232
mov dword [ebp - 0x34], 0x561708
xor byte [ebp + ecx - 0x37], dl
inc ecx
cmp ecx, 6
jae 0x10014332
mov dl, byte [ebp - 0x38]
jmp 0x10014323
mov byte [ebp - 0x31], bl
jmp 0x1001437f
cmp ax, dx
jae 0x1001435b
mov dl, 0x46
mov dword [ebp - 0x38], 0x7c226346
mov dword [ebp - 0x34], 0x226376
xor byte [ebp + ecx - 0x37], dl
inc ecx
cmp ecx, 6
jae 0x10014332
mov dl, byte [ebp - 0x38]
jmp 0x1001434c
mov dl, 0x4c
mov dword [ebp - 0x38], 0x7628694c
mov word [ebp - 0x34], 0x2869
mov byte [ebp - 0x32], bl
xor byte [ebp + ecx - 0x37], dl
inc ecx
cmp ecx, 5
jae 0x1001437c
mov dl, byte [ebp - 0x38]
jmp 0x1001436d
mov byte [ebp - 0x32], bl
sub esp, 0x18
lea eax, [ebp - 0x37]
mov ecx, esp
push eax
call fcn.10002907
lea eax, [ebp - 0x70]
push eax
call fcn.100072fa
add esp, 0x24
lea ecx, [ebp - 0x2c]
push eax
call fcn.1000472a
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.100027bc
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
movaps xmm0, xmmword [0x10087c30]
mov ecx, ebx
cmovae eax, dword [ebp - 0x2c]
push eax
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0x15433d46
mov word [ebp - 0x40], 0x3b
mov al, byte [ebp + ecx - 0x53]
xor al, byte [ebp - 0x54]
mov byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0x14
jb 0x100143d3
sub esp, 0x18
mov byte [ebp - 0x3f], bl
lea eax, [ebp - 0x53]
mov ecx, esp
push eax
call fcn.10002907
lea eax, [ebp - 0x70]
push eax
call fcn.100072fa
add esp, 0x20
mov byte [ebp - 4], 3
mov edx, eax
mov ecx, dword [esi + 0xc]
call fcn.1000c667
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.100027bc
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.100027bc
cmp word [esi + 0x28], bx
jg 0x10014434
xor eax, eax
mov byte [esi + 0x21], bl
mov word [esi + 0x28], ax
call fcn.10039aca
ret