Function at 0x4e4430
Capabilities:
Check if file exists
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d5a2
mov eax, dword fs:[0]
push eax
sub esp, 0x55c
mov eax, dword [0x5ef300]
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
xor ebx, ebx
lea eax, [ebp - 0x218]
push 0x208
push ebx
push eax
mov dword [ebp - 0x470], ebx
call fcn.0052dd20
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4e481f
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x4e481f
push 0x573900
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4e481f
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.004e4090
push 0x573914
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], ebx
call fcn.004e4220
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e4814
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.0052dd20
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x4e4814
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
je 0x4e4814
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
push 8
cmovae eax, dword [ebp - 0x438]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
je 0x4e4814
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x4e4814
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 0xffffffff
call fcn.004171a0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x450]
call fcn.004e4090
push str._subprocess.exe
lea ecx, [ebp - 0x450]
mov dword [ebp - 4], 1
call fcn.004e4220
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x468]
call fcn.004e4090
push str.cef_cache
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 2
call fcn.004e4220
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x478], ebx
mov dword [ebp - 0x474], ebx
mov dword [ebp - method.CefStructBase_struct_CefMainArgsTraits_.virtual_0], 0x5738ec
mov dword [ebp - 0x478], eax
push 0x30
mov byte [ebp - 4], 3
call fcn.0052b408
mov esi, eax
add esp, 4
mov dword [ebp - 0x46c], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x4e465e
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x488]
call fcn.004e3f60
mov ebx, 1
mov byte [ebp - 4], 5
push ebx
lea eax, [ebp - 0x488]
mov dword [ebp - 0x470], ebx
push eax
mov ecx, esi
call fcn.004e71d0
jmp 0x4e4660
xor eax, eax
push eax
lea ecx, [ebp - 0x46c]
mov dword [ebp - 4], 6
call fcn.004e40f0
mov dword [ebp - 4], 8
test bl, 1
je 0x4e468a
lea ecx, [ebp - 0x488]
call fcn.004e4120
mov esi, dword [ebp - 0x46c]
push 0
push ecx
mov ecx, esp
push esi
call fcn.004e40f0
lea eax, [ebp - 0x47c]
push eax
call fcn.004eac30
add esp, 0xc
test eax, eax
js 0x4e46b5
xor bl, bl
jmp 0x4e47e5
lea ecx, [ebp - 0x568]
call fcn.004e4050
cmp dword [ebp - 0x43c], 8
lea eax, [ebp - 0x450]
lea ecx, [ebp - 0x494]
mov byte [ebp - 4], 9
cmovae eax, dword [ebp - 0x450]
push eax
mov dword [ebp - 0x560], 1
mov dword [ebp - 0x544], 0
mov dword [ebp - 0x53c], 1
mov dword [ebp - 0x4a8], 0xffff00
mov dword [ebp - 0x4e4], 0x63
mov dword [ebp - 0x4b0], 1
call fcn.004e3fc0
mov edi, eax
lea eax, [ebp - 0x55c]
push eax
lea ecx, [ebp - 0x488]
call fcn.004e3f90
push edi
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.004e41e0
lea ecx, [ebp - 0x488]
call fcn.004e4120
lea ecx, [ebp - 0x494]
mov byte [ebp - 4], 9
call fcn.004e4120
cmp dword [ebp - 0x454], 8
lea eax, [ebp - 0x468]
lea ecx, [ebp - 0x488]
cmovae eax, dword [ebp - 0x468]
push eax
call fcn.004e3fc0
mov edi, eax
lea eax, [ebp - 0x534]
push eax
lea ecx, [ebp - 0x494]
call fcn.004e3f90
push edi
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.004e41e0
lea ecx, [ebp - 0x494]
call fcn.004e4120
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 9
call fcn.004e4120
push 0
push ecx
mov ecx, esp
push esi
call fcn.004e40f0
lea eax, [ebp - 0x568]
push eax
lea eax, [ebp - 0x47c]
push eax
call fcn.004ead10
add esp, 0x10
lea ecx, [ebp - 0x568]
test al, al
setne bl
call fcn.004e4160
lea ecx, [ebp - 0x46c]
call fcn.004e4180
lea ecx, [ebp - 0x468]
mov dword [ebp - method.CefStructBase_struct_CefMainArgsTraits_.virtual_0], vtable.CefStructBase_struct_CefMainArgsTraits_.0
call fcn.004171a0
lea ecx, [ebp - 0x450]
call fcn.004171a0
mov al, bl
jmp 0x4e4821
lea ecx, [ebp - 0x438]
call fcn.004171a0
xor al, al
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.0052b3fa
mov esp, ebp
pop ebp
ret