Function at 0x40a460
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
mov esi, dword [ebp + 8]
mov dword [esp + 0x7c], ecx
add esi, dword [ecx + 0x60]
mov dword [esp + 0x80], 0xfff6f42b
mov dword [esp + 0x84], 0x3cfcf309
mov dword [esp + 0x88], 0xfcea12
mov dword [esp + 0x8c], 0xb07492c
mov dword [esp + 0x90], 0xfbf9fa0a
mov dword [esp + 0x94], 0x302fa01
mov dword [esp + 0x98], 0xacf05cf
mov dword [esp + 0x9c], 0xeaf30ff4
mov dword [esp + 0xa0], 0xb0b2b61a
mov word [esp + 0xa4], 0x81b4
mov dword [esp + 0xa6], 0
mov dword [esp + 0xaa], 0
mov dword [esp + 0xae], 0
mov dword [esp + 0xb2], 0
mov byte [esp + 0xb6], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x36
ja 0x40a56e
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
movzx edx, byte [esp + eax + 0x80]
lea eax, [ecx + edx]
add eax, 0x57dadcf1
add ecx, 0x57dadcf1
and ecx, edx
add ecx, ecx
sub eax, ecx
add al, 0x69
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x80], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x37
jb 0x40a530
mov dword [esp + 0xd8], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc0], 0x2bdcd8c2
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x1b
ja 0x40a60e
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
movzx edx, byte [esp + eax + 0xc0]
lea eax, [ecx + edx]
add eax, 0xc604acda
add ecx, 0xc604acda
and ecx, edx
add ecx, ecx
sub eax, ecx
add al, 0xa
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0xc0], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x1c
jb 0x40a5d0
mov dword [esp + 0x10], 0x8684f8f9
mov dword [esp + 0x14], 0xbabaf4f0
mov dword [esp + 0x18], 0xbf82bcc9
mov dword [esp + 0x1c], 0xb2b7be83
mov dword [esp + 0x20], 0xcab78382
mov dword [esp + 0x24], 0x94c9efed
mov dword [esp + 0x28], 0x91af9996
mov dword [esp + 0x2c], 0xa6c2d49c
mov dword [esp + 0x30], 0x94999d93
mov dword [esp + 0x34], 0x645f95a1
mov dword [esp + 0x38], 0x59123366
mov dword [esp + 0x3c], 0x2a6b6f63
mov dword [esp + 0x40], 0x5a665c50
mov dword [esp + 0x44], 0x4674193f
mov dword [esp + 0x48], 0xd274871
mov dword [esp + 0x4c], 0x427a484a
mov dword [esp + 0x50], 0x410a2a02
mov dword [esp + 0x54], 0x457b7d41
mov dword [esp + 0x58], 0x167f4075
mov word [esp + 0x5c], 0xd13e
mov word [esp + 0x62], 0
mov dword [esp + 0x5e], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x53
ja 0x40a6ff
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + 0x5a]
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add al, 0xe4
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x54
jb 0x40a6d0
mov eax, dword [ebp + 0xc]
movzx ecx, byte [esp + 0x10]
mov edx, esi
test cl, cl
je 0x40a72b
lea edi, [esp + 0x11]
mov edx, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [edi]
inc edi
test cl, cl
jne 0x40a720
mov byte [edx], 0
movzx ecx, byte [eax]
test cl, cl
je 0x40a74b
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [eax]
inc eax
test cl, cl
jne 0x40a740
mov byte [edx], 0
movzx eax, byte [esp + 0xc0]
test al, al
je 0x40a77b
lea ecx, [esp + 0xc1]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40a770
mov edi, dword [ebp + 0x14]
mov byte [edx], 0
movzx eax, byte [esp + 0x80]
test al, al
mov dword [esp + 0xc], esi
je 0x40a7ab
lea ecx, [esp + 0x81]
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40a7a0
mov esi, dword [ebp + 0x10]
mov byte [edx], 0
mov ecx, edi
and ecx, 3
je 0x40a7cf
cmp ecx, 2
jne 0x40a7e1
mov ecx, edi
shr ecx, 1
mov edi, edx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
jmp 0x40a87d
mov ecx, edi
shr ecx, 2
mov edi, edx
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
jmp 0x40a87d
test edi, edi
je 0x40a87d
mov eax, dword [ebp + 0x14]
mov edi, eax
and edi, 7
je 0x40a81f
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esi + ebx]
mov byte [edx + ebx], cl
inc ebx
cmp edi, ebx
jne 0x40a800
add esi, ebx
lea ecx, [edx + ebx]
mov eax, dword [ebp + 0x14]
mov edi, eax
sub edi, ebx
cmp eax, 8
jae 0x40a828
jmp 0x40a87d
mov ecx, edx
mov edi, eax
cmp eax, 8
jb 0x40a87d
xor ebx, ebx
nop
nop
nop
nop
nop
nop
movzx eax, byte [esi + ebx]
mov byte [ecx + ebx], al
movzx eax, byte [esi + ebx + 1]
mov byte [ecx + ebx + 1], al
movzx eax, byte [esi + ebx + 2]
mov byte [ecx + ebx + 2], al
movzx eax, byte [esi + ebx + 3]
mov byte [ecx + ebx + 3], al
movzx eax, byte [esi + ebx + 4]
mov byte [ecx + ebx + 4], al
movzx eax, byte [esi + ebx + 5]
mov byte [ecx + ebx + 5], al
movzx eax, byte [esi + ebx + 6]
mov byte [ecx + ebx + 6], al
movzx eax, byte [esi + ebx + 7]
mov byte [ecx + ebx + 7], al
add ebx, 8
cmp edi, ebx
jne 0x40a830
mov dword [esp + 0x10], 0xeeef938d
mov dword [esp + 0x14], 0x9a9e4846
mov dword [esp + 0x18], 0x4a9f4c4c
mov dword [esp + 0x1c], 0x4c59415c
mov dword [esp + 0x20], 0x59584441
mov dword [esp + 0x24], 0xfde38459
mov word [esp + 0x28], 0xfbe5
mov byte [esp + 0x2a], 0xf2
mov dword [esp + 0x2b], 0
mov dword [esp + 0x2f], 0
mov word [esp + 0x33], 0
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x80]
cmp eax, 0x24
ja 0x40a942
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x80]
movzx esi, byte [esp + eax + 0x10]
lea eax, [ecx + esi]
add eax, 0xc3d2623c
add ecx, 0xc3d2623c
and ecx, esi
add ecx, ecx
sub eax, ecx
mov ecx, eax
xor ecx, 0x5b
and eax, 0x5b
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 0x80]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0x80]
mov eax, dword [esp + 0x80]
cmp eax, 0x25
jb 0x40a8f0
add edx, dword [ebp + 0x14]
movzx eax, byte [esp + 0x10]
test al, al
je 0x40a96d
lea ecx, [esp + 0x11]
mov esi, dword [esp + 0xc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40a960
jmp 0x40a971
mov esi, dword [esp + 0xc]
mov byte [edx], 0
sub edx, esi
mov eax, dword [esp + 0x7c]
add dword [eax + 0x60], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10