Function at 0x4547be
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x4d0018]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x24], ebx
push edi
lea ecx, [ebx + 0x808]
mov dword [esp + 0x20], esi
and dword [esi + 0x1c], 0
mov byte [esi + 0x24], 0
mov dword [esi + 0x18], ebx
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x20], eax
push ecx
mov eax, dword [ecx]
call dword [eax + 0x40]
mov ecx, eax
call fcn.0041706a
mov ecx, dword [esi + 0x14]
push eax
call fcn.004170ff
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0x8bc]
mov eax, dword [eax + 0x8c0]
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0x1c], ecx
mov ecx, ebx
call dword [eax + 0x9c]
mov esi, eax
mov ecx, dword [esp + 0x18]
lea edi, [esp + 0x2c]
mov eax, dword [esp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x2c]
lea edi, [esp + 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x38]
add ecx, esi
mov edx, dword [esp + 0x44]
mov dword [esp + 0x48], esi
test eax, eax
jle 0x45486e
lea edi, [edx + eax]
mov dword [esp + 0x4c], edi
jmp 0x454872
mov edi, dword [esp + 0x4c]
and dword [esp + 0x10], 0
sub ecx, esi
and dword [esp + 0x14], 0
lea esi, [ebx + 0x6b8]
mov eax, dword [esi]
sub edi, edx
mov dword [esp + 0x24], ecx
mov ecx, esi
call dword [eax + 0xc]
test eax, eax
jle 0x4548eb
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
mov ecx, eax
mov dword [esp + 0x10], eax
mov edx, dword [eax]
call dword [edx + 0x170]
test al, al
je 0x4548d0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
push dword [esp + 0x24]
push edi
mov edx, dword [ecx]
push eax
call dword [edx + 0x1cc]
add ebx, dword [esp + 0x40]
mov eax, dword [esi]
mov ecx, esi
inc dword [esp + 0x14]
call dword [eax + 0xc]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jl 0x45489d
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov ecx, ebx
mov esi, dword [esp + 0x18]
add eax, 4
cmp eax, esi
push 2
cmovl esi, eax
mov eax, dword [esp + 0x4c]
add eax, esi
mov dword [esp + 0x54], eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [ebx]
push 0
call dword [eax + 0x40]
push dword [eax + 0xa8]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0xa
pop ecx
xor eax, eax
lea edi, [esp + 0x54]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 0x28
push eax
mov eax, dword [esp + 0x24]
push 1
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x74]
jle 0x4549a3
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
test eax, eax
jle 0x454977
add eax, ecx
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x30]
mov eax, ecx
sub eax, esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], eax
mov ecx, ebx
push 2
lea eax, [esp + 0x48]
push eax
mov eax, dword [ebx]
push 0
call dword [eax + 0x40]
push dword [eax + 0xa8]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebx]
lea esi, [esp + 0x44]
sub esp, 0x10
mov edi, esp
push ecx
movsd dword es:[edi], dword [esi]
push 0x80
push SysReAllocString
push ecx
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x40]
mov ebx, dword [esp + 0x40]
mov ecx, ebx
push dword [eax + 0xa8]
call fcn.00421085
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x4549e4
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x4549df
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047ecc2
mov esp, ebp
pop ebp
ret 4