Function at 0x1686d000
Capabilities:
Clear file content
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006708f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c0
push esi
push edi
mov dword [ebp - 0x7c], 0xfffffff6
mov dword [ebp - 0x3a0], 2
mov dword [ebp - 0x3d0], 5
mov dword [ebp - 0x3d8], 1
mov dword [ebp - 0xdc], 0
jmp 0x1686d05e
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 3
jge 0x1686d07a
mov eax, dword [ebp - 0xdc]
mov dword [ebp + eax*4 - 0x410], 0
jmp 0x1686d051
mov dword [ebp - 0x7c], 0
jmp 0x1686d08a
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 2
jg 0x1686d30d
and dword [ebp - 0x46c], 0
and dword [ebp - 0x468], 0
and dword [ebp - 0x464], 0
and dword [ebp - 0x460], 0
lea ecx, [ebp - 0x129]
call fcn.1000ae0e
push eax
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x46c]
push eax
lea ecx, [ebp - 0x594]
call fcn.1000ae11
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x15c]
call fcn.1000add4
and dword [ebp - 4], 0
push 3
lea ecx, [ebp - 0x15c]
call fcn.1000adff
mov dword [eax], 2
jmp 0x1686d122
push 3
lea ecx, [ebp - 0x15c]
call fcn.1000adff
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x2fc]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x2fc]
mov dword [ecx], eax
push 3
lea ecx, [ebp - 0x15c]
call fcn.1000adff
cmp dword [eax], 0
jl 0x1686d2f9
push 3
lea ecx, [ebp - 0x15c]
call fcn.1000adff
mov esi, dword [eax]
push 3
lea ecx, [ebp - 0x15c]
call fcn.1000adff
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x410]
cmp dword [ebp + esi*4 - 0x410], eax
jge 0x1686d172
mov dword [ebp - 0x368], 1
jmp 0x1686d179
and dword [ebp - 0x368], 0
mov eax, dword [ebp - 0x368]
mov dword [ebp - 0x3a0], eax
xor eax, eax
inc eax
je 0x1686d1ac
cmp dword [ebp - 0x7c], 0
je 0x1686d1ac
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x410], 0
je 0x1686d1ac
mov dword [ebp - 0x370], 1
jmp 0x1686d1b3
and dword [ebp - 0x370], 0
cmp dword [ebp - 0x370], 1
ja 0x1686d1c8
mov dword [ebp - 0x378], 1
jmp 0x1686d1cf
and dword [ebp - 0x378], 0
cmp dword [ebp - 0x378], 9
jge 0x1686d1e4
mov dword [ebp - 0x380], 1
jmp 0x1686d1eb
and dword [ebp - 0x380], 0
mov esi, dword [ebp - 0x380]
neg esi
push 3
lea ecx, [ebp - 0x15c]
call fcn.1000adff
cmp esi, dword [eax]
jne 0x1686d210
mov dword [ebp - 0x2bc], 1
jmp 0x1686d217
and dword [ebp - 0x2bc], 0
push 3
lea ecx, [ebp - 0x15c]
call fcn.1000adff
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x410]
cmp eax, dword [ebp - 0x2bc]
jle 0x1686d241
mov dword [ebp - 0x16c], 1
jmp 0x1686d248
and dword [ebp - 0x16c], 0
cmp dword [ebp - 0x16c], 0xfffffff9
jge 0x1686d25d
mov dword [ebp - 0x2d0], 1
jmp 0x1686d264
and dword [ebp - 0x2d0], 0
push 3
lea ecx, [ebp - 0x15c]
call fcn.1000adff
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x410]
cmp dword [ebp - 0x2d0], eax
jg 0x1686d28e
mov dword [ebp - 0x174], 1
jmp 0x1686d295
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x174], eax
je 0x1686d2ac
mov dword [ebp - 0x2d8], 1
jmp 0x1686d2b3
and dword [ebp - 0x2d8], 0
mov eax, dword [ebp - 0x3d0]
cmp dword [ebp - 0x2d8], eax
jge 0x1686d2cd
mov dword [ebp - 0x17c], 1
jmp 0x1686d2d4
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x3d8], eax
mov byte [ebp - 0x4b], 0
movzx eax, byte [ebp - 0x4b]
test eax, eax
je 0x1686d2f4
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x1686d0fe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call fcn.1000adfa
jmp 0x1686d083
mov byte [ebp - 0x3e], 0
movzx eax, byte [ebp - 0x3e]
test eax, eax
je 0x1686d321
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov dword [ebp - 0x78], 0xfffffff6
mov dword [ebp - 0x3e0], 2
mov dword [ebp - 0x3e8], 5
mov dword [ebp - 0x3f0], 1
mov dword [ebp - 0xbc], 0
jmp 0x1686d35f
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 3
jge 0x1686d37b
mov eax, dword [ebp - 0xbc]
mov dword [ebp + eax*4 - 0x420], 0
jmp 0x1686d352
mov dword [ebp - 0x78], 0
jmp 0x1686d38b
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 2
jg 0x1686d611
and dword [ebp - 0x480], 0
and dword [ebp - 0x47c], 0
and dword [ebp - 0x478], 0
and dword [ebp - 0x474], 0
lea ecx, [ebp - 0x11d]
call fcn.1000ae0e
push eax
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x480]
push eax
lea ecx, [ebp - 0x5bc]
call fcn.1000ae11
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x150]
call fcn.1000add4
mov dword [ebp - 4], 1
push 3
lea ecx, [ebp - 0x150]
call fcn.1000adff
mov dword [eax], 2
jmp 0x1686d426
push 3
lea ecx, [ebp - 0x150]
call fcn.1000adff
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp - 0x2e0]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x2e0]
mov dword [ecx], eax
push 3
lea ecx, [ebp - 0x150]
call fcn.1000adff
cmp dword [eax], 0
jl 0x1686d5fd
push 3
lea ecx, [ebp - 0x150]
call fcn.1000adff
mov esi, dword [eax]
push 3
lea ecx, [ebp - 0x150]
call fcn.1000adff
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x420]
cmp dword [ebp + esi*4 - 0x420], eax
jge 0x1686d476
mov dword [ebp - 0x184], 1
jmp 0x1686d47d
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x3e0], eax
xor eax, eax
inc eax
je 0x1686d4b0
cmp dword [ebp - 0x78], 0
je 0x1686d4b0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x420], 0
je 0x1686d4b0
mov dword [ebp - 0x2e8], 1
jmp 0x1686d4b7
and dword [ebp - 0x2e8], 0
cmp dword [ebp - 0x2e8], 1
ja 0x1686d4cc
mov dword [ebp - 0x18c], 1
jmp 0x1686d4d3
and dword [ebp - 0x18c], 0
cmp dword [ebp - 0x18c], 9
jge 0x1686d4e8
mov dword [ebp - 0x2f0], 1
jmp 0x1686d4ef
and dword [ebp - 0x2f0], 0
mov esi, dword [ebp - 0x2f0]
neg esi
push 3
lea ecx, [ebp - 0x150]
call fcn.1000adff
cmp esi, dword [eax]
jne 0x1686d514
mov dword [ebp - 0x194], 1
jmp 0x1686d51b
and dword [ebp - 0x194], 0
push 3
lea ecx, [ebp - 0x150]
call fcn.1000adff
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x420]
cmp eax, dword [ebp - 0x194]
jle 0x1686d545
mov dword [ebp - 0x2f8], 1
jmp 0x1686d54c
and dword [ebp - 0x2f8], 0
cmp dword [ebp - 0x2f8], 0xfffffff9
jge 0x1686d561
mov dword [ebp - 0x19c], 1
jmp 0x1686d568
and dword [ebp - 0x19c], 0
push 3
lea ecx, [ebp - 0x150]
call fcn.1000adff
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x420]
cmp dword [ebp - 0x19c], eax
jg 0x1686d592
mov dword [ebp - 0x300], 1
jmp 0x1686d599
and dword [ebp - 0x300], 0
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x300], eax
je 0x1686d5b0
mov dword [ebp - 0x1a4], 1
jmp 0x1686d5b7
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x3e8]
cmp dword [ebp - 0x1a4], eax
jge 0x1686d5d1
mov dword [ebp - 0x308], 1
jmp 0x1686d5d8
and dword [ebp - 0x308], 0
mov eax, dword [ebp - 0x308]
mov dword [ebp - 0x3f0], eax
mov byte [ebp - 0x40], 0
movzx eax, byte [ebp - 0x40]
test eax, eax
je 0x1686d5f8
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x1686d402
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x150]
call fcn.1000adfa
jmp 0x1686d384
mov byte [ebp - 0x42], 0
movzx eax, byte [ebp - 0x42]
test eax, eax
je 0x1686d625
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov dword [ebp - 0x5c], 0xffff
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x5c], 0x18
jmp 0x1686d643
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x1f
je 0x1686d664
mov byte [ebp - 0x44], 0
movzx eax, byte [ebp - 0x44]
test eax, eax
je 0x1686d662
push 0
push 0x252c
call dword [sym.imp.GDI32.dll_GetWindowOrgEx]
jmp 0x1686d63c
mov dword [ebp - 0x564], 0x5dcec3d7
mov byte [ebp - 0x46], 0
movzx eax, byte [ebp - 0x46]
test eax, eax
je 0x1686d68c
push 0x21ab
push 0
push 0x228a
call dword [sym.imp.GDI32.dll_Polygon]
mov byte [ebp - 0x48], 0
movzx eax, byte [ebp - 0x48]
test eax, eax
je 0x1686d69e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x70], 0xffff
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x70], 0x18
jmp 0x1686d6bc
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x1f
je 0x1686d6dd
mov byte [ebp - 0x4a], 0
movzx eax, byte [ebp - 0x4a]
test eax, eax
je 0x1686d6db
push 0
push 0x252c
call dword [sym.imp.GDI32.dll_GetWindowOrgEx]
jmp 0x1686d6b5
mov dword [ebp - 0x51c], 0x5dcec3d7
mov byte [ebp - 0x4c], 0
movzx eax, byte [ebp - 0x4c]
test eax, eax
je 0x1686d705
push 0x21ab
push 0
push 0x228a
call dword [sym.imp.GDI32.dll_Polygon]
mov byte [ebp - 0x4e], 0
movzx eax, byte [ebp - 0x4e]
test eax, eax
je 0x1686d717
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x80], 0xeee2
mov dword [ebp - 0x1ac], 0x4888999d
cmp dword [ebp - 0x80], 0
je 0x1686d740
cmp dword [ebp - 0x80], 0
je 0x1686d740
mov dword [ebp - 0x310], 1
jmp 0x1686d747
and dword [ebp - 0x310], 0
cmp dword [ebp - 0x80], 1
jl 0x1686d759
mov dword [ebp - 0x3f8], 1
jmp 0x1686d760
and dword [ebp - 0x3f8], 0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1ac]
imul eax, dword [ebp - 0x310]
mov ecx, dword [ebp - 0x80]
add ecx, dword [ebp - 0x80]
cmp eax, ecx
jg 0x1686d78c
mov dword [ebp - 0x1b4], 1
jmp 0x1686d793
and dword [ebp - 0x1b4], 0
cmp dword [ebp - 0x1b4], 0xffff
jae 0x1686d7c0
mov eax, 0x4ffd8143
test eax, eax
je 0x1686d7c0
mov byte [ebp - 0x50], 0
movzx eax, byte [ebp - 0x50]
test eax, eax
je 0x1686d7be
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
jmp 0x1686d7e1
mov byte [ebp - 0x52], 0
movzx eax, byte [ebp - 0x52]
test eax, eax
je 0x1686d7e1
push 0x16b8
push 0x32a
push 0x1115
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
movzx eax, byte [0x10654e58]
test eax, eax
je 0x1686d7ff
mov esi, 0x1006961c
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
jmp 0x1686f89d
mov dword [ebp - 0x558], 0x1006961c
mov dword [ebp - 0x4a8], 4
mov dword [ebp - 0x4a4], 4
mov dword [ebp - 0x4a0], 4
mov dword [ebp - 0x49c], 4
lea ecx, [ebp - 0xf5]
call fcn.1000ae0e
push eax
lea eax, [ebp - 0x498]
push eax
lea eax, [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x5ac]
call fcn.1000ae11
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x44c]
call fcn.1000add4
mov dword [ebp - 4], 2
push 0
lea ecx, [ebp - 0x44c]
call fcn.1000adff
mov dword [eax], 0x16
jmp 0x1686d8a6
push 0
lea ecx, [ebp - 0x44c]
call fcn.1000adff
mov dword [ebp - 0x318], eax
mov eax, dword [ebp - 0x318]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x318]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x44c]
call fcn.1000adff
cmp dword [eax], 0xa
jle 0x1686d93c
mov dword [ebp - 0xd4], 0x72fd4914
mov byte [ebp - 0x3b], 0
movzx eax, byte [ebp - 0x3b]
test eax, eax
je 0x1686d8e4
push 0xe05
push 0x13a9
push 0
call dword [sym.imp.GDI32.dll_OffsetRgn]
mov dword [ebp - 0xd4], 0
jmp 0x1686d8fd
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
jle 0x1686d937
mov byte [ebp - 0x51], 0
movzx eax, byte [ebp - 0x51]
test eax, eax
je 0x1686d921
push 0
push 0
push 0x87f
call dword [sym.imp.GDI32.dll_SelectPalette]
mov byte [ebp - 0x3d], 0
movzx eax, byte [ebp - 0x3d]
test eax, eax
je 0x1686d935
push 0
call dword [sym.imp.USER32.dll_IsRectEmpty]
jmp 0x1686d8f0
jmp 0x1686d882
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44c]
call fcn.1000adfa
mov dword [ebp - 0x64], 0xeee2
mov dword [ebp - 0x1bc], 0x4888999d
cmp dword [ebp - 0x64], 0
je 0x1686d974
cmp dword [ebp - 0x64], 0
je 0x1686d974
mov dword [ebp - 0x320], 1
jmp 0x1686d97b
and dword [ebp - 0x320], 0
cmp dword [ebp - 0x64], 1
jl 0x1686d98d
mov dword [ebp - 0x400], 1
jmp 0x1686d994
and dword [ebp - 0x400], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
imul eax, dword [ebp - 0x320]
mov ecx, dword [ebp - 0x64]
add ecx, dword [ebp - 0x64]
cmp eax, ecx
jg 0x1686d9c0
mov dword [ebp - 0x1c4], 1
jmp 0x1686d9c7
and dword [ebp - 0x1c4], 0
cmp dword [ebp - 0x1c4], 0xffff
jae 0x1686d9f4
mov eax, 0x4ffd8143
test eax, eax
je 0x1686d9f4
mov byte [ebp - 0x49], 0
movzx eax, byte [ebp - 0x49]
test eax, eax
je 0x1686d9f2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
jmp 0x1686da15
mov byte [ebp - 0x3f], 0
movzx eax, byte [ebp - 0x3f]
test eax, eax
je 0x1686da15
push 0x16b8
push 0x32a
push 0x1115
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x10], 0xf46db505
mov dword [ebp - 0x38], 0xfffffffc
mov dword [ebp - 0x108], 0xfffffff8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x524], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
lea eax, [eax + ecx - 1]
imul eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x38], eax
jg 0x1686da5b
mov dword [ebp - 0x328], 1
jmp 0x1686da62
and dword [ebp - 0x328], 0
cmp dword [ebp - 0x328], 0xfffa
jbe 0x1686da7d
cmp dword [ebp - 0x38], 0
jne 0x1686da7d
and dword [ebp - 0x3c8], 0
jmp 0x1686da87
mov dword [ebp - 0x3c8], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4f0], eax
cmp dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x38], 0
je 0x1686dc92
mov dword [ebp - 0x340], 1
mov dword [ebp - 0xc4], 0xfc72fa5d
mov dword [ebp - 0x1dc], 0xffffffff
mov dword [ebp - 0x404], 1
mov dword [ebp - 0x10], 0xc
jmp 0x1686dae2
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffef
je 0x1686dc90
mov dword [ebp - 0xa4], 0x87fd
mov eax, dword [ebp - 0x340]
mov dword [ebp - 0x4f8], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
je 0x1686dbae
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x500], eax
cmp dword [ebp - 0x108], 0x2bc90638
je 0x1686db3c
mov dword [ebp - 0x1cc], 1
jmp 0x1686db43
and dword [ebp - 0x1cc], 0
cmp dword [ebp - 0x1cc], 0x19d8
jne 0x1686db5b
mov dword [ebp - 0x3ac], 1
jmp 0x1686db62
and dword [ebp - 0x3ac], 0
mov eax, 0xfff9
test eax, eax
jne 0x1686db77
mov dword [ebp - 0x330], 1
jmp 0x1686db7e
and dword [ebp - 0x330], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0x330]
lea eax, [eax + ecx + 0x6770ea16]
sub eax, dword [ebp - 0x38]
je 0x1686dbae
mov dword [ebp - 0x1d4], 1
jmp 0x1686dbb5
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xa4]
cmp dword [ebp - 0x38], eax
jne 0x1686dbd5
mov dword [ebp - 0x338], 1
jmp 0x1686dbdc
and dword [ebp - 0x338], 0
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1dc]
imul eax, dword [ebp - 0x340]
cmp eax, 1
jle 0x1686dc06
mov dword [ebp - 0x1e4], 1
jmp 0x1686dc0d
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0x1e4]
sub eax, 0x837e
cmp eax, 0xfffffff9
jbe 0x1686dc29
mov dword [ebp - 0x348], 1
jmp 0x1686dc30
and dword [ebp - 0x348], 0
mov eax, dword [ebp - 0x348]
sub eax, dword [ebp - 0xa4]
jne 0x1686dc50
cmp dword [ebp - 0xa4], 0
jne 0x1686dc50
and dword [ebp - 0x1ec], 0
jmp 0x1686dc5a
mov dword [ebp - 0x1ec], 1
cmp dword [ebp - 0x1ec], 0x26a8acdd
jl 0x1686dc78
cmp dword [ebp - 0x10], 0
je 0x1686dc78
mov dword [ebp - 0x350], 1
jmp 0x1686dc7f
and dword [ebp - 0x350], 0
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0x404], eax
jmp 0x1686dadb
jmp 0x1686dcbc
mov byte [ebp - 0x4f], 0
movzx eax, byte [ebp - 0x4f]
test eax, eax
je 0x1686dcbc
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]
mov dword [ebp - 0x508], 0x10069620
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x124], 0xfffffffd
mov dword [ebp - 0xe4], 0xffff
mov dword [ebp - 0x3bc], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x20], 0
jg 0x1686dd10
mov dword [ebp - 0x1f4], 1
jmp 0x1686dd17
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1f4]
cmp eax, 0x57688195
je 0x1686dd33
mov dword [ebp - 0x358], 1
jmp 0x1686dd3a
and dword [ebp - 0x358], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x358], eax
jge 0x1686dd51
mov dword [ebp - 0x360], 1
jmp 0x1686dd58
and dword [ebp - 0x360], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
imul eax, dword [ebp - 0x360]
cmp eax, dword [ebp - 0x20]
jle 0x1686dd7f
mov dword [ebp - 0x200], 1
jmp 0x1686dd86
and dword [ebp - 0x200], 0
cmp dword [ebp - 0x200], 5
jb 0x1686dda1
cmp dword [ebp - 0xe4], 0
jne 0x1686dda1
and dword [ebp - 0x2c0], 0
jmp 0x1686ddab
mov dword [ebp - 0x2c0], 1
cmp dword [ebp - 0x2c0], 5
je 0x1686ddc0
mov dword [ebp - 0x208], 1
jmp 0x1686ddc7
and dword [ebp - 0x208], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x208], eax
jne 0x1686df1e
mov dword [ebp - 0x6c], 0x6e74
mov dword [ebp - 0x218], 0xfffffff7
mov dword [ebp - 0x430], 0xffffffff
cmp dword [ebp - 0x6c], 0
jne 0x1686de03
mov dword [ebp - 0x210], 1
jmp 0x1686de0a
and dword [ebp - 0x210], 0
cmp dword [ebp - 0x6c], 0
je 0x1686de16
cmp dword [ebp - 0x6c], 0
jne 0x1686de5c
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x6c]
je 0x1686de37
mov eax, 0xe50714ba
test eax, eax
je 0x1686de37
xor eax, eax
je 0x1686de37
mov dword [ebp - 0x32c], 1
jmp 0x1686de3e
and dword [ebp - 0x32c], 0
mov eax, dword [ebp - 0x9c]
cmp dword [ebp - 0x32c], eax
jl 0x1686de55
mov eax, 0x57cf7a02
test eax, eax
je 0x1686de5c
cmp dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x510], eax
or eax, 0xffffffff
sub eax, dword [ebp - 0x124]
imul eax, eax, 0x971c
cmp dword [ebp - 0x210], eax
jg 0x1686de8e
cmp dword [ebp - 0x9c], 0
jne 0x1686de8e
and dword [ebp - 0x2d4], 0
jmp 0x1686de98
mov dword [ebp - 0x2d4], 1
mov eax, dword [ebp - 0xe4]
cmp dword [ebp - 0x2d4], eax
jge 0x1686deb2
mov dword [ebp - 0x3b4], 1
jmp 0x1686deb9
and dword [ebp - 0x3b4], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x54c], eax
mov dword [ebp - 0x218], 0xeeb4983
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x218], eax
jne 0x1686dee3
mov dword [ebp - 0x35c], 1
jmp 0x1686deea
and dword [ebp - 0x35c], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x35c], eax
jge 0x1686df01
mov dword [ebp - 0x220], 1
jmp 0x1686df08
and dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x220]
add eax, 0xcf04
mov dword [ebp - 0x430], eax
jmp 0x1686dfed
mov dword [ebp - 0x228], 0xad537e8f
mov dword [ebp - 0x2dc], 4
mov dword [ebp - 0x414], 1
mov dword [ebp - 0x2dc], 0xfffd
cmp dword [ebp - 0x2dc], 1
jge 0x1686df5b
mov dword [ebp - 0x334], 1
jmp 0x1686df62
and dword [ebp - 0x334], 0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x228]
add eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x334]
jg 0x1686df8b
mov dword [ebp - 0x230], 1
jmp 0x1686df92
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x230]
sub eax, dword [ebp - 0x124]
cmp eax, 0xffffffff
jg 0x1686dfaf
mov dword [ebp - 0x2e4], 1
jmp 0x1686dfb6
and dword [ebp - 0x2e4], 0
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0x2e4]
cmp eax, dword [ebp - 0x3bc]
jle 0x1686dfd6
mov dword [ebp - 0x238], 1
jmp 0x1686dfdd
and dword [ebp - 0x238], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x238]
mov dword [ebp - 0x414], eax
mov byte [0x10654e58], 1
xor eax, eax
inc eax
imul eax, eax, 0x148
add eax, 0x10069628
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x4d0], 4
mov dword [ebp - 0x4cc], 4
mov dword [ebp - 0x4c8], 4
mov dword [ebp - 0x4c4], 4
lea ecx, [ebp - 0xfd]
call fcn.1000ae0e
push eax
lea eax, [ebp - 0x4c0]
push eax
lea eax, [ebp - 0x4d0]
push eax
lea ecx, [ebp - 0x5cc]
call fcn.1000ae11
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x458]
call fcn.1000add4
mov dword [ebp - 4], 3
push 0
lea ecx, [ebp - 0x458]
call fcn.1000adff
mov dword [eax], 0x16
jmp 0x1686e0a5
push 0
lea ecx, [ebp - 0x458]
call fcn.1000adff
mov dword [ebp - 0x374], eax
mov eax, dword [ebp - 0x374]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x374]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x458]
call fcn.1000adff
cmp dword [eax], 0xa
jle 0x1686e13b
mov dword [ebp - 0xcc], 0x72fd4914
mov byte [ebp - 0x41], 0
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x1686e0e3
push 0xe05
push 0x13a9
push 0
call dword [sym.imp.GDI32.dll_OffsetRgn]
mov dword [ebp - 0xcc], 0
jmp 0x1686e0fc
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jle 0x1686e136
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x1686e120
push 0
push 0
push 0x87f
call dword [sym.imp.GDI32.dll_SelectPalette]
mov byte [ebp - 0x43], 0
movzx eax, byte [ebp - 0x43]
test eax, eax
je 0x1686e134
push 0
call dword [sym.imp.USER32.dll_IsRectEmpty]
jmp 0x1686e0ef
jmp 0x1686e081
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x458]
call fcn.1000adfa
and dword [ebp - 0x4bc], 0
and dword [ebp - 0x4b8], 0
and dword [ebp - 0x4b4], 0
and dword [ebp - 0x4b0], 0
lea ecx, [ebp - 0x115]
call fcn.1000ae0e
push eax
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x4bc]
push eax
lea ecx, [ebp - 0x5a4]
call fcn.1000ae11
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x390]
call fcn.1000add4
mov dword [ebp - 4], 4
push 0
lea ecx, [ebp - 0x390]
call fcn.1000adff
mov dword [eax], 0xfffffffb
jmp 0x1686e1db
push 0
lea ecx, [ebp - 0x390]
call fcn.1000adff
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x240]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x390]
call fcn.1000adff
cmp dword [eax], 0x1d
je 0x1686e639
push 3
lea ecx, [ebp - 0x144]
call fcn.1000ad98
mov byte [ebp - 4], 5
mov dword [ebp - 0x2c], 0
jmp 0x1686e212
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x1686e228
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x580], 0
jmp 0x1686e20b
mov dword [ebp - 0x2c], 0
jmp 0x1686e238
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x1686e254
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x144]
call fcn.1000adff
mov dword [eax], 0xb950ba1b
jmp 0x1686e231
push 0
lea ecx, [ebp - 0x144]
call fcn.1000adff
and dword [eax], 0
jmp 0x1686e28a
push 0
lea ecx, [ebp - 0x144]
call fcn.1000adff
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebp - 0x2ec]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x2ec]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x144]
call fcn.1000adff
cmp dword [eax], 2
jg 0x1686e625
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x438], 1
mov dword [ebp - 0x424], 0x231966ba
mov dword [ebp - 0x28], 2
jmp 0x1686e2cb
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x1686e609
mov dword [ebp - 0x304], 0xffffffff
mov dword [ebp - 0x94], 0xfffffffa
push 2
lea ecx, [ebp - 0x390]
call fcn.1000adff
cmp dword [eax], 0
je 0x1686e427
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x554], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x514], eax
push 1
lea ecx, [ebp - 0x390]
call fcn.1000adff
mov ecx, dword [ebp - 0x304]
add ecx, dword [eax]
cmp ecx, 0xffff
jae 0x1686e33a
mov dword [ebp - 0x248], 1
jmp 0x1686e341
and dword [ebp - 0x248], 0
cmp dword [ebp - 0x248], 0x3650dfa0
jge 0x1686e359
mov dword [ebp - 0x33c], 1
jmp 0x1686e360
and dword [ebp - 0x33c], 0
push 1
lea ecx, [ebp - 0x390]
call fcn.1000adff
mov ecx, dword [ebp - 0x33c]
cmp ecx, dword [eax]
jg 0x1686e383
mov dword [ebp - 0x3c4], 1
jmp 0x1686e38a
and dword [ebp - 0x3c4], 0
push 0
lea ecx, [ebp - 0x390]
call fcn.1000adff
mov eax, 0xb5a7
sub eax, 0xae65
jne 0x1686e3af
mov dword [ebp - 0x250], 1
jmp 0x1686e3b6
and dword [ebp - 0x250], 0
cmp dword [ebp - 0x250], 0x421a
jne 0x1686e3ce
mov dword [ebp - 0x2f4], 1
jmp 0x1686e3d5
and dword [ebp - 0x2f4], 0
mov eax, dword [ebp - 0x2f4]
neg eax
je 0x1686e3eb
mov dword [ebp - 0x258], 1
jmp 0x1686e3f2
and dword [ebp - 0x258], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x258], eax
jl 0x1686e409
mov dword [ebp - 0x364], 1
jmp 0x1686e410
and dword [ebp - 0x364], 0
mov eax, dword [ebp - 0x364]
sub eax, dword [ebp - 0x28]
je 0x1686e427
mov dword [ebp - 0x110], 1
jmp 0x1686e42e
and dword [ebp - 0x110], 0
push 0
lea ecx, [ebp - 0x144]
call fcn.1000adff
mov eax, dword [eax]
mov ecx, dword [ebp - 0x110]
mov dword [ebp + eax*4 - 0x580], ecx
cmp dword [ebp - 0x110], 0x807cfaf4
jbe 0x1686e462
mov dword [ebp - 0x260], 1
jmp 0x1686e469
and dword [ebp - 0x260], 0
push 0
lea ecx, [ebp - 0x144]
call fcn.1000adff
mov ecx, dword [ebp - 0x260]
cmp ecx, dword [eax]
jle 0x1686e48c
mov dword [ebp - 0x160], 1
jmp 0x1686e493
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x94], 0x11
jmp 0x1686e4b8
mov eax, dword [ebp - 0x94]
dec eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0xfffffff6
jne 0x1686e604
mov dword [ebp - 0xb0], 0
jmp 0x1686e4de
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 1
jge 0x1686e4fa
mov eax, dword [ebp - 0xb0]
mov dword [ebp + eax*4 - 0x268], 0x805e5316
jmp 0x1686e4d1
mov byte [ebp - 0x53], 0
movzx eax, byte [ebp - 0x53]
test eax, eax
je 0x1686e511
push 0x2157
call dword [sym.imp.USER32.dll_IsWindow]
mov eax, 0xfff9
test eax, eax
je 0x1686e536
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x268], 0
je 0x1686e536
mov dword [ebp - 0x344], 1
jmp 0x1686e53d
and dword [ebp - 0x344], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x268]
cmp dword [ebp - 0x344], eax
jle 0x1686e55e
mov dword [ebp - 0x270], 1
jmp 0x1686e565
and dword [ebp - 0x270], 0
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x438], eax
push 2
lea ecx, [ebp - 0x144]
call fcn.1000adff
mov ecx, dword [ebp - 0x304]
cmp dword [eax], ecx
jge 0x1686e594
mov dword [ebp - 0x278], 1
jmp 0x1686e59b
and dword [ebp - 0x278], 0
cmp dword [ebp - 0x278], 0x868e0133
jne 0x1686e5b3
mov dword [ebp - 0x3cc], 1
jmp 0x1686e5ba
and dword [ebp - 0x3cc], 0
push 0
lea ecx, [ebp - 0x144]
call fcn.1000adff
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x28]
push 2
lea ecx, [ebp - 0x144]
call fcn.1000adff
sub edi, dword [eax]
cmp esi, edi
jne 0x1686e5ec
mov dword [ebp - 0x384], 1
jmp 0x1686e5f3
and dword [ebp - 0x384], 0
mov eax, dword [ebp - 0x384]
mov dword [ebp - 0x424], eax
jmp 0x1686e4ab
jmp 0x1686e2c4
mov byte [ebp - 0x45], 0
movzx eax, byte [ebp - 0x45]
test eax, eax
je 0x1686e620
push 0x19b3
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x1686e266
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x144]
call fcn.1000adfa
jmp 0x1686e1b7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x390]
call fcn.1000adfa
xor eax, eax
inc eax
imul eax, eax, 0x1c
add eax, 0x10069628
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x18], 0xf46db505
mov dword [ebp - 0x34], 0xfffffffc
mov dword [ebp - 0x128], 0xfffffff8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x518], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
lea eax, [eax + ecx - 1]
imul eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x34], eax
jg 0x1686e69f
mov dword [ebp - 0x280], 1
jmp 0x1686e6a6
and dword [ebp - 0x280], 0
cmp dword [ebp - 0x280], 0xfffa
jbe 0x1686e6c1
cmp dword [ebp - 0x34], 0
jne 0x1686e6c1
and dword [ebp - 0x3d4], 0
jmp 0x1686e6cb
mov dword [ebp - 0x3d4], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x520], eax
cmp dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x34], 0
je 0x1686e984
mov dword [ebp - 0x36c], 1
mov dword [ebp - 0x440], 0x1962
cmp dword [ebp - 0x440], 0x5eb
jge 0x1686e7a3
call fcn.10049f25
push 0x20
pop ecx
imul ecx, ecx, 0
add eax, ecx
push eax
push 0x10007758
push 0x1000775c
call fcn.1004a3bf
add esp, 0xc
call fcn.10049f25
push 0x20
pop ecx
shl ecx, 0
add eax, ecx
push eax
push 0x10007764
push 0x10007768
call fcn.1004a3bf
add esp, 0xc
lea eax, [ebp - 0x3dc]
push eax
mov ecx, 0x10653dd0
call fcn.1000a95d
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x30c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x30c]
add ecx, dword [eax + 4]
call fcn.1000950f
movzx eax, al
test eax, eax
je 0x1686e7a3
push dword [ebp - 0x3dc]
call fcn.100096a0
pop ecx
push fcn.1000e758
mov ecx, 0x10653d18
call fcn.1000ab4c
jmp 0x1686e752
mov dword [ebp - 0xb8], 0xfc72fa5d
mov dword [ebp - 0x298], 0xffffffff
mov dword [ebp - 0x3e4], 1
mov dword [ebp - 0x18], 0xc
jmp 0x1686e7d1
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffef
je 0x1686e97f
mov dword [ebp - 0xc0], 0x87fd
mov eax, dword [ebp - 0x36c]
mov dword [ebp - 0x55c], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x1686e89d
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4ec], eax
cmp dword [ebp - 0x128], 0x2bc90638
je 0x1686e82b
mov dword [ebp - 0x288], 1
jmp 0x1686e832
and dword [ebp - 0x288], 0
cmp dword [ebp - 0x288], 0x19d8
jne 0x1686e84a
mov dword [ebp - 0x42c], 1
jmp 0x1686e851
and dword [ebp - 0x42c], 0
mov eax, 0xfff9
test eax, eax
jne 0x1686e866
mov dword [ebp - 0x34c], 1
jmp 0x1686e86d
and dword [ebp - 0x34c], 0
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0x34c]
lea eax, [eax + ecx + 0x6770ea16]
sub eax, dword [ebp - 0x34]
je 0x1686e89d
mov dword [ebp - 0x290], 1
jmp 0x1686e8a4
and dword [ebp - 0x290], 0
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc0]
cmp dword [ebp - 0x34], eax
jne 0x1686e8c4
mov dword [ebp - 0x314], 1
jmp 0x1686e8cb
and dword [ebp - 0x314], 0
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x298]
imul eax, dword [ebp - 0x36c]
cmp eax, 1
jle 0x1686e8f5
mov dword [ebp - 0x2a0], 1
jmp 0x1686e8fc
and dword [ebp - 0x2a0], 0
mov eax, dword [ebp - 0x2a0]
sub eax, 0x837e
cmp eax, 0xfffffff9
jbe 0x1686e918
mov dword [ebp - 0x31c], 1
jmp 0x1686e91f
and dword [ebp - 0x31c], 0
mov eax, dword [ebp - 0x31c]
sub eax, dword [ebp - 0xc0]
jne 0x1686e93f
cmp dword [ebp - 0xc0], 0
jne 0x1686e93f
and dword [ebp - 0x2a8], 0
jmp 0x1686e949
mov dword [ebp - 0x2a8], 1
cmp dword [ebp - 0x2a8], 0x26a8acdd
jl 0x1686e967
cmp dword [ebp - 0x18], 0
je 0x1686e967
mov dword [ebp - 0x354], 1
jmp 0x1686e96e
and dword [ebp - 0x354], 0
mov eax, dword [ebp - 0x354]
mov dword [ebp - 0x3e4], eax
jmp 0x1686e7ca
jmp 0x1686eb72
mov byte [ebp - 0x4d], 0
movzx eax, byte [ebp - 0x4d]
test eax, eax
je 0x1686eb72
mov dword [ebp - 0x43c], 0x1ca9
cmp dword [ebp - 0x43c], 0x10fc
jge 0x1686eb54
lea eax, [ebp - 0xfc]
push eax
push 0x10007754
call fcn.10049deb
pop ecx
pop ecx
and dword [ebp - 0x3ec], 0
lea eax, [ebp - 0x3ec]
push eax
push dword [ebp - 0xfc]
lea ecx, [ebp - 0x4dc]
call fcn.1000ae32
mov dword [ebp - 4], 6
and dword [ebp - 0xf0], 0
and dword [ebp - 0xf4], 0
and dword [ebp - 0xc8], 0
jmp 0x1686ea0b
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
cmp eax, dword [ebp - 0xfc]
jge 0x1686ea7b
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x2b0]
push eax
push 0x10007770
call fcn.10049deb
add esp, 0xc
mov esi, dword [ebp - 0x2b0]
sub esi, dword [ebp - 0x324]
shl esi, 1
push dword [ebp - 0xc8]
lea ecx, [ebp - 0x4dc]
call fcn.1000adff
mov dword [eax], esi
mov eax, dword [ebp - 0xf0]
add eax, dword [ebp - 0x2b0]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf4]
add eax, dword [ebp - 0x324]
mov dword [ebp - 0xf4], eax
jmp 0x1686e9fe
mov eax, dword [ebp - 0xf0]
sub eax, dword [ebp - 0xf4]
mov dword [ebp - 0x2b8], eax
and dword [ebp - 0x37c], 0
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jge 0x1686eab7
mov eax, dword [ebp - 0x98]
neg eax
mov dword [ebp - 0x98], eax
and dword [ebp - 0x8c], 0
jmp 0x1686eacd
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0xfc]
jge 0x1686eb33
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x4dc]
call fcn.1000adff
mov ecx, dword [ebp - 0x2b8]
sub ecx, dword [eax]
mov dword [ebp - 0x90], ecx
jns 0x1686eb0a
mov eax, dword [ebp - 0x90]
neg eax
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
cmp eax, dword [ebp - 0x98]
jle 0x1686eb31
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x37c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
jmp 0x1686eac0
push dword [ebp - 0x37c]
push 0x10007778
call fcn.1004a17c
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4dc]
call fcn.1000adfa
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]
mov dword [ebp - 0x74], 0xdb6d0374
mov dword [ebp - 0x60], 5
push 3
lea ecx, [ebp - 0x39c]
call fcn.1000ad98
mov dword [ebp - 4], 7
mov dword [ebp - 0x58], 0xc9ebf495
mov dword [ebp - 0x224], 0x67bc620
mov dword [ebp - 0x104], 0xcad8e65d
mov dword [ebp - 0xd0], 0
jmp 0x1686ebc8
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 3
jge 0x1686ebea
push dword [ebp - 0xd0]
lea ecx, [ebp - 0x39c]
call fcn.1000adff
mov dword [eax], 0x8b9dbea5
jmp 0x1686ebbb
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x58]
dec ecx
mov dword [ebp - 0x58], ecx
test eax, eax
jne 0x1686ecdd
push 1
lea ecx, [ebp - 0x39c]
call fcn.1000adff
mov dword [eax], 0xf74
mov eax, 0xf74
test eax, eax
jne 0x1686ec9e
or eax, 0xffffffff
je 0x1686ec83
push 1
lea ecx, [ebp - 0x39c]
call fcn.1000adff
mov dword [eax], 0xffff
mov eax, 0xffff
sub eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x58]
je 0x1686ec4d
mov dword [ebp - 0x1f8], 1
jmp 0x1686ec54
and dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x1f8]
neg eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x56c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x574], eax
cmp dword [ebp - 0x60], 0
je 0x1686ec83
mov dword [ebp - 0x1fc], 1
jmp 0x1686ec8a
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x1fc], eax
jle 0x1686ec9e
and dword [ebp - 0x204], 0
jmp 0x1686eca8
mov dword [ebp - 0x204], 1
xor eax, eax
inc eax
sub eax, dword [ebp - 0x204]
cmp eax, dword [ebp - 0x58]
jl 0x1686ecc2
mov dword [ebp - 0x20c], 1
jmp 0x1686ecc9
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x20c], eax
jge 0x1686ecdd
and dword [ebp - 0x214], 0
jmp 0x1686ece7
mov dword [ebp - 0x214], 1
cmp dword [ebp - 0x214], 0x1958
je 0x1686ecff
mov dword [ebp - 0x21c], 1
jmp 0x1686ed06
and dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x21c]
add eax, 0x3585ca25
cmp eax, dword [ebp - 0x74]
jg 0x1686ed32
push 0
lea ecx, [ebp - 0x39c]
call fcn.1000adff
cmp dword [eax], 0
je 0x1686ed32
cmp dword [ebp - 0x60], 0
je 0x1686ed32
cmp dword [ebp - 0x74], 0
mov dword [ebp - 0x224], 9
cmp dword [ebp - 0x224], 0
jne 0x1686ed54
cmp dword [ebp - 0x74], 0
jne 0x1686ed54
and dword [ebp - 0x22c], 0
jmp 0x1686ed5e
mov dword [ebp - 0x22c], 1
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x60], eax
mov esi, dword [ebp - 0x60]
push 1
lea ecx, [ebp - 0x39c]
call fcn.1000adff
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x39c]
call fcn.1000adfa
mov eax, dword [ebp - 0x168]
mov dword [0x1006961c], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x10c], 0xfffffffd
mov dword [ebp - 0xd8], 0xffff
mov dword [ebp - 0x428], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x1c], 0
jg 0x1686edf2
mov dword [ebp - 0x234], 1
jmp 0x1686edf9
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x234]
cmp eax, 0x57688195
je 0x1686ee15
mov dword [ebp - 0x23c], 1
jmp 0x1686ee1c
and dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x23c], eax
jge 0x1686ee33
mov dword [ebp - 0x244], 1
jmp 0x1686ee3a
and dword [ebp - 0x244], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
imul eax, dword [ebp - 0x244]
cmp eax, dword [ebp - 0x1c]
jle 0x1686ee61
mov dword [ebp - 0x24c], 1
jmp 0x1686ee68
and dword [ebp - 0x24c], 0
cmp dword [ebp - 0x24c], 5
jb 0x1686ee83
cmp dword [ebp - 0xd8], 0
jne 0x1686ee83
and dword [ebp - 0x254], 0
jmp 0x1686ee8d
mov dword [ebp - 0x254], 1
cmp dword [ebp - 0x254], 5
je 0x1686eea2
mov dword [ebp - 0x25c], 1
jmp 0x1686eea9
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x25c], eax
jne 0x1686f015
mov dword [ebp - 0x84], 0x6e74
mov dword [ebp - 0x27c], 0xfffffff7
mov dword [ebp - 0x3f4], 0xffffffff
cmp dword [ebp - 0x84], 0
jne 0x1686eeeb
mov dword [ebp - 0x26c], 1
jmp 0x1686eef2
and dword [ebp - 0x26c], 0
cmp dword [ebp - 0x84], 0
je 0x1686ef04
cmp dword [ebp - 0x84], 0
jne 0x1686ef50
mov eax, dword [ebp - 0x84]
sub eax, dword [ebp - 0x84]
je 0x1686ef2b
mov eax, 0xe50714ba
test eax, eax
je 0x1686ef2b
xor eax, eax
je 0x1686ef2b
mov dword [ebp - 0x264], 1
jmp 0x1686ef32
and dword [ebp - 0x264], 0
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x264], eax
jl 0x1686ef49
mov eax, 0x57cf7a02
test eax, eax
je 0x1686ef50
cmp dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x550], eax
or eax, 0xffffffff
sub eax, dword [ebp - 0x10c]
imul eax, eax, 0x971c
cmp dword [ebp - 0x26c], eax
jg 0x1686ef85
cmp dword [ebp - 0xa0], 0
jne 0x1686ef85
and dword [ebp - 0x274], 0
jmp 0x1686ef8f
mov dword [ebp - 0x274], 1
mov eax, dword [ebp - 0xd8]
cmp dword [ebp - 0x274], eax
jge 0x1686efa9
mov dword [ebp - 0x434], 1
jmp 0x1686efb0
and dword [ebp - 0x434], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x570], eax
mov dword [ebp - 0x27c], 0xeeb4983
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x27c], eax
jne 0x1686efda
mov dword [ebp - 0x284], 1
jmp 0x1686efe1
and dword [ebp - 0x284], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x284], eax
jge 0x1686eff8
mov dword [ebp - 0x28c], 1
jmp 0x1686efff
and dword [ebp - 0x28c], 0
mov eax, dword [ebp - 0x28c]
add eax, 0xcf04
mov dword [ebp - 0x3f4], eax
jmp 0x1686f0e4
mov dword [ebp - 0x29c], 0xad537e8f
mov dword [ebp - 0x294], 4
mov dword [ebp - 0x3fc], 1
mov dword [ebp - 0x294], 0xfffd
cmp dword [ebp - 0x294], 1
jge 0x1686f052
mov dword [ebp - 0x2a4], 1
jmp 0x1686f059
and dword [ebp - 0x2a4], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x29c]
add eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2a4]
jg 0x1686f082
mov dword [ebp - 0x2ac], 1
jmp 0x1686f089
and dword [ebp - 0x2ac], 0
mov eax, dword [ebp - 0x2ac]
sub eax, dword [ebp - 0x10c]
cmp eax, 0xffffffff
jg 0x1686f0a6
mov dword [ebp - 0x2b4], 1
jmp 0x1686f0ad
and dword [ebp - 0x2b4], 0
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0x2b4]
cmp eax, dword [ebp - 0x428]
jle 0x1686f0cd
mov dword [ebp - 0x164], 1
jmp 0x1686f0d4
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x164]
mov dword [ebp - 0x3fc], eax
mov eax, dword [ebp - 0x114]
mov dword [0x10069620], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov edx, dword [ebp - 0x114]
mov edx, dword [edx + eax]
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + ecx]
call fcn.1000965f
mov dword [ebp - 0x3a4], eax
mov dword [ebp - 0x4f4], 5
mov dword [ebp - 0xe0], 1
mov dword [ebp - 0x568], 0xf3de0369
push 2
lea ecx, [ebp - 0x540]
call fcn.1000ad98
mov dword [ebp - 4], 8
mov dword [ebp - 0x68], 0xffff
mov dword [ebp - 0x14], 0
jmp 0x1686f161
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1686f177
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x548], 0x5f70
jmp 0x1686f15a
mov dword [ebp - 0x14], 0
jmp 0x1686f187
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1686f1a3
push dword [ebp - 0x14]
lea ecx, [ebp - 0x540]
call fcn.1000adff
mov dword [eax], 0x780ca9f8
jmp 0x1686f180
mov dword [ebp - 0x14], 0
jmp 0x1686f1b3
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1686f1c9
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x5c4], 0x2da3c3d
jmp 0x1686f1ac
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x548], 0
je 0x1686f238
mov dword [ebp - 0x4fc], 0xb546158d
mov dword [ebp - 0x534], 0x8c3ad3b3
mov dword [ebp - 0x504], 0xffffffff
mov dword [ebp - 0xa8], 0
jmp 0x1686f210
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 2
jge 0x1686f22c
mov eax, dword [ebp - 0xa8]
mov dword [ebp + eax*4 - 0x5b4], 0
jmp 0x1686f203
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
jmp 0x1686f36b
push 3
lea ecx, [ebp - 0x530]
call fcn.1000ad98
mov byte [ebp - 4], 9
mov dword [ebp - 0xac], 0
jmp 0x1686f262
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 3
jge 0x1686f284
push dword [ebp - 0xac]
lea ecx, [ebp - 0x530]
call fcn.1000adff
mov dword [eax], 0x40c18ab9
jmp 0x1686f255
mov dword [ebp - 0xe0], 0
jmp 0x1686f29d
mov eax, dword [ebp - 0xe0]
dec eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0xffffffef
jl 0x1686f35c
push 2
lea ecx, [ebp - 0x4e8]
call fcn.1000ad98
mov byte [ebp - 4], 0xa
mov dword [ebp - 0xe8], 0
jmp 0x1686f2d4
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 2
jge 0x1686f2f6
push dword [ebp - 0xe8]
lea ecx, [ebp - 0x4e8]
call fcn.1000adff
mov dword [eax], 0x64ea33a4
jmp 0x1686f2c7
mov byte [ebp - 0x47], 0
movzx eax, byte [ebp - 0x47]
test eax, eax
je 0x1686f30c
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
mov dword [ebp - 0x68], 0
jmp 0x1686f31c
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 1
jg 0x1686f348
push 0
lea ecx, [ebp - 0x4e8]
call fcn.1000adff
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x170]
mov dword [ecx], eax
jmp 0x1686f315
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4e8]
call fcn.1000adfa
jmp 0x1686f290
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x530]
call fcn.1000adfa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x540]
call fcn.1000adfa
push dword [ebp - 0x114]
mov edx, 0x10069854
mov ecx, dword [ebp - 0x3a4]
call fcn.1000966b
pop ecx
and dword [ebp - 0x494], 0
and dword [ebp - 0x490], 0
and dword [ebp - 0x48c], 0
and dword [ebp - 0x488], 0
lea ecx, [ebp - 0xe9]
call fcn.1000ae0e
push eax
lea eax, [ebp - 0x484]
push eax
lea eax, [ebp - 0x494]
push eax
lea ecx, [ebp - 0x59c]
call fcn.1000ae11
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x2cc]
call fcn.1000add4
mov dword [ebp - 4], 0xb
push 0
lea ecx, [ebp - 0x2cc]
call fcn.1000adff
mov dword [eax], 0xfffffffb
jmp 0x1686f422
push 0
lea ecx, [ebp - 0x2cc]
call fcn.1000adff
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x178]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x2cc]
call fcn.1000adff
cmp dword [eax], 0x1d
je 0x1686f880
push 3
lea ecx, [ebp - 0x138]
call fcn.1000ad98
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x30], 0
jmp 0x1686f459
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x1686f46f
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x58c], 0
jmp 0x1686f452
mov dword [ebp - 0x30], 0
jmp 0x1686f47f
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x1686f49b
push dword [ebp - 0x30]
lea ecx, [ebp - 0x138]
call fcn.1000adff
mov dword [eax], 0xb950ba1b
jmp 0x1686f478
push 0
lea ecx, [ebp - 0x138]
call fcn.1000adff
and dword [eax], 0
jmp 0x1686f4d1
push 0
lea ecx, [ebp - 0x138]
call fcn.1000adff
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x180]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x138]
call fcn.1000adff
cmp dword [eax], 2
jg 0x1686f86c
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x3b0], 1
mov dword [ebp - 0x3c0], 0x231966ba
mov dword [ebp - 0x24], 2
jmp 0x1686f512
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x1686f850
mov dword [ebp - 0x1e0], 0xffffffff
mov dword [ebp - 0x88], 0xfffffffa
push 2
lea ecx, [ebp - 0x2cc]
call fcn.1000adff
cmp dword [eax], 0
je 0x1686f66e
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x560], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50c], eax
push 1
lea ecx, [ebp - 0x2cc]
call fcn.1000adff
mov ecx, dword [ebp - 0x1e0]
add ecx, dword [eax]
cmp ecx, 0xffff
jae 0x1686f581
mov dword [ebp - 0x188], 1
jmp 0x1686f588
and dword [ebp - 0x188], 0
cmp dword [ebp - 0x188], 0x3650dfa0
jge 0x1686f5a0
mov dword [ebp - 0x190], 1
jmp 0x1686f5a7
and dword [ebp - 0x190], 0
push 1
lea ecx, [ebp - 0x2cc]
call fcn.1000adff
mov ecx, dword [ebp - 0x190]
cmp ecx, dword [eax]
jg 0x1686f5ca
mov dword [ebp - 0x3a8], 1
jmp 0x1686f5d1
and dword [ebp - 0x3a8], 0
push 0
lea ecx, [ebp - 0x2cc]
call fcn.1000adff
mov eax, 0xb5a7
sub eax, 0xae65
jne 0x1686f5f6
mov dword [ebp - 0x198], 1
jmp 0x1686f5fd
and dword [ebp - 0x198], 0
cmp dword [ebp - 0x198], 0x421a
jne 0x1686f615
mov dword [ebp - 0x1a0], 1
jmp 0x1686f61c
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x1a0]
neg eax
je 0x1686f632
mov dword [ebp - 0x1a8], 1
jmp 0x1686f639
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x1a8], eax
jl 0x1686f650
mov dword [ebp - 0x1b0], 1
jmp 0x1686f657
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x1b0]
sub eax, dword [ebp - 0x24]
je 0x1686f66e
mov dword [ebp - 0x11c], 1
jmp 0x1686f675
and dword [ebp - 0x11c], 0
push 0
lea ecx, [ebp - 0x138]
call fcn.1000adff
mov eax, dword [eax]
mov ecx, dword [ebp - 0x11c]
mov dword [ebp + eax*4 - 0x58c], ecx
cmp dword [ebp - 0x11c], 0x807cfaf4
jbe 0x1686f6a9
mov dword [ebp - 0x1b8], 1
jmp 0x1686f6b0
and dword [ebp - 0x1b8], 0
push 0
lea ecx, [ebp - 0x138]
call fcn.1000adff
mov ecx, dword [ebp - 0x1b8]
cmp ecx, dword [eax]
jle 0x1686f6d3
mov dword [ebp - 0x1c0], 1
jmp 0x1686f6da
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x88], 0x11
jmp 0x1686f6ff
mov eax, dword [ebp - 0x88]
dec eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0xfffffff6
jne 0x1686f84b
mov dword [ebp - 0xb4], 0
jmp 0x1686f725
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 1
jge 0x1686f741
mov eax, dword [ebp - 0xb4]
mov dword [ebp + eax*4 - 0x1c8], 0x805e5316
jmp 0x1686f718
mov byte [ebp - 0x3a], 0
movzx eax, byte [ebp - 0x3a]
test eax, eax
je 0x1686f758
push 0x2157
call dword [sym.imp.USER32.dll_IsWindow]
mov eax, 0xfff9
test eax, eax
je 0x1686f77d
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1c8], 0
je 0x1686f77d
mov dword [ebp - 0x1d0], 1
jmp 0x1686f784
and dword [ebp - 0x1d0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c8]
cmp dword [ebp - 0x1d0], eax
jle 0x1686f7a5
mov dword [ebp - 0x1d8], 1
jmp 0x1686f7ac
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x3b0], eax
push 2
lea ecx, [ebp - 0x138]
call fcn.1000adff
mov ecx, dword [ebp - 0x1e0]
cmp dword [eax], ecx
jge 0x1686f7db
mov dword [ebp - 0x1e8], 1
jmp 0x1686f7e2
and dword [ebp - 0x1e8], 0
cmp dword [ebp - 0x1e8], 0x868e0133
jne 0x1686f7fa
mov dword [ebp - 0x3b8], 1
jmp 0x1686f801
and dword [ebp - 0x3b8], 0
push 0
lea ecx, [ebp - 0x138]
call fcn.1000adff
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x24]
push 2
lea ecx, [ebp - 0x138]
call fcn.1000adff
sub edi, dword [eax]
cmp esi, edi
jne 0x1686f833
mov dword [ebp - 0x1f0], 1
jmp 0x1686f83a
and dword [ebp - 0x1f0], 0
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x3c0], eax
jmp 0x1686f6f2
jmp 0x1686f50b
mov byte [ebp - 0x3c], 0
movzx eax, byte [ebp - 0x3c]
test eax, eax
je 0x1686f867
push 0x19b3
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x1686f4ad
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x138]
call fcn.1000adfa
jmp 0x1686f3fe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2cc]
call fcn.1000adfa
mov esi, 0x1006961c
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret