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

Disassembly:
mov eax, 0x10063035
call fcn.10061878
sub esp, 0xcc
and dword [ebp - 0x3c], 0
push ebx
push esi
mov dword [ebp - 0x1c], 0xf5540d7f
mov esi, edx
push edi
mov dword [ebp - 0x18], 0xffffffff
mov edi, ecx
mov dword [ebp - 0x1c], 0x14
cmp dword [ebp - 0x1c], 0xffffffe7
push 2
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x34], edi
pop ebx
jne 0x1002c8b9
xor esi, esi
inc esi
push esi
lea ecx, [ebp - 0x5c]
call fcn.10005365
and dword [ebp - 4], 0
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x28], 0x38a8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
jmp 0x1002c678
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x5c]
and dword [eax + ecx*4], 0
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jl 0x1002c66b
mov dword [ebp - 0x10], 0
jmp 0x1002c697
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x90], 0xffffffff
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jl 0x1002c686
cmp dword [ebp - 0x1c], 0
je 0x1002c851
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x24], 0xfffffffa
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0xfffffff8
jl 0x1002c792
mov dword [ebp - 0x28], 0x86992f1e
xor edx, edx
mov dword [ebp - 0x20], 0xfffffff9
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
cmp eax, ecx
setg dl
xor eax, eax
cmp edx, 0x231
setge al
cmp eax, 0x2a83a0f0
je 0x1002c6fc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x5c]
dec ecx
imul ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
sub eax, 7
je 0x1002c77a
mov dword [ebp - 0x28], 5
mov ecx, 0xbe67e784
mov eax, dword [ebp - 0x30]
cmp ecx, eax
mov eax, dword [ebp - 0x1c]
sbb edx, edx
sub eax, 0x6d76e0bd
inc edx
xor ecx, ecx
cmp edx, eax
setl cl
sub ecx, 0x218a5f22
mov dword [ebp - 0x20], ecx
jne 0x1002c74f
cmp dword [ebp - 0x28], 0
jne 0x1002c74f
xor eax, eax
jmp 0x1002c751
mov eax, esi
mov ecx, dword [ebp - 0x18]
xor edx, edx
imul ecx, eax
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
mov eax, dword [ebp - 0x24]
setg dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [ebp - 0x5c]
setne bl
xor ecx, ecx
cmp ebx, dword [eax]
setle cl
mov dword [ebp - 0x24], ecx
jmp 0x1002c782
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xfffffff8
jge 0x1002c6c5
push 2
pop ebx
mov byte [ebp - 0x11], 0
cmp byte [ebp - 0x11], 0
je 0x1002c89a
mov dword [ebp - 0x28], 0x39e
cmp dword [ebp - 0x28], 0x462
jle 0x1002c82e
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [ebp - 0x20], 0x6c9a
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
xor edi, edi
mov eax, esi
lea ecx, [ebp - 0xa8]
cdq
idiv edi
and edx, ebx
mov eax, edx
cdq
push edx
push eax
call fcn.10001a65
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1002c7e9
mov eax, dword [eax]
push eax
call fcn.100497ec
pop ecx
push 0
push 1
lea ecx, [ebp - 0xa8]
call fcn.100058e2
inc edi
cmp edi, 0x79bb
jl 0x1002c7c8
mov esi, dword [ebp - 0x10]
add dword [ebp - 0x24], esi
dec dword [ebp - 0x20]
jne 0x1002c7c3
inc esi
mov dword [ebp - 0x10], esi
cmp esi, 0x41e7
jl 0x1002c7b7
inc ebx
cmp ebx, 0x4007
jl 0x1002c7b2
push 2
xor esi, esi
pop ebx
inc esi
push 0x59a
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp dword [ebp - 0x28], 0x17b
jge 0x1002c89a
push str.zwij_uuesdmjx_jrtv
call fcn.100497ec
pop ecx
jmp 0x1002c89a
cmp dword [ebp - 0x30], 0
je 0x1002c861
cmp dword [ebp - 0x28], 0
je 0x1002c861
mov edx, esi
jmp 0x1002c863
xor edx, edx
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp eax, 0x268d
setg cl
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], edx
jle 0x1002c882
cmp dword [ebp - 0x18], 0
jne 0x1002c882
xor ecx, ecx
jmp 0x1002c884
mov ecx, esi
xor eax, eax
cmp ecx, 0xffffffff
sete al
sub eax, dword [ebp - 0x90]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x20], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.100053c7
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xffffffe7
je 0x1002c639
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x2c]
call fcn.100283e6
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.1002ccbc
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x2c], 0xac789480
push ebx
call fcn.10005365
push 3
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 4
call fcn.10005365
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x34], 0x9a733e34
push 1
call fcn.10005365
xor edx, edx
mov dword [ebp - 0x10], edx
jmp 0x1002c91c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x78]
mov dword [eax + ecx*4], 4
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ebx
jl 0x1002c90c
mov dword [ebp - 0x10], edx
jmp 0x1002c939
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x84]
mov dword [eax + ecx*4], 1
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jl 0x1002c926
mov dword [ebp - 0x10], edx
jmp 0x1002c952
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x38], 0x9c71
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 1
jl 0x1002c944
mov dword [ebp - 0x10], edx
jmp 0x1002c96b
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x44], 0x92c6eed1
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ebx
jl 0x1002c95d
mov dword [ebp - 0x10], edx
jmp 0x1002c985
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x6c]
mov dword [eax + ecx*4], 0xfffffff7
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 1
jl 0x1002c975
dec dword [ebp - 0x44]
xor edx, edx
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x6c]
cmp ecx, dword [eax]
mov eax, dword [ebp - 0x78]
setg dl
xor ecx, ecx
cmp edx, dword [eax]
setg cl
xor edx, edx
mov dword [eax], ecx
mov eax, dword [ebp - 0x2c]
cmp ecx, eax
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x6c]
setne dl
sub edx, 0xffff
add edx, dword [eax]
neg edx
sbb edx, edx
add edx, 0xb06c0e27
mov dword [eax], edx
call fcn.100053c7
lea ecx, [ebp - 0x84]
call fcn.100053c7
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.100053c7
mov edx, dword [ebp - 0x4c]
add esi, 0xffffb79f
mov ecx, edx
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x1002ca29
cmp dword [eax + 0x10], esi
jge 0x1002ca0e
mov eax, dword [eax + 8]
jmp 0x1002ca12
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x1002ca04
cmp ecx, edx
je 0x1002ca29
cmp esi, dword [ecx + 0x10]
jl 0x1002ca29
mov dword [ebp - 0x60], ecx
lea esi, [ebp - 0x60]
jmp 0x1002ca2f
mov dword [ebp - 0x50], edx
lea esi, [ebp - 0x50]
mov esi, dword [esi]
mov dword [ebp - 0x18], 0xd06c
mov dword [ebp - 0x2c], 0x16df251d
mov dword [ebp - 0x2c], 0x362
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0xa
jmp 0x1002ca6c
mov byte [ebp - 0x11], 0
cmp byte [ebp - 0x11], 0
je 0x1002ca69
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x11
jl 0x1002ca55
mov eax, dword [0x10080374]
test al, 1
jne 0x1002caa7
and dword [0x1008038c], 0
or eax, 1
mov dword [0x10080374], eax
xor eax, eax
push 0x10063825
mov dword [0x10080390], 7
mov word [0x1008037c], ax
call fcn.100497c2
pop ecx
cmp esi, dword [ebp - 0x4c]
je 0x1002cac7
push dword [esi + 0x18]
mov edx, dword [esi + 0x14]
lea ecx, [ebp - 0xd8]
call fcn.10023b98
pop ecx
xor ebx, ebx
mov byte [ebp - 4], 6
inc ebx
jmp 0x1002cade
push 0x1008037c
lea ecx, [ebp - 0xc0]
call fcn.100085df
mov dword [ebp - 4], 7
push eax
mov ecx, edi
mov dword [ebp - 0x3c], ebx
call fcn.100085df
or ebx, 4
test bl, 2
je 0x1002cb03
push 0
push 1
lea ecx, [ebp - 0xc0]
and ebx, 0xfffffffd
call fcn.100059ae
test bl, 1
je 0x1002cb17
push 0
push 1
lea ecx, [ebp - 0xd8]
call fcn.100059ae
lea ecx, [ebp - 0x4c]
call fcn.1002cbad
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret