Function at 0x440802
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
xor ebx, ebx
push ebx
mov edi, eax
push ebx
push ebx
lea eax, [edi + 0x24]
lea esi, [edi + 0x20]
push 0x3f1
mov ecx, esi
mov dword [ebp - 0x10], eax
call fcn.004782d6
test eax, eax
je 0x44088e
cmp dword [esi], ebx
jne 0x44088e
push ebx
push ebx
push ebx
lea eax, [edi + 0x28]
push 0x3fd
mov ecx, esi
call fcn.004782d6
test eax, eax
je 0x44088e
push ebx
push ebx
push ebx
lea eax, [edi + 0x2c]
push 0x401
mov ecx, esi
call fcn.004782d6
test eax, eax
je 0x44088e
push ebx
lea esi, [edi + 0x30]
push 0x44f
lea eax, [edi + 0x20]
call fcn.004527aa
push ebx
lea esi, [edi + 0x34]
push 0x450
lea eax, [edi + 0x20]
call fcn.004527aa
push ebx
lea esi, [edi + 0x38]
push 0x44e
lea eax, [edi + 0x20]
call fcn.004527aa
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x453
lea esi, [edi + 4]
push dword [esi]
lea eax, [edi + 0x6c]
mov dword [ebp - 8], eax
call ebx
mov ecx, dword [ebp - 8]
push 0x3f1
push dword [esi]
mov dword [ecx], eax
call ebx
push 0x3fd
push dword [esi]
mov dword [edi + 0x70], eax
call ebx
push 0x401
push dword [esi]
mov dword [edi + 0x74], eax
lea eax, [edi + 0x78]
mov dword [ebp - 0xc], eax
call ebx
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
lea eax, [edi + 0x70]
lea ebx, [edi + 0x3c]
push eax
call fcn.0044065f
cmp dword [edi + 0x20], 0
je 0x440a48
mov eax, dword [0x51b438]
push 0x7f3b
push dword [0x522618]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040386d
test eax, eax
je 0x440918
push dword [ebp - 0xc]
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_IsWindow]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44095e
mov eax, dword [ebp - 4]
cmp eax, dword [edi + 0x70]
je 0x44094b
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx]
je 0x44094b
push 0
push eax
call ebx
mov eax, dword [ebp - 4]
push 2
push eax
call dword [sym.imp.USER32.dll_GetWindow]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x440934
push 0x41c
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call ebx
lea eax, [ebp - 0x20]
push eax
push 0x3f1
mov eax, edi
call fcn.004405e8
push 0x14
xor ebx, ebx
push ebx
lea eax, [edi + 0x70]
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0xa
call fcn.00403dd0
lea eax, [ebp - 0x20]
push eax
push 0x3ea
mov eax, edi
call fcn.004405e8
push 0x14
push ebx
push dword [ebp - 8]
lea eax, [ebp - 0x20]
call fcn.00403dd0
push ebx
push 0x453
push 0x401
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x20]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x1c]
push 0xffffffffffffffec
push dword [esi]
mov dword [ebp - 0x14], eax
call edi
push eax
push ebx
push 0xfffffffffffffff0
push dword [esi]
call edi
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
push 0x16
push ebx
push esi
lea eax, [ebp - 0x20]
call fcn.00403dd0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [eax - 8], ebx
je 0x440a32
push ebx
push 0x503f1
push 0x111
push dword [esi]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x440a5f
push eax
call fcn.004013b2
jmp 0x440a5f
lea eax, [edi + 0x74]
lea ebx, [edi + 0x4c]
push eax
call fcn.0044065f
push dword [ebp - 0xc]
lea ebx, [edi + 0x5c]
call fcn.0044065f
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret