Function at 0x40d8c0
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], 0xb7bcbe63
mov dword [esp + 0x70], 0x7ab2bb41
mov dword [esp + 0x74], 0x3ecad02c
mov dword [esp + 0x78], 0xcb3f7d16
mov dword [esp + 0x7c], 0xcb3130c4
mov dword [esp + 0x80], 0xc3c830c9
mov dword [esp + 0x84], 0xd417c117
mov dword [esp + 0x88], 0x2c2bd72e
mov dword [esp + 0x8c], 0x7e787cd4
mov dword [esp + 0x90], 0x457e
mov byte [esp + 0x94], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x28
ja 0x40d990
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x6c]
mov edx, eax
xor edx, 0xea0a0a38
and eax, 0xea0a0a38
lea eax, [edx + eax*2]
lea edx, [eax + ecx]
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0xe8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x6c], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x29
jb 0x40d950
mov dword [esp], 0x59444862
mov word [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 5
ja 0x40d9ec
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx]
mov edx, eax
xor edx, 0xae209e0f
and eax, 0x2e209e0f
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xb5
mov ecx, dword [esp + 8]
mov byte [esp + ecx], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 6
jb 0x40d9b0
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 0x40daee
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
movzx ecx, byte [esp + ecx + 0x10]
mov edx, eax
xor edx, 0x3705fcb3
and eax, 0x3705fcb3
lea eax, [edx + eax*2]
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 0x40dab0
mov ecx, dword [esp + 0xb0]
movzx eax, byte [esp + 0x10]
mov edx, edi
test al, al
je 0x40db1b
lea esi, [esp + 0x11]
mov edx, edi
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 0x40db10
mov byte [edx], 0
movzx eax, byte [ecx]
test al, al
je 0x40db3b
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 0x40db30
mov byte [edx], 0
movzx eax, byte [esp]
test al, al
je 0x40db5b
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 0x40db50
mov ebx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
mov byte [edx], 0
movzx ecx, byte [esp + 0x6c]
test cl, cl
mov dword [esp + 0x64], edi
je 0x40db8b
lea esi, [esp + 0x6d]
nop
nop
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [esi]
inc esi
test cl, cl
jne 0x40db80
mov byte [edx], 0
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
mov eax, ebx
not eax
or eax, 3
add eax, ebx
inc eax
mov ecx, eax
shr ecx, 1
mov ebx, ebp
mov edi, esi
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
test al, 1
je 0x40dbcf
and eax, 0xfffffffe
movzx ecx, byte [ebp + eax]
mov byte [esi + eax], cl
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 byte [esp + 0x2d], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x1d
mov edi, dword [esp + 0x64]
ja 0x40dc69
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
mov esi, eax
xor esi, 0x6c82dda9
and eax, 0xec82dda9
lea eax, [esi + eax*2]
xor eax, ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
add al, 0xb3
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x1e
jb 0x40dc30
add edx, dword [esp + 0xb8]
movzx eax, byte [esp + 0x10]
test al, al
je 0x40dc8b
lea ecx, [esp + 0x11]
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40dc80
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