Function at 0x40a348
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x45a51e
call fcn.004485c4
sub esp, 0x7c
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov ebx, ecx
push esi
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], esi
call fcn.00439a40
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x5c]
push eax
push str.width
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 1
call fcn.0043ca60
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0043b790
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
call fcn.0043bff0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.0043bff0
push esi
lea ecx, [ebp - 0x5c]
call fcn.00439a40
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x5c]
push eax
push str.height
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 3
call fcn.0043ca60
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0043b790
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
call fcn.0043bff0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.0043bff0
mov edi, str.App::ActivatePageWindow_1223
push edi
call fcn.004468a0
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x18]
mov byte [ebp - 4], 5
push dword [ebp - 0x14]
push edi
push str.___s__w_d_h_d_
push esi
call fcn.00437bbc
mov edi, dword [ebp - 0x18]
add esp, 0x18
cmp edi, esi
jle 0x40a5c9
cmp dword [ebp - 0x14], esi
jle 0x40a5c9
lea eax, [ebp - 0x5c]
push eax
push dword [ebx + 0x14]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x40]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x58]
sub eax, dword [ebp - 0x5c]
add ecx, dword [ebp - 0x50]
add eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x14]
add ecx, edi
add eax, edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 8]
push 0x4675b8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
call fcn.0043d440
mov edi, eax
mov ecx, eax
call fcn.00439bc0
test al, al
je 0x40a512
mov ecx, edi
call fcn.0043abb0
cmp eax, 4
jne 0x40a512
push 3
mov ecx, edi
call fcn.0043cd70
mov ecx, eax
call fcn.0043b790
push 2
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.0043cd70
mov ecx, eax
call fcn.0043b790
push 1
mov ecx, edi
mov dword [ebp - 0x1c], eax
call fcn.0043cd70
mov ecx, eax
call fcn.0043b790
push esi
mov ecx, edi
mov dword [ebp - 0x20], eax
call fcn.0043cd70
mov ecx, eax
call fcn.0043b790
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
lea edi, [ebx + 0x48]
lea esi, [ebp - 0x6c]
movsd dword es:[edi], dword [esi]
push 2
push dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x28]
movsd dword es:[edi], dword [esi]
xor eax, eax
push eax
push eax
movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push eax
lea edi, [ebx + 0x14]
push dword [edi]
call esi
push 6
push dword [ebp - 0x18]
xor eax, eax
push dword [ebp - 0x14]
push eax
push eax
push eax
push dword [ebx + 0x68]
call esi
push 2
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push 0
push 0
push dword [ebx + 0x68]
push dword [ebx + 0x6c]
call esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebx + 0x68]
call esi
push 0
push dword [ebx + 0x6c]
call esi
push 0x585
push 0
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov eax, dword [ebx + 0x68]
push dword [edi]
mov dword [ebx + 0x6c], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x40a599
push edi
call fcn.00417d25
push dword [ebx + 0x6c]
call fcn.00430027
test eax, eax
pop ecx
je 0x40a5ac
push eax
call fcn.00430b72
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.0041836d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
push 1
call fcn.0041feb3
pop ecx
push 0x465cf2
lea ecx, [ebp - 0x4c]
call fcn.00418739
lea eax, [ebp - 0x4c]
push eax
push 2
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call fcn.0041875b
push edi
push dword [ebp - 0x14]
mov byte [ebp - 4], 7
push str.Bad_page_size:__d___d
push eax
call fcn.004180c3
add esp, 0x10
mov ecx, eax
call fcn.00418793
push str.App::ActivatePageWindow_1270
lea ecx, [ebp - 0x78]
call fcn.00418739
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x30]
push eax
call fcn.00418691
push 0
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 8
call fcn.00417a85
push esi
lea ecx, [ebp - 0x88]
call fcn.0041813e
push 0x470e4c
lea eax, [ebp - 0x88]
push eax
call fcn.004481a9
int3