Function at 0x403aec
Capabilities:
Encode data using xor

Disassembly:
push 0xac
mov eax, 0x431296
call fcn.0041bc0a
xor ebx, ebx
lea edx, [ebp + 8]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x5c]
call fcn.004078a8
push 0x43bf85
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.004040bd
push 8
pop ecx
mov byte [ebp - 4], 2
lea edi, [ebp - 0x9c]
mov esi, str.CQGW
rep movsd dword es:[edi], dword [esi]
push 0x33
pop esi
mov dword [ebp - 0x6c], esi
cmp byte [0x43c20f], bl
je 0x403b56
mov ecx, ebx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x9c], dl
inc ecx
cmp ecx, 0x20
jl 0x403b40
push ebx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp + 8]
call fcn.00403fe5
push 7
pop ecx
mov esi, 0x43c1d0
mov dword [ebp - 0x60], eax
lea edi, [ebp - 0x9c]
rep movsd dword es:[edi], dword [esi]
push 0x33
mov ecx, ebx
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x9c], dl
inc ecx
cmp ecx, 0x1d
jl 0x403b7f
push ebx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp + 8]
call fcn.00403fe5
cmp dword [ebp - 0x60], 0xffffffff
je 0x403cbb
push 0x1a
pop edx
lea ecx, [ebp - 0x94]
call fcn.00405b8b
push 1
push 0x43bf98
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.004042c1
push eax
lea ecx, [ebp - 0xb8]
call fcn.00404084
lea eax, [ebp + 8]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xb8]
call fcn.00404245
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404084
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040404f
lea ecx, [ebp - 0x2c]
call fcn.00402636
lea ecx, [ebp - 0xb8]
call fcn.00402636
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.00402636
cmp byte [0x43c197], 0
mov eax, dword [0x43c190]
mov ecx, dword [0x43c194]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
je 0x403c56
xor edx, edx
mov eax, ebx
div esi
add dl, 0x32
xor byte [ebp + ebx - 0x68], dl
inc ebx
cmp ebx, 8
jl 0x403c43
lea ecx, [ebp - 0x68]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403c5c
sub ecx, edx
lea eax, [ebp - 0x68]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00404278
sub esp, 0x18
lea eax, [ebp - 0x5c]
mov ecx, esp
mov dword [ebp - 0x60], esp
push eax
call fcn.004040f6
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp - 0x44]
mov dword [ebp - 0x6c], esp
mov ecx, esp
push eax
call fcn.004040f6
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x44]
mov ecx, esp
push eax
call fcn.004040f6
mov byte [ebp - 4], 2
call fcn.00403852
add esp, 0x48
jmp 0x403ef3
lea ecx, [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x403d87
push 0x1a
pop edx
call fcn.00405b8b
push 1
push 0x43bf98
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004042c1
push eax
lea ecx, [ebp - 0xb8]
call fcn.00404084
lea eax, [ebp + 8]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xb8]
call fcn.00404245
push eax
lea ecx, [ebp - 0x94]
call fcn.00404084
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040404f
lea ecx, [ebp - 0x94]
call fcn.00402636
lea ecx, [ebp - 0xb8]
call fcn.00402636
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00402636
mov eax, dword [str.CQGW7]
mov dword [ebp - 0x68], eax
mov ax, word [0x43c2e8]
mov word [ebp - 0x64], ax
test ah, ah
je 0x403d69
mov ecx, ebx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x68], dl
inc ecx
cmp ecx, 6
jl 0x403d56
lea ecx, [ebp - 0x68]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403d6f
sub ecx, edx
lea eax, [ebp - 0x68]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00404278
jmp 0x403dfe
push 0x1c
pop edx
call fcn.00405b8b
push 1
push 0x43bf98
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.004042c1
push eax
lea ecx, [ebp - 0xb8]
call fcn.00404084
lea eax, [ebp + 8]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xb8]
call fcn.00404245
push eax
lea ecx, [ebp - 0x94]
call fcn.00404084
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040404f
lea ecx, [ebp - 0x94]
call fcn.00402636
lea ecx, [ebp - 0xb8]
call fcn.00402636
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00402636
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x20]
call fcn.00408374
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
jmp 0x403ee3
cmp byte [0x43c373], 0
mov eax, dword [str.bA_S___9AVBBUeoHYO]
mov dword [ebp - 0x74], eax
mov eax, dword [0x43c370]
mov dword [ebp - 0x70], eax
je 0x403e47
mov ecx, ebx
xor edx, edx
mov eax, ecx
div dword [ebp - 0x6c]
add dl, 0x32
xor byte [ebp + ecx - 0x74], dl
inc ecx
cmp ecx, 8
jl 0x403e33
push ebx
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
call fcn.00403fe5
cmp byte [0x43c11b], 0
mov dword [ebp - 0x60], eax
mov eax, dword [0x43c114]
mov dword [ebp - 0x7c], eax
mov eax, dword [0x43c118]
mov dword [ebp - 0x78], eax
je 0x403e85
mov ecx, ebx
xor edx, edx
mov eax, ecx
div dword [ebp - 0x6c]
add dl, 0x32
xor byte [ebp + ecx - 0x7c], dl
inc ecx
cmp ecx, 8
jl 0x403e71
push ebx
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.00403fe5
cmp dword [ebp - 0x60], 0xffffffff
jne 0x403e9c
cmp eax, 0xffffffff
je 0x403ee0
sub esp, 0x18
lea eax, [ebp - 0x5c]
mov ecx, esp
mov dword [ebp - 0xa0], esp
push eax
call fcn.004040f6
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x44]
mov dword [ebp - 0x60], esp
mov ecx, esp
push eax
call fcn.004040f6
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov ecx, esp
push esi
call fcn.004040f6
mov byte [ebp - 4], 0xb
call fcn.00403852
add esp, 0x48
add esi, 0x18
cmp esi, edi
jne 0x403e18
lea ecx, [ebp - 0x20]
call fcn.004041b7
lea ecx, [ebp - 0x44]
call fcn.00402636
lea ecx, [ebp - 0x5c]
call fcn.00402636
lea ecx, [ebp + 8]
call fcn.00402636
call fcn.0041bbb9
ret