Function at 0x49e610
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x58d984]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 0x55c69c
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x5c], edi
call fcn.0044daf0
mov dword [esi + 0x25c], edi
lea ecx, [ebp - 0x24]
mov eax, dword [edi + 0x33c]
mov dword [esi + 0x260], eax
lea eax, [edi + 4]
mov ebx, dword [edi + 0x344]
mov esi, dword [edi + 0x348]
push ecx
mov ecx, eax
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x50], eax
call fcn.00476380
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
add eax, esi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
test ebx, ebx
jle 0x49e68f
lea ecx, [ebx + edx]
mov dword [ebp - 0xc], ecx
sub eax, dword [ebp - 0x10]
sub ecx, edx
mov dword [ebp - 0x54], ecx
xor esi, esi
mov ecx, dword [edi + 0x338]
xor ebx, ebx
add ecx, 4
mov dword [ebp - 0x58], eax
mov eax, dword [ecx]
call dword [eax + 0xd8]
test eax, eax
jle 0x49e70b
mov ecx, dword [edi + 0x338]
add ecx, 4
push ebx
mov eax, dword [ecx]
call dword [eax + 0xd0]
mov edi, eax
mov ecx, edi
mov edx, dword [edi]
mov edx, dword [edx + 0x10]
call edx
test al, al
je 0x49e6f2
mov eax, dword [ebp - 0x54]
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x58]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x70]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x68]
add esi, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x5c]
inc ebx
mov ecx, dword [edi + 0x338]
add ecx, 4
mov eax, dword [ecx]
call dword [eax + 0xd8]
cmp ebx, eax
jl 0x49e6b3
mov edi, dword [ebp - 0x60]
add esi, 2
mov ecx, esi
cmp esi, edi
jl 0x49e719
mov ecx, edi
mov eax, dword [ebp - 0x10]
add eax, ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push 2
push eax
push 0
call fcn.00476860
mov ecx, eax
call fcn.0044b430
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ebx, dword [ebp - 0x64]
xor eax, eax
mov dword [ebp - 0x48], eax
mov ecx, ebx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x4c]
push eax
push 1
mov dword [ebp - 0x4c], 0x28
call fcn.0044b430
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x2c]
jg 0x49e798
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x364], 0
je 0x49e7e1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x14], ecx
test eax, eax
jle 0x49e7b0
add eax, ecx
mov dword [ebp - 0xc], eax
cmp esi, edi
jl 0x49e7b6
mov esi, edi
mov ecx, dword [ebp - 0x20]
mov eax, ecx
sub eax, esi
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push 2
push eax
push 0
call fcn.00476860
mov ecx, eax
call fcn.0044b430
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x14]
push eax
push 0x80080
push SysReAllocStringLen
push 0
call fcn.00476860
mov ecx, eax
call fcn.0044b430
push eax
mov ecx, ebx
call fcn.0044afe0
mov esi, dword [ebx + 0xc]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x49e824
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x49e818
push 5
push dword [ebx + 0xc]
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 [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004eda39
mov esp, ebp
pop ebp
ret 4