Function at 0x40ba83
Capabilities:
Delete file
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetLastActivePopup]
xor esi, esi
cmp eax, esi
je 0x40baad
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_IsChild]
mov ebx, dword [ebp + 8]
push 1
push esi
push 7
push ebx
call fcn.0040c805
call fcn.0040c179
push 1
push esi
push 8
push ebx
call fcn.0040c805
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
lea ebx, [ebp - 0x3c]
lea esi, [ebp - 0x78]
mov dword [ebp - 0x3c], 0x2710
call fcn.0040d8aa
mov edi, 0x42b1d8
lea esi, [ebp - 0x38]
call fcn.00407f9b
mov esi, dword [ebp + 8]
lea ebx, [esi + 0xa8]
mov dword [ebp - 0x14], ebx
lea ebx, [esi + 0x9c]
mov dword [ebp - 0xc], ebx
lea eax, [esi + 0xb8]
lea ebx, [ebp - 0x38]
push ebx
push eax
lea ecx, [esi + 0xb4]
push ecx
lea edx, [esi + 0xb0]
push edx
lea edi, [esi + 0xac]
push edi
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
push dword [ebp - 0xc]
lea ecx, [ebp - 0x78]
push dword [esi + 0x8c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], edi
call fcn.0040e22e
mov eax, dword [ebp - 0x38]
add esp, 0x20
add eax, 0xfffffff0
call fcn.00408191
mov edi, esi
call fcn.0040c4fe
call fcn.0040c48a
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x40bbf8
cmp dword [esi + 0x88], ebx
je 0x40bbc3
cmp edi, 1
jne 0x40bbc3
lea esi, [ebp - 0x78]
call fcn.0040d915
lea ebx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x2711
call fcn.0040d8aa
mov eax, dword [ebp + 8]
lea ecx, [eax + 0xa4]
push ecx
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push dword [eax + 0x8c]
call fcn.0040e22e
mov esi, dword [ebp + 8]
add esp, 0x20
xor ebx, ebx
push 1
push edi
push 3
push esi
call fcn.0040c805
push str.check_false_rav_have_installed_
push edi
push ebx
push 2
lea eax, [esi + 0xd4]
mov dword [esi + 0x74], 1
call fcn.00401b49
lea esi, [ebp - 0x78]
call fcn.0040d915
mov eax, ebx
jmp 0x40be78
mov edi, 0x42abba
push edi
push ebx
push 1
lea eax, [esi + 0xd4]
push 2
mov dword [ebp - 0x18], eax
call fcn.00401b49
push 1
push ebx
push 5
push esi
call fcn.0040c805
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
mov eax, 0x2001f
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
call fcn.00409df4
mov ebx, 0x430fec
test eax, eax
jne 0x40bc8c
mov eax, dword [0x430fec]
mov ecx, ebx
call dword [eax + 0xc]
push dword [esi + 0xa4]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
push dword [eax]
lea eax, [ebp - 0x30]
push dword [esi + 0x78]
push str.__s___session__s__subkey__s
call fcn.00407c2d
add esp, 0x10
push dword [ebp - 0x30]
lea eax, [ebp - 0x6c]
push str.RavDown
push eax
call fcn.004097e7
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.00408191
push dword [esi + 0x7c]
push esi
call fcn.0040c855
test eax, eax
mov eax, dword [ebp - 0x18]
je 0x40bce9
push str.loacl_file_is_exist_then_begin_install_
xor edi, edi
push edi
push edi
push 3
call fcn.00401b49
xor ebx, ebx
inc ebx
push ebx
push edi
push 9
push esi
call fcn.0040c805
push esi
call fcn.0040c8e4
push dword [esi + 0x7c]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push edi
push 0xa
push esi
call fcn.0040c805
cmp dword [ebp - 0x6c], edi
je 0x40bbe9
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40bbe9
push edi
push 0
push 1
push 3
call fcn.00401b49
mov eax, dword [0x430fec]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
lea esi, [ebp - 0x78]
mov dword [ebp - 0x28], eax
call fcn.0040d915
lea ebx, [ebp - 0x44]
mov dword [ebp - 0x44], 0x2715
call fcn.0040d8aa
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 0x1c]
lea esi, [ebx + 0xa4]
push esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
push edi
push dword [ebp - 0x20]
mov dword [ebp - 0x34], esi
push dword [ebp - 0x24]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push dword [ebx + 0x8c]
call fcn.0040e22e
add esp, 0x20
lea eax, [ebp - 0x2c]
call fcn.0040d699
mov eax, dword [ebp - 0xc]
push dword [eax]
lea eax, [ebp - 0x28]
push 1
push dword [ebp - 0x2c]
push dword [edi]
push dword [ebx + 0xd0]
push dword [esi]
push str._tag_:___s___ver_:___d___actionid_:___s___company_:___s___result_:___d___guid_:___s_
call fcn.00407c2d
add esp, 0x1c
lea esi, [ebx + 0xa0]
push esi
lea eax, [ebp - 0x28]
call fcn.0040b9ed
push dword [esi]
mov eax, ebx
push str.http:__rsup10.rising.com.cn_Register_OnlineHelper_D_DLNew.aspx
push str._s_info_s
call fcn.00407c2d
add esp, 0xc
push dword [ebx]
xor edx, edx
lea ecx, [ebx + 4]
call fcn.0040638d
mov dword [ebp - 0x60], eax
cmp eax, 1
jne 0x40bdd6
mov edi, dword [ebx + 0x50]
lea esi, [ebp - 8]
call fcn.00407f9b
call fcn.0040d6f9
cmp eax, 0xffffffff
jne 0x40be7f
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00408191
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 0x70]
test eax, eax
jne 0x40bdef
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x40bd9e
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x40be35
lea esi, [ebp - 0x78]
call fcn.0040d915
lea ebx, [ebp - 0x64]
mov dword [ebp - 0x64], 0x2714
call fcn.0040d8aa
push dword [ebp - 0x34]
mov eax, dword [ebp + 8]
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push dword [eax + 0x8c]
call fcn.0040e22e
add esp, 0x20
mov eax, dword [ebp - 0x18]
push str.get_download_url_false
push dword [ebp - 0x60]
push 0
push 4
call fcn.00401b49
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.00408191
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00408191
cmp dword [ebp - 0x6c], 0
je 0x40be6e
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp - 0x78]
call fcn.0040d915
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
lea esi, [ebp - 8]
call fcn.0040d6f9
mov ecx, eax
lea edx, [ebp - 0x48]
mov eax, esi
call fcn.00408567
mov edi, ebx
call fcn.00407a1b
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
call fcn.00408191
mov eax, dword [ebp - 8]
mov edi, dword [eax - 0xc]
call fcn.0040d6f9
push str._info
sub edi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, edi
sub ecx, eax
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.0040d762
lea edi, [ebx + 0xa0]
call fcn.00407a1b
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
call fcn.00408191
push str.Rising.info
lea ecx, [ebp - 0x54]
push 0x42ac40
lea eax, [ebx + 0x84]
push ecx
call fcn.0040d7f5
pop ecx
pop ecx
lea ecx, [ebp - 0x50]
push ecx
call fcn.0040d7f5
pop ecx
pop ecx
push dword [eax]
push ebx
call fcn.0040d387
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
call fcn.00408191
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
call fcn.00408191
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00408191
mov eax, dword [ebp - 0x18]
mov edi, 0x42abba
push edi
push 0
push 1
push 4
call fcn.00401b49
push dword [ebx]
mov edx, dword [ebx + 0x7c]
lea ecx, [ebx + 4]
call fcn.0040638d
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x40bf6a
push dword [ebx + 0x7c]
push ebx
call fcn.0040c855
test eax, eax
jne 0x40bff8
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 0x70]
test eax, eax
jne 0x40bf83
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x40bf45
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x40bfc9
lea esi, [ebp - 0x78]
call fcn.0040d915
lea ebx, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x2714
call fcn.0040d8aa
push dword [ebp - 0x34]
mov eax, dword [ebp + 8]
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push dword [eax + 0x8c]
call fcn.0040e22e
add esp, 0x20
mov eax, dword [ebp - 0x18]
push edi
push dword [ebp - 0x60]
xor ebx, ebx
push ebx
push 5
call fcn.00401b49
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.00408191
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00408191
cmp dword [ebp - 0x6c], ebx
jmp 0x40bcd5
lea esi, [ebp - 0x78]
call fcn.0040d915
lea ebx, [ebp - 0x58]
mov dword [ebp - 0x58], 0x2712
call fcn.0040d8aa
push dword [ebp - 0x34]
mov esi, dword [ebp + 8]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push dword [esi + 0x8c]
call fcn.0040e22e
mov eax, dword [ebp - 0x18]
add esp, 0x20
push edi
xor ebx, ebx
push ebx
xor edi, edi
inc edi
push edi
push 5
call fcn.00401b49
push edi
push ebx
push 9
push esi
call fcn.0040c805
push esi
call fcn.0040c8e4
push edi
push ebx
push 0xa
push esi
call fcn.0040c805
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.00408191
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00408191
cmp dword [ebp - 0x6c], ebx
je 0x40c088
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp - 0x78]
call fcn.0040d915
mov eax, edi
jmp 0x40be78