Function at 0x467e50
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 0x5226a7
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x579630]
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 edi, ecx
xor eax, eax
mov dword [ebp - 0x274], 7
mov dword [ebp - 0x278], 0
mov word [ebp - 0x288], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], eax
mov word [ebp - 0x248], ax
push 0x38
push eax
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0x2c4], 0x3c
push eax
call fcn.004f9050
xor eax, eax
mov dword [ebp - 0x2a8], 1
add esp, 0xc
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
push eax
push 0x105
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.0040e250
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 0x46828d
cmp eax, dword [ebp - 0x250]
ja 0x46828d
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
push eax
push 0x105
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 3
call fcn.0040e250
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 0x468255
cmp eax, dword [ebp - 0x220]
ja 0x468255
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmovae eax, dword [ebp - 0x230]
push eax
call ebx
test eax, eax
je 0x468255
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004f9050
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00466b30
add esp, 0x14
test al, al
je 0x468255
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.0040b8c0
push 0xffffffffffffffff
push 0x52fbd8
lea ecx, [ebp - 0x248]
call fcn.00468860
cmp eax, 0xffffffff
je 0x468255
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x248]
inc eax
test esi, esi
jne 0x46807c
push str.ADelRCP.exe
push 0xffffffffffffffff
push eax
call fcn.004349c0
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 0x468255
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
jmp 0x4680c1
push str.Click_on_Change_to_select_default_PDF_handler.pdf
push 0xffffffffffffffff
push eax
call fcn.004349c0
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 0x468255
mov dword [ebp - 0x2c0], 0xc
mov dword [ebp - 0x2b8], str.properties
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x2b4], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0x2c4]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x2fc], eax
cmovae ecx, dword [ebp - 0x260]
push ecx
call ebx
call fcn.00467d10
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
test al, al
je 0x468145
push str.Program_Manager
push str.PROGMAN
call ebx
test eax, eax
je 0x468145
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test esi, esi
je 0x468237
mov edi, 1
push str.Click_on_Change_to_select_default_PDF_handler.pdf_Properties
push str.32770
inc edi
call ebx
mov esi, eax
test esi, esi
jne 0x4681f4
push str.Click_on_Change_to_select_default_PDF_handler_Properties
push str.32770
call ebx
mov esi, eax
test esi, esi
jne 0x4681f4
lea ecx, [ebp - 0x2f8]
call fcn.004656c0
push str.Click_on_Change_to_select_default_PDF_handler
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 4
mov dword [ebp - 0x2c8], esi
call fcn.0042ec80
push str.32770
lea ecx, [ebp - 0x2e0]
call fcn.0042ec80
lea eax, [ebp - 0x2f8]
push eax
push 0x468760
push esi
call dword [sym.imp.USER32.dll_EnumDesktopWindows]
mov eax, dword [ebp - 0x2c8]
lea ecx, [ebp - 0x2f8]
test eax, eax
mov byte [ebp - 4], 3
cmovne esi, eax
call fcn.0040d4f0
test esi, esi
jne 0x4681f4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0x32
jl 0x468152
jmp 0x468237
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]
cmp dword [ebp - 0x2fc], 0
je 0x468255
mov eax, dword [ebp - 0x2bc]
test eax, eax
je 0x468251
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov bl, 1
jmp 0x468257
xor bl, bl
cmp dword [ebp - 0x21c], 8
jb 0x46826e
push dword [ebp - 0x230]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
jmp 0x46828f
xor bl, bl
cmp dword [ebp - 0x24c], 8
jb 0x4682a6
push dword [ebp - 0x260]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x24c], 7
cmp dword [ebp - 0x234], 8
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
jb 0x4682da
push dword [ebp - 0x248]
call fcn.004085be
add esp, 4
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.00401590
mov esp, ebp
pop ebp
ret 8