Function at 0x40a770
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], 0x161a
mov byte [esp + 0x16], 0xf
mov dword [esp + 0x17], 0
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
cmp edx, 6
ja 0x40a7ec
nop
nop
nop
nop
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]
lea edi, [edx + esi]
and edx, esi
add edx, edx
sub edi, edx
add edi, 0x689df500
mov dword [esp + 0x1c], edi
mov edx, dword [esp + 0x1c]
add dl, 0xf3
mov esi, dword [esp + 8]
mov byte [esp + esi + 0x14], dl
inc dword [esp + 8]
mov edx, dword [esp + 8]
cmp edx, 7
jb 0x40a7b0
mov dword [esp + 8], 0xf3fffdc9
mov word [esp + 0xc], 0xe6fd
mov dword [esp + 0xe], 0
mov word [esp + 0x12], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 0xb
ja 0x40a850
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 8]
add edx, 0x6ba6d826
xor edx, esi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x1c]
add dl, 0x33
mov esi, dword [esp]
mov byte [esp + esi + 8], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 0xc
jb 0x40a820
mov dword [esp + 0x1c], 0x8783797a
mov dword [esp + 0x20], 0xbb857573
mov dword [esp + 0x24], 0xbe85bd4a
mov dword [esp + 0x28], 0xb3b8bf80
mov dword [esp + 0x2c], 0x4bb08281
mov dword [esp + 0x30], 0x95566e6e
mov dword [esp + 0x34], 0x90a89895
mov dword [esp + 0x38], 0xa74d559f
mov dword [esp + 0x3c], 0x959e9c90
mov dword [esp + 0x40], 0xe5a094a2
mov dword [esp + 0x44], 0xd81532e5
mov dword [esp + 0x48], 0x2be4eee0
mov dword [esp + 0x4c], 0xdbe1ddd3
mov dword [esp + 0x50], 0xc7eb183c
mov dword [esp + 0x54], 0xc20c9f2
mov byte [esp + 0x58], 0x63
mov dword [esp + 0x59], 0
mov word [esp + 0x5d], 0
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
cmp edx, 0x42
ja 0x40a923
nop
nop
nop
mov edx, dword [esp + 4]
mov esi, dword [esp + 4]
movzx esi, byte [esp + esi + 0x1c]
add edx, 0xb5088e19
xor edx, esi
mov dword [esp], edx
mov edx, dword [esp]
add dl, 0xca
mov esi, dword [esp + 4]
mov byte [esp + esi + 0x1c], dl
inc dword [esp + 4]
mov edx, dword [esp + 4]
cmp edx, 0x43
jb 0x40a8f0
mov esi, dword [esp + 0x74]
movzx ebx, byte [esp + 0x1c]
mov edx, eax
test bl, bl
je 0x40a94b
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 0x40a940
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0x40a96b
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 0x40a960
mov esi, dword [esp + 0x78]
mov byte [edx], 0
movzx ebx, byte [esp + 8]
test bl, bl
je 0x40a98b
lea edi, [esp + 9]
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0x40a980
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0x40a9ab
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 0x40a9a0
mov byte [edx], 0
movzx ebx, byte [esp + 0x14]
test bl, bl
je 0x40a9cb
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 0x40a9c0
mov byte [edx], 0
sub edx, eax
add dword [ecx + 0x60], edx
add esp, 0x60
pop esi
pop edi
pop ebx
ret 0xc