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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [ebp + 8]
add eax, dword [ecx + 0x60]
mov word [esp + 0x18], 0x8385
mov byte [esp + 0x1a], 0xb4
mov dword [esp + 0x1b], 0
mov dword [esp + 0x1f], 0
mov byte [esp + 0x23], 0
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
cmp edx, 0xb
ja 0x4097fe
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 + 0x18]
lea edi, [edx + 0x69]
add edx, esi
and edi, esi
add edi, edi
sub edx, edi
add edx, 0x1a7a6869
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x28]
add dl, 0x21
mov esi, dword [esp + 8]
mov byte [esp + esi + 0x18], dl
inc dword [esp + 8]
mov edx, dword [esp + 8]
cmp edx, 0xc
jb 0x4097c0
mov dword [esp + 8], 0x786a6670
mov word [esp + 0xc], 0x974
mov dword [esp + 0xe], 0
mov dword [esp + 0x11], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 0xc
ja 0x40986d
nop
nop
nop
nop
mov edx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 8]
lea edi, [edx + esi]
add edi, 0x6121892d
add edx, 0x6121892d
and edx, esi
add edx, edx
sub edi, edx
mov dword [esp + 0x28], edi
mov edx, dword [esp + 0x28]
add dl, 0xc5
mov esi, dword [esp]
mov byte [esp + esi + 8], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 0xd
jb 0x409830
mov dword [esp + 0x28], 0x5032e6e5
mov dword [esp + 0x2c], 0x544ca2a2
mov dword [esp + 0x30], 0x475c52a5
mov dword [esp + 0x34], 0x5c5f4453
mov dword [esp + 0x38], 0x8c5f5350
mov dword [esp + 0x3c], 0x4ebde7e9
mov dword [esp + 0x40], 0x4147494c
mov dword [esp + 0x44], 0x48b48246
mov dword [esp + 0x48], 0x7e454543
mov dword [esp + 0x4c], 0x7e777d75
mov dword [esp + 0x50], 0x79ac837c
mov dword [esp + 0x54], 0xb4737773
mov dword [esp + 0x58], 0x7c706262
mov dword [esp + 0x5c], 0x786ab997
mov dword [esp + 0x60], 0xb59f666d
mov byte [esp + 0x64], 0xd2
mov dword [esp + 0x65], 0
mov dword [esp + 0x69], 0
mov word [esp + 0x6d], 0
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
cmp edx, 0x46
ja 0x409964
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 + 0x28]
add edx, 0xb4bd4bd
mov edi, edx
and edi, esi
mov ebx, edx
xor ebx, esi
or edx, esi
xor edx, ebx
lea esi, [ebx + edi*2]
add edx, edi
sub esi, edx
mov dword [esp], esi
mov edx, dword [esp]
add dl, 0xd5
mov esi, dword [esp + 4]
mov byte [esp + esi + 0x28], dl
inc dword [esp + 4]
mov edx, dword [esp + 4]
cmp edx, 0x47
jb 0x409920
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esp + 0x28]
mov edx, eax
test bl, bl
je 0x40998b
lea edi, [esp + 0x29]
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 0x409980
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0x4099ab
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 0x4099a0
mov esi, dword [ebp + 0x10]
mov byte [edx], 0
movzx ebx, byte [esp + 8]
test bl, bl
je 0x4099cb
lea edi, [esp + 9]
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0x4099c0
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0x4099eb
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 0x4099e0
mov byte [edx], 0
movzx ebx, byte [esp + 0x18]
test bl, bl
je 0x409a0b
lea esi, [esp + 0x19]
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [esi]
inc esi
test bl, bl
jne 0x409a00
mov byte [edx], 0
mov esi, edx
not esi
and esi, eax
not eax
and eax, edx
sub eax, esi
add dword [ecx + 0x60], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc