Function at 0x42a4e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb26c
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x53e300]
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 esi, ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049a420
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.DrvMgrDrvMgr.exe
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42a781
mov eax, dword [0x566da4]
test al, 1
jne 0x42a5b0
or eax, 1
mov dword [0x566da4], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x505840
mov dword [0x566d98], 0x50b324
mov dword [0x566d9c], eax
mov byte [0x566da0], 0
call fcn.00459c20
mov eax, dword [0x566da4]
add esp, 4
test al, 2
jne 0x42a60c
or eax, 2
mov dword [0x566da8], 0x50b33c
mov dword [0x566da4], eax
xor eax, eax
push 0x505870
mov dword [0x566dac], 0x566d98
mov dword [0x566dbc], 2
mov dword [0x566db4], 0
mov dword [0x566db8], 0
mov dword [0x566dc0], eax
mov dword [0x566db0], 0x566da8
call fcn.00459c20
add esp, 4
mov eax, dword [0x566da8]
mov ecx, 0x566da8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24c], eax
cmp dword [ebp + 8], 0
lea eax, [ebp - 0x24c]
push dword [esi + 4]
mov dword [ebp - 4], 0
je 0x42a63f
push str._ludashi__noui__hosthwnd_d__cn__ma
jmp 0x42a644
push str._ludashi__hosthwnd_d__cn__ma
push eax
call fcn.0040ba70
mov esi, dword [ebp - 0x24c]
lea eax, [ebp - 0x218]
add esp, 0xc
push 0xffffffffffffffff
push 0
push 0
push 0
push 1
push esi
push eax
call fcn.0040c520
mov ebx, eax
mov dword [ebp - 0x250], ebx
call fcn.004528b0
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x42a760
push 0x78
mov dword [ebp - 0x238], ecx
mov byte [ebp - 0x248], cl
lea ecx, [ebp - 0x248]
push str.d:jenkins.jenkinsworkspacehardware_infocomputerzservicecomputerz_servicecomputerzservice_srcdriver_scan_proxy.cc
mov dword [ebp - 0x234], 0xf
call fcn.004099e0
push 3
push 0x50bc60
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.004099e0
mov byte [ebp - 4], 2
call fcn.004528b0
mov ebx, eax
lea ecx, [ebp - 0x2e8]
push 0xc3
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0040d220
mov edi, eax
push str.RunDriverMgr_result:
push edi
mov byte [ebp - 4], 3
call fcn.00413970
add esp, 8
mov ecx, edi
push dword [ebp - 0x250]
call fcn.0041b6d0
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2e8]
call fcn.0040de00
lea ecx, [ebp - 0x230]
call fcn.00406380
lea ecx, [ebp - 0x248]
call fcn.00406380
mov ebx, dword [ebp - 0x250]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42a77f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.004597ba
mov esp, ebp
pop ebp
ret 4