Function at 0x41e0d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x2724]
push esi
push edi
test eax, eax
je 0x41e111
cmp byte [ebx + 0x2728], 0
je 0x41e111
mov ecx, dword [eax + 4]
push 0x43
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx + 0x25fc]
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41e12f
mov edx, dword [eax + 4]
push edx
call esi
test eax, eax
jne 0x41e6be
mov eax, dword [ebx + 0x2604]
test eax, eax
je 0x41e147
mov eax, dword [eax + 4]
push eax
call esi
test eax, eax
jne 0x41e6be
mov eax, dword [ebx + 0x2608]
test eax, eax
je 0x41e15f
mov ecx, dword [eax + 4]
push ecx
call esi
test eax, eax
jne 0x41e6be
mov eax, dword [ebx + 0x2600]
test eax, eax
je 0x41e177
mov edx, dword [eax + 4]
push edx
call esi
test eax, eax
jne 0x41e6be
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
lea ecx, [ecx]
push 0
push str.UIDlgPopup
call esi
test eax, eax
jne 0x41e6be
cmp dword [ebx + 0x265c], eax
jne 0x41e180
lea ecx, [ebx + 0x14]
push str.homepage
mov dword [ebp - 0x40], ecx
call dword [sym.imp.HFUILib.dll_public:_class_CControlUI____thiscall_CPaintManagerUI::FindControl1_wchar_t_const__]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x41e6be
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
cmp eax, 0x400
jl 0x41e206
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x14]
cmp edx, 0x2d8
jl 0x41e206
cmp dword [ebx + 0x2658], 0
jne 0x41e206
push eax
push str.cwidth
call fcn.00465fe0
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push str.cheight
call fcn.00465fe0
add esp, 0x10
cmp dword [ebx + 0x2688], 0
je 0x41e2bb
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add ecx, 0xffffffec
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebx + 4]
push eax
add edx, 0xffffffec
push ecx
mov dword [ebp - 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push 0x14
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0xc]
push 0x14
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebx + 0x2688]
mov edx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edi
mov dword [eax + 0x48], esi
cmp dword [ebx + 0x2658], 0
jne 0x41e297
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x2688]
push ecx
push edx
push 1
call fcn.00442a70
jmp 0x41e2bb
mov edi, dword [ebx + 0x2688]
mov eax, dword [edi + 4]
push 0x291
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
call fcn.00442ae0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov edx, dword [edx + 0x9c]
lea eax, [ebp - 0x28]
push eax
call edx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
sub edi, edx
add eax, 4
add ecx, 0xffffffe2
sub edi, 3
cmp dword [ebp - 0x3c], 0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
je 0x41e558
xor esi, esi
cmp dword [ebx + 0x2658], esi
je 0x41e344
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebx + 0x2714], edi
mov dword [ebx + 0x2718], eax
mov dword [ebx + 0x271c], edx
mov dword [ebx + 0x2720], ecx
call esi
push 1
mov edi, eax
call esi
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
or esi, 0xffffffff
cmp byte [ebp + 0x10], 0
je 0x41e3d8
cmp dword [ebp + 0xc], 1
jne 0x41e370
cmp dword [ebx + 0x2658], 0
jne 0x41e370
push 0x44
add eax, 0xffffffe2
push eax
push edi
add ecx, 0x1e
push ecx
mov ecx, dword [ebp - 0x3c]
push edx
push esi
push ecx
jmp 0x41e37b
push 0x44
push eax
push edi
push ecx
push edx
mov edx, dword [ebp - 0x3c]
push esi
push edx
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
call esi
cmp dword [ebx + 0x2658], 0
je 0x41e3c0
cmp dword [ebx + 0x2638], 0
je 0x41e41a
push 0x10
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebx + 0x2638]
push 0x51
cdq
push 0
sub eax, edx
push 0
sar eax, 1
push 0
sub eax, 0x34
push eax
mov eax, dword [ecx + 4]
push 0xffffffffffffffff
push eax
jmp 0x41e418
mov eax, dword [ebx + 0x2638]
test eax, eax
je 0x41e41a
mov ecx, dword [eax + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41e41a
cmp dword [ebx + 0x2658], 0
je 0x41e3ee
push 0x50
push eax
push edi
push ecx
push edx
mov edx, dword [ebp - 0x3c]
push esi
push edx
jmp 0x41e412
cmp dword [ebp + 0xc], 1
push 0x44
jne 0x41e408
add eax, 0xffffffe2
push eax
mov eax, dword [ebp - 0x3c]
push edi
add ecx, 0x1e
push ecx
push edx
push 0
push eax
jmp 0x41e412
push eax
push edi
push ecx
mov ecx, dword [ebp - 0x3c]
push edx
push 0
push ecx
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
call esi
mov eax, dword [ebx + 0x235c]
cmp dword [ebp - 0x3c], eax
je 0x41e452
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41e452
mov edx, dword [ebx + 0x235c]
push 0x93
push 0
push 0
push 0
push 0
push 0
push edx
call esi
mov dword [ebx + 0x2504], 0
mov ecx, dword [ebx + 0x232c]
mov eax, dword [ecx]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
cmp eax, ecx
je 0x41e4b7
mov eax, dword [eax + 0x28]
test eax, eax
je 0x41e4a4
cmp dword [eax + 0x3c], 0
je 0x41e4a4
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41e4a4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
mov esi, dword [edx + 0x28]
mov ecx, edi
call fcn.00416640
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0x28]
push 1
push 0
lea eax, [ebp - 0x20]
call fcn.00417c50
mov esi, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
call fcn.0043e430
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebx + 0x232c]
jne 0x41e464
cmp dword [ebp + 0xc], 1
jne 0x41e6be
cmp dword [ebx + 0x2658], 0
jne 0x41e6be
mov edi, dword [sym.imp.HFUILib.dll_public:_class_CControlUI____thiscall_CPaintManagerUI::FindControl1_wchar_t_const__]
push str.full
mov ecx, esi
call edi
test eax, eax
je 0x41e4ef
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x88]
push 1
call eax
push str.accl
mov ecx, esi
call edi
test eax, eax
je 0x41e50a
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x88]
push 1
call eax
push str.desktop
mov ecx, esi
call edi
test eax, eax
je 0x41e525
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x88]
push 1
call eax
push 0x4b184c
mov ecx, esi
call edi
test eax, eax
je 0x41e540
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x88]
push 1
call eax
push str.refresh
mov ecx, esi
call edi
test eax, eax
je 0x41e6be
push 1
jmp 0x41e6b2
cmp dword [ebx + 0x2658], 0
jne 0x41e5c5
test eax, eax
jle 0x41e5c5
test edi, edi
jle 0x41e5c5
mov ecx, dword [ebx + 0x232c]
mov eax, dword [ecx]
mov dword [ebp - 0x3c], eax
cmp eax, ecx
je 0x41e5c5
mov esi, dword [ebp - 0x40]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x41e5b0
call fcn.00418d40
test eax, eax
je 0x41e5b0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
mov esi, dword [edx + 0x28]
mov ecx, edi
call fcn.00416640
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0x28]
push 1
push 1
lea eax, [ebp - 0x20]
call fcn.00417c50
mov esi, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
call fcn.0043e430
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebx + 0x232c]
jne 0x41e57b
jmp 0x41e5c8
mov esi, dword [ebp - 0x40]
mov eax, dword [ebx + 0x235c]
test eax, eax
je 0x41e5e8
push 0x4093
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [ebp + 0xc], 1
jne 0x41e5fb
cmp dword [ebx + 0x2658], 0
je 0x41e4ce
mov edi, dword [sym.imp.HFUILib.dll_public:_class_CControlUI____thiscall_CPaintManagerUI::FindControl1_wchar_t_const__]
push str.full
mov ecx, esi
call edi
test eax, eax
je 0x41e61c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x88]
push 0
call eax
push str.bonus
mov ecx, esi
call edi
test eax, eax
je 0x41e637
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x88]
push 0
call eax
push str.accl
mov ecx, esi
call edi
test eax, eax
je 0x41e652
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x88]
push 0
call eax
push str.desktop
mov ecx, esi
call edi
test eax, eax
je 0x41e66d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x88]
push 0
call eax
push 0x4b184c
mov ecx, esi
call edi
test eax, eax
je 0x41e688
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x88]
push 0
call eax
push str.refresh
mov ecx, esi
call edi
test eax, eax
je 0x41e6a3
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x88]
push 0
call eax
push str.boss
mov ecx, esi
call edi
test eax, eax
je 0x41e6be
push 0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x88]
call eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.00497792
mov esp, ebp
pop ebp
ret 0xc