Function at 0x440bbe
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.00477e47
test eax, eax
je 0x440c4a
cmp dword [esi], ebx
jne 0x440c4a
push ebx
push ebx
push ebx
lea eax, [edi + 0x28]
push 0x3fd
mov ecx, esi
call fcn.00477e47
test eax, eax
je 0x440c4a
push ebx
push ebx
push ebx
lea eax, [edi + 0x2c]
push 0x401
mov ecx, esi
call fcn.00477e47
test eax, eax
je 0x440c4a
push ebx
lea esi, [edi + 0x30]
push 0x44f
lea eax, [edi + 0x20]
call fcn.00477f22
push ebx
lea esi, [edi + 0x34]
push 0x450
lea eax, [edi + 0x20]
call fcn.00477f22
push ebx
lea esi, [edi + 0x38]
push 0x44e
lea eax, [edi + 0x20]
call fcn.00477f22
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.00440a2b
cmp dword [edi + 0x20], 0
je 0x440e09
mov eax, dword [0x51a438]
push 0x7f3b
push dword [0x521618]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00403988
test eax, eax
je 0x440cd4
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 0x440d1a
mov eax, dword [ebp - 4]
cmp eax, dword [edi + 0x70]
je 0x440d07
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx]
je 0x440d07
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 0x440cf0
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.00440a01
push 0x14
xor ebx, ebx
push ebx
lea eax, [edi + 0x70]
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0xa
call fcn.00403ebb
lea eax, [ebp - 0x20]
push eax
push 0x3ea
mov eax, edi
call fcn.00440a01
push 0x14
push ebx
push dword [ebp - 8]
lea eax, [ebp - 0x20]
call fcn.00403ebb
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 0xfffffffffffffff0
push dword [esi]
mov dword [ebp - 0x14], eax
call edi
push 0xffffffffffffffec
push dword [esi]
mov dword [ebp - 8], eax
call edi
push eax
push ebx
push dword [ebp - 8]
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.00403ebb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [eax - 8], ebx
je 0x440df3
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 [0x51a43c]
je 0x440e20
push eax
call fcn.004013aa
jmp 0x440e20
lea eax, [edi + 0x74]
lea ebx, [edi + 0x4c]
push eax
call fcn.00440a2b
push dword [ebp - 0xc]
lea ebx, [edi + 0x5c]
call fcn.00440a2b
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret