Function at 0x4351f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov dword [esp + 0x10], 0xea959497
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xf
ja 0x43526e
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x10]
mov edx, 0x42
sub edx, eax
add eax, 0xc80c9cbd
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
add al, 0xd5
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x10
jb 0x435230
mov esi, dword [esp + 0x10]
mov eax, dword [0x43f060]
test eax, eax
je 0x4352cc
xor ecx, ecx
mov edx, dword [0x43f064]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x5fb66e8c
je 0x4352a0
inc ecx
cmp eax, ecx
jne 0x435290
jmp 0x4352cc
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x4352cc
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x43f068]
push eax
call fcn.00432610
add esp, 0x24
mov esi, eax
mov dword [esp + 0x10], 0x733231d3
mov dword [esp + 0x14], 0
mov word [esp + 0x18], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 9
ja 0x43533e
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 + 0x10]
mov edx, 0x27
sub edx, eax
add eax, 0x212b45d8
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
add al, 0x18
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xa
jb 0x435300
cmp esi, dword [esp + 0x10]
jne 0x435535
push dword [esp + 0x20]
call fcn.00430d60
add esp, 4
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], 0xea959497
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xf
ja 0x4353ce
nop
nop
nop
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x10]
mov esi, 0x42
sub esi, eax
add eax, 0xc80c9cbd
xor esi, eax
and esi, edx
xor esi, eax
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0xc]
add al, 0xd5
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x10
jb 0x435390
mov ebx, dword [ebp + 0x14]
mov esi, dword [esp + 0x10]
mov eax, dword [0x43f060]
test eax, eax
je 0x43542e
xor edx, edx
mov edi, dword [0x43f064]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x5fb66e8c
je 0x435400
inc edx
cmp eax, edx
jne 0x4353f0
jmp 0x43542e
mov eax, dword [edi + edx*8 + 4]
cmp eax, esi
je 0x43542e
lea edx, [esp + 0x20]
push edx
push ecx
mov ecx, dword [esp + 0x10]
push ecx
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x43f068]
push eax
call fcn.00432610
add esp, 0x24
mov esi, eax
test ebx, ebx
je 0x435529
test esi, esi
js 0x435529
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43551e
mov eax, dword [esp + 8]
mov edx, dword [eax + 0xc]
shr edx, 1
mov eax, dword [ebx]
cmp eax, edx
jb 0x43545a
mov eax, edx
mov dword [esp + 0x28], esi
test eax, eax
je 0x435515
mov edx, dword [esp + 8]
add edx, 0x10
mov esi, eax
and esi, 3
je 0x4354ab
mov dword [esp + 0x24], eax
xor edi, edi
nop
nop
nop
nop
nop
nop
movzx eax, word [edx]
xor ebx, ebx
test ax, ax
setne bl
lea edx, [edx + ebx*2]
mov word [ecx], ax
add ecx, 2
inc edi
cmp esi, edi
jne 0x435480
mov eax, dword [esp + 0x24]
mov esi, eax
sub esi, edi
mov ebx, dword [ebp + 0x14]
cmp eax, 4
jae 0x4354c0
jmp 0x435515
mov esi, eax
cmp eax, 4
jb 0x435515
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, word [edx]
xor ebx, ebx
test ax, ax
setne bl
mov word [ecx], ax
lea eax, [edx + ebx*2]
movzx edx, word [edx + ebx*2]
xor ebx, ebx
test dx, dx
setne bl
mov word [ecx + 2], dx
lea edx, [eax + ebx*2]
movzx eax, word [eax + ebx*2]
xor ebx, ebx
test ax, ax
setne bl
mov word [ecx + 4], ax
lea eax, [edx + ebx*2]
movzx edi, word [edx + ebx*2]
xor edx, edx
test di, di
setne dl
lea edx, [eax + edx*2]
mov word [ecx + 6], di
add ecx, 8
add esi, 0xfffffffc
jne 0x4354c0
mov ebx, dword [ebp + 0x14]
mov word [ecx], 0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 8]
mov eax, dword [eax + 0xc]
shr eax, 1
mov dword [ebx], eax
push dword [esp + 8]
call fcn.00430e10
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret