Function at 0x45031c
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x45036e
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
push 0x130d
push 0xf75
push 0x31d8
push 0x71ce
push 0x37cd
push 0x5ab6
push 0x3613
push 1
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.00450542
add esp, 0x28
jmp 0x45053e
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x70], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x450510
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x4504e7
mov dword [ebp - 4], 0x754320e3
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x34], 0x717f4039
mov dword [ebp - 0x58], 0xffffffff
mov eax, dword [ebp - 4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 4], eax
jge 0x4503f4
mov dword [ebp - 0x10], 1
jmp 0x4503f8
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
cmp eax, 1
ja 0x450412
mov dword [ebp - 0x14], 1
jmp 0x450416
and dword [ebp - 0x14], 0
imul eax, dword [ebp - 0x14], 0xffffffff
cmp eax, 0x68108531
jge 0x45042a
mov dword [ebp - 0x18], 1
jmp 0x45042e
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0x9598
jne 0x450440
mov dword [ebp - 0x1c], 1
jmp 0x450444
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0xfffffff8
jge 0x450453
mov dword [ebp - 0x20], 1
jmp 0x450457
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x20], eax
jge 0x450468
mov dword [ebp - 0x24], 1
jmp 0x45046c
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xc], eax
je 0x450483
mov dword [ebp - 0x28], 1
jmp 0x450487
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x28], eax
jge 0x45049c
xor eax, eax
je 0x45049c
mov dword [ebp - 0x2c], 1
jmp 0x4504a0
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0
ja 0x4504af
mov dword [ebp - 0x30], 1
jmp 0x4504b3
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 8]
push eax
push 1
push 0x1d66
lea eax, [ebp - 4]
push eax
push 0x5c23
push 0
lea eax, [ebp - 0xc]
push eax
push 1
call fcn.00444eee
add esp, 0x28
jmp 0x45050e
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x6c]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
jmp 0x45053e
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x450534
push 0xc40
push 0x1df6
push 0
call dword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x45053e
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov esp, ebp
pop ebp
ret