Function at 0x42ec80
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2c54
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
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
cmp byte [0x4ea188], 0
mov byte [ebp - 0x25], 0
mov dword [ebp - 0x24], 0
je 0x42ecc8
mov al, 1
jmp 0x42edd7
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x20], xmm0
push 0x28
mov dword [ebp - 0x20], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x42edf2
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 0x42edc3
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 - 0x60]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.004082b0
push 3
push 0x4ba7a4
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.004082b0
mov byte [ebp - 4], 1
call fcn.0043c280
mov edi, eax
lea ecx, [ebp - 0x128]
push 0x8b
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00403c10
mov esi, eax
push str.OpenProcessToken_fail__errno_
push esi
mov byte [ebp - 4], 2
call fcn.00404ba0
add esp, 8
mov ecx, esi
push dword [ebp - 0x2c]
call fcn.00404a00
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x128]
call fcn.00404e00
lea ecx, [ebp - 0x48]
call fcn.00404580
lea ecx, [ebp - 0x60]
call fcn.00404580
mov al, byte [ebp - 0x25]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x42edd7
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x25]
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
lea eax, [ebp - 0x1c]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x42eed9
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 0x42edc3
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 - 0x48]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.004082b0
push 3
push 0x4ba7a4
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 3
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.004082b0
mov byte [ebp - 4], 4
call fcn.0043c280
mov edi, eax
lea ecx, [ebp - 0x128]
push 0x8f
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00403c10
mov esi, eax
push str.LookupPrivilegeValue_fail__errno_
push esi
mov byte [ebp - 4], 5
call fcn.00404ba0
add esp, 8
mov ecx, esi
push dword [ebp - 0x2c]
call fcn.00404a00
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x128]
call fcn.00404e00
lea ecx, [ebp - 0x60]
call fcn.00404580
lea ecx, [ebp - 0x48]
jmp 0x42edbe
push 0
push 0
push 0x10
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 2
push eax
push 0
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov dword [ebp - 0x2c], eax
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 0x42f050
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 - 0x90]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
call fcn.004082b0
push 3
push 0x4ba7a4
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 6
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
call fcn.004082b0
mov byte [ebp - 4], 7
call fcn.0043c280
mov edi, eax
lea ecx, [ebp - 0x1c0]
push 0x95
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00403c10
mov esi, eax
push str.AdjustTokenPrivileges_res:
push esi
mov byte [ebp - 4], 8
call fcn.00404ba0
add esp, 8
mov ecx, esi
push dword [ebp - 0x2c]
call fcn.0041b750
push str.__errno_
push esi
call fcn.00404ba0
add esp, 8
mov ecx, esi
push dword [ebp - 0x30]
call fcn.00404a00
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1c0]
call fcn.00404e00
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x42f00b
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42f001
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f069
push edx
push ecx
call fcn.00467a3f
add esp, 8
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp edx, 0x10
jb 0x42f050
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42f046
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f06e
push edx
push ecx
call fcn.00467a3f
add esp, 8
cmp dword [ebp - 0x2c], 0
je 0x42edc3
mov al, 1
mov byte [ebp - 0x25], al
mov byte [0x4ea188], al
jmp 0x42edc6
call fcn.004764c9
call fcn.004764c9
int3