Function at 0x431d80
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b61a4
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x4e83f4]
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 [0x4ee190], 0
mov byte [ebp - 0x25], 0
mov dword [ebp - 0x24], 0
je 0x431dc8
mov al, 1
jmp 0x431ed7
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 0x431ef2
call fcn.0043cc60
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x431ec3
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.00408180
push 3
push 0x4be84c
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.00408180
mov byte [ebp - 4], 1
call fcn.0043cc60
mov edi, eax
lea ecx, [ebp - 0x128]
push 0x8b
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004046f0
mov esi, eax
push str.OpenProcessToken_fail__errno_
push esi
mov byte [ebp - 4], 2
call fcn.00405680
add esp, 8
mov ecx, esi
push dword [ebp - 0x2c]
call fcn.004054e0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x128]
call fcn.004057a0
lea ecx, [ebp - 0x48]
call fcn.004050d0
lea ecx, [ebp - 0x60]
call fcn.004050d0
mov al, byte [ebp - 0x25]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x431ed7
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.004395be
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 0x431fd9
call fcn.0043cc60
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x431ec3
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.00408180
push 3
push 0x4be84c
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.00408180
mov byte [ebp - 4], 4
call fcn.0043cc60
mov edi, eax
lea ecx, [ebp - 0x128]
push 0x8f
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004046f0
mov esi, eax
push str.LookupPrivilegeValue_fail__errno_
push esi
mov byte [ebp - 4], 5
call fcn.00405680
add esp, 8
mov ecx, esi
push dword [ebp - 0x2c]
call fcn.004054e0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x128]
call fcn.004057a0
lea ecx, [ebp - 0x60]
call fcn.004050d0
lea ecx, [ebp - 0x48]
jmp 0x431ebe
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.0043cc60
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x432150
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.00408180
push 3
push 0x4be84c
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.00408180
mov byte [ebp - 4], 7
call fcn.0043cc60
mov edi, eax
lea ecx, [ebp - 0x1c0]
push 0x95
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004046f0
mov esi, eax
push str.AdjustTokenPrivileges_res:
push esi
mov byte [ebp - 4], 8
call fcn.00405680
add esp, 8
mov ecx, esi
push dword [ebp - 0x2c]
call fcn.0040e310
push str.__errno_
push esi
call fcn.00405680
add esp, 8
mov ecx, esi
push dword [ebp - 0x30]
call fcn.004054e0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1c0]
call fcn.004057a0
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x43210b
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x432101
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432169
push edx
push ecx
call fcn.004395b0
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 0x432150
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x432146
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43216e
push edx
push ecx
call fcn.004395b0
add esp, 8
cmp dword [ebp - 0x2c], 0
je 0x431ec3
mov al, 1
mov byte [ebp - 0x25], al
mov byte [0x4ee190], al
jmp 0x431ec6
call fcn.0046fe99
call fcn.0046fe99
int3