Function at 0x446940
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aaa0d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4e3050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebx + 0x78]
call fcn.004747a0
mov eax, dword [ebx + 0x90]
mov edx, ebx
neg edx
sbb edx, edx
mov ecx, dword [eax + 8]
lea eax, [ebx + 0x84]
and edx, eax
push edx
call fcn.00452870
mov ecx, dword [ebx + 0x90]
mov ecx, dword [ecx + 8]
call fcn.00452720
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
call fcn.00432c00
mov ecx, ebx
call fcn.00446d80
mov ecx, ebx
call fcn.00447090
mov eax, dword [ebx + 0x90]
lea edi, [ebx + 0xa4]
mov dword [ebp - 0x10], edi
test byte [eax + 0xc], 1
je 0x446a07
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
mov eax, dword [ebx + 0x88]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4469f8
mov eax, dword [ecx]
push 0x4e20
push edx
push dword [ebx + 0x250]
call dword [eax + 4]
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], 0
jmp 0x446a0a
mov dword [ebp - 0x10], edi
mov ecx, ebx
call fcn.00447450
mov edi, dword [edi]
lea esi, [ebx + 0x1a8]
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [edi + 0x30]
shr ecx, 1
test cl, 1
je 0x446a51
cmp dword [ebp - 0x18], 0x400
jl 0x446a51
cmp eax, 0x300
jl 0x446a51
mov edi, dword [ebx + 0x12c]
mov dword [ebp - 0x14], edi
jmp 0x446a5a
mov eax, dword [ebx + 0xac]
mov dword [ebp - 0x14], eax
mov eax, dword [0x4e3d70]
mov ecx, 0x4c7158
push dword [ebp - 0x18]
test eax, eax
cmovne ecx, eax
lea eax, [esi + 0x20]
push eax
push 0x4e3d40
mov dword [0x4e3d70], ecx
call fcn.00436150
movzx edi, ax
add esp, 0xc
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], edi
test eax, eax
jne 0x446b07
call fcn.0047c1f7
mov dword [esi + 0x14], eax
test eax, eax
jne 0x446b07
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x24
push 0
push 0x1036
push dword [ebx + 0x1ac]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, ebx
call fcn.00447140
mov esi, dword [ebp - 0x10]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov esi, dword [esi]
call edi
push 1
mov dword [ebp - 0x18], eax
call edi
mov ecx, dword [esi + 0x30]
shr ecx, 1
test cl, 1
je 0x446bbf
cmp dword [ebp - 0x18], 0x400
jl 0x446bbf
cmp eax, 0x300
jl 0x446bbf
mov ecx, dword [ebx + 0x12c]
jmp 0x446bc5
push 0
push 0
push eax
call fcn.0047c2f9
test di, di
je 0x446aa4
lea edi, [esi + 8]
test edi, edi
je 0x446d72
test esi, esi
je 0x446d72
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi + 4], eax
mov dword [ebp - 0x20], 0x4e54c0
mov byte [ebp - 0x1c], 0
mov dword [ebp - 4], 0
push 0x4e54c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4e54d8]
mov dword [edi + 8], eax
mov byte [ebp - 0x1c], 1
mov dword [0x4e54d8], edi
mov dword [ebp - 4], 0xffffffff
push 0x4e54c0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x4e3b0c]
mov ecx, dword [0x4e3b14]
mov edx, dword [0x4e3b08]
sub ecx, edi
mov eax, dword [0x4e3b10]
push 0
push dword [0x4e4484]
sub eax, edx
mov byte [ebp - 0x1c], 0
push esi
push dword [ebp - 0x14]
push ecx
push eax
mov eax, dword [ebp - 0x18]
push edi
push edx
push 0x5600880d
push 0
movzx eax, ax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
jmp 0x446aa4
mov ecx, dword [ebx + 0xac]
sub esp, 8
mov eax, esp
push 0
push 0x56200804
sub esp, 8
mov dword [eax], 0
mov eax, esp
push ecx
lea ecx, [ebx + 0x1d0]
mov dword [eax], 0x4e3b08
call fcn.00435cd0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 3
push 0xcb
push dword [ebx + 0x1d4]
call esi
push 0
push 0
push 0x43b
push dword [ebx + 0x1d4]
call esi
or eax, 0x4000000
push eax
push 0
push 0x445
push dword [ebx + 0x1d4]
call esi
push 0
push 0
push 0x45b
push dword [ebx + 0x1d4]
call esi
mov eax, dword [ebx + 0x1d4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x1ac]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push 0
mov esi, dword [eax]
call edi
push 1
mov dword [ebp - 0x10], eax
call edi
mov ecx, dword [esi + 0x30]
shr ecx, 1
test cl, 1
je 0x446c9b
cmp dword [ebp - 0x10], 0x400
jl 0x446c9b
cmp eax, 0x300
jl 0x446c9b
mov eax, dword [ebp - 0x14]
lea ecx, [ebx + 0x14c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 8], eax
call fcn.00448ee0
mov dword [ebx + 0x198], 0
jmp 0x446cbc
mov eax, dword [ebp - 0x14]
lea ecx, [ebx + 0xcc]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 8], eax
call fcn.00448ee0
mov dword [ebx + 0x118], 0
mov esi, dword [ebx + 0x94]
cmp dword [esi + 4], 1
jne 0x446d35
mov esi, dword [esi + 0xc]
push 0
call edi
push 1
mov dword [ebp - 0x18], eax
call edi
mov ecx, dword [esi + 0x30]
shr ecx, 1
test cl, 1
je 0x446cf0
cmp dword [ebp - 0x18], 0x400
jl 0x446cf0
cmp eax, 0x300
jge 0x446d35
push dword [ebx + 0xd4]
lea esi, [ebx + 0xcc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x446d13
push 5
push dword [esi + 8]
call edi
push 0
push dword [esi + 4]
call edi
cmp dword [esi + 0x28], 1
je 0x446d27
mov dword [esi + 0x28], 1
mov ecx, esi
mov dword [esi + 0x50], 1
call fcn.00448ee0
mov ecx, ebx
lea eax, [ebx + 0x80]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebx + 0x90]
mov dword [eax], ecx
mov ecx, ebx
call fcn.00447b80
mov dword [ebx + 0x8c], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
push 0xc0000005
call fcn.00436030
int3