Function at 0x40a370
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, 0x94
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x68], ecx
add edi, dword [ecx + 0x60]
mov dword [esp + 0x6c], 0x1040675
mov dword [esp + 0x70], 0x4a0e091f
mov dword [esp + 0x74], 0x160e006c
mov dword [esp + 0x78], 0x35256342
mov dword [esp + 0x7c], 0x2d232034
mov dword [esp + 0x80], 0x3d382037
mov dword [esp + 0x84], 0x3c7d3779
mov dword [esp + 0x88], 0x34393d2a
mov dword [esp + 0x8c], 0x86988424
mov dword [esp + 0x90], 0x9b9a
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x27
ja 0x40a438
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, 0x1fde8dd3
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, eax
xor ecx, 0x63
and eax, 0x1c
add eax, eax
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 0x6c], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x28
jb 0x40a400
mov dword [esp], 0xdbece8f2
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 4
ja 0x40a491
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, 0xb3decb8a
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xaa
mov ecx, dword [esp + 8]
mov byte [esp + ecx], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 5
jb 0x40a460
mov dword [esp + 0x10], 0x82804c4f
mov dword [esp + 0x14], 0x8e82707c
mov dword [esp + 0x18], 0x89ba807f
mov dword [esp + 0x1c], 0xb6858abd
mov dword [esp + 0x20], 0x46b58182
mov dword [esp + 0x24], 0x88531d1b
mov dword [esp + 0x28], 0xb3bd8fb6
mov dword [esp + 0x2c], 0xaa5a7088
mov dword [esp + 0x30], 0x90939395
mov dword [esp + 0x34], 0x98ad93af
mov dword [esp + 0x38], 0xab6a51a6
mov dword [esp + 0x3c], 0x1ea19d9d
mov dword [esp + 0x40], 0xd6e6d0d4
mov dword [esp + 0x44], 0xdad81729
mov dword [esp + 0x48], 0x1f25dcd7
mov dword [esp + 0x4c], 0xc6d2d4da
mov dword [esp + 0x50], 0xc3023e02
mov dword [esp + 0x54], 0xc7c1cbcf
mov dword [esp + 0x58], 0x32cdc4cb
mov word [esp + 0x5c], 0x6f0e
mov dword [esp + 0x5e], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0x51
ja 0x40a583
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
movzx ecx, byte [esp + ecx + 0x10]
add eax, 0x8de12911
xor eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0xcf
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0x52
jb 0x40a550
mov eax, dword [esp + 0xac]
movzx ecx, byte [esp + 0x10]
mov edx, edi
test cl, cl
je 0x40a5ab
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 0x40a5a0
mov byte [edx], 0
movzx ecx, byte [eax]
test cl, cl
je 0x40a5cb
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 0x40a5c0
mov byte [edx], 0
movzx eax, byte [esp]
test al, al
je 0x40a5eb
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 0x40a5e0
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 0x40a61b
lea ecx, [esp + 0x6d]
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40a610
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 0x40a658
mov ecx, ebx
and ecx, 2
movzx eax, byte [eax + ecx]
mov byte [esi + ecx], al
mov dword [esp + 0x10], 0x505f737d
mov dword [esp + 0x14], 0x4c489aa4
mov dword [esp + 0x18], 0xe44f9ea2
mov dword [esp + 0x1c], 0xdae9ddea
mov dword [esp + 0x20], 0xe5eae6e1
mov dword [esp + 0x24], 0x90326e9
mov word [esp + 0x28], 0xb05
mov byte [esp + 0x2a], 0x74
mov dword [esp + 0x2b], 0
mov byte [esp + 0x2f], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x1f
mov esi, dword [esp + 0x64]
ja 0x40a6ee
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 + 0x10]
add eax, 0xd8c132b5
xor eax, ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
add al, 0x45
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x20
jb 0x40a6c0
add edx, ebx
movzx eax, byte [esp + 0x10]
test al, al
je 0x40a70b
lea ecx, [esp + 0x11]
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40a700
mov byte [edx], 0
sub edx, esi
mov esi, dword [esp + 0x68]
mov eax, dword [esi + 0x60]
mov ecx, eax
and ecx, edx
xor edx, eax
lea eax, [edx + ecx*2]
mov dword [esi + 0x60], eax
add esp, 0x94
pop esi
pop edi
pop ebx
pop ebp
ret 0x10