Function at 0x430820
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2ff7
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x4e5728]
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 0x43092b
call fcn.0043c280
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x430e86
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.004082b0
push 3
push 0x4ba7a4
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.004082b0
mov byte [ebp - 4], 1
call fcn.0043c280
mov edi, eax
lea ecx, [ebp - 0x164]
push 0x1bb
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 0x430e81
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x430935
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4309ee
call fcn.0043c280
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x430e86
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.004082b0
push 3
push 0x4ba7a4
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.004082b0
mov byte [ebp - 4], 4
call fcn.0043c280
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.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 0x430e65
call fcn.004304d0
test al, al
jne 0x430aa5
call fcn.0043c280
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x430e86
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.004082b0
push 3
push 0x4ba7a4
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.004082b0
mov byte [ebp - 4], 7
call fcn.0043c280
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.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 0x430e65
call fcn.0042ec80
test al, al
jne 0x430b5c
call fcn.0043c280
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x430e86
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.004082b0
push 3
push 0x4ba7a4
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.004082b0
mov byte [ebp - 4], 0xa
call fcn.0043c280
mov edi, eax
lea ecx, [ebp - 0x164]
push 0x1c7
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 0x430e65
call fcn.0042dd00
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x98], esi
jb 0x430b75
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.0042f080
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x430d77
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x430bf4
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x430c62
push str.CreateProcessWithTokenW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x430c62
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 0x430c62
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x430c62
cmp dword [ebp - 0x20], edi
je 0x430c62
lea ecx, [ebp - 0x14]
push ecx
push eax
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 0x430d77
test edi, edi
je 0x430c99
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 0x430e89
call fcn.0043c280
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x430e86
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.004082b0
push 3
push 0x4ba7a4
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.004082b0
mov byte [ebp - 4], 0x10
call fcn.0043c280
mov edi, eax
lea ecx, [ebp - 0x1fc]
push 0x1db
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 0x430e81
call fcn.0043c280
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x430e86
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.004082b0
push 3
push 0x4ba7a4
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.004082b0
mov byte [ebp - 4], 0xd
call fcn.0043c280
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x164]
push 0x1d1
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 0x430e31
mov esi, dword [esi]
test esi, esi
mov eax, 0x4baf6c
cmovne eax, esi
push eax
push edi
call fcn.0040abe0
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.00467d03
mov esp, ebp
pop ebp
ret