Function at 0x1b3ef4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff70
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x1b46e0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 0xc], 0
je 0x1b4689
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x1c], 0
jle 0x1b3f52
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x20], 0
jle 0x1b3f52
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x16], 2
jne 0x1b41bb
cmp byte [ebp + 8], 0
jne 0x1b41bb
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x15], 0
je 0x1b3f64
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x16], 2
jne 0x1b3f73
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x16], 2
sete al
and al, byte [ebp + 8]
je 0x1b3fb3
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x15], 0
je 0x1b3f98
cmp dword [ebp + 0x14], 0
jne 0x1b3f98
mov ecx, 0x1b46f8
mov dl, 1
mov eax, dword [0x185cc]
call fcn.0001cc4c
call fcn.00013820
mov dl, 1
mov eax, dword [0xc590c]
call fcn.000d2848
mov dword [ebp - 0x50], eax
xor edx, edx
mov eax, dword [ebp - 0x50]
call fcn.00093998
jmp 0x1b3fb9
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
xor eax, eax
push ebp
push 0x1b41b4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x16], 2
jne 0x1b404d
cmp byte [ebp + 8], 0
jne 0x1b404d
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
call dword [ecx + 8]
mov dl, 1
mov eax, dword [0x94110]
call fcn.000943c0
mov dword [ebp - 0x5c], eax
xor eax, eax
push ebp
push 0x1b4046
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x50]
call fcn.000cf5e4
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x25]
mov edx, dword [ebp - 0x5c]
mov byte [edx + 0x37], al
mov eax, dword [ebp - 0x5c]
call fcn.000948e4
mov eax, dword [ebp + 0x10]
call fcn.00024d50
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1b4196
mov eax, dword [ebp - 0x5c]
call fcn.00013088
ret
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp + 0xc]
je 0x1b40f8
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp + 0x14]
mov dl, 1
mov eax, dword [0xf6ffc]
call fcn.000f7054
mov dword [ebp - 0x4c], eax
xor eax, eax
push ebp
push 0x1b40f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x4c]
call fcn.000f70d0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x40]
dec eax
test eax, eax
jl 0x1b40db
inc eax
mov dword [ebp - 0x60], eax
xor ebx, ebx
mov eax, dword [ebp - 0x4c]
call fcn.000f7108
mov edx, eax
mov eax, dword [ebp + 0xc]
call fcn.00091dbc
push eax
mov edx, ebx
mov eax, dword [ebp - 0x50]
call fcn.00091dbc
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x44]
cdq
xor eax, edx
sub eax, edx
mov ecx, eax
pop eax
pop edx
call fcn.00018030
inc ebx
dec dword [ebp - 0x60]
jne 0x1b40a3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1b40f8
mov eax, dword [ebp - 0x4c]
call fcn.00013088
ret
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x7c]
mov edx, dword [ebp - 0x50]
imul dword [edx + 0x3c]
add eax, 7
test eax, eax
jns 0x1b410e
add eax, 7
sar eax, 3
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x40]
imul edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x50]
call fcn.00091e8c
mov esi, eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x40]
dec eax
test eax, eax
jl 0x1b4196
inc eax
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 0x48]
call fcn.00018030
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x48], eax
cmp dword [ebp - 0x10], 0
jle 0x1b418e
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x48]
call fcn.00018044
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x48], eax
add esi, dword [ebp - 0x20]
dec dword [ebp - 0x60]
jne 0x1b4164
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1b4667
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp + 0xc]
je 0x1b41b3
mov eax, dword [ebp - 0x50]
call fcn.00013088
ret
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x10]
call fcn.001c5930
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x7c]
mov edx, dword [ebp - 0xc]
add eax, dword [edx + 0x1c]
dec eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 0x1c]
cdq
idiv ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0xc]
add eax, dword [edx + 0x20]
dec eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 0x20]
cdq
idiv ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
imul dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x54]
mov ecx, 1
mov edx, dword [0x1b3edc]
call fcn.00015bbc
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x38], eax
jmp 0x1b4459
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x38]
cmp eax, edx
jge 0x1b4249
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
xor esi, esi
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x34], eax
jmp 0x1b4442
mov edx, dword [ebp - 0x34]
add edx, esi
cmp eax, edx
jge 0x1b4267
sub eax, esi
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x44]
lea eax, [eax + edx*8]
mov dword [eax], 0xffffffff
xor edx, edx
mov dword [eax + 4], edx
mov ebx, dword [ebp - 0x44]
dec ebx
cmp ebx, 0
jl 0x1b4324
mov eax, ebx
cdq
idiv dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x1c]
imul edx, ecx
mov dword [ebp - 0x70], edx
mov eax, ebx
cdq
idiv dword [ebp - 0x3c]
mov edi, dword [ebp - 0xc]
mov edi, dword [edi + 0x20]
imul edi
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xc]
mov eax, ecx
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x68], eax
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x7c]
cmp eax, edx
jle 0x1b42c3
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0xc]
mov eax, edi
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x64], eax
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x40]
cmp eax, edx
jle 0x1b42db
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.000215f4
lea eax, [ebp - 0x80]
push eax
lea edx, [ebp - 0x70]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
call fcn.000e5cc8
test al, al
je 0x1b431a
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x44]
lea eax, [eax + edx*8]
mov dword [eax], 0xfffffffe
mov dword [eax + 4], ebx
jmp 0x1b4324
dec ebx
cmp ebx, 0xffffffff
jne 0x1b4288
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x44]
cmp dword [eax + edx*8], 0xffffffff
jne 0x1b4439
mov ebx, dword [ebp - 0x18]
dec ebx
cmp ebx, 0
jl 0x1b4439
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x10]
mov edx, ebx
call fcn.001c3e14
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x1b4423
inc eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x24], 0
cmp byte [ebp + 8], 0
je 0x1b4399
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x10]
mov edx, ebx
call fcn.001c3e14
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x24]
call fcn.001b713c
mov edx, dword [eax]
call dword [edx + 0xc]
mov edi, dword [eax + 0x4d0]
jmp 0x1b43bb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x10]
mov edx, ebx
call fcn.001c3e14
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x24]
call fcn.001b713c
mov edx, dword [eax]
call dword [edx + 0xc]
mov edi, eax
test edi, edi
je 0x1b4417
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.000215f4
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.000215f4
lea edx, [ebp - 0x90]
mov ecx, dword [ebp + 0xc]
mov eax, edi
call fcn.000e5cc8
test al, al
je 0x1b4417
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x44]
lea eax, [eax + edx*8]
mov dword [eax], ebx
mov edx, dword [ebp - 0x24]
mov dword [eax + 4], edx
jmp 0x1b4423
inc dword [ebp - 0x24]
dec dword [ebp - 0x60]
jne 0x1b436b
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x44]
cmp dword [eax + edx*8], 0xffffffff
jne 0x1b4439
dec ebx
cmp ebx, 0xffffffff
jne 0x1b4341
mov eax, dword [ebp - 0xc]
add esi, dword [eax + 0x1c]
inc dword [ebp - 0x44]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x7c]
cmp esi, eax
jl 0x1b4259
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
add dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x40]
cmp eax, dword [ebp - 0x30]
jg 0x1b4239
mov eax, dword [ebp + 0x10]
call fcn.00024d50
mov eax, dword [ebp - 0x54]
call fcn.00015a00
mov ecx, eax
shl ecx, 3
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x54]
call fcn.00015a08
test eax, eax
jl 0x1b457e
inc eax
mov dword [ebp - 0x60], eax
xor ebx, ebx
mov eax, dword [ebp - 0x54]
cmp dword [eax + ebx*8], 0xffffffff
jne 0x1b4574
mov eax, ebx
cdq
idiv dword [ebp - 0x3c]
mov edx, dword [ebp - 0xc]
imul dword [edx + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x38]
cmp eax, edx
jge 0x1b44df
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x40]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, ebx
cdq
idiv dword [ebp - 0x3c]
mov esi, edx
mov eax, dword [ebp - 0xc]
imul esi, dword [eax + 0x1c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x7c]
mov edx, dword [ebp - 0x34]
add edx, esi
cmp eax, edx
jge 0x1b4511
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x7c]
sub eax, esi
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x3c]
imul dword [ebp - 0x34]
add eax, 7
test eax, eax
jns 0x1b4524
add eax, 7
sar eax, 3
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + 0xc]
call fcn.00091dbc
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x3c]
imul edx, esi
test edx, edx
jns 0x1b4545
add edx, 7
sar edx, 3
add eax, edx
mov esi, eax
mov eax, dword [ebp - 0x38]
dec eax
cmp eax, 0
jl 0x1b4574
mov dword [ebp - 0x2c], eax
mov edx, esi
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
call dword [edi + 8]
mov eax, dword [ebp + 0xc]
add esi, dword [eax + 0x44]
dec dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x1b4558
inc ebx
dec dword [ebp - 0x60]
jne 0x1b449e
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x15], 0
je 0x1b4667
mov ecx, dword [ebp + 0x14]
mov dl, 1
mov eax, dword [0xf6ffc]
call fcn.000f7054
mov dword [ebp - 0x4c], eax
xor eax, eax
push ebp
push 0x1b4660
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x54]
call fcn.00015a00
mov edx, eax
mov eax, dword [ebp - 0x4c]
call fcn.000f70d0
mov eax, dword [ebp - 0x54]
call fcn.00015a00
push eax
lea eax, [ebp - 0x58]
mov ecx, 1
mov edx, dword [0x1b3edc]
call fcn.00015bbc
add esp, 4
mov eax, dword [ebp - 0x54]
call fcn.00015a00
mov ecx, eax
shl ecx, 3
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
call fcn.00018030
mov eax, dword [ebp - 0x54]
call fcn.00015a08
test eax, eax
jl 0x1b4628
inc eax
mov dword [ebp - 0x60], eax
xor ebx, ebx
mov eax, dword [ebp - 0x4c]
call fcn.000f7108
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov esi, dword [edx + eax*8]
mov dword [ecx + ebx*8], esi
mov esi, dword [edx + eax*8 + 4]
mov dword [ecx + ebx*8 + 4], esi
inc ebx
dec dword [ebp - 0x60]
jne 0x1b4606
xor edx, edx
mov eax, dword [ebp + 0x10]
call fcn.000248f8
mov eax, dword [ebp - 0x54]
call fcn.00015a00
mov ecx, eax
shl ecx, 3
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
call dword [ebx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1b4667
mov eax, dword [ebp - 0x4c]
call fcn.00013088
ret
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x16], 0
je 0x1b467f
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x16], 2
sete al
and al, byte [ebp + 8]
je 0x1b4691
mov eax, dword [ebp + 0x10]
call fcn.000e54c8
jmp 0x1b4691
mov eax, dword [ebp + 0x10]
call fcn.00024d50
mov eax, dword [ebp + 0x10]
call fcn.00024904
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x28]
mov ecx, 4
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 8]
cmp dword [ebp - 0x28], 0
jle 0x1b46bf
xor ecx, ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
call fcn.000249ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1b46e7
lea eax, [ebp - 0x58]
mov edx, dword [0x1b3edc]
mov ecx, 2
call fcn.00014b00
ret