Function at 0x1002118c
Capabilities:
Compare security identifiers
Get common file path
Modify service
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10071473
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x360
push esi
push edi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x198], 0xcae7bf19
push 2
lea ecx, [ebp - 0x27c]
call fcn.1001a0d2
and dword [ebp - 4], 0
mov dword [ebp - 0x1a0], 0xfe3d2f55
mov dword [ebp - 0x1b0], 0xffffffff
mov dword [ebp - 0xb0], 0xfffffff7
mov dword [ebp - 0x70], 0
jmp 0x100211fc
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 2
jge 0x10021218
push dword [ebp - 0x70]
lea ecx, [ebp - 0x27c]
call fcn.1001a1d1
mov dword [eax], 0x64939e63
jmp 0x100211f5
cmp dword [ebp - 0x14], 0
jne 0x10021236
cmp dword [ebp - 0x14], 0
jne 0x10021236
mov eax, 0xfffb
test eax, eax
jne 0x10021236
and dword [ebp - 0x1f4], 0
jmp 0x10021240
mov dword [ebp - 0x1f4], 1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1f4], eax
jne 0x10021257
mov dword [ebp - 0x218], 1
jmp 0x1002125e
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x218]
sub eax, 0x6917900f
je 0x10021271
cmp dword [ebp - 0x14], 0
jne 0x10021280
cmp dword [ebp - 0x14], 0
jne 0x10021280
and dword [ebp - 0xd8], 0
jmp 0x1002128a
mov dword [ebp - 0xd8], 1
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0xe0], eax
push 1
lea ecx, [ebp - 0x27c]
call fcn.1001a1d1
mov ecx, dword [ebp - 0xe0]
mov dword [eax], ecx
mov eax, dword [ebp - 0xe0]
add eax, 0x289c089c
cmp eax, dword [ebp - 0x14]
jg 0x100212d3
mov dword [ebp - 0x23c], 1
jmp 0x100212da
and dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x1a0], 0xf6b903cf
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1a0], eax
jne 0x10021304
mov dword [ebp - 0xe8], 1
jmp 0x1002130b
and dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 0xfffffffb
jne 0x10021320
mov dword [ebp - 0x1a8], 1
jmp 0x10021327
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1a8]
sub eax, dword [ebp - 0x14]
jne 0x10021347
mov eax, 0x1e6e836
test eax, eax
jne 0x10021347
and dword [ebp - 0x240], 0
jmp 0x10021351
mov dword [ebp - 0x240], 1
mov eax, 0xfc75dfcc
test eax, eax
je 0x10021378
push 1
lea ecx, [ebp - 0x27c]
call fcn.1001a1d1
cmp dword [eax], 0
je 0x10021378
mov dword [ebp - 0xf0], 1
jmp 0x1002137f
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0xb0]
cmp dword [ebp - 0x1b0], eax
je 0x100213a5
mov dword [ebp - 0xf8], 1
jmp 0x100213ac
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xb0]
imul eax, dword [ebp - 0xf8]
cmp eax, dword [ebp - 0x14]
jge 0x100213ca
mov dword [ebp - 0x1b8], 1
jmp 0x100213d1
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1b8], eax
jl 0x100213e8
mov dword [ebp - 0x100], 1
jmp 0x100213ef
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
neg eax
cmp dword [ebp - 0x14], eax
jne 0x10021408
mov dword [ebp - 0x1c0], 1
jmp 0x1002140f
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0xb0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.1001a156
push 4
lea ecx, [ebp - 0x228]
call fcn.1001a0d2
mov dword [ebp - 4], 1
mov dword [ebp - 0x60], 0xb79f6a71
mov dword [ebp - 0x28], 0
jmp 0x10021455
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 4
jge 0x1002146b
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x33c], 0x4ec2e0cf
jmp 0x1002144e
mov dword [ebp - 0x28], 0
jmp 0x1002147b
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 4
jge 0x10021494
push dword [ebp - 0x28]
lea ecx, [ebp - 0x228]
call fcn.1001a1d1
or dword [eax], 0xffffffff
jmp 0x10021474
push 3
lea ecx, [ebp - 0x228]
call fcn.1001a1d1
mov dword [eax], 3
jmp 0x100214cd
push 3
lea ecx, [ebp - 0x228]
call fcn.1001a1d1
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x108]
mov dword [ecx], eax
push 3
lea ecx, [ebp - 0x228]
call fcn.1001a1d1
cmp dword [eax], 0
jl 0x100215b5
mov dword [ebp - 0x1c8], 0xfffffffb
mov dword [ebp - 0x78], 0
jmp 0x100214fd
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 3
jge 0x10021513
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x354], 0x3a92bd42
jmp 0x100214f6
mov byte [ebp - 0x55], 0
movzx eax, byte [ebp - 0x55]
test eax, eax
je 0x10021529
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
push 3
lea ecx, [ebp - 0x228]
call fcn.1001a1d1
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x33c], 0xffffffff
je 0x10021594
push 3
lea ecx, [ebp - 0x228]
call fcn.1001a1d1
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x33c]
mov dword [ebp - 0x328], eax
mov dword [ebp - 0x1c8], 1
mov esi, 0x6d0374c7
sub esi, dword [ebp - 0x1c8]
push 3
lea ecx, [ebp - 0x228]
call fcn.1001a1d1
mov eax, dword [eax]
cmp esi, dword [ebp + eax*4 - 0x33c]
je 0x10021594
and dword [ebp - 0x110], 0
jmp 0x1002159e
mov dword [ebp - 0x110], 1
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x110]
mov dword [ebp + eax - 0x354], ecx
jmp 0x100214a9
mov dword [ebp - 0x60], 0xfffffffa
jmp 0x100215c5
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xffffffe6
jne 0x100216d9
mov dword [ebp - 0xb8], 0xffffffff
push 1
lea ecx, [ebp - 0x2bc]
call fcn.1001a0d2
mov byte [ebp - 4], 2
mov dword [ebp - 0xa0], 0
jmp 0x10021603
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 1
jge 0x10021625
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x2bc]
call fcn.1001a1d1
mov dword [eax], 0xf087
jmp 0x100215f6
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x304], eax
cmp dword [ebp - 0xb8], 0
jne 0x10021646
mov dword [ebp - 0x1d0], 1
jmp 0x1002164d
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x1d0]
jle 0x10021664
mov dword [ebp - 0x118], 1
jmp 0x1002166b
and dword [ebp - 0x118], 0
cmp dword [ebp - 0x118], 2
jge 0x10021680
mov dword [ebp - 0x1d8], 1
jmp 0x10021687
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x1d8]
add eax, 0x3b16aac8
cmp dword [ebp - 0xb8], eax
jl 0x100216a6
mov dword [ebp - 0x120], 1
jmp 0x100216ad
and dword [ebp - 0x120], 0
mov esi, dword [ebp - 0x120]
sub esi, dword [ebp - 0x60]
push 0
lea ecx, [ebp - 0x2bc]
call fcn.1001a1d1
mov dword [eax], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2bc]
call fcn.1001a156
jmp 0x100215be
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.1001a156
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x244], 0x1896
cmp dword [ebp - 0x244], 0xa85
jge 0x1002176e
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0xc0]
push eax
push 0x1000797c
call fcn.10058e8b
add esp, 0xc
cmp dword [ebp - 0xc0], 0
jne 0x1002172c
cmp dword [ebp - 0x80], 1
je 0x10021758
cmp dword [ebp - 0x80], 1
jle 0x1002174c
mov eax, dword [ebp - 0x80]
dec eax
cmp dword [ebp - 0xc0], eax
jl 0x1002174c
mov eax, dword [ebp - 0xc0]
sub eax, dword [ebp - 0x80]
and eax, 1
jne 0x10021758
mov dword [ebp - 0x1e0], 0x100079f8
jmp 0x10021762
mov dword [ebp - 0x1e0], 0x100079f4
push dword [ebp - 0x1e0]
call fcn.10059c06
pop ecx
mov dword [ebp - 0x150], 0xcae7bf19
push 2
lea ecx, [ebp - 0x2a0]
call fcn.1001a0d2
mov dword [ebp - 4], 3
mov dword [ebp - 0x164], 0xfe3d2f55
mov dword [ebp - 0x174], 0xffffffff
mov dword [ebp - 0xbc], 0xfffffff7
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x30], 0xa
jmp 0x100217c1
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffe6
jl 0x100219b5
mov dword [ebp - 0x2c], 0xaa9ac70c
mov dword [ebp - 0x2c], 0xe
jmp 0x100217e2
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x100219b0
mov dword [ebp - 0x128], 0xffffffff
mov dword [ebp - 0x6c], 0xd0890515
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0xa8], 0
jmp 0x1002182a
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 2
jge 0x10021846
mov eax, dword [ebp - 0xa8]
mov dword [ebp + eax*4 - 0x2fc], 4
jmp 0x1002181d
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jne 0x10021974
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x344], eax
mov eax, 0xe7ad53a3
test eax, eax
je 0x10021880
cmp dword [ebp - 0x30], 0
je 0x10021880
mov dword [ebp - 0x1e8], 1
jmp 0x10021887
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x1e8], eax
je 0x1002189e
mov dword [ebp - 0x130], 1
jmp 0x100218a5
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x130], eax
jle 0x100218bc
mov dword [ebp - 0x24c], 1
jmp 0x100218c3
and dword [ebp - 0x24c], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x320], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x31c], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x2e8], eax
cmp dword [ebp - 0x6c], 0xffffffff
jne 0x100218fc
mov dword [ebp - 0x1f0], 1
jmp 0x10021903
and dword [ebp - 0x1f0], 0
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x1f0]
sub eax, 0x6615a27b
imul eax, dword [ebp - 0x138]
cmp eax, dword [ebp - 0x2c]
jle 0x10021929
mov dword [ebp - 0x1f8], 1
jmp 0x10021930
and dword [ebp - 0x1f8], 0
cmp dword [ebp - 0x1f8], 0xfecafe8
jle 0x10021948
mov dword [ebp - 0xb4], 1
jmp 0x1002194f
and dword [ebp - 0xb4], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xb4]
mov dword [ebp + eax - 0x2fc], ecx
cmp dword [ebp - 0xb4], 0
jne 0x10021974
and dword [ebp - 0x140], 0
jmp 0x1002197e
mov dword [ebp - 0x140], 1
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x140]
cmp eax, dword [ebp - 0x30]
jg 0x10021998
mov dword [ebp - 0x200], 1
jmp 0x1002199f
and dword [ebp - 0x200], 0
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x264], eax
jmp 0x100217db
jmp 0x100217ba
mov byte [ebp - 0x43], 0
movzx eax, byte [ebp - 0x43]
test eax, eax
je 0x100219cc
push 0x2405
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 0x88], 0
jmp 0x100219e5
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 2
jge 0x10021a07
push dword [ebp - 0x88]
lea ecx, [ebp - 0x2a0]
call fcn.1001a1d1
mov dword [eax], 0x64939e63
jmp 0x100219d8
cmp dword [ebp - 0x1c], 0
jne 0x10021a25
cmp dword [ebp - 0x1c], 0
jne 0x10021a25
mov eax, 0xfffb
test eax, eax
jne 0x10021a25
and dword [ebp - 0x148], 0
jmp 0x10021a2f
mov dword [ebp - 0x148], 1
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x148], eax
jne 0x10021a46
mov dword [ebp - 0x208], 1
jmp 0x10021a4d
and dword [ebp - 0x208], 0
mov eax, dword [ebp - 0x208]
sub eax, 0x6917900f
je 0x10021a60
cmp dword [ebp - 0x1c], 0
jne 0x10021a6f
cmp dword [ebp - 0x1c], 0
jne 0x10021a6f
and dword [ebp - 0x210], 0
jmp 0x10021a79
mov dword [ebp - 0x210], 1
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x214], eax
push 1
lea ecx, [ebp - 0x2a0]
call fcn.1001a1d1
mov ecx, dword [ebp - 0x214]
mov dword [eax], ecx
mov eax, dword [ebp - 0x214]
add eax, 0x289c089c
cmp eax, dword [ebp - 0x1c]
jg 0x10021ac2
mov dword [ebp - 0x258], 1
jmp 0x10021ac9
and dword [ebp - 0x258], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2ec], eax
mov dword [ebp - 0x164], 0xf6b903cf
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x164], eax
jne 0x10021af3
mov dword [ebp - 0x1c4], 1
jmp 0x10021afa
and dword [ebp - 0x1c4], 0
cmp dword [ebp - 0x1c4], 0xfffffffb
jne 0x10021b0f
mov dword [ebp - 0x16c], 1
jmp 0x10021b16
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x16c]
sub eax, dword [ebp - 0x1c]
jne 0x10021b36
mov eax, 0x1e6e836
test eax, eax
jne 0x10021b36
and dword [ebp - 0x248], 0
jmp 0x10021b40
mov dword [ebp - 0x248], 1
mov eax, 0xfc75dfcc
test eax, eax
je 0x10021b67
push 1
lea ecx, [ebp - 0x2a0]
call fcn.1001a1d1
cmp dword [eax], 0
je 0x10021b67
mov dword [ebp - 0xd0], 1
jmp 0x10021b6e
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0xbc]
cmp dword [ebp - 0x174], eax
je 0x10021b94
mov dword [ebp - 0x1cc], 1
jmp 0x10021b9b
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0xbc]
imul eax, dword [ebp - 0x1cc]
cmp eax, dword [ebp - 0x1c]
jge 0x10021bb9
mov dword [ebp - 0x17c], 1
jmp 0x10021bc0
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x17c], eax
jl 0x10021bd7
mov dword [ebp - 0x20c], 1
jmp 0x10021bde
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x20c]
neg eax
cmp dword [ebp - 0x1c], eax
jne 0x10021bf7
mov dword [ebp - 0x184], 1
jmp 0x10021bfe
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0xbc], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a0]
call fcn.1001a156
push 1
lea eax, [ebp - 0x36c]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.10016b71
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x360]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x360]
lea edi, [ebp - 0x294]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 4
lea ecx, [ebp - 0x318]
call fcn.1001a0d2
mov dword [ebp - 4], 4
mov dword [ebp - 0x90], 0xfffffff7
mov dword [ebp - 0x9c], 0
jmp 0x10021c7f
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 4
jge 0x10021ca1
push dword [ebp - 0x9c]
lea ecx, [ebp - 0x318]
call fcn.1001a1d1
mov dword [eax], 0xbbca
jmp 0x10021c72
mov dword [ebp - 0x90], 3
jmp 0x10021cba
mov eax, dword [ebp - 0x90]
dec eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jl 0x10021d92
mov dword [ebp - 0xa4], 0
jmp 0x10021ce0
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 3
jge 0x10021cfc
mov eax, dword [ebp - 0xa4]
mov dword [ebp + eax*4 - 0x288], 0x65ab3e90
jmp 0x10021cd3
mov byte [ebp - 0x58], 0
movzx eax, byte [ebp - 0x58]
test eax, eax
je 0x10021d20
push 0
push 0x13af
push 0
push 0x4aa
push 0
push 0x49
call dword [sym.imp.USER32.dll_DrawTextExW]
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x288], 0
jmp 0x10021d4b
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x288]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x288], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x288], 3
jg 0x10021d8d
mov byte [ebp - 0x45], 0
movzx eax, byte [ebp - 0x45]
test eax, eax
je 0x10021d8b
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x2640
push 0x1862
push 0x83b
push 0
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
jmp 0x10021d32
jmp 0x10021cad
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x318]
call fcn.1001a156
mov dword [ebp - 0x10], 0x87013dce
push 1
lea ecx, [ebp - 0x2e0]
call fcn.1001a0d2
mov dword [ebp - 4], 5
mov dword [ebp - 0x250], 0x39d6b9c2
mov dword [ebp - 0x98], 0
jmp 0x10021ddf
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 1
jge 0x10021e01
push dword [ebp - 0x98]
lea ecx, [ebp - 0x2e0]
call fcn.1001a1d1
mov dword [eax], 1
jmp 0x10021dd2
cmp dword [ebp - 0x10], 0
je 0x10021e19
cmp dword [ebp - 0x10], 0
je 0x10021e19
mov dword [ebp - 0x1fc], 1
jmp 0x10021e20
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x10]
jl 0x10021e38
mov dword [ebp - 0x1d4], 1
jmp 0x10021e3f
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1d4], eax
jne 0x10021e56
mov dword [ebp - 0x18c], 1
jmp 0x10021e5d
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18c]
jl 0x10021e74
mov dword [ebp - 0x194], 1
jmp 0x10021e7b
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x1fc]
cmp eax, dword [ebp - 0x194]
je 0x10021e95
mov dword [ebp - 0x260], 1
jmp 0x10021e9c
and dword [ebp - 0x260], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1dc], eax
push 0
lea ecx, [ebp - 0x2e0]
call fcn.1001a1d1
mov ecx, dword [ebp - 0x1dc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1dc], eax
jge 0x10021eda
mov dword [ebp - 0x19c], 1
jmp 0x10021ee1
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x10], 0
jmp 0x10021efd
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x10021f30
mov byte [ebp - 0x5a], 0
movzx eax, byte [ebp - 0x5a]
test eax, eax
je 0x10021f2e
push 0xe60
push 0x669
push 0x984
push 0x2620
push 0x41e
call dword [sym.imp.GDI32.dll_Ellipse]
jmp 0x10021ef6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e0]
call fcn.1001a156
mov dword [ebp - 0x8c], 5
mov dword [ebp - 0x20], 0xbdde0bcd
mov dword [ebp - 0x204], 0xe8e1b881
cmp dword [ebp - 0x20], 0
je 0x1002208a
mov dword [ebp - 0x4c], 0x318d5816
cmp dword [ebp - 0x20], 0
jne 0x10021f8c
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x10021f7d
cmp dword [ebp - 0x20], 0
jne 0x10021f8c
cmp dword [ebp - 0x4c], 0
jne 0x10021f8c
and dword [ebp - 0x21c], 0
jmp 0x10021f96
mov dword [ebp - 0x21c], 1
mov eax, dword [ebp - 0x21c]
neg eax
cmp eax, dword [ebp - 0x4c]
je 0x10021faf
mov dword [ebp - 0x1a4], 1
jmp 0x10021fb6
and dword [ebp - 0x1a4], 0
cmp dword [ebp - 0x1a4], 8
jne 0x10021fcb
mov dword [ebp - 0x1e4], 1
jmp 0x10021fd2
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x1e4], eax
jge 0x10021fe9
mov dword [ebp - 0x1ac], 1
jmp 0x10021ff0
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x1ac], eax
je 0x10022007
mov dword [ebp - 0x268], 1
jmp 0x1002200e
and dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x300], eax
mov eax, dword [ebp - 0x20]
add eax, 0xe534
cmp eax, dword [ebp - 0x20]
je 0x1002203c
mov dword [ebp - 0x1b4], 1
jmp 0x10022043
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x1b4], eax
jne 0x1002205a
mov dword [ebp - 0x1ec], 1
jmp 0x10022061
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x1ec]
je 0x10022078
mov dword [ebp - 0x1bc], 1
jmp 0x1002207f
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x4c], eax
jmp 0x100220bb
mov dword [ebp - 0x20], 0xfffffff6
jmp 0x1002209a
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2e
jge 0x100220bb
mov byte [ebp - 0x47], 0
movzx eax, byte [ebp - 0x47]
test eax, eax
je 0x100220b9
push 1
push 0x215f
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x10022093
mov byte [ebp - 0x59], 0
movzx eax, byte [ebp - 0x59]
test eax, eax
je 0x100224a5
mov dword [ebp - 0x34], 0xc03342eb
mov dword [ebp - 0x3c], 0x884cb8f6
mov dword [ebp - 0x308], 0xa01c77dc
mov byte [ebp - 0x4d], 0
movzx eax, byte [ebp - 0x4d]
test eax, eax
je 0x100220fc
push 1
push 0x19ad
call dword [sym.imp.USER32.dll_ShowOwnedPopups]
mov dword [ebp - 0x34], 0xffffffea
jmp 0x1002210c
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xf
jge 0x1002249d
mov dword [ebp - 0x64], 0x5589b583
mov dword [ebp - 0x2b0], 0xffffffff
mov dword [ebp - 0x2ac], 0xffffffff
mov dword [ebp - 0x2a8], 0xffffffff
mov dword [ebp - 0x2a4], 0xffffffff
cmp dword [ebp - 0x34], 0
jne 0x10022157
mov dword [ebp - 0x168], 1
jmp 0x1002215e
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x340], eax
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x64]
jne 0x1002217e
mov dword [ebp - 0x14c], 1
jmp 0x10022185
and dword [ebp - 0x14c], 0
cmp dword [ebp - 0x14c], 0x587c7ab8
jne 0x1002219d
mov dword [ebp - 0x160], 1
jmp 0x100221a4
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
sub eax, dword [ebp - 0x64]
cmp dword [ebp - 0x168], eax
jl 0x100221c1
mov dword [ebp - 0x170], 1
jmp 0x100221c8
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x170]
jle 0x100221df
mov dword [ebp - 0x178], 1
jmp 0x100221e6
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x178]
cmp eax, 1
je 0x10022201
mov dword [ebp - 0x180], 1
jmp 0x10022208
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x64]
push 4
pop ecx
shl ecx, 1
imul eax, dword [ebp + ecx - 0x2b0]
test eax, eax
je 0x1002224e
mov byte [ebp - 0x56], 0
movzx eax, byte [ebp - 0x56]
test eax, eax
je 0x10022249
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x10022410
push 2
lea ecx, [ebp - 0x15c]
call fcn.1001a0d2
mov dword [ebp - 4], 6
mov dword [ebp - 0x25c], 0x5618d7c
mov dword [ebp - 0xac], 0
jmp 0x10022285
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 2
jge 0x100222a7
push dword [ebp - 0xac]
lea ecx, [ebp - 0x15c]
call fcn.1001a1d1
mov dword [eax], 0x997b
jmp 0x10022278
push 1
lea ecx, [ebp - 0x15c]
call fcn.1001a1d1
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x188]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x15c]
call fcn.1001a1d1
mov esi, eax
push 0
lea ecx, [ebp - 0x15c]
call fcn.1001a1d1
mov ecx, dword [esi]
cmp ecx, dword [eax]
jl 0x100222f9
mov dword [ebp - 0x190], 1
jmp 0x10022300
and dword [ebp - 0x190], 0
push 1
lea ecx, [ebp - 0x15c]
call fcn.1001a1d1
push 4
pop ecx
imul ecx, ecx, 0
mov eax, dword [eax]
sub eax, dword [ebp + ecx - 0x2b0]
cmp eax, dword [ebp - 0x190]
jle 0x10022330
mov dword [ebp - 0xd4], 1
jmp 0x10022337
and dword [ebp - 0xd4], 0
push 1
lea ecx, [ebp - 0x15c]
call fcn.1001a1d1
mov ecx, dword [ebp - 0xd4]
cmp ecx, dword [eax]
jle 0x1002235a
mov dword [ebp - 0xdc], 1
jmp 0x10022361
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
dec eax
dec eax
neg eax
cmp eax, 1
jne 0x1002237c
mov dword [ebp - 0x270], 1
jmp 0x10022383
and dword [ebp - 0x270], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x2f0], eax
push 0
lea ecx, [ebp - 0x15c]
call fcn.1001a1d1
cmp dword [eax], 0xec1f
jge 0x100223ad
mov dword [ebp - 0xe4], 1
jmp 0x100223b4
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 8
je 0x100223c9
mov dword [ebp - 0xec], 1
jmp 0x100223d0
and dword [ebp - 0xec], 0
cmp dword [ebp - 0xec], 0x83a0
jg 0x100223eb
cmp dword [ebp - 0x34], 0
jne 0x100223eb
and dword [ebp - 0xf4], 0
jmp 0x100223f5
mov dword [ebp - 0xf4], 1
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x25c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call fcn.1001a156
mov dword [ebp - 0x3c], 0
jmp 0x10022420
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xfffffffc
jl 0x10022498
push 1
lea ecx, [ebp - 0x2d4]
call fcn.1001a0d2
mov dword [ebp - 4], 7
mov dword [ebp - 0x74], 0
jmp 0x1002244a
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jge 0x10022463
push dword [ebp - 0x74]
lea ecx, [ebp - 0x2d4]
call fcn.1001a1d1
or dword [eax], 0xffffffff
jmp 0x10022443
push 0
lea ecx, [ebp - 0x2d4]
call fcn.1001a1d1
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xfc]
mov dword [ecx], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d4]
call fcn.1001a156
jmp 0x10022419
jmp 0x10022105
push 0
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 0x68], 0xfffffff6
mov dword [ebp - 0x38], 2
mov dword [ebp - 0x32c], 0xffffffff
mov dword [ebp - 0x68], 0
jmp 0x100224cd
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xfffffff5
jle 0x10022982
push 1
lea ecx, [ebp - 0xcc]
call fcn.1001a0d2
mov dword [ebp - 4], 8
mov dword [ebp - 0x7c], 0
jmp 0x100224fb
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 1
jge 0x10022517
push dword [ebp - 0x7c]
lea ecx, [ebp - 0xcc]
call fcn.1001a1d1
mov dword [eax], 1
jmp 0x100224f4
cmp dword [ebp - 0x68], 0
je 0x10022902
mov dword [ebp - 0x238], 0xfffffff8
mov dword [ebp - 0x234], 0xfffffff8
mov dword [ebp - 0x230], 0xfffffff8
mov dword [ebp - 0x22c], 0xfffffff8
push 1
lea ecx, [ebp - 0x2c8]
call fcn.1001a0d2
mov byte [ebp - 4], 9
mov dword [ebp - 0x84], 0
jmp 0x10022573
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 1
jge 0x10022595
push dword [ebp - 0x84]
lea ecx, [ebp - 0x2c8]
call fcn.1001a1d1
mov dword [eax], 0xb0881dd
jmp 0x10022566
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x238], 0
jmp 0x100225c0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x238]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x238], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x238], 0
jg 0x100228cd
mov dword [ebp - 0x40], 0xd65121ac
mov dword [ebp - 0x40], 0
jmp 0x100225ea
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x10022759
mov dword [ebp - 0x13c], 0xe96b779c
push 4
pop eax
shl eax, 1
push dword [ebp + eax - 0x238]
lea ecx, [ebp - 0xcc]
call fcn.1001a1d1
cmp dword [eax], 0x31d26ec1
jle 0x10022629
mov dword [ebp - 0x104], 1
jmp 0x10022630
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x13c], eax
push dword [ebp - 0x40]
lea ecx, [ebp - 0xcc]
call fcn.1001a1d1
push 0
lea ecx, [ebp - 0xcc]
call fcn.1001a1d1
cmp dword [eax], 0
je 0x100226bd
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x238], 0
jne 0x1002267d
mov eax, 0x60de
test eax, eax
jne 0x1002267d
and dword [ebp - 0x10c], 0
jmp 0x10022687
mov dword [ebp - 0x10c], 1
cmp dword [ebp - 0x10c], 1
jl 0x1002269c
mov dword [ebp - 0x114], 1
jmp 0x100226a3
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0x114]
test eax, eax
je 0x100226bd
mov dword [ebp - 0x11c], 1
jmp 0x100226c4
and dword [ebp - 0x11c], 0
cmp dword [ebp - 0x11c], 0xffffffff
je 0x100226d9
mov dword [ebp - 0x124], 1
jmp 0x100226e0
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x124]
je 0x100226fd
cmp dword [ebp - 0x38], 0
je 0x100226fd
mov dword [ebp - 0x12c], 1
jmp 0x10022704
and dword [ebp - 0x12c], 0
cmp dword [ebp - 0x12c], 1
jne 0x10022719
mov dword [ebp - 0x134], 1
jmp 0x10022720
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x134]
jl 0x10022737
mov dword [ebp - 0x26c], 1
jmp 0x1002273e
and dword [ebp - 0x26c], 0
push 0
lea ecx, [ebp - 0xcc]
call fcn.1001a1d1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x13c], eax
jmp 0x100225e3
mov byte [ebp - 0x41], 0
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x100228c8
mov dword [ebp - 0x254], 0x1bec
cmp dword [ebp - 0x254], 0xade
jge 0x100228b9
lea eax, [ebp - 0x18]
push eax
push 0x10007810
call fcn.10058e8b
pop ecx
pop ecx
mov eax, dword [ebp - 0x18]
and eax, 1
je 0x100228ae
push 0x100078a0
call fcn.10059c06
pop ecx
cmp dword [ebp - 0x18], 1
jne 0x100227c0
push 0x100078a4
call fcn.100597a7
pop ecx
jmp 0x100228ac
mov eax, dword [ebp - 0x18]
inc eax
inc eax
imul eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax + 4]
push eax
push 0x100078b0
call fcn.100597a7
add esp, 0xc
mov eax, dword [ebp - 0x18]
add eax, 3
push eax
push 0x100078bc
call fcn.100597a7
pop ecx
pop ecx
mov dword [ebp - 0x24], 1
jmp 0x10022802
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
inc eax
inc eax
cmp dword [ebp - 0x24], eax
jg 0x100228ac
mov dword [ebp - 0x54], 1
jmp 0x10022820
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x18]
jg 0x100228a7
mov eax, dword [ebp - 0x24]
and eax, 0x80000001
jns 0x10022837
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
je 0x10022841
cmp dword [ebp - 0x54], 1
je 0x100228a2
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + eax - 1]
mov ecx, dword [ebp - 0x18]
inc ecx
inc ecx
cdq
idiv ecx
inc edx
cmp edx, dword [ebp - 0x24]
jle 0x100228a2
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + eax - 1]
mov ecx, dword [ebp - 0x18]
inc ecx
inc ecx
cdq
idiv ecx
mov eax, dword [ebp - 0x18]
lea eax, [edx + eax + 3]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + eax + 2]
push eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + eax - 1]
mov ecx, dword [ebp - 0x18]
inc ecx
inc ecx
cdq
idiv ecx
inc edx
push edx
push dword [ebp - 0x24]
push 0x100078c4
call fcn.100597a7
add esp, 0x14
jmp 0x10022819
jmp 0x100227fb
jmp 0x100228b9
push 0x100078d8
call fcn.10059c06
pop ecx
push 0x573
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x100225a7
push 0
lea ecx, [ebp - 0x2c8]
call fcn.1001a1d1
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x144]
mov dword [ecx], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c8]
call fcn.1001a156
jmp 0x10022941
mov byte [ebp - 0x42], 0
movzx eax, byte [ebp - 0x42]
test eax, eax
je 0x1002291b
push 0
push 0x151c
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
lea ecx, [ebp - 0xcc]
call fcn.1001a1d1
cmp dword [eax], 0
je 0x10022941
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.1001a156
jmp 0x100224c6
mov dword [ebp - 0x38], 0
jmp 0x10022951
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jg 0x1002296e
push dword [ebp - 0x38]
lea ecx, [ebp - 0xcc]
call fcn.1001a1d1
cmp dword [eax], 0
je 0x1002296c
jmp 0x1002296e
jmp 0x1002294a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.1001a156
jmp 0x100224c6
mov dword [ebp - 0x8c], 1
jmp 0x1002299b
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x18
jge 0x100229b7
mov byte [ebp - 0x44], 0
movzx eax, byte [ebp - 0x44]
test eax, eax
je 0x100229b5
call fcn.1002117a
jmp 0x1002298e
mov dword [ebp - 0x94], 5
mov byte [ebp - 0x46], 0
movzx eax, byte [ebp - 0x46]
test eax, eax
je 0x100229d5
push 0
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 0x94], 1
jmp 0x100229ee
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x18
jge 0x10022a12
mov byte [ebp - 0x57], 0
movzx eax, byte [ebp - 0x57]
test eax, eax
je 0x10022a10
push 0x824
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x100229e1
cmp dword [ebp - 0x294], 0
je 0x10022a2f
push 3
push dword [ebp - 0x28c]
push dword [ebp - 0x290]
call dword [ebp - 0x294]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret