Function at 0x10018630
Capabilities:
Access peb ldr_data
Check for time delay via gettickcount
Get file version info
Get number of processors

Disassembly:
mov edi, edi
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020abb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4c0
mov eax, dword [0x10061338]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov byte [ebp - 0x493], cl
cmp word [0x10061a38], 0
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x4ac], eax
jne 0x10018832
push 0x104
xor eax, eax
push 0x10061c48
push eax
mov word [0x10061c48], ax
mov word [0x10061a38], ax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
push eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
push 0x5c
push 0x10061c48
call dword [sym.imp.msvcrt.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x1001870c
mov ecx, 0x10061a38
mov edx, 0x104
sub eax, ecx
lea esi, [eax + 2]
jmp 0x100186e0
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x10018700
movzx eax, word [esi + ecx]
test ax, ax
je 0x10018700
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x100186e0
jmp 0x10018704
test edx, edx
jne 0x10018707
sub ecx, 2
xor eax, eax
mov word [ecx], ax
lea eax, [ebp - 0x4bc]
mov dword [ebp - 0x4b4], 0
push eax
push 0x10061c48
push 1
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4a0], 0
mov dword [0x10062188], 0
mov dword [0x10062184], 0
mov dword [0x10062180], 0
mov dword [0x1006217c], 0
call dword [sym.imp.api_ms_win_core_version_l1_1_0.dll_GetFileVersionInfoSizeExW]
mov dword [ebp - 0x49c], eax
test eax, eax
je 0x10018803
push eax
call fcn.1001b614
mov esi, eax
add esp, 4
test esi, esi
je 0x10018803
push dword [ebp - 0x49c]
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
push dword [ebp - 0x49c]
push 0
push 0x10061c48
push 3
call dword [sym.imp.api_ms_win_core_version_l1_1_0.dll_GetFileVersionInfoExW]
test eax, eax
je 0x100187fa
lea eax, [ebp - 0x4b4]
push eax
lea eax, [ebp - 0x4a0]
push eax
push 0x1000874c
push esi
call dword [sym.imp.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW]
test eax, eax
je 0x100187fa
mov ecx, dword [ebp - 0x4a0]
movzx eax, word [ecx + 0xa]
mov dword [0x10062188], eax
movzx eax, word [ecx + 8]
mov dword [0x10062184], eax
movzx eax, word [ecx + 0xe]
mov dword [0x10062180], eax
movzx eax, word [ecx + 0xc]
mov dword [0x1006217c], eax
push esi
call fcn.1001b63d
add esp, 4
push dword [0x1006217c]
push dword [0x10062180]
push dword [0x10062184]
push dword [0x10062188]
push 0x10008fd0
push 0x104
push 0x10062190
call fcn.10014a40
add esp, 0x1c
mov eax, dword [0x10062018]
mov dword [ebp - 0x4a4], 0
cmp eax, 1
je 0x100188a7
cmp dword [0x100623b8], 1
je 0x1001885c
push 1
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
jmp 0x100188e3
mov esi, dword [0x10061fc4]
test esi, esi
jne 0x100188c8
test eax, eax
jne 0x1001887d
cmp dword [0x10061fb4], 5
jae 0x10018887
mov dword [0x10062018], 2
push 0x32
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
jmp 0x100188e3
mov eax, dword fs:[0x30]
mov ecx, 0x10062018
mov eax, dword [eax + 0xa0]
add eax, 0xc
mov dword [0x10062020], eax
mov eax, 1
xchg dword [ecx], eax
mov eax, dword [0x10062020]
cmp dword [eax], 0
je 0x100188db
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov ecx, dword [0x10062020]
cmp dword [ecx], eax
jne 0x100188db
mov eax, 1
jmp 0x100188dd
lea eax, [ebp - 0x4a4]
mov ecx, esi
push eax
call dword [0x10063524]
call esi
jmp 0x100188e3
xor eax, eax
mov dword [ebp - 0x4a4], eax
cmp dword [ebp - 0x4a4], 0
jne 0x10019643
mov ecx, dword fs:[0x30]
xor eax, eax
mov byte [ebp - 0x492], 0
mov ecx, dword [ecx + 0x1e4]
and ecx, 0x20000000
or eax, ecx
je 0x10018917
mov byte [ebp - 0x492], 1
cmp byte [0x1006201c], 0
je 0x1001892a
mov al, byte [0x1006201d]
jmp 0x100189d9
xor cl, cl
mov byte [ebp - 0x491], cl
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
push 2
push esi
call dword [sym.imp.USER32.dll_GetAncestor]
test eax, eax
jne 0x10018949
mov eax, esi
push 0x15
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.USER32.dll_RealGetWindowClassW]
test eax, eax
je 0x10018999
xor eax, eax
mov ecx, 0x10008328
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x40]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001898e
test dx, dx
je 0x1001898a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001898e
add eax, 4
add ecx, 4
test dx, dx
jne 0x10018968
xor eax, eax
jmp 0x10018993
sbb eax, eax
or eax, 1
test eax, eax
mov al, 1
je 0x1001899f
mov al, byte [ebp - 0x491]
test al, al
jne 0x100189cd
push 0x100089e0
push 0
push 0x100000
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenMutexW]
test eax, eax
push eax
setne cl
mov byte [ebp - 0x491], cl
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov al, byte [ebp - 0x491]
mov byte [0x1006201c], 1
mov byte [0x1006201d], al
test al, al
je 0x10018aee
cmp byte [ebp - 0x492], 0
jne 0x10018aee
mov dword [ebp - 0x4c0], 0
mov ecx, 0x10008290
mov dword [ebp - 4], 0
mov edx, ecx
mov esi, 0xc
jmp 0x10018a10
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10018a2a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10018a10
xor eax, eax
mov esi, 0x10061ea8
jmp 0x10018a31
mov eax, 0x80004002
xor esi, esi
mov dword [ebp - 0x4a0], esi
mov dword [ebp - 0x4c0], esi
test eax, eax
js 0x10018acc
mov eax, dword [esi]
push 0
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x4b4], eax
cmp eax, fcn.10018410
jne 0x10018a68
lea eax, [ebp - 0x4a8]
push eax
push esi
call fcn.10018410
jmp 0x10018a7e
lea ecx, [ebp - 0x4a8]
push ecx
push esi
mov ecx, eax
call dword [0x10063524]
call dword [ebp - 0x4b4]
test eax, eax
js 0x10018acc
mov eax, dword [ebx + 8]
cmp eax, dword [ebp - 0x4a8]
jne 0x10018acc
push dword [ebx + 0xc]
mov esi, dword [esi]
push edi
mov edi, dword [ebp - 0x4a0]
push 3
mov esi, dword [esi + 0x1c]
mov ecx, esi
push edi
call dword [0x10063524]
call esi
mov dword [ebp - 4], 1
mov eax, dword [edi]
push edi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10063524]
call esi
mov dword [ebp - 4], 0xffffffff
jmp 0x10019643
mov dword [ebp - 4], 2
test esi, esi
je 0x10018ae7
mov eax, dword [esi]
push esi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10063524]
call esi
mov dword [ebp - 4], 0xffffffff
push 0x30
lea eax, [ebp - 0x490]
mov dword [ebp - 0x498], 0
push 0
push eax
call sub.msvcrt.dll_memset
mov edx, dword [ebx + 8]
xor cl, cl
mov esi, dword [ebx + 0xc]
add esp, 0xc
mov dword [ebp - 0x490], 0x30
mov byte [ebp - 0x491], cl
mov dword [ebp - 0x49c], esi
cmp edx, 0x8003
je 0x10018f2e
cmp edx, 0x8002
ja 0x10018ddc
je 0x10018cc0
lea eax, [edx - 5]
cmp eax, 0xe
ja case.0x10018b5a.6
movzx eax, byte [eax + 0x10019688]
jmp dword [eax*4 + 0x10019668]
cmp byte [0x1006200a], 0
jne case.0x10018b5a.6
mov cl, 1
mov byte [ebp - 0x491], cl
jmp case.0x10018b5a.6
cmp byte [0x10061f9c], 0
jne case.0x10018b5a.6
cmp edi, dword [0x10061ffc]
jne case.0x10018b5a.6
push 0x10008fe8
push 2
push edi
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x100190b6
mov byte [0x10061f9d], 1
call fcn.10030708
cmp byte [0x10062589], 0
je 0x100190b6
mov ecx, dword [0x10062590]
xor edx, edx
call fcn.1002ec1a
mov ecx, dword [0x10061ffc]
call fcn.1001f02d
test al, al
je 0x100190b6
mov ecx, dword [0x10061ffc]
xor dl, dl
call fcn.100305f0
jmp 0x100190b6
cmp byte [0x10061f9c], 0
jne case.0x10018b5a.6
cmp byte [0x10061f9d], 0
je case.0x10018b5a.6
mov cl, 1
mov byte [0x10061f9d], 0
mov byte [ebp - 0x491], cl
jmp case.0x10018b5a.6
cmp edi, dword [0x10062584]
jne case.0x10018b5a.6
mov byte [0x1006267a], 1
mov dword [0x10062660], edi
jmp case.0x10018b5a.6
cmp byte [0x1006267a], 0
je case.0x10018b5a.6
mov byte [0x1006267a], 0
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [0x10062674], eax
mov dword [0x10062660], 0
jmp 0x100190b6
push 0x10008fe8
push 2
push edi
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x100190b6
mov byte [0x100625ac], 1
jmp 0x10018bbd
cmp byte [0x100625ac], 0
je case.0x10018b5a.6
mov cl, 1
mov byte [0x100625ac], 0
mov byte [ebp - 0x491], cl
jmp case.0x10018b5a.6
test esi, esi
jne case.0x10018b5a.6
cmp dword [ebx + 0x10], esi
jne case.0x10018b5a.6
push 0x104
lea eax, [ebp - 0x250]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
add eax, eax
cmp eax, 0x20a
jae 0x10019663
xor ecx, ecx
mov word [ebp + eax - 0x250], cx
mov ecx, 0x10009038
lea eax, [ebp - 0x250]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10018d2c
test dx, dx
je 0x10018d28
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10018d2c
add eax, 4
add ecx, 4
test dx, dx
jne 0x10018d06
xor eax, eax
jmp 0x10018d31
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10018d72
cmp dword [0x10062670], eax
jne 0x10018d6c
cmp byte [0x10062589], al
jne 0x10018d58
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
sub eax, dword [0x1006266c]
cmp eax, 0x1f4
jae 0x10018d6c
mov ecx, dword [0x10062590]
xor edx, edx
mov byte [0x10062679], 1
call fcn.1002ec1a
inc dword [0x10062670]
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
jns 0x100190b6
cmp edi, dword [0x100625a8]
je 0x10018da1
push 0x1000f750
push edi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x10018dba
mov dword [0x100625a8], edi
cmp byte [0x10062589], 0
je 0x10018dba
mov ecx, dword [0x10062590]
mov edx, 1
call fcn.1002ec1a
push 0x10008fe8
push edi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x100190b6
mov dl, 1
mov ecx, edi
call fcn.1005c5db
jmp 0x100190b6
mov eax, edx
sub eax, 0x8005
je 0x10018e18
sub eax, 6
jne case.0x10018b5a.6
test esi, esi
jne case.0x10018b5a.6
cmp dword [ebx + 0x10], esi
jne case.0x10018b5a.6
cmp edi, dword [0x10061ff8]
jne case.0x10018b5a.6
mov cl, 1
mov byte [ebp - 0x491], cl
jmp case.0x10018b5a.6
mov eax, dword fs:[0x30]
mov ecx, dword [eax + 0x1e4]
xor eax, eax
and ecx, 0x20000000
or eax, ecx
jne 0x10018e4c
cmp dword [0x10062004], eax
jg 0x10018e4c
push eax
push esi
push dword [0x10061e50]
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x10019643
test esi, esi
je 0x100190b9
cmp byte [0x10061600], 0
je 0x100190b9
lea eax, [ebp - 0x490]
push eax
push 0
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
lea eax, [ebp - 0x498]
push eax
push dword [ebp - 0x484]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp edi, dword [ebp - 0x484]
jne 0x10018f15
mov esi, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
cmp dword [0x10061ffc], edi
jne 0x10018eb1
cmp dword [0x10061ff4], edx
jne 0x10018eb1
cmp dword [0x10061ff0], esi
je 0x100190b4
push esi
mov ecx, edi
call fcn.10030763
push 2
push edi
mov dword [0x10061ffc], edi
call dword [sym.imp.USER32.dll_GetAncestor]
mov dword [0x10061ff8], eax
mov eax, dword [ebx + 0xc]
mov dword [0x10061ff4], eax
mov dword [0x10061ff0], esi
mov dword [0x100625a0], 0
mov dword [0x1006259c], 0
mov dword [0x10062598], 0
test edi, edi
jne 0x10018f0e
call fcn.10030708
mov byte [0x10061f9e], 0
jmp 0x10019608
mov esi, eax
jmp 0x100190b6
mov eax, dword [ebx + 0x10]
mov dword [0x100625a0], edi
mov dword [0x1006259c], esi
mov dword [0x10062598], eax
jmp 0x100190b6
test esi, esi
jne case.0x10018b5a.6
cmp dword [ebx + 0x10], esi
jne case.0x10018b5a.6
push 0x104
lea eax, [ebp - 0x460]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
add eax, eax
cmp eax, 0x20a
jae 0x10019663
xor ecx, ecx
mov word [ebp + eax - 0x460], cx
mov ecx, 0x10009038
lea eax, [ebp - 0x460]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10018f9a
test dx, dx
je 0x10018f96
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10018f9a
add eax, 4
add ecx, 4
test dx, dx
jne 0x10018f74
xor eax, eax
jmp 0x10018f9f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001902e
mov eax, dword [0x10062670]
test eax, eax
je 0x1001902e
sub eax, 1
mov dword [0x10062670], eax
jne 0x1001902e
cmp byte [0x10062679], 0
je 0x10019643
cmp dword [ebp - 0x498], 0
mov byte [0x10062679], 0
jne 0x10018ff9
lea eax, [ebp - 0x490]
push eax
push 0
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
lea eax, [ebp - 0x498]
push eax
push dword [ebp - 0x484]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
cmp dword [ebp - 0x498], eax
jne 0x10019643
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [0x10062590]
cmp ecx, eax
jne 0x10019643
mov edx, 1
call fcn.1002ec1a
jmp 0x10019643
push dword [0x10062590]
push edi
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10019061
call fcn.10030708
cmp byte [0x10062589], 0
mov byte [0x10061f9e], 0
je 0x10019061
mov ecx, dword [0x10062590]
xor edx, edx
call fcn.1002ec1a
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
jns 0x100190b6
cmp edi, dword [0x100625a8]
jne 0x10019099
cmp byte [0x10062589], 0
mov dword [0x100625a8], 0
je 0x10019099
mov ecx, dword [0x10062590]
mov edx, 1
call fcn.1002ec1a
push 0x10008fe8
push edi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x100190b6
xor dl, dl
mov ecx, edi
call fcn.1005c5db
jmp 0x100190b6
mov esi, edx
mov edx, dword [ebx + 8]
mov cl, byte [ebp - 0x491]
cmp byte [ebp - 0x493], 0
je 0x100190e2
cmp byte [0x100625ac], 0
jne 0x10019643
cmp byte [0x10061f9d], 0
jne 0x10019643
test cl, cl
je 0x1001911c
mov esi, dword [0x10061ff4]
mov edi, dword [0x10062590]
mov dword [ebp - 0x49c], esi
cmp edx, 0x800b
je 0x1001911c
mov ecx, dword [0x10061ffc]
call fcn.1001f02d
test al, al
je 0x1001911c
mov ecx, dword [0x10061ffc]
mov dl, 1
call fcn.100305f0
cmp byte [ebp - 0x493], 0
je 0x1001925c
mov edx, edi
mov ecx, 0x10062680
call fcn.1002eeb1
mov eax, dword [ebx + 8]
cmp eax, 3
je 0x10019145
call fcn.10030708
mov eax, dword [ebx + 8]
mov dword [0x10062060], 0x10000
cmp eax, 3
ja case.default.0x10019158
jmp dword [eax*4 + 0x10019698]
mov ecx, dword [0x100625a4]
test ecx, ecx
je case.default.0x10019158
cmp byte [0x10062589], 0
je 0x1001918c
cmp dword [0x10062590], ecx
jne 0x1001918c
xor edx, edx
mov byte [0x10061f9e], 0
call fcn.1002ec1a
mov dword [0x100625a4], 0
jmp case.default.0x10019158
cmp byte [0x10062589], 0
je 0x100191bc
cmp dword [0x10062590], edi
jne 0x100191bc
xor edx, edx
mov byte [0x10061f9e], 0
mov ecx, edi
call fcn.1002ec1a
mov eax, dword [0x10062584]
cmp eax, dword [0x10061ffc]
jne case.default.0x10019158
mov edi, dword [0x10062584]
mov byte [ebp - 0x491], 1
mov al, byte [ebp - 0x491]
jmp 0x10019262
mov ecx, dword [ebp - 0x4ac]
mov eax, dword [ecx]
mov dword [0x10062040], eax
mov eax, dword [ecx + 4]
mov dword [0x10062044], eax
mov eax, dword [ecx + 8]
mov dword [0x10062048], eax
mov eax, dword [ecx + 0xc]
mov dword [0x1006204c], eax
jmp case.default.0x10019158
mov ecx, dword [ebp - 0x4ac]
mov edx, 1
mov dword [0x100625a4], edi
mov eax, dword [ecx]
mov dword [0x10062050], eax
mov eax, dword [ecx + 4]
mov dword [0x10062054], eax
mov eax, dword [ecx + 8]
mov dword [0x10062058], eax
mov eax, dword [ecx + 0xc]
mov ecx, edi
mov dword [0x1006205c], eax
mov byte [0x10061f9e], 1
call fcn.1002ec1a
mov al, byte [ebp - 0x491]
test al, al
je 0x10019643
mov edi, dword [0x10062584]
jmp 0x10019262
mov al, byte [ebp - 0x491]
test edi, edi
je 0x10019643
cmp dword [0x100625a4], edi
je 0x10019643
test al, al
jne 0x1001927f
cmp esi, 0xfffffff8
jne case.default.0x100192bc
mov edx, edi
mov ecx, 0x10062680
call fcn.1002eeb1
cmp dword [0x10062684], 0
je 0x10019643
cmp esi, 0xfffffff8
jne case.default.0x100192bc
cmp dword [0x1006268c], 1
je case.default.0x100192bc
cmp byte [0x10061600], 0
je case.default.0x100192bc
mov eax, dword [ebx + 8]
add eax, 0xffff8000
cmp eax, 3
ja case.default.0x100192bc
jmp dword [eax*4 + 0x100196a8]
cmp dword [0x10062690], 0
jne case.default.0x100192bc
mov dword [0x10062584], edi
mov byte [0x10061f9e], 1
mov byte [0x10062588], 1
cmp byte [0x100625ac], 0
jne 0x10019643
cmp byte [0x10061f9d], 0
jne 0x10019643
cmp dword [0x10061ffc], 0
jne 0x1001938d
cmp dword [ebp - 0x498], 0
jne 0x10019332
lea eax, [ebp - 0x490]
push eax
push 0
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
lea eax, [ebp - 0x498]
push eax
push dword [ebp - 0x484]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 0x4c4]
mov dword [ebp - 0x4c4], 0
push eax
push dword [ebp - 0x484]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
cmp esi, eax
jne 0x10019387
mov eax, dword [0x100625a0]
push 2
push eax
mov dword [0x10061ffc], eax
call dword [sym.imp.USER32.dll_GetAncestor]
mov dword [0x10061ff8], eax
mov eax, dword [0x1006259c]
mov dword [0x10061ff4], eax
mov eax, dword [0x10062598]
mov dword [0x10061ff0], eax
mov esi, dword [ebp - 0x49c]
cmp edi, dword [0x10061ffc]
jne 0x10019643
cmp esi, 0xfffffff8
je 0x100193ab
cmp byte [ebp - 0x491], 0
je 0x10019643
cmp byte [0x10061600], 0
je 0x10019643
cmp dword [ebp - 0x498], 0
jne 0x100193e3
lea eax, [ebp - 0x490]
push eax
push 0
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
lea eax, [ebp - 0x498]
push eax
push dword [ebp - 0x484]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [0x1006268c], 1
jne 0x100194d0
cmp dword [0x100626ac], 0
je 0x1001940d
cmp dword [0x10062668], 0
jne 0x1001940d
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [0x10062668], eax
call fcn.10030708
mov ecx, dword [ebp - 0x498]
lea eax, [ebp - 0x490]
push eax
mov edx, edi
call fcn.1002f8d4
jmp 0x10019643
push edi
mov dword [0x10062584], edi
mov byte [0x10061f9e], 1
mov byte [0x10062588], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne case.default.0x100192bc
mov byte [0x10061f9e], al
jmp case.default.0x100192bc
cmp dword [0x10062584], edi
jne case.default.0x100192bc
mov eax, dword [0x100626a0]
test eax, eax
je 0x100192d9
cmp eax, 1
je 0x100194bd
cmp dword [0x10062698], 0
je 0x100194bd
cmp byte [0x1006267a], 0
jne 0x100194a4
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
sub eax, dword [0x10062674]
cmp eax, 0xfa
ja 0x100194bd
cmp byte [0x1006267a], 0
je 0x100194b1
mov eax, dword [0x10062660]
cmp eax, dword [0x10062584]
jne 0x100194bd
mov al, 1
mov byte [0x10062588], al
jmp case.default.0x100192bc
xor al, al
mov byte [0x10061f9e], 0
mov byte [0x10062588], al
jmp case.default.0x100192bc
cmp dword [0x10062584], edi
jne 0x10019643
cmp byte [0x10061f9e], 0
je 0x100195c5
mov edx, dword [0x10061ff4]
mov ecx, dword [0x10061ffc]
push 0
push dword [0x10061ff0]
call fcn.10030af0
lea eax, [ebp - 0x490]
push eax
push ecx
mov ecx, edi
call fcn.1003089b
test eax, eax
sete al
cmp dword [0x1006269c], 1
mov byte [0x10061f9e], al
jne 0x100195c1
push 0x10062050
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x10062058
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
push edi
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov esi, eax
push 0x10062050
push esi
call dword [sym.imp.GDI32.dll_LPtoDP]
lea eax, [ebp - 0x4cc]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetDCOrgEx]
push dword [ebp - 0x4c8]
push dword [ebp - 0x4cc]
push 0x10062050
call dword [sym.imp.USER32.dll_OffsetRect]
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x10062058]
cmp eax, dword [0x10061e60]
jl 0x10019620
mov eax, dword [0x10062050]
cmp eax, dword [0x10061e68]
jg 0x10019620
mov eax, dword [0x1006205c]
cmp eax, dword [0x10061e64]
jl 0x10019620
mov eax, dword [0x10062054]
cmp eax, dword [0x10061e6c]
jg 0x10019620
mov al, byte [0x10061f9e]
test al, al
jne 0x10019639
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
cmp dword [ebp - 0x498], eax
je 0x100195e1
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
cmp dword [0x1006200c], eax
jne 0x10019603
cmp byte [0x10061f9e], 0
jne 0x10019639
cmp byte [0x10062589], 0
je 0x10019632
push dword [0x10061ffc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x10019629
call fcn.10030708
call fcn.10030708
cmp byte [0x10062589], 0
je 0x10019643
mov ecx, dword [0x10062590]
xor edx, edx
call fcn.1002ec1a
jmp 0x10019643
mov byte [0x10061f9e], 0
jmp 0x100195c5
cmp byte [0x10061f9e], 0
jne 0x10019639
mov ecx, 0x12c
jmp 0x1001963e
mov ecx, 0x64
call fcn.100306ca
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001bb80
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.1001be4e
popal
mov eax, dword [ecx]
adc byte [edx], ch
mov word [ecx], es
adc byte [eax - 0x74], cl
add dword [eax], edx
jbe 0x10019602
add dword [eax], edx
lahf
mov word [ecx], es
adc byte [ebx - 0x75], bh
add dword [eax], edx
cld
mov eax, dword [ecx]
adc byte [edi + 0x100190], bh
pop es
add byte [ecx], al
add al, byte [ebx]
add al, 7
pop es
pop es
pop es
pop es
pop es
add eax, -1852076026
add dword [eax], edx
or byte [edx - 0x6e1eefff], dl
add dword [eax], edx
pop edi
xchg ecx, eax
add dword [eax], edx
ret