Function at 0x10001c10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov edx, 0x10001900
push edi
push esi
push ebx
sub esp, 0x37c
mov ebx, dword [esp + 0x398]
mov esi, dword [esp + 0x390]
mov ebp, dword [esp + 0x394]
sar ebx, 5
lea eax, [ebx + 6]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x39c]
test eax, eax
mov eax, 0x10001650
cmove eax, edx
mov dword [esi + 0x114], eax
mov eax, dword [0x100c901c]
test eax, eax
jne 0x10001df1
lea ecx, [esp + 0x277]
mov eax, 1
lea edx, [esp + 0x178]
lea edi, [esp + 0x376]
lea esi, [esi]
mov byte [ecx], al
lea esi, [eax + eax]
xor eax, esi
cmp eax, 0xff
jle 0x10001c93
xor eax, 0x11b
inc ecx
cmp ecx, edi
jne 0x10001c80
lea esi, [esp + 0x277]
mov eax, 1
lea esi, [esi]
lea esi, [esi]
nop
mov byte [edx], al
lea ecx, [eax + eax]
xor eax, ecx
cmp eax, 0xff
jle 0x10001cc3
xor eax, 0x11b
inc edx
cmp esi, edx
jne 0x10001cb0
xor eax, eax
mov edx, 1
nop
mov byte [esp + edx + 0x78], al
lea ecx, [edx + edx]
xor edx, ecx
cmp edx, 0xff
jle 0x10001ce7
xor edx, 0x11b
inc al
cmp al, 0xff
jne 0x10001cd0
xor eax, eax
mov edx, 1
mov byte [0x100c9083], al
mov al, 0x63
mov esi, 0xff
mov byte [0x100c9120], al
lea esi, [esi]
lea esi, [esi]
movzx ecx, byte [esp + edx + 0x78]
mov eax, esi
sub eax, ecx
movzx ecx, byte [esp + eax + 0x178]
lea edi, [ecx*4]
lea eax, [ecx + ecx]
xor eax, edi
lea edi, [ecx*8]
xor eax, ecx
shl ecx, 4
xor eax, edi
xor eax, ecx
mov ecx, eax
sar ecx, 8
xor eax, ecx
xor eax, 0x63
mov byte [edx + 0x100c9120], al
movzx ecx, al
mov byte [ecx + 0x100c9020], dl
inc edx
cmp edx, 0x100
jne 0x10001d10
mov eax, 0xd
mov esi, 0xe
mov dword [esp + 0x30], eax
mov eax, 0xb
mov edi, 9
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x78]
mov eax, 0x100c9020
mov dword [esp + 4], eax
lea eax, [esp + 0x178]
mov dword [esp], eax
lea edx, [esp + 0x28]
mov eax, 0x100c7020
mov dword [esp + 0x28], esi
mov esi, 0x100c9120
mov dword [esp + 0x2c], edi
call fcn.100015b0
mov eax, 2
mov edx, 1
mov dword [esp + 0x48], eax
mov eax, 1
mov ecx, 3
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x178]
mov dword [esp + 0x50], edx
lea edx, [esp + 0x48]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x78]
mov dword [esp], eax
mov eax, 0x100c8020
mov dword [esp + 4], esi
call fcn.100015b0
mov eax, dword [esp + 0x398]
and eax, 0xffffffbf
add eax, 0xffffff80
je 0x10001e11
cmp dword [esp + 0x398], 0x100
jne 0x100022d7
mov eax, dword [esp + 0x390]
mov esi, dword [esp + 0xc]
mov dword [eax + 0x110], esi
lea eax, [ebx*4]
mov dword [esp + 0x18], eax
mov edx, eax
xor eax, eax
mov ecx, dword [ebp + eax]
mov dword [esp + eax + 0x28], ecx
add eax, 4
cmp eax, edx
jb 0x10001e31
mov edx, dword [esp + 0x390]
mov esi, dword [esp + 0x18]
test dl, 1
jne 0x100022a4
test dl, 2
jne 0x100022c1
mov ecx, esi
xor eax, eax
and ecx, 0xfffffffc
mov edi, dword [ebp + eax]
mov dword [edx + eax], edi
add eax, 4
cmp eax, ecx
jb 0x10001e64
add edx, eax
add ebp, eax
xor eax, eax
test esi, 2
jne 0x1000228d
and esi, 1
jne 0x10002280
movzx edx, byte [esp + 0x28]
lea eax, [ebx + 7]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
lea edi, [ebx - 1]
mov esi, eax
mov dword [esp + 0x24], eax
shl esi, 4
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x18]
mov byte [esp + 0x17], dl
movzx edx, byte [esp + 0x29]
mov dword [esp + 0x10], esi
mov byte [esp + 0x14], dl
movzx edx, byte [esp + 0x2a]
mov byte [esp + 0x15], dl
movzx edx, byte [esp + 0x2b]
mov byte [esp + 0x16], dl
mov dl, 1
lea esi, [esi]
lea esi, [esi]
nop
movzx eax, byte [esp + edi*4 + 0x29]
movzx ecx, byte [esp + 0x17]
inc dword [esp + 0x1c]
xor cl, byte [eax + 0x100c9120]
mov al, cl
movzx ecx, byte [esp + edi*4 + 0x2a]
xor al, dl
mov edx, 1
mov byte [esp + 0x17], al
movzx ecx, byte [ecx + 0x100c9120]
xor byte [esp + 0x14], cl
movzx ecx, byte [esp + 0x14]
mov byte [esp + 0x29], cl
movzx ecx, byte [esp + edi*4 + 0x2b]
movzx ecx, byte [ecx + 0x100c9120]
xor byte [esp + 0x15], cl
movzx ecx, byte [esp + 0x15]
mov byte [esp + 0x2a], cl
movzx ecx, byte [esp + edi*4 + 0x28]
mov byte [esp + 0x28], al
movzx ecx, byte [ecx + 0x100c9120]
xor byte [esp + 0x16], cl
cmp ebx, 8
setne al
mov byte [esp + 0xc], al
movzx ecx, byte [esp + 0x16]
mov byte [esp + 0x2b], cl
lea ecx, [esp + 0x28]
nop
cmp edx, 4
jne 0x10001f70
cmp byte [esp + 0xc], 0
je 0x10002020
movzx eax, byte [ecx]
inc edx
xor byte [ecx + 4], al
movzx eax, byte [ecx + 1]
xor byte [ecx + 5], al
movzx eax, byte [ecx + 2]
xor byte [ecx + 6], al
movzx eax, byte [ecx + 3]
xor byte [ecx + 7], al
add ecx, 4
cmp ebx, edx
jne 0x10001f60
mov edx, dword [esp + 0x390]
lea ecx, [esp + 0x28]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
add eax, edx
test al, 1
mov edx, eax
jne 0x100021e6
test dl, 2
jne 0x100021d1
mov dword [esp + 0xc], ebx
mov esi, ebp
xor eax, eax
and esi, 0xfffffffc
mov ebx, dword [ecx + eax]
mov dword [edx + eax], ebx
add eax, 4
cmp eax, esi
jb 0x10001fc6
add edx, eax
add ecx, eax
mov ebx, dword [esp + 0xc]
xor eax, eax
test ebp, 2
je 0x10001ff0
movzx eax, word [ecx]
mov word [edx], ax
mov eax, 2
and ebp, 1
je 0x10001ffc
movzx ecx, byte [ecx + eax]
mov byte [edx + eax], cl
mov esi, dword [esp + 0x18]
add dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x20], eax
jle 0x1000206d
mov eax, dword [esp + 0x1c]
movzx edx, byte [eax + section..rdata]
jmp 0x10001ee0
movzx edx, byte [esp + 0x34]
add ecx, 4
movzx edx, byte [edx + 0x100c9120]
xor byte [esp + 0x38], dl
movzx edx, byte [esp + 0x35]
movzx edx, byte [edx + 0x100c9120]
xor byte [esp + 0x39], dl
movzx edx, byte [esp + 0x36]
movzx edx, byte [edx + 0x100c9120]
xor byte [esp + 0x3a], dl
movzx edx, byte [esp + 0x37]
movzx edx, byte [edx + 0x100c9120]
xor byte [esp + 0x3b], dl
mov edx, 5
jmp 0x10001f60
mov ecx, dword [esp + 0x39c]
mov eax, dword [esp + 0x24]
test ecx, ecx
je 0x10002202
mov eax, dword [esp + 0x390]
shl ebx, 4
lea esi, [eax + 0x10]
lea ebx, [eax + ebx + 0x60]
lea esi, [esi]
lea esi, [esi]
nop
mov eax, dword [esi]
xor edx, edx
mov ecx, 0x100c9120
add esi, 0x10
mov dword [esp + 0x68], eax
mov eax, dword [esi - 0xc]
mov dword [esp + 0x6c], eax
mov eax, dword [esi - 8]
mov dword [esp + 0x70], eax
mov eax, dword [esi - 4]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x58]
call fcn.100014c0
movzx edx, byte [esp + 0x58]
movzx eax, byte [esp + 0x5d]
mov edi, dword [edx*4 + 0x100c7020]
mov edx, dword [eax*4 + 0x100c7420]
movzx eax, byte [esp + 0x62]
xor edi, edx
movzx edx, byte [esp + 0x5c]
mov ecx, dword [eax*4 + 0x100c7820]
movzx eax, byte [esp + 0x67]
xor edi, ecx
mov ecx, dword [edx*4 + 0x100c7020]
mov ebp, dword [eax*4 + 0x100c7c20]
movzx eax, byte [esp + 0x61]
xor edi, ebp
mov dword [esp + 0x48], edi
mov edx, dword [eax*4 + 0x100c7420]
movzx eax, byte [esp + 0x66]
xor ecx, edx
mov ebp, dword [eax*4 + 0x100c7820]
movzx eax, byte [esp + 0x5b]
xor ecx, ebp
mov edx, dword [eax*4 + 0x100c7c20]
movzx eax, byte [esp + 0x65]
xor ecx, edx
movzx edx, byte [esp + 0x60]
mov dword [esp + 0x4c], ecx
mov ebp, dword [eax*4 + 0x100c7420]
movzx eax, byte [esp + 0x5a]
mov edx, dword [edx*4 + 0x100c7020]
xor edx, ebp
mov ebp, dword [eax*4 + 0x100c7820]
movzx eax, byte [esp + 0x5f]
xor edx, ebp
mov ebp, dword [eax*4 + 0x100c7c20]
movzx eax, byte [esp + 0x64]
xor edx, ebp
movzx ebp, byte [esp + 0x59]
mov dword [esp + 0x50], edx
mov eax, dword [eax*4 + 0x100c7020]
xor eax, dword [ebp*4 + 0x100c7420]
movzx ebp, byte [esp + 0x5e]
xor eax, dword [ebp*4 + 0x100c7820]
movzx ebp, byte [esp + 0x63]
xor eax, dword [ebp*4 + 0x100c7c20]
mov dword [esi - 0x10], edi
mov dword [esi - 0xc], ecx
mov dword [esi - 8], edx
mov dword [esi - 4], eax
cmp esi, ebx
mov dword [esp + 0x54], eax
jne 0x100020a0
xor eax, eax
add esp, 0x37c
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, word [ecx]
add edx, 2
add ecx, 2
sub ebp, 2
mov word [edx - 2], ax
jmp 0x10001fbb
movzx ecx, byte [esp + 0x28]
inc edx
mov byte [esp + 0xc], cl
mov byte [eax], cl
lea ecx, [esp + 0x29]
mov eax, dword [esp + 0x18]
lea ebp, [eax - 1]
jmp 0x10001fb2
mov edx, dword [esp + 0x390]
shl ebx, 4
sar eax, 1
mov ebp, eax
shl ebp, 4
add ebx, edx
mov edx, dword [esp + 0x390]
mov ecx, ebx
add ebp, edx
mov dword [esp + 0xc], ebp
lea esi, [esi]
lea esi, [esi]
nop
mov ebp, dword [edx]
add edx, 0x10
sub ecx, 0x10
mov edi, dword [ecx + 0x70]
mov esi, dword [ecx + 0x74]
mov ebx, dword [ecx + 0x78]
mov dword [ecx + 0x70], ebp
mov eax, dword [ecx + 0x7c]
mov dword [esp + 0x48], edi
mov ebp, dword [edx - 0xc]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
mov dword [ecx + 0x74], ebp
mov ebp, dword [edx - 8]
mov dword [ecx + 0x78], ebp
mov ebp, dword [edx - 4]
mov dword [ecx + 0x7c], ebp
mov dword [edx - 0x10], edi
mov dword [edx - 0xc], esi
mov dword [edx - 8], ebx
mov dword [edx - 4], eax
cmp dword [esp + 0xc], edx
jne 0x10002230
jmp 0x100021c4
movzx ecx, byte [ebp + eax]
mov byte [edx + eax], cl
jmp 0x10001e8d
movzx eax, word [ebp]
and esi, 1
mov word [edx], ax
mov eax, 2
je 0x10001e8d
jmp 0x10002280
movzx eax, byte [ebp]
inc ebp
mov byte [edx], al
mov eax, dword [esp + 0x390]
lea edx, [eax + 1]
mov eax, dword [esp + 0x18]
lea esi, [eax - 1]
jmp 0x10001e54
movzx eax, word [ebp]
add edx, 2
add ebp, 2
sub esi, 2
mov word [edx - 2], ax
jmp 0x10001e5d
mov eax, 0xffffffea
jmp 0x100021c6