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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov eax, dword [ebp + 8]
add eax, dword [ecx + 0x60]
mov dword [esp + 0x80], 0
mov dword [esp + 0x97], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov word [esp + 0x80], 0x4b4d
mov byte [esp + 0x82], 0xb2
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
cmp edx, 0x1a
ja 0x408f25
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
movzx esi, byte [esp + esi + 0x80]
lea edi, [edx + 0x48]
and edi, esi
add edx, esi
add edi, edi
sub edx, edi
add dl, 0x50
mov esi, dword [esp + 0x10]
mov byte [esp + esi + 0x80], dl
mov edx, dword [esp + 0x10]
mov esi, edx
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
cmp edx, 0x1b
jb 0x408ee0
mov dword [esp + 0x64], 0
mov word [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x60], 0xa0a2a688
mov word [esp + 0x64], 0xb1a4
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
cmp edx, 0x1d
ja 0x408fb9
nop
nop
nop
nop
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
movzx edi, byte [esp + edx + 0x60]
lea edx, [esi - 0x7d3df547]
add esi, 0xb9
or esi, edx
and esi, edi
or edx, edi
sub edx, esi
add dl, 0xf1
mov esi, dword [esp + 0x10]
mov byte [esp + esi + 0x60], dl
inc dword [esp + 0x10]
mov edx, dword [esp + 0x10]
cmp edx, 0x1e
jb 0x408f80
mov dword [esp + 0x10], 0x1c1a4659
mov dword [esp + 0x14], 0x18184a32
mov dword [esp + 0x18], 0x17000a49
mov dword [esp + 0x1c], 0x100f1003
mov dword [esp + 0x20], 0xb8effb04
mov dword [esp + 0x24], 0xfec99795
mov dword [esp + 0x28], 0xfde7f5f0
mov dword [esp + 0x2c], 0xfcc0baf6
mov dword [esp + 0x30], 0xeee9e9f3
mov dword [esp + 0x34], 0xeee7e9e1
mov dword [esp + 0x38], 0xf5b0dbe0
mov dword [esp + 0x3c], 0xa8ebe7e3
mov dword [esp + 0x40], 0xc8dccaf2
mov dword [esp + 0x44], 0xccd28de7
mov dword [esp + 0x48], 0x81efc6d1
mov byte [esp + 0x4c], 0xa2
mov dword [esp + 0x4d], 0
mov dword [esp + 0x51], 0
mov dword [esp + 0x55], 0
mov byte [esp + 0x59], 0
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0xc]
cmp edx, 0x49
ja 0x4090aa
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
movzx edi, byte [esp + edx + 0x10]
lea edx, [esi + edi]
add edx, 0x22486aef
add esi, 0x22486aef
and esi, edi
add esi, esi
sub edx, esi
add dl, 0x77
mov esi, dword [esp + 0xc]
mov byte [esp + esi + 0x10], dl
inc dword [esp + 0xc]
mov edx, dword [esp + 0xc]
cmp edx, 0x4a
jb 0x409070
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esp + 0x10]
mov edx, eax
test bl, bl
je 0x4090cb
lea edi, [esp + 0x11]
mov edx, eax
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0x4090c0
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0x4090eb
inc esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [esi]
inc esi
test bl, bl
jne 0x4090e0
mov esi, dword [ebp + 0x10]
mov byte [edx], 0
movzx ebx, byte [esp + 0x60]
test bl, bl
je 0x40910b
lea edi, [esp + 0x61]
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0x409100
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0x40912b
inc esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [esi]
inc esi
test bl, bl
jne 0x409120
mov byte [edx], 0
movzx ebx, byte [esp + 0x80]
test bl, bl
je 0x40915b
lea esi, [esp + 0x81]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [esi]
inc esi
test bl, bl
jne 0x409150
mov byte [edx], 0
sub edx, eax
mov eax, dword [ecx + 0x60]
mov esi, eax
and esi, edx
xor edx, eax
lea eax, [edx + esi*2]
mov dword [ecx + 0x60], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc