Function at 0x100523ca
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10086fb6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100526a3
mov dword [ebp - 0xb8], 0x2afe
mov dword [ebp - 0x14], 0xfffffff8
mov dword [ebp - 0x10], 0x5c5735e4
mov dword [ebp - 0x40], 0xd8a94b2a
mov dword [ebp - 0x80], 0xffffffff
mov dword [ebp - 0x4c], 2
mov dword [ebp - 0xd0], 0xfffffffb
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x14], 8
cmp dword [ebp - 0x14], 0
je 0x10052480
xor eax, eax
jne 0x1005245e
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0x14], 0
jne 0x1005245e
and dword [ebp - 0x98], 0
jmp 0x10052468
mov dword [ebp - 0x98], 1
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10052480
mov dword [ebp - 0x78], 1
jmp 0x10052484
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x1005263a
mov dword [ebp - 0xc8], 0xffffffff
mov dword [ebp - 0x64], 0
jmp 0x100524ae
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 4
jge 0x100524c4
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0xf0], 1
jmp 0x100524a7
mov dword [ebp - 0x10], 0
jmp 0x100524d4
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x18
jne 0x100524f7
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x100524f5
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x100524cd
or eax, 0xffffffff
je 0x1005252d
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xf0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x118], eax
push 0xfffffffffffffff8
pop eax
dec eax
je 0x1005252d
mov dword [ebp - 0x70], 1
jmp 0x10052531
and dword [ebp - 0x70], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xf0]
cmp dword [ebp - 0x70], eax
jl 0x1005254f
mov dword [ebp - 0xac], 1
jmp 0x10052556
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
add eax, 9
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0xf0]
cmp eax, 0xc36b
jg 0x1005257f
mov dword [ebp - 0xb4], 1
jmp 0x10052586
and dword [ebp - 0xb4], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xf0]
cmp dword [ebp - 0xb4], eax
je 0x100525a3
mov dword [ebp - 0x68], 1
jmp 0x100525a7
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x80]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x10], eax
jge 0x100525ca
mov dword [ebp - 0xa8], 1
jmp 0x100525d1
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xd0]
cmp dword [ebp - 0xa8], eax
jl 0x100525eb
mov dword [ebp - 0x88], 1
jmp 0x100525f2
and dword [ebp - 0x88], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xf0]
imul eax, dword [ebp - 0x88]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
sub eax, 0xcc0e
je 0x10052625
cmp dword [ebp - 0x4c], 0
je 0x10052625
mov dword [ebp - 0xa0], 1
jmp 0x1005262c
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc8], eax
jmp 0x10052696
mov dword [ebp - 0x14], 0xd
jmp 0x1005264a
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x10052696
mov dword [ebp - 0xc4], 0x32f82966
mov dword [ebp - 0x4c], 0x71d0c0b8
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x10052694
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
jmp 0x10052643
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x10052bad
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0x48aab564
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x28], 0xb61943ec
mov dword [ebp - 0x60], 0
jmp 0x100526e3
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 2
jge 0x100526f6
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x58], 0
jmp 0x100526dc
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x58], 0xd
jmp 0x1005271b
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x58]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x58], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x58], 0xffffffe4
jl 0x100529ef
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x44], 0
jmp 0x10052743
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 4
jge 0x10052759
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x100], 0xffffffff
jmp 0x1005273c
mov dword [ebp - 0x18], 0
jmp 0x10052769
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jg 0x100529ea
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 0x7f4a7d2a
mov dword [ebp - 0x30], 3
jmp 0x10052791
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x100529cf
mov dword [ebp - 0x3c], 0x365653d4
mov dword [ebp - 0x3c], 3
jmp 0x100527b2
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x100529ca
mov dword [ebp - 0x48], 0
jmp 0x100527cc
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jge 0x100527e2
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x110], 0xb9567464
jmp 0x100527c5
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x100], 0
jne 0x1005286a
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 1
mov edx, 0x6974
sub edx, dword [ebp + ecx - 0x100]
cmp dword [ebp + eax - 0x58], edx
jge 0x10052818
mov dword [ebp - 0xb0], 1
jmp 0x1005281f
and dword [ebp - 0xb0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x58]
cmp dword [ebp - 0x18], eax
jle 0x1005283a
mov dword [ebp - 0x90], 1
jmp 0x10052841
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x90], eax
jne 0x10052855
mov dword [ebp - 0x74], 1
jmp 0x10052859
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0x74]
jne 0x1005286a
and dword [ebp - 0x7c], 0
jmp 0x10052871
mov dword [ebp - 0x7c], 1
cmp dword [ebp - 0x7c], 0x9953
jl 0x10052886
mov dword [ebp - 0x84], 1
jmp 0x1005288d
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x5169
jle 0x100528b1
mov dword [ebp - 0x8c], 1
jmp 0x100528b8
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x8c], eax
je 0x100528cf
mov dword [ebp - 0x94], 1
jmp 0x100528d6
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
sub eax, 0x1162d50c
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ebp + ecx*4 - 0x100]
jge 0x100528ff
mov dword [ebp - 0x9c], 1
jmp 0x10052906
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x9c]
push 4
pop ecx
shl ecx, 0
imul eax, dword [ebp + ecx - 0x58]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
jmp 0x1005292e
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jg 0x100529c5
mov dword [ebp - 0x114], 3
mov dword [ebp - 0x28], 0
jmp 0x10052952
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 4
jge 0x10052968
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x100], 0
jmp 0x1005294b
mov dword [ebp - 0x24], 3
jmp 0x10052978
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x100529c0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x110]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x110], eax
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x100529be
push 0x1552
push 0
push 0xe08
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
jmp 0x10052971
jmp 0x10052927
jmp 0x100527ab
jmp 0x1005278a
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x100529e5
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x10052762
jmp 0x10052706
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x58], 1
jne 0x10052a08
mov dword [ebp - 0xa4], 1
jmp 0x10052a0f
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0xa4]
jg 0x10052a26
mov dword [ebp - 0xcc], 1
jmp 0x10052a2d
and dword [ebp - 0xcc], 0
mov dword [ebp - 0x38], 0x7bb34e4a
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp + eax - 0x58], ecx
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
push 1
lea ecx, [ebp - 0xe0]
call fcn.1001740b
and dword [ebp - 4], 0
mov dword [ebp - 0x50], 0
jmp 0x10052a6e
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
jge 0x10052a8a
push dword [ebp - 0x50]
lea ecx, [ebp - 0xe0]
call fcn.100174a9
mov dword [eax], 0x97f6af11
jmp 0x10052a67
push 0
lea ecx, [ebp - 0xe0]
call fcn.100174a9
mov dword [eax], 0xfffffffe
jmp 0x10052aba
push 0
lea ecx, [ebp - 0xe0]
call fcn.100174a9
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0xe0]
call fcn.100174a9
cmp dword [eax], 0x1a
jge 0x10052b68
mov dword [ebp - 0x5c], 0xfa75c19c
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10052b03
push 0x21b6
push 0x10d7
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawEdge]
mov dword [ebp - 0x5c], 0xffffffec
jmp 0x10052b13
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x18
jg 0x10052b63
mov byte [ebp - 0x1c], 0
movzx eax, byte [ebp - 0x1c]
test eax, eax
je 0x10052b3c
push 0xc7b
push 0x815
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetClassLongA]
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x10052b61
push 0x102
push 0
push 0xb92
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
jmp 0x10052b0c
jmp 0x10052a9f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe0]
call fcn.1001748d
mov eax, dword [ebp - 0x34]
mov dword [eax], 0
jmp 0x10052b8d
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax], 2
jge 0x10052bad
mov eax, dword [ebp - 0x34]
push dword [eax]
mov ecx, dword [ebp - 0xc0]
call fcn.100174a9
mov dword [eax], 0x93046aa1
jmp 0x10052b82
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret