Function at 0x40a340
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 + 0x14], ecx
add edi, dword [ecx + 0x60]
mov dword [esp + 0x6c], 0x73787a47
mov dword [esp + 0x70], 0x266e677d
mov dword [esp + 0x74], 0x7a6e9448
mov dword [esp + 0x78], 0x6773315a
mov dword [esp + 0x7c], 0x6f757460
mov dword [esp + 0x80], 0x5f544c55
mov dword [esp + 0x84], 0x5013a513
mov dword [esp + 0x88], 0x40475b42
mov dword [esp + 0x8c], 0x3a3c3850
mov dword [esp + 0x90], 0x3922
mov byte [esp + 0x94], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x28
ja 0x40a3fe
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x6c]
add eax, 0x453ed98c
xor eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
add al, 0x78
mov ecx, dword [esp]
mov byte [esp + ecx + 0x6c], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x29
jb 0x40a3d0
mov dword [esp], 0xb8a3b985
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 6
ja 0x40a461
nop
nop
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, 0x4efbb86e
xor eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
add al, 0x37
mov ecx, dword [esp + 8]
mov byte [esp + ecx], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 7
jb 0x40a430
mov dword [esp + 0x18], 0x8e944043
mov dword [esp + 0x1c], 0xb28e7c78
mov dword [esp + 0x20], 0xb5beb443
mov dword [esp + 0x24], 0xbab1b6b9
mov dword [esp + 0x28], 0x72b9b5b6
mov dword [esp + 0x2c], 0xac5f1917
mov dword [esp + 0x30], 0xafa193aa
mov dword [esp + 0x34], 0xae466c94
mov dword [esp + 0x38], 0x9ca7a799
mov dword [esp + 0x3c], 0xdca99fab
mov dword [esp + 0x40], 0xd70e25da
mov dword [esp + 0x44], 0x12ddd9d9
mov dword [esp + 0x48], 0xc2eac4d8
mov dword [esp + 0x4c], 0xded40325
mov dword [esp + 0x50], 0x1b39c0cb
mov dword [esp + 0x54], 0xcacec0c6
mov dword [esp + 0x58], 0xcf163216
mov dword [esp + 0x5c], 0xfbcdc7cb
mov dword [esp + 0x60], 0xef1f8ef
mov word [esp + 0x64], 0x4b2a
mov dword [esp + 0x66], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0x51
ja 0x40a553
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
movzx ecx, byte [esp + ecx + 0x18]
add eax, 0x6e1ae419
xor eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0xd3
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0x52
jb 0x40a520
mov eax, dword [esp + 0xb0]
movzx ecx, byte [esp + 0x18]
mov edx, edi
test cl, cl
je 0x40a57b
lea esi, [esp + 0x19]
mov edx, edi
nop
nop
nop
nop
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [esi]
inc esi
test cl, cl
jne 0x40a570
mov byte [edx], 0
movzx ecx, byte [eax]
test cl, cl
je 0x40a59b
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 0x40a590
mov byte [edx], 0
movzx eax, byte [esp]
test al, al
je 0x40a5bb
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 0x40a5b0
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0xb4]
mov byte [edx], 0
movzx eax, byte [esp + 0x6c]
test al, al
mov dword [esp + 0x10], edi
je 0x40a5eb
lea ecx, [esp + 0x6d]
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40a5e0
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 0x40a628
mov ecx, ebx
and ecx, 2
movzx eax, byte [eax + ecx]
mov byte [esi + ecx], al
mov dword [esp + 0x18], 0x999ef8fc
mov dword [esp + 0x1c], 0xadaf5357
mov dword [esp + 0x20], 0x55ae5f5d
mov dword [esp + 0x24], 0x43505a6d
mov dword [esp + 0x28], 0x76714748
mov dword [esp + 0x2c], 0xe2eab740
mov dword [esp + 0x30], 0xebe0e4
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x1b
mov edi, dword [esp + 0x10]
ja 0x40a6bb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x18]
lea esi, [eax + ecx]
add eax, 0xc1
and eax, ecx
add eax, eax
sub esi, eax
add esi, 0x87d936c1
mov dword [esp + 0x6c], esi
mov eax, dword [esp + 0x6c]
add al, 0xd0
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x1c
jb 0x40a680
add edx, ebx
movzx eax, byte [esp + 0x18]
test al, al
je 0x40a6db
lea ecx, [esp + 0x19]
nop
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40a6d0
mov byte [edx], 0
sub edx, edi
mov eax, dword [esp + 0x14]
add dword [eax + 0x60], edx
add esp, 0x98
pop esi
pop edi
pop ebx
pop ebp
ret 0x10