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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov esi, dword [esp + 0x74]
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + 0x60]
mov dword [esp + 0x14], eax
mov word [esp], 0xcdcf
mov byte [esp + 2], 0xfa
mov word [esp + 3], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
mov ebx, eax
add bl, 0x2b
xor bl, byte [esp + eax]
add bl, 0x29
mov byte [esp + eax], bl
inc eax
cmp eax, 5
jne 0x40cff0
mov dword [esp + 8], 0x160c1026
mov word [esp + 0xc], 0x30a
mov dword [esp + 0xe], 0
mov byte [esp + 0x12], 0
mov ebx, 0x845ad81
mov ebp, 0x7e
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + ebx - 0x845ad79]
mov eax, ebp
xor eax, ebx
and eax, edi
xor eax, ebx
mov edi, eax
not edi
and eax, 0x7a
and edi, 0x85
sub eax, edi
mov byte [esp + ebx - 0x845ad79], al
inc ebx
dec ebp
cmp ebx, 0x845ad8c
jne 0x40d030
mov dword [esp + 0x1c], 0xd6eca0a3
mov dword [esp + 0x20], 0xd2d6e4e8
mov dword [esp + 0x24], 0xdd26dce3
mov dword [esp + 0x28], 0xdad1de29
mov dword [esp + 0x2c], 0xf2d92d2e
mov dword [esp + 0x30], 0x34e7a9af
mov dword [esp + 0x34], 0xc7c133ca
mov dword [esp + 0x38], 0xc6ee843c
mov dword [esp + 0x3c], 0x443f3f39
mov dword [esp + 0x40], 0x44b947bb
mov dword [esp + 0x44], 0xbff68dba
mov dword [esp + 0x48], 0xf2b54949
mov dword [esp + 0x4c], 0xa24abcb8
mov dword [esp + 0x50], 0xa6ace39d
mov dword [esp + 0x54], 0xeb99a0ab
mov byte [esp + 0x58], 0xc8
mov word [esp + 0x59], 0
mov byte [esp + 0x5b], 0
mov ebx, 0x6036389d
mov ebp, 0x62
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + ebx - 0x60363881]
mov eax, ebp
xor eax, ebx
and eax, edi
xor eax, ebx
mov edi, eax
and edi, 0xec
mov edx, eax
and edx, 2
mov ecx, edx
xor ecx, 2
imul ecx, edi
or edi, 2
imul edi, edx
xor eax, 0xee
add eax, ecx
add eax, edi
inc al
mov byte [esp + ebx - 0x60363881], al
inc ebx
dec ebp
cmp ebx, 0x603638dd
jne 0x40d100
mov ecx, dword [esp + 0x70]
add ecx, dword [esp + 0x14]
movzx eax, byte [esp + 0x1c]
mov edi, ecx
test al, al
je 0x40d16b
lea ebx, [esp + 0x1d]
mov edi, ecx
mov byte [edi], al
inc edi
movzx eax, byte [ebx]
inc ebx
test al, al
jne 0x40d160
mov byte [edi], 0
movzx eax, byte [esi]
test al, al
je 0x40d18d
inc esi
mov edx, dword [esp + 0x78]
nop
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [esi]
inc esi
test al, al
jne 0x40d180
jmp 0x40d191
mov edx, dword [esp + 0x78]
mov byte [edi], 0
movzx eax, byte [esp + 8]
test al, al
je 0x40d1bb
lea esi, [esp + 9]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [esi]
inc esi
test al, al
jne 0x40d1b0
mov byte [edi], 0
movzx eax, byte [edx]
test al, al
je 0x40d1db
inc edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [edx]
inc edx
test al, al
jne 0x40d1d0
mov byte [edi], 0
movzx eax, byte [esp]
test al, al
je 0x40d1fb
lea edx, [esp + 1]
nop
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [edx]
inc edx
test al, al
jne 0x40d1f0
mov byte [edi], 0
sub edi, ecx
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x60]
mov ecx, eax
and ecx, edi
xor edi, eax
lea eax, [edi + ecx*2]
mov dword [edx + 0x60], eax
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc