Function at 0x10019810
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x10081708]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x70], edi
jne 0x10019e44
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x10019864
push 0xffffffffffffffec
push dword [ebx + 4]
mov dword [ebx + 0x2c], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x80080
push eax
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp 0x10019cb6
cmp eax, 0x1400
jne 0x10019920
cmp dword [ebx + 0x30], 0
je 0x10019ddf
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x54]
push ecx
push eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x5c], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 4]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 2
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x60]
push eax
push 0
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 0
push eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0x1ff0000
push dword [eax + 4]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x5c]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x58]
call dword [sym.imp.USER32.dll_EndPaint]
mov dword [edi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002bf51
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x200
jne 0x100199e3
movsx eax, cx
shr ecx, 0x10
cmp dword [ebx + 0x48], 0
mov dword [ebx + 0x2c], 1
movsx ecx, cx
je 0x10019969
push ecx
push eax
mov ecx, ebx
call fcn.100179b0
test eax, eax
je 0x10019955
push 0x7f89
jmp 0x1001995a
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [ebx + 0x44], 0
je 0x10019cb6
mov eax, dword [ebx + 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0x10
mov dword [ebp - 0x10], 3
mov dword [ebp - 8], 0xc8
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
cmp dword [ebx + 0x60], 3
mov dword [ebx + 0x44], 0
jne 0x10019cb6
cmp dword [ebx + 0x64], 0
jne 0x10019cb6
cmp dword [ebx + 0x68], 0
jne 0x10019cb6
push 2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x64
push 2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x64], 1
jmp 0x10019cb6
cmp eax, 0x2a3
jne 0x10019a59
cmp dword [ebx + 0x44], 0
mov dword [ebx + 0x2c], 1
jne 0x10019cb6
push 0x7f00
push 0
mov dword [ebx + 0x44], 1
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [ebx + 0x60], 3
jne 0x10019cb6
cmp dword [ebx + 0x64], 0
jne 0x10019cb6
mov eax, dword [ebx + 0x58]
dec eax
cmp dword [ebx + 0x68], eax
jne 0x10019cb6
push 3
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x3e8
push 3
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x10019cb6
cmp eax, 0x20
jne 0x10019a70
mov dword [ebx + 0x2c], 1
mov dword [edi], 1
jmp 0x10019cbc
cmp eax, 0x201
jne 0x10019b6d
mov eax, dword [ebx + 0x58]
movsx edx, cx
shr ecx, 0x10
mov dword [ebx + 0x2c], 1
movsx ecx, cx
cmp eax, 2
jl 0x10019aa3
cmp dword [ebx + 0x60], 1
jne 0x10019aa3
dec eax
cmp dword [ebx + 0x68], eax
jne 0x10019cb6
push ecx
push edx
mov ecx, ebx
call fcn.100179b0
mov esi, eax
mov dword [ebp - 0x60], esi
test esi, esi
je 0x10019cb6
cmp dword [ebx + 0x60], 3
jne 0x10019ad8
mov ecx, esi
call fcn.10015ac0
cmp eax, 4
jne 0x10019ad8
mov eax, dword [ebx + 0x58]
dec eax
cmp dword [ebx + 0x68], eax
jne 0x10019cb6
mov ecx, esi
call fcn.10015ab0
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x10019af0
mov ecx, dword [ebx + 0x50]
push eax
call fcn.10008710
mov ecx, dword [ebp - 0x60]
mov esi, dword [ebx + 0x48]
call fcn.10015ad0
push eax
mov ecx, esi
call fcn.10018990
call fcn.100144a0
mov ecx, dword [ebp - 0x60]
mov esi, eax
call fcn.10015ae0
mov ecx, dword [esi]
push 1
push dword [eax]
push esi
call dword [ecx + 4]
push 0x12345678
push dword [ebx + 4]
mov dword [ebx + 0x24], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [ebx + 0x34]
call fcn.10012d80
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x10019b5a
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x78], 1
jmp 0x10019cb6
cmp eax, 0x205
jne 0x10019c86
cmp dword [ebx + 0x60], 3
mov dword [ebx + 0x2c], 1
jne 0x10019cb6
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x10019cb6
mov eax, dword [eax + 0x38]
cmp dword [eax - 0xc], 0
jne 0x10019ba1
push 0x67
jmp 0x10019ba3
push 0x65
push dword [0x10083ba4]
call dword [sym.imp.USER32.dll_LoadMenuW]
mov esi, eax
xor eax, eax
test esi, esi
setne al
test eax, eax
jne 0x10019bd0
test esi, esi
je 0x10019cb6
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
jmp 0x10019cb6
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_GetSubMenu]
mov ecx, dword [ebp - 8]
mov edi, eax
mov eax, dword [ebx + 4]
push 0
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xc]
push ecx
push eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x60], eax
call dword [sym.imp.USER32.dll_MonitorFromPoint]
test eax, eax
jne 0x10019c5f
push 2
push dword [ebp - 0x6c]
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_MonitorFromPoint]
test eax, eax
je 0x10019c5f
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x28
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push ecx
push eax
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov ecx, dword [ebp - 0x60]
test eax, eax
je 0x10019c62
mov eax, dword [ebp - 0x28]
cmp ecx, eax
jge 0x10019c56
mov ecx, eax
jmp 0x10019c62
cmp ecx, dword [ebp - 0x20]
cmovg ecx, dword [ebp - 0x20]
jmp 0x10019c62
mov ecx, dword [ebp - 0x60]
push 0
push dword [ebp - 0x64]
push 0
push dword [ebp - 0x6c]
push ecx
push 0
push edi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test esi, esi
je 0x10019c81
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
mov edi, dword [ebp - 0x70]
jmp 0x10019cb6
cmp eax, 0x113
jne 0x10019ca0
push dword [ebp + 0x10]
mov ecx, ebx
mov dword [ebx + 0x2c], 1
call fcn.10018600
jmp 0x10019cb6
cmp eax, 0x10
jne 0x10019cde
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x2c], 1
mov dword [eax + 0x20], 1
mov dword [edi], 0
cmp dword [ebx + 0x2c], 0
je 0x10019e44
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002bf51
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 2
jne 0x10019d0f
push 0x12345678
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [edi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002bf51
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x111
jne 0x10019e44
mov eax, dword [ebp + 0x10]
mov esi, 0x9c43
movzx edx, ax
cmp si, dx
jne 0x10019dfd
mov ecx, dword [ebx + 0x48]
test ecx, ecx
je 0x10019ddf
mov eax, dword [ecx + 0x38]
cmp dword [eax - 0xc], 0
je 0x10019ddf
push 1
call fcn.10017950
mov dword [ebp - 0x64], eax
test eax, eax
je 0x10019ddf
mov ecx, eax
call fcn.10015ab0
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x10019d70
mov ecx, dword [ebx + 0x50]
push eax
call fcn.10008710
mov ecx, dword [ebx + 0x48]
push 1
call fcn.10018990
call fcn.100144a0
mov ecx, dword [ebp - 0x64]
mov esi, eax
call fcn.10015ae0
mov ecx, dword [esi]
push 1
push dword [eax]
push esi
call dword [ecx + 4]
push 0x12345678
push dword [ebx + 4]
mov dword [ebx + 0x24], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [ebx + 0x34]
call fcn.10012d80
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x10019dd1
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x78], 1
mov dword [edi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002bf51
mov esp, ebp
pop ebp
ret 0x18
mov esi, 0x9c44
cmp si, dx
jne 0x10019e32
lea edx, [ebp - 0x64]
push edx
push ecx
push esi
shr eax, 0x10
mov ecx, ebx
push eax
call fcn.100184f0
mov dword [edi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002bf51
mov esp, ebp
pop ebp
ret 0x18
mov esi, 0x9c47
cmp si, dx
jne 0x10019e44
lea edx, [ebp - 0x64]
push edx
push ecx
push esi
jmp 0x10019e0d
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002bf51
mov esp, ebp
pop ebp
ret 0x18