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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [esp + 0x70]
add eax, dword [ecx + 0x60]
mov word [esp + 0x14], 0x9b91
mov byte [esp + 0x16], 0x80
mov word [esp + 0x17], 0
mov byte [esp + 0x19], 0
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
cmp edx, 5
ja 0x40a535
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 8]
mov esi, dword [esp + 8]
movzx esi, byte [esp + esi + 0x14]
add edx, 0x6d359deb
xor edx, esi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x1c]
add dl, 0x93
mov esi, dword [esp + 8]
mov byte [esp + esi + 0x14], dl
inc dword [esp + 8]
mov edx, dword [esp + 8]
cmp edx, 6
jb 0x40a500
mov dword [esp + 8], 0xcbcfcdd1
mov word [esp + 0xc], 0xf6cd
mov dword [esp + 0xe], 0
mov byte [esp + 0x12], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 0xa
ja 0x40a590
mov edx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 8]
add edx, 0xcca8b3aa
xor edx, esi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x1c]
add dl, 0xa7
mov esi, dword [esp]
mov byte [esp + esi + 8], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 0xb
jb 0x40a560
mov dword [esp + 0x1c], 0x585e8687
mov dword [esp + 0x20], 0x54548a76
mov dword [esp + 0x24], 0x51444a87
mov dword [esp + 0x28], 0xacb15449
mov dword [esp + 0x2c], 0x7ca9b9b8
mov dword [esp + 0x30], 0xbe835553
mov dword [esp + 0x34], 0xbba1b7bc
mov dword [esp + 0x38], 0xa09c7ab2
mov dword [esp + 0x3c], 0xaea3aba9
mov dword [esp + 0x40], 0xaea9aba7
mov dword [esp + 0x44], 0xb37499ac
mov dword [esp + 0x48], 0x5495a5a9
mov dword [esp + 0x4c], 0x8c988a8e
mov dword [esp + 0x50], 0x809e4fa5
mov dword [esp + 0x54], 0x47a9869f
mov byte [esp + 0x58], 0x66
mov dword [esp + 0x59], 0
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
cmp edx, 0x40
ja 0x40a663
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 4]
mov esi, dword [esp + 4]
movzx esi, byte [esp + esi + 0x1c]
add edx, 0x44a886f2
xor edx, esi
mov dword [esp], edx
mov edx, dword [esp]
add dl, 0xb8
mov esi, dword [esp + 4]
mov byte [esp + esi + 0x1c], dl
inc dword [esp + 4]
mov edx, dword [esp + 4]
cmp edx, 0x41
jb 0x40a630
mov esi, dword [esp + 0x74]
movzx ebx, byte [esp + 0x1c]
mov edx, eax
test bl, bl
je 0x40a68b
lea edi, [esp + 0x1d]
mov edx, eax
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0x40a680
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0x40a6ab
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 0x40a6a0
mov esi, dword [esp + 0x78]
mov byte [edx], 0
movzx ebx, byte [esp + 8]
test bl, bl
je 0x40a6cb
lea edi, [esp + 9]
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0x40a6c0
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0x40a6eb
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 0x40a6e0
mov byte [edx], 0
movzx ebx, byte [esp + 0x14]
test bl, bl
je 0x40a70b
lea esi, [esp + 0x15]
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [esi]
inc esi
test bl, bl
jne 0x40a700
mov byte [edx], 0
mov esi, edx
not esi
and esi, eax
not eax
and eax, edx
sub eax, esi
add dword [ecx + 0x60], eax
add esp, 0x60
pop esi
pop edi
pop ebx
ret 0xc