Function at 0x423ae7
Capabilities:
Compare security identifiers
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
movzx eax, byte [ebp + 8]
test eax, eax
je 0x423d97
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xa4], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x423d04
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x423bc0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
movzx eax, byte [eax]
test eax, eax
je 0x423bbb
push 0x1602
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x423cff
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x423c22
mov dword [ebp - 0x18], 1
jmp 0x423c26
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
je 0x423c39
mov dword [ebp - 0x2c], 1
jmp 0x423c3d
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
sub eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jle 0x423c5f
mov dword [ebp - 0x64], 1
jmp 0x423c63
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xd9827359
jne 0x423c82
mov dword [ebp - 0x24], 1
jmp 0x423c86
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x24]
jg 0x423c9f
mov eax, 0x2f63069b
test eax, eax
jne 0x423c9f
and dword [ebp - 0x1c], 0
jmp 0x423ca6
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
jne 0x423cd9
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x423cd9
and dword [ebp - 0x28], 0
jmp 0x423ce0
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jl 0x423cf3
mov dword [ebp - 0x30], 1
jmp 0x423cf7
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
jmp 0x423d95
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x423d7f
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 8
jmp 0x423d4e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0x39
jle 0x423d7d
mov byte [ebp - 6], 0
lea eax, [ebp - 6]
push eax
push 0
push 1
push 0x549a
push 1
push 0x56eb
push 0x78c8
call fcn.0041e0c9
add esp, 0x1c
jmp 0x423d43
jmp 0x423d95
mov byte [ebp - 5], 0
movzx eax, byte [ebp - 5]
test eax, eax
je 0x423d95
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x423dbf
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x9c], eax
push 1
push 0x3118
push 0x72a3
push dword [ebp - 0x9c]
push 0x5016
call fcn.00411c15
add esp, 0x14
mov esp, ebp
pop ebp
ret