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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [esp + 0x70]
add eax, dword [ecx + 0x60]
mov word [esp + 0x14], 0xcbc5
mov byte [esp + 0x16], 0x32
mov dword [esp + 0x17], 0
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
cmp edx, 6
ja 0x40d140
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, 0x468dca4c
and edx, 0xc68dca4c
lea edx, [edi + edx*2]
xor edx, esi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x1c]
add dl, 0x84
mov esi, dword [esp + 8]
mov byte [esp + esi + 0x14], dl
inc dword [esp + 8]
mov edx, dword [esp + 8]
cmp edx, 7
jb 0x40d100
mov dword [esp + 8], 0x968c9066
mov word [esp + 0xc], 0x838a
mov dword [esp + 0xe], 0
mov byte [esp + 0x12], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 0xa
ja 0x40d1a0
nop
nop
nop
nop
nop
mov edx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 8]
add edx, 0xd6e7c5e1
xor edx, esi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x1c]
add dl, 0x9b
mov esi, dword [esp]
mov byte [esp + esi + 8], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 0xb
jb 0x40d170
mov dword [esp + 0x1c], 0xb2b4e8ef
mov dword [esp + 0x20], 0x4e4a1ce0
mov dword [esp + 0x24], 0x4d52541f
mov dword [esp + 0x28], 0x46594251
mov dword [esp + 0x2c], 0x16415552
mov dword [esp + 0x30], 0x443be1fb
mov dword [esp + 0x34], 0x43594f46
mov dword [esp + 0x38], 0x4a320c4c
mov dword [esp + 0x3c], 0x444b4b41
mov dword [esp + 0x40], 0x74717b4f
mov dword [esp + 0x44], 0x6b220576
mov dword [esp + 0x48], 0x3e7d7171
mov dword [esp + 0x4c], 0x66766460
mov dword [esp + 0x50], 0x7a64370d
mov dword [esp + 0x54], 0x3f117867
mov byte [esp + 0x58], 0xd0
mov word [esp + 0x59], 0
mov byte [esp + 0x5b], 0
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
cmp edx, 0x3f
ja 0x40d2ac
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x1c]
lea edi, [esi + esi]
and edi, 0x51dc3df6
mov ebx, esi
xor ebx, 0x5711e104
mov ebp, esi
or ebp, 0x28ee1efb
and ebp, ebx
sub esi, edi
lea edi, [esi + ebp*2]
lea esi, [esi + ebp*2]
add esi, 0x28ee1efb
add edi, edx
add edi, 0x28ee1efb
and esi, edx
mov edx, edi
xor edx, esi
add edx, esi
not esi
and esi, edi
add esi, esi
sub esi, edx
mov dword [esp], esi
mov edx, dword [esp]
add dl, 0x19
mov esi, dword [esp + 4]
mov byte [esp + esi + 0x1c], dl
inc dword [esp + 4]
mov edx, dword [esp + 4]
cmp edx, 0x40
jb 0x40d240
mov esi, dword [esp + 0x74]
movzx ebx, byte [esp + 0x1c]
mov edx, eax
test bl, bl
je 0x40d2db
lea edi, [esp + 0x1d]
mov edx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0x40d2d0
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0x40d2fb
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 0x40d2f0
mov esi, dword [esp + 0x78]
mov byte [edx], 0
movzx ebx, byte [esp + 8]
test bl, bl
je 0x40d31b
lea edi, [esp + 9]
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0x40d310
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0x40d33b
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 0x40d330
mov byte [edx], 0
movzx ebx, byte [esp + 0x14]
test bl, bl
je 0x40d35b
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 0x40d350
mov byte [edx], 0
sub edx, eax
add dword [ecx + 0x60], edx
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc