Function at 0x4542c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50baad
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x569080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebx + 0x78]
call fcn.00486220
mov eax, dword [ebx + 0xc8]
mov edx, ebx
neg edx
sbb edx, edx
mov ecx, dword [eax + 8]
lea eax, [ebx + 0x84]
and edx, eax
push edx
call fcn.0045f580
mov ecx, dword [ebx + 0xc8]
mov ecx, dword [ecx + 8]
call fcn.0045f430
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
call fcn.0043c5d0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push dword [ebx + 0xb8]
push 0
push 0x478
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0xc8]
test byte [eax + 0xc], 1
je 0x45439f
mov eax, dword [ebx + 0xdc]
mov ecx, dword [eax + 0x34]
mov eax, dword [ebx + 0x88]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x454392
mov eax, dword [eax]
push 0x4e20
push ecx
push dword [ebx + 0xbc]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x10]
call esi
mov eax, dword [ebx + 0xc8]
mov dword [eax + 0xc], 0
mov ecx, ebx
call fcn.00454aa0
mov edi, dword [ebx + 0xdc]
lea esi, [ebx + 0x1e0]
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 0x4543e7
cmp dword [ebp - 0x10], 0x400
jl 0x4543e7
cmp eax, 0x300
jl 0x4543e7
mov eax, dword [ebx + 0x164]
jmp 0x4543ed
mov eax, dword [ebx + 0xe4]
cmp dword [0x569e10], 0
mov dword [ebp - 0x10], eax
jne 0x454403
mov dword [0x569e10], 0x536d4c
push dword [ebp - 0x14]
lea eax, [esi + 0x20]
push eax
push 0x569de0
call fcn.0043fff0
movzx edi, ax
add esp, 0xc
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], edi
test eax, eax
jne 0x45449c
call fcn.004bc84f
mov dword [esi + 0x14], eax
test eax, eax
jne 0x45449c
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x24
push 0
push 0x1036
push dword [ebx + 0x1e4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, ebx
call fcn.00454730
mov esi, dword [ebx + 0xdc]
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 0x454554
cmp edi, 0x400
jl 0x454554
cmp eax, 0x300
jl 0x454554
mov ecx, dword [ebx + 0x164]
jmp 0x45455a
push 0
push 0
push eax
call fcn.004bc951
test di, di
je 0x454438
lea edi, [esi + 8]
test edi, edi
je 0x454719
test esi, esi
je 0x454719
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi + 4], eax
mov dword [ebp - 0x1c], 0x56c360
mov byte [ebp - 0x18], 0
mov dword [ebp - 4], 0
push 0x56c360
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x56c378]
mov dword [edi + 8], eax
mov byte [ebp - 0x18], 1
mov dword [0x56c378], edi
mov dword [ebp - 4], 0xffffffff
push 0x56c360
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x569bac]
mov ecx, dword [0x569bb4]
mov edx, dword [0x569ba8]
sub ecx, edi
mov eax, dword [0x569bb0]
push 0
push dword [0x56b0cc]
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 0x454438
mov ecx, dword [ebx + 0xe4]
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 + 0x208]
mov dword [eax], 0x569ba8
call fcn.0043fb30
push 0
push 3
push 0xcb
push dword [ebx + 0x20c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x43b
push dword [ebx + 0x20c]
call dword [sym.imp.USER32.dll_SendMessageW]
or eax, 0x4000000
push eax
push 0
push 0x445
push dword [ebx + 0x20c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x45b
push dword [ebx + 0x20c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x1e4]
mov edi, dword [ebx + 0x20c]
mov esi, dword [ebx + 0xdc]
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 0x45463d
cmp dword [ebp - 0x14], 0x400
jl 0x45463d
cmp eax, 0x300
jl 0x45463d
mov eax, dword [ebp - 0x10]
lea ecx, [ebx + 0x184]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edi
call fcn.00456680
mov dword [ebx + 0x1d0], 0
jmp 0x45465b
mov eax, dword [ebp - 0x10]
lea ecx, [ebx + 0x104]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edi
call fcn.00456680
mov dword [ebx + 0x150], 0
mov esi, dword [ebx + 0xcc]
cmp dword [esi + 4], 1
jne 0x4546dc
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 0x454695
cmp edi, 0x400
jl 0x454695
cmp eax, 0x300
jge 0x4546dc
push dword [ebx + 0x10c]
lea esi, [ebx + 0x104]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4546b6
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 0x4546ce
mov dword [esi + 0x28], 1
mov ecx, esi
mov dword [esi + 0x50], 1
call fcn.00456680
mov ecx, ebx
lea eax, [ebx + 0x80]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebx + 0xc8]
mov dword [eax], ecx
mov ecx, ebx
call fcn.004551c0
mov dword [ebx + 0xc4], 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.0043fed0
int3