Function at 0x42cb30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9e87
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x4da734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x71], 0
test eax, eax
jne 0x42cc3b
call fcn.004377c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42d18c
push 0x79
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwx_run_helper.cpp
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], al
call fcn.00407e10
push 3
push 0x4b1ab8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00407e10
mov byte [ebp - 4], 1
call fcn.004377c0
mov edi, eax
lea ecx, [ebp - 0x164]
push 0x1b7
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403be0
mov esi, eax
push str.pid_argument_is_null
push esi
mov byte [ebp - 4], 2
call fcn.00404b70
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x164]
call fcn.00404dd0
lea ecx, [ebp - 0x2c]
call fcn.00404550
lea ecx, [ebp - 0x90]
jmp 0x42d187
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42cc45
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42ccfe
call fcn.004377c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42d18c
push 0x79
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwx_run_helper.cpp
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], al
call fcn.00407e10
push 3
push 0x4b1ab8
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 3
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
call fcn.00407e10
mov byte [ebp - 4], 4
call fcn.004377c0
mov edi, eax
lea ecx, [ebp - 0x164]
push 0x1bb
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00403be0
mov esi, eax
push str.wx_not_exist__can_not_open
push esi
mov byte [ebp - 4], 5
call fcn.00404b70
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
jmp 0x42d16b
call fcn.0042c7e0
test al, al
jne 0x42cdb5
call fcn.004377c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42d18c
push 0x79
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwx_run_helper.cpp
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], al
call fcn.00407e10
push 3
push 0x4b1ab8
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 6
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
call fcn.00407e10
mov byte [ebp - 4], 7
call fcn.004377c0
mov edi, eax
lea ecx, [ebp - 0x164]
push 0x1bf
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00403be0
mov esi, eax
push str.InitNtFn_fail
push esi
mov byte [ebp - 4], 8
call fcn.00404b70
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
jmp 0x42d16b
call fcn.0042b080
test al, al
jne 0x42ce6c
call fcn.004377c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42d18c
push 0x79
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwx_run_helper.cpp
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], al
call fcn.00407e10
push 3
push 0x4b1ab8
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 9
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
call fcn.00407e10
mov byte [ebp - 4], 0xa
call fcn.004377c0
mov edi, eax
lea ecx, [ebp - 0x164]
push 0x1c3
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00403be0
mov esi, eax
push str.ElevatePrivileges_fail
push esi
mov byte [ebp - 4], 0xb
call fcn.00404b70
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
jmp 0x42d16b
call fcn.0042a340
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x98], esi
jb 0x42ce85
mov eax, dword [esi]
mov dword [ebp - 0x98], eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor eax, eax
movlpd qword [ebp - 0x6c], xmm0
xor edi, edi
movlpd qword [ebp - 0x64], xmm0
mov dword [ebp - 0x78], edi
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x3e], xmm0
movlpd qword [ebp - 0x36], xmm0
mov word [ebp - 0x2e], ax
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x70], 0x44
mov dword [ebp - 0x44], 0x81
mov word [ebp - 0x40], ax
call fcn.0042b480
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x42d07d
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x42cf04
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x42cf68
push str.CreateProcessWithTokenW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42cf68
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x70]
push ecx
push 0
push 0
push 0
push dword [ebp - 0x98]
push 0
push 0
push dword [ebp - 0x9c]
call eax
test eax, eax
je 0x42cf68
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x14]
test eax, eax
push dword [ebp - 0x20]
mov edx, 1
cmove ecx, edx
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x78], 1
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x78], 0
je 0x42d07d
test edi, edi
je 0x42cf9f
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ecx, dword [ebp - 0x94]
push edi
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x42d18f
call fcn.004377c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42d18c
push 0x79
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwx_run_helper.cpp
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], al
call fcn.00407e10
push 3
push 0x4b1ab8
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 0xf
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
call fcn.00407e10
mov byte [ebp - 4], 0x10
call fcn.004377c0
mov edi, eax
lea ecx, [ebp - 0x1fc]
push 0x1d7
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00403be0
mov esi, eax
push str.process_handle_is_null
push esi
mov byte [ebp - 4], 0x11
call fcn.00404b70
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1fc]
call fcn.00404dd0
lea ecx, [ebp - 0xb4]
call fcn.00404550
lea ecx, [ebp - 0xcc]
jmp 0x42d187
call fcn.004377c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42d18c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x79
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwx_run_helper.cpp
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00407e10
push 3
push 0x4b1ab8
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
call fcn.00407e10
mov byte [ebp - 4], 0xd
call fcn.004377c0
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x164]
push 0x1cd
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00403be0
mov edi, eax
push str.create_wx_process_fail__wx_exe_path:
push edi
mov byte [ebp - 4], 0xe
call fcn.00404b70
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x42d137
mov esi, dword [esi]
test esi, esi
mov eax, 0x4b1de8
cmovne eax, esi
push eax
push edi
call fcn.0040a710
push str.__errno_
push edi
call fcn.00404b70
add esp, 0x10
mov ecx, edi
push dword [ebp - 0x94]
call fcn.004049d0
mov eax, dword [ebp - 0x78]
mov ecx, eax
push edi
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x164]
call fcn.00404dd0
lea ecx, [ebp - 0x90]
call fcn.00404550
lea ecx, [ebp - 0x2c]
call fcn.00404550
mov al, byte [ebp - 0x71]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045f015
mov esp, ebp
pop ebp
ret