Function at 0x402a13
Capabilities:
Encode data using xor

Disassembly:
push 0xac
mov eax, 0x42dd73
call fcn.0041a90a
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, 0x43936c
mov byte [ebp - 4], 2
lea edi, [ebp - 0x20]
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]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x39
xor byte [ebp + ecx - 0x20], dl
inc ecx
cmp ecx, 0xd
jl 0x402a6f
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x80]
call fcn.0040452b
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.004042fc
call fcn.00406c46
add esp, 0x18
test al, al
jne 0x402ae5
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.00402616
jmp 0x402c56
sub esp, 0x18
lea eax, [ebp - 0x80]
mov ecx, esp
push eax
call fcn.004042fc
lea ecx, [ebp - 0x68]
call fcn.004076e3
add esp, 0x18
mov byte [ebp - 4], 5
lea edi, [ebp - 0xb0]
cmp byte [0x4390c5], 0
mov esi, str.e_U_OGO4_
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 0x402b37
push 0x37
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x39
xor byte [ebp + ecx - 0xb0], dl
inc ecx
cmp ecx, 0x12
jl 0x402b21
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x98]
call fcn.004042c3
push 0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x68]
call fcn.00404221
mov esi, eax
cmp esi, 0xffffffff
je 0x402bad
mov edi, dword [ebp - 0x88]
lea ecx, [ebp - 0x68]
lea eax, [edi + esi]
push eax
push str.____n_
call fcn.004041eb
cmp eax, 0xffffffff
je 0x402bad
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.00404197
push eax
lea ecx, [ebp - 0x50]
call fcn.00404255
lea ecx, [ebp - 0xb4]
call fcn.00402616
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0xb4]
call fcn.00406ca7
push eax
lea ecx, [ebp - 0x38]
call fcn.00404255
lea ecx, [ebp - 0xb4]
call fcn.00402616
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.00404197
lea ecx, [ebp - 0xb4]
call fcn.004028d1
add esp, 0x18
lea ecx, [ebp - 0x38]
push eax
call fcn.00404255
lea ecx, [ebp - 0xb4]
call fcn.00402616
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
call fcn.0040428a
lea ecx, [ebp - 0x98]
call fcn.00402616
lea ecx, [ebp - 0x68]
call fcn.00402616
lea ecx, [ebp - 0x80]
call fcn.00402616
mov eax, dword [ebp - 0x3c]
cmp eax, 0xf
jbe 0x402c42
inc eax
push eax
push dword [ebp - 0x50]
call fcn.004026b2
pop ecx
pop ecx
mov eax, dword [ebp - 0x24]
cmp eax, 0xf
jbe 0x402c56
inc eax
push eax
push dword [ebp - 0x38]
call fcn.004026b2
pop ecx
pop ecx
lea ecx, [ebp + 8]
call fcn.00402616
mov eax, ebx
call fcn.0041a8b9
ret