Function at 0x10033bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
xor eax, eax
mov dword [esp + 0x18], edx
cmp dword [ecx], eax
push ebx
mov ebx, dword [ebp + 0x1c]
sete al
push esi
add ebx, 0xffffffff
mov dword [esp + 0xc], ecx
push edi
mov edi, dword [ebp + 0x18]
mov esi, 0xd
mov dword [esp + 0x1c], 0
mov edx, ebx
mov dword [esp + 0x18], eax
js 0x10033c18
nop dword [eax]
movzx ecx, byte [edx + edi]
lea eax, [esi*8]
xor ecx, eax
xor esi, ecx
sub edx, 1
jns 0x10033c00
mov ecx, dword [esp + 0x10]
movzx edx, byte [ebp + 0x14]
lea eax, [esi*8]
xor eax, edx
mov dword [esp + 0x20], edx
xor eax, esi
xor edx, edx
div dword [ecx + 0xc]
mov esi, dword [ecx + 0x14]
mov eax, edx
mov dword [esp + 0x14], eax
shl eax, 2
mov esi, dword [eax + esi]
test esi, esi
je 0x10033d54
mov al, byte [ebp + 0x14]
nop word [eax + eax]
cmp byte [esi + 0x28], al
jne 0x10033cb6
mov eax, dword [ebp + 0x1c]
cmp dword [esi + 0x14], eax
jne 0x10033cb3
mov edx, edi
lea ecx, [esi + 0x29]
mov edi, eax
sub edi, 4
jb 0x10033c81
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10033c86
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10033c70
cmp edi, 0xfffffffc
je 0x10033cc5
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10033cb3
cmp edi, 0xfffffffd
je 0x10033cc5
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10033cb3
cmp edi, 0xfffffffe
je 0x10033cc5
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10033cb3
cmp edi, 0xffffffff
je 0x10033cc5
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x10033cc5
mov al, byte [ebp + 0x14]
mov esi, dword [esi]
test esi, esi
je 0x10033d50
mov edi, dword [ebp + 0x18]
jmp 0x10033c50
mov ecx, dword [esi + 8]
mov eax, ecx
sub eax, dword [esi + 0x10]
cmp eax, 0x16
jge 0x10033d38
lea eax, [ecx + ecx]
cdq
mov edi, eax
mov ebx, edx
call fcn.100791f0
test eax, eax
jne 0x1003402b
push ebx
push edi
mov ecx, esi
call fcn.101117b0
add esp, 8
test eax, eax
je 0x1003402b
mov ebx, dword [esp + 0x10]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x14]
mov edx, dword [ebx + 0x14]
lea ecx, [edi*4]
add edx, ecx
mov ecx, dword [edx]
cmp ecx, esi
je 0x10033d20
mov edx, ecx
mov ecx, dword [edx]
cmp ecx, esi
jne 0x10033d18
mov edi, dword [ebp + 0xc]
mov esi, eax
mov dword [edx], eax
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x10]
neg eax
mov dword [esp + 0x1c], eax
jmp 0x10033ebd
mov eax, dword [esi + 0x10]
mov ebx, dword [esp + 0x10]
neg eax
mov edx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
jmp 0x10033ebd
mov ecx, dword [esp + 0x10]
mov edi, dword [ebp + 0x1c]
add edi, 0x6a
xor esi, esi
jg 0x10033d6f
jl 0x10033d68
cmp edi, 0x80
jae 0x10033d6f
mov edi, 0x80
xor esi, esi
mov eax, dword [ecx + 8]
add eax, eax
cmp eax, dword [ecx + 0xc]
jl 0x10033dc2
call fcn.10034130
test eax, eax
jne 0x10034030
lea edx, [eax + 0xd]
test ebx, ebx
js 0x10033da6
mov esi, dword [ebp + 0x18]
movzx ecx, byte [ebx + esi]
lea eax, [edx*8]
xor ecx, eax
xor edx, ecx
sub ebx, 1
jns 0x10033d90
xor esi, esi
mov ebx, dword [esp + 0x10]
lea eax, [edx*8]
xor eax, dword [esp + 0x20]
xor eax, edx
xor edx, edx
div dword [ebx + 0xc]
mov dword [esp + 0x14], edx
jmp 0x10033dc6
mov ebx, dword [esp + 0x10]
call fcn.100791f0
test eax, eax
jne 0x1003402b
mov eax, edi
or eax, esi
je 0x10033de7
push esi
push edi
call fcn.10111bb0
add esp, 8
mov esi, eax
jmp 0x10033de9
xor esi, esi
test esi, esi
je 0x1003402b
mov al, byte [ebp + 0x14]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
movq qword [esi + 0x20], xmm0
mov dword [esi + 8], edi
mov edi, dword [ebp + 0x1c]
push edi
push dword [ebp + 0x18]
mov byte [esi + 0x28], al
lea eax, [esi + 0x29]
push eax
call fcn.10015590
mov dword [esi + 0x14], edi
lea eax, [edi + 0x2a]
mov byte [esi + edi + 0x29], 0
add esp, 0xc
mov edi, dword [esp + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + edi*4]
mov dword [esi], eax
mov eax, dword [ebx + 0x14]
mov dword [eax + edi*4], esi
inc dword [ebx + 8]
mov edx, dword [esi + 0x10]
mov edi, dword [ebp + 0xc]
add edx, esi
mov eax, dword [ebp + 8]
test edi, edi
ja 0x10033e8c
jb 0x10033e55
cmp eax, 0x7f
ja 0x10033e60
and al, 0x7f
mov byte [edx], al
mov eax, 1
jmp 0x10033e98
test edi, edi
ja 0x10033e8c
jb 0x10033e6d
cmp eax, 0x3fff
ja 0x10033e8c
mov ecx, eax
mov eax, edi
shrd ecx, eax, 7
shr eax, 7
or cl, 0x80
mov eax, dword [ebp + 8]
and al, 0x7f
mov byte [edx], cl
mov byte [edx + 1], al
mov eax, 2
jmp 0x10033e98
push edi
push eax
mov ecx, edx
call fcn.10020000
add esp, 8
add dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
mov edx, dword [ebp + 8]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], edi
mov dword [esi + 0xc], eax
cmp dword [ebx], 1
je 0x10033ebd
inc eax
mov dword [esi + 0x10], eax
mov eax, dword [ebx]
neg eax
sbb eax, eax
mov word [esi + 0x1a], ax
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
cmp edx, ecx
jne 0x10033ecf
cmp edi, eax
je 0x10033f6e
mov ebx, edx
mov edx, esi
sub ebx, ecx
mov ecx, dword [esp + 0x10]
push 0
sbb edi, eax
call fcn.10034040
mov ecx, dword [esi + 0x10]
add esp, 4
add ecx, esi
test edi, edi
ja 0x10033f29
jb 0x10033ef5
cmp ebx, 0x7f
ja 0x10033f01
and bl, 0x7f
mov eax, 1
mov byte [ecx], bl
jmp 0x10033f33
test edi, edi
ja 0x10033f29
jb 0x10033f0f
cmp ebx, 0x3fff
ja 0x10033f29
mov eax, ebx
shrd eax, edi, 7
or al, 0x80
shr edi, 7
and bl, 0x7f
mov byte [ecx], al
mov byte [ecx + 1], bl
mov eax, 2
jmp 0x10033f33
push edi
push ebx
call fcn.10020000
add esp, 8
mov ecx, dword [ebp + 8]
mov ebx, dword [esp + 0x10]
add dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x24], ecx
mov dword [esi + 0xc], eax
cmp dword [ebx], 1
mov dword [esp + 0x18], 1
je 0x10033f6e
inc eax
mov dword [esi + 0x10], eax
mov eax, dword [ebx]
neg eax
mov dword [esi + 0x1c], 0
sbb eax, eax
mov word [esi + 0x1a], ax
mov edi, dword [esp + 0x24]
test edi, edi
js 0x10034012
mov ecx, dword [ebx]
cmp ecx, 1
jne 0x10033f99
mov eax, dword [esi + 0x10]
add eax, dword [esp + 0x1c]
mov byte [esi + 0x19], cl
mov ecx, dword [ebx + 4]
add dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx eax, word [esi + 0x1a]
cmp edi, eax
je 0x10033fcf
test ecx, ecx
jne 0x1003400c
mov eax, dword [esi + 0x10]
mov byte [esi + eax], 1
mov eax, edi
inc dword [esi + 0x10]
mov ecx, dword [esi + 0x10]
cdq
add ecx, esi
push edx
push eax
call fcn.1001ff90
add esp, 8
mov word [esi + 0x1a], di
add dword [esi + 0x10], eax
mov dword [esi + 0x1c], 0
cmp dword [esp + 0x18], 0
je 0x10034016
mov edi, dword [ebp + 0x10]
mov ecx, dword [esi + 0x10]
mov eax, edi
sub eax, dword [esi + 0x1c]
add ecx, esi
add eax, 2
cdq
push edx
push eax
call fcn.1001ff90
add dword [esi + 0x10], eax
add esp, 8
mov eax, dword [esi + 0x10]
add eax, dword [esp + 0x1c]
mov dword [esi + 0x1c], edi
mov ecx, dword [ebx + 4]
add dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov word [esi + 0x1a], di
jmp 0x10033fd9
mov byte [esi + 0x18], 1
mov ecx, dword [ebx + 4]
mov eax, dword [esi + 0x10]
add eax, dword [esp + 0x1c]
add dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret