Function at 0x40d410
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x94
mov esi, dword [esp + 0xa8]
mov dword [esp + 0x64], ecx
add esi, dword [ecx + 0x60]
mov dword [esp + 0x68], 0xf7eceec3
mov dword [esp + 0x6c], 0x2af2ebe1
mov dword [esp + 0x70], 0xeefaf0dc
mov dword [esp + 0x74], 0xfbef2d36
mov dword [esp + 0x78], 0xfbf1f0e4
mov dword [esp + 0x7c], 0xe3f8f0f9
mov dword [esp + 0x80], 0xf437e137
mov dword [esp + 0x84], 0xfcfbf7fe
mov dword [esp + 0x88], 0x2e282cd4
mov dword [esp + 0x8c], 0x252e
mov byte [esp + 0x90], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0x28
ja 0x40d4cb
nop
nop
nop
mov eax, dword [esp + 0xc]
movzx eax, byte [esp + eax + 0x68]
push dword [esp + 0xc]
push eax
call fcn.0040e0a0
add esp, 8
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 0x68], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0x29
jb 0x40d4a0
mov dword [esp + 4], 0x73786492
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 6
ja 0x40d51b
mov eax, dword [esp + 0xc]
movzx eax, byte [esp + eax + 4]
push dword [esp + 0xc]
push eax
call fcn.0040e020
add esp, 8
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 4], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 7
jb 0x40d4f0
mov dword [esp + 0xc], 0xded00405
mov dword [esp + 0x10], 0xd2d20004
mov dword [esp + 0x14], 0xd7cad005
mov dword [esp + 0x18], 0x2a2f2633
mov dword [esp + 0x1c], 0xf22f3332
mov dword [esp + 0x20], 0x380dc7d9
mov dword [esp + 0x24], 0x3d27353e
mov dword [esp + 0x28], 0x3e1ae028
mov dword [esp + 0x2c], 0x20252123
mov dword [esp + 0x30], 0x28372135
mov dword [esp + 0x34], 0x35fae32e
mov dword [esp + 0x38], 0xd2131713
mov dword [esp + 0x3c], 0x21e000c
mov dword [esp + 0x40], 0xe18cdd7
mov dword [esp + 0x44], 0xc92f041d
mov dword [esp + 0x48], 0x1a021c1a
mov dword [esp + 0x4c], 0x1dd2cad2
mov dword [esp + 0x50], 0x9130915
mov dword [esp + 0x54], 0x3e170c19
mov word [esp + 0x58], 0x85a6
mov word [esp + 0x5e], 0
mov dword [esp + 0x5a], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x53
ja 0x40d606
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0xc]
push dword [esp]
push eax
call fcn.0040df90
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x54
jb 0x40d5e0
mov eax, dword [esp + 0xac]
movzx ecx, byte [esp + 0xc]
mov ebx, esi
test cl, cl
je 0x40d62b
lea edx, [esp + 0xd]
mov ebx, esi
nop
nop
mov byte [ebx], cl
inc ebx
movzx ecx, byte [edx]
inc edx
test cl, cl
jne 0x40d620
mov byte [ebx], 0
movzx ecx, byte [eax]
test cl, cl
je 0x40d64b
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [ebx], cl
inc ebx
movzx ecx, byte [eax]
inc eax
test cl, cl
jne 0x40d640
mov byte [ebx], 0
movzx eax, byte [esp + 4]
test al, al
je 0x40d66b
lea ecx, [esp + 5]
nop
nop
nop
nop
nop
mov byte [ebx], al
inc ebx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40d660
mov edx, dword [esp + 0xb0]
mov byte [ebx], 0
movzx eax, byte [esp + 0x68]
test al, al
mov dword [esp + 0x60], esi
je 0x40d69b
lea ecx, [esp + 0x69]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [ebx], al
inc ebx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40d690
mov byte [ebx], 0
mov ebp, dword [esp + 0xb4]
mov ecx, ebp
shr ecx, 2
mov eax, edx
mov edi, ebx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov esi, ebp
and esi, 0xfffffffc
lea eax, [ebx + esi]
add esi, edx
mov ecx, ebp
shr ecx, 1
and ecx, 1
mov edx, esi
mov edi, eax
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov ecx, ebp
test cl, 1
je 0x40d6e6
mov ecx, dword [esp + 0xb4]
and ecx, 2
movzx edx, byte [esi + ecx]
mov byte [eax + ecx], dl
mov dword [esp + 0xc], 0x2032f2d
mov dword [esp + 0x10], 0xfefac8ca
mov dword [esp + 0x14], 0x3603cccc
mov dword [esp + 0x18], 0x3439313c
mov dword [esp + 0x1c], 0x49483431
mov dword [esp + 0x20], 0xd5d7f439
mov word [esp + 0x24], 0xd7d5
mov byte [esp + 0x26], 0xde
mov dword [esp + 0x27], 0
mov byte [esp + 0x2b], 0
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x68]
cmp eax, 0x1f
ja 0x40d76b
mov eax, dword [esp + 0x68]
movzx eax, byte [esp + eax + 0xc]
push dword [esp + 0x68]
push eax
call fcn.0040e120
add esp, 8
mov ecx, dword [esp + 0x68]
mov byte [esp + ecx + 0xc], al
inc dword [esp + 0x68]
mov eax, dword [esp + 0x68]
cmp eax, 0x20
jb 0x40d740
add ebx, dword [esp + 0xb4]
movzx eax, byte [esp + 0xc]
test al, al
mov edx, dword [esp + 0x60]
je 0x40d79b
lea ecx, [esp + 0xd]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [ebx], al
inc ebx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40d790
mov byte [ebx], 0
sub ebx, edx
mov eax, dword [esp + 0x64]
add dword [eax + 0x60], ebx
add esp, 0x94
pop esi
pop edi
pop ebx
pop ebp
ret 0x10