Function at 0x408e30
Capabilities:
Encode data using xor

Disassembly:
push 0xf4
mov eax, 0x42def1
call fcn.0041992a
and dword [ebp - 4], 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp + 8]
call fcn.0040cdc7
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xa4], eax
cmp ecx, eax
je 0x409382
push 0xf
pop esi
xor eax, eax
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
lea edx, [ecx + 0x18]
lea ecx, [ebp - 0x44]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004070a0
mov eax, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x44]
cmp ebx, eax
mov dword [ebp - 0xe8], eax
jmp 0x40934f
xor eax, eax
lea edi, [ebp - 0x98]
stosd dword es:[edi], eax
xor ecx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], esi
mov byte [ebp - 0x98], cl
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], esi
mov byte [ebp - 0x80], cl
xor eax, eax
lea edi, [ebp - 0x5c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], esi
mov byte [ebp - 0x5c], cl
mov esi, 0x4387ac
mov byte [ebp - 4], 5
lea edi, [ebp - 0xcc]
push 0x31
pop ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor edx, edx
mov eax, ecx
div ebx
add dl, bl
xor byte [ebp + ecx - 0xcc], dl
inc ecx
cmp ecx, 7
jl 0x408ef0
mov ebx, dword [ebp - 0x9c]
lea eax, [ebp - 0xcc]
push 0
push eax
mov ecx, ebx
call fcn.004041bb
mov esi, eax
cmp esi, 0xffffffff
je 0x408fa0
cmp byte [0x43877f], 0
mov ecx, dword [0x438778]
mov edx, dword [0x43877c]
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb0], edx
je 0x408f63
push 0x31
xor ecx, ecx
pop ebx
xor edx, edx
mov eax, ecx
div ebx
add dl, bl
xor byte [ebp + ecx - 0xb4], dl
inc ecx
cmp ecx, 8
jl 0x408f48
mov ebx, dword [ebp - 0x9c]
push esi
lea eax, [ebp - 0xb4]
mov ecx, ebx
push eax
call fcn.004041bb
cmp eax, 0xffffffff
je 0x408fa0
sub eax, esi
mov ecx, ebx
sub eax, 6
push eax
lea eax, [esi + 6]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00404167
push eax
lea ecx, [ebp - 0x98]
call fcn.00404225
lea ecx, [ebp - 0x2c]
call fcn.004025e6
mov esi, str._rg_QG_b7
lea edi, [ebp - 0xac]
push 0x31
xor ecx, ecx
pop ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor edx, edx
mov eax, ecx
div ebx
add dl, bl
xor byte [ebp + ecx - 0xac], dl
inc ecx
cmp ecx, 7
jl 0x408fb4
mov ebx, dword [ebp - 0x9c]
lea eax, [ebp - 0xac]
push 0
push eax
mov ecx, ebx
call fcn.004041bb
mov esi, eax
cmp esi, 0xffffffff
je 0x409061
cmp byte [0x4387ab], 0
mov ecx, dword [0x4387a4]
mov edx, dword [0x4387a8]
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb8], edx
je 0x409027
push 0x31
xor ecx, ecx
pop ebx
xor edx, edx
mov eax, ecx
div ebx
add dl, bl
xor byte [ebp + ecx - 0xbc], dl
inc ecx
cmp ecx, 8
jl 0x40900c
mov ebx, dword [ebp - 0x9c]
push esi
lea eax, [ebp - 0xbc]
mov ecx, ebx
push eax
call fcn.004041bb
cmp eax, 0xffffffff
je 0x409061
sub eax, esi
mov ecx, ebx
sub eax, 6
push eax
lea eax, [esi + 6]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00404167
push eax
lea ecx, [ebp - 0x80]
call fcn.00404225
lea ecx, [ebp - 0x2c]
call fcn.004025e6
mov esi, str.TP_Q_Y_
lea edi, [ebp - 0x28]
push 0x31
xor ecx, ecx
pop ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor edx, edx
mov eax, ecx
div ebx
add dl, bl
xor byte [ebp + ecx - 0x28], dl
inc ecx
cmp ecx, 0x13
jl 0x409075
mov ebx, dword [ebp - 0x9c]
lea eax, [ebp - 0x28]
push 0
push eax
mov ecx, ebx
call fcn.004041bb
cmp byte [0x43878f], 0
mov ecx, dword [0x438788]
mov edx, dword [0x43878c]
lea esi, [eax + 0x12]
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xc0], edx
je 0x4090de
push 0x31
xor ecx, ecx
pop ebx
xor edx, edx
mov eax, ecx
div ebx
add dl, bl
xor byte [ebp + ecx - 0xc4], dl
inc ecx
cmp ecx, 8
jl 0x4090c3
mov ebx, dword [ebp - 0x9c]
push 0
lea eax, [ebp - 0xc4]
mov ecx, ebx
push eax
call fcn.004041bb
cmp esi, 0xffffffff
je 0x409162
cmp eax, 0xffffffff
je 0x409162
sub eax, esi
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.00404167
mov byte [ebp - 4], 6
lea edi, [ebp - 0x38]
xor eax, eax
lea edx, [ebp - 0x2c]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00406f07
push ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x100]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.0040685b
push eax
lea ecx, [ebp - 0x5c]
call fcn.00404225
lea ecx, [ebp - 0x100]
call fcn.004025e6
inc dword [0x44080c]
lea ecx, [ebp - 0x38]
call fcn.004025be
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004025e6
cmp dword [ebp - 0x88], 0
je 0x4091fb
mov esi, 0x438780
lea edi, [ebp - 0xd4]
push 0x31
xor ecx, ecx
pop ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor edx, edx
mov eax, ecx
div ebx
add dl, bl
xor byte [ebp + ecx - 0xd4], dl
inc ecx
cmp ecx, 7
jl 0x409183
lea eax, [ebp - 0x98]
push eax
lea edx, [ebp - 0xd4]
lea ecx, [ebp - 0x100]
call fcn.00405063
pop ecx
push 1
push 0x437f94
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00404497
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040425a
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 9
push eax
mov ecx, 0x440d60
call fcn.0040441b
lea ecx, [ebp - 0x2c]
call fcn.004025e6
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 5
call fcn.004025e6
mov ebx, dword [ebp - 0x9c]
cmp dword [ebp - 0x70], 0
je 0x40928e
mov esi, 0x43873c
lea edi, [ebp - 0xdc]
push 0x31
xor ecx, ecx
pop ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor edx, edx
mov eax, ecx
div ebx
add dl, bl
xor byte [ebp + ecx - 0xdc], dl
inc ecx
cmp ecx, 7
jl 0x409219
lea eax, [ebp - 0x80]
push eax
lea edx, [ebp - 0xdc]
lea ecx, [ebp - 0x100]
call fcn.00405063
pop ecx
push 1
push 0x437f94
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00404497
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040425a
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
push eax
mov ecx, 0x440d60
call fcn.0040441b
lea ecx, [ebp - 0x2c]
call fcn.004025e6
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 5
call fcn.004025e6
mov ebx, dword [ebp - 0x9c]
cmp dword [ebp - 0x4c], 0
je 0x40931d
mov esi, 0x438770
lea edi, [ebp - 0xe4]
push 0x31
xor ecx, ecx
pop ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor edx, edx
mov eax, ecx
div ebx
add dl, bl
xor byte [ebp + ecx - 0xe4], dl
inc ecx
cmp ecx, 7
jl 0x4092ac
lea eax, [ebp - 0x5c]
push eax
lea edx, [ebp - 0xe4]
lea ecx, [ebp - 0x100]
call fcn.00405063
pop ecx
push 3
push 0x438728
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00404497
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040425a
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
push eax
mov ecx, 0x440d60
call fcn.0040441b
lea ecx, [ebp - 0x2c]
call fcn.004025e6
lea ecx, [ebp - 0x100]
call fcn.004025e6
mov ebx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x48]
push 0xf
pop esi
cmp eax, esi
jbe 0x409333
inc eax
push eax
push dword [ebp - 0x5c]
call fcn.00402682
pop ecx
pop ecx
lea ecx, [ebp - 0x80]
call fcn.004025e6
lea ecx, [ebp - 0x98]
call fcn.004025e6
add ebx, 0x18
cmp ebx, dword [ebp - 0xe8]
mov dword [ebp - 0x9c], ebx
jne 0x408e96
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.0040438d
mov ecx, dword [ebp - 0xa0]
add ecx, 0x30
mov dword [ebp - 0xa0], ecx
cmp ecx, dword [ebp - 0xa4]
jne 0x408e70
lea ecx, [ebp - 0x68]
call fcn.004067ea
lea ecx, [ebp + 0x14]
call fcn.00404303
lea ecx, [ebp + 8]
call fcn.0040438d
call fcn.004198d9
ret