Function at 0x4336cb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4b4951]
push ebx
push esi
mov esi, ecx
lea ecx, [eax + 0x52e64a4f]
lea edx, [eax + 0x52e64a71]
xor edx, ecx
lea ebx, [eax - 0x75e5e5ce]
xor ebx, dword [edx*4 + 0x4c3828]
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x194]
xor ebx, ecx
test eax, eax
mov dword [ebp - 4], ebx
jne 0x43371a
cmp dword [ebp + 0x20], eax
je 0x433a33
call fcn.00421a5f
jmp 0x433a2b
push 0x68
call eax
test eax, eax
pop ecx
je 0x433a33
cmp dword [ebp + 0x10], 1
jl 0x433a20
mov ebx, dword [ebp + 0xc]
cmp ebx, 1
jl 0x433a1d
push 0x66
call dword [edi + 0x194]
push 0x67
mov dword [ebp + 8], eax
call dword [edi + 0x194]
cmp dword [ebp + 8], 1
pop ecx
pop ecx
mov dword [ebp - 8], eax
jl 0x433a33
cmp eax, 1
jl 0x433a33
lea eax, [ebx + ebx*2 + 1]
imul eax, dword [ebp + 0x10]
cmp dword [esi + 0xc], eax
mov dword [ebp + 0xc], eax
jl 0x43377d
cmp dword [esi], 0
jne 0x4337fb
mov edx, dword [esi]
test edx, edx
je 0x4337ae
mov eax, dword [0x4b4951]
lea ecx, [eax + 0x25e43165]
push edx
lea edx, [eax + 0x25e43275]
add eax, 0xfd186118
xor edx, ecx
xor eax, dword [edx*4 + 0x4c3828]
xor eax, ecx
call eax
and dword [esi], 0
mov eax, dword [ebp + 0xc]
pop ecx
push dword [ebp + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [0x4b4951]
lea ecx, [eax + 0x69596742]
lea edx, [eax + 0x695964df]
add eax, 0xb1a5373f
xor edx, ecx
xor eax, dword [edx*4 + 0x4c3828]
xor eax, ecx
call eax
test eax, eax
pop ecx
mov dword [esi], eax
jne 0x4337fb
mov eax, dword [0x4b4951]
lea ecx, [eax + 0x6801415e]
lea edx, [eax + 0x680143fc]
xor edx, ecx
add eax, 0xb0fd1123
jmp 0x4338bf
mov eax, dword [0x4b4951]
push dword [esi + 0xc]
lea ecx, [eax + 0x56a22c1e]
lea edx, [eax + 0x56a22f03]
add eax, 0x8e5e7c63
xor edx, ecx
xor eax, dword [edx*4 + 0x4c3828]
push 0
push dword [esi]
xor eax, ecx
call eax
mov eax, dword [ebp + 0x10]
mov word [esi + 0x1e], bx
imul ebx, eax
lea ebx, [ebx + ebx*2]
add esp, 0xc
cmp dword [esi + 0x10], ebx
mov word [esi + 0x1c], ax
jl 0x433848
cmp dword [esi + 4], 0
jne 0x4338e0
mov edx, dword [esi + 4]
test edx, edx
je 0x433878
mov eax, dword [0x4b4951]
lea ecx, [eax + 0x4c5a4280]
push edx
lea edx, [eax + 0x4c5a4190]
add eax, 0x94a612fd
xor edx, ecx
xor eax, dword [edx*4 + 0x4c3828]
xor eax, ecx
call eax
and dword [esi + 4], 0
pop ecx
mov dword [esi + 0x10], ebx
mov eax, dword [0x4b4951]
lea ecx, [eax + 0x6dc849e2]
lea edx, [eax + 0x6dc84a7f]
add eax, 0xb534199f
xor edx, ecx
xor eax, dword [edx*4 + 0x4c3828]
push ebx
xor eax, ecx
call eax
test eax, eax
pop ecx
mov dword [esi + 4], eax
jne 0x4338e0
mov eax, dword [0x4b4951]
lea ecx, [eax + 0x159c06ce]
lea edx, [eax + 0x159c046c]
xor edx, ecx
add eax, 0xcd6056b3
xor eax, dword [edx*4 + 0x4c3828]
xor eax, ecx
cmp dword [ebp + 0x20], 0
je 0x433a33
call eax
push eax
push dword [ebp + 0x20]
call dword [ebp - 4]
jmp 0x433a31
mov ax, word [ebp + 0x18]
mov word [esi + 0x24], ax
mov ax, word [ebp + 0x14]
mov word [esi + 0x26], ax
xor eax, eax
inc eax
cmp dword [ebp + 0x1c], eax
je 0x433907
cmp dword [ebp + 0x1c], 2
je 0x433907
cmp dword [ebp + 0x1c], 4
je 0x433907
mov dword [ebp + 0x1c], eax
mov al, byte [ebp + 0x1c]
push 0x65
mov byte [esi + 0x40], al
call dword [edi + 0x194]
mov ebx, eax
test ebx, ebx
pop ecx
je 0x433a33
movzx ecx, word [esi + 0x1e]
mov eax, dword [ebp + 8]
cmp ecx, eax
jle 0x43392f
mov word [esi + 0x1e], ax
movzx ecx, word [esi + 0x1c]
mov eax, dword [ebp - 8]
cmp ecx, eax
jle 0x43393e
mov word [esi + 0x1c], ax
movzx ecx, word [esi + 0x1c]
sub eax, ecx
movzx ecx, word [esi + 0x24]
imul eax, ecx
cdq
push 0x64
pop ecx
idiv ecx
movzx ecx, word [esi + 0x1e]
push 0x64
mov word [esi + 0x24], ax
mov eax, dword [ebp + 8]
sub eax, ecx
movzx ecx, word [esi + 0x26]
imul eax, ecx
pop ecx
cdq
idiv ecx
push dword [esi + 4]
push 0x69
mov word [esi + 0x26], ax
call dword [edi + 0x194]
pop ecx
push eax
push 0x68
call dword [edi + 0x194]
pop ecx
push eax
movzx eax, word [esi + 0x1c]
push eax
movzx eax, word [esi + 0x1e]
push eax
movzx eax, word [esi + 0x24]
push eax
movzx eax, word [esi + 0x26]
push eax
call ebx
movzx eax, word [esi + 0x1e]
movzx ecx, word [esi + 0x1c]
and dword [ebp + 0x10], 0
test ecx, ecx
lea ebx, [eax + eax*2]
lea eax, [ebx + 1]
jle 0x433a18
and dword [ebp + 0x20], 0
mov edi, eax
neg eax
imul edi, ecx
mov dword [ebp + 8], eax
mov eax, ebx
imul eax, dword [ebp + 0x1c]
mov dword [ebp + 0xc], eax
mov ecx, dword [esi + 4]
add ecx, dword [ebp + 0x20]
add edi, dword [ebp + 8]
mov eax, dword [0x4b4951]
push ebx
push ecx
mov ecx, dword [esi]
lea ecx, [edi + ecx + 1]
lea edx, [eax + 0x17b007d0]
push ecx
lea ecx, [eax + 0x17b006da]
add eax, 0xcf4c56a7
xor edx, ecx
xor eax, dword [edx*4 + 0x4c3828]
xor eax, ecx
call eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
add dword [ebp + 0x20], ecx
add eax, dword [ebp + 0x1c]
movzx ecx, word [esi + 0x1c]
add esp, 0xc
cmp eax, ecx
mov dword [ebp + 0x10], eax
jl 0x4339c9
xor eax, eax
inc eax
jmp 0x433a35
mov ebx, dword [ebp - 4]
cmp dword [ebp + 0x20], 0
je 0x433a33
call fcn.004156ff
push eax
push dword [ebp + 0x20]
call ebx
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x1c