Function at 0x40d500
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 dword [esp + 0x68], ecx
mov ecx, dword [ecx + 0x60]
mov dword [esp + 0x6c], 0x6d686ac1
mov dword [esp + 0x70], 0x2e6a6d63
mov dword [esp + 0x74], 0x6a627c48
mov dword [esp + 0x78], 0x6151173e
mov dword [esp + 0x7c], 0x714f4c60
mov dword [esp + 0x80], 0x797c747b
mov dword [esp + 0x84], 0x70316b3d
mov dword [esp + 0x88], 0x407d7946
mov dword [esp + 0x8c], 0x2a242870
mov word [esp + 0x90], 0xdf26
mov dword [esp + 0x92], 0
mov word [esp + 0x96], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x2b
ja 0x40d5d9
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x6c]
mov esi, eax
xor esi, 0x383d9ff
and eax, 0x383d9ff
lea eax, [esi + eax*2]
xor eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 5
mov edx, dword [esp]
mov byte [esp + edx + 0x6c], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x2c
jb 0x40d5a0
mov dword [esp], 0x818c90e6
mov word [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 5
ja 0x40d649
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov edx, dword [esp + 8]
movzx edx, byte [esp + edx]
mov esi, eax
xor esi, 0x9e98d321
and eax, 0x1e98d321
lea eax, [esi + eax*2]
xor eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov edx, eax
not edx
and edx, 0xa5
and eax, 0x5a
sub eax, edx
mov edx, dword [esp + 8]
mov byte [esp + edx], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 6
jb 0x40d600
mov edi, dword [esp + 0xac]
mov dword [esp + 0x10], 0xa6a06c6d
mov dword [esp + 0x14], 0xa2a2909c
mov dword [esp + 0x18], 0xafdaa09d
mov dword [esp + 0x1c], 0xaaa7aea3
mov dword [esp + 0x20], 0xa297e3e2
mov dword [esp + 0x24], 0x98b57f79
mov dword [esp + 0x28], 0x959fed96
mov dword [esp + 0x2c], 0x96ba50e8
mov dword [esp + 0x30], 0xf08df1f3
mov dword [esp + 0x34], 0x888ff18d
mov dword [esp + 0x38], 0x8d4ab386
mov dword [esp + 0x3c], 0x4283ff83
mov dword [esp + 0x40], 0xf286f0f4
mov dword [esp + 0x44], 0xf6f835cf
mov dword [esp + 0x48], 0x39c7fcf5
mov dword [esp + 0x4c], 0xfaf2f4fa
mov dword [esp + 0x50], 0xe522da22
mov dword [esp + 0x54], 0xe9e3e9ed
mov dword [esp + 0x58], 0xd6efe4e9
mov word [esp + 0x5c], 0xd2e
mov word [esp + 0x62], 0
mov dword [esp + 0x5e], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0x53
ja 0x40d75f
nop
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
movzx edx, byte [esp + edx + 0x10]
mov esi, eax
xor esi, 0x29294910
and eax, 0x29294910
lea eax, [esi + eax*2]
lea esi, [eax + edx]
and eax, edx
mov edx, esi
not edx
and edx, eax
add edx, eax
not eax
and eax, esi
sub eax, edx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0xb0
mov edx, dword [esp + 0xc]
mov byte [esp + edx + 0x10], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0x54
jb 0x40d710
mov esi, dword [esp + 0xb0]
add edi, ecx
movzx eax, byte [esp + 0x10]
mov edx, edi
test al, al
je 0x40d78b
lea ecx, [esp + 0x11]
mov edx, edi
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40d780
mov byte [edx], 0
movzx eax, byte [esi]
test al, al
je 0x40d7ab
inc esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [esi]
inc esi
test al, al
jne 0x40d7a0
mov byte [edx], 0
movzx eax, byte [esp]
test al, al
je 0x40d7cb
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 0x40d7c0
mov eax, dword [esp + 0xb4]
mov byte [edx], 0
movzx ecx, byte [esp + 0x6c]
test cl, cl
mov dword [esp + 0x64], edi
je 0x40d7fb
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 0x40d7f0
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 0x40d86a
mov ecx, dword [esp + 0xb8]
and ecx, 2
movzx ebx, byte [ebp + ecx]
mov byte [esi + ecx], bl
cmp eax, 1
je 0x40d86a
movzx ebx, byte [ebp + ecx + 1]
mov byte [esi + ecx + 1], bl
cmp eax, 2
je 0x40d86a
movzx eax, byte [ebp + ecx + 2]
mov byte [esi + ecx + 2], al
mov dword [esp + 0x10], 0xd6d1fdf3
mov dword [esp + 0x14], 0x322a1c02
mov dword [esp + 0x18], 0x2310000
mov dword [esp + 0x1c], 0x80b0708
mov dword [esp + 0x20], 0x304080f
mov dword [esp + 0x24], 0x97e5c00f
mov word [esp + 0x28], 0x959b
mov byte [esp + 0x2a], 0x8e
mov word [esp + 0x2b], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x1c
mov edi, dword [esp + 0x64]
ja 0x40d917
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
mov esi, eax
xor esi, 0x75bf7329
and eax, 0xf5bf7329
lea eax, [esi + eax*2]
lea esi, [eax + ecx]
and eax, ecx
mov ecx, esi
not ecx
and ecx, eax
add ecx, eax
not eax
and eax, esi
sub eax, ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
mov ecx, eax
not ecx
and ecx, 0xcd
and eax, 0x32
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x1d
jb 0x40d8c0
add edx, dword [esp + 0xb8]
movzx eax, byte [esp + 0x10]
test al, al
je 0x40d93b
lea ecx, [esp + 0x11]
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40d930
mov byte [edx], 0
sub edx, edi
mov eax, dword [esp + 0x68]
add dword [eax + 0x60], edx
add esp, 0x98
pop esi
pop edi
pop ebx
pop ebp
ret 0x10