Function at 0x43c460
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x453e41
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x4652b0]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4652b0]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov edi, ecx
push str.rsinstall:_CUninstall::Init_start
push 0x40
mov dword [esp + 0x34], edi
call fcn.004025a0
mov ebx, dword [esp + 0x38]
add esp, 8
add edi, 0x9c
mov ebp, 0x46655c
nop
mov ecx, dword [ebp]
lea eax, [esp + 0x18]
push eax
call fcn.004235c0
xor eax, eax
mov dword [esp + 0x148], eax
mov ecx, dword [edi + 0xc]
cmp ecx, eax
je 0x43c4e5
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x43c516
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x28]
push eax
push ebx
lea ecx, [esp + 0x20]
push ecx
push 1
push esi
call fcn.00404f90
add esp, 0x14
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x43c534
cmp ecx, esi
jbe 0x43c51f
call fcn.0043ec5c
mov eax, dword [edi]
push esi
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
mov eax, edi
call fcn.004045c0
mov dword [esp + 0x148], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c55f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 4
cmp ebp, 0x46658c
jl 0x43c4c0
mov esi, dword [esp + 0x2c]
xor edi, edi
xor ebx, ebx
mov dword [esi + 0x90], edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x18]
push ecx
push 0x2001f
push edi
mov dword [esp + 0x154], 1
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push str.SOFTWARE_risingRSE
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], edi
call ebp
cmp eax, edi
jne 0x43c5c0
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov eax, dword [esi + 0x78]
lea edi, [esi + 0x78]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x28], edi
jge 0x43c5ed
mov ecx, 0x104
mov eax, edi
call fcn.00404d80
mov esi, dword [edi]
lea edx, [esp + 0x18]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push 0
push str.installpath
push ebx
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43c630
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x43c622
cmp eax, 2
jne 0x43c630
test esi, esi
je 0x43c630
cmp dword [esp + 0x18], 0
jne 0x43c630
mov byte [esi], 0
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x43c64b
push ecx
push eax
call fcn.0043ecbd
add esp, 8
test eax, eax
jl 0x43caab
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x43caab
mov ebx, dword [esp + 0x2c]
mov dword [ecx - 0xc], eax
mov ecx, edi
mov edx, dword [ecx]
mov byte [eax + edx], 0
mov eax, dword [ebx + 0x7c]
lea esi, [ebx + 0x7c]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x104
or eax, ecx
jge 0x43c68e
mov ecx, 0x104
mov eax, esi
call fcn.00404d80
mov edi, dword [esi]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
push edi
lea ecx, [esp + 0x24]
push ecx
push 0
push str.datapath
push edx
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43c6d5
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x43c6c7
cmp eax, 2
jne 0x43c6d5
test edi, edi
je 0x43c6d5
cmp dword [esp + 0x18], 0
jne 0x43c6d5
mov byte [edi], 0
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x43c6f0
push ecx
push eax
call fcn.0043ecbd
add esp, 8
test eax, eax
jl 0x43caab
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x43caab
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
mov byte [eax + ecx], 0
mov ecx, ebx
call fcn.0043ccc0
lea edx, [esp + 0x18]
push edx
push 0x2001f
xor esi, esi
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], esi
call ebp
cmp eax, esi
jne 0x43c747
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x43c73b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
mov eax, dword [ebx + 0x84]
lea esi, [ebx + 0x84]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x104
or eax, ecx
jge 0x43c776
mov ecx, 0x104
mov eax, esi
call fcn.00404d80
mov edi, dword [esi]
mov eax, dword [esp + 0x20]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x18]
push ecx
push edi
lea edx, [esp + 0x24]
push edx
push 0
push str.Common_Programs
push eax
mov dword [esp + 0x30], 0x104
call ebp
test eax, eax
jne 0x43c7bf
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x43c7b1
cmp eax, 2
jne 0x43c7bf
test edi, edi
je 0x43c7bf
cmp dword [esp + 0x18], 0
jne 0x43c7bf
mov byte [edi], 0
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x43c7da
push ecx
push eax
call fcn.0043ecbd
add esp, 8
test eax, eax
jl 0x43caab
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x43caab
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
mov byte [eax + ecx], 0
mov eax, dword [ebx + 0x80]
lea esi, [ebx + 0x80]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x104
or eax, ecx
jge 0x43c81d
mov ecx, 0x104
mov eax, esi
call fcn.00404d80
mov edi, dword [esi]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x1c]
push edx
push edi
lea eax, [esp + 0x38]
push eax
push 0
push str.Common_Desktop
push ecx
mov dword [esp + 0x34], 0x104
call ebp
test eax, eax
jne 0x43c860
mov eax, dword [esp + 0x30]
cmp eax, 1
je 0x43c852
cmp eax, 2
jne 0x43c860
test edi, edi
je 0x43c860
cmp dword [esp + 0x1c], 0
jne 0x43c860
mov byte [edi], 0
mov eax, dword [esi]
mov ecx, dword [eax - 8]
xor ebp, ebp
cmp eax, ebp
jne 0x43c86f
xor eax, eax
jmp 0x43c881
push ecx
push eax
call fcn.0043ecbd
add esp, 8
cmp eax, ebp
jl 0x43caab
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x43caab
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
mov byte [eax + edx], 0
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x43c8a8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], ebp
mov eax, dword [ebx + 0x88]
lea esi, [ebx + 0x88]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x24], ebp
jge 0x43c8db
mov ecx, 0x104
mov eax, esi
call fcn.00404d80
mov eax, dword [esi]
push eax
push ebp
push ebp
push 0x1a
push ebp
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
cmp eax, ebp
jne 0x43c8f6
xor eax, eax
jmp 0x43c908
push ecx
push eax
call fcn.0043ecbd
add esp, 8
cmp eax, ebp
jl 0x43caab
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x43caab
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
push str.MicrosoftInternet_ExplorerQuick_Launch
push esi
mov edx, 0x29
mov byte [eax + ecx], 0
call fcn.00404c50
mov edx, dword [esp + 0x28]
mov esi, dword [edx]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub esi, 0x10
call edx
cmp dword [esi + 0xc], ebp
lea edx, [esi + 0xc]
jl 0x43c958
cmp eax, dword [esi]
jne 0x43c958
mov edi, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x43c98d
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
cmp edi, ebp
jne 0x43c971
call fcn.00404d70
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0043ed20
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x18], edi
push str.PreInstall.xml
lea edx, [esp + 0x1c]
push edx
mov edx, 0xf
mov byte [esp + 0x150], 2
call fcn.00404c50
push 0x103
lea eax, [esp + 0x39]
push 0
push eax
mov byte [esp + 0x40], 0
call fcn.00443400
mov ebp, dword [esp + 0x24]
lea edx, [esp + 0x40]
add esp, 0xc
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43c9d5
lea edx, [esp + 0x34]
mov eax, ebx
xor edi, edi
call fcn.0041dcc0
test al, al
jne 0x43cab5
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, 0x104
or eax, ecx
jge 0x43ca1a
mov ecx, 0x104
lea eax, [esp + 0x18]
call fcn.00404d80
mov ebp, dword [esp + 0x18]
push ebp
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [ebp - 8]
push eax
push ebp
call fcn.0043ecbd
add esp, 8
test eax, eax
jl 0x43caab
cmp eax, dword [ebp - 8]
jg 0x43caab
mov dword [ebp - 0xc], eax
mov byte [eax + ebp], 0
lea eax, [esp + 0x18]
call fcn.004041b0
push str._rseTMPPreInstall.xml
lea ecx, [esp + 0x1c]
push ecx
mov edx, 0x16
call fcn.00404c50
mov ebp, dword [esp + 0x18]
mov edx, ebp
mov eax, ebx
call fcn.0041dcc0
test al, al
jne 0x43caba
lea eax, [ebp - 0x10]
mov byte [esp + 0x148], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43ca95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43caa4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x43cc1d
push 0x80070057
call fcn.004059f0
mov edi, 1
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x43cbd6
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x43cade
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x43cac5
jmp 0x43cbd6
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov edx, eax
test edx, edx
je 0x43cbd6
mov ecx, str.PRODUCTNAME
call fcn.0041d580
test edi, edi
je 0x43cb3b
mov ebx, dword [esp + 0x2c]
add ebx, 0x98
test eax, eax
jne 0x43cb1e
xor ecx, ecx
push eax
mov edi, ecx
mov eax, ebx
call fcn.00404710
jmp 0x43cbd6
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x43cb23
sub ecx, esi
push eax
mov edi, ecx
mov eax, ebx
call fcn.00404710
jmp 0x43cbd6
lea esi, [ebx + 0x98]
test eax, eax
jne 0x43cb49
xor ecx, ecx
jmp 0x43cb59
mov ecx, eax
lea edi, [ecx + 1]
mov edi, edi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x43cb50
sub ecx, edi
push eax
mov edi, ecx
mov eax, esi
call fcn.00404710
mov eax, dword [esi]
mov edi, dword [ebx + 0x8c]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x104
or eax, ecx
jge 0x43cb8e
mov ecx, 0x104
mov eax, esi
call fcn.00404d80
mov eax, dword [esi]
push edi
push 0x104
push eax
push 0
mov ecx, eax
push ecx
push str.LANGUAGE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x43cbc2
push ecx
push eax
call fcn.0043ecbd
add esp, 8
test eax, eax
jl 0x43caab
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x43caab
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
mov byte [eax + ecx], 0
push str.rsinstall:_CUninstall::Init_end
push 0x40
call fcn.004025a0
lea eax, [ebp - 0x10]
add esp, 8
mov byte [esp + 0x148], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43cc09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43cc18
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0043defc
add esp, 0x138
ret