Function at 0x1002ee00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x100d07a8]
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 0x1002f40a
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x1002ee54
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 0x1002f2a0
cmp eax, 0x1400
jne 0x1002ef10
cmp dword [ebx + 0x30], 0
je 0x1002f3a5
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.1006a4da
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x200
jne 0x1002efd3
movsx eax, cx
shr ecx, 0x10
cmp dword [ebx + 0x48], 0
mov dword [ebx + 0x2c], 1
movsx ecx, cx
je 0x1002ef59
push ecx
push eax
mov ecx, ebx
call fcn.1002be30
test eax, eax
je 0x1002ef45
push 0x7f89
jmp 0x1002ef4a
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 0x1002f2a0
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 0x1002f2a0
cmp dword [ebx + 0x64], 0
jne 0x1002f2a0
cmp dword [ebx + 0x68], 0
jne 0x1002f2a0
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 0x1002f2a0
cmp eax, 0x2a3
jne 0x1002f049
cmp dword [ebx + 0x44], 0
mov dword [ebx + 0x2c], 1
jne 0x1002f2a0
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 0x1002f2a0
cmp dword [ebx + 0x64], 0
jne 0x1002f2a0
mov eax, dword [ebx + 0x58]
dec eax
cmp dword [ebx + 0x68], eax
jne 0x1002f2a0
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 0x1002f2a0
cmp eax, 0x20
jne 0x1002f060
mov dword [ebx + 0x2c], 1
mov dword [edi], 1
jmp 0x1002f2a6
cmp eax, 0x201
jne 0x1002f141
mov eax, dword [ebx + 0x58]
movsx edx, cx
shr ecx, 0x10
mov dword [ebx + 0x2c], 1
movsx ecx, cx
cmp eax, 2
jl 0x1002f093
cmp dword [ebx + 0x60], 1
jne 0x1002f093
dec eax
cmp dword [ebx + 0x68], eax
jne 0x1002f2a0
push ecx
push edx
mov ecx, ebx
call fcn.1002be30
mov esi, eax
mov dword [ebp - 0x60], esi
test esi, esi
je 0x1002f2a0
cmp dword [ebx + 0x60], 3
jne 0x1002f0c8
mov ecx, esi
call fcn.10027b20
cmp eax, 4
jne 0x1002f0c8
mov eax, dword [ebx + 0x58]
dec eax
cmp dword [ebx + 0x68], eax
jne 0x1002f2a0
mov ecx, esi
call fcn.10027b10
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x1002f0e0
mov ecx, dword [ebx + 0x50]
push eax
call fcn.10015040
mov ecx, dword [ebp - 0x60]
mov esi, dword [ebx + 0x48]
call fcn.10027b30
push eax
mov ecx, esi
call fcn.1002d920
call fcn.10024dc0
mov ecx, dword [ebp - 0x60]
mov esi, eax
call fcn.10027b40
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]
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax + 0x10]
mov dword [ebx + 0x78], 1
jmp 0x1002f2a0
cmp eax, 0x205
jne 0x1002f25a
cmp dword [ebx + 0x60], 3
mov dword [ebx + 0x2c], 1
jne 0x1002f2a0
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x1002f2a0
mov eax, dword [eax + 0x38]
cmp dword [eax - 0xc], 0
jne 0x1002f175
push 0x67
jmp 0x1002f177
push 0x65
push dword [0x100d3cf0]
call dword [sym.imp.USER32.dll_LoadMenuW]
mov esi, eax
xor eax, eax
test esi, esi
setne al
test eax, eax
jne 0x1002f1a4
test esi, esi
je 0x1002f2a0
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
jmp 0x1002f2a0
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 0x1002f233
push 2
push dword [ebp - 0x6c]
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_MonitorFromPoint]
test eax, eax
je 0x1002f233
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 0x1002f236
mov eax, dword [ebp - 0x28]
cmp ecx, eax
jge 0x1002f22a
mov ecx, eax
jmp 0x1002f236
cmp ecx, dword [ebp - 0x20]
cmovg ecx, dword [ebp - 0x20]
jmp 0x1002f236
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 0x1002f255
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
mov edi, dword [ebp - 0x70]
jmp 0x1002f2a0
cmp eax, 0x113
jne 0x1002f274
push dword [ebp + 0x10]
mov ecx, ebx
mov dword [ebx + 0x2c], 1
call fcn.1002d690
jmp 0x1002f2a0
cmp eax, 0x10
jne 0x1002f289
mov ecx, ebx
mov dword [ebx + 0x2c], 1
call fcn.1002d030
jmp 0x1002f2a0
cmp eax, 0x18
jne 0x1002f2c8
push ecx
push dword [ebp + 0x10]
mov ecx, ebx
mov dword [ebx + 0x2c], 1
call fcn.1002d480
mov dword [edi], 0
cmp dword [ebx + 0x2c], 0
je 0x1002f40a
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006a4da
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 2
jne 0x1002f2f9
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.1006a4da
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x111
jne 0x1002f40a
mov eax, dword [ebp + 0x10]
mov esi, 0x9c43
movzx edx, ax
cmp si, dx
jne 0x1002f3c3
mov ecx, dword [ebx + 0x48]
test ecx, ecx
je 0x1002f3a5
mov eax, dword [ecx + 0x38]
cmp dword [eax - 0xc], 0
je 0x1002f3a5
push 1
call fcn.1002bdc0
mov dword [ebp - 0x64], eax
test eax, eax
je 0x1002f3a5
mov ecx, eax
call fcn.10027b10
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x1002f352
mov ecx, dword [ebx + 0x50]
push eax
call fcn.10015040
mov ecx, dword [ebx + 0x48]
push 1
call fcn.1002d920
call fcn.10024dc0
mov ecx, dword [ebp - 0x64]
mov esi, eax
call fcn.10027b40
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]
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax + 0x10]
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.1006a4da
mov esp, ebp
pop ebp
ret 0x18
mov esi, 0x9c44
cmp si, dx
jne 0x1002f3f8
lea edx, [ebp - 0x64]
push edx
push ecx
push esi
shr eax, 0x10
mov ecx, ebx
push eax
call fcn.1002cf80
mov dword [edi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006a4da
mov esp, ebp
pop ebp
ret 0x18
mov esi, 0x9c47
cmp si, dx
jne 0x1002f40a
lea edx, [ebp - 0x64]
push edx
push ecx
push esi
jmp 0x1002f3d3
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006a4da
mov esp, ebp
pop ebp
ret 0x18