Function at 0x40a110
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x98
mov edi, dword [esp + 0xac]
mov dword [esp + 0x68], ecx
add edi, dword [ecx + 0x60]
mov dword [esp + 0x6c], 0xe5e8ea31
mov dword [esp + 0x70], 0x36faf513
mov dword [esp + 0x74], 0xaf2e418
mov dword [esp + 0x78], 0xf1014f26
mov dword [esp + 0x7c], 0x10704f0
mov dword [esp + 0x80], 0x904fcfb
mov dword [esp + 0x84], 0xc10bc5
mov dword [esp + 0x88], 0xf0f509fe
mov dword [esp + 0x8c], 0xaaaca800
mov word [esp + 0x90], 0x87ae
mov dword [esp + 0x92], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x29
ja 0x40a1d7
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x6c]
lea edx, [eax + 0x6b]
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add eax, 0x21c8a66b
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xe9
mov ecx, dword [esp]
mov byte [esp + ecx + 0x6c], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x2a
jb 0x40a1a0
mov dword [esp], 0x83888c62
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 4
ja 0x40a231
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx]
add eax, 0x3c2370e0
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xa0
mov ecx, dword [esp + 8]
mov byte [esp + ecx], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 5
jb 0x40a200
mov dword [esp + 0x10], 0x5254181f
mov dword [esp + 0x14], 0x5e5a0c00
mov dword [esp + 0x18], 0x5d52540f
mov dword [esp + 0x1c], 0x26292251
mov dword [esp + 0x20], 0x76213532
mov dword [esp + 0x24], 0x240b414b
mov dword [esp + 0x28], 0x23293f26
mov dword [esp + 0x2c], 0x3a127c3c
mov dword [esp + 0x30], 0x243b3b21
mov dword [esp + 0x34], 0x34312b3f
mov dword [esp + 0x38], 0x3b426536
mov dword [esp + 0x3c], 0x4e0d1131
mov dword [esp + 0x40], 0x6160400
mov dword [esp + 0x44], 0xa04775d
mov dword [esp + 0x48], 0x4f510807
mov dword [esp + 0x4c], 0x161a180a
mov dword [esp + 0x50], 0x136a4e52
mov dword [esp + 0x54], 0x171d131f
mov dword [esp + 0x58], 0x4219101b
mov word [esp + 0x5c], 0x7f5e
mov byte [esp + 0x60], 0
mov word [esp + 0x5e], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0x50
ja 0x40a323
nop
nop
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
movzx ecx, byte [esp + ecx + 0x10]
add eax, 0x302201b3
xor eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x81
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0x51
jb 0x40a2f0
mov ecx, dword [esp + 0xb0]
movzx eax, byte [esp + 0x10]
mov edx, edi
test al, al
je 0x40a34b
lea esi, [esp + 0x11]
mov edx, edi
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [esi]
inc esi
test al, al
jne 0x40a340
mov byte [edx], 0
movzx eax, byte [ecx]
test al, al
je 0x40a36b
inc ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40a360
mov byte [edx], 0
movzx eax, byte [esp]
test al, al
je 0x40a38b
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 0x40a380
mov eax, dword [esp + 0xb4]
mov byte [edx], 0
movzx ecx, byte [esp + 0x6c]
test cl, cl
mov dword [esp + 0x64], edi
je 0x40a3bb
lea esi, [esp + 0x6d]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [esi]
inc esi
test cl, cl
jne 0x40a3b0
mov byte [edx], 0
mov ebx, dword [esp + 0xb8]
mov ecx, ebx
shr ecx, 2
mov esi, eax
mov edi, edx
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ebp, ebx
and ebp, 0xfffffffc
lea esi, [edx + ebp]
add ebp, eax
and ebx, 3
mov ecx, ebx
shr ecx, 1
mov eax, ebp
mov edi, esi
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, dword [esp + 0xb8]
xor eax, 2
and eax, ebx
je 0x40a42a
mov ecx, dword [esp + 0xb8]
and ecx, 2
movzx ebx, byte [ebp + ecx]
mov byte [esi + ecx], bl
cmp eax, 1
je 0x40a42a
movzx ebx, byte [ebp + ecx + 1]
mov byte [esi + ecx + 1], bl
cmp eax, 2
je 0x40a42a
movzx eax, byte [ebp + ecx + 2]
mov byte [esi + ecx + 2], al
mov dword [esp + 0x10], 0x9691cdf3
mov dword [esp + 0x14], 0x929aaca2
mov dword [esp + 0x18], 0xa291a0a0
mov dword [esp + 0x1c], 0x985ba758
mov dword [esp + 0x20], 0x6364989f
mov dword [esp + 0x24], 0xf7c5a09f
mov word [esp + 0x28], 0xf5cb
mov byte [esp + 0x2a], 0xfe
mov word [esp + 0x2b], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x1c
mov esi, dword [esp + 0x64]
ja 0x40a4ae
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
add eax, 0xba621051
xor eax, ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
add al, 0x6b
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x1d
jb 0x40a480
add edx, dword [esp + 0xb8]
movzx eax, byte [esp + 0x10]
test al, al
je 0x40a4db
lea ecx, [esp + 0x11]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40a4d0
mov byte [edx], 0
sub edx, esi
mov eax, dword [esp + 0x68]
add dword [eax + 0x60], edx
add esp, 0x98
pop esi
pop edi
pop ebx
pop ebp
ret 0x10