Function at 0x40353f
Capabilities:
Encode data using xor

Disassembly:
push 0xac
mov eax, 0x42d049
call fcn.0041992a
mov dword [ebp - 4], 1
xor ecx, ecx
mov eax, dword [str.SBJ4]
mov dword [ebp - 0x98], eax
mov al, byte [0x438028]
push 0x35
mov byte [ebp - 0x94], al
pop ebx
xor edx, edx
mov eax, ecx
div ebx
add dl, 0x30
xor byte [ebp + ecx - 0x98], dl
inc ecx
cmp ecx, 5
jl 0x403570
lea eax, [ebp - 0x98]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x5c]
call fcn.004044fb
pop ecx
mov byte [ebp - 4], 2
push 0x48
mov byte [ebp - 0x8d], 0
call fcn.00418fbb
mov esi, eax
pop ecx
mov dword [ebp - 0xa0], esi
push 0x48
push 0
push esi
mov byte [ebp - 4], 3
call fcn.0041ad40
sub esp, 0xc
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004042cc
lea eax, [ebp - 0x8d]
mov ecx, esi
push eax
call fcn.004027df
mov byte [ebp - 4], 2
mov ebx, eax
cmp byte [ebp - 0x8d], 0
je 0x4037bd
mov esi, str.UZZF6
lea edi, [ebp - 0x98]
push 0x35
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x30
xor byte [ebp + ecx - 0x98], dl
inc ecx
cmp ecx, 7
jl 0x403605
sub esp, 0x18
lea eax, [ebp - 0x98]
mov ecx, esp
push eax
call fcn.00404293
mov ecx, ebx
call fcn.0041071c
test al, al
je 0x4037bd
xor eax, eax
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 4
xor esi, esi
mov eax, dword [ebx + 0x3c]
sub eax, dword [ebx + 0x38]
push 0xc
cdq
pop edi
idiv edi
test eax, eax
jle 0x4037b5
push 0
push esi
lea eax, [ebp - 0x8c]
mov ecx, ebx
push eax
call fcn.00410a5d
push 3
push esi
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 5
push eax
mov ecx, ebx
call fcn.00410a5d
push 5
push esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
mov ecx, ebx
call fcn.00410a5d
mov byte [ebp - 4], 7
cmp dword [ebp - 0x1c], 0
je 0x403784
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
seta cl
cmp byte [eax], 0x76
jne 0x4036e7
test cl, cl
lea eax, [ebp - 0x2c]
cmovne eax, dword [ebp - 0x2c]
cmp byte [eax + 1], 0x31
jne 0x4036e7
lea eax, [ebp + 0x20]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0xb8]
call fcn.004021b2
pop ecx
jmp 0x403703
sub esp, 0x18
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.004042cc
lea ecx, [ebp - 0xb8]
call fcn.004028a1
add esp, 0x18
push eax
lea ecx, [ebp - 0x44]
call fcn.00404225
lea ecx, [ebp - 0xb8]
call fcn.004025e6
sub esp, 0x18
lea eax, [ebp - 0x44]
mov ecx, esp
mov dword [ebp - 0x9c], esp
push eax
call fcn.004042cc
sub esp, 0x18
mov byte [ebp - 4], 8
lea eax, [ebp - 0x74]
mov dword [ebp - 0xa0], esp
mov ecx, esp
push eax
call fcn.004042cc
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp - 0x8c]
mov ecx, esp
push eax
call fcn.004042cc
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 7
call fcn.00404c32
add esp, 0x48
push eax
mov ecx, 0x440864
mov byte [ebp - 4], 0xa
call fcn.0040441b
lea ecx, [ebp - 0xb8]
call fcn.004025e6
lea ecx, [ebp - 0x2c]
call fcn.004025e6
lea ecx, [ebp - 0x74]
call fcn.004025e6
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 4
call fcn.004025e6
mov eax, dword [ebx + 0x3c]
inc esi
sub eax, dword [ebx + 0x38]
cdq
idiv edi
cmp esi, eax
jl 0x40366d
lea ecx, [ebp - 0x44]
call fcn.004025e6
test ebx, ebx
je 0x4037d2
mov ecx, ebx
call fcn.004030d7
push 0x48
push ebx
call fcn.00418feb
pop ecx
pop ecx
cmp dword [ebp - 0x48], 0xf
lea eax, [ebp - 0x5c]
cmova eax, dword [ebp - 0x5c]
push eax
call fcn.0041c788
pop ecx
lea ecx, [ebp - 0x5c]
call fcn.004025e6
lea ecx, [ebp + 8]
call fcn.004025e6
lea ecx, [ebp + 0x20]
call fcn.004025e6
call fcn.004198d9
ret