Function at 0x450400
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d611d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x515080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebx + 0x78]
call fcn.00482490
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.0045cf10
mov ecx, dword [ebx + 0x90]
mov ecx, dword [ecx + 8]
call fcn.0045cdc0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
call fcn.00439c30
mov ecx, ebx
call fcn.00450860
mov ecx, ebx
call fcn.00450c10
mov eax, dword [ebx + 0x90]
test byte [eax + 0xc], 1
je 0x4504d0
mov eax, dword [ebx + 0xa4]
mov ecx, dword [eax + 0x34]
mov eax, dword [ebx + 0x88]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4504c3
mov eax, dword [eax]
push 0x4e20
push ecx
push dword [ebx + 0x250]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x10]
call esi
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], 0
mov ecx, ebx
call fcn.00451030
mov edi, dword [ebx + 0xa4]
lea esi, [ebx + 0x1a8]
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [edi + 0x30]
shr ecx, 1
test cl, 1
je 0x450518
cmp dword [ebp - 0x10], 0x400
jl 0x450518
cmp eax, 0x300
jl 0x450518
mov eax, dword [ebx + 0x12c]
jmp 0x45051e
mov eax, dword [ebx + 0xac]
cmp dword [0x515e00], 0
mov dword [ebp - 0x10], eax
jne 0x450534
mov dword [0x515e00], 0x4f3234
push dword [ebp - 0x14]
lea eax, [esi + 0x20]
push eax
push 0x515dd0
call fcn.0043d7f0
movzx edi, ax
add esp, 0xc
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], edi
test eax, eax
jne 0x4505cd
call fcn.0048a78f
mov dword [esi + 0x14], eax
test eax, eax
jne 0x4505cd
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.00450cc0
mov esi, dword [ebx + 0xa4]
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov edi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esi + 0x30]
shr ecx, 1
test cl, 1
je 0x450685
cmp edi, 0x400
jl 0x450685
cmp eax, 0x300
jl 0x450685
mov ecx, dword [ebx + 0x12c]
jmp 0x45068b
push 0
push 0
push eax
call fcn.0048a891
test di, di
je 0x450569
lea edi, [esi + 8]
test edi, edi
je 0x45084a
test esi, esi
je 0x45084a
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi + 4], eax
mov dword [ebp - 0x1c], 0x517df8
mov byte [ebp - 0x18], 0
mov dword [ebp - 4], 0
push 0x517df8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x517e10]
mov dword [edi + 8], eax
mov byte [ebp - 0x18], 1
mov dword [0x517e10], edi
mov dword [ebp - 4], 0xffffffff
push 0x517df8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x515b9c]
mov ecx, dword [0x515ba4]
mov edx, dword [0x515b98]
sub ecx, edi
mov eax, dword [0x515ba0]
push 0
push dword [0x516d44]
sub eax, edx
mov byte [ebp - 0x18], 0
push esi
push dword [ebp - 0x10]
push ecx
push eax
mov eax, dword [ebp - 0x14]
push edi
push edx
push 0x5600880d
push 0
movzx eax, ax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
jmp 0x450569
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], 0x515b98
call fcn.0043d330
push 0
push 3
push 0xcb
push dword [ebx + 0x1d4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x43b
push dword [ebx + 0x1d4]
call dword [sym.imp.USER32.dll_SendMessageW]
or eax, 0x4000000
push eax
push 0
push 0x445
push dword [ebx + 0x1d4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x45b
push dword [ebx + 0x1d4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x1ac]
mov edi, dword [ebx + 0x1d4]
mov esi, dword [ebx + 0xa4]
push 0
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esi + 0x30]
shr ecx, 1
test cl, 1
je 0x45076e
cmp dword [ebp - 0x14], 0x400
jl 0x45076e
cmp eax, 0x300
jl 0x45076e
mov eax, dword [ebp - 0x10]
lea ecx, [ebx + 0x14c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edi
call fcn.00452bc0
mov dword [ebx + 0x198], 0
jmp 0x45078c
mov eax, dword [ebp - 0x10]
lea ecx, [ebx + 0xcc]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edi
call fcn.00452bc0
mov dword [ebx + 0x118], 0
mov esi, dword [ebx + 0x94]
cmp dword [esi + 4], 1
jne 0x45080d
mov esi, dword [esi + 0xc]
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov edi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esi + 0x30]
shr ecx, 1
test cl, 1
je 0x4507c6
cmp edi, 0x400
jl 0x4507c6
cmp eax, 0x300
jge 0x45080d
push dword [ebx + 0xd4]
lea esi, [ebx + 0xcc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4507e7
push 5
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x28], 1
je 0x4507ff
mov dword [esi + 0x28], 1
mov ecx, esi
mov dword [esi + 0x50], 1
call fcn.00452bc0
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.004517c0
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.0043d6d0
int3