Function at 0x1002d5f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100acab0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x100db688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x7c], edi
cmp dword [ebp + 0x1c], 0
mov esi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x78], esi
jne 0x1002dc5a
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x1002d673
push 0xffffffffffffffec
push dword [edi + 4]
mov dword [edi + 0x2c], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x80080
push eax
push 0xffffffffffffffec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [esi], 0
cmp dword [edi + 0x2c], 0
je 0x1002dc5a
mov eax, 1
jmp 0x1002dc5c
cmp eax, 0x1400
jne 0x1002d727
cmp dword [edi + 0x30], 0
je 0x1002d717
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x60]
push ecx
push eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x68], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x20]
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push 2
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x6c]
push eax
push 0
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0
push eax
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0x1ff0000
push dword [eax + 4]
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x68]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.USER32.dll_EndPaint]
mov dword [esi], 0
mov eax, 1
jmp 0x1002dc5c
cmp eax, 0x200
jne 0x1002d7ea
movsx eax, cx
shr ecx, 0x10
cmp dword [edi + 0x48], 0
mov dword [edi + 0x2c], 1
movsx ecx, cx
je 0x1002d770
push ecx
push eax
mov ecx, edi
call fcn.1002b130
test eax, eax
je 0x1002d75c
push 0x7f89
jmp 0x1002d761
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [edi + 0x44], 0
je 0x1002d659
mov eax, dword [edi + 4]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x14], 0xc8
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
cmp dword [edi + 0x60], 3
mov dword [edi + 0x44], 0
jne 0x1002d659
cmp dword [edi + 0x64], 0
jne 0x1002d659
cmp dword [edi + 0x68], 0
jne 0x1002d659
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x64
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [edi + 0x64], 1
jmp 0x1002d659
cmp eax, 0x2a3
jne 0x1002d860
cmp dword [edi + 0x44], 0
mov dword [edi + 0x2c], 1
jne 0x1002d659
push 0x7f00
push 0
mov dword [edi + 0x44], 1
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [edi + 0x60], 3
jne 0x1002d659
cmp dword [edi + 0x64], 0
jne 0x1002d659
mov eax, dword [edi + 0x58]
dec eax
cmp dword [edi + 0x68], eax
jne 0x1002d659
push 3
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x3e8
push 3
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x1002d659
cmp eax, 0x20
jne 0x1002d877
mov dword [edi + 0x2c], 1
mov dword [esi], 1
jmp 0x1002d65f
cmp eax, 0x201
jne 0x1002d95c
mov eax, dword [edi + 0x58]
movsx edx, cx
shr ecx, 0x10
mov dword [edi + 0x2c], 1
movsx ecx, cx
cmp eax, 2
jl 0x1002d8aa
cmp dword [edi + 0x60], 1
jne 0x1002d8aa
dec eax
cmp dword [edi + 0x68], eax
jne 0x1002d659
push ecx
push edx
mov ecx, edi
call fcn.1002b130
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x1002d659
cmp dword [edi + 0x60], 3
jne 0x1002d8e0
mov ecx, eax
call fcn.10027830
cmp eax, 4
jne 0x1002d8dd
mov eax, dword [edi + 0x58]
dec eax
cmp dword [edi + 0x68], eax
jne 0x1002d659
mov eax, dword [ebp - 0x6c]
mov ecx, eax
call fcn.10027820
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x1002d8f8
mov ecx, dword [edi + 0x50]
push eax
call fcn.10011bd0
mov ecx, dword [ebp - 0x6c]
mov esi, dword [edi + 0x48]
call fcn.10027840
push eax
mov ecx, esi
call fcn.1002c0b0
call fcn.10013ea0
mov ecx, dword [ebp - 0x6c]
mov esi, eax
call fcn.10027850
mov ecx, dword [esi]
push 1
push dword [eax]
push esi
call dword [ecx + 4]
push 0x12345678
push dword [edi + 4]
mov dword [edi + 0x24], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x10]
mov esi, dword [ebp - 0x78]
mov dword [edi + 0x78], 1
jmp 0x1002d659
cmp eax, 0x205
jne 0x1002da81
cmp dword [edi + 0x60], 3
mov dword [edi + 0x2c], 1
jne 0x1002d659
mov eax, dword [edi + 0x48]
test eax, eax
je 0x1002d659
mov eax, dword [eax + 0x38]
cmp dword [eax - 0xc], 0
jne 0x1002d990
push 0x67
jmp 0x1002d992
push 0x65
push dword [0x100df8fc]
call dword [sym.imp.USER32.dll_LoadMenuW]
mov esi, eax
xor eax, eax
test esi, esi
setne al
test eax, eax
jne 0x1002d9c2
test esi, esi
je 0x1002da79
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
mov esi, dword [ebp - 0x78]
jmp 0x1002d659
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_GetSubMenu]
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov eax, dword [ebp - 0x7c]
push 0
push ecx
mov dword [ebp - 0x80], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x18]
push eax
mov dword [ebp - 0x6c], eax
call dword [sym.imp.USER32.dll_MonitorFromPoint]
test eax, eax
jne 0x1002da54
push 2
push dword [ebp - 0x80]
push dword [ebp - 0x6c]
call dword [sym.imp.USER32.dll_MonitorFromPoint]
test eax, eax
je 0x1002da54
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0x28
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push ecx
push eax
movups xmmword [ebp - 0x44], xmm0
movups xmmword [ebp - 0x34], xmm0
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov ecx, dword [ebp - 0x6c]
test eax, eax
je 0x1002da57
mov eax, dword [ebp - 0x34]
cmp ecx, eax
jge 0x1002da4b
mov ecx, eax
jmp 0x1002da57
cmp ecx, dword [ebp - 0x2c]
cmovg ecx, dword [ebp - 0x2c]
jmp 0x1002da57
mov ecx, dword [ebp - 0x6c]
push 0
push dword [ebp - 0x70]
push 0
push dword [ebp - 0x80]
push ecx
push 0
push edi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test esi, esi
je 0x1002da76
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
mov edi, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x78]
jmp 0x1002d659
cmp eax, 0x113
jne 0x1002da9e
push dword [ebp + 0x10]
mov ecx, edi
mov dword [edi + 0x2c], 1
call fcn.1002be20
jmp 0x1002d659
cmp eax, 0x10
jne 0x1002dab6
mov ecx, edi
mov dword [edi + 0x2c], 1
call fcn.1002b760
jmp 0x1002d659
cmp eax, 0x18
jne 0x1002dad2
push ecx
push dword [ebp + 0x10]
mov ecx, edi
mov dword [edi + 0x2c], 1
call fcn.1002bc10
jmp 0x1002d659
cmp eax, 0x14
jne 0x1002dafd
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x2c], 1
mov dword [ebp - 0x70], eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.1002c1e0
mov dword [esi], 1
jmp 0x1002d65f
cmp eax, 0xf
jne 0x1002db22
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x2c], 1
mov dword [ebp - 0x70], eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.1002c1e0
jmp 0x1002d659
cmp eax, 2
jne 0x1002db45
push 0x12345678
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi], 0
mov eax, 1
jmp 0x1002dc5c
cmp eax, 0x111
jne 0x1002dc5a
mov eax, dword [ebp + 0x10]
movzx edx, ax
mov dword [ebp - 0x70], 0x9c43
cmp word [ebp - 0x70], dx
jne 0x1002dc04
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x1002dbf7
mov eax, dword [ecx + 0x38]
cmp dword [eax - 0xc], 0
je 0x1002dbf7
push 1
call fcn.1002b0c0
mov dword [ebp - 0x70], eax
test eax, eax
je 0x1002dbf7
mov ecx, eax
call fcn.10027820
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x1002dba1
mov ecx, dword [edi + 0x50]
push eax
call fcn.10011bd0
mov ecx, dword [edi + 0x48]
push 1
call fcn.1002c0b0
call fcn.10013ea0
mov ecx, dword [ebp - 0x70]
mov esi, eax
call fcn.10027850
mov ecx, dword [esi]
push 1
push dword [eax]
push esi
call dword [ecx + 4]
push 0x12345678
push dword [edi + 4]
mov dword [edi + 0x24], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x10]
mov esi, dword [ebp - 0x78]
mov dword [edi + 0x78], 1
mov dword [esi], 0
mov eax, 1
jmp 0x1002dc5c
mov dword [ebp - 0x70], 0x9c44
cmp word [ebp - 0x70], dx
jne 0x1002dc2f
lea edx, [ebp - 0x70]
shr eax, 0x10
push edx
push ecx
push 0x9c44
push eax
mov ecx, edi
call fcn.1002b6b0
mov dword [esi], eax
mov eax, 1
jmp 0x1002dc5c
mov dword [ebp - 0x70], 0x9c47
cmp word [ebp - 0x70], dx
jne 0x1002dc5a
lea edx, [ebp - 0x70]
shr eax, 0x10
push edx
push ecx
push 0x9c47
push eax
mov ecx, edi
call fcn.1002b6b0
mov dword [esi], eax
mov eax, 1
jmp 0x1002dc5c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10061c7c
mov esp, ebp
pop ebp
ret 0x18