Function at 0x40331a
Capabilities:
Encode data using xor

Disassembly:
push 0xcc
mov eax, 0x4310be
call fcn.0041bc0a
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, ebx
mov eax, dword [str.QDL6]
mov dword [ebp - 0xb0], eax
mov al, byte [0x43c0f0]
push 0x33
mov dword [ebp - 0xb4], ebx
mov byte [ebp - 0xac], al
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0xb0], dl
inc ecx
cmp ecx, 5
jl 0x403351
lea eax, [ebp - 0xb0]
mov edx, edi
push eax
lea ecx, [ebp - 0xa4]
call fcn.00404325
pop ecx
push 0x48
mov byte [ebp - 4], 1
call fcn.0041b29b
mov esi, eax
pop ecx
mov dword [ebp - 0xbc], esi
push 0x48
push ebx
push esi
mov byte [ebp - 4], 2
call fcn.0041d020
sub esp, 0xc
mov ecx, esp
push edi
call fcn.004040f6
lea eax, [ebp - 0xa5]
mov ecx, esi
push eax
call fcn.0040282f
mov byte [ebp - 4], 1
mov ebx, eax
cmp byte [ebp - 0xa5], 0
je 0x403561
mov esi, 0x43c198
lea edi, [ebp - 0x24]
push 0x33
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor esi, esi
mov ecx, esi
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x24], dl
inc ecx
cmp ecx, 0xd
jl 0x4033dc
sub esp, 0x18
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.004040bd
mov ecx, ebx
call fcn.00412401
test al, al
je 0x403561
xor eax, eax
lea edi, [ebp - 0x2c]
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 - 0x1c], ecx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], cl
mov byte [ebp - 4], 3
mov eax, dword [ebx + 0x3c]
sub eax, dword [ebx + 0x38]
push 0xc
cdq
pop edi
idiv edi
test eax, eax
jle 0x403559
inc dword [0x4447cc]
lea eax, [ebp - 0x8c]
push 4
push ecx
push eax
mov ecx, ebx
call fcn.00412742
mov esi, dword [ebp - 0xb4]
lea eax, [ebp - 0x74]
push 3
push esi
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00412742
push 2
push esi
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 5
push eax
mov ecx, ebx
call fcn.00412742
push 1
push esi
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 6
push eax
mov ecx, ebx
call fcn.00412742
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp - 0x44]
mov dword [ebp - 0xb8], esp
mov ecx, esp
push eax
call fcn.004040f6
sub esp, 0x18
mov byte [ebp - 4], 8
lea eax, [ebp - 0x5c]
mov dword [ebp - 0xbc], esp
mov ecx, esp
push eax
call fcn.004040f6
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp - 0x74]
mov dword [ebp - 0xc0], esp
mov ecx, esp
push eax
call fcn.004040f6
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x8c]
mov ecx, esp
push eax
call fcn.004040f6
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 7
call fcn.00404c92
add esp, 0x60
push eax
mov ecx, 0x4448a4
mov byte [ebp - 4], 0xb
call fcn.00404245
lea ecx, [ebp - 0xd8]
call fcn.00402636
lea ecx, [ebp - 0x44]
call fcn.00402636
lea ecx, [ebp - 0x5c]
call fcn.00402636
lea ecx, [ebp - 0x74]
call fcn.00402636
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8c]
call fcn.00402636
mov eax, dword [ebx + 0x3c]
mov ecx, esi
sub eax, dword [ebx + 0x38]
inc ecx
cdq
idiv edi
mov dword [ebp - 0xb4], ecx
cmp ecx, eax
jl 0x40343c
lea ecx, [ebp - 0x2c]
call fcn.00402636
test ebx, ebx
je 0x403576
mov ecx, ebx
call fcn.00403127
push 0x48
push ebx
call fcn.0041b2cb
pop ecx
pop ecx
lea ecx, [ebp - 0xa4]
call fcn.00402636
lea ecx, [ebp + 8]
call fcn.00402636
call fcn.0041bbb9
ret