Function at 0x100042ce
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
push ebx
push esi
push edi
push 0x2b
xor eax, eax
mov dword [ebp - 0x40], 9
pop ebx
mov edx, eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x3c], 0x28
mov ecx, eax
mov dword [ebp - 0x38], 0x14
mov dword [ebp - 0x34], 0xffffff90
sub edx, dword [ebp + ecx*4 - 0x44]
inc ecx
cmp ecx, 5
jl 0x10004302
push 0x16
mov dword [ebp - 0x54], edx
mov ecx, eax
pop edx
mov dword [ebp - 0x50], 0x4b
mov dword [ebp - 0x4c], 0x45
mov dword [ebp - 0x48], 0xffffff61
add edx, dword [ebp + ecx*4 - 0x50]
inc ecx
cmp ecx, 3
jl 0x10004329
mov dword [ebp - 0x30], edx
mov ecx, eax
mov edx, 0x174
mov dword [ebp - 0x44], 0x35
mov dword [ebp - 0x40], 0x12
mov dword [ebp - 0x3c], 0xe
mov dword [ebp - 0x38], 0x42
mov dword [ebp - 0x34], 0xbe
sub edx, dword [ebp + ecx*4 - 0x44]
inc ecx
cmp ecx, 5
jl 0x10004360
mov ecx, dword [0x1002603c]
mov dword [ebp - 4], ecx
and ecx, 0xeb2a15e2
mov dword [ebp - 0x48], edx
mov edx, eax
mov dword [ebp - 0x18], 0x4c
mov dword [ebp - 0x14], 0x47
mov dword [ebp - 0x10], 0x2f
mov dword [ebp - 0xc], 0xffffff14
mov dword [ebp - 0x24], ecx
add ebx, dword [ebp + edx*4 - 0x18]
inc edx
cmp edx, 4
jl 0x1000439d
mov esi, str.HOWTOUSE_STEP1ICON
mov dword [ebp - 0x2c], ebx
lea edi, [ebp - 0x44]
mov dword [ebp - 0x1c], 0xa137acaf
mov dword [ebp - 0x18], 0x8ee6568e
mov ecx, eax
mov dword [ebp - 0x14], 0xe256b150
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], 0x7a07c882
mov byte [ebp - 0xc], 0xee
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 edi, eax
mov byte [ebp + ecx - 0x158], cl
inc ecx
cmp ecx, 0x100
jb 0x100043dd
mov esi, eax
xor edx, edx
mov bl, byte [ebp + esi - 0x158]
push 0x12
mov eax, esi
pop ecx
div ecx
movzx ecx, bl
movzx eax, byte [ebp + edx - 0x44]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [ebp + edi - 0x158]
mov byte [ebp + esi - 0x158], al
inc esi
mov byte [ebp + edi - 0x158], bl
cmp esi, 0x100
jb 0x100043ef
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 4]
xor esi, 0x5f83ad28
xor ebx, ebx
mov dword [ebp - 8], ebx
mov ecx, ebx
mov dword [ebp - 0x24], ebx
lea eax, [ecx + 1]
movzx eax, al
mov dword [ebp - 4], eax
mov cl, byte [ebp + eax - 0x158]
mov eax, dword [ebp - 8]
movzx edx, cl
add eax, edx
movzx ebx, al
mov eax, esi
imul eax, eax, 0x7d17d850
mov dword [ebp - 8], ebx
mov dword [ebp - 0x28], eax
mov al, byte [ebp + ebx - 0x158]
mov ebx, dword [ebp - 4]
mov byte [ebp + ebx - 0x158], al
mov eax, dword [ebp - 8]
mov byte [ebp + eax - 0x158], cl
mov eax, ebx
mov ebx, dword [ebp - 0x24]
mov ecx, str.avcfg:__settings_GamingMode_MaxTimeRunning
movzx eax, byte [ebp + eax - 0x158]
add eax, edx
mov edx, 0x110b
movzx eax, al
mov al, byte [ebp + eax - 0x158]
mov byte [ebp - 0x1d], al
movzx eax, byte [str.avcfg:__settings_GamingMode_MaxTimeRunning]
jmp 0x100044c3
add edx, eax
inc ecx
cmp edx, 0x21d2
ja 0x100044c9
movzx eax, byte [ecx]
test eax, eax
jne 0x100044b5
jmp 0x100044e8
call fcn.1000189a
push ecx
mov edi, esi
mov ecx, str.SciterWhois
push str.avcfg:__settings_GamingMode_MaxTimeRunning
or edi, 0xf53120c4
call fcn.1000133e
pop ecx
pop ecx
mov esi, edi
xor esi, 0x105114c9
mov al, byte [ebp + ebx - 0x1c]
xor al, byte [ebp - 0x1d]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
add edx, 0x8f18f339
mov byte [ebp + ebx - 0x44], al
inc ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ebx
cmp ebx, 0x11
jb 0x10004442
xor ebx, ebx
mov dword [ebp - 0x1c], 0x4c
mov byte [ebp - 0x33], bl
lea esi, [edx + 0x435ec157]
mov ecx, ebx
mov dword [ebp - 0x18], 0x61
mov dword [ebp - 0x14], 0x10
mov eax, ebx
mov dword [ebp - 0x10], 0x21
mov dword [ebp - 0xc], 0xffffff22
sub ecx, dword [ebp + eax*4 - 0x1c]
inc eax
cmp eax, 5
jl 0x10004549
mov dword [ebp - 0x24], ebx
xor esi, 0x662c88e1
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 4], 0x4d
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x14], 0x51
mov dword [ebp - 0x10], 0x60
mov dword [ebp - 0xc], 0xffffff00
push 0x53
mov ecx, str.SciterWhois
pop edx
lea eax, [edx - 0x30]
push 9
pop edx
cmp ax, dx
ja 0x100045a7
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x1000458d
jmp 0x100045ad
lea edi, [ebx - 0x445fb581]
lea edx, [edi - 0x54d51701]
call fcn.1000120e
mov eax, dword [ebp - 0x24]
mov edi, esi
mov ecx, dword [ebp - 4]
add ecx, dword [ebp + eax*4 - 0x18]
inc eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x24], eax
cmp eax, 4
jl 0x10004585
lea eax, [esi - 0xbf9573c]
mov dword [0x1002603c], edi
and esi, 0xe40c7b5f
mov dword [0x100261a0], eax
push 0x5b
xor ebx, ebx
mov dword [ebp - 0x14], 0x5a
pop ecx
mov dword [ebp - 0x10], 0x62
mov eax, ebx
mov dword [ebp - 0xc], 0xfffffee9
mov dword [0x100261c0], esi
add ecx, dword [ebp + eax*4 - 0x14]
inc eax
cmp eax, 3
jl 0x10004609
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x44]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
call fcn.1001ab39
call eax
mov esi, eax
mov ecx, ebx
mov dword [ebp - 0x2c], esi
inc ecx
cmp ecx, 0x11ed
je 0x10004649
cmp byte [ecx + str.._AV_lambda_321ae88f6264cfe2c01e671297bbf756___], bl
jne 0x10004630
mov edx, dword [0x1002603c]
jmp 0x1000465b
mov edx, dword [0x100261c0]
or edx, 0xf6a7ec57
mov dword [0x1002603c], edx
mov eax, edx
or eax, 0xe1a9e6bc
mov dword [0x100261a0], eax
push ecx
and edx, 0xd73bd14f
push ecx
mov ecx, str.SciterWhois
mov dword [0x100261c0], edx
call fcn.10001bd7
push dword [ebp - 0x58]
lea eax, [ebp - 8]
push 4
push eax
push dword [ebp - 0x30]
push esi
call fcn.1001b321
add esp, 0x1c
test eax, eax
jne 0x100046e1
cmp dword [ebp - 8], ebx
je 0x100046e1
mov dword [ebp - 0x18], 0x11
mov dword [ebp - 0x14], 0x54
mov dword [ebp - 0x10], 0x1e
mov dword [ebp - 0xc], 0xffffff37
movups xmm1, xmmword [ebp - 0x18]
movaps xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd eax, xmm1
add eax, 0x47
jmp 0x1000480b
movzx edi, byte [str.avcfg:__settings_GamingMode_MaxTimeRunning]
mov ecx, 0x3bd
mov eax, str.avcfg:__settings_GamingMode_MaxTimeRunning
mov edx, edi
test edi, edi
je 0x1000470a
add ecx, edx
inc eax
cmp ecx, 0x190d
ja 0x1000474a
movzx edx, byte [eax]
test edx, edx
jne 0x100046f8
mov esi, dword [0x1002603c]
lea eax, [esi + 0x50102aad]
mov edx, 0x1bb5
mov dword [0x100261a0], eax
mov ecx, str.avcfg:__settings_GamingMode_MaxTimeRunning
mov eax, dword [0x100261c0]
or eax, 0x1c47766
mov dword [ebp - 0x30], eax
test edi, edi
je 0x10004791
add edx, edi
inc ecx
cmp edx, 0x1b18
ja 0x1000476d
movzx edi, byte [ecx]
test edi, edi
jne 0x10004736
jmp 0x100047a1
mov esi, dword [0x100261a0]
mov edx, esi
push esi
push str.SciterWhois
call fcn.1000124c
pop ecx
xor esi, 0x70611450
pop ecx
mov dword [0x1002603c], esi
jmp 0x10004710
push ecx
push str.avcfg:__settings_GamingMode_MaxTimeRunning
mov edx, eax
lea ecx, [esi + 0x50102aad]
call fcn.10001c3e
mov eax, esi
and eax, 0xfc0e61f
pop ecx
mov dword [0x100261a0], eax
mov eax, dword [ebp - 0x30]
pop ecx
push ecx
push ecx
mov edx, eax
mov ecx, str.SciterWhois
call fcn.10001bd7
pop ecx
pop ecx
push dword [ebp - 4]
lea eax, [ebp - 8]
or esi, 0x3998a92b
push 4
push eax
push dword [ebp - 0x48]
mov dword [0x100261c0], esi
push dword [ebp - 0x2c]
call fcn.1001b321
add esp, 0x14
test eax, eax
jne 0x10004808
cmp dword [ebp - 8], ebx
jne 0x10004808
push 0x52
pop eax
mov dword [ebp - 0x4c], 0x5a
mov dword [ebp - 0x48], 0xffffff55
add eax, dword [ebp + ebx*4 - 0x4c]
inc ebx
cmp ebx, 2
jl 0x100047de
mov ecx, dword [0x100261a0]
add ecx, 0x85abdc7d
mov dword [0x1002603c], ecx
imul ecx, ecx, 0x9d12a34b
mov dword [0x100261c0], ecx
jmp 0x1000480b
mov eax, dword [ebp - 0x28]
pop edi
pop esi
pop ebx
leave
ret