Function at 0x402850
Capabilities:
Compare security identifiers

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a038
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x42801c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
call fcn.00401f30
test al, al
je 0x402bcc
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405430
test al, al
jne 0x4029ec
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x42897c], 0
je 0x402bb6
push ecx
mov ecx, 0x42897c
call fcn.0040d250
mov eax, dword [0x42897c]
cmp byte [eax + 0x54], 0
je 0x402bb6
cmp dword [eax + 0x58], 2
jb 0x402bb6
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x4d], al
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
push 0x26
push str.Processor_get_login_sesion_info_failed
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00402f50
push 0x65
push str.RC::CheckAndPrivileging
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src2345associate2345associate.cpp
lea eax, [ebp - 0x34]
push eax
push ecx
mov ecx, 0x42897c
call fcn.0040e270
cmp byte [ebp - 0x4d], 0
je 0x402993
lea eax, [ebp - 0x34]
mov ecx, 0x42897c
push eax
call fcn.0040e8e0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x4029d3
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4029c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4029c9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004189cc
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
jmp 0x402bb2
push 0x400
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x18], 0x500
mov byte [ebp - 0x4d], 0
call fcn.00418e74
mov esi, dword [ebp - 0x54]
mov edi, eax
add esp, 4
mov dword [ebp - 0x58], edi
test edi, edi
je 0x402ab8
lea eax, [ebp - 0x48]
push eax
push 0x400
push edi
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x402a92
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x402a92
xor esi, esi
cmp dword [edi], esi
jbe 0x402a86
add edi, 4
push dword [edi]
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x402a7f
mov eax, dword [ebp - 0x58]
inc esi
add edi, 8
cmp esi, dword [eax]
jb 0x402a61
mov edi, eax
jmp 0x402a86
mov edi, dword [ebp - 0x58]
mov byte [ebp - 0x4d], 1
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov esi, dword [ebp - 0x54]
push edi
call fcn.00418e43
add esp, 4
cmp byte [ebp - 0x4d], 0
je 0x402ab8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x5c]
call fcn.00402330
mov byte [ebp - 0x4d], al
jmp 0x402bba
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x42897c], 0
je 0x402bb6
push ecx
mov ecx, 0x42897c
call fcn.0040d250
mov eax, dword [0x42897c]
cmp byte [eax + 0x54], 0
je 0x402bb6
cmp dword [eax + 0x58], 2
jb 0x402bb6
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x4d], al
mov byte [ebp - 4], 7
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
push 0x18
push str.Processor_not_admin_user
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.00402f50
push 0x6d
push str.RC::CheckAndPrivileging
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src2345associate2345associate.cpp
lea eax, [ebp - 0x34]
push eax
push ecx
mov ecx, 0x42897c
call fcn.0040e270
cmp byte [ebp - 0x4d], 0
je 0x402b5e
lea eax, [ebp - 0x34]
mov ecx, 0x42897c
push eax
call fcn.0040e8e0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x402b9e
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402b94
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402b94
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004189cc
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov byte [ebp - 4], 0
mov byte [ebp - 0x4d], 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.00405000
mov al, byte [ebp - 0x4d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041870e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret