Function at 0x409edf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ecx]
mov dword [eax + 0xe0], esi
mov edx, dword [ecx + 4]
mov dword [eax + 0xe4], edx
mov dword [ebp - 0x2c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0xe8], edx
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 0x28], edx
mov dword [eax + 0xec], ebx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0xd0], edx
mov dword [ebp - 0x20], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0xd4], edx
mov dword [ebp - 0x1c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xd8], edx
mov ecx, dword [ecx + 0x1c]
push edi
lea edi, [eax + 0xc0]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov dword [eax + 0xdc], ecx
lea edx, [eax + 0xc8]
mov dword [ebp - 8], edi
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x41ac20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
shr eax, 0x10
movzx edi, al
xor ecx, dword [edi*4 + 0x41a820]
mov eax, dword [ebp - 0x14]
shr eax, 8
movzx edi, al
xor ecx, dword [edi*4 + 0x41a420]
movzx edi, byte [ebp - 0x14]
xor ecx, dword [edi*4 + 0x41b020]
mov edi, dword [ebp - 4]
xor ecx, dword [edi + 0x41a3e0]
add dword [ebp - 4], 4
xor esi, ecx
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 0x2c]
xor ecx, esi
xor dword [ebp - 0x28], ecx
mov dword [edx - 4], ecx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x28]
xor ebx, ecx
mov dword [edx], ecx
mov dword [edx + 4], ebx
mov eax, ebx
shr eax, 0x10
movzx edi, al
mov ecx, ebx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x41b020]
xor ecx, dword [edi*4 + 0x41ac20]
mov eax, ebx
shr eax, 8
sub dword [ebp - 8], 0x20
movzx edi, al
xor ecx, dword [edi*4 + 0x41a820]
mov eax, dword [ebp - 0xc]
movzx edi, bl
xor ecx, dword [edi*4 + 0x41a420]
mov edi, dword [ebp - 0x14]
xor dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
mov dword [edx - 0x18], ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0x20]
sub edx, 0x20
xor dword [ebp - 0x18], ecx
mov dword [edx + 0xc], ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x18]
xor edi, ecx
cmp dword [ebp - 4], 0x18
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], edi
mov dword [ebp - 0x14], edi
mov ecx, edi
jb 0x409f54
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov edx, ecx
shr edx, 0x18
mov edx, dword [edx*4 + 0x41ac20]
shr ebx, 0x10
movzx edi, bl
xor edx, dword [edi*4 + 0x41a820]
mov ebx, ecx
shr ebx, 8
movzx edi, bl
xor edx, dword [edi*4 + 0x41a420]
mov ebx, dword [ebp - 0xc]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x41b020]
mov ecx, dword [ebp - 0x2c]
xor edx, dword [0x41a3f8]
push 4
xor esi, edx
mov edx, dword [ebp - 0x28]
xor ecx, esi
xor edx, ecx
xor ebx, edx
mov dword [eax + 4], ecx
mov dword [eax], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
pop ecx
mov esi, dword [eax + ecx*4]
mov ebx, esi
shr ebx, 0x10
mov edx, esi
shr edx, 0x18
mov edx, dword [edx*4 + 0x418fe0]
movzx edi, bl
xor edx, dword [edi*4 + 0x418be0]
mov ebx, esi
shr ebx, 8
movzx esi, bl
xor edx, dword [esi*4 + 0x4187e0]
movzx esi, byte [eax + ecx*4]
xor edx, dword [esi*4 + 0x4183e0]
mov dword [eax + ecx*4], edx
inc ecx
cmp ecx, 0x38
jb 0x40a087
add eax, 0xf0
and dword [eax], 0
pop edi
pop esi
mov byte [eax], pe_nt_image_headers32
xor eax, eax
pop ebx
leave
ret