Function at 0x483290
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 0x55d157
mov eax, dword fs:[0]
push eax
sub esp, 0x400
mov eax, dword [0x5c7cec]
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 - 0x220], eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push 0x38
push eax
lea eax, [ebp - 0x408]
mov dword [ebp - 0x40c], 0x3c
push eax
call fcn.005290f0
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
push 0x105
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
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 0x48373f
cmp eax, dword [ebp - 0x250]
ja 0x48373f
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
push eax
push 0x105
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 3
call main
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
je 0x483730
cmp eax, dword [ebp - 0x238]
ja 0x483730
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x483730
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005290f0
lea eax, [ebp - 0x218]
push 0x104
push eax
call main
add esp, 0x14
test al, al
je 0x483730
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x483446
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call main
push 0xffffffffffffffff
push 0x56bd98
lea ecx, [ebp - 0x230]
call main
cmp eax, 0xffffffff
je 0x483730
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x230]
inc eax
test edi, edi
jne 0x4834d5
push str.ADelRCP.exe
push 0xffffffffffffffff
push eax
call main
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x483730
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5677a4]
mov ecx, ebx
call esi
jmp 0x48351a
push str.Click_on_Change_to_select_default_PDF_handler.pdf
push 0xffffffffffffffff
push eax
call main
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x483730
mov dword [ebp - 0x408], 0xc
mov dword [ebp - 0x400], str.properties
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
cmp dword [ebp - 0x234], 8
mov dword [ebp - 0x3fc], eax
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
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 0x483600
push str.RtlGetVersion
push 0x56b928
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x483600
push 0x114
lea eax, [ebp - 0x39c]
push 0
push eax
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0x39c], 0x114
lea eax, [ebp - 0x39c]
mov ecx, esi
push eax
call dword [0x5677a4]
call esi
test eax, eax
js 0x483600
cmp dword [ebp - 0x398], 0xa
jb 0x483600
push str.Program_Manager
push str.PROGMAN
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x483600
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test edi, edi
je 0x48370c
mov edi, 1
nop dword [eax]
push str.Click_on_Change_to_select_default_PDF_handler.pdf_Properties
push str.32770
inc edi
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
jne 0x4836c9
push str.Click_on_Change_to_select_default_PDF_handler_Properties
push str.32770
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
jne 0x4836c9
lea ecx, [ebp - 0x3d0]
call fcn.0047f4c0
push str.Click_on_Change_to_select_default_PDF_handler
lea ecx, [ebp - 0x3d0]
mov byte [ebp - 4], 4
mov dword [ebp - 0x3a0], esi
call main
push str.32770
lea ecx, [ebp - 0x3b8]
call main
lea eax, [ebp - 0x3d0]
push eax
push 0x4839e0
push esi
call dword [sym.imp.USER32.dll_EnumDesktopWindows]
mov eax, dword [ebp - 0x3a0]
lea ecx, [ebp - 0x3b8]
test eax, eax
mov byte [ebp - 4], 3
cmovne esi, eax
call main
lea ecx, [ebp - 0x3d0]
call main
test esi, esi
jne 0x4836c9
push 0x64
call dword [sym.imp.kernel32.dll_Sleep]
cmp edi, 0x32
jl 0x483610
jmp 0x48370c
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 0x483730
mov eax, dword [ebp - 0x404]
test eax, eax
je 0x483721
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
lea ecx, [ebp - 0x248]
mov bl, 1
call main
jmp 0x483741
lea ecx, [ebp - 0x248]
xor bl, bl
call main
jmp 0x483741
xor bl, bl
lea ecx, [ebp - 0x260]
call main
lea ecx, [ebp - 0x230]
call main
lea ecx, [ebp - 0x288]
call main
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.0040154f
mov esp, ebp
pop ebp
ret 8