Function at 0x42b710
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9d44
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
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
cmp byte [0x4dee00], 0
mov byte [ebp - 0x25], 0
mov dword [ebp - 0x24], 0
je 0x42b758
mov al, 1
jmp 0x42b867
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 0x42b882
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 0x42b853
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.00408280
push 3
push 0x4b1c38
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.00408280
mov byte [ebp - 4], 1
call fcn.00437e50
mov edi, eax
lea ecx, [ebp - 0x128]
push 0x87
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 0x42b867
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.0045f213
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 0x42b969
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 0x42b853
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.00408280
push 3
push 0x4b1c38
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.00408280
mov byte [ebp - 4], 4
call fcn.00437e50
mov edi, eax
lea ecx, [ebp - 0x128]
push 0x8b
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 0x42b84e
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.00437e50
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42bae0
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.00408280
push 3
push 0x4b1c38
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.00408280
mov byte [ebp - 4], 7
call fcn.00437e50
mov edi, eax
lea ecx, [ebp - 0x1c0]
push 0x91
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.0041b2e0
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 0x42ba9b
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42ba91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42baf9
push edx
push ecx
call fcn.0045ef4f
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 0x42bae0
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42bad6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bafe
push edx
push ecx
call fcn.0045ef4f
add esp, 8
cmp dword [ebp - 0x2c], 0
je 0x42b853
mov al, 1
mov byte [ebp - 0x25], al
mov byte [0x4dee00], al
jmp 0x42b856
call fcn.0046daa9
call fcn.0046daa9
int3