Function at 0x405023
Capabilities:
Encode data using xor

Disassembly:
push 0x174
mov eax, 0x436154
call fcn.0041daaa
mov dword [ebp - 4], 1
xor ecx, ecx
mov ax, word [0x4416dc]
push 0x33
mov word [ebp - 0x110], ax
pop ebx
xor edx, edx
mov eax, ecx
div ebx
add dl, 0x35
xor byte [ebp + ecx - 0x110], dl
inc ecx
cmp ecx, 2
jl 0x40504b
lea eax, [ebp - 0x110]
push eax
lea edx, [ebp + 0x20]
lea ecx, [ebp - 0x10c]
call fcn.004043cb
pop ecx
mov byte [ebp - 4], 2
xor ecx, ecx
mov eax, dword [str.VYGA9]
mov dword [ebp - 0x118], eax
mov al, byte [0x441240]
mov byte [ebp - 0x114], al
xor edx, edx
mov eax, ecx
div ebx
add dl, 0x35
xor byte [ebp + ecx - 0x118], dl
inc ecx
cmp ecx, 5
jl 0x405093
lea eax, [ebp - 0x118]
push eax
lea edx, [ebp + 0x20]
lea ecx, [ebp - 0xf4]
call fcn.004043cb
pop ecx
push 0x48
mov byte [ebp - 4], 3
call fcn.0041ce07
mov esi, eax
pop ecx
mov dword [ebp - 0x118], esi
push 0x48
push 0
push esi
mov byte [ebp - 4], 4
call fcn.0041ecf0
sub esp, 0xc
lea eax, [ebp + 0x20]
mov ecx, esp
push eax
call fcn.0040419c
lea eax, [ebp - 0x10d]
mov ecx, esi
push eax
call fcn.004028a7
mov ebx, eax
mov byte [ebp - 4], 3
cmp byte [ebp - 0x10d], 0
mov dword [ebp - 0x118], ebx
je 0x405458
mov esi, 0x4416f4
lea edi, [ebp - 0x1c]
push 0x33
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
push 0xc
pop ebx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x1c], dl
inc ecx
cmp ecx, ebx
jl 0x405129
sub esp, 0x18
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.00404163
mov ebx, dword [ebp - 0x118]
mov ecx, ebx
call fcn.00413e04
test al, al
je 0x405458
xor eax, eax
lea edi, [ebp - 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov byte [ebp - 4], 5
xor edi, edi
mov eax, dword [ebx + 0x3c]
sub eax, dword [ebx + 0x38]
push 0xc
cdq
pop ecx
idiv ecx
inc dword [0x44a768]
test eax, eax
jle 0x405450
inc dword [0x44a760]
lea eax, [ebp - 0x64]
push 4
push edi
push eax
mov ecx, ebx
call fcn.00414145
push 5
push edi
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 6
push eax
mov ecx, ebx
call fcn.00414145
push 8
push edi
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 7
push eax
mov ecx, ebx
call fcn.00414145
push 2
push edi
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 8
push eax
mov ecx, ebx
call fcn.00414145
push 3
push edi
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 9
push eax
mov ecx, ebx
call fcn.00414145
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x138]
mov edx, dword [0x44a768]
call fcn.00402840
mov esi, eax
push 0x441150
lea edx, [ebp + 8]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x180]
call fcn.004043cb
pop ecx
push 0xc
pop ecx
push esi
mov byte [ebp - 4], cl
lea ecx, [ebp - 0x168]
push eax
push dword [ebp - 0x117]
call fcn.00404755
push 1
push 0x44114c
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0xd
call fcn.00404367
push eax
lea ecx, [ebp - 0x34]
call fcn.0040412a
mov byte [ebp - 4], 0xe
xor ecx, ecx
mov eax, dword [0x441518]
mov dword [ebp - 0x120], eax
mov al, byte [0x44151c]
push 0x33
mov byte [ebp - 0x11c], al
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x120], dl
inc ecx
cmp ecx, 5
jl 0x405284
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x34]
call fcn.00404734
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040412a
lea ecx, [ebp - 0x34]
call fcn.004026b1
lea ecx, [ebp - 0x168]
call fcn.004026b1
lea ecx, [ebp - 0x180]
call fcn.004026b1
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 0x13
call fcn.004026b1
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xdc]
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x150]
call fcn.004049d6
add esp, 0x10
push eax
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0x14
push eax
mov ecx, 0x44acd8
call fcn.0040efd1
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x13
call fcn.004026b1
sub esp, 0x18
mov ecx, esp
push 0x44adb0
call fcn.0040419c
push 0x7e
pop edx
lea ecx, [ebp - 0x150]
call fcn.00407893
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x1c]
call fcn.00406f5b
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x17
call fcn.004026b1
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cmp esi, eax
je 0x4053f3
mov ebx, eax
push esi
lea ecx, [ebp - 0x34]
call fcn.0040419c
push 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x64]
call fcn.004040c1
cmp eax, 0xffffffff
je 0x4053da
push 0
lea eax, [ebp - 0x34]
mov ecx, 0x449930
push eax
call fcn.004040c1
cmp eax, 0xffffffff
jne 0x4053da
push 0x441154
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x138]
call fcn.004043cb
pop ecx
push eax
mov ecx, 0x449930
mov byte [ebp - 4], 0x19
call fcn.004042eb
lea ecx, [ebp - 0x138]
call fcn.004026b1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x17
call fcn.004026b1
add esi, 0x18
cmp esi, ebx
jne 0x405377
mov ebx, dword [ebp - 0x118]
lea ecx, [ebp - 0x1c]
call fcn.0040425d
lea ecx, [ebp - 0x7c]
call fcn.004026b1
lea ecx, [ebp - 0x94]
call fcn.004026b1
lea ecx, [ebp - 0xac]
call fcn.004026b1
lea ecx, [ebp - 0xc4]
call fcn.004026b1
lea ecx, [ebp - 0xdc]
call fcn.004026b1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.004026b1
mov eax, dword [ebx + 0x3c]
inc edi
sub eax, dword [ebx + 0x38]
push 0xc
cdq
pop ecx
idiv ecx
cmp edi, eax
jl 0x405196
lea ecx, [ebp - 0x4c]
call fcn.004026b1
test ebx, ebx
je 0x40546d
mov ecx, ebx
call fcn.004031d0
push 0x48
push ebx
call fcn.0041ce37
pop ecx
pop ecx
lea ecx, [ebp - 0xf4]
call fcn.004026b1
lea ecx, [ebp - 0x10c]
call fcn.004026b1
lea ecx, [ebp + 8]
call fcn.004026b1
lea ecx, [ebp + 0x20]
call fcn.004026b1
call fcn.0041da59
ret