Function at 0x42a4e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc95c
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x53f300]
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.0049bb00
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 [0x567da4]
test al, 1
jne 0x42a5b0
or eax, 1
mov dword [0x567da4], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x5071e0
mov dword [0x567d98], 0x50c334
mov dword [0x567d9c], eax
mov byte [0x567da0], 0
call fcn.00459d90
mov eax, dword [0x567da4]
add esp, 4
test al, 2
jne 0x42a60c
or eax, 2
mov dword [0x567da8], 0x50c34c
mov dword [0x567da4], eax
xor eax, eax
push 0x507210
mov dword [0x567dac], 0x567d98
mov dword [0x567dbc], 2
mov dword [0x567db4], 0
mov dword [0x567db8], 0
mov dword [0x567dc0], eax
mov dword [0x567db0], 0x567da8
call fcn.00459d90
add esp, 4
mov eax, dword [0x567da8]
mov ecx, 0x567da8
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.00452a20
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 0x50cc70
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.00452a20
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.0045992a
mov esp, ebp
pop ebp
ret 4