Function at 0x4097b0
Capabilities:
Contain obfuscated stackstrings
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [ebp + 8]
mov dword [esp + 0x24], ecx
add eax, dword [ecx + 0x60]
mov ecx, eax
mov word [esp + 0x18], 0xd3cd
mov byte [esp + 0x1a], 0xda
mov dword [esp + 0x1b], 0
mov byte [esp + 0x1f], 0
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
cmp edx, 7
ja 0x40983e
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 + 0x18]
lea edi, [edx + 0x1c]
and edi, esi
add edx, esi
add edi, edi
sub edx, edi
add edx, 0x34db1e1c
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x28]
add dl, 0x3c
mov esi, dword [esp + 8]
mov byte [esp + esi + 0x18], dl
inc dword [esp + 8]
mov edx, dword [esp + 8]
cmp edx, 8
jb 0x409800
mov dword [esp + 8], 0x20668
mov word [esp + 0xc], 0x3104
mov dword [esp + 0xe], 0
mov dword [esp + 0x12], 0
mov word [esp + 0x16], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 0xf
ja 0x4098c2
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]
lea edi, [edx - 0x37c897d7]
mov ebx, esi
not ebx
or ebx, edi
and edi, esi
add edi, ebx
neg edi
add edx, edi
add edx, 0xc8376828
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x28]
add dl, 0xe1
mov esi, dword [esp]
mov byte [esp + esi + 8], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 0x10
jb 0x409880
mov dword [esp + 0x28], 0x76743839
mov dword [esp + 0x2c], 0x7a7a4440
mov dword [esp + 0x30], 0x7f727c49
mov dword [esp + 0x34], 0x62677e73
mov dword [esp + 0x38], 0x2a679392
mov dword [esp + 0x3c], 0x64490f0d
mov dword [esp + 0x40], 0x616f9966
mov dword [esp + 0x44], 0x5672249c
mov dword [esp + 0x48], 0xa4595da3
mov dword [esp + 0x4c], 0x545fa551
mov dword [esp + 0x50], 0x59026356
mov dword [esp + 0x54], 0xa4baf53
mov dword [esp + 0x58], 0x5ab65c40
mov dword [esp + 0x5c], 0x5644197f
mov dword [esp + 0x60], 0xd774841
mov byte [esp + 0x64], 0x30
mov dword [esp + 0x65], 0
mov byte [esp + 0x69], 0
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
cmp edx, 0x41
ja 0x4099b0
nop
nop
nop
mov edx, dword [esp + 4]
mov esi, dword [esp + 4]
movzx esi, byte [esp + esi + 0x28]
lea edi, [edx + 0x76da582]
and edi, esi
lea ebx, [edx + 0x82]
mov eax, 0x7d
sub eax, edx
and eax, ebx
and eax, esi
add edx, esi
add edx, 0x76da582
lea eax, [eax + edi*2]
sub edx, eax
mov dword [esp], edx
mov eax, dword [esp]
add al, 0x72
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x28], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x42
jb 0x409960
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esp + 0x28]
mov edx, ecx
test bl, bl
je 0x4099db
lea edi, [esp + 0x29]
mov edx, ecx
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 0x4099d0
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0x4099fb
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 0x4099f0
mov esi, dword [ebp + 0x10]
mov byte [edx], 0
movzx ebx, byte [esp + 8]
test bl, bl
je 0x409a1b
lea edi, [esp + 9]
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0x409a10
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0x409a3b
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 0x409a30
mov byte [edx], 0
movzx ebx, byte [esp + 0x18]
test bl, bl
je 0x409a5b
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 0x409a50
mov byte [edx], 0
sub edx, ecx
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0x60]
mov ecx, eax
and ecx, edx
xor edx, eax
lea eax, [edx + ecx*2]
mov dword [esi + 0x60], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc