Function at 0x1abb00
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, 0x15b4
call fcn.001ac590
mov edi, edx
mov dword [esp + 0xc], ecx
mov esi, dword [esp + 0x15c8]
lea eax, [esp + 0x30]
push 0x84
push 0
push eax
call fcn.001ac6c0
add esp, 0xc
cmp dword [esp + 0x15d0], 0
mov dword [esp + 0x20], edi
je 0x1abbce
test esi, esi
mov ecx, esi
jle 0x1ac336
xor eax, eax
cmp ecx, 1
je 0x1abb98
mov ecx, dword [esp + 0x15c8]
and ecx, 0x7ffffffe
mov eax, dword [esp + 0x20]
lea eax, [eax + eax*8]
shl eax, 5
mov edx, dword [esp + 0xc]
add edx, eax
add edx, 0x8f13
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx + eax - 1]
inc dword [esp + esi*4 + 0x30]
movzx esi, byte [edx + eax]
inc dword [esp + esi*4 + 0x30]
add eax, 2
cmp ecx, eax
jne 0x1abb80
mov ecx, dword [esp + 0x15c8]
test cl, 1
je 0x1ac336
mov ecx, dword [esp + 0x20]
lea ecx, [ecx + ecx*8]
shl ecx, 5
add ecx, dword [esp + 0xc]
movzx eax, byte [eax + ecx + 0x8f12]
mov ecx, dword [esp + 0x15c8]
inc dword [esp + eax*4 + 0x30]
jmp 0x1ac336
lea ebp, [edi + edi*8]
mov eax, ebp
shl eax, 6
mov dword [esp + 0x1c], eax
test esi, esi
jle 0x1abcd9
cmp esi, 1
jne 0x1abf44
xor eax, eax
xor ebx, ebx
mov ecx, dword [esp + 0x15c8]
test cl, 1
je 0x1abc2f
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
add ecx, edx
add ecx, 0x8192
movzx ecx, word [ecx + eax*2]
test cx, cx
je 0x1abc2f
mov word [esp + ebx*4 + 0x4b4], cx
mov ecx, ebx
mov word [esp + ebx*4 + 0x4b6], ax
and ebx, 1
xor ecx, 1
lea ebx, [ecx + ebx*2]
lea eax, [esp + 0x934]
push 0x800
push 0
push eax
call fcn.001ac6c0
add esp, 0xc
test ebx, ebx
sete byte [esp + 8]
je 0x1abcf0
xor eax, eax
cmp ebx, 1
je 0x1abcaf
mov ecx, ebx
and ecx, 0xfffffffe
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [esp + eax*4 + 0x4b4]
movzx esi, dl
inc dword [esp + esi*4 + 0x934]
shr edx, 8
inc dword [esp + edx*4 + 0xd34]
movzx edx, word [esp + eax*4 + 0x4b8]
movzx esi, dl
inc dword [esp + esi*4 + 0x934]
shr edx, 8
inc dword [esp + edx*4 + 0xd34]
add eax, 2
cmp ecx, eax
jne 0x1abc70
test bl, 1
je 0x1abcd0
movzx eax, word [esp + eax*4 + 0x4b4]
movzx ecx, al
inc dword [esp + ecx*4 + 0x934]
shr eax, 8
inc dword [esp + eax*4 + 0xd34]
mov eax, dword [esp + 0xd34]
jmp 0x1abcf9
lea eax, [esp + 0x934]
push 0x800
push 0
push eax
call fcn.001ac6c0
add esp, 0xc
xor ebx, ebx
mov byte [esp + 8], 1
xor eax, eax
mov dword [esp + 0x14], ebx
xor ecx, ecx
cmp eax, ebx
setne cl
inc ecx
mov dword [esp + 0x2c], ecx
mov eax, ebx
and eax, 0xfffffffe
mov dword [esp + 4], eax
lea eax, [esp + 0x4b4]
mov dword [esp], eax
lea eax, [esp + 0x1134]
xor ecx, ecx
lea esi, [esp + 0x934]
xor ebx, ebx
mov dword [esp + 0x10], ebp
jmp 0x1abd56
add ecx, 8
inc ebx
add esi, 0x400
mov eax, edi
cmp ebx, dword [esp + 0x2c]
je 0x1abe71
mov dword [esp + 0x18], ebx
mov edi, dword [esp]
mov dword [esp], eax
mov edx, 3
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + edx*4 + 0xa8], eax
add eax, dword [esi + edx*4 - 0xc]
mov dword [esp + edx*4 + 0xac], eax
add eax, dword [esi + edx*4 - 8]
mov dword [esp + edx*4 + 0xb0], eax
add eax, dword [esi + edx*4 - 4]
mov dword [esp + edx*4 + 0xb4], eax
add eax, dword [esi + edx*4]
add edx, 4
cmp edx, 0x103
jne 0x1abd70
cmp byte [esp + 8], 0
mov ebx, dword [esp + 0x18]
jne 0x1abd40
xor edx, edx
cmp dword [esp + 0x14], 1
mov ebp, edi
je 0x1abe18
xor edx, edx
nop
nop
movzx eax, word [ebp + edx*4]
shr eax, cl
movzx eax, al
mov edi, ebp
mov ebp, dword [esp + eax*4 + 0xb4]
lea ebx, [ebp + 1]
mov dword [esp + eax*4 + 0xb4], ebx
mov eax, dword [edi + edx*4]
mov ebx, dword [esp]
mov dword [ebx + ebp*4], eax
movzx eax, word [edi + edx*4 + 4]
shr eax, cl
movzx eax, al
mov ebx, dword [esp + eax*4 + 0xb4]
lea ebp, [ebx + 1]
mov dword [esp + eax*4 + 0xb4], ebp
mov ebp, edi
mov eax, dword [edi + edx*4 + 4]
mov edi, dword [esp]
mov dword [edi + ebx*4], eax
mov edi, dword [esp + 4]
add edx, 2
cmp edi, edx
jne 0x1abdc0
test byte [esp + 0x14], 1
mov edi, ebp
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
je 0x1abd40
movzx eax, word [edi + edx*4]
shr eax, cl
movzx eax, al
mov dword [esp + 0x24], eax
mov eax, dword [esp + eax*4 + 0xb4]
mov dword [esp + 0x28], eax
lea ebp, [eax + 1]
mov eax, dword [esp + 0x24]
mov dword [esp + eax*4 + 0xb4], ebp
mov ebp, dword [esp + 0x10]
mov eax, dword [edi + edx*4]
mov edx, dword [esp]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x28]
mov dword [edx + edi*4], eax
mov edi, dword [esp + 0x24]
jmp 0x1abd40
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x1ac215
cmp ebx, 1
jne 0x1abe8f
mov eax, dword [esp]
mov word [eax], 1
jmp 0x1ac14a
mov edi, dword [esp]
movzx eax, word [edi + 4]
add word [edi], ax
cmp ebx, 3
jl 0x1abfc9
mov eax, 2
mov ecx, 2
sub ecx, ebx
mov dword [esp + 4], ecx
xor edx, edx
mov esi, 1
jmp 0x1abeef
movzx ebp, word [edi + eax*4]
movzx ecx, word [edi + esi*4]
inc eax
mov ebx, ecx
and ebx, ebp
xor ecx, ebp
lea ecx, [ecx + ebx*2]
mov ebx, dword [esp + 0x14]
mov word [edi + esi*4], cx
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 4]
add ecx, esi
inc ecx
inc esi
cmp ecx, 1
je 0x1abfd8
cmp eax, ebx
jge 0x1abf20
movzx ecx, word [edi + edx*4]
movzx ebp, word [edi + eax*4]
cmp cx, bp
jb 0x1abf24
inc eax
mov word [edi + esi*4], bp
cmp eax, ebx
jl 0x1abf31
movzx ecx, word [edi + edx*4]
add word [edi + esi*4], cx
mov word [edi + edx*4], si
inc edx
jmp 0x1abeda
movzx ecx, word [edi + edx*4]
mov word [edi + esi*4], cx
mov word [edi + edx*4], si
inc edx
cmp eax, ebx
jge 0x1abf09
cmp edx, esi
jge 0x1abec0
movzx ecx, word [edi + edx*4]
movzx ebp, word [edi + eax*4]
cmp cx, bp
jae 0x1abec4
jmp 0x1abf0d
mov ecx, esi
and ecx, 0x7ffffffe
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
add edx, eax
add edx, 0x8194
xor eax, eax
xor ebx, ebx
jmp 0x1abf7b
add eax, 2
cmp ecx, eax
je 0x1abbef
movzx esi, word [edx + eax*2 - 2]
test si, si
je 0x1abfa0
mov word [esp + ebx*4 + 0x4b4], si
mov esi, ebx
mov word [esp + ebx*4 + 0x4b6], ax
and ebx, 1
xor esi, 1
lea ebx, [esi + ebx*2]
movzx esi, word [edx + eax*2]
test si, si
je 0x1abf70
mov word [esp + ebx*4 + 0x4b4], si
mov esi, ebx
lea edi, [eax + 1]
mov word [esp + ebx*4 + 0x4b6], di
and ebx, 1
xor esi, 1
lea ebx, [esi + ebx*2]
jmp 0x1abf70
lea eax, [ebx - 2]
mov word [edi + ebx*4 - 8], 0
jmp 0x1ac051
mov word [edi + ebx*4 - 8], 0
lea edx, [ebx - 3]
mov eax, ebx
and eax, 3
xor eax, 2
mov ecx, edx
je 0x1ac001
mov ecx, edx
movzx esi, word [edi + ecx*4]
movzx esi, word [edi + esi*4]
inc esi
mov word [edi + ecx*4], si
dec ecx
dec eax
jne 0x1abff0
lea eax, [ebx - 2]
cmp edx, 3
jb 0x1ac051
inc ecx
nop
nop
nop
nop
nop
nop
movzx edx, word [edi + ecx*4 - 4]
movzx edx, word [edi + edx*4]
inc edx
mov word [edi + ecx*4 - 4], dx
movzx edx, word [edi + ecx*4 - 8]
movzx edx, word [edi + edx*4]
inc edx
mov word [edi + ecx*4 - 8], dx
movzx edx, word [edi + ecx*4 - 0xc]
movzx edx, word [edi + edx*4]
inc edx
mov word [edi + ecx*4 - 0xc], dx
movzx edx, word [edi + ecx*4 - 0x10]
movzx edx, word [edi + edx*4]
inc edx
mov word [edi + ecx*4 - 0x10], dx
add ecx, 0xfffffffc
jne 0x1ac010
lea ecx, [ebx - 1]
mov edi, 1
xor edx, edx
jmp 0x1ac06c
lea edi, [esi + esi]
inc edx
test esi, esi
jle 0x1ac142
mov dword [esp + 8], edi
test eax, eax
mov edi, dword [esp]
js 0x1ac0a0
lea esi, [eax + 1]
mov dword [esp + 4], esi
xor esi, esi
movzx edi, word [edi + eax*4]
cmp edx, edi
jne 0x1ac0a2
inc esi
dec eax
cmp dword [esp + 4], esi
mov edi, dword [esp]
jne 0x1ac080
mov eax, 0xffffffff
mov esi, dword [esp + 4]
jmp 0x1ac0a2
xor esi, esi
mov edi, dword [esp + 8]
sub edi, esi
jle 0x1ac060
and edi, 3
mov dword [esp + 0x18], edi
mov dword [esp + 4], esi
je 0x1ac0e0
lea edi, [ecx + ecx]
xor esi, esi
nop
nop
nop
nop
mov ebp, dword [esp]
mov word [ebp + edi*2], dx
inc esi
add edi, 0xfffffffe
cmp dword [esp + 0x18], esi
jne 0x1ac0c0
mov edi, dword [esp + 8]
sub edi, esi
sub ecx, esi
mov ebp, dword [esp + 0x10]
jmp 0x1ac0e4
mov edi, dword [esp + 8]
mov esi, dword [esp + 4]
sub esi, dword [esp + 8]
cmp esi, 0xfffffffc
mov esi, dword [esp + 4]
ja 0x1ac060
lea esi, [ecx*2 - 2]
neg ecx
mov ebp, dword [esp]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebp + esi*2 + 4], dx
mov word [ebp + esi*2], dx
mov word [ebp + esi*2 - 4], dx
mov word [ebp + esi*2 - 8], dx
add edi, 0xfffffffc
add ecx, 4
add esi, 0xfffffff8
cmp edi, dword [esp + 4]
jg 0x1ac110
neg ecx
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 4]
jmp 0x1ac060
test ebx, ebx
jle 0x1ac215
xor eax, eax
mov edx, dword [esp]
nop
movzx ecx, word [edx + eax*4]
inc dword [esp + ecx*4 + 0x30]
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, ebx
jl 0x1ac150
cmp ebx, 2
jl 0x1ac215
mov edx, dword [esp + 0x15cc]
cmp edx, 0x20
jge 0x1ac1e0
mov eax, dword [esp + edx*4 + 0x30]
mov esi, edx
neg edx
mov ecx, esi
and edx, 3
je 0x1ac19c
nop
nop
nop
nop
nop
add eax, dword [esp + ecx*4 + 0x34]
inc ecx
mov dword [esp + esi*4 + 0x30], eax
dec edx
jne 0x1ac190
lea edx, [esi - 0x1d]
cmp edx, 3
mov edx, esi
jb 0x1ac1d8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add eax, dword [esp + ecx*4 + 0x34]
mov dword [esp + edx*4 + 0x30], eax
add eax, dword [esp + ecx*4 + 0x38]
mov dword [esp + edx*4 + 0x30], eax
add eax, dword [esp + ecx*4 + 0x3c]
mov dword [esp + edx*4 + 0x30], eax
add eax, dword [esp + ecx*4 + 0x40]
add ecx, 4
mov dword [esp + edx*4 + 0x30], eax
cmp ecx, 0x20
jne 0x1ac1b0
test edx, edx
jle 0x1ac4a4
inc edx
xor ecx, ecx
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + edx*4 + 0x2c]
shl esi, cl
add eax, esi
dec edx
inc ecx
cmp edx, 1
ja 0x1ac1f0
mov edx, 1
mov ecx, dword [esp + 0x15cc]
shl edx, cl
cmp eax, edx
jne 0x1ac4af
shl ebp, 5
mov esi, dword [esp + 0xc]
lea eax, [esi + ebp]
add eax, 0x8f12
push 0x120
push 0
push eax
call fcn.001ac6c0
add esp, 0xc
mov eax, dword [esp + 0x1c]
add eax, esi
add eax, 0x8852
push 0x240
push 0
push eax
call fcn.001ac6c0
add esp, 0xc
cmp dword [esp + 0x15cc], 0
mov esi, dword [esp]
jle 0x1ac32f
add esi, 0xfffffffe
mov eax, 1
add ebp, dword [esp + 0xc]
mov dword [esp], esi
jmp 0x1ac292
lea ecx, [eax + 1]
cmp eax, dword [esp + 0x15cc]
mov eax, ecx
je 0x1ac32f
mov ecx, dword [esp + eax*4 + 0x30]
test ecx, ecx
jle 0x1ac280
mov edx, ecx
and edx, 3
je 0x1ac2e0
mov dword [esp + 0x14], ebx
lea edi, [esi + ebx*4]
xor esi, esi
nop
nop
nop
nop
nop
nop
movzx ebx, word [edi]
mov byte [ebx + ebp + 0x8f12], al
inc esi
add edi, 0xfffffffc
cmp edx, esi
jne 0x1ac2b0
mov ebx, dword [esp + 0x14]
sub ebx, esi
mov edx, ecx
sub edx, esi
mov esi, dword [esp]
cmp ecx, 4
jb 0x1ac280
jmp 0x1ac2e7
mov edx, ecx
cmp ecx, 4
jb 0x1ac280
dec edx
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [esi + ebx*4]
mov byte [ecx + ebp + 0x8f12], al
movzx ecx, word [esi + ebx*4 - 4]
mov byte [ecx + ebp + 0x8f12], al
movzx ecx, word [esi + ebx*4 - 8]
mov byte [ecx + ebp + 0x8f12], al
movzx ecx, word [esi + ebx*4 - 0xc]
add ebx, 0xfffffffc
mov byte [ecx + ebp + 0x8f12], al
add edx, 0xfffffffc
cmp edx, 0xfffffffe
jb 0x1ac2f0
jmp 0x1ac280
mov ecx, dword [esp + 0x15c8]
mov dword [esp + 0x938], 0
mov eax, dword [esp + 0x15cc]
cmp eax, 2
jl 0x1ac3cf
lea ecx, [eax - 1]
cmp eax, 2
jne 0x1ac362
xor edx, edx
mov eax, 2
jmp 0x1ac3a6
mov ebx, ecx
and ebx, 0xfffffffe
xor edx, edx
xor eax, eax
nop
nop
nop
nop
nop
mov edi, dword [esp + eax*4 + 0x34]
mov esi, dword [esp + eax*4 + 0x38]
mov ebp, edi
and ebp, edx
xor edi, edx
add edi, edi
lea edx, [edi + ebp*4]
mov dword [esp + eax*4 + 0x93c], edx
mov edi, esi
and edi, edx
xor esi, edx
add esi, esi
lea edx, [esi + edi*4]
mov dword [esp + eax*4 + 0x940], edx
add eax, 2
cmp ebx, eax
jne 0x1ac370
add eax, 2
test cl, 1
mov ecx, dword [esp + 0x15c8]
je 0x1ac3cf
mov ecx, dword [esp + eax*4 + 0x2c]
mov esi, ecx
and esi, edx
xor ecx, edx
add ecx, ecx
lea ecx, [ecx + esi*4]
mov dword [esp + eax*4 + 0x934], ecx
mov ecx, dword [esp + 0x15c8]
test ecx, ecx
jle 0x1ac499
xor eax, eax
mov edx, dword [esp + 0x20]
lea esi, [edx + edx*8]
mov edi, esi
shl edi, 5
mov edx, dword [esp + 0xc]
add edi, edx
mov dword [esp], edi
shl esi, 6
add esi, edx
mov dword [esp + 4], esi
jmp 0x1ac41c
mov ecx, dword [esp + 4]
mov word [ecx + eax*2 + 0x8852], di
mov ecx, dword [esp + 0x15c8]
inc eax
cmp eax, ecx
je 0x1ac499
mov edx, dword [esp]
movzx ebx, byte [eax + edx + 0x8f12]
test ebx, ebx
je 0x1ac413
mov edx, dword [esp + ebx*4 + 0x934]
lea edi, [edx + 1]
mov dword [esp + ebx*4 + 0x934], edi
xor edi, edi
cmp ebx, 1
je 0x1ac47d
mov ebp, ebx
and ebp, 0xfffffffe
xor edi, edi
nop
nop
nop
nop
nop
nop
mov esi, edx
not esi
or esi, 1
add esi, edx
mov ecx, edx
shr ecx, 1
shl edi, 2
lea esi, [esi*2 + 2]
or esi, edi
mov edi, ecx
not edi
or edi, 1
add edi, ecx
inc edi
or edi, esi
shr edx, 2
add ebp, 0xfffffffe
jne 0x1ac450
test bl, 1
je 0x1ac400
add edi, edi
mov ecx, edx
not ecx
or ecx, 1
add ecx, edx
inc ecx
or edi, ecx
jmp 0x1ac400
add esp, 0x15b4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, edx
mov edx, 1
shl edx, cl
xor eax, eax
mov ecx, dword [esp + 0x15cc]
mov esi, ecx
xor esi, 1
and ecx, 0xfffffffe
add ecx, ecx
sub ecx, esi
lea esi, [ecx + 1]
mov dword [esp + 4], esi
jmp 0x1ac4e3
dec esi
mov dword [esp + edi*4 + 0x2c], esi
add dword [esp + edi*4 + 0x30], 2
dec eax
cmp eax, edx
je 0x1ac215
mov esi, dword [esp + 0x15cc]
dec dword [esp + esi*4 + 0x30]
test ecx, ecx
jle 0x1ac4da
mov edi, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + edi*4 + 0x2c]
test esi, esi
jne 0x1ac4d0
dec edi
cmp edi, 1
jg 0x1ac500
jmp 0x1ac4da