Function at 0x5d5452e3
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x5d560624]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
xor edx, edx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], edi
push ecx
push edx
push edx
push edx
push edx
push 1
push eax
mov ecx, edi
mov dword [ebp - 0x30], edx
call fcn.5d541c3d
test eax, eax
jne 0x5d545552
and dword [ebp - 0x44], eax
or esi, 0xffffffff
push 0x3e8
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_GetDlgItem]
and dword [ebp - 0x3c], 0
mov ecx, eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], ecx
cmp dword [eax], 0
jbe 0x5d545528
lea edi, [eax + 4]
mov dword [ebp - 0x40], edi
jmp 0x5d54536a
mov ecx, dword [ebp - 0x28]
push 0
push 0
push 0x1004
or eax, 0xffffffff
push ecx
mov dword [ebp - 0x34], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x84]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x84], 4
jmp 0x5d5453ce
lea eax, [ebp - 0x84]
dec esi
push eax
push 0
push 0x104b
push dword [ebp - 0x28]
mov dword [ebp - 0x80], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x64]
push dword [edi]
push dword [eax + 0xc]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x5d5453d4
test esi, esi
jg 0x5d5453a1
jmp 0x5d5453e3
mov esi, dword [ebp - 0x80]
mov dword [ebp - 0x34], esi
cmp esi, 0xffffffff
jne 0x5d54550a
push 0x5d5069c0
push 0x58
call fcn.5d50f318
mov dword [ebp - 0x48], eax
pop ecx
pop ecx
test eax, eax
je 0x5d54550a
push dword [ebp - 0x2c]
mov ecx, eax
call fcn.5d542d7e
mov esi, eax
mov dword [ebp - 0x48], esi
test esi, esi
je 0x5d54550a
push dword [edi + 0x10]
mov ecx, esi
push dword [edi + 8]
push dword [edi + 4]
push dword [edi + 0xc]
push dword [edi]
call fcn.5d546d18
test eax, eax
jne 0x5d54543f
mov ecx, esi
call fcn.5d542e43
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x5d54550a
xor ecx, ecx
mov dword [ebp - 0x84], 7
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], ecx
mov eax, dword [esi + 4]
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x84]
push eax
push ecx
push 0x104d
push dword [ebp - 0x28]
mov dword [ebp - 0x64], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x34], eax
cmp eax, 0xffffffff
je 0x5d54542c
push dword [ebp - 0x28]
push dword [ebp - 0x38]
call fcn.5d5444cd
mov edx, dword [ebp - 0x2c]
xor ecx, ecx
push 0xc
mov word [ebp - 0x24], cx
mov dword [ebp - 0x20], ecx
mov ecx, dword [edx + 0x90]
pop eax
mov word [ebp - 0x22], ax
test ecx, ecx
je 0x5d5454f8
test byte [edx + 0x34], 4
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
je 0x5d5454ba
mov al, byte [ecx + 0xc]
and al, 0xf
mov byte [ebp - 0x23], al
mov ecx, dword [ecx]
test ecx, ecx
je 0x5d5454f8
mov edx, 0x5d506adc
call fcn.5d53f9d4
test eax, eax
jne 0x5d5454f8
push 0x20
pop eax
mov word [ebp - 0x22], ax
lea edi, [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0x24], 5
mov dword [ebp - 0x1c], 1
mov esi, dword [eax + 0x90]
mov esi, dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x40]
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.5d542f79
mov dword [ebp - 0x44], 1
mov ecx, dword [ebp - 0x3c]
add edi, 0x14
mov eax, dword [ebp - 0x30]
inc ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edi
cmp ecx, dword [eax]
jb 0x5d545367
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x44], 0
je 0x5d545543
push 0
push 0
push dword [ebp - 0x38]
mov ecx, edi
call fcn.5d546ad8
cmp esi, 0xffffffff
je 0x5d545552
mov ecx, dword [ebp - 0x28]
mov edx, esi
call fcn.5d52461b
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.5d50eed0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4