Function at 0x4359e0
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 dword [esp + 0x1f], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x1c1d1e1f
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x12
ja 0x435a55
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
add al, 0xfc
xor al, byte [esp + ecx + 0x10]
add al, 0x1c
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x13
jb 0x435a30
mov ebx, dword [esp + 0x10]
mov eax, dword [0x448c38]
test eax, eax
je 0x435aa6
xor ecx, ecx
mov edx, dword [0x448c3c]
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x18dc7455
je 0x435a80
inc ecx
cmp eax, ecx
jne 0x435a70
jmp 0x435aa6
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x435aa6
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 5
push 4
push dword [0x448c40]
push eax
call fcn.00437930
add esp, 0x1c
mov ebx, eax
cmp ebx, 0xc0000004
jne 0x435c94
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], 0x83808176
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xf
ja 0x435b34
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx esi, byte [esp + edx + 0x10]
lea edx, [ecx + esi]
add edx, 0xbb18a76b
add ecx, 0xbb18a76b
and ecx, esi
add ecx, ecx
mov esi, edx
not esi
and esi, ecx
not ecx
and ecx, edx
sub ecx, esi
add cl, 0x13
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x10
jb 0x435af0
mov ecx, dword [esp + 0x10]
mov ecx, dword fs:[ecx]
push eax
push 0
push dword [ecx + 0x18]
call dword [0x450c64]
mov esi, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1f], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x1c1d1e1f
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0x12
ja 0x435bb7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
add cl, 0xfc
xor cl, byte [esp + edx + 0x10]
add cl, 0x1c
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x13
jb 0x435b90
mov ebx, dword [esp + 0x10]
mov ecx, dword [0x448c38]
test ecx, ecx
je 0x435c1c
mov dword [esp + 8], eax
mov eax, edi
mov edi, esi
xor edx, edx
mov esi, dword [0x448c3c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x18dc7455
je 0x435bf4
inc edx
cmp ecx, edx
jne 0x435be0
mov esi, edi
mov edi, eax
jmp 0x435c1c
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, ebx
mov esi, edi
mov edi, eax
je 0x435c1c
push 0
push dword [esp + 0xc]
push esi
push 5
push 4
push dword [0x448c40]
push ecx
call fcn.00437930
add esp, 0x1c
mov ebx, eax
test ebx, ebx
js 0x435c8b
mov dword [esp + 0x38], edi
mov eax, dword [ebp + 8]
mov edx, dword [esi]
mov dword [esp + 8], esi
mov ecx, esi
nop
mov ebx, dword [ecx + edx + 0x3c]
add ecx, edx
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [ebx + esi]
movzx edi, word [eax + esi]
test edx, edx
je 0x435c54
add esi, 2
cmp dx, di
je 0x435c40
movzx esi, di
mov edi, edx
not edi
and edi, esi
not esi
and esi, edx
cmp esi, edi
je 0x435c72
mov edx, dword [ecx]
test edx, edx
jne 0x435c30
mov ebx, 0xc0000225
jmp 0x435c87
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
mov esi, dword [esp + 8]
push esi
call fcn.00435910
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4