Function at 0x403636
Capabilities:
Encode data using xor

Disassembly:
push 0xac
mov eax, 0x435cd4
call fcn.0041daaa
mov dword [ebp - 4], 1
xor ecx, ecx
mov eax, dword [str.VYGA9]
mov dword [ebp - 0x98], eax
mov al, byte [0x441240]
push 0x36
mov byte [ebp - 0x94], al
pop ebx
xor edx, edx
mov eax, ecx
div ebx
add dl, 0x35
xor byte [ebp + ecx - 0x98], dl
inc ecx
cmp ecx, 5
jl 0x403667
lea eax, [ebp - 0x98]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x5c]
call fcn.004043cb
pop ecx
mov byte [ebp - 4], 2
push 0x48
mov byte [ebp - 0x8d], 0
call fcn.0041ce07
mov esi, eax
pop ecx
mov dword [ebp - 0xa0], esi
push 0x48
push 0
push esi
mov byte [ebp - 4], 3
call fcn.0041ecf0
sub esp, 0xc
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0040419c
lea eax, [ebp - 0x8d]
mov ecx, esi
push eax
call fcn.004028a7
mov byte [ebp - 4], 2
mov ebx, eax
cmp byte [ebp - 0x8d], 0
je 0x4038b3
mov esi, str.YYPQWI_
lea edi, [ebp - 0x98]
push 0x36
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x98], dl
inc ecx
cmp ecx, 7
jl 0x4036fc
sub esp, 0x18
lea eax, [ebp - 0x98]
mov ecx, esp
push eax
call fcn.00404163
mov ecx, ebx
call fcn.00413e04
test al, al
je 0x4038b3
xor eax, eax
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 4
xor esi, esi
mov eax, dword [ebx + 0x3c]
sub eax, dword [ebx + 0x38]
push 0xc
cdq
pop edi
idiv edi
test eax, eax
jle 0x4038ab
push 0
push esi
lea eax, [ebp - 0x8c]
mov ecx, ebx
push eax
call fcn.00414145
push 3
push esi
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 5
push eax
mov ecx, ebx
call fcn.00414145
push 5
push esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
mov ecx, ebx
call fcn.00414145
mov byte [ebp - 4], 7
cmp dword [ebp - 0x1c], 0
je 0x40387a
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
cmp byte [eax], 0x76
jne 0x4037dd
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
cmp byte [eax + 1], 0x31
jne 0x4037dd
lea eax, [ebp + 0x20]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0xb8]
call fcn.00402272
pop ecx
jmp 0x4037f9
sub esp, 0x18
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.0040419c
lea ecx, [ebp - 0xb8]
call fcn.00402969
add esp, 0x18
push eax
lea ecx, [ebp - 0x44]
call fcn.004040f5
lea ecx, [ebp - 0xb8]
call fcn.004026b1
sub esp, 0x18
lea eax, [ebp - 0x44]
mov ecx, esp
mov dword [ebp - 0x9c], esp
push eax
call fcn.0040419c
sub esp, 0x18
mov byte [ebp - 4], 8
lea eax, [ebp - 0x74]
mov dword [ebp - 0xa0], esp
mov ecx, esp
push eax
call fcn.0040419c
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp - 0x8c]
mov ecx, esp
push eax
call fcn.0040419c
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 7
call fcn.00404b9b
add esp, 0x48
push eax
mov ecx, 0x44a83c
mov byte [ebp - 4], 0xa
call fcn.004042eb
lea ecx, [ebp - 0xb8]
call fcn.004026b1
lea ecx, [ebp - 0x2c]
call fcn.004026b1
lea ecx, [ebp - 0x74]
call fcn.004026b1
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 4
call fcn.004026b1
mov eax, dword [ebx + 0x3c]
inc esi
sub eax, dword [ebx + 0x38]
cdq
idiv edi
cmp esi, eax
jl 0x403764
lea ecx, [ebp - 0x44]
call fcn.004026b1
test ebx, ebx
je 0x4038c8
mov ecx, ebx
call fcn.004031d0
push 0x48
push ebx
call fcn.0041ce37
pop ecx
pop ecx
cmp dword [ebp - 0x48], 0xf
lea eax, [ebp - 0x5c]
cmova eax, dword [ebp - 0x5c]
push eax
call fcn.00420738
pop ecx
lea ecx, [ebp - 0x5c]
call fcn.004026b1
lea ecx, [ebp + 8]
call fcn.004026b1
lea ecx, [ebp + 0x20]
call fcn.004026b1
call fcn.0041da59
ret