Function at 0x434390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov dword [esp + 0x14], ecx
cmp dword [ecx + 4], 0
je 0x434456
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
test ecx, ecx
je 0x434456
mov dword [esp + 8], 0x74757a7b
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 7
ja 0x434413
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 8]
add eax, 0xb63fd016
xor eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
add al, 0x92
mov edx, dword [esp + 4]
mov byte [esp + edx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 8
jb 0x4343e0
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov eax, dword [esp + 8]
mov edi, dword [0x443d54]
test edi, edi
je 0x4344e5
xor esi, esi
mov edx, dword [0x443d58]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + esi*8], 0xc766965c
je 0x4344c5
inc esi
cmp edi, esi
jne 0x434440
mov esi, dword [ebp + 0x10]
jmp 0x4344e5
mov dword [esp + 8], 0x4186878c
mov byte [esp + 0xc], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 4
ja 0x4344bc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 8]
lea edx, [eax + 0x21]
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add eax, 0x2bed4121
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
add al, 0x5b
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x434480
mov eax, dword [esp + 8]
jmp 0x434602
mov edx, dword [edx + esi*8 + 4]
cmp edx, eax
mov esi, dword [ebp + 0x10]
je 0x4344e5
push dword [ebp + 8]
push ecx
push 2
push dword [0x443d5c]
push edx
call fcn.00435eb0
add esp, 0x14
cmp ebx, 1
mov ecx, esi
sbb ecx, 0
jl 0x4345f1
cmp eax, 0xc000010a
jne 0x4345f1
mov ecx, ebx
and ecx, 0x270f
mov edi, esi
mov esi, ebx
and esi, 0xffffd8f0
mov eax, esi
xor eax, 0xffffd8f0
not edi
imul edi, ecx
mul ecx
mov dword [esp + 0x20], eax
mov ecx, edx
add ecx, edi
or ebx, 0xffffd8f0
mov eax, ebx
mul esi
mov edi, dword [ebp + 0x10]
imul edi, ebx
add edx, edi
sub edx, esi
add eax, dword [esp + 0x20]
adc edx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov dword [esp + 8], 0x74757a7b
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 7
ja 0x4345a3
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [esp + ecx + 8]
add eax, 0xb63fd016
xor eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x92
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 8], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 8
jb 0x434570
mov eax, dword [esp + 8]
mov esi, dword [0x443d54]
test esi, esi
je 0x4345f1
xor edi, edi
mov ecx, dword [0x443d58]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + edi*8], 0x7e28bda7
je 0x4345d0
inc edi
cmp esi, edi
jne 0x4345c0
jmp 0x4345f1
mov ecx, dword [ecx + edi*8 + 4]
cmp ecx, eax
je 0x4345f1
lea eax, [esp + 0x18]
push eax
push 0
push edx
push 3
push dword [0x443d5c]
push ecx
call fcn.00435eb0
add esp, 0x18
test eax, eax
js 0x434602
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.004342c0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc