Function at 0x10029990
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a82c0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x100d5688]
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 0x10029ffa
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x10029a13
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 0x10029ffa
mov eax, 1
jmp 0x10029ffc
cmp eax, 0x1400
jne 0x10029ac7
cmp dword [edi + 0x30], 0
je 0x10029ab7
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 0x10029ffc
cmp eax, 0x200
jne 0x10029b8a
movsx eax, cx
shr ecx, 0x10
cmp dword [edi + 0x48], 0
mov dword [edi + 0x2c], 1
movsx ecx, cx
je 0x10029b10
push ecx
push eax
mov ecx, edi
call fcn.10027540
test eax, eax
je 0x10029afc
push 0x7f89
jmp 0x10029b01
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 0x100299f9
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 0x100299f9
cmp dword [edi + 0x64], 0
jne 0x100299f9
cmp dword [edi + 0x68], 0
jne 0x100299f9
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 0x100299f9
cmp eax, 0x2a3
jne 0x10029c00
cmp dword [edi + 0x44], 0
mov dword [edi + 0x2c], 1
jne 0x100299f9
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 0x100299f9
cmp dword [edi + 0x64], 0
jne 0x100299f9
mov eax, dword [edi + 0x58]
dec eax
cmp dword [edi + 0x68], eax
jne 0x100299f9
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 0x100299f9
cmp eax, 0x20
jne 0x10029c17
mov dword [edi + 0x2c], 1
mov dword [esi], 1
jmp 0x100299ff
cmp eax, 0x201
jne 0x10029cfc
mov eax, dword [edi + 0x58]
movsx edx, cx
shr ecx, 0x10
mov dword [edi + 0x2c], 1
movsx ecx, cx
cmp eax, 2
jl 0x10029c4a
cmp dword [edi + 0x60], 1
jne 0x10029c4a
dec eax
cmp dword [edi + 0x68], eax
jne 0x100299f9
push ecx
push edx
mov ecx, edi
call fcn.10027540
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x100299f9
cmp dword [edi + 0x60], 3
jne 0x10029c80
mov ecx, eax
call fcn.100244a0
cmp eax, 4
jne 0x10029c7d
mov eax, dword [edi + 0x58]
dec eax
cmp dword [edi + 0x68], eax
jne 0x100299f9
mov eax, dword [ebp - 0x6c]
mov ecx, eax
call fcn.10024490
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x10029c98
mov ecx, dword [edi + 0x50]
push eax
call fcn.100111c0
mov ecx, dword [ebp - 0x6c]
mov esi, dword [edi + 0x48]
call fcn.100244b0
push eax
mov ecx, esi
call fcn.10028320
call fcn.10012750
mov ecx, dword [ebp - 0x6c]
mov esi, eax
call fcn.100244c0
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 0x100299f9
cmp eax, 0x205
jne 0x10029e21
cmp dword [edi + 0x60], 3
mov dword [edi + 0x2c], 1
jne 0x100299f9
mov eax, dword [edi + 0x48]
test eax, eax
je 0x100299f9
mov eax, dword [eax + 0x38]
cmp dword [eax - 0xc], 0
jne 0x10029d30
push 0x67
jmp 0x10029d32
push 0x65
push dword [0x100d94cc]
call dword [sym.imp.USER32.dll_LoadMenuW]
mov esi, eax
xor eax, eax
test esi, esi
setne al
test eax, eax
jne 0x10029d62
test esi, esi
je 0x10029e19
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
mov esi, dword [ebp - 0x78]
jmp 0x100299f9
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 0x10029df4
push 2
push dword [ebp - 0x80]
push dword [ebp - 0x6c]
call dword [sym.imp.USER32.dll_MonitorFromPoint]
test eax, eax
je 0x10029df4
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 0x10029df7
mov eax, dword [ebp - 0x34]
cmp ecx, eax
jge 0x10029deb
mov ecx, eax
jmp 0x10029df7
cmp ecx, dword [ebp - 0x2c]
cmovg ecx, dword [ebp - 0x2c]
jmp 0x10029df7
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 0x10029e16
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
mov edi, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x78]
jmp 0x100299f9
cmp eax, 0x113
jne 0x10029e3e
push dword [ebp + 0x10]
mov ecx, edi
mov dword [edi + 0x2c], 1
call fcn.10028090
jmp 0x100299f9
cmp eax, 0x10
jne 0x10029e56
mov ecx, edi
mov dword [edi + 0x2c], 1
call fcn.100279d0
jmp 0x100299f9
cmp eax, 0x18
jne 0x10029e72
push ecx
push dword [ebp + 0x10]
mov ecx, edi
mov dword [edi + 0x2c], 1
call fcn.10027e80
jmp 0x100299f9
cmp eax, 0x14
jne 0x10029e9d
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.10028450
mov dword [esi], 1
jmp 0x100299ff
cmp eax, 0xf
jne 0x10029ec2
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.10028450
jmp 0x100299f9
cmp eax, 2
jne 0x10029ee5
push 0x12345678
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi], 0
mov eax, 1
jmp 0x10029ffc
cmp eax, 0x111
jne 0x10029ffa
mov eax, dword [ebp + 0x10]
movzx edx, ax
mov dword [ebp - 0x70], 0x9c43
cmp word [ebp - 0x70], dx
jne 0x10029fa4
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x10029f97
mov eax, dword [ecx + 0x38]
cmp dword [eax - 0xc], 0
je 0x10029f97
push 1
call fcn.100274d0
mov dword [ebp - 0x70], eax
test eax, eax
je 0x10029f97
mov ecx, eax
call fcn.10024490
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x10029f41
mov ecx, dword [edi + 0x50]
push eax
call fcn.100111c0
mov ecx, dword [edi + 0x48]
push 1
call fcn.10028320
call fcn.10012750
mov ecx, dword [ebp - 0x70]
mov esi, eax
call fcn.100244c0
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 0x10029ffc
mov dword [ebp - 0x70], 0x9c44
cmp word [ebp - 0x70], dx
jne 0x10029fcf
lea edx, [ebp - 0x70]
shr eax, 0x10
push edx
push ecx
push 0x9c44
push eax
mov ecx, edi
call fcn.10027920
mov dword [esi], eax
mov eax, 1
jmp 0x10029ffc
mov dword [ebp - 0x70], 0x9c47
cmp word [ebp - 0x70], dx
jne 0x10029ffa
lea edx, [ebp - 0x70]
shr eax, 0x10
push edx
push ecx
push 0x9c47
push eax
mov ecx, edi
call fcn.10027920
mov dword [esi], eax
mov eax, 1
jmp 0x10029ffc
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.1005f06c
mov esp, ebp
pop ebp
ret 0x18