Function at 0x1010b3d0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x10166b9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov cl, byte [esp + 0x5c]
mov al, byte [esp + 0x5c]
push ebx
push ebp
push esi
xor ebx, ebx
mov byte [esp + 0x1d], cl
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], ebx
mov byte [esp + 0x20], al
mov byte [esp + 0x28], bl
call fcn.1010e6d0
mov eax, 0x89
mov dword [esp + 0x64], 2
cdq
idiv dword [0x1018cd1c]
mov eax, dword [0x1018cd18]
mov word [esp + 0x10], 0x17
mov word [esp + 0x12], bx
mov cl, byte [edx + eax]
mov al, byte [0x10195148]
test al, 1
mov byte [0x1018cd2c], cl
jne 0x1010b4ae
or al, 1
push 6
mov byte [0x10195148], al
call fcn.1013c2df
add esp, 4
mov dword [0x1019514c], eax
mov edi, 0x30
xor esi, esi
mov bp, word [esp + esi + 0x10]
push edi
mov edx, ebp
mov ecx, 0x1019514c
and edx, 0xffff
push edx
call fcn.1004a650
mov ecx, dword [0x1019514c]
xor eax, ebp
xor eax, edi
xor edi, edi
mov word [esi + ecx], ax
mov eax, dword [0x1019514c]
mov di, word [esi + eax]
add esi, 2
cmp esi, 4
jb 0x1010b463
push 0x1010d9a0
mov word [eax + 4], bx
call fcn.1013c36b
add esp, 4
mov dl, byte [esp + 0x6c]
push ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x34], dl
call fcn.1000bc70
mov bl, 3
lea eax, [esp + 0x30]
mov byte [esp + 0x64], bl
push eax
lea ecx, [esp + 0x48]
mov word [esp + 0x44], 0x22
call fcn.10023d70
lea ecx, [esp + 0x40]
lea edx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 5
call fcn.1010fe30
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.10113760
mov esi, dword [esp + 0x18]
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], bl
call fcn.1000bc70
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], 2
call fcn.1000bc70
mov edi, dword [0x1019514c]
lea ebp, [esi + 0x10]
push edi
call fcn.1013c2c2
add esp, 4
mov esi, eax
mov ecx, ebp
push 1
push esi
call fcn.1000c010
test al, al
je 0x1010b576
mov ecx, dword [ebp + 4]
xor ebx, ebx
cmp esi, ebx
mov eax, edi
jbe 0x1010b567
sub ecx, edi
mov edx, esi
mov di, word [eax]
mov word [ecx + eax], di
add eax, 2
dec edx
jne 0x1010b55a
mov edx, dword [ebp + 4]
mov dword [ebp + 8], esi
mov word [edx + esi*2], bx
lea eax, [edx + esi*2]
jmp 0x1010b578
xor ebx, ebx
mov eax, 0x3a3
mov esi, dword [esp + 0x6c]
cdq
idiv dword [0x1018cd1c]
mov eax, dword [0x1018cd18]
mov cl, byte [edx + eax]
mov dl, byte [esp + 0x20]
mov al, byte [esp + 0x21]
mov byte [0x1018cd2c], cl
mov cl, byte [esp + 0x28]
mov byte [esi], dl
mov byte [esi + 8], cl
mov ecx, esi
mov byte [esi + 1], al
call fcn.1010e6d0
lea edx, [esp + 0x20]
mov ecx, esi
push edx
call fcn.1010e5e0
mov byte [esp + 0x64], 2
mov dword [esp + 0x58], 1
mov eax, dword [esp + 0x24]
mov dword [esp + 0x64], ebx
push eax
mov ecx, dword [eax]
lea eax, [esp + 0x70]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.1010e490
mov ecx, dword [esp + 0x24]
push ecx
call fcn.101307a0
add esp, 4
lea ecx, [esp + 0x6c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
xor edi, edi
call fcn.1013092f
mov eax, dword [0x10193fd4]
mov dword [esp + 0x64], 9
dec eax
mov dword [0x10193fd4], eax
jne 0x1010b625
mov edi, dword [0x10193fd0]
mov dword [0x10193fd0], ebx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 0
call fcn.101309cb
cmp edi, ebx
je 0x1010b640
push edi
call fcn.101307a0
add esp, 4
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret