Function at 0x435f50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov edi, ecx
mov dword [esp + 0xc], 0
mov word [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0xbcbdbebf
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x19
ja 0x435fd5
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
add al, 0xe8
xor al, byte [esp + ecx + 0x10]
add al, 0xa8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x1a
jb 0x435fb0
mov ebx, dword [esp + 0x10]
mov eax, dword [0x44a04c]
test eax, eax
je 0x436026
xor ecx, ecx
mov edx, dword [0x44a050]
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x18dc7455
je 0x436000
inc ecx
cmp eax, ecx
jne 0x435ff0
jmp 0x436026
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x436026
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 5
push 4
push dword [0x44a054]
push eax
call fcn.00437ca0
add esp, 0x1c
mov ebx, eax
cmp ebx, 0xc0000004
jne 0x436218
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2b], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0xf3f2cd9c
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0x1e
ja 0x4360ca
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx esi, byte [esp + ecx + 0x10]
lea ecx, [edx + esi]
add ecx, 0xf2170de
add edx, 0xf2170de
and edx, esi
add edx, edx
sub ecx, edx
add cl, 0xee
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x1f
jb 0x436090
mov ecx, dword [esp + 0x10]
mov ecx, dword fs:[ecx]
push eax
push 0
push dword [ecx + 0x18]
call dword [0x452078]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
mov word [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0xbcbdbebf
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0x19
ja 0x436157
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
add cl, 0xe8
xor cl, byte [esp + edx + 0x10]
add cl, 0xa8
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x1a
jb 0x436130
mov ebx, dword [esp + 0x10]
mov ecx, dword [0x44a04c]
test ecx, ecx
je 0x4361a4
xor edx, edx
mov esi, dword [0x44a050]
nop
nop
nop
cmp dword [esi + edx*8], 0x18dc7455
je 0x436180
inc edx
cmp ecx, edx
jne 0x436170
jmp 0x4361a4
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, ebx
je 0x4361a4
push 0
push eax
push dword [esp + 0x10]
push 5
push 4
push dword [0x44a054]
push ecx
call fcn.00437ca0
add esp, 0x1c
mov ebx, eax
test ebx, ebx
js 0x43620c
mov dword [esp + 0x38], edi
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 8]
mov esi, dword [ecx]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [ecx + esi + 0x3c]
add ecx, esi
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, word [edx + ebx]
movzx edi, word [eax + ebx]
test si, si
je 0x4361e5
add ebx, 2
cmp si, di
je 0x4361d0
cmp si, di
je 0x4361f7
mov esi, dword [ecx]
test esi, esi
jne 0x4361c0
mov ebx, 0xc0000225
jmp 0x43620c
mov eax, dword [ecx + 0x44]
mov edx, dword [esp + 0x38]
mov dword [edx + 4], eax
mov eax, dword [ecx + 0xdc]
mov dword [edx + 8], eax
xor ebx, ebx
push dword [esp + 8]
call fcn.00435e40
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4