Function at 0x403380
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x4a3480]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x408]
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push 0x404
push 0
push eax
call fcn.0045d420
cmp dword [0x4a5438], 0xf
mov eax, 0x4a5424
push 0xc
cmova eax, dword [0x4a5424]
push eax
lea eax, [ebp - 0x408]
push eax
call fcn.004653c0
add esp, 0x18
mov dword [ebp - 0x3fc], 1
cmp dword [edi + 0x14], 0xf
jbe 0x4033e8
mov edi, dword [edi]
push 0xc
lea eax, [ebp - 0x3f8]
push edi
push eax
call fcn.004653c0
add esp, 0xc
cmp dword [esi + 0x14], 0xf
jbe 0x403402
mov esi, dword [esi]
push 0x3e8
lea eax, [ebp - 0x3ec]
push esi
push eax
call fcn.004653c0
add esp, 0xc
lea eax, [ebp - 0x408]
mov ecx, ebx
push 0x404
push eax
call fcn.00456cc0
pop edi
pop esi
pop ebx
test eax, eax
je 0x40367f
mov dword [ebp - 0x42c], 0x56
mov eax, dword [ebp - 0x42c]
xor al, 0x46
mov byte [ebp - 0x428], al
mov eax, dword [ebp - 0x42c]
inc al
xor al, 0x61
mov byte [ebp - 0x427], al
mov eax, dword [ebp - 0x42c]
add al, 2
xor al, 0x69
mov byte [ebp - 0x426], al
mov eax, dword [ebp - 0x42c]
add al, 3
xor al, 0x6c
mov byte [ebp - 0x425], al
mov eax, dword [ebp - 0x42c]
add al, 4
xor al, 0x65
mov byte [ebp - 0x424], al
mov eax, dword [ebp - 0x42c]
add al, 5
xor al, 0x64
mov byte [ebp - 0x423], al
mov eax, dword [ebp - 0x42c]
add al, 6
xor al, 0x20
mov byte [ebp - 0x422], al
mov eax, dword [ebp - 0x42c]
add al, 7
xor al, 0x74
mov byte [ebp - 0x421], al
mov eax, dword [ebp - 0x42c]
add al, 8
xor al, 0x6f
mov byte [ebp - 0x420], al
mov eax, dword [ebp - 0x42c]
add al, 9
xor al, 0x20
mov byte [ebp - 0x41f], al
mov eax, dword [ebp - 0x42c]
add al, 0xa
xor al, 0x73
mov byte [ebp - 0x41e], al
mov eax, dword [ebp - 0x42c]
add al, 0xb
xor al, 0x65
mov byte [ebp - 0x41d], al
mov eax, dword [ebp - 0x42c]
add al, 0xc
xor al, 0x6e
mov byte [ebp - 0x41c], al
mov eax, dword [ebp - 0x42c]
add al, 0xd
xor al, 0x64
mov byte [ebp - 0x41b], al
mov eax, dword [ebp - 0x42c]
add al, 0xe
xor al, 0x20
mov byte [ebp - 0x41a], al
mov eax, dword [ebp - 0x42c]
add al, 0xf
xor al, 0x70
mov byte [ebp - 0x419], al
mov eax, dword [ebp - 0x42c]
add al, 0x10
xor al, 0x61
mov byte [ebp - 0x418], al
mov eax, dword [ebp - 0x42c]
add al, 0x11
xor al, 0x63
mov byte [ebp - 0x417], al
mov eax, dword [ebp - 0x42c]
add al, 0x12
xor al, 0x6b
mov byte [ebp - 0x416], al
mov eax, dword [ebp - 0x42c]
add al, 0x13
xor al, 0x65
mov byte [ebp - 0x415], al
mov eax, dword [ebp - 0x42c]
add al, 0x14
xor al, 0x74
mov byte [ebp - 0x414], al
mov eax, dword [ebp - 0x42c]
add al, 0x15
xor al, 0x20
mov byte [ebp - 0x413], al
mov eax, dword [ebp - 0x42c]
add al, 0x16
xor al, 0x74
mov byte [ebp - 0x412], al
mov eax, dword [ebp - 0x42c]
add al, 0x17
xor al, 0x6f
mov byte [ebp - 0x411], al
mov eax, dword [ebp - 0x42c]
add al, 0x18
xor al, 0x20
mov byte [ebp - 0x410], al
mov eax, dword [ebp - 0x42c]
add al, 0x19
xor al, 0x53
mov byte [ebp - 0x40f], al
mov eax, dword [ebp - 0x42c]
add al, 0x1a
xor al, 0x65
mov byte [ebp - 0x40e], al
mov eax, dword [ebp - 0x42c]
add al, 0x1b
xor al, 0x72
mov byte [ebp - 0x40d], al
mov eax, dword [ebp - 0x42c]
add al, 0x1c
xor al, 0x76
mov byte [ebp - 0x40c], al
mov eax, dword [ebp - 0x42c]
add al, 0x1d
xor al, 0x65
mov byte [ebp - 0x40b], al
mov eax, dword [ebp - 0x42c]
add al, 0x1e
mov byte [ebp - 0x409], 0
xor al, 0x72
mov byte [ebp - 0x40a], al
mov al, byte [ebp - 0x428]
xor eax, eax
nop dword [eax]
mov dl, byte [ebp + eax - 0x428]
mov ecx, dword [ebp - 0x42c]
add cl, al
xor dl, cl
mov byte [ebp + eax - 0x428], dl
inc eax
cmp eax, 0x1f
jb 0x403640
lea eax, [ebp - 0x428]
mov byte [ebp - 0x409], 0
push eax
push 0x4a4640
call fcn.00406290
push eax
call fcn.00406540
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b917
mov esp, ebp
pop ebp
ret