Function at 0x416fb0
Capabilities:
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, 0xc0
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x10], 0xabdeadc8
mov dword [esp + 0x14], 0xd7b9a93b
mov dword [esp + 0x18], 0xd346d5b5
mov dword [esp + 0x1c], 0xdf93d1f0
mov dword [esp + 0x20], 0xdb46dd44
mov dword [esp + 0x24], 0xc754d9b5
mov dword [esp + 0x28], 0xc3abc55b
mov dword [esp + 0x2c], 0xcf5cc153
mov dword [esp + 0x30], 0xcbb5cdec
mov dword [esp + 0x34], 0xf76ac9a5
mov dword [esp + 0x38], 0xf39bf568
mov dword [esp + 0x3c], 0xff95f162
mov dword [esp + 0x40], 0xfb9efd63
lea eax, [esp + 0x44]
mov word [esp + 0x44], 0xf9f8
mov dword [esp + 0x46], 0
mov dword [esp + 0x4a], 0
mov dword [esp + 0x4e], 0
mov dword [esp + 0x52], 0
mov dword [esp + 0x84], 0
mov ecx, dword [esp + 0x84]
cmp ecx, 0x45
ja 0x4170a6
nop
nop
nop
nop
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x84]
add cl, 0xba
xor cl, byte [esp + edx + 0x10]
add cl, 0xea
mov edx, dword [esp + 0x84]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0x84]
mov ecx, dword [esp + 0x84]
cmp ecx, 0x46
jb 0x417070
mov ebx, dword [ebp + 0x10]
lea edi, [esp + 0x84]
lea edx, [esp + 0x10]
mov ecx, 0xd
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0xb8]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov esi, dword [esi + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x4170e0
sar eax, 1
mov edi, dword [ebx]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x417100
sar ecx, 1
lea edx, [eax + ecx]
add edx, 0x1b
test edx, edx
jns 0x41711e
mov eax, 0xffffffff
jmp 0x417125
add eax, ecx
add eax, eax
add eax, 0x36
push eax
call fcn.00431ad0
add esp, 4
movzx ecx, word [esi]
mov ebx, eax
test cx, cx
je 0x417151
add esi, 2
mov ebx, eax
nop
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x417140
mov dword [esp + 0x64], eax
mov word [ebx], 0
movzx ecx, word [esp + 0x84]
test cx, cx
je 0x417181
lea edx, [esp + 0x86]
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x417170
mov word [ebx], 0
movzx ecx, word [edi]
test cx, cx
je 0x4171b1
add edi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x4171a0
mov word [ebx], 0
mov dword [esp + 0x10], 0x33ef3507
mov dword [esp + 0x14], 0xcfbc31ba
mov dword [esp + 0x18], 0xcb3ecd35
mov dword [esp + 0x1c], 0xc73fc947
mov dword [esp + 0x20], 0xc336c537
mov dword [esp + 0x24], 0xdff1c14f
lea eax, [esp + 0x28]
mov word [esp + 0x28], 0xddde
mov dword [esp + 0x2a], 0
mov dword [esp + 0x2e], 0
mov word [esp + 0x32], 0
mov dword [esp + 0x68], 0
mov ecx, dword [esp + 0x68]
cmp ecx, 0x23
ja 0x41725a
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
movzx esi, byte [esp + ecx + 0x10]
lea ecx, [edx + esi]
add ecx, 0xb4fb8c79
add edx, 0xb4fb8c79
and edx, esi
add edx, edx
sub ecx, edx
add cl, 0xb1
mov edx, dword [esp + 0x68]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
cmp ecx, 0x24
jb 0x417220
lea edi, [esp + 0x68]
lea edx, [esp + 0x10]
mov ecx, 6
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x80]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x417290
mov ebx, dword [ecx + 8]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x4172b0
mov edx, dword [ebp + 0x10]
mov edi, dword [edx + 4]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + edx + 2], 0
lea edx, [edx + 2]
jne 0x4172d0
sar eax, 1
sar ecx, 1
sar edx, 1
add ecx, eax
lea eax, [edx + ecx]
add eax, 0xe
test eax, eax
jns 0x4172f4
mov eax, 0xffffffff
jmp 0x4172fc
add ecx, edx
lea eax, [ecx + ecx]
add eax, 0x1c
push eax
call fcn.00431ad0
add esp, 4
movzx edx, word [esi]
mov ecx, eax
test dx, dx
je 0x417331
add esi, 2
mov ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x417320
mov word [ecx], 0x2f
add ecx, 2
movzx edx, word [ebx]
test dx, dx
je 0x417361
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [ebx]
add ebx, 2
test dx, dx
jne 0x417350
mov word [ecx], 0
movzx edx, word [esp + 0x68]
test dx, dx
je 0x417391
lea esi, [esp + 0x6a]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x417380
mov word [ecx], 0
movzx edx, word [edi]
test dx, dx
je 0x4173c1
add edi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [edi]
add edi, 2
test dx, dx
jne 0x4173b0
mov word [ecx], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x73726d42
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xc]
cmp ecx, 0x1f
ja 0x417450
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
movzx edx, byte [esp + edx + 0x10]
lea esi, [ecx + 0x6e]
and esi, edx
add ecx, edx
add esi, esi
sub ecx, esi
add cl, 0x6c
mov edx, dword [esp + 0xc]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
cmp ecx, 0x20
jb 0x417420
push 0
push 0xc00000
lea ecx, [esp + 0x18]
push ecx
push dword [esp + 0x70]
push eax
push dword [ebp + 8]
call fcn.004181c0
add esp, 0x18
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret