Function at 0x435c50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov dword [esp], 0xc0000008
mov dword [esp + 0x14], ecx
cmp dword [ecx + 8], 0
je 0x435f17
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
test eax, eax
je 0x435f17
mov dword [esp + 4], eax
mov dword [esp + 8], 0x12d612d7
xor eax, eax
mov bl, 1
nop
movzx edx, word [esp + eax*2 + 8]
mov edi, eax
or edi, 0x56c8fde8
mov esi, edx
not esi
lea ecx, [edx + esi*2]
inc ecx
and ecx, edi
mov edi, eax
xor edi, 0x217
and edi, edx
lea esi, [ecx + edi]
add esi, 0x10bf
or ecx, edi
mov edx, 0x6f40
sub edx, ecx
and edx, 0x4972
and esi, 0xb68d
sub esi, edx
add esi, 0x4973
mov word [esp + eax*2 + 8], si
mov eax, 1
test bl, 1
mov ebx, 0
jne 0x435c90
mov eax, dword [esp + 8]
mov dword [esp], eax
mov ebx, dword [0x445320]
test ebx, ebx
je 0x435d44
xor edi, edi
mov esi, dword [0x445324]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edi*8], 0xddb7c3f3
je 0x435d20
inc edi
cmp ebx, edi
jne 0x435d10
jmp 0x435d44
mov esi, dword [esi + edi*8 + 4]
cmp esi, dword [esp]
je 0x435d44
push dword [ebp + 8]
push dword [esp + 8]
push 8
push esi
push dword [0x445328]
call fcn.004371a0
add esp, 0x14
mov dword [esp], eax
cmp dword [ebp + 0xc], 0
je 0x435e44
cmp dword [esp], 0xc000010a
jne 0x435e44
mov ecx, 0xffffd8f0
mov esi, dword [ebp + 0xc]
mov eax, esi
mul ecx
sub edx, esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp + 0x18], 0x12d612d7
xor eax, eax
mov bl, 1
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [esp + eax*2 + 0x18]
mov edx, eax
or edx, 0x56c8fde8
mov esi, ecx
not esi
lea esi, [ecx + esi*2]
inc esi
and esi, edx
mov edi, eax
xor edi, 0x217
and edi, ecx
lea edx, [esi + edi]
add edx, 0x10bf
or esi, edi
mov ecx, 0x6f40
sub ecx, esi
and ecx, 0x4972
and edx, 0xb68d
sub edx, ecx
add edx, 0x4973
mov word [esp + eax*2 + 0x18], dx
mov eax, 1
xor edi, edi
test bl, 1
mov ebx, 0
jne 0x435d90
cmp dword [ebp + 0xc], 0xffffffff
je 0x435df7
lea edi, [esp + 8]
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov esi, dword [0x445320]
test esi, esi
je 0x435e44
xor ebx, ebx
mov edx, dword [0x445324]
cmp dword [edx + ebx*8], 0xa67d73aa
je 0x435e20
inc ebx
cmp esi, ebx
jne 0x435e10
jmp 0x435e44
mov edx, dword [edx + ebx*8 + 4]
cmp edx, dword [esp]
je 0x435e44
push edi
push 0
push dword [esp + 0xc]
push 0xc
push edx
push dword [0x445328]
call fcn.004371a0
add esp, 0x18
mov dword [esp], eax
cmp dword [esp], 0
js 0x435f17
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
test eax, eax
je 0x435f17
mov dword [esp + 4], eax
mov dword [esp + 8], 0x12d612d7
xor ebx, ebx
mov al, 1
nop
nop
nop
nop
movzx edx, word [esp + ebx*2 + 8]
mov edi, ebx
or edi, 0x56c8fde8
mov ecx, edx
not ecx
lea ecx, [edx + ecx*2]
inc ecx
and ecx, edi
mov esi, ebx
xor esi, 0x217
and esi, edx
lea edi, [ecx + esi]
add edi, 0x10bf
or ecx, esi
mov edx, 0x6f40
sub edx, ecx
and edx, 0x4972
and edi, 0xb68d
sub edi, edx
add edi, 0x4973
mov word [esp + ebx*2 + 8], di
mov ebx, 1
test al, 1
mov eax, 0
jne 0x435e70
mov esi, dword [0x445320]
test esi, esi
je 0x435f0d
mov eax, dword [esp + 8]
xor ebx, ebx
mov edi, dword [0x445324]
cmp dword [edi + ebx*8], 0xb430e561
je 0x435ef0
inc ebx
cmp esi, ebx
jne 0x435ee0
jmp 0x435f0d
mov esi, dword [edi + ebx*8 + 4]
cmp esi, eax
je 0x435f0d
push dword [esp + 4]
push 4
push esi
push dword [0x445328]
call fcn.004371a0
add esp, 0x10
mov ecx, dword [esp + 0x14]
mov dword [ecx], 0
mov eax, dword [esp]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8