Function at 0x40331a
Capabilities:
Encode data using xor

Disassembly:
push 0xcc
mov eax, 0x4349de
call fcn.0041c69a
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, ebx
mov eax, dword [str.WZFN8]
mov dword [ebp - 0xb0], eax
mov al, byte [0x43f200]
push 0x37
mov dword [ebp - 0xb4], ebx
mov byte [ebp - 0xac], al
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
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.0041be08
mov esi, eax
pop ecx
mov dword [ebp - 0xbc], esi
push 0x48
push ebx
push esi
mov byte [ebp - 4], 2
call fcn.0041dab0
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, str.WGSSQMeX_OZL_
lea edi, [ebp - 0x24]
push 0x37
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, 0x34
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.00412f19
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 [0x4487f4]
lea eax, [ebp - 0x8c]
push 4
push ecx
push eax
mov ecx, ebx
call fcn.0041325a
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.0041325a
push 2
push esi
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 5
push eax
mov ecx, ebx
call fcn.0041325a
push 1
push esi
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 6
push eax
mov ecx, ebx
call fcn.0041325a
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, 0x4488d4
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.0041be38
pop ecx
pop ecx
lea ecx, [ebp - 0xa4]
call fcn.00402636
lea ecx, [ebp + 8]
call fcn.00402636
call fcn.0041c649
ret