Function at 0x40d150
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], 0x9795
mov byte [esp + 0x16], 0x8e
mov dword [esp + 0x17], 0
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
cmp edx, 6
ja 0x40d1dc
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, 0xd28060e2
and edx, 0xd28060e2
lea edx, [edi + edx*2]
xor edx, esi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x1c]
mov esi, edx
not esi
and esi, 0x6a
and edx, 0x95
sub edx, esi
mov esi, dword [esp + 8]
mov byte [esp + esi + 0x14], dl
inc dword [esp + 8]
mov edx, dword [esp + 8]
cmp edx, 7
jb 0x40d190
mov dword [esp + 8], 0xcac4c822
mov dword [esp + 0xc], 0xdfc6
mov byte [esp + 0x10], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 8
ja 0x40d23b
mov edx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 8]
mov edi, edx
xor edi, 0x1595ccaf
and edx, 0x1595ccaf
lea edx, [edi + edx*2]
xor edx, esi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x1c]
add dl, 0x95
mov esi, dword [esp]
mov byte [esp + esi + 8], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 9
jb 0x40d200
mov dword [esp + 0x1c], 0x566ca0a3
mov dword [esp + 0x20], 0x52566468
mov dword [esp + 0x24], 0x5d265c63
mov dword [esp + 0x28], 0x5a515e29
mov dword [esp + 0x2c], 0x72592d2e
mov dword [esp + 0x30], 0x3467a9af
mov dword [esp + 0x34], 0x4741334a
mov dword [esp + 0x38], 0x466e843c
mov dword [esp + 0x3c], 0xc43f3f39
mov dword [esp + 0x40], 0xc4b9c7bb
mov dword [esp + 0x44], 0xbf768dba
mov dword [esp + 0x48], 0x72b5c9c9
mov dword [esp + 0x4c], 0xa2cabcb8
mov dword [esp + 0x50], 0xa6ac639d
mov dword [esp + 0x54], 0x6b99a0ab
mov byte [esp + 0x58], 0x48
mov dword [esp + 0x59], 0
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
cmp edx, 0x40
ja 0x40d326
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
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, 0xa0bed9dd
and edx, 0x20bed9dd
lea edx, [edi + edx*2]
mov edi, edx
and edi, esi
add edx, esi
add edi, edi
sub edx, edi
mov dword [esp], edx
mov edx, dword [esp]
add dl, 0xaf
mov esi, dword [esp + 4]
mov byte [esp + esi + 0x1c], dl
inc dword [esp + 4]
mov edx, dword [esp + 4]
cmp edx, 0x41
jb 0x40d2e0
mov esi, dword [esp + 0x74]
movzx ebx, byte [esp + 0x1c]
mov edx, eax
test bl, bl
je 0x40d34b
lea edi, [esp + 0x1d]
mov edx, eax
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0x40d340
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0x40d36b
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 0x40d360
mov esi, dword [esp + 0x78]
mov byte [edx], 0
movzx ebx, byte [esp + 8]
test bl, bl
je 0x40d38b
lea edi, [esp + 9]
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0x40d380
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0x40d3ab
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 0x40d3a0
mov byte [edx], 0
movzx ebx, byte [esp + 0x14]
test bl, bl
je 0x40d3cb
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 0x40d3c0
mov byte [edx], 0
sub edx, eax
add dword [ecx + 0x60], edx
add esp, 0x60
pop esi
pop edi
pop ebx
ret 0xc