Function at 0x408c20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [0x4e90d8], esi
call fcn.0046c000
test eax, eax
je 0x408c9e
call fcn.00408bb0
call fcn.00408b40
mov edi, dword [0x4ee74c]
lea eax, [esp + 0x10]
push eax
call fcn.0040e390
mov eax, dword [eax]
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408c85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x408ca7
mov ecx, esi
or ecx, 1
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x4ee74c]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0
call fcn.00409dc0
add esp, 0x14
push str.USER_SCREENX_POS
xor esi, esi
call fcn.0046ccd0
mov edi, eax
test edi, edi
je 0x408cfc
push edi
call fcn.0049e31d
add esp, 4
push edi
mov esi, eax
call fcn.0049081d
add esp, 4
push str.USER_SCREENY_POS
xor edi, edi
call fcn.0046ccd0
mov ebx, eax
test ebx, ebx
je 0x408d22
push ebx
call fcn.0049e31d
add esp, 4
push ebx
mov edi, eax
call fcn.0049081d
add esp, 4
push str.USER_SCREENX_SIZE
mov dword [esp + 0x10], 0
call fcn.0046ccd0
mov ebx, eax
test ebx, ebx
je 0x408d50
push ebx
call fcn.0049e31d
add esp, 4
push ebx
mov dword [esp + 0x10], eax
call fcn.0049081d
add esp, 4
push str.USER_SCREENY_SIZE
mov dword [esp + 0x14], 0
call fcn.0046ccd0
mov ebx, eax
test ebx, ebx
je 0x408d7e
push ebx
call fcn.0049e31d
add esp, 4
push ebx
mov dword [esp + 0x14], eax
call fcn.0049081d
add esp, 4
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4c
call ebx
push 0x4e
call ebx
push 0x4d
call ebx
push 0x4f
call ebx
push 0
push edi
push esi
call dword [sym.imp.USER32.dll_MonitorFromPoint]
test eax, eax
je 0x408dc6
test esi, esi
je 0x408dc6
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
test edi, edi
jge 0x408dbe
xor ebx, ebx
test esi, esi
jge 0x408dce
xor esi, esi
jmp 0x408dce
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov edi, dword [0x4ee74c]
lea eax, [esp + 0x24]
push eax
call fcn.0040e390
mov ecx, dword [ebp + 8]
mov edx, dword [0x4ee754]
mov eax, dword [eax]
push 0
push ecx
mov ecx, dword [esp + 0x1c]
push 0
push edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push ebx
push esi
push ecx
push eax
push str.SNAPUI
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x4ee77c], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408e33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [0x4ee77c], 0
je 0x408c9e
mov ecx, dword [0x4ee74c]
cmp dword [ecx + 0x290], 0
je 0x408e59
push 0
call dword [sym.imp.USER32.dll_ShowCursor]
jmp 0x408e6d
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push str.CHECKFORACTION
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [0x4e547c], eax
call fcn.0040a020
mov edx, dword [0x4ee74c]
mov ebx, dword [0x4ee77c]
push edx
call fcn.0040aa20
mov eax, dword [0x4ee74c]
mov eax, dword [eax + 0x2ec]
test eax, eax
je 0x408eaa
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
jmp 0x408eac
xor eax, eax
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x1388
push 4
push eax
call esi
mov edx, dword [0x4ee74c]
mov eax, dword [edx + 0x2ec]
test eax, eax
je 0x408ed5
mov eax, dword [eax + 8]
mov eax, dword [eax]
jmp 0x408ed7
xor eax, eax
push 0
push 0x3e8
push 1
push eax
call esi
mov ecx, dword [0x4ee74c]
mov eax, dword [ecx + 0x2ec]
test eax, eax
je 0x408efa
mov edx, dword [eax + 8]
mov eax, dword [edx]
jmp 0x408efc
xor eax, eax
push 0
push 0xfa
push 3
push eax
call esi
call fcn.0040ab80
push str.a9_r_n
call fcn.00477b80
mov eax, dword [0x4ee77c]
add esp, 4
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push str.a10_r_n
call fcn.00477b80
mov ecx, dword [0x4ee77c]
add esp, 4
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push str.a11_r_n
call fcn.00477b80
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret