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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x90
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x8c], ecx
add esi, dword [ecx + 0x60]
mov dword [esp + 0x60], 0x6d707659
mov dword [esp + 0x64], 0x8a6e757f
mov dword [esp + 0x68], 0x464e5470
mov dword [esp + 0x6c], 0x5979bb92
mov dword [esp + 0x70], 0x494b7458
mov dword [esp + 0x74], 0x41444c47
mov dword [esp + 0x78], 0x5899479d
mov dword [esp + 0x7c], 0x5855516a
mov dword [esp + 0x80], 0xb6bcb048
mov dword [esp + 0x84], 0xc3ba
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0x27
ja 0x40d62b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
movzx eax, byte [esp + eax + 0x60]
push dword [esp + 0xc]
push eax
call fcn.0040e260
add esp, 8
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 0x60], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0x28
jb 0x40d600
mov dword [esp + 4], 0x5144402e
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 6
ja 0x40d67b
mov eax, dword [esp + 0xc]
movzx eax, byte [esp + eax + 4]
push dword [esp + 0xc]
push eax
call fcn.0040e1e0
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 0x40d650
mov dword [esp + 0xc], 0x20cd8d7
mov dword [esp + 0x10], 0x60ad4d0
mov dword [esp + 0x14], 0x15021cd7
mov dword [esp + 0x18], 0x1e191201
mov dword [esp + 0x1c], 0xce110d02
mov dword [esp + 0x20], 0xc3bf1eb
mov dword [esp + 0x24], 0x7369770e
mov dword [esp + 0x28], 0x6a42b474
mov dword [esp + 0x2c], 0x7c7b7b71
mov dword [esp + 0x30], 0x7c617b67
mov dword [esp + 0x34], 0x7bb2ad7e
mov dword [esp + 0x38], 0xa6656161
mov dword [esp + 0x3c], 0x7e6e7c70
mov dword [esp + 0x40], 0x7a6cbfa5
mov dword [esp + 0x44], 0x8761486f
mov dword [esp + 0x48], 0x4e4a484a
mov dword [esp + 0x4c], 0x438a9682
mov dword [esp + 0x50], 0x5f454347
mov dword [esp + 0x54], 0x7259404b
mov word [esp + 0x58], 0xb796
mov word [esp + 0x5e], 0
mov dword [esp + 0x5a], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x53
ja 0x40d766
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.0040e160
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x54
jb 0x40d740
mov eax, dword [esp + 0xa8]
movzx ecx, byte [esp + 0xc]
mov ebx, esi
test cl, cl
je 0x40d78b
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 0x40d780
mov byte [ebx], 0
movzx ecx, byte [eax]
test cl, cl
je 0x40d7ab
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 0x40d7a0
mov byte [ebx], 0
movzx eax, byte [esp + 4]
test al, al
je 0x40d7cb
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 0x40d7c0
mov edx, dword [esp + 0xac]
mov byte [ebx], 0
movzx eax, byte [esp + 0x60]
test al, al
mov dword [esp + 0x88], esi
je 0x40d7fb
lea ecx, [esp + 0x61]
nop
nop
nop
nop
nop
nop
nop
mov byte [ebx], al
inc ebx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40d7f0
mov byte [ebx], 0
mov ebp, dword [esp + 0xb0]
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 0x40d846
mov ecx, dword [esp + 0xb0]
and ecx, 2
movzx edx, byte [esi + ecx]
mov byte [eax + ecx], dl
mov dword [esp + 0xc], 0xcec1e5e3
mov dword [esp + 0x10], 0xc2da3432
mov dword [esp + 0x14], 0x12c13030
mov dword [esp + 0x18], 0x281b2f18
mov dword [esp + 0x1c], 0x131c2817
mov dword [esp + 0x20], 0xfffdd027
mov word [esp + 0x24], 0xfdfb
mov byte [esp + 0x26], 0x86
mov dword [esp + 0x27], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x60]
cmp eax, 0x1e
ja 0x40d8cb
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x60]
movzx eax, byte [esp + eax + 0xc]
push dword [esp + 0x60]
push eax
call fcn.0040e2e0
add esp, 8
mov ecx, dword [esp + 0x60]
mov byte [esp + ecx + 0xc], al
inc dword [esp + 0x60]
mov eax, dword [esp + 0x60]
cmp eax, 0x1f
jb 0x40d8a0
add ebx, dword [esp + 0xb0]
movzx eax, byte [esp + 0xc]
test al, al
mov edx, dword [esp + 0x88]
je 0x40d8fb
lea ecx, [esp + 0xd]
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 0x40d8f0
mov byte [ebx], 0
sub ebx, edx
mov eax, dword [esp + 0x8c]
add dword [eax + 0x60], ebx
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret 0x10