Function at 0x10018650
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 0x10020b5b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4c0
mov eax, dword [0x10062338]
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 [0x10062a38], 0
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x4ac], eax
jne 0x10018852
push 0x104
xor eax, eax
push 0x10062c48
push eax
mov word [0x10062c48], ax
mov word [0x10062a38], 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 0x10062c48
call dword [sym.imp.msvcrt.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x1001872c
mov ecx, 0x10062a38
mov edx, 0x104
sub eax, ecx
lea esi, [eax + 2]
jmp 0x10018700
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x10018720
movzx eax, word [esi + ecx]
test ax, ax
je 0x10018720
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10018700
jmp 0x10018724
test edx, edx
jne 0x10018727
sub ecx, 2
xor eax, eax
mov word [ecx], ax
lea eax, [ebp - 0x4bc]
mov dword [ebp - 0x4b4], 0
push eax
push 0x10062c48
push 1
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4a0], 0
mov dword [0x10063188], 0
mov dword [0x10063184], 0
mov dword [0x10063180], 0
mov dword [0x1006317c], 0
call dword [sym.imp.api_ms_win_core_version_l1_1_0.dll_GetFileVersionInfoSizeExW]
mov dword [ebp - 0x49c], eax
test eax, eax
je 0x10018823
push eax
call fcn.1001b624
mov esi, eax
add esp, 4
test esi, esi
je 0x10018823
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 0x10062c48
push 3
call dword [sym.imp.api_ms_win_core_version_l1_1_0.dll_GetFileVersionInfoExW]
test eax, eax
je 0x1001881a
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 0x1001881a
mov ecx, dword [ebp - 0x4a0]
movzx eax, word [ecx + 0xa]
mov dword [0x10063188], eax
movzx eax, word [ecx + 8]
mov dword [0x10063184], eax
movzx eax, word [ecx + 0xe]
mov dword [0x10063180], eax
movzx eax, word [ecx + 0xc]
mov dword [0x1006317c], eax
push esi
call fcn.1001b64d
add esp, 4
push dword [0x1006317c]
push dword [0x10063180]
push dword [0x10063184]
push dword [0x10063188]
push 0x10008fd0
push 0x104
push 0x10063190
call fcn.10014a60
add esp, 0x1c
mov eax, dword [0x10063018]
mov dword [ebp - 0x4a4], 0
cmp eax, 1
je 0x100188c7
cmp dword [0x100633b8], 1
je 0x1001887c
push 1
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
jmp 0x10018903
mov esi, dword [0x10062fc4]
test esi, esi
jne 0x100188e8
test eax, eax
jne 0x1001889d
cmp dword [0x10062fb4], 5
jae 0x100188a7
mov dword [0x10063018], 2
push 0x32
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
jmp 0x10018903
mov eax, dword fs:[0x30]
mov ecx, 0x10063018
mov eax, dword [eax + 0xa0]
add eax, 0xc
mov dword [0x10063020], eax
mov eax, 1
xchg dword [ecx], eax
mov eax, dword [0x10063020]
cmp dword [eax], 0
je 0x100188fb
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov ecx, dword [0x10063020]
cmp dword [ecx], eax
jne 0x100188fb
mov eax, 1
jmp 0x100188fd
lea eax, [ebp - 0x4a4]
mov ecx, esi
push eax
call dword [0x10064524]
call esi
jmp 0x10018903
xor eax, eax
mov dword [ebp - 0x4a4], eax
cmp dword [ebp - 0x4a4], 0
jne 0x10019663
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 0x10018937
mov byte [ebp - 0x492], 1
cmp byte [0x1006301c], 0
je 0x1001894a
mov al, byte [0x1006301d]
jmp 0x100189f9
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 0x10018969
mov eax, esi
push 0x15
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.USER32.dll_RealGetWindowClassW]
test eax, eax
je 0x100189b9
xor eax, eax
mov ecx, 0x10008328
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x40]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100189ae
test dx, dx
je 0x100189aa
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100189ae
add eax, 4
add ecx, 4
test dx, dx
jne 0x10018988
xor eax, eax
jmp 0x100189b3
sbb eax, eax
or eax, 1
test eax, eax
mov al, 1
je 0x100189bf
mov al, byte [ebp - 0x491]
test al, al
jne 0x100189ed
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 [0x1006301c], 1
mov byte [0x1006301d], al
test al, al
je 0x10018b0e
cmp byte [ebp - 0x492], 0
jne 0x10018b0e
mov dword [ebp - 0x4c0], 0
mov ecx, 0x10008290
mov dword [ebp - 4], 0
mov edx, ecx
mov esi, 0xc
jmp 0x10018a30
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10018a4a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10018a30
xor eax, eax
mov esi, 0x10062ea8
jmp 0x10018a51
mov eax, 0x80004002
xor esi, esi
mov dword [ebp - 0x4a0], esi
mov dword [ebp - 0x4c0], esi
test eax, eax
js 0x10018aec
mov eax, dword [esi]
push 0
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x4b4], eax
cmp eax, fcn.10018440
jne 0x10018a88
lea eax, [ebp - 0x4a8]
push eax
push esi
call fcn.10018440
jmp 0x10018a9e
lea ecx, [ebp - 0x4a8]
push ecx
push esi
mov ecx, eax
call dword [0x10064524]
call dword [ebp - 0x4b4]
test eax, eax
js 0x10018aec
mov eax, dword [ebx + 8]
cmp eax, dword [ebp - 0x4a8]
jne 0x10018aec
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 [0x10064524]
call esi
mov dword [ebp - 4], 1
mov eax, dword [edi]
push edi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10064524]
call esi
mov dword [ebp - 4], 0xffffffff
jmp 0x10019663
mov dword [ebp - 4], 2
test esi, esi
je 0x10018b07
mov eax, dword [esi]
push esi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10064524]
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 0x10018f4e
cmp edx, 0x8002
ja 0x10018dfc
je 0x10018ce0
lea eax, [edx - 5]
cmp eax, 0xe
ja case.0x10018b7a.6
movzx eax, byte [eax + 0x100196a8]
jmp dword [eax*4 + 0x10019688]
cmp byte [0x1006300a], 0
jne case.0x10018b7a.6
mov cl, 1
mov byte [ebp - 0x491], cl
jmp case.0x10018b7a.6
cmp byte [0x10062f9c], 0
jne case.0x10018b7a.6
cmp edi, dword [0x10062ffc]
jne case.0x10018b7a.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 0x100190d6
mov byte [0x10062f9d], 1
call fcn.10030778
cmp byte [0x10063589], 0
je 0x100190d6
mov ecx, dword [0x10063590]
xor edx, edx
call fcn.1002ec8a
mov ecx, dword [0x10062ffc]
call fcn.1001f0d4
test al, al
je 0x100190d6
mov ecx, dword [0x10062ffc]
xor dl, dl
call fcn.10030660
jmp 0x100190d6
cmp byte [0x10062f9c], 0
jne case.0x10018b7a.6
cmp byte [0x10062f9d], 0
je case.0x10018b7a.6
mov cl, 1
mov byte [0x10062f9d], 0
mov byte [ebp - 0x491], cl
jmp case.0x10018b7a.6
cmp edi, dword [0x10063584]
jne case.0x10018b7a.6
mov byte [0x1006367a], 1
mov dword [0x10063660], edi
jmp case.0x10018b7a.6
cmp byte [0x1006367a], 0
je case.0x10018b7a.6
mov byte [0x1006367a], 0
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [0x10063674], eax
mov dword [0x10063660], 0
jmp 0x100190d6
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 0x100190d6
mov byte [0x100635ac], 1
jmp 0x10018bdd
cmp byte [0x100635ac], 0
je case.0x10018b7a.6
mov cl, 1
mov byte [0x100635ac], 0
mov byte [ebp - 0x491], cl
jmp case.0x10018b7a.6
test esi, esi
jne case.0x10018b7a.6
cmp dword [ebx + 0x10], esi
jne case.0x10018b7a.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 0x10019683
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 0x10018d4c
test dx, dx
je 0x10018d48
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10018d4c
add eax, 4
add ecx, 4
test dx, dx
jne 0x10018d26
xor eax, eax
jmp 0x10018d51
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10018d92
cmp dword [0x10063670], eax
jne 0x10018d8c
cmp byte [0x10063589], al
jne 0x10018d78
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
sub eax, dword [0x1006366c]
cmp eax, 0x1f4
jae 0x10018d8c
mov ecx, dword [0x10063590]
xor edx, edx
mov byte [0x10063679], 1
call fcn.1002ec8a
inc dword [0x10063670]
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
jns 0x100190d6
cmp edi, dword [0x100635a8]
je 0x10018dc1
push 0x1000f750
push edi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x10018dda
mov dword [0x100635a8], edi
cmp byte [0x10063589], 0
je 0x10018dda
mov ecx, dword [0x10063590]
mov edx, 1
call fcn.1002ec8a
push 0x10008fe8
push edi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x100190d6
mov dl, 1
mov ecx, edi
call fcn.1005c62b
jmp 0x100190d6
mov eax, edx
sub eax, 0x8005
je 0x10018e38
sub eax, 6
jne case.0x10018b7a.6
test esi, esi
jne case.0x10018b7a.6
cmp dword [ebx + 0x10], esi
jne case.0x10018b7a.6
cmp edi, dword [0x10062ff8]
jne case.0x10018b7a.6
mov cl, 1
mov byte [ebp - 0x491], cl
jmp case.0x10018b7a.6
mov eax, dword fs:[0x30]
mov ecx, dword [eax + 0x1e4]
xor eax, eax
and ecx, 0x20000000
or eax, ecx
jne 0x10018e6c
cmp dword [0x10063004], eax
jg 0x10018e6c
push eax
push esi
push dword [0x10062e50]
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x10019663
test esi, esi
je 0x100190d9
cmp byte [0x10062600], 0
je 0x100190d9
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 0x10018f35
mov esi, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
cmp dword [0x10062ffc], edi
jne 0x10018ed1
cmp dword [0x10062ff4], edx
jne 0x10018ed1
cmp dword [0x10062ff0], esi
je 0x100190d4
push esi
mov ecx, edi
call fcn.100307d3
push 2
push edi
mov dword [0x10062ffc], edi
call dword [sym.imp.USER32.dll_GetAncestor]
mov dword [0x10062ff8], eax
mov eax, dword [ebx + 0xc]
mov dword [0x10062ff4], eax
mov dword [0x10062ff0], esi
mov dword [0x100635a0], 0
mov dword [0x1006359c], 0
mov dword [0x10063598], 0
test edi, edi
jne 0x10018f2e
call fcn.10030778
mov byte [0x10062f9e], 0
jmp 0x10019628
mov esi, eax
jmp 0x100190d6
mov eax, dword [ebx + 0x10]
mov dword [0x100635a0], edi
mov dword [0x1006359c], esi
mov dword [0x10063598], eax
jmp 0x100190d6
test esi, esi
jne case.0x10018b7a.6
cmp dword [ebx + 0x10], esi
jne case.0x10018b7a.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 0x10019683
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 0x10018fba
test dx, dx
je 0x10018fb6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10018fba
add eax, 4
add ecx, 4
test dx, dx
jne 0x10018f94
xor eax, eax
jmp 0x10018fbf
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001904e
mov eax, dword [0x10063670]
test eax, eax
je 0x1001904e
sub eax, 1
mov dword [0x10063670], eax
jne 0x1001904e
cmp byte [0x10063679], 0
je 0x10019663
cmp dword [ebp - 0x498], 0
mov byte [0x10063679], 0
jne 0x10019019
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 0x10019663
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [0x10063590]
cmp ecx, eax
jne 0x10019663
mov edx, 1
call fcn.1002ec8a
jmp 0x10019663
push dword [0x10063590]
push edi
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10019081
call fcn.10030778
cmp byte [0x10063589], 0
mov byte [0x10062f9e], 0
je 0x10019081
mov ecx, dword [0x10063590]
xor edx, edx
call fcn.1002ec8a
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
jns 0x100190d6
cmp edi, dword [0x100635a8]
jne 0x100190b9
cmp byte [0x10063589], 0
mov dword [0x100635a8], 0
je 0x100190b9
mov ecx, dword [0x10063590]
mov edx, 1
call fcn.1002ec8a
push 0x10008fe8
push edi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x100190d6
xor dl, dl
mov ecx, edi
call fcn.1005c62b
jmp 0x100190d6
mov esi, edx
mov edx, dword [ebx + 8]
mov cl, byte [ebp - 0x491]
cmp byte [ebp - 0x493], 0
je 0x10019102
cmp byte [0x100635ac], 0
jne 0x10019663
cmp byte [0x10062f9d], 0
jne 0x10019663
test cl, cl
je 0x1001913c
mov esi, dword [0x10062ff4]
mov edi, dword [0x10063590]
mov dword [ebp - 0x49c], esi
cmp edx, 0x800b
je 0x1001913c
mov ecx, dword [0x10062ffc]
call fcn.1001f0d4
test al, al
je 0x1001913c
mov ecx, dword [0x10062ffc]
mov dl, 1
call fcn.10030660
cmp byte [ebp - 0x493], 0
je 0x1001927c
mov edx, edi
mov ecx, 0x10063680
call fcn.1002ef21
mov eax, dword [ebx + 8]
cmp eax, 3
je 0x10019165
call fcn.10030778
mov eax, dword [ebx + 8]
mov dword [0x10063060], 0x10000
cmp eax, 3
ja case.default.0x10019178
jmp dword [eax*4 + 0x100196b8]
mov ecx, dword [0x100635a4]
test ecx, ecx
je case.default.0x10019178
cmp byte [0x10063589], 0
je 0x100191ac
cmp dword [0x10063590], ecx
jne 0x100191ac
xor edx, edx
mov byte [0x10062f9e], 0
call fcn.1002ec8a
mov dword [0x100635a4], 0
jmp case.default.0x10019178
cmp byte [0x10063589], 0
je 0x100191dc
cmp dword [0x10063590], edi
jne 0x100191dc
xor edx, edx
mov byte [0x10062f9e], 0
mov ecx, edi
call fcn.1002ec8a
mov eax, dword [0x10063584]
cmp eax, dword [0x10062ffc]
jne case.default.0x10019178
mov edi, dword [0x10063584]
mov byte [ebp - 0x491], 1
mov al, byte [ebp - 0x491]
jmp 0x10019282
mov ecx, dword [ebp - 0x4ac]
mov eax, dword [ecx]
mov dword [0x10063040], eax
mov eax, dword [ecx + 4]
mov dword [0x10063044], eax
mov eax, dword [ecx + 8]
mov dword [0x10063048], eax
mov eax, dword [ecx + 0xc]
mov dword [0x1006304c], eax
jmp case.default.0x10019178
mov ecx, dword [ebp - 0x4ac]
mov edx, 1
mov dword [0x100635a4], edi
mov eax, dword [ecx]
mov dword [0x10063050], eax
mov eax, dword [ecx + 4]
mov dword [0x10063054], eax
mov eax, dword [ecx + 8]
mov dword [0x10063058], eax
mov eax, dword [ecx + 0xc]
mov ecx, edi
mov dword [0x1006305c], eax
mov byte [0x10062f9e], 1
call fcn.1002ec8a
mov al, byte [ebp - 0x491]
test al, al
je 0x10019663
mov edi, dword [0x10063584]
jmp 0x10019282
mov al, byte [ebp - 0x491]
test edi, edi
je 0x10019663
cmp dword [0x100635a4], edi
je 0x10019663
test al, al
jne 0x1001929f
cmp esi, 0xfffffff8
jne case.default.0x100192dc
mov edx, edi
mov ecx, 0x10063680
call fcn.1002ef21
cmp dword [0x10063684], 0
je 0x10019663
cmp esi, 0xfffffff8
jne case.default.0x100192dc
cmp dword [0x1006368c], 1
je case.default.0x100192dc
cmp byte [0x10062600], 0
je case.default.0x100192dc
mov eax, dword [ebx + 8]
add eax, 0xffff8000
cmp eax, 3
ja case.default.0x100192dc
jmp dword [eax*4 + 0x100196c8]
cmp dword [0x10063690], 0
jne case.default.0x100192dc
mov dword [0x10063584], edi
mov byte [0x10062f9e], 1
mov byte [0x10063588], 1
cmp byte [0x100635ac], 0
jne 0x10019663
cmp byte [0x10062f9d], 0
jne 0x10019663
cmp dword [0x10062ffc], 0
jne 0x100193ad
cmp dword [ebp - 0x498], 0
jne 0x10019352
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 0x100193a7
mov eax, dword [0x100635a0]
push 2
push eax
mov dword [0x10062ffc], eax
call dword [sym.imp.USER32.dll_GetAncestor]
mov dword [0x10062ff8], eax
mov eax, dword [0x1006359c]
mov dword [0x10062ff4], eax
mov eax, dword [0x10063598]
mov dword [0x10062ff0], eax
mov esi, dword [ebp - 0x49c]
cmp edi, dword [0x10062ffc]
jne 0x10019663
cmp esi, 0xfffffff8
je 0x100193cb
cmp byte [ebp - 0x491], 0
je 0x10019663
cmp byte [0x10062600], 0
je 0x10019663
cmp dword [ebp - 0x498], 0
jne 0x10019403
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 [0x1006368c], 1
jne 0x100194f0
cmp dword [0x100636ac], 0
je 0x1001942d
cmp dword [0x10063668], 0
jne 0x1001942d
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [0x10063668], eax
call fcn.10030778
mov ecx, dword [ebp - 0x498]
lea eax, [ebp - 0x490]
push eax
mov edx, edi
call fcn.1002f944
jmp 0x10019663
push edi
mov dword [0x10063584], edi
mov byte [0x10062f9e], 1
mov byte [0x10063588], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne case.default.0x100192dc
mov byte [0x10062f9e], al
jmp case.default.0x100192dc
cmp dword [0x10063584], edi
jne case.default.0x100192dc
mov eax, dword [0x100636a0]
test eax, eax
je 0x100192f9
cmp eax, 1
je 0x100194dd
cmp dword [0x10063698], 0
je 0x100194dd
cmp byte [0x1006367a], 0
jne 0x100194c4
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
sub eax, dword [0x10063674]
cmp eax, 0xfa
ja 0x100194dd
cmp byte [0x1006367a], 0
je 0x100194d1
mov eax, dword [0x10063660]
cmp eax, dword [0x10063584]
jne 0x100194dd
mov al, 1
mov byte [0x10063588], al
jmp case.default.0x100192dc
xor al, al
mov byte [0x10062f9e], 0
mov byte [0x10063588], al
jmp case.default.0x100192dc
cmp dword [0x10063584], edi
jne 0x10019663
cmp byte [0x10062f9e], 0
je 0x100195e5
mov edx, dword [0x10062ff4]
mov ecx, dword [0x10062ffc]
push 0
push dword [0x10062ff0]
call fcn.10030b60
lea eax, [ebp - 0x490]
push eax
push ecx
mov ecx, edi
call fcn.1003090b
test eax, eax
sete al
cmp dword [0x1006369c], 1
mov byte [0x10062f9e], al
jne 0x100195e1
push 0x10063050
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x10063058
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
push edi
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov esi, eax
push 0x10063050
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 0x10063050
call dword [sym.imp.USER32.dll_OffsetRect]
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x10063058]
cmp eax, dword [0x10062e60]
jl 0x10019640
mov eax, dword [0x10063050]
cmp eax, dword [0x10062e68]
jg 0x10019640
mov eax, dword [0x1006305c]
cmp eax, dword [0x10062e64]
jl 0x10019640
mov eax, dword [0x10063054]
cmp eax, dword [0x10062e6c]
jg 0x10019640
mov al, byte [0x10062f9e]
test al, al
jne 0x10019659
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
cmp dword [ebp - 0x498], eax
je 0x10019601
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
cmp dword [0x1006300c], eax
jne 0x10019623
cmp byte [0x10062f9e], 0
jne 0x10019659
cmp byte [0x10063589], 0
je 0x10019652
push dword [0x10062ffc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x10019649
call fcn.10030778
cmp byte [0x10063589], 0
je 0x10019663
mov ecx, dword [0x10063590]
xor edx, edx
call fcn.1002ec8a
jmp 0x10019663
mov byte [0x10062f9e], 0
jmp 0x100195e5
cmp byte [0x10062f9e], 0
jne 0x10019659
mov ecx, 0x12c
jmp 0x1001965e
mov ecx, 0x64
add byte [eax], al
call fcn.1003073a
add byte [ebx - 0x769b0bb3], cl
or eax, 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add byte [eax], al
add byte [ecx + 0x5f], bl
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001bb90
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.1001be5e
or dword [ebx - 0x73b5efff], 0x8c681001
add dword [eax], edx
xchg esi, eax
mov word [ecx], es
adc byte [edi - 0x64effe74], bh
mov eax, dword [ecx]
adc byte [esp + ecx*4], bl
add dword [eax], edx
fist word [eax + 0x7001001]
add byte [ecx], al
add al, byte [ebx]
add al, 7
pop es
pop es
pop es
pop es
pop es
add eax, -1849978874
add dword [eax], edx
sub byte [edx - 0x6dfeefff], dl
add dword [eax], edx
jg 0x10019657
add dword [eax], edx
jecxz 0x1001965c
add dword [eax], edx
js 0x10019662
add dword [eax], edx
dec ebx
xchg esp, eax
add dword [eax], edx
js 0x1001966a
add dword [eax], edx