Function at 0x42b080
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9ae4
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
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
cmp byte [0x4dee0c], 0
mov byte [ebp - 0x25], 0
mov dword [ebp - 0x24], 0
je 0x42b0c8
mov al, 1
jmp 0x42b1d7
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 0x42b1f2
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 0x42b1c3
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.00407e10
push 3
push 0x4b1ab8
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.00407e10
mov byte [ebp - 4], 1
call fcn.004377c0
mov edi, eax
lea ecx, [ebp - 0x128]
push 0x87
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00403be0
mov esi, eax
push str.OpenProcessToken_fail__errno_
push esi
mov byte [ebp - 4], 2
call fcn.00404b70
add esp, 8
mov ecx, esi
push dword [ebp - 0x2c]
call fcn.004049d0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x128]
call fcn.00404dd0
lea ecx, [ebp - 0x48]
call fcn.00404550
lea ecx, [ebp - 0x60]
call fcn.00404550
mov al, byte [ebp - 0x25]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x42b1d7
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.0045f015
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 0x42b2d9
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 0x42b1c3
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.00407e10
push 3
push 0x4b1ab8
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.00407e10
mov byte [ebp - 4], 4
call fcn.004377c0
mov edi, eax
lea ecx, [ebp - 0x128]
push 0x8b
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00403be0
mov esi, eax
push str.LookupPrivilegeValue_fail__errno_
push esi
mov byte [ebp - 4], 5
call fcn.00404b70
add esp, 8
mov ecx, esi
push dword [ebp - 0x2c]
call fcn.004049d0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x128]
call fcn.00404dd0
lea ecx, [ebp - 0x60]
call fcn.00404550
lea ecx, [ebp - 0x48]
jmp 0x42b1be
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.004377c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42b450
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.00407e10
push 3
push 0x4b1ab8
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.00407e10
mov byte [ebp - 4], 7
call fcn.004377c0
mov edi, eax
lea ecx, [ebp - 0x1c0]
push 0x91
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00403be0
mov esi, eax
push str.AdjustTokenPrivileges_res:
push esi
mov byte [ebp - 4], 8
call fcn.00404b70
add esp, 8
mov ecx, esi
push dword [ebp - 0x2c]
call fcn.0041ae50
push str.__errno_
push esi
call fcn.00404b70
add esp, 8
mov ecx, esi
push dword [ebp - 0x30]
call fcn.004049d0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1c0]
call fcn.00404dd0
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x42b40b
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42b401
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b469
push edx
push ecx
call fcn.0045ed5f
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 0x42b450
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42b446
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b46e
push edx
push ecx
call fcn.0045ed5f
add esp, 8
cmp dword [ebp - 0x2c], 0
je 0x42b1c3
mov al, 1
mov byte [ebp - 0x25], al
mov byte [0x4dee0c], al
jmp 0x42b1c6
call fcn.0046d8d9
call fcn.0046d8d9
int3