Function at 0x1000b610
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1001b0c0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10023050]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [0x10023e90]
test esi, esi
je 0x1000b89f
mov eax, dword [0x10023afc]
mov edx, dword [eax + 0xc]
mov ecx, 0x10023afc
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [edi + 0x10]
mov dword [esp + 0x90], 0
call fcn.1000bd90
lea ebx, [esp + 0x14]
call fcn.1000c020
push str._rsd.exe
mov eax, ebx
push eax
mov edx, 8
call fcn.1000c3c0
push esi
mov esi, dword [esp + 0x18]
mov eax, esi
call fcn.1000b8c0
test eax, eax
je 0x1000b878
lea ecx, [esp + 0x24]
push ecx
mov dword [edi + 0x24], 1
call fcn.1000e630
mov byte [esp + 0x90], 1
mov edx, dword [0x10023afc]
mov eax, dword [edx + 0xc]
mov ecx, 0x10023afc
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0x90], 2
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x1000b700
mov ecx, 0x104
lea eax, [esp + 0x18]
call fcn.10002ae0
mov esi, dword [esp + 0x18]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [esi - 8]
push eax
push esi
call dword [sym.imp.MSVCR90.dll_strnlen]
add esp, 8
test eax, eax
jl 0x1000b86e
cmp eax, dword [esi - 8]
jg 0x1000b86e
push str.rsddown
lea ecx, [esp + 0x1c]
mov dword [esi - 0xc], eax
push ecx
mov edx, 7
mov byte [eax + esi], 0
call fcn.1000c3c0
mov ebx, dword [esp + 0x18]
add ebx, 0xfffffff0
mov eax, ebx
call fcn.1000c1b0
lea ebp, [eax + 0x10]
mov dword [esp + 0x20], ebp
push ebp
push edi
mov byte [esp + 0x98], 3
call fcn.10006280
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x24], 0
call fcn.100061d0
test eax, eax
mov eax, dword [esp + 0x1c]
je 0x1000b78d
test eax, eax
je 0x1000b7ab
push eax
push str.Failed_to_RunApp_rsd___d.
push 0
push 4
mov esi, 0x10023490
call fcn.10003ad0
add esp, 0x10
mov dword [edi + 0x24], 0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebp
push edi
call fcn.100063a0
call fcn.10005d90
test eax, eax
je 0x1000b7d0
push edi
call fcn.10005eb0
test eax, eax
jne 0x1000b7ed
push str.RSD_install_error_
push 0
push 4
mov esi, 0x10023490
call fcn.10003ad0
add esp, 0xc
mov dword [edi + 0x24], 0
mov edi, dword [edi + 0x24]
add ebp, 0xfffffff0
mov byte [esp + 0x90], 2
lea edx, [ebp + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x1000b815
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov byte [esp + 0x90], 1
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b836
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
lea ecx, [esp + 0x24]
call fcn.1000e860
mov dword [esp + 0x90], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b86a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x1000b8a1
push 0x80070057
call fcn.10002bf0
lea eax, [esi - 0x10]
mov dword [esp + 0x90], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b89f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret