Function at 0x40d580
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 + 0x90], ecx
add esi, dword [ecx + 0x60]
mov dword [esp + 0x60], 0x65686a31
mov dword [esp + 0x64], 0x367a7513
mov dword [esp + 0x68], 0xa726418
mov dword [esp + 0x6c], 0x7101cf26
mov dword [esp + 0x70], 0x1070470
mov dword [esp + 0x74], 0x9047c7b
mov dword [esp + 0x78], 0x410b45
mov dword [esp + 0x7c], 0x7075097e
mov dword [esp + 0x80], 0xaaaca800
mov word [esp + 0x84], 0x87ae
mov dword [esp + 0x86], 0
mov word [esp + 0x8a], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0x2b
ja 0x40d64b
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.0040e250
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, 0x2c
jb 0x40d620
mov dword [esp + 4], 0xc1ccf0e6
mov word [esp + 8], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 5
ja 0x40d69b
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
movzx eax, byte [esp + eax + 4]
push dword [esp + 0xc]
push eax
call fcn.0040e1d0
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, 6
jb 0x40d670
mov dword [esp + 0xc], 0x625c28d7
mov dword [esp + 0x10], 0x665a3430
mov dword [esp + 0x14], 0x55626c37
mov dword [esp + 0x18], 0x6e695261
mov dword [esp + 0x1c], 0x3e717d62
mov dword [esp + 0x20], 0x7c2b111b
mov dword [esp + 0x24], 0x7379777e
mov dword [esp + 0x28], 0x7a223474
mov dword [esp + 0x2c], 0x4c4b4b71
mov dword [esp + 0x30], 0x4c414b47
mov dword [esp + 0x34], 0x4b321d4e
mov dword [esp + 0x38], 0x6454141
mov dword [esp + 0x3c], 0x6e5e6c70
mov dword [esp + 0x40], 0x6a5c2f05
mov dword [esp + 0x44], 0x2701585f
mov dword [esp + 0x48], 0x5e5a585a
mov dword [esp + 0x4c], 0x235a7622
mov dword [esp + 0x50], 0x2f252327
mov dword [esp + 0x54], 0x7229201b
mov word [esp + 0x58], 0xb756
mov dword [esp + 0x5a], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x51
ja 0x40d786
nop
nop
nop
nop
nop
nop
nop
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, 0x52
jb 0x40d760
mov eax, dword [esp + 0xac]
movzx ecx, byte [esp + 0xc]
mov ebx, esi
test cl, cl
je 0x40d7ab
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 0x40d7a0
mov byte [ebx], 0
movzx ecx, byte [eax]
test cl, cl
je 0x40d7cb
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 0x40d7c0
mov byte [ebx], 0
movzx eax, byte [esp + 4]
test al, al
je 0x40d7eb
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 0x40d7e0
mov edx, dword [esp + 0xb0]
mov byte [ebx], 0
movzx eax, byte [esp + 0x60]
test al, al
mov dword [esp + 0x8c], esi
je 0x40d81b
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 0x40d810
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 0x40d866
mov ecx, dword [esp + 0xb4]
and ecx, 2
movzx edx, byte [esi + ecx]
mov byte [eax + ecx], dl
mov dword [esp + 0xc], 0xeae90d0f
mov dword [esp + 0x10], 0x1e1e4cb6
mov dword [esp + 0x14], 0x56194848
mov dword [esp + 0x18], 0x405f4350
mov dword [esp + 0x1c], 0x5754405b
mov dword [esp + 0x20], 0xe3e50843
mov word [esp + 0x24], 0xe5e7
mov byte [esp + 0x26], 0xf2
mov word [esp + 0x27], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x60]
cmp eax, 0x1c
ja 0x40d8eb
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x60]
movzx eax, byte [esp + eax + 0xc]
push dword [esp + 0x60]
push eax
call fcn.0040e2c0
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, 0x1d
jb 0x40d8c0
add ebx, dword [esp + 0xb4]
movzx eax, byte [esp + 0xc]
test al, al
mov edx, dword [esp + 0x8c]
je 0x40d91b
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 0x40d910
mov byte [ebx], 0
sub ebx, edx
mov eax, dword [esp + 0x90]
add dword [eax + 0x60], ebx
add esp, 0x94
pop esi
pop edi
pop ebx
pop ebp
ret 0x10