Function at 0x402a33
Capabilities:
Encode data using xor

Disassembly:
push 0xac
mov eax, 0x430ea3
call fcn.0041bc0a
mov ebx, ecx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x9c], ebx
xor ecx, ecx
mov dword [ebp - 4], ecx
lea edi, [ebp - 0x38]
xor eax, eax
stosd dword es:[edi], eax
push 0xf
pop edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
mov byte [ebp - 0x38], cl
xor eax, eax
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
mov byte [ebp - 0x50], cl
mov esi, 0x43c35c
mov byte [ebp - 4], 2
lea edi, [ebp - 0x20]
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]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x20], dl
inc ecx
cmp ecx, 0xd
jl 0x402a8f
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x80]
call fcn.00404325
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
sub esp, 0x14
mov byte [ebp - 4], 4
lea eax, [ebp - 0x80]
mov ecx, esp
push eax
call fcn.004040f6
call fcn.004069cd
add esp, 0x18
test al, al
jne 0x402b05
xor eax, eax
lea ecx, [ebp - 0x80]
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0xf
mov byte [ebx], al
call fcn.00402636
jmp 0x402c76
sub esp, 0x18
lea eax, [ebp - 0x80]
mov ecx, esp
push eax
call fcn.004040f6
lea ecx, [ebp - 0x68]
call fcn.0040746a
add esp, 0x18
mov byte [ebp - 4], 5
lea edi, [ebp - 0xb0]
cmp byte [0x43c399], 0
mov esi, 0x43c388
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]
je 0x402b57
push 0x33
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0xb0], dl
inc ecx
cmp ecx, 0x12
jl 0x402b41
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x98]
call fcn.004040bd
push 0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x68]
call fcn.0040401b
mov esi, eax
cmp esi, 0xffffffff
je 0x402bcd
mov edi, dword [ebp - 0x88]
lea ecx, [ebp - 0x68]
lea eax, [edi + esi]
push eax
push str.____n_
call fcn.00403fe5
cmp eax, 0xffffffff
je 0x402bcd
sub eax, edi
lea ecx, [ebp - 0x68]
sub eax, esi
push eax
lea eax, [edi + esi]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00403f91
push eax
lea ecx, [ebp - 0x50]
call fcn.0040404f
lea ecx, [ebp - 0xb4]
call fcn.00402636
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0xb4]
call fcn.00406a2e
push eax
lea ecx, [ebp - 0x38]
call fcn.0040404f
lea ecx, [ebp - 0xb4]
call fcn.00402636
mov eax, dword [ebp - 0x28]
sub esp, 0x18
mov ecx, esp
add eax, 0xfffffffb
push eax
push 5
push ecx
lea ecx, [ebp - 0x38]
call fcn.00403f91
lea ecx, [ebp - 0xb4]
call fcn.004028f1
add esp, 0x18
lea ecx, [ebp - 0x38]
push eax
call fcn.0040404f
lea ecx, [ebp - 0xb4]
call fcn.00402636
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
call fcn.00404084
lea ecx, [ebp - 0x98]
call fcn.00402636
lea ecx, [ebp - 0x68]
call fcn.00402636
lea ecx, [ebp - 0x80]
call fcn.00402636
mov eax, dword [ebp - 0x3c]
cmp eax, 0xf
jbe 0x402c62
inc eax
push eax
push dword [ebp - 0x50]
call fcn.004026d2
pop ecx
pop ecx
mov eax, dword [ebp - 0x24]
cmp eax, 0xf
jbe 0x402c76
inc eax
push eax
push dword [ebp - 0x38]
call fcn.004026d2
pop ecx
pop ecx
lea ecx, [ebp + 8]
call fcn.00402636
mov eax, ebx
call fcn.0041bbb9
ret