Function at 0xc4863d
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
push ebx
push esi
push edi
mov esi, 0xc707a4
mov dword [ebp - 0x38], 0xce24ec6d
lea edi, [ebp - 0x54]
mov dword [ebp - 0x34], 0x69727e26
push 0x13
pop eax
movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov byte [ebp - 0x25], al
mov eax, ecx
mov dword [ebp - 0x30], 0x7da09dfb
mov dword [ebp - 0x2c], 0xb53bc538
movsw word es:[edi], word [esi]
mov word [ebp - 0x28], 0xdfb0
mov byte [ebp - 0x26], 0x3e
mov dword [ebp - 0x24], 0xde848424
mov dword [ebp - 0x20], 0x20cc70c0
mov dword [ebp - 0x1c], 0x1b19f632
mov dword [ebp - 0x18], 0x61569ad4
mov dword [ebp - 0x14], 0x27f5862a
mov dword [ebp - 0x10], 0xb14f3134
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x44], ecx
mov byte [ebp + eax - 0x1a4], al
inc eax
cmp eax, 0x100
jb 0xc486b2
mov esi, dword [0xc770dc]
mov eax, ecx
mov ebx, dword [0xc770f8]
mov edi, dword [ebp - 0x54]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x48], 6
mov dword [ebp - 8], esi
mov cl, byte [ebp + eax - 0x1a4]
xor edx, edx
div dword [ebp - 0x48]
mov byte [ebp - 1], cl
movzx ecx, cl
movzx eax, byte [ebp + edx - 0x54]
mov edx, ebx
add eax, dword [ebp - 0x44]
add ecx, eax
movzx eax, cl
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x44], eax
mov al, byte [ebp + eax - 0x1a4]
mov byte [ebp + ecx - 0x1a4], al
mov ecx, 0xc708b0
call fcn.00c45da2
xor eax, eax
imul ebx, esi, 0x224a124f
mov dword [0xc770f8], ebx
inc eax
cmp byte [eax + 0xc708b0], 0
jne 0xc4872c
mov ecx, 0xc70878
mov dword [ebp - 0x40], eax
call fcn.00c45ba8
cmp edi, dword [ebp - 0x40]
jae 0xc4878f
push esi
mov edx, esi
mov ecx, 0xc708b0
call fcn.00c4574b
mov ebx, dword [0xc770f8]
pop ecx
cmp edi, 0x5db
jne 0xc48774
mov esi, ebx
xor esi, 0xf9fd008b
mov dword [0xc770dc], esi
jmp 0xc4877a
mov esi, dword [0xc770dc]
or ebx, 0xbd6f9d81
inc edi
mov dword [0xc770f8], ebx
cmp edi, dword [ebp - 0x40]
jb 0xc48748
mov dword [ebp - 8], esi
mov eax, dword [ebp - 0x44]
mov cl, byte [ebp - 1]
mov byte [ebp + eax - 0x1a4], cl
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, 0x100
jb 0xc486df
xor eax, eax
mov dword [ebp - 0x3c], ebx
mov ebx, eax
mov edi, eax
mov esi, eax
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [ebp + edi - 0x1a4]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
mov al, byte [ebp + ebx - 0x1a4]
mov byte [ebp + edi - 0x1a4], al
mov byte [ebp + ebx - 0x1a4], cl
movzx eax, byte [ebp + edi - 0x1a4]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x1a4]
xor al, byte [ebp + esi - 0x38]
mov byte [ebp + esi - 0x204], al
inc esi
cmp esi, 0x2c
jb 0xc487b9
push 9
pop eax
xor edx, edx
mov byte [ebp - 0x2b], al
push 5
pop ecx
mov esi, 0xc70158
mov byte [ebp - 0x1d], al
lea edi, [ebp - 0xa0]
mov byte [ebp - 0x1d8], dl
mov dword [ebp - 0x38], 0x8a9a214c
mov eax, edx
mov dword [ebp - 0x34], 0xdc9b4111
mov dword [ebp - 0x30], 0x66406700
mov byte [ebp - 0x2c], 0x26
mov dword [ebp - 0x2a], 0x2f5dde82
mov dword [ebp - 0x26], 0xcb0b8a66
mov dword [ebp - 0x22], 0x6b8d4970
mov byte [ebp - 0x1e], 0x2d
mov dword [ebp - 0x1c], 0xfd7433a0
mov dword [ebp - 0x18], 0xad38b964
mov dword [ebp - 0x14], 0xdafa7dc8
mov dword [ebp - 0x10], 0x9650b6dc
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x40], edx
mov byte [ebp + eax - 0x1a4], al
inc eax
cmp eax, 0x100
jb 0xc4887d
mov esi, dword [ebp - 0x3c]
mov edi, edx
xor edx, edx
mov bl, byte [ebp + edi - 0x1a4]
push 0x13
mov eax, edi
sub esi, 0x613b0d
pop ecx
div ecx
movzx ecx, bl
movzx eax, byte [ebp + edx - 0xa0]
add eax, dword [ebp - 0x40]
add ecx, eax
movzx ecx, cl
mov dword [ebp - 0x40], ecx
mov al, byte [ebp + ecx - 0x1a4]
mov byte [ebp + edi - 0x1a4], al
inc edi
mov byte [ebp + ecx - 0x1a4], bl
cmp edi, 0x100
jb 0xc48891
xor eax, eax
mov dword [ebp - 0x3c], esi
mov esi, eax
mov ebx, eax
mov edi, eax
lea eax, [ebx + 1]
movzx ebx, al
mov cl, byte [ebp + ebx - 0x1a4]
movzx edx, cl
lea eax, [edx + esi]
movzx esi, al
mov al, byte [ebp + esi - 0x1a4]
mov byte [ebp + ebx - 0x1a4], al
mov byte [ebp + esi - 0x1a4], cl
movzx eax, byte [ebp + ebx - 0x1a4]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x1a4]
xor al, byte [ebp + edi - 0x38]
mov byte [ebp + edi - 0x1d4], al
inc edi
cmp edi, 0x2c
jb 0xc488e6
mov ebx, dword [ebp - 8]
xor eax, eax
mov esi, dword [ebp - 0x3c]
xor ebx, 0x43b0538d
inc eax
mov dword [0xc770dc], ebx
cmp byte [eax + 0xc708b0], 0
jne 0xc4893e
mov dword [ebp - 8], ebx
cmp eax, 0x588
jne 0xc48976
mov eax, 0xc70878
and esi, 0x2f30dae6
push ebx
mov edx, eax
mov ecx, eax
call fcn.00c45a44
pop ecx
jmp 0xc48985
lea ebx, [esi - 0x19d92400]
mov dword [ebp - 8], ebx
mov dword [0xc770dc], ebx
xor esi, 0x77b2a29
mov dword [ebp - 0x38], 0xc8634991
mov dword [ebp - 0x3c], esi
lea edi, [ebp - 0x274]
push 0xf
mov edx, dword [ebp - 0x3c]
mov esi, 0xc6ff90
pop ecx
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebp - 0x34], 0xdb46e65a
mov ecx, 0xc708b0
mov byte [ebp - 0x1a8], al
mov dword [ebp - 0x30], 0x27bd235e
mov dword [ebp - 0x2c], 0xac039831
mov dword [ebp - 0x28], 0x8a8b1b07
mov dword [ebp - 0x24], 0x9adc3db9
mov dword [ebp - 0x20], 0xaafd93f2
mov dword [ebp - 0x1c], 0xe9173d66
mov dword [ebp - 0x18], 0x9587e4b7
mov dword [ebp - 0x14], 0xdb434cb7
mov dword [ebp - 0x10], 0xd845cd60
movsb byte es:[edi], byte [esi]
call fcn.00c45da2
push 0xb
pop ecx
mov esi, 0xc707ac
lea edi, [ebp - 0x88]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
push 0x53
pop ecx
mov edx, eax
mov dword [ebp - 0xc], edx
cmp cx, word [ebp - 0x88]
jne 0xc48a89
xor ebx, ebx
test cx, cx
je 0xc48a55
cmp word [ebp + eax - 0x88], bx
je 0xc48a55
call fcn.00c4641e
mov edx, dword [ebp - 0xc]
inc edx
mov dword [ebp - 0xc], edx
lea eax, [edx + edx]
movzx ecx, word [eax + 0xc70878]
cmp cx, word [ebp + eax - 0x88]
je 0xc48a26
mov esi, dword [ebp - 0x54]
mov ebx, dword [ebp - 8]
cmp esi, edx
jae 0xc48a89
cmp esi, 0xe92
jne 0xc48a75
or ebx, 0x9bc434e4
call fcn.00c460af
mov edx, dword [ebp - 0xc]
and ebx, 0xeac291a0
inc esi
mov dword [0xc770dc], ebx
cmp esi, edx
jb 0xc48a5f
mov dword [ebp - 8], ebx
xor ecx, ecx
mov edi, ecx
mov eax, ecx
mov byte [ebp + eax - 0x1a4], al
inc eax
cmp eax, 0x100
jb 0xc48a8f
mov esi, ecx
xor edx, edx
mov bl, byte [ebp + esi - 0x1a4]
push 0x3c
mov eax, esi
pop ecx
div ecx
movzx ecx, bl
movzx eax, byte [ebp + edx - 0x274]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [ebp + edi - 0x1a4]
mov byte [ebp + esi - 0x1a4], al
imul eax, dword [ebp - 0x3c], 0x50311729
inc esi
mov byte [ebp + edi - 0x1a4], bl
mov dword [ebp - 0x3c], eax
mov dword [0xc770f8], eax
cmp esi, 0x100
jb 0xc48aa0
mov esi, 0xc707d8
lea edi, [ebp - 0x5c]
xor eax, eax
mov edx, eax
mov ecx, eax
mov ebx, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 8]
lea eax, [ecx + 1]
movzx ecx, al
mov dword [ebp - 0x40], ecx
mov al, byte [ebp + ecx - 0x1a4]
mov byte [ebp - 1], al
movzx eax, al
mov dword [ebp - 0xc], eax
add eax, edx
movzx eax, al
mov edx, esi
mov dword [ebp - 0x48], eax
mov al, byte [ebp + eax - 0x1a4]
mov byte [ebp + ecx - 0x1a4], al
mov ecx, 0xc708b0
call fcn.00c45da2
cmp byte [ebp - 0x5c], 0x6f
jne 0xc48b6c
xor ecx, ecx
mov al, 0x6f
mov edi, ecx
test al, al
je 0xc48b6c
cmp byte [ebp + edi - 0x5c], 0
je 0xc48b6c
call fcn.00c46236
mov al, byte [edi + 0xc708b1]
inc edi
cmp al, byte [ebp + edi - 0x5c]
je 0xc48b4f
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x40]
mov al, byte [ebp - 1]
mov byte [ebp + edx - 0x1a4], al
movzx eax, byte [ebp + ecx - 0x1a4]
add eax, dword [ebp - 0xc]
movzx eax, al
mov al, byte [ebp + eax - 0x1a4]
xor al, byte [ebp + ebx - 0x38]
mov byte [ebp + ebx - 0x234], al
inc ebx
cmp ebx, 0x2c
jb 0xc48b08
xor eax, eax
lea edx, [ebp - 0x1d4]
mov byte [ebp - 0x208], al
mov ebx, eax
mov dword [ebp - 0x48], eax
xor ecx, ecx
mov dword [ebp - 0x4c], eax
inc ecx
lea eax, [ebp - 0x4c]
push eax
push 8
call fcn.00c4ba1b
call eax
push eax
push 6
pop esi
lea edx, [ebp - 0x204]
mov ecx, esi
call fcn.00c4ba1b
call eax
test eax, eax
je 0xc48c13
lea eax, [ebp - 0xa4]
mov ecx, esi
push eax
push 4
lea eax, [ebp - 0x8c]
push eax
push 0x14
push dword [ebp - 0x4c]
lea edx, [ebp - 0x234]
call fcn.00c4ba1b
call eax
test eax, eax
cmovne ebx, dword [ebp - 0x8c]
mov dword [ebp - 0x48], ebx
cmp dword [ebp - 0x4c], 0
je 0xc48e2e
mov esi, str.Exception
mov dword [ebp - 0x73], 0xe93b529f
lea edi, [ebp - 0x58]
mov dword [ebp - 0x6f], 0x10fb75f0
push 9
pop eax
movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x74], al
mov eax, dword [0xc770f8]
sub eax, 0x4a6a61d2
mov dword [ebp - 0x6b], 0x549053e8
movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov dword [ebp - 8], eax
mov eax, ecx
mov dword [ebp - 0x67], 0xe50133de
mov dword [ebp - 0x63], 0x53e70dd9
movsw word es:[edi], word [esi]
mov word [ebp - 0x5f], 0x6d39
mov edi, ecx
mov byte [ebp - 0x5d], 0x29
mov byte [ebp + eax - 0x1a4], al
inc eax
cmp eax, 0x100
jb 0xc48c6f
mov esi, ecx
xor edx, edx
mov bl, byte [ebp + esi - 0x1a4]
push 9
mov eax, esi
pop ecx
div ecx
movzx ecx, bl
movzx eax, byte [ebp + edx - 0x58]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [ebp + edi - 0x1a4]
mov byte [ebp + esi - 0x1a4], al
inc esi
mov byte [ebp + edi - 0x1a4], bl
cmp esi, 0x100
jb 0xc48c80
mov esi, 0xc6f550
lea edi, [ebp - 0x9c]
xor ebx, ebx
mov ecx, ebx
mov dword [ebp - 0x3c], ebx
mov eax, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [0xc770dc]
jmp 0xc48cdf
xor ebx, ebx
inc eax
mov edi, ebx
movzx eax, al
mov dword [ebp - 0xc], eax
push 0x53
mov al, byte [ebp + eax - 0x1a4]
mov byte [ebp - 1], al
movzx eax, al
mov dword [ebp - 0x54], eax
add eax, ecx
movzx edx, al
pop eax
mov dword [ebp - 0x44], edx
cmp ax, word [ebp - 0x9c]
jne 0xc48d78
mov ecx, eax
mov eax, ebx
test cx, cx
je 0xc48d34
cmp word [ebp + eax - 0x9c], bx
je 0xc48d34
inc edi
lea eax, [edi + edi]
movzx ecx, word [eax + 0xc70878]
cmp cx, word [ebp + eax - 0x9c]
je 0xc48d10
mov eax, dword [ebp - 0x40]
mov ebx, dword [ebp - 8]
cmp eax, edi
jae 0xc48d7b
mov esi, ebx
and esi, 0xa66bc121
mov dword [0xc770dc], esi
cmp eax, 0x1819
jne 0xc48d58
call fcn.00c4555f
mov eax, 0xc70878
push ebx
mov edx, eax
mov ecx, eax
call fcn.00c45a44
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
pop ecx
cmp eax, edi
jb 0xc48d4c
mov edx, dword [ebp - 0x44]
jmp 0xc48d7b
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp + edx - 0x1a4]
mov byte [ebp + ecx - 0x1a4], al
xor eax, eax
mov edi, eax
imul ebx, ebx, 0x2bc4caf
inc edi
mov dword [0xc770f8], ebx
cmp word [edi*2 + 0xc70878], ax
jne 0xc48d90
mov dword [ebp - 8], ebx
call fcn.00c4555f
cmp edi, 0x1308
jbe 0xc48dc7
lea eax, [esi - 0x378249ce]
mov dword [ebp - 8], eax
mov dword [0xc770f8], eax
jmp 0xc48dd3
imul esi, esi, 0xc12ec367
mov dword [0xc770dc], esi
mov eax, dword [ebp - 0x44]
mov cl, byte [ebp - 1]
mov byte [ebp + eax - 0x1a4], cl
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x3c]
movzx eax, byte [ebp + eax - 0x1a4]
add eax, dword [ebp - 0x54]
movzx eax, al
mov al, byte [ebp + eax - 0x1a4]
xor al, byte [ebp + ecx - 0x74]
mov byte [ebp + ecx - 0x28], al
inc ecx
mov eax, dword [ebp - 0xc]
cmp ecx, 0x18
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x44]
jb 0xc48cdd
push dword [ebp - 0x4c]
xor ecx, ecx
lea edx, [ebp - 0x28]
xor eax, eax
inc ecx
mov byte [ebp - 0x10], al
call fcn.00c4ba1b
call eax
mov ebx, dword [ebp - 0x48]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret