Function at 0x4061f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e721
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x48200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx + 0xe16], 0
mov ecx, 0x1f5f
mov eax, 0xea94
mov byte [ebx + 0xc4], 1
cmovne eax, ecx
mov byte [ebx + 0xc6], 0
mov ecx, ebx
mov dword [ebx + 0xdc], eax
call fcn.00404520
lea eax, [ebp - 0x22c]
push eax
push dword [ebx + 0x54]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0xa0
call fcn.0041e68d
mov ecx, eax
mov dword [ebp - 0x234], ecx
sub esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x224]
add eax, 0xffffffd8
push 0x12
push 0x26
push 3
push eax
push 0x4712bc
call fcn.00401e70
mov dword [ebp - 4], 0xffffffff
lea edi, [ebx + 0xd0]
mov dword [ebx + 0xfc], eax
mov dword [eax + 0x58], 0xea66
mov eax, dword [ebx + 0xfc]
mov dword [eax + 0x38], 3
mov eax, dword [ebx + 0xfc]
mov dword [eax + 0x98], 0x406860
mov eax, dword [edi + 4]
mov ecx, dword [ebx + 0xfc]
mov dword [ebp - 0x230], ecx
cmp dword [edi + 8], eax
je 0x4062e8
mov dword [eax], ecx
add dword [edi + 4], 4
jmp 0x4062f7
lea ecx, [ebp - 0x230]
push ecx
push eax
mov ecx, edi
call fcn.00407620
push 0x94
call fcn.0041e68d
mov esi, eax
add esp, 4
mov dword [ebp - 0x234], esi
mov dword [ebp - 4], 1
mov ecx, esi
mov eax, dword [ebx + 0x18]
sub eax, 0x30
mov dword [ebp - 0x238], eax
call fcn.004018e0
mov byte [ebp - 4], 2
mov dword [esi], vtable.CNsCheckBox.0
call fcn.00407ef0
mov ecx, eax
test ecx, ecx
je 0x4067a3
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4067ad
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
lea ecx, [esi + 0x88]
mov dword [ecx], eax
mov byte [ebp - 4], 3
push 6
push 0x470fcc
mov byte [esi + 0x84], 0
mov dword [esi + 0x54], 0xea84
mov byte [esi + 0x8c], 0
call fcn.00407100
mov eax, dword [ebp - 0x238]
lea ecx, [esi + 0x70]
push 8
push str.checkbox
mov dword [esi + 0xc], 0x1c
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0x96
mov dword [esi + 0x18], 0x14
mov dword [esi + 0x64], 2
mov dword [esi + 0x58], 1
call fcn.00407100
mov dword [esi + 0x2c], 0
call sym.Uninstall_adv.exe_public:_static_class_CNsFont____cdecl_CNsFont::Instance_void_
mov ecx, eax
call sym.Uninstall_adv.exe_public:_int___thiscall_CNsFont::isSupportYaHei_void_
neg eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x230], esi
sbb eax, eax
and eax, 0xfffffffe
add eax, 2
mov dword [esi + 0x90], eax
mov dword [ebx + 0x10c], esi
mov eax, dword [edi + 4]
cmp dword [edi + 8], eax
je 0x406407
mov dword [eax], esi
add dword [edi + 4], 4
jmp 0x406416
lea ecx, [ebp - 0x230]
push ecx
push eax
mov ecx, edi
call fcn.00407620
mov edx, dword [ebx + 0x15e4]
test edx, edx
mov esi, dword [ebx + 0x10c]
setne al
neg edx
sbb edx, edx
push dword [esi + 0x2c]
and edx, 3
mov byte [esi + 0x8c], al
mov dword [esi + 0x5c], edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40644d
push 1
mov ecx, esi
call fcn.004016b0
push 0xa0
call fcn.0041e68d
mov ecx, eax
mov dword [ebp - 0x234], ecx
sub esp, 0xc
mov dword [ebp - 4], 4
mov eax, dword [ebx + 0x18]
sub eax, 0x34
push 0x1c
push 0x50
push eax
mov eax, dword [ebx + 0x14]
sub eax, 0xeb
push eax
push 0x470fdc
call fcn.00401e70
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x104], eax
mov dword [eax + 0x98], 0x406860
mov eax, dword [edi + 4]
mov ecx, dword [ebx + 0x104]
mov dword [ebp - 0x230], ecx
cmp dword [edi + 8], eax
je 0x4064ba
mov dword [eax], ecx
add dword [edi + 4], 4
jmp 0x4064c9
lea ecx, [ebp - 0x230]
push ecx
push eax
mov ecx, edi
call fcn.00407620
push 0xa0
call fcn.0041e68d
mov ecx, eax
mov dword [ebp - 0x234], ecx
sub esp, 0xc
mov dword [ebp - 4], 5
mov eax, dword [ebx + 0x18]
sub eax, 0x34
push 0x1c
push 0x50
push eax
mov eax, dword [ebx + 0x14]
sub eax, 0x87
push eax
push 0x470fe8
call fcn.00401e70
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x100], eax
mov dword [eax + 0x98], 0x4068c0
mov eax, dword [edi + 4]
mov ecx, dword [ebx + 0x100]
mov dword [ebp - 0x230], ecx
cmp dword [edi + 8], eax
je 0x406536
mov dword [eax], ecx
add dword [edi + 4], 4
jmp 0x406545
lea ecx, [ebp - 0x230]
push ecx
push eax
mov ecx, edi
call fcn.00407620
push 0x60
call fcn.0041e68d
mov esi, eax
add esp, 4
mov dword [ebp - 0x234], esi
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x230]
mov eax, dword [ebx + 0x14]
sub eax, 0x14
mov dword [ebp - 0x238], eax
mov eax, dword [ebx + 0x18]
sub eax, 0x3a
push 0x470ff4
mov dword [ebp - 0x23c], eax
call fcn.00406d40
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00401300
mov byte [ebp - 4], 8
mov dword [esi], vtable.CNsText.0
call fcn.00407ef0
mov ecx, eax
test ecx, ecx
je 0x4067b4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4067be
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
mov dword [esi + 0x54], eax
push 1
push 0x28
mov byte [ebp - 4], 9
push dword [ebp - 0x238]
push dword [ebp - 0x23c]
push 0xa
push ecx
mov ecx, dword [ebp - 0x230]
mov esi, esp
mov dword [ebp - 0x23c], esi
lea ecx, [ecx - 0x10]
call fcn.00407080
add eax, 0x10
mov dword [esi], eax
mov esi, dword [ebp - 0x234]
mov ecx, esi
call fcn.00402880
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov edx, dword [ebp - 0x230]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40664d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x23c], edi
lea edi, [ebx + 0xd0]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4067c5
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 0xe20]
mov dword [ebx + 0x108], esi
mov dword [esi + 0x24], eax
mov eax, dword [ebx + 0x108]
mov dword [eax + 0x28], 0x226d11
mov eax, dword [ebx + 0x108]
mov byte [eax + 0x31], 0
mov eax, dword [edi + 4]
mov ecx, dword [ebx + 0x108]
mov dword [ebp - 0x234], ecx
cmp dword [edi + 8], eax
je 0x406696
mov dword [eax], ecx
add dword [edi + 4], 4
jmp 0x4066a5
lea ecx, [ebp - 0x234]
push ecx
push eax
mov ecx, edi
call fcn.00407620
push str.Hofo_Uninstall_adv
push 0x471024
push 0x471030
call sym.Uninstall_adv.exe_void___cdecl_DoReport_wchar_t_const___wchar_t_const___wchar_t_const__
push 0x4710a0
push 0x1f5d
call sym.Uninstall_adv.exe_int___cdecl_NsResSize_int__wchar_t_const__
add esp, 0x14
test eax, eax
jle 0x4066db
mov byte [0x4849dc], 1
jmp 0x406787
push str.http:__jssetup.com_update_uninstall_data.zip
lea ecx, [ebp - 0x238]
mov byte [0x4849dc], 0
call fcn.00406d40
push 0x20a
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0xa
push 0
push eax
call fcn.0041fb70
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x21c]
push eax
call sym.Uninstall_adv.exe_public:_static_class_CNsUpdate____cdecl_CNsUpdate::Instance_void_
mov ecx, eax
call sym.Uninstall_adv.exe_public:_void___thiscall_CNsUpdate::SetPath_wchar_t_const__
push 0
push 0x405de0
push dword [ebp - 0x238]
call sym.Uninstall_adv.exe_public:_static_class_CNsUpdate____cdecl_CNsUpdate::Instance_void_
mov ecx, eax
call sym.Uninstall_adv.exe_public:_void___thiscall_CNsUpdate::StartUpdate_wchar_t_const___void____stdcall___int__int__int___void____stdcall___int__wchar_t_const___long_long___int64___long_long___int64___double__
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [ebp - 0x238]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x406787
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4067d0
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e140
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00407fc0
call edx
jmp 0x406356
push 0x80004005
call fcn.00407fc0
call edx
jmp 0x4065c1
call dword [ebp - 0x23c]
jmp 0x40664d
mov ecx, edx
call esi
jmp 0x406787