Function at 0x401980
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get program files directory

Disassembly:
sub esp, 0x68c
mov eax, dword [0x427074]
xor eax, esp
mov dword [esp + 0x684], eax
push esi
push edi
push 0x18f
push 5
push 1
push str._d._d._d
mov esi, ecx
call fcn.004044e0
add esp, 0x10
call fcn.00401760
test eax, eax
jne 0x4019c8
push 0x195
push 5
push 0x100
jmp 0x401c9d
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x7a]
push ecx
mov word [esp + 0x7c], ax
call fcn.004120b0
add esp, 0xc
push 0x99
push 3
push 1
push str._d._d._d
call fcn.004044e0
push str.SOFTWARERisingRSE
lea edi, [esp + 0x84]
mov edx, str.installpath
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.004014b0
add esp, 0x14
test eax, eax
jne 0x401a6e
push 0x1a1
push 5
push 1
push str._d._d._d
call fcn.004044e0
add esp, 0x10
mov edx, edi
push edx
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x401a62
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1a7
push 5
call fcn.004010c0
add esp, 0xc
push 0x1ab
jmp 0x401c96
push str.Internet_Exploreriexplore.exe
lea eax, [esp + 0x74]
push eax
jmp 0x401a8e
push 0x1b6
push 5
push 1
push str._d._d._d
call fcn.004044e0
add esp, 0x10
push str.rccb.exe
lea ecx, [esp + 0x74]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x401ac3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1bf
push 5
call fcn.004010c0
add esp, 0xc
push 0x1c3
jmp 0x401c96
xor eax, eax
push 0x40
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x24], 0
call fcn.004120b0
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x282]
mov ecx, 5
push eax
mov dword [esp + 0x34], 0x44
mov dword [esp + 0x60], 1
mov word [esp + 0x64], cx
mov word [esp + 0x284], dx
call fcn.004120b0
add esp, 0xc
push esi
lea ecx, [esp + 0x74]
push ecx
push str.__s___s
mov eax, 0x104
lea edi, [esp + 0x284]
call fcn.00403420
add esp, 0xc
push 0x1d3
push 5
push 1
push str._d._d._d
call fcn.004044e0
add esp, 0x10
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov ecx, edi
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x401c7b
call fcn.00401000
push 0x1e5
push 5
push 1
push str._d._d._d
call fcn.004044e0
mov edx, dword [esp + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x2c]
add esp, 0x10
push edx
call edi
push esi
call edi
xor eax, eax
lea ecx, [esp + 8]
push ecx
mov word [esp + 0xc], ax
mov dword [esp + 0xe], eax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov word [esp + 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x48a]
push eax
mov word [esp + 0x48c], dx
call fcn.004120b0
movzx ecx, word [esp + 0x1c]
movzx edx, word [esp + 0x1a]
movzx eax, word [esp + 0x16]
add esp, 0xc
push ecx
movzx ecx, word [esp + 0xc]
push edx
push eax
push ecx
push str._04d._02d._02d._02d
lea edx, [esp + 0x494]
push 0x104
push edx
call fcn.0040b0af
add esp, 0x1c
push 0x1f5
push 5
push 1
push str._d._d._d
call fcn.004044e0
push 0xda
push 4
push 1
push str._d._d._d
call fcn.004044e0
add esp, 0x20
lea eax, [esp + 0x480]
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00401640
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x684]
xor ecx, esp
call fcn.0040b0a0
add esp, 0x68c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x203
push 5
call fcn.004010c0
add esp, 0xc
push 0x207
push 5
push 0x1000
push str._d._d._d
call fcn.004044e0
mov ecx, dword [esp + 0x69c]
add esp, 0x10
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0040b0a0
add esp, 0x68c
ret