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

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff50
mov dword [esp + 4], edx
lea edx, [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp]
add eax, 0x14
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [eax]
xor eax, dword [ebx]
mov ebx, dword [esp + 0xc]
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [eax + 4]
xor eax, dword [ebx + 4]
mov ebx, dword [esp + 0xc]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [eax + 8]
xor eax, dword [ebx + 8]
mov ebx, dword [esp + 0xc]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
xor eax, dword [ebx + 0xc]
mov ebx, dword [esp + 0xc]
mov dword [ebx + 0xc], eax
xor eax, eax
mov dword [esp + 0x18], ecx
mov al, byte [edx]
shl eax, 2
add eax, 0x445e22
mov dword [esp + 0x1c], eax
lea eax, [edx + 4]
movzx eax, byte [eax + 1]
shl eax, 2
add eax, 0x446222
mov dword [esp + 0x20], eax
lea eax, [edx + 8]
movzx eax, byte [eax + 2]
shl eax, 2
add eax, 0x446622
mov dword [esp + 0x24], eax
lea eax, [edx + 0xc]
movzx eax, byte [eax + 3]
shl eax, 2
add eax, 0x446a22
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov eax, dword [eax]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x24]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x28]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x18]
mov dword [ebx], eax
lea eax, [ecx + 4]
mov dword [esp + 0x2c], eax
lea eax, [edx + 4]
movzx eax, byte [eax]
shl eax, 2
add eax, 0x445e22
mov dword [esp + 0x30], eax
lea eax, [edx + 8]
movzx eax, byte [eax + 1]
shl eax, 2
add eax, 0x446222
mov dword [esp + 0x34], eax
lea eax, [edx + 0xc]
movzx eax, byte [eax + 2]
shl eax, 2
add eax, 0x446622
mov dword [esp + 0x38], eax
xor eax, eax
mov al, byte [edx + 3]
shl eax, 2
add eax, 0x446a22
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov eax, dword [eax]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x38]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x3c]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x2c]
mov dword [ebx], eax
lea eax, [ecx + 8]
mov dword [esp + 0x40], eax
lea eax, [edx + 8]
movzx eax, byte [eax]
shl eax, 2
add eax, 0x445e22
mov dword [esp + 0x44], eax
lea eax, [edx + 0xc]
movzx eax, byte [eax + 1]
shl eax, 2
add eax, 0x446222
mov dword [esp + 0x48], eax
xor eax, eax
mov al, byte [edx + 2]
shl eax, 2
add eax, 0x446622
mov dword [esp + 0x4c], eax
lea eax, [edx + 4]
movzx eax, byte [eax + 3]
shl eax, 2
add eax, 0x446a22
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov eax, dword [eax]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x4c]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x50]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x40]
mov dword [ebx], eax
lea eax, [ecx + 0xc]
mov dword [esp + 0x54], eax
lea eax, [edx + 0xc]
movzx eax, byte [eax]
shl eax, 2
add eax, 0x445e22
mov dword [esp + 0x58], eax
xor eax, eax
mov al, byte [edx + 1]
shl eax, 2
add eax, 0x446222
mov dword [esp + 0x5c], eax
lea eax, [edx + 4]
movzx eax, byte [eax + 2]
shl eax, 2
add eax, 0x446622
mov dword [esp + 0x60], eax
lea eax, [edx + 8]
movzx eax, byte [eax + 3]
shl eax, 2
add eax, 0x446a22
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov eax, dword [eax]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x60]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x64]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x54]
mov dword [ebx], eax
mov dword [esp + 8], 1
mov eax, dword [esp + 8]
mov esi, ecx
shl eax, 4
mov ebx, edx
add eax, dword [esp]
mov edi, dword [esi]
add eax, 0x14
xor edi, dword [eax]
mov dword [ebx], edi
mov edi, dword [esi + 4]
xor edi, dword [eax + 4]
mov dword [ebx + 4], edi
mov edi, dword [esi + 8]
xor edi, dword [eax + 8]
mov dword [ebx + 8], edi
lea edi, [edx + 8]
mov esi, dword [esi + 0xc]
xor esi, dword [eax + 0xc]
mov eax, ecx
mov dword [ebx + 0xc], esi
lea esi, [edx + 4]
movzx edi, byte [edi + 2]
movzx esi, byte [esi + 1]
shl edi, 2
xor ebx, ebx
mov bl, byte [edx]
add edi, 0x446622
mov dword [esp + 0x68], edi
lea edi, [edx + 0xc]
shl ebx, 2
movzx edi, byte [edi + 3]
shl edi, 2
add ebx, 0x445e22
shl esi, 2
add edi, 0x446a22
add esi, 0x446222
mov dword [esp + 0x6c], edi
mov ebx, dword [ebx]
lea edi, [edx + 0xc]
xor ebx, dword [esi]
mov esi, dword [esp + 0x68]
xor ebx, dword [esi]
mov esi, dword [esp + 0x6c]
xor ebx, dword [esi]
lea esi, [edx + 8]
mov dword [eax], ebx
lea ebx, [edx + 4]
movzx edi, byte [edi + 2]
movzx ebx, byte [ebx]
movzx esi, byte [esi + 1]
shl edi, 2
lea eax, [ecx + 4]
add edi, 0x446622
mov dword [esp + 0x70], edi
movzx edi, byte [edx + 3]
shl ebx, 2
shl edi, 2
add ebx, 0x445e22
shl esi, 2
add edi, 0x446a22
add esi, 0x446222
mov dword [esp + 0x74], edi
mov ebx, dword [ebx]
xor ebx, dword [esi]
mov esi, dword [esp + 0x70]
xor ebx, dword [esi]
mov esi, dword [esp + 0x74]
xor ebx, dword [esi]
lea esi, [edx + 0xc]
mov dword [eax], ebx
lea ebx, [edx + 8]
movzx edi, byte [edx + 2]
movzx ebx, byte [ebx]
movzx esi, byte [esi + 1]
shl edi, 2
lea eax, [ecx + 8]
add edi, 0x446622
mov dword [esp + 0x78], edi
lea edi, [edx + 4]
shl ebx, 2
movzx edi, byte [edi + 3]
shl edi, 2
add ebx, 0x445e22
shl esi, 2
add edi, 0x446a22
add esi, 0x446222
mov dword [esp + 0x7c], edi
mov ebx, dword [ebx]
lea edi, [edx + 4]
xor ebx, dword [esi]
mov esi, dword [esp + 0x78]
xor ebx, dword [esi]
mov esi, dword [esp + 0x7c]
xor ebx, dword [esi]
mov dword [eax], ebx
lea ebx, [edx + 0xc]
movzx edi, byte [edi + 2]
movzx esi, byte [edx + 1]
movzx ebx, byte [ebx]
shl edi, 2
lea eax, [ecx + 0xc]
add edi, 0x446622
mov dword [esp + 0x80], edi
lea edi, [edx + 8]
shl ebx, 2
movzx edi, byte [edi + 3]
shl edi, 2
add ebx, 0x445e22
shl esi, 2
add edi, 0x446a22
add esi, 0x446222
mov dword [esp + 0x84], edi
mov ebx, dword [ebx]
xor ebx, dword [esi]
mov esi, dword [esp + 0x80]
xor ebx, dword [esi]
mov esi, dword [esp + 0x84]
xor ebx, dword [esi]
mov dword [eax], ebx
inc dword [esp + 8]
cmp dword [esp + 8], 9
jl 0x40cbcf
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
mov eax, dword [esp]
add eax, 0xa4
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0x90]
mov eax, dword [eax]
xor eax, dword [ebx]
mov ebx, dword [esp + 0x88]
mov dword [ebx], eax
mov eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0x90]
mov eax, dword [eax + 4]
xor eax, dword [ebx + 4]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0x90]
mov eax, dword [eax + 8]
xor eax, dword [ebx + 8]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0x90]
mov eax, dword [eax + 0xc]
xor eax, dword [ebx + 0xc]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0xc], eax
xor eax, eax
mov al, byte [edx]
mov al, byte [eax*4 + 0x445e23]
mov byte [ecx], al
lea eax, [edx + 4]
movzx eax, byte [eax + 1]
mov al, byte [eax*4 + 0x445e23]
mov byte [ecx + 1], al
lea eax, [edx + 8]
movzx eax, byte [eax + 2]
mov al, byte [eax*4 + 0x445e23]
mov byte [ecx + 2], al
lea eax, [edx + 0xc]
movzx eax, byte [eax + 3]
mov al, byte [eax*4 + 0x445e23]
mov byte [ecx + 3], al
lea eax, [edx + 4]
movzx eax, byte [eax]
mov al, byte [eax*4 + 0x445e23]
mov byte [ecx + 4], al
lea eax, [edx + 8]
movzx eax, byte [eax + 1]
mov al, byte [eax*4 + 0x445e23]
mov byte [ecx + 5], al
lea eax, [edx + 0xc]
movzx eax, byte [eax + 2]
mov al, byte [eax*4 + 0x445e23]
mov byte [ecx + 6], al
xor eax, eax
mov al, byte [edx + 3]
mov al, byte [eax*4 + 0x445e23]
mov byte [ecx + 7], al
lea eax, [edx + 8]
movzx eax, byte [eax]
mov al, byte [eax*4 + 0x445e23]
mov byte [ecx + 8], al
lea eax, [edx + 0xc]
movzx eax, byte [eax + 1]
mov al, byte [eax*4 + 0x445e23]
mov byte [ecx + 9], al
xor eax, eax
mov al, byte [edx + 2]
mov al, byte [eax*4 + 0x445e23]
mov byte [ecx + 0xa], al
lea eax, [edx + 4]
movzx eax, byte [eax + 3]
mov al, byte [eax*4 + 0x445e23]
mov byte [ecx + 0xb], al
lea eax, [edx + 0xc]
movzx eax, byte [eax]
mov al, byte [eax*4 + 0x445e23]
mov byte [ecx + 0xc], al
xor eax, eax
mov al, byte [edx + 1]
mov al, byte [eax*4 + 0x445e23]
mov byte [ecx + 0xd], al
lea eax, [edx + 4]
add edx, 8
movzx eax, byte [eax + 2]
mov al, byte [eax*4 + 0x445e23]
mov byte [ecx + 0xe], al
xor eax, eax
mov al, byte [edx + 3]
mov dl, byte [eax*4 + 0x445e23]
mov byte [ecx + 0xf], dl
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
mov ecx, dword [esp]
add ecx, 0xb4
mov dword [esp + 0x9c], ecx
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov edx, dword [eax]
mov eax, dword [esp + 0x94]
xor edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x94]
xor ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x94]
xor eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x94]
xor edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
add esp, 0xb0
pop edi
pop esi
pop ebx
ret