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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
push ebx
push esi
push edi
push 0x19
pop eax
push 0x11
mov byte [ebp - 0x48], al
lea edi, [ebp - 0x1a8]
pop eax
mov dword [ebp - 0x88], ecx
mov esi, 0x430704
push 6
pop ecx
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x40], al
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x64], 0x926fb168
movsw word es:[edi], word [esi]
xor edi, edi
mov dword [ebp - 0x60], 0xa49cc2d2
mov dword [ebp - 0x5c], 0x5dc626ad
xor eax, eax
mov dword [ebp - 0x58], 0x45503357
mov dword [ebp - 0x54], 0x90d5fa66
mov dword [ebp - 0x50], 0xf21d2c59
mov dword [ebp - 0x4c], 0x7850953b
mov dword [ebp - 0x47], 0x46a56e03
mov word [ebp - 0x43], 0xfe06
mov byte [ebp - 0x41], 0x2f
mov dword [ebp - 0x3f], 0xb0d7c3cc
mov word [ebp - 0x3b], 0x518a
mov byte [ebp - 0x39], 0x78
mov byte [ebp + eax - 0x188], al
inc eax
cmp eax, 0x100
jb 0x417211
xor esi, esi
xor edx, edx
mov bl, byte [ebp + esi - 0x188]
push 0x19
mov eax, esi
pop ecx
div ecx
movzx ecx, bl
movzx eax, byte [ebp + edx - 0x1a8]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [ebp + edi - 0x188]
mov byte [ebp + esi - 0x188], al
inc esi
mov byte [ebp + edi - 0x188], bl
cmp esi, 0x100
jb 0x417222
mov eax, dword [0x4356e8]
xor ebx, ebx
add eax, 0x1f35daf6
xor edi, edi
mov dword [ebp - 0x30], eax
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [ebp + edi - 0x188]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
mov al, byte [ebp + ebx - 0x188]
mov byte [ebp + edi - 0x188], al
mov byte [ebp + ebx - 0x188], cl
movzx eax, byte [ebp + edi - 0x188]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x188]
xor al, byte [ebp + esi - 0x64]
mov byte [ebp + esi - 0x264], al
inc esi
cmp esi, 0x2c
jb 0x417275
mov esi, 0x42c670
mov byte [ebp - 0x238], 0
lea edi, [ebp - 0x7c]
mov dword [ebp - 0x17], 0xbce6e831
push 0x23
pop eax
movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x18], al
mov dword [ebp - 0x13], 0xdef17817
mov dword [ebp - 0xf], 0xbb008d06
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xb], 0x943e44b6
mov dword [ebp - 7], 0x79f76f05
mov word [ebp - 3], 0xf0f0
movsd dword es:[edi], dword [esi]
mov byte [ebp - 1], 0x34
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor edi, edi
xor eax, eax
mov byte [ebp + eax - 0x188], al
inc eax
cmp eax, 0x100
jb 0x417311
push 0xe
xor esi, esi
pop ecx
xor edx, edx
mov bl, byte [ebp + esi - 0x188]
mov eax, esi
div ecx
movzx ecx, bl
push 0xe
movzx eax, byte [ebp + edx - 0x7c]
add eax, edi
add ecx, eax
movzx edi, cl
pop ecx
mov al, byte [ebp + edi - 0x188]
mov byte [ebp + esi - 0x188], al
inc esi
mov byte [ebp + edi - 0x188], bl
cmp esi, 0x100
jb 0x417325
sub dword [ebp - 0x30], 0x570bbdcd
xor ebx, ebx
xor edi, edi
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [ebp + edi - 0x188]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
mov al, byte [ebp + ebx - 0x188]
mov byte [ebp + edi - 0x188], al
mov byte [ebp + ebx - 0x188], cl
movzx eax, byte [ebp + edi - 0x188]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x188]
xor al, byte [ebp + esi - 0x18]
mov byte [ebp + esi - 0x1c4], al
inc esi
cmp esi, 0x18
jb 0x41736f
mov esi, 0x430720
mov byte [ebp - 0x1ac], 0
lea edi, [ebp - 0x7c]
mov dword [ebp - 0x18], 0x5e7efebe
push 0xe
pop eax
movsd dword es:[edi], dword [esi]
mov byte [ebp - 7], al
push 0x19
pop eax
movsd dword es:[edi], dword [esi]
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x30]
and eax, 0x9e35ee51
mov dword [ebp - 0x14], 0xe0eff07d
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x30], eax
mov dword [0x4356e8], eax
mov dword [ebp - 0x10], 0x91109dd9
movsw word es:[edi], word [esi]
xor edi, edi
mov dword [ebp - 0xc], 0xf0241646
mov byte [ebp - 8], 0xf5
xor eax, eax
mov word [ebp - 6], 0xac4e
mov word [ebp - 3], 0xeb1f
mov byte [ebp - 1], 0x5b
mov byte [ebp + eax - 0x188], al
inc eax
cmp eax, 0x100
jb 0x417423
xor esi, esi
xor edx, edx
mov bl, byte [ebp + esi - 0x188]
push 0xd
mov eax, esi
pop ecx
div ecx
movzx ecx, bl
movzx eax, byte [ebp + edx - 0x7c]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [ebp + edi - 0x188]
mov byte [ebp + esi - 0x188], al
inc esi
mov byte [ebp + edi - 0x188], bl
cmp esi, 0x100
jb 0x417434
xor ebx, ebx
xor edi, edi
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [ebp + edi - 0x188]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
mov al, byte [ebp + ebx - 0x188]
mov byte [ebp + edi - 0x188], al
mov byte [ebp + ebx - 0x188], cl
movzx eax, byte [ebp + edi - 0x188]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x188]
xor al, byte [ebp + esi - 0x18]
mov byte [ebp + esi - 0x1e0], al
inc esi
cmp esi, 0x18
jb 0x417477
mov ebx, 0x430a80
mov byte [ebp - 0x1c8], 0
mov ecx, ebx
mov dword [ebp - 0x18], 0x71e1afe7
mov dword [ebp - 0x14], 0x6b8af79c
mov dword [ebp - 0x10], 0x9e712f97
mov dword [ebp - 0xc], 0x842fe35
mov dword [ebp - 8], 0x8873d204
mov dword [ebp - 4], 0x7f459966
call fcn.00414da4
mov esi, 0x42c254
lea edi, [ebp - 0x78]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
cmp byte [ebp - 0x78], 0x66
jne 0x41753e
mov al, 0x66
xor esi, esi
test al, al
je 0x41753e
cmp byte [ebp + esi - 0x78], 0
je 0x41753e
mov edx, 0x430d88
mov ecx, ebx
call fcn.004151f9
mov al, byte [esi + 0x430d89]
inc esi
cmp al, byte [ebp + esi - 0x78]
je 0x41751a
mov ecx, dword [ebp - 0x30]
lea edi, [ebp - 0x7c]
and dword [ebp - 0x34], 0
mov esi, 0x42d624
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]
call fcn.004149fd
push 6
pop ecx
mov esi, 0x42f280
lea edi, [ebp - 0x54]
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
cmp byte [ebp - 0x54], 0x66
jne 0x41758f
mov al, 0x66
test al, al
je 0x41758f
cmp byte [ebp + ebx - 0x54], 0
je 0x41758f
call fcn.004153f9
mov al, byte [ebx + 0x430d89]
inc ebx
cmp al, byte [ebp + ebx - 0x54]
je 0x417572
movzx eax, byte [ebp + ebx - 0x54]
movzx esi, byte [ebx + 0x430d88]
sub esi, eax
call fcn.00414797
cmp esi, 0x214f
jbe 0x4175b8
mov edi, dword [0x4356e8]
or edi, 0xf350b34d
jmp 0x4175cd
add dword [0x4356e8], 0x1decec7b
call fcn.004153f9
mov edi, dword [0x4356e8]
xor eax, eax
mov byte [ebp + eax - 0x188], al
inc eax
cmp eax, 0x100
jb 0x4175cf
xor esi, esi
xor edx, edx
mov bl, byte [ebp + esi - 0x188]
push 0xe
mov eax, esi
or edi, 0x3f814540
pop ecx
div ecx
movzx ecx, bl
movzx eax, byte [ebp + edx - 0x7c]
add eax, dword [ebp - 0x34]
add ecx, eax
movzx ecx, cl
mov dword [ebp - 0x34], ecx
mov al, byte [ebp + ecx - 0x188]
mov byte [ebp + esi - 0x188], al
inc esi
mov byte [ebp + ecx - 0x188], bl
cmp esi, 0x100
jb 0x4175e0
mov dword [ebp - 0x34], edi
xor ebx, ebx
xor edi, edi
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [ebp + edi - 0x188]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
mov al, byte [ebp + ebx - 0x188]
mov byte [ebp + edi - 0x188], al
mov byte [ebp + ebx - 0x188], cl
movzx eax, byte [ebp + edi - 0x188]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x188]
xor al, byte [ebp + esi - 0x18]
mov byte [ebp + esi - 0x1fc], al
inc esi
cmp esi, 0x18
jb 0x417630
push 0xb
pop eax
push 5
pop ecx
mov esi, 0x42f598
mov byte [ebp - 8], al
lea edi, [ebp - 0x80]
mov byte [ebp - 0x1e4], 0
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x18], 0x15c1ce9d
mov dword [ebp - 0x14], 0x8f82358a
mov dword [ebp - 0x10], 0x75d281b9
movsb byte es:[edi], byte [esi]
xor edi, edi
mov dword [ebp - 0xc], 0x4545172c
mov dword [ebp - 7], 0xb9556e47
xor eax, eax
mov word [ebp - 3], 0xa6d4
mov byte [ebp - 1], 0xf6
mov byte [ebp + eax - 0x188], al
inc eax
cmp eax, 0x100
jb 0x4176cc
push 0x14
xor esi, esi
pop ecx
xor edx, edx
mov bl, byte [ebp + esi - 0x188]
mov eax, esi
div ecx
movzx ecx, bl
push 0x14
movzx eax, byte [ebp + edx - 0x80]
add eax, edi
add ecx, eax
movzx edi, cl
pop ecx
mov al, byte [ebp + edi - 0x188]
mov byte [ebp + esi - 0x188], al
inc esi
mov byte [ebp + edi - 0x188], bl
cmp esi, 0x100
jb 0x4176e0
xor ebx, ebx
xor edi, edi
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [ebp + edi - 0x188]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
mov al, byte [ebp + ebx - 0x188]
mov byte [ebp + edi - 0x188], al
mov byte [ebp + ebx - 0x188], cl
movzx eax, byte [ebp + edi - 0x188]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x188]
xor al, byte [ebp + esi - 0x18]
mov byte [ebp + esi - 0x218], al
inc esi
cmp esi, 0x18
jb 0x417723
mov esi, 0x42c57c
mov byte [ebp - 0x200], 0
lea edi, [ebp - 0x78]
mov dword [ebp - 0x18], 0xb4a2abbd
mov dword [ebp - 0x14], 0x1b8636f9
mov dword [ebp - 0x10], 0xc9d337de
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], 0x848ced8
mov dword [ebp - 8], 0xa9af157c
mov dword [ebp - 4], 0x523639e5
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
xor eax, eax
mov byte [ebp + eax - 0x188], al
inc eax
cmp eax, 0x100
jb 0x4177b3
xor esi, esi
xor edx, edx
mov bl, byte [ebp + esi - 0x188]
push 0xb
mov eax, esi
pop ecx
div ecx
movzx ecx, bl
movzx eax, byte [ebp + edx - 0x78]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [ebp + edi - 0x188]
mov byte [ebp + esi - 0x188], al
inc esi
mov byte [ebp + edi - 0x188], bl
cmp esi, 0x100
jb 0x4177c4
mov ebx, dword [ebp - 0x34]
xor edi, edi
and dword [ebp - 0x68], 0
add ebx, 0xc89dbaaf
or ebx, 0x7586c000
xor esi, esi
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x68]
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [ebp + edi - 0x188]
movzx edx, cl
lea eax, [ebx + edx]
movzx ebx, al
mov al, byte [ebp + ebx - 0x188]
mov byte [ebp + edi - 0x188], al
mov byte [ebp + ebx - 0x188], cl
movzx eax, byte [ebp + edi - 0x188]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x188]
xor al, byte [ebp + esi - 0x18]
mov byte [ebp + esi - 0x234], al
inc esi
cmp esi, 0x18
jb 0x41781e
or dword [ebp - 0x30], 0xf0d7582f
lea edi, [ebp - 0x80]
and dword [ebp - 0x34], 0
mov esi, str.no_lock_available
mov byte [ebp - 0x21c], 0
xor eax, eax
mov dword [ebp - 0x18], 0x978d15b1
mov dword [ebp - 0x14], 0x365f0fc9
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], 0xfcf89532
mov dword [ebp - 0xc], 0xc0b546f2
mov dword [ebp - 8], 0xb6fa5ec8
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], 0x39d1ca4b
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov byte [ebp + eax - 0x188], al
inc eax
cmp eax, 0x100
jb 0x4178ba
mov edi, dword [ebp - 0x30]
xor esi, esi
xor edx, edx
mov bl, byte [ebp + esi - 0x188]
push 0x11
mov eax, esi
or edi, 0xca62c321
pop ecx
div ecx
movzx ecx, bl
movzx eax, byte [ebp + edx - 0x80]
add eax, dword [ebp - 0x34]
add ecx, eax
movzx ecx, cl
mov dword [ebp - 0x34], ecx
mov al, byte [ebp + ecx - 0x188]
mov byte [ebp + esi - 0x188], al
inc esi
mov byte [ebp + ecx - 0x188], bl
cmp esi, 0x100
jb 0x4178ce
mov dword [0x4356e8], edi
xor ebx, ebx
xor edi, edi
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [ebp + edi - 0x188]
movzx edx, cl
lea eax, [ebx + edx]
movzx ebx, al
mov al, byte [ebp + ebx - 0x188]
mov byte [ebp + edi - 0x188], al
mov byte [ebp + ebx - 0x188], cl
movzx eax, byte [ebp + edi - 0x188]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x188]
xor al, byte [ebp + esi - 0x18]
mov byte [ebp + esi - 0x1a8], al
inc esi
cmp esi, 0x18
jb 0x417921
mov byte [ebp - 0x190], 0
call fcn.00416a4a
mov ebx, eax
lea edx, [ebp - 0x264]
xor ecx, ecx
mov dword [ebp - 0x68], ebx
push ebx
inc ecx
call fcn.0040a2e6
call eax
cmp eax, 0xffffffff
jne 0x417ac5
push 0x19
pop eax
push 9
pop ecx
mov esi, 0x430744
mov byte [ebp - 0x10], al
lea edi, [ebp - 0x5c]
mov dword [ebp - 0x2c], 0x7d71800a
rep movsd dword es:[edi], dword [esi]
xor edi, edi
mov dword [ebp - 0x28], 0x95676fdd
mov dword [ebp - 0x24], 0x3308a342
xor eax, eax
mov dword [ebp - 0x20], 0xb95314e0
mov dword [ebp - 0x1c], 0x8ece44f3
mov dword [ebp - 0x18], 0xecc75ec2
mov dword [ebp - 0x14], 0x1e6461d6
mov dword [ebp - 0xf], 0xd666820a
mov dword [ebp - 0xb], 0x7924643
mov dword [ebp - 7], 0x278cbcb1
mov word [ebp - 3], 0xff6a
mov byte [ebp - 1], 0xb3
mov byte [ebp + eax - 0x188], al
inc eax
cmp eax, 0x100
jb 0x417a03
xor esi, esi
xor edx, edx
mov bl, byte [ebp + esi - 0x188]
push 0x23
mov eax, esi
pop ecx
div ecx
movzx ecx, bl
movzx eax, byte [ebp + edx - 0x5c]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [ebp + edi - 0x188]
mov byte [ebp + esi - 0x188], al
inc esi
mov byte [ebp + edi - 0x188], bl
cmp esi, 0x100
jb 0x417a14
xor ebx, ebx
xor edi, edi
xor esi, esi
lea eax, [edi + 1]
sub dword [0x4356e8], 0x577d00a2
movzx edi, al
mov cl, byte [ebp + edi - 0x188]
movzx edx, cl
lea eax, [ebx + edx]
movzx ebx, al
mov al, byte [ebp + ebx - 0x188]
mov byte [ebp + edi - 0x188], al
mov byte [ebp + ebx - 0x188], cl
movzx eax, byte [ebp + edi - 0x188]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x188]
xor al, byte [ebp + esi - 0x2c]
mov byte [ebp + esi - 0x64], al
inc esi
cmp esi, 0x2c
jb 0x417a57
mov ebx, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
xor ecx, ecx
mov byte [ebp - 0x38], 0
push 0
push ebx
inc ecx
call fcn.0040a2e6
call eax
lea ecx, [ebp - 0x1c4]
call fcn.0040b628
lea ecx, [ebp - 0x1e0]
mov esi, eax
call fcn.0040b628
lea ecx, [ebp - 0x1fc]
mov edi, eax
call fcn.0040b628
add dword [0x4356e8], 0x6d028efc
mov edx, esi
mov ecx, ebx
mov dword [ebp - 0x30], eax
call fcn.0040ba7a
cmp dword [ebp + 8], 1
mov edx, dword [ebp - 0x30]
cmove edx, edi
call fcn.0040ba7a
xor eax, eax
lea edx, [ebp - 0x218]
push eax
push 0x80
push 2
push eax
push eax
xor ecx, ecx
push 0x40000000
push ebx
inc ecx
call fcn.0040a2e6
call eax
mov dword [ebp + 8], eax
cmp eax, 2
je 0x417b72
push 0
lea ecx, [ebp - 0x18c]
push ecx
push dword [ebp - 0x84]
xor ecx, ecx
lea edx, [ebp - 0x234]
push dword [ebp - 0x88]
inc ecx
push eax
call fcn.0040a2e6
call eax
push dword [ebp + 8]
xor ecx, ecx
lea edx, [ebp - 0x1a8]
inc ecx
call fcn.0040a2e6
call eax
mov ecx, esi
call fcn.0040b8f4
push eax
push 0
push esi
call fcn.0040b587
mov ecx, edi
call fcn.0040b8f4
push eax
push 0
push edi
call fcn.0040b587
mov ecx, dword [ebp - 0x30]
call fcn.0040b8f4
push eax
push 0
push ecx
call fcn.0040b587
mov ecx, ebx
call fcn.0040b8f4
push eax
push 0
push ebx
call fcn.0040b587
add esp, 0x30
mov ecx, esi
call fcn.0040a2d2
mov ecx, edi
call fcn.0040a2d2
mov ecx, dword [ebp - 0x30]
call fcn.0040a2d2
mov ecx, ebx
call fcn.0040a2d2
pop edi
pop esi
pop ebx
leave
ret