Function at 0x42d1c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa0e7
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x4da720]
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 0x42d2cb
call fcn.00437e50
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42d81c
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.00408280
push 3
push 0x4b1c38
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.00408280
mov byte [ebp - 4], 1
call fcn.00437e50
mov edi, eax
lea ecx, [ebp - 0x164]
push 0x1b7
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403c10
mov esi, eax
push str.pid_argument_is_null
push esi
mov byte [ebp - 4], 2
call fcn.00404ba0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x164]
call fcn.00404e00
lea ecx, [ebp - 0x2c]
call fcn.00404580
lea ecx, [ebp - 0x90]
jmp 0x42d817
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42d2d5
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42d38e
call fcn.00437e50
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42d81c
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.00408280
push 3
push 0x4b1c38
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.00408280
mov byte [ebp - 4], 4
call fcn.00437e50
mov edi, eax
lea ecx, [ebp - 0x164]
push 0x1bb
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00403c10
mov esi, eax
push str.wx_not_exist__can_not_open
push esi
mov byte [ebp - 4], 5
call fcn.00404ba0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
jmp 0x42d7fb
call fcn.0042ce70
test al, al
jne 0x42d445
call fcn.00437e50
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42d81c
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.00408280
push 3
push 0x4b1c38
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.00408280
mov byte [ebp - 4], 7
call fcn.00437e50
mov edi, eax
lea ecx, [ebp - 0x164]
push 0x1bf
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00403c10
mov esi, eax
push str.InitNtFn_fail
push esi
mov byte [ebp - 4], 8
call fcn.00404ba0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
jmp 0x42d7fb
call fcn.0042b710
test al, al
jne 0x42d4fc
call fcn.00437e50
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42d81c
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.00408280
push 3
push 0x4b1c38
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.00408280
mov byte [ebp - 4], 0xa
call fcn.00437e50
mov edi, eax
lea ecx, [ebp - 0x164]
push 0x1c3
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00403c10
mov esi, eax
push str.ElevatePrivileges_fail
push esi
mov byte [ebp - 4], 0xb
call fcn.00404ba0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
jmp 0x42d7fb
call fcn.0042a9d0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x98], esi
jb 0x42d515
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.0042bb10
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x42d70d
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x42d594
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x42d5f8
push str.CreateProcessWithTokenW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42d5f8
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 0x42d5f8
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 0x42d70d
test edi, edi
je 0x42d62f
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 0x42d81f
call fcn.00437e50
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42d81c
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.00408280
push 3
push 0x4b1c38
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.00408280
mov byte [ebp - 4], 0x10
call fcn.00437e50
mov edi, eax
lea ecx, [ebp - 0x1fc]
push 0x1d7
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00403c10
mov esi, eax
push str.process_handle_is_null
push esi
mov byte [ebp - 4], 0x11
call fcn.00404ba0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1fc]
call fcn.00404e00
lea ecx, [ebp - 0xb4]
call fcn.00404580
lea ecx, [ebp - 0xcc]
jmp 0x42d817
call fcn.00437e50
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42d81c
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.00408280
push 3
push 0x4b1c38
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.00408280
mov byte [ebp - 4], 0xd
call fcn.00437e50
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.00403c10
mov edi, eax
push str.create_wx_process_fail__wx_exe_path:
push edi
mov byte [ebp - 4], 0xe
call fcn.00404ba0
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x42d7c7
mov esi, dword [esi]
test esi, esi
mov eax, 0x4b1f68
cmovne eax, esi
push eax
push edi
call fcn.0040abb0
push str.__errno_
push edi
call fcn.00404ba0
add esp, 0x10
mov ecx, edi
push dword [ebp - 0x94]
call fcn.00404a00
mov eax, dword [ebp - 0x78]
mov ecx, eax
push edi
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x164]
call fcn.00404e00
lea ecx, [ebp - 0x90]
call fcn.00404580
lea ecx, [ebp - 0x2c]
call fcn.00404580
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.0045f213
mov esp, ebp
pop ebp
ret