Function at 0x435dc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov esi, ecx
mov eax, dword [ecx + 4]
test eax, eax
je 0x435de6
cmp eax, 2
je 0x435e63
jmp 0x435fce
push 0xbbf966b4
push dword [0x4497ec]
call fcn.0043b560
add esp, 8
test eax, eax
je 0x435e27
mov ecx, dword [esi]
test ecx, ecx
je 0x435e57
mov dword [esp + 0x10], 0
lea edx, [esp + 0x10]
push edx
push ecx
call eax
test eax, eax
je 0x435e33
cmp dword [esp + 0x10], 0
je 0x435e33
mov dword [esi + 4], 3
jmp 0x435e57
mov dword [esi + 4], 1
jmp 0x435fce
lea eax, [esp + 0x50]
push eax
call fcn.0043be00
add esp, 4
test al, al
je 0x435e57
mov eax, dword [esp + 0x50]
mov ecx, 2
cmp eax, 3
je 0x435e54
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x435fce
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0xfadffdda
mov dword [esp + 0x14], 0xe98bfbe9
mov dword [esp + 0x18], 0xf2f2f7f9
mov dword [esp + 0x1c], 0xfec7f9e5
mov dword [esp + 0x20], 0x96e8eae5
mov byte [esp + 0x24], 0x1c
mov word [esp + 0x25], 0
mov byte [esp + 0x27], 0
mov eax, 0x5bf9ec42
mov edi, 0xbd
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x5bf9ec32]
mov ecx, edi
xor ecx, eax
and ecx, edx
xor ecx, eax
mov ebx, ecx
xor ebx, 0xcbe19d4a
mov edx, ecx
or edx, 0x101860b5
and edx, ebx
mov ebx, edx
and ebx, 0xfffffffd
mov esi, edx
and esi, 2
or edx, 2
imul edx, esi
xor esi, 2
imul esi, ebx
xor ecx, 0x341e62b5
add edx, ecx
add edx, esi
and ecx, 1
xor edx, 1
or edx, ecx
add edx, ecx
mov byte [esp + eax - 0x5bf9ec32], dl
inc eax
dec edi
cmp eax, 0x5bf9ec5a
jne 0x435eb0
lea edi, [esp + 0x10]
lea eax, [esp + 0x80]
push edi
push eax
call fcn.0043a630
add esp, 8
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x58], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0x30
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
lea eax, [esp + 0x50]
push 6
push eax
push dword [esp + 0x8c]
push dword [esp + 0x8c]
call fcn.0043a700
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov esi, dword [ebp + 0x10]
mov dword [esi + 4], edx
mov dword [esi], ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov esi, dword [ebp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [ebp + 0x1c]
mov dword [edx], ecx
jmp 0x436090
mov dword [esp + 0x50], 0x818687e0
mov word [esp + 0x54], 0
mov byte [esp + 0x56], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ecx, [eax + 1]
movzx edx, byte [esp + eax + 0x50]
xor dl, cl
xor dl, 0xa0
add dl, 0xdb
mov byte [esp + eax + 0x50], dl
mov eax, ecx
cmp ecx, 7
jne 0x435ff0
mov ebx, dword [esp + 0x50]
mov edi, dword [esi]
mov dword [esp + 0x10], 0x1c1d1a1b
mov dword [esp + 0x14], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x3a
xor cl, byte [esp + eax + 0x10]
add cl, 0xde
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, 8
jne 0x436030
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4497f8]
test ecx, ecx
je 0x43606e
xor edx, edx
mov esi, dword [0x4497fc]
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xba50defc
je 0x43609a
inc edx
cmp ecx, edx
jne 0x436060
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov dword [edx + 4], 0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], ebx
mov dword [ecx + 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], edi
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov dword [esp + 0x4c], ebx
mov dword [esp + 0xc], edi
mov edx, dword [esi + edx*8 + 4]
cmp edx, eax
je 0x43606e
lea eax, [esp + 0x10]
push 0
push dword [esp + 0x50]
push eax
push 0
push dword [ebp + 8]
push dword [esp + 0x20]
push 0x18
push edx
push dword [0x449800]
call fcn.00438810
add esp, 0x24
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
jmp 0x43606e