Function at 0x1001055d
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100649a4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push esi
mov dword [ebp - 0xc0], 0x1b34
cmp dword [ebp - 0xc0], 0x5f0
jge 0x10010659
mov dword [ebp - 0x44], 1
xor eax, eax
inc eax
je 0x10010659
push 0x10656b0c
push 0x100080b8
call fcn.1004cd7b
pop ecx
pop ecx
cmp dword [0x10656b0c], 0
jne 0x100105c5
jmp 0x10010659
push 0x1071f820
push 0x1000814c
call fcn.1004cd7b
pop ecx
pop ecx
call fcn.100104cd
push dword [ebp - 0x44]
push 0x10008150
call fcn.1004d1c8
pop ecx
pop ecx
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 2
jmp 0x10010601
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x10656b0c]
jg 0x10010649
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax*4 + 0x1071fa24]
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x4c]
test edx, edx
jne 0x10010647
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x14]
jge 0x10010647
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x4c]
push eax
push dword [ebp - 0x14]
push 0x10008160
call fcn.1004d1c8
add esp, 0xc
jmp 0x100105fa
push 0x10008168
call fcn.1004d1c8
pop ecx
jmp 0x1001059d
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1001071b
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xb8], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
movzx eax, byte [eax]
test eax, eax
je 0x100106e4
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x74], eax
push 0
mov ecx, dword [ebp - 0x60]
call fcn.10024a46
mov ecx, dword [ebp - 0x74]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x74]
mov esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x60]
call fcn.10024a46
mov dword [eax], esi
jmp 0x10010716
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax]
test eax, eax
je 0x10010716
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x10010c62
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x34], 0xec2e0cf5
mov dword [ebp - 0x70], 5
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x34], 0xfffffffc
jmp 0x1001077f
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xa
jge 0x1001093f
mov dword [ebp - 0x18], 0x8cb4c23a
mov dword [ebp - 0x3c], 0
jmp 0x100107a0
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x100107b3
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x54], 0xbb11accb
jmp 0x10010799
mov dword [ebp - 0x18], 0
jmp 0x100107c3
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jg 0x1001093a
mov dword [ebp - 0x10], 0x80d416db
mov dword [ebp - 0x10], 1
jmp 0x100107e4
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x10010911
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x10010813
push 0xa24
push 0x2359
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_CreateCaret]
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x54], 0x2b82
jge 0x1001082c
mov dword [ebp - 0xb4], 1
jmp 0x10010833
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x54]
add eax, dword [ebp - 0xb4]
cmp eax, 0xfffffff8
jbe 0x10010851
mov dword [ebp - 0xa0], 1
jmp 0x10010858
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xa0], eax
jl 0x1001086c
mov dword [ebp - 0x68], 1
jmp 0x10010870
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x54]
cmp dword [ebp - 0x68], eax
je 0x1001088e
mov eax, 0x6718
test eax, eax
jne 0x1001088e
and dword [ebp - 0x90], 0
jmp 0x10010898
mov dword [ebp - 0x90], 1
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x70], eax
jle 0x100108b5
mov dword [ebp - 0xb0], 1
jmp 0x100108bc
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
add eax, 4
cmp eax, dword [ebp - 0x10]
jle 0x100108d6
mov dword [ebp - 0xf8], 1
jmp 0x100108dd
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ebp + ecx*4 - 0x54]
cmp dword [ebp + eax*4 - 0x54], ecx
jl 0x100108ff
mov dword [ebp - 0x78], 1
jmp 0x10010903
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x100], eax
jmp 0x100107dd
mov dword [ebp - 0x10], 0
jmp 0x10010921
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x10010935
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x54], 0
je 0x10010933
jmp 0x10010935
jmp 0x1001091a
jmp 0x100107bc
jmp 0x10010778
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x24], 8
mov dword [ebp - 0xbc], 0xffffffff
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0x24], 0xd
jmp 0x10010976
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x10010a91
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
cmp dword [ebp - 0x24], 1
jb 0x100109c1
mov dword [ebp - 0x98], 1
jmp 0x100109c8
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0xbc]
imul eax, dword [ebp - 0x24]
cmp eax, 0x8e1b8814
ja 0x100109e2
mov dword [ebp - 0x80], 1
jmp 0x100109e6
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0x80]
jg 0x100109fd
mov dword [ebp - 0xa8], 1
jmp 0x10010a04
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0xa8], eax
jl 0x10010a1b
mov dword [ebp - 0x88], 1
jmp 0x10010a22
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x88]
je 0x10010a36
mov dword [ebp - 0x5c], 1
jmp 0x10010a3a
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x38], 0
jmp 0x10010a53
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jg 0x10010a8c
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x10010a74
push 1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x10010a8a
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x10010a4c
jmp 0x1001096f
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0x48], 0xfffffffe
mov dword [ebp - 0x2c], 0x7555b7ce
cmp dword [ebp - 0x48], 0
je 0x10010bc0
mov dword [ebp - 0x8c], 0xfffffff9
mov dword [ebp - 0x1c], 0xfffffffa
mov dword [ebp - 0x94], 0xfffffff8
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x11c], eax
push 6
pop eax
test eax, eax
je 0x10010b10
cmp dword [ebp - 0x1c], 0
je 0x10010b10
mov dword [ebp - 0x64], 1
jmp 0x10010b14
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x64]
je 0x10010b25
mov dword [ebp - 0x6c], 1
jmp 0x10010b29
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x6c], eax
jne 0x10010b3a
mov dword [ebp - 0x58], 1
jmp 0x10010b3e
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0x33e3
je 0x10010b50
mov dword [ebp - 0x7c], 1
jmp 0x10010b54
and dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 0x2632
jle 0x10010b69
mov dword [ebp - 0x84], 1
jmp 0x10010b70
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x94]
jne 0x10010bab
cmp dword [ebp - 0x1c], 0
jne 0x10010bab
and dword [ebp - 0x9c], 0
jmp 0x10010bb5
mov dword [ebp - 0x9c], 1
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x2c], eax
jmp 0x10010c1e
push 2
lea ecx, [ebp - 0x10c]
call fcn.100248e9
and dword [ebp - 4], 0
mov dword [ebp - 0x40], 0
jmp 0x10010be1
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x10010bfd
push dword [ebp - 0x40]
lea ecx, [ebp - 0x10c]
call fcn.10024a46
mov dword [eax], 0xe8f59172
jmp 0x10010bda
mov esi, dword [ebp - 0x48]
push 0
lea ecx, [ebp - 0x10c]
call fcn.10024a46
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.100249c2
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x10010c32
push 0
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xd4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xa4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xac]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret