Function at 0x1002d27d
Capabilities:
Compare security identifiers

Disassembly:
mov eax, 0x1005828d
call fcn.10056ec8
sub esp, 0x6c
mov byte [ebp - 0x14], dl
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test cl, cl
je 0x1002d3b4
test dl, dl
je 0x1002d2ae
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x1002d5b5
mov dword [ebp - 0x24], 0x631a
cmp dword [ebp - 0x24], 0x63be
jle 0x1002d2e3
xor esi, esi
mov edi, esi
mov ebx, 0x3dd3
mov eax, edi
mov ecx, 0x10072d38
cdq
push edx
push eax
call fcn.10011982
dec edi
dec ebx
jne 0x1002d2c7
inc esi
cmp esi, 0x598b
jl 0x1002d2c0
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x6202
jge 0x1002d2ff
mov edx, str.dsqsixz_twnkj_uhfyhop_qsf_tkcq_ryjgrm_rsu_wcowitre_pfgkkp_osmbuh_kwz_mutm
mov ecx, 0x10072d38
call fcn.10016228
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
push 2
pop esi
mov dword [ebp - 0x1c], esi
push 1
call fcn.10011bd7
mov dword [ebp - 4], esi
mov dword [ebp - 0x38], 0x97a61eef
mov dword [ebp - 0x18], 0
jmp 0x1002d34e
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x5c], 0xeac8b13e
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
jl 0x1002d340
push 0x20cd
push 0x3871
push 1
push 1
lea eax, [ebp - 0x18]
xor dl, dl
push eax
lea eax, [ebp - 0x44]
mov ecx, 0x73eb
push eax
push 0x35a3
call fcn.1002d723
add esp, 0x1c
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x1c], 0
jl 0x1002d396
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0x5c], 0
jne 0x1002d396
dec dword [ebp - 0x1c]
jns 0x1002d387
push 0x6b7d
lea eax, [ebp - 0x44]
push eax
push 0
lea ecx, [ebp - 0x1c]
call fcn.1002cdb8
add esp, 0xc
lea ecx, [ebp - 0x44]
jmp 0x1002d513
cmp byte [ebp + 0xc], 0
je 0x1002d51d
mov dword [ebp - 0x34], 0xde2167fa
mov dword [ebp - 0x2c], 0x771d
cmp dword [ebp - 0x2c], 0x799a
jle 0x1002d44e
push 0x1f6d
push 0x1f76
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
xor esi, esi
mov dword [ebp - 0x28], esi
xor edi, edi
mov dword [ebp - 0x20], edi
mov ecx, edi
mov dword [ebp - 0x24], esi
xor ebx, ebx
shl esi, cl
xor edi, edi
mov dword [ebp - 0x24], 0x42f5
mov eax, edi
mov ecx, 0x10072d38
and eax, esi
cdq
push edx
push eax
call fcn.10011982
add edi, ebx
dec dword [ebp - 0x24]
jne 0x1002d40f
inc ebx
cmp ebx, 0x51cc
jl 0x1002d406
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x28]
inc edi
mov dword [ebp - 0x20], edi
cmp edi, 0x3453
jl 0x1002d3fd
inc esi
mov dword [ebp - 0x28], esi
cmp esi, 0x3046
jl 0x1002d3f8
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 3
cmp dword [ebp - 0x2c], 0x7496
jge 0x1002d474
mov edx, str.maehkllfn_punohvpmt_goxv_puwhselpu_fjafij_gucmfltdr_fuyvnfa_ktnlvn_qifeg_iikxbyhna_fumnzhwo_czmcie_xmgoh
mov ecx, 0x10072d38
call fcn.10016228
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], 3
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x24], 0xfffffff9
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x38], 0x49f6d4a0
push 1
call fcn.10011bd7
mov dword [ebp - 0x38], 0x184dcc8
mov dword [ebp - 0x2c], 0xfffe
mov dword [ebp - 0x20], 0
jmp 0x1002d4e6
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x50]
mov dword [eax + ecx*4], 0x3ff14eb4
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 1
jl 0x1002d4d6
dec dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
dec eax
neg eax
sbb eax, eax
neg eax
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x50]
mov dword [eax], ecx
lea ecx, [ebp - 0x50]
call fcn.10011c39
jmp 0x1002d5b5
mov dword [ebp - 0x2c], 0x113b
cmp dword [ebp - 0x2c], 0x12e7
jle 0x1002d586
call dword [sym.imp.USER32.dll_EndMenu]
xor esi, esi
xor edi, edi
mov ecx, edi
mov eax, esi
sar eax, cl
lea ecx, [ebp - 0x74]
cdq
push edx
push eax
call fcn.10001ba3
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1002d552
mov eax, dword [eax]
push eax
call fcn.100410e1
pop ecx
push 0
push 1
lea ecx, [ebp - 0x74]
call fcn.100122d9
inc edi
cmp edi, 0x2b94
jl 0x1002d537
inc esi
cmp esi, 0x5e0d
jl 0x1002d535
push 0x1e55
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
lea eax, [ecx + 2]
mov dword [edx], eax
call fcn.10029a03
mov ecx, dword [ebp + 0x10]
movzx eax, ax
push eax
call fcn.1002819c
cmp dword [ebp - 0x2c], 0xff6
jge 0x1002d5b5
push str.rqhpkofke_sfi_nszkpt_wne_owmemry_hlst_mwvt_krfa_fgfvfsqet_ffw_ozya_ehsfk_bcat_awcwwk
call fcn.100410e1
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret