Function at 0x40a8f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4228b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push ebp
push esi
push edi
mov esi, ecx
push str.CRsMgrSvc::Handle.
push 0x80
mov dword [esp + 0x40], esi
call fcn.004062b0
xor ebp, ebp
add esp, 8
mov dword [esp + 0x18], 0x424810
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov edi, dword [esp + 0xd0]
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0xcc], ebp
call fcn.004038c0
mov eax, dword [0x42c534]
mov ecx, 0x42c534
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov edx, dword [0x42c534]
mov ecx, 0x42c534
mov byte [esp + 0xc8], 1
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
lea ebx, [esi + 0x22c]
push ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0xcc], 2
mov dword [esp + 0x48], ebx
call fcn.00409be0
push str._exit
lea ecx, [esp + 0x1c]
mov byte [esp + 0xcc], 3
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x38], ebp
call fcn.004037c0
cmp eax, 0xffffffff
lea ecx, [esp + 0x18]
je 0x40aa68
push str._rsstub
call fcn.004037c0
cmp eax, 0xffffffff
jne 0x40a9df
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0xc8], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aa05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0xc8], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aa2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0xc8], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aa51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x40aa60
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
or eax, 0xffffffff
jmp 0x40b343
push str._update
call fcn.004037c0
cmp eax, 0xffffffff
je 0x40ace3
push ebx
lea eax, [esp + 0x14]
push str.__supdater.exe_
push eax
call fcn.00408960
push ebx
lea ecx, [esp + 0x38]
push str._supdater.exe
push ecx
call fcn.00408960
mov edx, dword [0x42c534]
add esp, 0x18
mov ecx, 0x42c534
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
push ebx
lea eax, [esp + 0x28]
push str._sRsMgrSvc.ini
push eax
mov byte [esp + 0xd4], 4
call fcn.00408960
push ebp
call fcn.00416e5a
mov dword [esp + 0x50], edx
mov edx, dword [0x42c534]
add esp, 0x10
mov ecx, 0x42c534
mov dword [esp + 0x3c], eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x30], eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0xcc], 5
call fcn.00416a61
add esp, 4
cmp eax, ebp
je 0x40ab12
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
jmp 0x40ab1a
mov dword [esp + 0x14], 0xffffffff
lea edx, [esp + 0x3c]
push edx
call fcn.00416a61
add esp, 4
cmp eax, ebp
je 0x40ab30
mov ebx, dword [eax + 4]
jmp 0x40ab33
or ebx, 0xffffffff
lea eax, [esp + 0x3c]
push eax
call fcn.00416a61
add esp, 4
cmp eax, ebp
je 0x40ab49
mov ebp, dword [eax + 8]
jmp 0x40ab4c
or ebp, 0xffffffff
lea ecx, [esp + 0x3c]
push ecx
call fcn.00416a61
add esp, 4
test eax, eax
je 0x40ab62
mov edi, dword [eax + 0xc]
jmp 0x40ab64
xor edi, edi
lea edx, [esp + 0x3c]
push edx
call fcn.00416a61
add esp, 4
test eax, eax
je 0x40ab7b
mov esi, dword [eax + 0x10]
inc esi
jmp 0x40ab7d
xor esi, esi
lea eax, [esp + 0x3c]
push eax
call fcn.00416a61
add esp, 4
test eax, eax
je 0x40ab98
mov eax, dword [eax + 0x14]
add eax, 0x76c
jmp 0x40ab9a
xor eax, eax
mov ecx, dword [esp + 0x14]
push ecx
push ebx
push ebp
push edi
push esi
push eax
lea edx, [esp + 0x48]
push str._.4d__.2d__.2d__.2d:_.2d:_.2d
push edx
call fcn.00408960
mov eax, dword [0x42c534]
add esp, 0x20
mov ecx, 0x42c534
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push str._subkey
lea ecx, [esp + 0x1c]
mov byte [esp + 0xcc], 6
call fcn.004037c0
cmp eax, 0xffffffff
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
je 0x40ac2e
inc eax
test eax, eax
jg 0x40abfc
cmp eax, dword [esp + 0x1c]
jle 0x40abfc
xor eax, eax
jmp 0x40ac04
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + eax*4 - 4]
push eax
lea ecx, [esp + 0x18]
call fcn.004091f0
mov esi, dword [esp + 0x14]
push ebp
push ebx
push esi
push str.Update
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov edx, dword [esp + 0x38]
mov dword [edx + 0x43c], 1
push 0x425a60
lea ecx, [esp + 0x1c]
call fcn.004037c0
mov edi, eax
cmp edi, 0xffffffff
je 0x40ac74
push str.__uc
lea ecx, [esp + 0x14]
call fcn.00409140
lea eax, [edi + 1]
test eax, eax
jg 0x40ac62
cmp eax, dword [esp + 0x1c]
jle 0x40ac62
xor eax, eax
jmp 0x40ac6a
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + eax*4 - 4]
push eax
lea ecx, [esp + 0x14]
call fcn.00409140
lea eax, [esi - 0x10]
mov byte [esp + 0xc8], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ac96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov byte [esp + 0xc8], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40acb8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0xc8], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b0e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x40b0e9
push str._backup
lea ecx, [esp + 0x1c]
call fcn.004037c0
cmp eax, 0xffffffff
je 0x40ad26
push ebx
lea eax, [esp + 0x14]
push str.__s_rsbackup.exe_
push eax
call fcn.00408960
push ebx
lea ecx, [esp + 0x38]
push str._s_rsbackup.exe
push ecx
call fcn.00408960
add esp, 0x18
mov dword [esp + 0x48], 1
jmp 0x40b0e9
push str._run
lea ecx, [esp + 0x1c]
call fcn.004037c0
cmp eax, 0xffffffff
lea ecx, [esp + 0x18]
je 0x40ae59
push str._binpath
call fcn.004037c0
cmp eax, 0xffffffff
je 0x40ad84
lea esi, [eax + 1]
push esi
lea ecx, [esp + 0x1c]
call fcn.004035c0
push eax
lea edx, [esp + 0x14]
push str.__s_
push edx
call fcn.00408960
add esp, 0xc
push esi
lea ecx, [esp + 0x1c]
call fcn.004035c0
push eax
lea ecx, [esp + 0x2c]
call fcn.004091f0
push str._argument
lea ecx, [esp + 0x1c]
call fcn.004037c0
mov esi, eax
cmp esi, 0xffffffff
je 0x40adbc
push 0x4251f4
lea ecx, [esp + 0x14]
call fcn.00409140
inc esi
push esi
lea ecx, [esp + 0x1c]
call fcn.004035c0
push eax
lea ecx, [esp + 0x14]
call fcn.00409140
lea ecx, [esp + 0x4c]
call fcn.00402150
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc8], 7
call fcn.00402110
test eax, eax
jne 0x40ae45
mov esi, dword [esp + 0x28]
push esi
lea ecx, [esp + 0x18]
call fcn.00409b40
lea ecx, [esp + 0x24]
call fcn.004019b0
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0xd0], 9
call fcn.00401c70
test eax, eax
jne 0x40b062
mov edx, dword [esp + 0x24]
push str.Beijing_Rising_Information_Technology_Corporation_Limited
push edx
call fcn.00416716
add esp, 8
test eax, eax
jne 0x40b062
lea ecx, [esp + 0x24]
call fcn.00414fe0
lea ecx, [esp + 0x14]
call fcn.00414fe0
jmp 0x40b0d8
push str.Failed_to_call_vf.Init.
push 4
call fcn.004062b0
add esp, 8
jmp 0x40b0d8
push str._highrun
call fcn.004037c0
cmp eax, 0xffffffff
je 0x40b0e9
push str._binpath
lea ecx, [esp + 0x1c]
call fcn.004037c0
cmp eax, 0xffffffff
je 0x40aeb3
lea esi, [eax + 1]
push esi
lea ecx, [esp + 0x1c]
call fcn.004035c0
push eax
lea eax, [esp + 0x14]
push str.__s_
push eax
call fcn.00408960
add esp, 0xc
push esi
lea ecx, [esp + 0x1c]
call fcn.004035c0
push eax
lea ecx, [esp + 0x2c]
call fcn.004091f0
push str._argument
lea ecx, [esp + 0x1c]
call fcn.004037c0
mov esi, eax
cmp esi, 0xffffffff
je 0x40af78
push 0x4251f4
lea ecx, [esp + 0x14]
call fcn.00409140
inc esi
push esi
lea ecx, [esp + 0x1c]
call fcn.004035c0
push eax
lea ecx, [esp + 0x34]
call fcn.00409be0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
mov bl, 0xa
push str._argument
mov byte [esp + 0xd0], bl
call fcn.00409be0
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0xd4], 0xb
call fcn.00405d20
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push edi
mov byte [esp + 0xd8], 0xc
call fcn.00409ac0
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0xd8], bl
call fcn.004083b0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xcc], 0xd
call fcn.00409230
lea ecx, [esp + 0x34]
call fcn.00414fe0
lea ecx, [esp + 0x30]
mov byte [esp + 0xc8], 3
call fcn.00414fe0
push str._workdir
lea ecx, [esp + 0x1c]
call fcn.004037c0
mov esi, eax
cmp esi, 0xffffffff
je 0x40afe0
lea ecx, [esp + 0x14]
call fcn.004019b0
inc esi
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0xcc], 0xe
call fcn.004035c0
push eax
lea ecx, [esp + 0x18]
call fcn.004091f0
lea ecx, [esp + 0x14]
call fcn.00404aa0
mov ecx, dword [esp + 0x44]
push 0x207
push eax
push ecx
call fcn.00416488
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0xc8], 3
call fcn.00414fe0
lea ecx, [esp + 0x4c]
call fcn.00402150
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc8], 0xf
call fcn.00402110
test eax, eax
jne 0x40b0c1
mov esi, dword [esp + 0x28]
push esi
lea ecx, [esp + 0x18]
call fcn.00409b40
lea ecx, [esp + 0x24]
call fcn.004019b0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xd0], 0x11
call fcn.00401c70
test eax, eax
jne 0x40b062
mov ecx, dword [esp + 0x24]
push str.Beijing_Rising_Information_Technology_Corporation_Limited
push ecx
call fcn.00416716
add esp, 8
test eax, eax
jne 0x40b062
lea ecx, [esp + 0x24]
call fcn.00414fe0
lea ecx, [esp + 0x14]
call fcn.00414fe0
jmp 0x40b0d0
push esi
push str.Failed_to_Verify_the___s_.
push 4
call fcn.004062b0
add esp, 0xc
lea ecx, [esp + 0x24]
call fcn.00414fe0
lea ecx, [esp + 0x14]
call fcn.00414fe0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc8], 3
call fcn.004021c0
lea ecx, [esp + 0x2c]
call fcn.00414fe0
lea ecx, [esp + 0x28]
call fcn.00414fe0
lea ecx, [esp + 0x10]
call fcn.00414fe0
lea ecx, [esp + 0x18]
call fcn.00403590
or eax, 0xffffffff
jmp 0x40b343
push str.Failed_to_call_vf.Init.
push 4
call fcn.004062b0
add esp, 8
mov dword [esp + 0x34], 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc8], 3
call fcn.004021c0
push str._tray
lea ecx, [esp + 0x1c]
call fcn.004037c0
cmp eax, 0xffffffff
je 0x40b10c
push 6
push str.__tray
lea ecx, [esp + 0x18]
call fcn.00405e10
push str._silence
lea ecx, [esp + 0x1c]
call fcn.004037c0
cmp eax, 0xffffffff
je 0x40b12f
push 9
push str.__silence
lea ecx, [esp + 0x18]
call fcn.00405e10
push str._lang
lea ecx, [esp + 0x1c]
call fcn.004037c0
mov esi, eax
cmp esi, 0xffffffff
je 0x40b1ac
push 7
push str.__lang
lea ecx, [esp + 0x18]
call fcn.00405e10
lea eax, [esi + 1]
test eax, eax
jg 0x40b176
cmp eax, dword [esp + 0x1c]
jle 0x40b176
mov ebx, dword [esp + 0x20]
xor eax, eax
xor edx, edx
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00405e10
jmp 0x40b1b0
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx + eax*4 - 4]
test edx, edx
jne 0x40b191
xor eax, eax
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00405e10
jmp 0x40b1b0
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b196
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00405e10
jmp 0x40b1b0
mov ebx, dword [esp + 0x20]
push str._subkey
lea ecx, [esp + 0x1c]
call fcn.004037c0
mov esi, eax
cmp esi, 0xffffffff
je 0x40b214
push 9
push str.__subkey
lea ecx, [esp + 0x18]
call fcn.00405e10
lea eax, [esi + 1]
test eax, eax
jg 0x40b1e8
cmp eax, dword [esp + 0x1c]
jle 0x40b1e8
xor edx, edx
xor eax, eax
jmp 0x40b209
mov edx, dword [ebx + eax*4 - 4]
test edx, edx
jne 0x40b1f4
xor eax, eax
jmp 0x40b209
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b200
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00405e10
push str._session
lea ecx, [esp + 0x1c]
or esi, 0xffffffff
call fcn.004037c0
cmp eax, 0xffffffff
je 0x40b248
inc eax
test eax, eax
jg 0x40b239
cmp eax, dword [esp + 0x1c]
jle 0x40b239
xor eax, eax
jmp 0x40b23d
mov eax, dword [ebx + eax*4 - 4]
push eax
call fcn.0041707c
add esp, 4
mov esi, eax
push str._logon
lea ecx, [esp + 0x1c]
call fcn.004037c0
cmp eax, 0xffffffff
jne 0x40b263
mov eax, dword [esp + 0x48]
test eax, eax
je 0x40b27b
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push 1
push esi
push ebp
push edi
call fcn.00407df0
jmp 0x40b28f
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push esi
push ebp
push edi
call fcn.00406990
mov esi, eax
mov eax, dword [esp + 0x34]
neg esi
sbb esi, esi
inc esi
test eax, eax
je 0x40b2cc
mov eax, dword [esp + 0x2c]
cmp dword [eax - 4], 1
jle 0x40b2b9
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x30]
call fcn.00404650
mov eax, dword [esp + 0x2c]
push 0x207
push eax
mov eax, dword [esp + 0x4c]
push eax
call fcn.00416488
add esp, 0xc
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0xc8], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b2f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0xc8], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b314
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0xc8], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b336
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test ebx, ebx
je 0x40b341
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xbc
ret 8