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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x94
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x68], ecx
add edi, dword [ecx + 0x60]
mov dword [esp + 0x6c], 0xbcb9b9f2
mov dword [esp + 0x70], 0xf1bbbcac
mov dword [esp + 0x74], 0xa5b38bd9
mov dword [esp + 0x78], 0xb0a6e6cf
mov dword [esp + 0x7c], 0xa0bcbbb1
mov dword [esp + 0x80], 0xa8adbba4
mov dword [esp + 0x84], 0xa3ee9aee
mov dword [esp + 0x88], 0xb3b2a8b7
mov dword [esp + 0x8c], 0xf5f5f7a1
mov dword [esp + 0x90], 0xeef7
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x27
ja 0x40a7ee
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x6c]
add eax, 0x567762df
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x16
mov ecx, dword [esp]
mov byte [esp + ecx + 0x6c], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x28
jb 0x40a7c0
mov dword [esp], 0x8e879961
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 4
ja 0x40a841
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx]
add eax, 0x20707167
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x1c
mov ecx, dword [esp + 8]
mov byte [esp + ecx], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 5
jb 0x40a810
mov dword [esp + 0x10], 0x36306c63
mov dword [esp + 0x14], 0x32366064
mov dword [esp + 0x18], 0xc9d6d063
mov dword [esp + 0x1c], 0xcad5ced5
mov dword [esp + 0x20], 0x92c5d1de
mov dword [esp + 0x24], 0xd8a77d7f
mov dword [esp + 0x28], 0xc7ddcbda
mov dword [esp + 0x2c], 0xc6be80c8
mov dword [esp + 0x30], 0xc0cfcfcd
mov dword [esp + 0x34], 0xc8cdc7cb
mov dword [esp + 0x38], 0xefa681ca
mov dword [esp + 0x3c], 0xb2f1fdf5
mov dword [esp + 0x40], 0xe2f2e0ec
mov dword [esp + 0x44], 0xe6f8ab89
mov dword [esp + 0x48], 0xbb95fcfb
mov dword [esp + 0x4c], 0xfae6e4fe
mov dword [esp + 0x50], 0xf7be9abe
mov dword [esp + 0x54], 0xebf1efeb
mov dword [esp + 0x58], 0xe68d94f7
mov word [esp + 0x5c], 0x23ca
mov byte [esp + 0x60], 0
mov word [esp + 0x5e], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0x50
ja 0x40a943
nop
nop
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + ecx]
add edx, 0x3a22dd77
add eax, 0x3a22dd77
not ecx
or eax, ecx
sub ecx, eax
lea eax, [edx + ecx*2]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x19
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0x51
jb 0x40a900
mov eax, dword [esp + 0xac]
movzx ecx, byte [esp + 0x10]
mov edx, edi
test cl, cl
je 0x40a96b
lea esi, [esp + 0x11]
mov edx, edi
nop
nop
nop
nop
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [esi]
inc esi
test cl, cl
jne 0x40a960
mov byte [edx], 0
movzx ecx, byte [eax]
test cl, cl
je 0x40a98b
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [eax]
inc eax
test cl, cl
jne 0x40a980
mov byte [edx], 0
movzx eax, byte [esp]
test al, al
je 0x40a9ab
lea ecx, [esp + 1]
nop
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40a9a0
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xb0]
mov byte [edx], 0
movzx eax, byte [esp + 0x6c]
test al, al
mov dword [esp + 0x64], edi
je 0x40a9db
lea ecx, [esp + 0x6d]
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40a9d0
mov byte [edx], 0
mov ecx, ebx
shr ecx, 2
mov eax, ebp
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, ebx
and eax, 0xfffffffc
lea esi, [edx + eax]
add eax, ebp
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov ebp, eax
mov edi, esi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test bl, 1
je 0x40aa18
mov ecx, ebx
and ecx, 2
movzx eax, byte [eax + ecx]
mov byte [esi + ecx], al
mov dword [esp + 0x10], 0x5e5f7b7d
mov dword [esp + 0x14], 0x222e1016
mov dword [esp + 0x18], 0x122f1c1c
mov dword [esp + 0x1c], 0x1c1119ec
mov dword [esp + 0x20], 0xf1f00409
mov dword [esp + 0x24], 0x6d6b3401
mov word [esp + 0x28], 0x6365
mov byte [esp + 0x2a], 0x6a
mov dword [esp + 0x2b], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x1e
mov esi, dword [esp + 0x64]
ja 0x40aaaa
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
add eax, 0x82af6260
xor eax, ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
mov ecx, eax
not ecx
and ecx, 0x10
and eax, 0xef
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x1f
jb 0x40aa70
add edx, ebx
movzx eax, byte [esp + 0x10]
test al, al
je 0x40aacb
lea ecx, [esp + 0x11]
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40aac0
mov byte [edx], 0
sub edx, esi
mov eax, dword [esp + 0x68]
add dword [eax + 0x60], edx
add esp, 0x94
pop esi
pop edi
pop ebx
pop ebp
ret 0x10