Function at 0x4603f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x56800c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
mov ebx, ecx
mov edi, edx
push 0
mov dword [ebp - 0x74], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0xc80000
mov ecx, str.Document_Properties
call fcn.00489000
push eax
push 0x4efe04
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
jne 0x460466
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bcb15
mov esp, ebp
pop ebp
ret
mov eax, dword [0x56c02c]
mov dword [edi + 0x54], esi
mov dword [edi + 0x58], ebx
cmp eax, 2
je 0x460489
cmp eax, 0x17
je 0x460489
cmp eax, 0x1f
je 0x460489
cmp eax, 0x27
je 0x460489
xor ebx, ebx
jmp 0x46048e
mov ebx, 1
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
test bl, bl
je 0x4604a5
or ecx, 0x500000
jmp 0x4604ab
and ecx, 0xffafffff
cmp ecx, eax
je 0x4604b9
push ecx
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x84], 0
push eax
push esi
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
call dword [sym.imp.USER32.dll_BeginPaint]
lea ecx, [ebp - 0x84]
mov edx, eax
push ecx
mov ecx, edi
call fcn.004601f0
add esp, 4
lea eax, [ebp - 0x58]
push eax
push esi
call dword [sym.imp.USER32.dll_EndPaint]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x70], 0
push eax
push esi
mov dword [ebp - 0x6c], 0
xor ebx, ebx
xor edi, edi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x460538
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
sub ebx, eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x10]
sub edi, eax
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x64], 0
push eax
push esi
mov dword [ebp - 0x68], 0
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x460567
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x5c], 0
push eax
push dword [ebp - 0x74]
mov dword [ebp - 0x60], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x46059e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
sub eax, ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 8]
sub eax, edx
mov dword [ebp - 0x60], eax
jmp 0x4605a2
xor ecx, ecx
xor edx, edx
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x60]
mov dword [eax + 0xc], ecx
lea ecx, [ebp - 0x14]
call fcn.004173d0
sub ebx, dword [ebp - 0x64]
add esp, 0x10
add ebx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xc]
cmp ecx, ebx
jl 0x4605d2
mov ecx, ebx
sub edi, dword [ebp - 0x68]
add edi, dword [ebp - 0x78]
mov eax, dword [ebp - 8]
cmp eax, edi
jl 0x4605e1
mov eax, edi
push 0
push eax
push ecx
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [ebp - 0x74]
mov ecx, esi
call fcn.004178f0
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bcb15
mov esp, ebp
pop ebp
ret