Function at 0x436f10
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x6669b0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x702ca8]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp byte [edi + 0x94], bl
je 0x437057
mov ebp, dword [esp + 0x60]
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x60]
push ecx
mov ecx, edi
mov dword [esp + 0x64], eax
call fcn.00436710
mov esi, dword [esp + 0x60]
cmp esi, 0x400
jl 0x436fde
push 0x1a2
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x80], esp
push 0x6c0ac8
call fcn.00402ee0
mov eax, dword [0x717c9c]
mov ecx, dword [eax + 0x14]
lea edx, [esp + 0x54]
push edx
call fcn.00443d60
mov dword [esp + 0x5c], ebx
cmp dword [eax + 0x18], 0x10
jb 0x436fa6
mov eax, dword [eax + 4]
jmp 0x436fa9
add eax, 4
push eax
push 0x6c0b48
push 0x6c0b5c
push 0x6ba0ac
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x90], esp
push 0x6ba0c0
call fcn.00402ee0
mov ecx, dword [0x717c9c]
mov edx, dword [ecx + 0x14]
push edx
call fcn.00443a50
cmp dword [ebp + 0x18], 0x10
jb 0x436fe9
mov eax, dword [ebp + 4]
jmp 0x436fec
lea eax, [ebp + 4]
push esi
push eax
push 0x718728
call fcn.0061d090
add esp, 0xc
xor eax, eax
cmp esi, ebx
jle 0x437010
mov cl, 0xaa
xor byte [eax + 0x718728], cl
add eax, 1
cmp eax, esi
jl 0x437003
cmp byte [edi + 0x94], bl
push esi
je 0x437038
mov eax, dword [edi + 0xd8]
push 0x718728
push eax
call fcn.0061d090
add esp, 0xc
add dword [edi + 0xd8], esi
jmp 0x4371fc
mov ecx, dword [edi + 0xd8]
push ecx
push 0x718728
call fcn.0061d090
add esp, 0xc
add dword [edi + 0xd8], esi
jmp 0x4371fc
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], ebx
call fcn.00436710
mov esi, dword [esp + 0x14]
cmp esi, 0x400
jl 0x4370ea
push 0x1b0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x80], esp
push 0x6c0ac8
call fcn.00402ee0
mov ecx, dword [0x717c9c]
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x54]
push eax
call fcn.00443d60
mov dword [esp + 0x5c], 1
cmp dword [eax + 0x18], 0x10
jb 0x4370b2
mov eax, dword [eax + 4]
jmp 0x4370b5
add eax, 4
push eax
push 0x6c0b48
push 0x6c0b5c
push 0x6ba0ac
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x90], esp
push 0x6ba0c0
call fcn.00402ee0
mov edx, dword [0x717c9c]
mov eax, dword [edx + 0x14]
push eax
call fcn.00443a50
mov eax, dword [esp + 0x64]
cmp eax, ebx
jl 0x43716e
cmp esi, eax
jle 0x43716e
push 0x1b3
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x80], esp
push 0x6c0ac8
call fcn.00402ee0
mov edx, dword [0x717c9c]
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [edx + 0x14]
call fcn.00443d60
mov dword [esp + 0x5c], 2
cmp dword [eax + 0x18], 0x10
jb 0x437137
mov eax, dword [eax + 4]
jmp 0x43713a
add eax, 4
push eax
push 0x6c0b48
push 0x6c0b70
push 0x6ba0ac
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x90], esp
push 0x6ba0c0
call fcn.00402ee0
mov eax, dword [0x717c9c]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.00443a50
push esi
push 0x718728
mov ecx, edi
call fcn.00436590
xor eax, eax
cmp esi, ebx
mov byte [esi + 0x718728], bl
jle 0x43719d
mov cl, 0xaa
lea esp, [esp]
xor byte [eax + 0x718728], cl
add eax, 1
cmp eax, esi
jl 0x437190
mov eax, 0x718728
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4371b5
sub eax, edx
push eax
push 0x718728
lea ecx, [esp + 0x20]
call fcn.004027b0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x20]
mov dword [esp + 0x60], 3
mov ecx, dword [esp + 0x68]
push edx
call fcn.00402610
cmp dword [esp + 0x30], 0x10
jb 0x4371fc
mov eax, dword [esp + 0x1c]
push eax
call fcn.0060445c
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 8