Function at 0x4fa510
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59eca7
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x50]
call fcn.005734f0
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x5d90f0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004459d0
push 0
push 0
push 0x31
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0xbc], eax
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 2
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
push 4
call fcn.004c59e9
mov edi, eax
add esp, 4
mov dword [ebp - 0xb4], edi
lea eax, [ebp - 0xb0]
mov dword [edi], 0
push eax
mov dword [esi + 0xcc], edi
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [edi], eax
add dword [ebp - 0xa0], 0xc8
push 4
call fcn.004c59e9
mov edi, eax
add esp, 4
mov dword [ebp - 0xb4], edi
lea eax, [ebp - 0xb0]
mov dword [edi], 0
push eax
mov dword [esi + 0xd0], edi
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [edi], eax
lea eax, [ebp - 0xb8]
push eax
mov dword [ebp - 0xb8], 8
mov dword [ebp - 0xb4], 0x404
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov edx, dword [0x634bc0]
mov edi, dword [0x634bb8]
sub edx, edi
mov eax, dword [0x634bbc]
mov ecx, dword [0x634bb4]
sub eax, ecx
push 0
push dword [0x67efd4]
push 0
push dword [esi + 4]
push edx
push eax
push edi
push ecx
push SysReAllocStringLen
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push 1
push 0x401
push eax
mov dword [esi + 0x6c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x640
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esi + 0x70], eax
mov ecx, dword [esi + 0xd0]
push 1
push dword [ecx]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [esi + 0x70]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push dword [esi + 0x70]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 0x70]
mov edx, dword [esi + 0x68]
push ecx
mov eax, esp
push 0
push ecx
push str.amp_adv_update_group_label
mov ecx, edx
mov dword [eax], 0
call fcn.0054c490
push 0x685
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x674300
lea ecx, [ebp - 0x50]
mov dword [esi + 0x74], eax
call fcn.00443fb0
mov edx, eax
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4fa6f6
sub edx, edi
lea ecx, [ebp - 0x28]
sar edx, 1
push edx
push eax
call fcn.004459d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [esi + 0x74]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push dword [esi + 0x74]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [esi + 0x6c]
mov ecx, dword [esi + 0x68]
push 0
push dword [esi + 0x74]
push str.amp_adv_update_description_label
call fcn.0054c490
push 0x642
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x6742b8
lea ecx, [ebp - 0x50]
mov dword [esi + 0x78], eax
call fcn.00443fb0
mov edx, eax
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4fa767
sub edx, edi
lea ecx, [ebp - 0x28]
sar edx, 1
push edx
push eax
call fcn.004459d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [esi + 0x78]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push dword [esi + 0x78]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [esi + 0x6c]
mov ecx, dword [esi + 0x68]
push 0
push dword [esi + 0x78]
push str.amp_adv_update_status_label
call fcn.0054c490
push 0x648
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x6742a0
lea ecx, [ebp - 0x50]
mov dword [esi + 0xb8], eax
call fcn.00443fb0
mov edx, eax
lea edi, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4fa7e0
sub edx, edi
lea ecx, [ebp - 0x28]
sar edx, 1
push edx
push eax
call fcn.004459d0
mov eax, dword [esi + 0xd0]
push 1
push dword [eax]
push 0x30
push dword [esi + 0xb8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [esi + 0xb8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push dword [esi + 0xb8]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [esi + 0x6c]
mov ecx, dword [esi + 0x68]
push 0
push dword [esi + 0xb8]
push str.amp_adv_update_progress_status_label
call fcn.0054c490
push 0x63b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [esi + 0x7c]
call fcn.004463c0
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
push eax
push dword [esi + 0x80]
movups xmmword [ebp - 0x38], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x38]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x4fa89b
lea eax, [ebp - 0x30]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x6742d0
lea ecx, [ebp - 0x50]
call fcn.00443fb0
mov edx, eax
lea edi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4fa8b0
sub edx, edi
lea ecx, [ebp - 0x28]
sar edx, 1
push edx
push eax
call fcn.004459d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [esi + 0x6c]
mov ecx, dword [esi + 0x68]
push 1
push dword [esi + 0x80]
push str.amp_adv_update_btn
call fcn.0054c490
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
sub eax, edx
mov ecx, dword [ebp - 0x38]
push 1
push eax
mov eax, dword [ebp - 0x30]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea edi, [esi + 0xa0]
mov ecx, edi
mov dword [edi + 0xc], 0xa0
call fcn.00447cd0
mov eax, dword [esi + 0xb8]
mov ecx, edi
mov dword [edi + 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], eax
call fcn.00447cd0
push 0x644
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x640000
push 0
push 0x401
push eax
mov dword [esi + 0xc0], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x402
push dword [esi + 0xc0]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esi + 0xc0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xc0]
mov edx, dword [esi + 0x68]
push ecx
mov eax, esp
push 0xc
push ecx
push str.amp_adv_update_progress_bar
mov ecx, edx
mov dword [eax], 0
call fcn.0054c490
push 0x645
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 0x5dbea0
lea ecx, [ebp - 0x28]
mov dword [esi + 0xbc], eax
call fcn.004459d0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push dword [esi + 0xbc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push dword [esi + 0xbc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xbc]
mov edx, dword [esi + 0x68]
push ecx
mov eax, esp
push 0
push ecx
push str.amp_adv_update_progress_percent
mov ecx, edx
mov dword [eax], 0
call fcn.0054c490
push 0x688
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esi + 0xd0]
push 1
mov dword [esi + 0xc4], eax
push dword [ecx]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x6742e8
lea ecx, [ebp - 0x50]
call fcn.00443fb0
mov edx, eax
lea edi, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4faa70
sub edx, edi
lea ecx, [ebp - 0x28]
sar edx, 1
push edx
push eax
call fcn.004459d0
push 1
push 0x5dbde8
lea ecx, [ebp - 0x28]
call fcn.00447e80
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [esi + 0xc4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push dword [esi + 0xc4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 0xc4]
mov edx, dword [esi + 0x68]
push ecx
mov eax, esp
push 0
push ecx
push str.amp_adv_update_details_group_label
mov ecx, edx
mov dword [eax], 0
call fcn.0054c490
push 0x687
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esi + 0x68]
mov dword [esi + 0xc8], eax
push dword [esi + 0x6c]
push 0xf
push eax
push str.amp_adv_update_details_list
call fcn.0054c490
mov ecx, esi
call fcn.004fa0c0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4fab28
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.00446620
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.005734b0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret 0x10