Function at 0x40d4c0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [esp + 0x6c]
add eax, dword [ecx + 0x60]
mov word [esp + 0x14], 0x2537
mov byte [esp + 0x16], 0x2a
mov word [esp + 0x17], 0
mov byte [esp + 0x19], 0
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
cmp edx, 5
ja 0x40d554
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, 0xbaa765c7
and edx, 0x3aa765c7
lea edx, [edi + edx*2]
mov edi, edx
and edi, esi
add edx, esi
add edi, edi
sub edx, edi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x1c]
mov esi, edx
xor esi, 0xe3
and edx, 0x1c
add edx, edx
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, 6
jb 0x40d500
mov dword [esp + 8], 0x1e181c02
mov word [esp + 0xc], 0x251e
mov dword [esp + 0xe], 0
mov word [esp + 0x12], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 0xb
ja 0x40d5d5
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 8]
mov edi, edx
xor edi, 0x3a527538
and edx, 0x3a527538
lea edx, [edi + edx*2]
lea edi, [edx + esi]
not esi
or edx, esi
sub esi, edx
lea edx, [edi + esi*2]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x1c]
add dl, 0xe8
mov esi, dword [esp]
mov byte [esp + esi + 8], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 0xc
jb 0x40d590
mov dword [esp + 0x1c], 0x6e641013
mov dword [esp + 0x20], 0x626e1c18
mov dword [esp + 0x24], 0x655e6413
mov dword [esp + 0x28], 0x1a616659
mov dword [esp + 0x2c], 0x62192526
mov dword [esp + 0x30], 0x2c7fb947
mov dword [esp + 0x34], 0x2f11232a
mov dword [esp + 0x38], 0xe766c24
mov dword [esp + 0x3c], 0x3c373739
mov dword [esp + 0x40], 0x3c093f0b
mov dword [esp + 0x44], 0x74e753a
mov dword [esp + 0x48], 0x423d3939
mov dword [esp + 0x4c], 0x320a3438
mov dword [esp + 0x50], 0x3e047355
mov dword [esp + 0x54], 0x7b59300b
mov byte [esp + 0x58], 0x98
mov word [esp + 0x59], 0
mov byte [esp + 0x5b], 0
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
cmp edx, 0x3f
ja 0x40d6a3
nop
mov edx, dword [esp + 4]
mov esi, dword [esp + 4]
movzx esi, byte [esp + esi + 0x1c]
add edx, 0x5a6f51b1
xor edx, esi
mov dword [esp], edx
mov edx, dword [esp]
add dl, 0x8b
mov esi, dword [esp + 4]
mov byte [esp + esi + 0x1c], dl
inc dword [esp + 4]
mov edx, dword [esp + 4]
cmp edx, 0x40
jb 0x40d670
mov esi, dword [esp + 0x70]
movzx ebx, byte [esp + 0x1c]
mov edx, eax
test bl, bl
je 0x40d6cb
lea edi, [esp + 0x1d]
mov edx, eax
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0x40d6c0
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0x40d6eb
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 0x40d6e0
mov esi, dword [esp + 0x74]
mov byte [edx], 0
movzx ebx, byte [esp + 8]
test bl, bl
je 0x40d70b
lea edi, [esp + 9]
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0x40d700
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0x40d72b
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 0x40d720
mov byte [edx], 0
movzx ebx, byte [esp + 0x14]
test bl, bl
je 0x40d74b
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 0x40d740
mov byte [edx], 0
sub edx, eax
add dword [ecx + 0x60], edx
add esp, 0x5c
pop esi
pop edi
pop ebx
ret 0xc