Function at 0x40d530
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [esp + 0x70]
add eax, dword [ecx + 0x60]
mov word [esp + 0x14], 0x3735
mov byte [esp + 0x16], 0xce
mov word [esp + 0x17], 0
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
cmp edx, 4
ja 0x40d5b0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 8]
mov esi, dword [esp + 8]
movzx esi, byte [esp + esi + 0x14]
mov edi, edx
xor edi, 0x8ca2632
and edx, 0x8ca2632
lea edx, [edi + edx*2]
xor edx, esi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x1c]
add dl, 6
mov esi, dword [esp + 8]
mov byte [esp + esi + 0x14], dl
inc dword [esp + 8]
mov edx, dword [esp + 8]
cmp edx, 5
jb 0x40d570
mov dword [esp + 8], 0x6080472
mov word [esp + 0xc], 0x6d76
mov dword [esp + 0xe], 0
mov word [esp + 0x12], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 0xb
ja 0x40d63e
nop
nop
nop
mov esi, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
mov edi, esi
xor edi, 0xc4ad44bc
and esi, 0xc4ad44bc
lea esi, [edi + esi*2]
mov edi, esi
mov ebx, edx
not ebx
or ebx, esi
and esi, edx
xor edi, edx
lea esi, [edi + esi*2]
lea edi, [edx + ebx]
add edx, ebx
inc edx
mov ebx, esi
xor ebx, edx
not edx
and edx, esi
add edx, edx
lea esi, [ebx + edi]
inc esi
sub edx, esi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x1c]
add dl, 0x54
mov esi, dword [esp]
mov byte [esp + esi + 8], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 0xc
jb 0x40d5e0
mov dword [esp + 0x1c], 0x363cc0c3
mov dword [esp + 0x20], 0x3236c4d8
mov dword [esp + 0x24], 0x2d060cc3
mov dword [esp + 0x28], 0x2a112e19
mov dword [esp + 0x2c], 0xd2291d1e
mov dword [esp + 0x30], 0x14c7f9ff
mov dword [esp + 0x34], 0x6721131a
mov dword [esp + 0x38], 0x66bea46c
mov dword [esp + 0x3c], 0x646f6f69
mov dword [esp + 0x40], 0x6469676b
mov dword [esp + 0x44], 0x4f96bd6a
mov dword [esp + 0x48], 0xb2757979
mov dword [esp + 0x4c], 0x427a4c48
mov dword [esp + 0x50], 0x467c83ad
mov dword [esp + 0x54], 0xbba9407b
mov byte [esp + 0x58], 0xd8
mov dword [esp + 0x59], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
cmp edx, 0x43
ja 0x40d725
nop
nop
nop
nop
mov edx, dword [esp + 4]
mov esi, dword [esp + 4]
movzx esi, byte [esp + esi + 0x1c]
mov edi, edx
xor edi, 0x685b5625
and edx, 0xe85b5625
lea edx, [edi + edx*2]
lea edi, [edx + esi]
and edx, esi
add edx, edx
sub edi, edx
mov dword [esp], edi
mov edx, dword [esp]
add dl, 0x47
mov esi, dword [esp + 4]
mov byte [esp + esi + 0x1c], dl
inc dword [esp + 4]
mov edx, dword [esp + 4]
cmp edx, 0x44
jb 0x40d6e0
mov esi, dword [esp + 0x74]
movzx ebx, byte [esp + 0x1c]
mov edx, eax
test bl, bl
je 0x40d74b
lea edi, [esp + 0x1d]
mov edx, eax
nop
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0x40d740
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0x40d76b
inc esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [esi]
inc esi
test bl, bl
jne 0x40d760
mov esi, dword [esp + 0x78]
mov byte [edx], 0
movzx ebx, byte [esp + 8]
test bl, bl
je 0x40d78b
lea edi, [esp + 9]
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0x40d780
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0x40d7ab
inc esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [esi]
inc esi
test bl, bl
jne 0x40d7a0
mov byte [edx], 0
movzx ebx, byte [esp + 0x14]
test bl, bl
je 0x40d7cb
lea esi, [esp + 0x15]
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [esi]
inc esi
test bl, bl
jne 0x40d7c0
mov byte [edx], 0
sub edx, eax
add dword [ecx + 0x60], edx
add esp, 0x60
pop esi
pop edi
pop ebx
ret 0xc