Function at 0x4345d0
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 + 0x1c], ecx
cmp dword [ecx + 4], 0
je 0x434683
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
test ecx, ecx
je 0x434683
mov dword [esp + 0x14], 0x54554a4b
mov word [esp + 0x18], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x43464e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x14]
add eax, 0xeb1bc1ee
xor eax, edx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x5a
mov edx, dword [esp]
mov byte [esp + edx + 0x14], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x434620
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov eax, dword [esp + 0x14]
mov edi, dword [0x443f64]
test edi, edi
je 0x4346f9
xor esi, esi
mov edx, dword [0x443f68]
nop
nop
cmp dword [edx + esi*8], 0xc766965c
je 0x4346d9
inc esi
cmp edi, esi
jne 0x434670
mov esi, dword [ebp + 0x10]
jmp 0x4346f9
mov dword [esp], 0x713e3f24
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 3
ja 0x4346d1
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx]
add eax, 0x4b12175
xor eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add al, 0xb7
mov ecx, dword [esp + 8]
mov byte [esp + ecx], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 4
jb 0x4346a0
mov eax, dword [esp]
jmp 0x434822
mov edx, dword [edx + esi*8 + 4]
cmp edx, eax
mov esi, dword [ebp + 0x10]
je 0x4346f9
push dword [ebp + 8]
push ecx
push 2
push dword [0x443f6c]
push edx
call fcn.00436330
add esp, 0x14
cmp ebx, 1
mov ecx, esi
sbb ecx, 0
jl 0x434811
cmp eax, 0xc000010a
jne 0x434811
mov edi, esi
mov esi, ebx
and esi, 0xffffd8f0
mov eax, esi
xor eax, 0xffffd8f0
mov ecx, edi
not ecx
mov edx, ebx
and edx, 0x270f
imul ecx, edx
mul edx
mov dword [esp + 0x20], eax
add edx, ecx
mov ecx, edx
or ebx, 0xffffd8f0
mov eax, ebx
mul esi
imul edi, ebx
add edx, edi
sub edx, esi
add eax, dword [esp + 0x20]
adc edx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov dword [esp + 0x14], 0x54554a4b
mov word [esp + 0x18], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 5
ja 0x4347c1
nop
nop
nop
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 + 0x14]
add eax, 0xeb1bc1ee
xor eax, ecx
mov dword [esp], eax
mov eax, dword [esp]
add al, 0x5a
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x14], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 6
jb 0x434790
mov eax, dword [esp + 0x14]
mov esi, dword [0x443f64]
test esi, esi
je 0x434811
xor edi, edi
mov ecx, dword [0x443f68]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + edi*8], 0x7e28bda7
je 0x4347f0
inc edi
cmp esi, edi
jne 0x4347e0
jmp 0x434811
mov ecx, dword [ecx + edi*8 + 4]
cmp ecx, eax
je 0x434811
lea eax, [esp + 8]
push eax
push 0
push edx
push 3
push dword [0x443f6c]
push ecx
call fcn.00436330
add esp, 0x18
test eax, eax
js 0x434822
mov ecx, dword [esp + 0x1c]
mov esi, eax
call fcn.00434500
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc