Function at 0x446330
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9aad
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4e2054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebx + 0x78]
call fcn.00473c40
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.00452000
mov ecx, dword [ebx + 0x90]
mov ecx, dword [ecx + 8]
call fcn.00451eb0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
call fcn.00432930
mov ecx, ebx
call fcn.00446770
mov ecx, ebx
call fcn.00446a80
mov eax, dword [ebx + 0x90]
lea edi, [ebx + 0xa4]
mov dword [ebp - 0x10], edi
test byte [eax + 0xc], 1
je 0x4463f7
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
mov eax, dword [ebx + 0x88]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4463e8
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 0x4463fa
mov dword [ebp - 0x10], edi
mov ecx, ebx
call fcn.00446e40
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 0x446441
cmp dword [ebp - 0x18], 0x400
jl 0x446441
cmp eax, 0x300
jl 0x446441
mov edi, dword [ebx + 0x12c]
mov dword [ebp - 0x14], edi
jmp 0x44644a
mov eax, dword [ebx + 0xac]
mov dword [ebp - 0x14], eax
mov eax, dword [0x4e2d88]
mov ecx, 0x4c6094
push dword [ebp - 0x18]
test eax, eax
cmovne ecx, eax
lea eax, [esi + 0x20]
push eax
push 0x4e2d58
mov dword [0x4e2d88], ecx
call fcn.00435e60
movzx edi, ax
add esp, 0xc
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], edi
test eax, eax
jne 0x4464f7
call fcn.0047b520
mov dword [esi + 0x14], eax
test eax, eax
jne 0x4464f7
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.00446b30
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 0x4465af
cmp dword [ebp - 0x18], 0x400
jl 0x4465af
cmp eax, 0x300
jl 0x4465af
mov ecx, dword [ebx + 0x12c]
jmp 0x4465b5
push 0
push 0
push eax
call fcn.0047b622
test di, di
je 0x446494
lea edi, [esi + 8]
test edi, edi
je 0x446762
test esi, esi
je 0x446762
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi + 4], eax
mov dword [ebp - 0x20], 0x4e43f8
mov byte [ebp - 0x1c], 0
mov dword [ebp - 4], 0
push 0x4e43f8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4e4410]
mov dword [edi + 8], eax
mov byte [ebp - 0x1c], 1
mov dword [0x4e4410], edi
mov dword [ebp - 4], 0xffffffff
push 0x4e43f8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x4e2aec]
mov ecx, dword [0x4e2af4]
mov edx, dword [0x4e2ae8]
sub ecx, edi
mov eax, dword [0x4e2af0]
push 0
push dword [0x4e33f0]
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 0x446494
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], 0x4e2ae8
call fcn.00435a00
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 0x44668b
cmp dword [ebp - 0x10], 0x400
jl 0x44668b
cmp eax, 0x300
jl 0x44668b
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.00448980
mov dword [ebx + 0x198], 0
jmp 0x4466ac
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.00448980
mov dword [ebx + 0x118], 0
mov esi, dword [ebx + 0x94]
cmp dword [esi + 4], 1
jne 0x446725
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 0x4466e0
cmp dword [ebp - 0x18], 0x400
jl 0x4466e0
cmp eax, 0x300
jge 0x446725
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 0x446703
push 5
push dword [esi + 8]
call edi
push 0
push dword [esi + 4]
call edi
cmp dword [esi + 0x28], 1
je 0x446717
mov dword [esi + 0x28], 1
mov ecx, esi
mov dword [esi + 0x50], 1
call fcn.00448980
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.00447570
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.00409100
int3