Function at 0x4013bb
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412790
push esi
mov esi, dword [esp + 0xc]
push edi
xor edi, edi
test esi, esi
je 0x412a53
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
xor byte [edi + ebx], 0xc3
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
add byte [edi + ebx], 0x10
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
add byte [edi + ebx], 0x49
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
add byte [edi + ebx], 0xda
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
add byte [edi + ebx], 0x78
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
add esp, 0x44
push eax
call fcn.00405ec5
xor byte [edi + ebx], 0xa2
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
xor byte [edi + ebx], 0xbf
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
xor byte [edi + ebx], 0x85
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
xor byte [edi + ebx], 0x95
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
xor byte [edi + ebx], 0xd7
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
add byte [edi + ebx], 7
add esp, 0x40
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
add byte [edi + ebx], 0x71
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
add byte [edi + ebx], 0x35
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
add byte [edi + ebx], 0xf0
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
add byte [edi + ebx], 0x3d
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
xor byte [edi + ebx], 0xa6
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
add esp, 0x44
push eax
call fcn.00405ec5
xor byte [edi + ebx], 0xc0
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
xor byte [edi + ebx], 0x89
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
add byte [edi + ebx], 0xbb
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
xor byte [edi + ebx], 0xda
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
add byte [edi + ebx], 0xa6
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
add byte [edi + ebx], 0xf
add esp, 0x40
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
add byte [edi + ebx], 0xd2
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
add byte [edi + ebx], 0xb5
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
add byte [edi + ebx], 0xc6
push str.Was_perfect_intelligence
push 0x4cf320
call fcn.00402cc5
push eax
call fcn.00405ec5
add byte [edi + ebx], 0xe3
add esp, 0x30
inc edi
cmp edi, esi
jb 0x4127b0
pop ebx
pop edi
pop esi
ret