Function at 0x1000c665
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
push 0x110
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x20], 0x80000001
mov dword [ebp - 8], ebx
call fcn.1000bcd5
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
cmp esi, ebx
jne 0x1000c69e
xor eax, eax
jmp 0x1000cd29
push 0x14
pop eax
push eax
mov dword [ebp - 0x3c], eax
push 0x116d58
lea eax, [ebp - 0x3c]
push eax
call dword [0x115068]
lea eax, [ebp - 0x88]
push eax
push edi
mov dword [esi + 0x108], edi
call fcn.10013a8f
mov al, byte [ebp - 0x88]
sub al, 0x61
pop ecx
pop ecx
cmp al, 0x19
ja 0x1000c6de
add byte [ebp - 0x88], 0xe0
jmp 0x1000c6ea
mov al, byte [ebp - 0x88]
mov byte [ebp - 0x88], al
mov eax, 0x379
call fcn.10018ac5
mov esi, dword [0x11507c]
mov dword [ebp - 0x10], eax
call esi
call esi
mov edi, dword [0x115064]
cmp dword [ebp + 0xc], ebx
je 0x1000c9f8
mov eax, dword [0x1203c8]
mov eax, dword [eax + 0x110]
push dword [eax]
mov eax, dword [0x1203f0]
push dword [ebp + 0xc]
call dword [eax + 0x60]
test eax, eax
jne 0x1000c9f8
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
mov eax, dword [0x1203f0]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x80000003
call dword [eax + 0x20]
mov esi, dword [0x115074]
push 9
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
push 0x116d60
push ebx
push ebx
call esi
push 0x116d6c
call edi
cmp eax, 0x1f
jbe 0x1000c76f
push 0x1f
pop eax
shr eax, 2
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], eax
cmp eax, ebx
jbe 0x1000c7a6
cmp dword [ebp - 4], ebx
jbe 0x1000c792
call dword [0x115088]
mov ecx, eax
mov eax, dword [ebp - 4]
add ecx, eax
mov dword [ebp + eax*4 - 0x40], ecx
cmp dword [ebp - 4], 0x22db
ja 0x1000c7a6
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jb 0x1000c77c
cmp dword [ebp - 0x1c], ebx
je 0x1000ca2a
push ebx
push dword [ebp - 0x10]
push 0x115fc0
push dword [ebp - 0x1c]
call fcn.1000e52a
add esp, 0x10
push 5
mov dword [ebp - 8], eax
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
push 0x116d78
push ebx
push ebx
call esi
mov word [ebp - 0x34], ax
cmp dword [ebp - 8], ebx
je 0x1000cb4d
lea eax, [ebp - 0x48]
push eax
mov eax, dword [0x1203f0]
push 0x20019
push ebx
push dword [ebp - 8]
push 0x80000003
call dword [eax + 0x14]
test eax, eax
je 0x1000c923
mov edi, 0x863
call fcn.10018add
push ebx
push eax
push 0x115c64
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
call fcn.1000f07e
mov dword [ebp - 8], eax
add esp, 0x10
lea eax, [ebp - 0xc]
call fcn.1000adfb
mov edi, dword [0x115068]
push 0x1c
push 0x116d84
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x4a
call edi
push dword [ebp - 0x1c]
call fcn.1000eea8
pop ecx
push 9
mov dword [ebp - 4], eax
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
push 0x116d98
push ebx
push ebx
call esi
push 0x1c
push 0x116dac
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x4a
call edi
push 0x16
pop eax
push eax
mov dword [ebp - 0x3c], eax
push 0x116dc0
lea eax, [ebp - 0x3c]
push eax
call edi
push dword [ebp - 8]
push dword [ebp - 4]
push 0x80000003
call dword [0x11502c]
test eax, eax
jne 0x1000c8ec
push 0x116dd0
call dword [0x115064]
cmp eax, 0x1f
jbe 0x1000c8b5
push 0x1f
pop eax
shr eax, 2
xor edi, edi
mov dword [ebp - 0xc], eax
cmp eax, ebx
jbe 0x1000c8df
cmp edi, ebx
jbe 0x1000c8d1
call dword [0x115088]
add eax, edi
mov dword [ebp + edi*4 - 0x40], eax
cmp edi, 0x22db
ja 0x1000c8df
inc edi
cmp edi, dword [ebp - 0xc]
jb 0x1000c8c1
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x1000c8ec
mov dword [eax], 1
push 0xfffffffffffffffe
lea eax, [ebp - 8]
call fcn.1000bb9b
push 0xfffffffffffffffe
lea eax, [ebp - 4]
call fcn.1000bb9b
pop ecx
pop ecx
push 0xe
pop eax
push eax
mov dword [ebp - 0x3c], eax
push 0x116de0
lea eax, [ebp - 0x3c]
push eax
call dword [0x115068]
mov edi, dword [0x115064]
jmp 0x1000c9ba
push 0x116dec
call edi
cmp eax, 0x1f
jbe 0x1000c932
push 0x1f
pop eax
shr eax, 2
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], eax
cmp eax, ebx
jbe 0x1000c969
cmp dword [ebp - 4], ebx
jbe 0x1000c955
call dword [0x115088]
mov ecx, eax
mov eax, dword [ebp - 4]
add ecx, eax
mov dword [ebp + eax*4 - 0x40], ecx
cmp dword [ebp - 4], 0x22db
ja 0x1000c969
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jb 0x1000c93f
push dword [ebp - 0x48]
mov eax, dword [0x1203f0]
call dword [eax + 0x1c]
push 0x116e00
call edi
cmp eax, 0x1f
jbe 0x1000c983
push 0x1f
pop eax
shr eax, 2
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], eax
cmp eax, ebx
jbe 0x1000c9ba
cmp dword [ebp - 4], ebx
jbe 0x1000c9a6
call dword [0x115088]
mov ecx, eax
mov eax, dword [ebp - 4]
add ecx, eax
mov dword [ebp + eax*4 - 0x40], ecx
cmp dword [ebp - 4], 0x22db
ja 0x1000c9ba
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jb 0x1000c990
push ebx
lea eax, [ebp - 0x88]
push eax
mov eax, 0x115fc0
push eax
push dword [ebp - 0x10]
push eax
push dword [ebp - 0x1c]
call fcn.1000e52a
add esp, 0x18
push 9
mov dword [ebp - 8], eax
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
push 0x116e10
push ebx
push ebx
call esi
push dword [ebp - 0x1c]
mov eax, dword [0x1203e4]
call dword [eax + 0x2c]
jmp 0x1000ca2a
mov esi, dword [0x115074]
push 9
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
push 0x116e18
push ebx
push ebx
call esi
push ebx
lea eax, [ebp - 0x88]
push eax
push 0x115fc0
push dword [ebp - 0x10]
call fcn.1000e52a
add esp, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
call fcn.1000aedf
push 9
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
push 0x116e24
push ebx
push ebx
call esi
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [0x1203f0]
push 0x20019
push ebx
push dword [ebp - 8]
push dword [ebp - 0x20]
call dword [eax + 0x14]
mov dword [ebp - 0x10], eax
call dword [0x11507c]
push 9
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
push 0x116e38
push ebx
push ebx
call esi
cmp dword [ebp - 0x10], ebx
je 0x1000cc36
mov dword [ebp - 0xc], ebx
call dword [0x11507c]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov eax, dword [0x1203f0]
push dword [ebp - 0x20]
call dword [eax + 0x24]
push 0x116e4c
mov dword [ebp - 0x10], eax
call edi
cmp eax, 0x1f
jbe 0x1000caaf
push 0x1f
pop eax
shr eax, 2
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
cmp eax, ebx
jbe 0x1000cae6
cmp dword [ebp - 4], ebx
jbe 0x1000cad2
call dword [0x115088]
mov ecx, eax
mov eax, dword [ebp - 4]
add ecx, eax
mov dword [ebp + eax*4 - 0x40], ecx
cmp dword [ebp - 4], 0x22db
ja 0x1000cae6
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x14]
jb 0x1000cabc
push 0x116e5c
call edi
cmp eax, 0x1f
jbe 0x1000caf5
push 0x1f
pop eax
shr eax, 2
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
cmp eax, ebx
jbe 0x1000cb2c
cmp dword [ebp - 4], ebx
jbe 0x1000cb18
call dword [0x115088]
mov ecx, eax
mov eax, dword [ebp - 4]
add ecx, eax
mov dword [ebp + eax*4 - 0x40], ecx
cmp dword [ebp - 4], 0x22db
ja 0x1000cb2c
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x14]
jb 0x1000cb02
push 0x1c
lea eax, [ebp - 0x3c]
cmp dword [ebp - 0x10], ebx
je 0x1000cbc2
push 0x116e6c
push eax
mov dword [ebp - 0x3c], 0x53
call dword [0x115068]
push 0x110
lea eax, [ebp - 0x18]
call fcn.1000bb9b
push 0x40
lea eax, [ebp - 0x88]
push ebx
push eax
call fcn.10022040
add esp, 0x10
push 0x1c
push 0x116ec8
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x2a
call dword [0x115068]
push 0x116ecc
call edi
cmp eax, 0x1f
jbe 0x1000cb93
push 0x1f
pop eax
mov edi, eax
shr edi, 2
xor esi, esi
cmp edi, ebx
jbe 0x1000c697
cmp esi, ebx
jbe 0x1000cbac
call dword [0x115088]
cmp esi, 0x22db
ja 0x1000c697
inc esi
cmp esi, edi
jb 0x1000cba2
jmp 0x1000c697
push 0x116e80
push eax
mov dword [ebp - 0x3c], 0x3f
call dword [0x115068]
cmp dword [ebp + 0x14], ebx
je 0x1000cbdf
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
push dword [ebp - 0xc]
mov eax, dword [0x1203f0]
call dword [eax + 0x1c]
push 0x116e88
call edi
cmp eax, 0x1f
jbe 0x1000cbf9
push 0x1f
pop eax
shr eax, 2
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
cmp eax, ebx
jbe 0x1000cca5
cmp dword [ebp - 4], ebx
jbe 0x1000cc20
call dword [0x115088]
mov ecx, eax
mov eax, dword [ebp - 4]
add ecx, eax
mov dword [ebp + eax*4 - 0x40], ecx
cmp dword [ebp - 4], 0x22db
ja 0x1000cca5
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x14]
jb 0x1000cc0a
jmp 0x1000cca5
push 0x116e90
call edi
cmp eax, 0x1f
jbe 0x1000cc45
push 0x1f
pop eax
shr eax, 2
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
cmp eax, ebx
jbe 0x1000cc7c
cmp dword [ebp - 4], ebx
jbe 0x1000cc68
call dword [0x115088]
mov ecx, eax
mov eax, dword [ebp - 4]
add ecx, eax
mov dword [ebp + eax*4 - 0x40], ecx
cmp dword [ebp - 4], 0x22db
ja 0x1000cc7c
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x14]
jb 0x1000cc52
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x1000cc89
mov dword [eax], 1
push dword [ebp - 0x44]
mov eax, dword [0x1203f0]
call dword [eax + 0x1c]
push 9
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
push 0x116e98
push ebx
push ebx
call esi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
push dword [ebp - 8]
mov dword [ecx + 0x10c], eax
call edi
mov ecx, dword [ebp - 0x18]
push 9
mov dword [ecx], eax
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
push 0x116eac
push ebx
push ebx
call esi
call dword [0x11507c]
mov ecx, dword [ebp - 0x18]
xor eax, eax
cmp dword [ecx], ebx
jbe 0x1000ccf6
mov edx, dword [ebp - 8]
mov esi, dword [ebp - 0x18]
mov ecx, eax
and ecx, 3
mov cl, byte [ebp + ecx + 0x10]
xor cl, byte [eax + edx]
inc eax
mov byte [esi + eax + 3], cl
cmp eax, dword [esi]
jb 0x1000ccdb
push 0x116eb4
call edi
push 0x1f
pop esi
cmp eax, esi
ja 0x1000cd06
mov esi, eax
shr esi, 2
xor edi, edi
cmp esi, ebx
jbe 0x1000cd26
cmp edi, ebx
jbe 0x1000cd19
call dword [0x115088]
cmp edi, 0x22db
ja 0x1000cd26
inc edi
cmp edi, esi
jb 0x1000cd0f
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret