Function at 0x40d3f0
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], 0xa5a8aaf1
mov dword [esp + 0x70], 0xf6bab593
mov dword [esp + 0x74], 0x8ab2a498
mov dword [esp + 0x78], 0xb181cfe6
mov dword [esp + 0x7c], 0x818784b0
mov dword [esp + 0x80], 0x8984bcbb
mov dword [esp + 0x84], 0x80c18bc5
mov dword [esp + 0x88], 0xb0b589be
mov dword [esp + 0x8c], 0xeaece880
mov word [esp + 0x90], 0x7ee
mov dword [esp + 0x92], 0
mov word [esp + 0x96], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x2b
ja 0x40d4be
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x6c]
add eax, 0x832fff4b
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x89
mov ecx, dword [esp]
mov byte [esp + ecx + 0x6c], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x2c
jb 0x40d490
mov dword [esp], 0x211c1006
mov word [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 5
ja 0x40d523
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx]
mov edx, eax
not edx
or edx, 0x601b1ef9
add edx, eax
xor eax, 0xe01b1ef9
lea eax, [eax + edx*2]
add eax, 2
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x23
mov ecx, dword [esp + 8]
mov byte [esp + ecx], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 6
jb 0x40d4e0
mov dword [esp + 0x10], 0xded00405
mov dword [esp + 0x14], 0xd2d20004
mov dword [esp + 0x18], 0xd7cad005
mov dword [esp + 0x1c], 0x2a2f2633
mov dword [esp + 0x20], 0xf22f3332
mov dword [esp + 0x24], 0x380dc7d9
mov dword [esp + 0x28], 0x3d27353e
mov dword [esp + 0x2c], 0x3e1ae028
mov dword [esp + 0x30], 0x20252123
mov dword [esp + 0x34], 0x28372135
mov dword [esp + 0x38], 0x35fae32e
mov dword [esp + 0x3c], 0xd2131713
mov dword [esp + 0x40], 0x21e000c
mov dword [esp + 0x44], 0xe18cdd7
mov dword [esp + 0x48], 0xc92f041d
mov dword [esp + 0x4c], 0x1a021c1a
mov dword [esp + 0x50], 0x1dd2cad2
mov dword [esp + 0x54], 0x9130915
mov dword [esp + 0x58], 0x3e170c19
mov word [esp + 0x5c], 0x85a6
mov byte [esp + 0x60], 0
mov word [esp + 0x5e], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0x50
ja 0x40d633
nop
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
movzx eax, byte [esp + eax + 0x10]
mov edx, ecx
not edx
or edx, 0x2ff54074
add edx, ecx
xor ecx, 0x2ff54074
lea esi, [ecx + edx*2]
lea ecx, [ecx + edx*2]
add ecx, 2
lea edx, [eax + esi]
add edx, 2
and ecx, eax
add ecx, ecx
sub edx, ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 8]
add al, 0xbc
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0x51
jb 0x40d5e0
mov eax, dword [esp + 0xb0]
movzx ecx, byte [esp + 0x10]
mov edx, edi
test cl, cl
je 0x40d65b
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 0x40d650
mov byte [edx], 0
movzx ecx, byte [eax]
test cl, cl
je 0x40d67b
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 0x40d670
mov byte [edx], 0
movzx eax, byte [esp]
test al, al
je 0x40d69b
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 0x40d690
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 + 0x64], edi
je 0x40d6cb
lea ecx, [esp + 0x6d]
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40d6c0
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 0x40d708
mov ecx, ebx
and ecx, 2
movzx eax, byte [eax + ecx]
mov byte [esi + ecx], al
mov dword [esp + 0x10], 0x6a6985b7
mov dword [esp + 0x14], 0x7676245e
mov dword [esp + 0x18], 0x2e792858
mov dword [esp + 0x1c], 0x50275320
mov dword [esp + 0x20], 0x3f3c302b
mov dword [esp + 0x24], 0x939d7833
mov word [esp + 0x28], 0x9d9f
mov byte [esp + 0x2a], 0xa2
mov word [esp + 0x2b], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x1c
mov esi, dword [esp + 0x64]
ja 0x40d78e
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
add eax, 0xa929295f
xor eax, ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
add al, 0x25
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x1d
jb 0x40d760
add edx, ebx
movzx eax, byte [esp + 0x10]
test al, al
je 0x40d7ab
lea ecx, [esp + 0x11]
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40d7a0
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