Function at 0x413e3a
Capabilities:
Encode data using xor

Disassembly:
push 0xbc
mov eax, 0x436cd4
call fcn.0041c69a
cmp byte [0x440615], 0
lea edi, [ebp - 0x98]
push 5
pop ecx
mov esi, str.WZXQQfWSZWQ5217k0.I
rep movsd dword es:[edi], dword [esi]
push 0x34
pop ebx
movsw word es:[edi], word [esi]
je 0x413e7f
xor ecx, ecx
xor edx, edx
mov eax, ecx
div ebx
add dl, 0x34
xor byte [ebp + ecx - 0x98], dl
inc ecx
cmp ecx, 0x16
jl 0x413e69
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004040bd
and dword [ebp - 4], 0
mov edi, dword [0x448f88]
mov esi, edi
mov ebx, dword [0x448f8c]
push 0x18
pop ecx
cmp edi, ebx
je 0x413ec6
push ecx
pop edi
lea edx, [ebp - 0x7c]
mov ecx, esi
call fcn.00408d2f
test al, al
jne 0x413ebd
add esi, edi
cmp esi, ebx
jne 0x413ea9
mov edi, dword [0x448f88]
push 0x18
pop ecx
cmp esi, ebx
je 0x413eea
sub esi, edi
mov eax, esi
cdq
idiv ecx
lea ecx, [ebp - 0x5c]
imul eax, eax, 0xc
add eax, dword [0x448f94]
push eax
call fcn.004059e4
mov eax, dword [ebp - 0x5c]
xor ebx, ebx
jmp 0x413ef7
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov eax, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.004040f6
mov esi, dword [ebp - 0x5c]
test esi, esi
je 0x413f45
mov edi, dword [ebp - 0x58]
cmp esi, edi
je 0x413f25
mov ecx, esi
call fcn.00402636
push 0x18
pop eax
add esi, eax
cmp esi, edi
jne 0x413f12
mov esi, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x54]
sub eax, esi
push 0x18
pop ecx
cdq
idiv ecx
imul eax, eax, 0x18
push eax
push esi
call fcn.004026d2
pop ecx
pop ecx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
call fcn.00402636
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x20]
call fcn.00406fca
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x60], eax
cmp ebx, eax
je 0x414094
push ebx
lea ecx, [ebp - 0x38]
call fcn.004040f6
mov byte [ebp - 4], 6
cmp dword [ebp - 0x28], 0x13
jne 0x41407a
push 0x43fd94
lea ecx, [ebp - 0x98]
call fcn.004040bd
push str.____n_
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 7
call fcn.004040bd
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x38]
call fcn.00406f5f
pop ecx
lea ecx, [ebp - 0x7c]
call fcn.00402636
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 6
call fcn.00402636
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0xb0]
call fcn.00406fca
push 9
pop ecx
mov byte [ebp - 4], 9
lea edi, [ebp - 0xa4]
mov eax, dword [eax]
mov esi, str.ABGK
rep movsd dword es:[edi], dword [esi]
push 0x34
mov dword [ebp - 0x64], eax
xor ecx, ecx
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0xa4], dl
inc ecx
cmp ecx, 0x25
jl 0x414004
push dword [ebp - 0x64]
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0xc8]
call fcn.00404e71
pop ecx
push 1
push 0x43f140
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.004042c1
push eax
lea ecx, [ebp - 0x7c]
call fcn.00404084
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0xb
push eax
mov ecx, 0x447930
call fcn.00404245
lea ecx, [ebp - 0x7c]
call fcn.00402636
lea ecx, [ebp - 0xc8]
call fcn.00402636
lea ecx, [ebp - 0xb0]
call fcn.004041b7
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.00402636
push 0x18
pop eax
add ebx, eax
cmp ebx, dword [ebp - 0x60]
jne 0x413f71
lea ecx, [ebp - 0x20]
call fcn.004041b7
lea ecx, [ebp - 0x50]
call fcn.00402636
call fcn.0041c649
ret