Function at 0x436150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
push ebx
mov ebx, ecx
cmp byte [ebx + 0x27], 0
je 0x4364b9
cmp dword [ebx + 0x808], 3
jge 0x43618c
push 0
push str.1YWe
push 0x44d87c
push dword [0x456ca4]
call dword [sym.imp.USER32.dll_MessageBoxW]
pop ebx
mov esp, ebp
pop ebp
ret
push 0x44d6f0
mov byte [ebx + 0x2a], 1
push dword [0x456e3c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [ebx + 0x808], 0
mov dword [ebp - 8], 0
jl 0x4363a3
lea eax, [ebx + 0xc8964]
mov dword [ebp - 0xc], eax
lea edx, [ebx + 0xe90]
lea eax, [ebx + 0x15e4]
push esi
mov dword [ebp - 4], eax
push edi
nop
mov esi, edx
lea edi, [ebp - 0x64c]
mov ecx, 0x190
lea edx, [eax + 0x3f4]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
mov ecx, dword [edx + 0x50]
lea edx, [edx - 4]
mov eax, ecx
xor eax, 0x10
cmp ecx, 0x80
cmove eax, ecx
mov dword [ebp + esi*4 - 0x4a8], eax
mov eax, dword [edx + 4]
mov ecx, eax
xor ecx, 0x10
cmp eax, 0x80
cmove ecx, eax
mov eax, dword [edx - 0x4c]
mov dword [ebp + esi*4 - 0x458], ecx
mov ecx, eax
xor ecx, 0x10
cmp eax, 0x80
cmove ecx, eax
mov eax, dword [edx - 0x9c]
mov dword [ebp + esi*4 - 0x408], ecx
mov ecx, eax
xor ecx, 0x10
cmp eax, 0x80
cmove ecx, eax
mov eax, dword [edx - 0xec]
mov dword [ebp + esi*4 - 0x3b8], ecx
mov ecx, eax
xor ecx, 0x10
cmp eax, 0x80
cmove ecx, eax
mov eax, dword [edx - 0x13c]
mov dword [ebp + esi*4 - 0x368], ecx
mov ecx, eax
xor ecx, 0x10
cmp eax, 0x80
cmove ecx, eax
mov eax, dword [edx - 0x18c]
mov dword [ebp + esi*4 - 0x318], ecx
mov ecx, eax
xor ecx, 0x10
cmp eax, 0x80
cmove ecx, eax
mov eax, dword [edx - 0x1dc]
mov dword [ebp + esi*4 - 0x2c8], ecx
mov ecx, eax
xor ecx, 0x10
cmp eax, 0x80
cmove ecx, eax
mov eax, dword [edx - 0x22c]
mov dword [ebp + esi*4 - 0x278], ecx
mov ecx, eax
xor ecx, 0x10
cmp eax, 0x80
cmove ecx, eax
mov dword [ebp + esi*4 - 0x228], ecx
inc esi
cmp esi, 9
jl 0x4361e7
mov edx, dword [ebp - 0xc]
lea esi, [ebp - 0x64c]
mov edi, dword [ebp - 4]
mov ecx, 0x190
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [edx - 0x3e80]
mov eax, dword [edx]
mov dword [edx - 0x3e80], eax
mov eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx - 0x3e7c]
mov dword [edx - 0x3e7c], eax
mov eax, dword [edx + 8]
mov dword [edx + 4], ecx
mov ecx, dword [edx - 0x3e78]
mov dword [edx - 0x3e78], eax
mov eax, dword [edx + 0xc]
mov dword [edx + 8], ecx
mov ecx, dword [edx - 0x3e74]
mov dword [edx - 0x3e74], eax
mov eax, dword [edx + 0x10]
mov dword [edx + 0xc], ecx
mov ecx, dword [edx - 0x3e70]
mov dword [edx - 0x3e70], eax
mov eax, dword [edx + 0x14]
mov dword [edx + 0x10], ecx
mov ecx, dword [edx - 0x3e6c]
mov dword [edx - 0x3e6c], eax
mov eax, dword [edx + 0x18]
mov dword [edx + 0x14], ecx
mov ecx, dword [edx - 0x3e68]
mov dword [edx - 0x3e68], eax
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x18], ecx
mov ecx, dword [edx - 0x3e64]
mov dword [edx + 0x1c], ecx
mov ecx, dword [ebp - 8]
mov dword [edx - 0x3e64], eax
inc ecx
mov eax, dword [ebp - 4]
add edx, 0x20
add eax, 0x640
mov dword [ebp - 0xc], edx
lea edx, [ebx + 0xe90]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
cmp ecx, dword [ebx + 0x808]
jle 0x4361d0
pop edi
pop esi
mov ecx, dword [ebx + 0x80c]
xor eax, eax
test ecx, ecx
mov dword [ebx + 0x804], 0
mov edx, 0x190
sete al
test ecx, ecx
mov dword [ebx + 0x80c], eax
lea ecx, [ebx + 0x810]
setne al
mov byte [ebx + 0x27], al
mov eax, dword [ecx + 0xdd4]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub edx, 1
jne 0x4363d3
mov eax, dword [ebx + 0xc4ae4]
mov ecx, ebx
mov dword [ebx + 0xe50], eax
mov eax, dword [ebx + 0xc8964]
mov dword [ebx + 0xe70], eax
mov eax, dword [ebx + 0xc4ae8]
mov dword [ebx + 0xe54], eax
mov eax, dword [ebx + 0xc8968]
mov dword [ebx + 0xe74], eax
mov eax, dword [ebx + 0xc4aec]
mov dword [ebx + 0xe58], eax
mov eax, dword [ebx + 0xc896c]
mov dword [ebx + 0xe78], eax
mov eax, dword [ebx + 0xc4af0]
mov dword [ebx + 0xe5c], eax
mov eax, dword [ebx + 0xc8970]
mov dword [ebx + 0xe7c], eax
mov eax, dword [ebx + 0xc4af4]
mov dword [ebx + 0xe60], eax
mov eax, dword [ebx + 0xc8974]
mov dword [ebx + 0xe80], eax
mov eax, dword [ebx + 0xc4af8]
mov dword [ebx + 0xe64], eax
mov eax, dword [ebx + 0xc8978]
mov dword [ebx + 0xe84], eax
mov eax, dword [ebx + 0xc4afc]
mov dword [ebx + 0xe68], eax
mov eax, dword [ebx + 0xc897c]
mov dword [ebx + 0xe88], eax
mov eax, dword [ebx + 0xc4b00]
mov dword [ebx + 0xe6c], eax
mov eax, dword [ebx + 0xc8980]
mov dword [ebx + 0xe8c], eax
mov dword [ebx], edx
mov dword [ebx + 0xcdbc8], edx
mov dword [ebx + 0xcdbcc], edx
call fcn.00435740
pop ebx
mov esp, ebp
pop ebp
ret