Function at 0x48f1f0
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get file attributes
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2427
mov eax, dword fs:[0]
push eax
sub esp, 0x400
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 7
mov word [ebp - 0x288], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
push 0x38
push eax
lea eax, [ebp - 0x408]
mov dword [ebp - 0x40c], 0x3c
push eax
call fcn.0056aed0
xor eax, eax
mov dword [ebp - 0x3f0], 1
add esp, 0xc
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
push eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x260]
push 0x105
lfence
call main
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
push dword [ebp - 0x250]
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x48f747
cmp eax, dword [ebp - 0x250]
ja 0x48f747
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x230]
push 0x105
lfence
call main
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
je 0x48f704
cmp eax, dword [ebp - 0x220]
ja 0x48f704
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x48f704
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0056aed0
lea eax, [ebp - 0x218]
push 0x104
push eax
call main
add esp, 0x14
test al, al
je 0x48f704
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call main
push 0xffffffffffffffff
push 0x5b76a8
lea ecx, [ebp - 0x248]
call main
cmp eax, 0xffffffff
je 0x48f704
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x248]
inc eax
test edi, edi
jne 0x48f422
push str.ADelRCP.exe
push 0xffffffffffffffff
push eax
call main
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x48f704
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5b1854]
mov ecx, ebx
call esi
jmp 0x48f467
push str.Click_on_Change_to_select_default_PDF_handler.pdf
push 0xffffffffffffffff
push eax
call main
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x48f704
mov dword [ebp - 0x408], 0xc
mov dword [ebp - 0x400], str.properties
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x3fc], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov dword [ebp - 0x3f4], eax
lea eax, [ebp - 0x40c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x260]
mov ebx, eax
cmovae ecx, dword [ebp - 0x260]
push ecx
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
push 0
push 2
push 6
call main
add esp, 0xc
test al, al
je 0x48f54d
push 0x5b8b88
push 0x5b8b98
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x48f54d
push 0x110
lea eax, [ebp - 0x398]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
mov dword [ebp - 0x39c], 0x114
lea eax, [ebp - 0x39c]
mov ecx, esi
push eax
call dword [0x5b1854]
call esi
test eax, eax
js 0x48f54d
cmp dword [ebp - 0x398], 0xa
jb 0x48f54d
push str.Program_Manager
push str.PROGMAN
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x48f54d
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test edi, edi
je 0x48f6eb
mov edi, 1
nop word [eax + eax]
push str.Click_on_Change_to_select_default_PDF_handler.pdf_Properties
push 0x5b7828
inc edi
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
jne 0x48f6a8
push str.Click_on_Change_to_select_default_PDF_handler_Properties
push 0x5b78b0
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
jne 0x48f6a8
mov dword [ebp - 0x3c0], eax
mov dword [ebp - 0x3bc], 7
mov word [ebp - 0x3d0], ax
mov dword [ebp - 0x3a8], eax
mov dword [ebp - 0x3a4], 7
mov word [ebp - 0x3b8], ax
push 0x2f
push str.Click_on_Change_to_select_default_PDF_handler
lea ecx, [ebp - 0x3d0]
mov byte [ebp - 4], 0x23
mov dword [ebp - 0x3a0], eax
call main
push 6
push str.32770
lea ecx, [ebp - 0x3b8]
call main
lea eax, [ebp - 0x3d0]
push eax
push 0x48fba0
push esi
call dword [sym.imp.USER32.dll_EnumDesktopWindows]
mov eax, dword [ebp - 0x3a0]
test eax, eax
cmovne esi, eax
mov eax, dword [ebp - 0x3a4]
mov byte [ebp - 4], 0x24
cmp eax, 8
jb 0x48f631
inc eax
lea ecx, [ebp - 0x3b8]
push eax
push dword [ebp - 0x3b8]
call main
xor eax, eax
mov dword [ebp - 0x3a8], 0
mov dword [ebp - 0x3a4], 7
mov word [ebp - 0x3b8], ax
mov eax, dword [ebp - 0x3bc]
mov byte [ebp - 4], 0x25
cmp eax, 8
jb 0x48f670
inc eax
lea ecx, [ebp - 0x3d0]
push eax
push dword [ebp - 0x3d0]
call main
xor eax, eax
mov dword [ebp - 0x3c0], 0
mov dword [ebp - 0x3bc], 7
mov word [ebp - 0x3d0], ax
mov byte [ebp - 4], 6
test esi, esi
jne 0x48f6a8
push 0x64
call dword [sym.imp.kernel32.dll_Sleep]
cmp edi, 0x32
jl 0x48f560
jmp 0x48f6eb
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea ecx, [ebp - 0x270]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x264]
cdq
push 5
push 0
and edx, 3
add eax, edx
sar eax, 2
push 0
push eax
mov eax, dword [ebp - 0x268]
cdq
and edx, 3
add eax, edx
sar eax, 2
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
test ebx, ebx
je 0x48f704
mov eax, dword [ebp - 0x404]
test eax, eax
je 0x48f700
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov bl, 1
jmp 0x48f706
xor bl, bl
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 0x2a
cmp eax, 8
jb 0x48f728
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call main
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
jmp 0x48f749
xor bl, bl
mov eax, dword [ebp - 0x24c]
mov byte [ebp - 4], 0x2b
cmp eax, 8
jb 0x48f76b
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call main
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov ecx, dword [ebp - 0x234]
mov byte [ebp - 4], 0x2c
cmp ecx, 8
jb 0x48f7ac
inc ecx
push ecx
push dword [ebp - 0x248]
lea ecx, [ebp - 0x248]
call main
jmp 0x48f7ac
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret 8