Function at 0x40a504
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff4c
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp + 4]
lea edx, [esp + 0xa4]
mov dword [esp + 8], eax
mov eax, dword [esp]
add eax, 0xb4
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov eax, dword [eax]
xor eax, dword [ebx]
mov dword [edx], eax
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov eax, dword [eax + 4]
xor eax, dword [ebx + 4]
mov dword [edx + 4], eax
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov eax, dword [eax + 8]
xor eax, dword [ebx + 8]
mov dword [edx + 8], eax
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov eax, dword [eax + 0xc]
xor eax, dword [ebx + 0xc]
mov dword [edx + 0xc], eax
xor eax, eax
mov dword [esp + 0x10], ecx
mov al, byte [edx]
shl eax, 2
add eax, 0x418f12
mov dword [esp + 0x14], eax
xor eax, eax
mov al, byte [edx + 0xd]
shl eax, 2
add eax, 0x419312
mov dword [esp + 0x18], eax
xor eax, eax
mov al, byte [edx + 0xa]
shl eax, 2
add eax, 0x419712
mov dword [esp + 0x1c], eax
xor eax, eax
mov al, byte [edx + 7]
shl eax, 2
add eax, 0x419b12
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [eax]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x1c]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x20]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x10]
mov dword [ebx], eax
lea eax, [ecx + 4]
mov dword [esp + 0x24], eax
xor eax, eax
mov al, byte [edx + 4]
shl eax, 2
add eax, 0x418f12
mov dword [esp + 0x28], eax
xor eax, eax
mov al, byte [edx + 1]
shl eax, 2
add eax, 0x419312
mov dword [esp + 0x2c], eax
xor eax, eax
mov al, byte [edx + 0xe]
shl eax, 2
add eax, 0x419712
mov dword [esp + 0x30], eax
xor eax, eax
mov al, byte [edx + 0xb]
shl eax, 2
add eax, 0x419b12
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov eax, dword [eax]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x30]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x34]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x24]
mov dword [ebx], eax
lea eax, [ecx + 8]
mov dword [esp + 0x38], eax
xor eax, eax
mov al, byte [edx + 8]
shl eax, 2
add eax, 0x418f12
mov dword [esp + 0x3c], eax
xor eax, eax
mov al, byte [edx + 5]
shl eax, 2
add eax, 0x419312
mov dword [esp + 0x40], eax
xor eax, eax
mov al, byte [edx + 2]
shl eax, 2
add eax, 0x419712
mov dword [esp + 0x44], eax
xor eax, eax
mov al, byte [edx + 0xf]
shl eax, 2
add eax, 0x419b12
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov eax, dword [eax]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x44]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x48]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x38]
mov dword [ebx], eax
lea eax, [ecx + 0xc]
mov dword [esp + 0x4c], eax
xor eax, eax
mov al, byte [edx + 0xc]
shl eax, 2
add eax, 0x418f12
mov dword [esp + 0x50], eax
xor eax, eax
mov al, byte [edx + 9]
shl eax, 2
add eax, 0x419312
mov dword [esp + 0x54], eax
xor eax, eax
mov al, byte [edx + 6]
shl eax, 2
add eax, 0x419712
mov dword [esp + 0x58], eax
xor eax, eax
mov al, byte [edx + 3]
shl eax, 2
add eax, 0x419b12
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov eax, dword [eax]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x58]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x5c]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x4c]
mov dword [ebx], eax
mov eax, 9
mov esi, eax
mov ebx, ecx
shl esi, 4
dec eax
add esi, dword [esp]
mov edi, dword [ebx]
add esi, 0x14
xor edi, dword [esi]
mov dword [edx], edi
mov edi, dword [ebx + 4]
xor edi, dword [esi + 4]
mov dword [edx + 4], edi
mov edi, dword [ebx + 8]
xor edi, dword [esi + 8]
mov dword [edx + 8], edi
mov ebx, dword [ebx + 0xc]
xor ebx, dword [esi + 0xc]
mov dword [edx + 0xc], ebx
mov ebx, ecx
movzx edi, byte [edx + 0xd]
movzx esi, byte [edx]
shl edi, 2
add edi, 0x419312
mov dword [esp + 0x60], edi
movzx edi, byte [edx + 0xa]
shl edi, 2
add edi, 0x419712
mov dword [esp + 0x64], edi
movzx edi, byte [edx + 7]
shl edi, 2
shl esi, 2
add edi, 0x419b12
mov dword [esp + 0x68], edi
add esi, 0x418f12
mov edi, dword [esp + 0x60]
mov esi, dword [esi]
xor esi, dword [edi]
mov edi, dword [esp + 0x64]
xor esi, dword [edi]
mov edi, dword [esp + 0x68]
xor esi, dword [edi]
mov dword [ebx], esi
lea ebx, [ecx + 4]
movzx edi, byte [edx + 1]
movzx esi, byte [edx + 4]
shl edi, 2
add edi, 0x419312
mov dword [esp + 0x6c], edi
movzx edi, byte [edx + 0xe]
shl edi, 2
add edi, 0x419712
mov dword [esp + 0x70], edi
movzx edi, byte [edx + 0xb]
shl edi, 2
shl esi, 2
add edi, 0x419b12
mov dword [esp + 0x74], edi
add esi, 0x418f12
mov edi, dword [esp + 0x6c]
mov esi, dword [esi]
xor esi, dword [edi]
mov edi, dword [esp + 0x70]
xor esi, dword [edi]
mov edi, dword [esp + 0x74]
xor esi, dword [edi]
mov dword [ebx], esi
lea ebx, [ecx + 8]
movzx edi, byte [edx + 5]
movzx esi, byte [edx + 8]
shl edi, 2
add edi, 0x419312
mov dword [esp + 0x78], edi
movzx edi, byte [edx + 2]
shl edi, 2
add edi, 0x419712
mov dword [esp + 0x7c], edi
movzx edi, byte [edx + 0xf]
shl edi, 2
shl esi, 2
add edi, 0x419b12
mov dword [esp + 0x80], edi
add esi, 0x418f12
mov edi, dword [esp + 0x78]
mov esi, dword [esi]
xor esi, dword [edi]
mov edi, dword [esp + 0x7c]
xor esi, dword [edi]
mov edi, dword [esp + 0x80]
xor esi, dword [edi]
mov dword [ebx], esi
lea ebx, [ecx + 0xc]
movzx edi, byte [edx + 9]
movzx esi, byte [edx + 0xc]
shl edi, 2
add edi, 0x419312
mov dword [esp + 0x84], edi
movzx edi, byte [edx + 6]
shl edi, 2
add edi, 0x419712
mov dword [esp + 0x88], edi
movzx edi, byte [edx + 3]
shl edi, 2
shl esi, 2
add edi, 0x419b12
mov dword [esp + 0x8c], edi
add esi, 0x418f12
mov edi, dword [esp + 0x84]
mov esi, dword [esi]
xor esi, dword [edi]
mov edi, dword [esp + 0x88]
xor esi, dword [edi]
mov edi, dword [esp + 0x8c]
xor esi, dword [edi]
cmp eax, 1
mov dword [ebx], esi
jg 0x40a725
mov dword [esp + 0x90], ecx
mov eax, dword [esp]
add eax, 0x24
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov eax, dword [eax]
xor eax, dword [ebx]
mov dword [edx], eax
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov eax, dword [eax + 4]
xor eax, dword [ebx + 4]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov eax, dword [eax + 8]
xor eax, dword [ebx + 8]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov eax, dword [eax + 0xc]
xor eax, dword [ebx + 0xc]
mov dword [edx + 0xc], eax
xor eax, eax
mov al, byte [edx]
mov al, byte [eax + 0x417df4]
mov byte [ecx], al
xor eax, eax
mov al, byte [edx + 0xd]
mov al, byte [eax + 0x417df4]
mov byte [ecx + 1], al
xor eax, eax
mov al, byte [edx + 0xa]
mov al, byte [eax + 0x417df4]
mov byte [ecx + 2], al
xor eax, eax
mov al, byte [edx + 7]
mov al, byte [eax + 0x417df4]
mov byte [ecx + 3], al
xor eax, eax
mov al, byte [edx + 4]
mov al, byte [eax + 0x417df4]
mov byte [ecx + 4], al
xor eax, eax
mov al, byte [edx + 1]
mov al, byte [eax + 0x417df4]
mov byte [ecx + 5], al
xor eax, eax
mov al, byte [edx + 0xe]
mov al, byte [eax + 0x417df4]
mov byte [ecx + 6], al
xor eax, eax
mov al, byte [edx + 0xb]
mov al, byte [eax + 0x417df4]
mov byte [ecx + 7], al
xor eax, eax
mov al, byte [edx + 8]
mov al, byte [eax + 0x417df4]
mov byte [ecx + 8], al
xor eax, eax
mov al, byte [edx + 5]
mov al, byte [eax + 0x417df4]
mov byte [ecx + 9], al
xor eax, eax
mov al, byte [edx + 2]
mov al, byte [eax + 0x417df4]
mov byte [ecx + 0xa], al
xor eax, eax
mov al, byte [edx + 0xf]
mov al, byte [eax + 0x417df4]
mov byte [ecx + 0xb], al
xor eax, eax
mov al, byte [edx + 0xc]
mov al, byte [eax + 0x417df4]
mov byte [ecx + 0xc], al
xor eax, eax
mov al, byte [edx + 9]
mov al, byte [eax + 0x417df4]
mov byte [ecx + 0xd], al
xor eax, eax
mov al, byte [edx + 6]
mov al, byte [eax + 0x417df4]
mov byte [ecx + 0xe], al
movzx edx, byte [edx + 3]
mov al, byte [edx + 0x417df4]
mov byte [ecx + 0xf], al
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
mov edx, dword [esp]
add edx, 0x14
mov dword [esp + 0xa0], edx
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x98]
xor eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x98]
xor edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0xa0]
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x98]
xor ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x98]
xor eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
add esp, 0xb4
pop edi
pop esi
pop ebx
ret