Function at 0x411080
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ce11
mov eax, dword fs:[0]
push eax
sub esp, 0x634
mov eax, dword [0x48d06c]
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
mov dword [ebp - 0x624], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
test edx, edx
jne 0x4110c6
xor ecx, ecx
jmp 0x4110df
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4110d0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x290]
call fcn.00409090
mov ecx, dword [ebx + 0x290]
sub ecx, 0x10
call fcn.004094a0
lea esi, [eax + 0x10]
mov dword [ebp - 0x640], esi
push esi
push 0x4756d4
push 0x48dac0
mov dword [ebp - 4], 0
call fcn.00417de0
add esp, 0xc
cmp dword [esi - 0xc], 0
jl 0x411157
push 0x475558
push esi
call fcn.00423c86
add esp, 8
test eax, eax
je 0x411157
sub eax, esi
sar eax, 1
js 0x411157
push str.AnalyCmdLine_m_bIsSilenceTRUE
push 0x48dac0
call fcn.00417de0
add esp, 8
mov dword [ebx + 0x294], 1
push esi
lea ecx, [ebp - 0x63c]
call fcn.0040fa30
mov byte [ebp - 4], 1
call fcn.004014e0
mov ecx, eax
test ecx, ecx
je 0x4115a7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x62c], eax
lea eax, [ebp - 0x62c]
mov byte [ebp - 4], 2
push eax
push 0x475930
lea ecx, [ebp - 0x63c]
call fcn.0040fc80
test eax, eax
je 0x4111d4
mov eax, dword [ebp - 0x62c]
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x630], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4111b4
sub edx, dword [ebp - 0x630]
lea ecx, [ebx + 0x2a0]
sar edx, 1
push edx
push eax
call fcn.00407590
lea eax, [ebp - 0x62c]
push eax
push str.setupover
lea ecx, [ebp - 0x63c]
call fcn.0040fc80
test eax, eax
je 0x4111f9
mov dword [ebx + 0x298], 1
lea eax, [ebp - 0x62c]
push eax
push str.parent
lea ecx, [ebp - 0x63c]
call fcn.0040fc80
mov edi, dword [ebp - 0x62c]
test eax, eax
je 0x411284
lea ecx, [ebx + 0x2d0]
mov ebx, dword [ecx]
lea edx, [edi - 0x10]
sub ebx, 0x10
mov dword [ebp - 0x628], ecx
cmp edx, ebx
je 0x41127e
cmp dword [ebx + 0xc], 0
jl 0x411275
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x411275
mov ecx, edx
call fcn.004094a0
mov dword [ebp - 0x630], eax
lea edx, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411268
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x630]
mov ecx, dword [ebp - 0x628]
add eax, 0x10
mov dword [ecx], eax
jmp 0x41127e
push dword [edi - 0xc]
push edi
call fcn.00409090
mov ebx, dword [ebp - 0x624]
cmp dword [ebx + 0x2b0], 0
lea eax, [ebx + 0x2a0]
jne 0x41145c
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00424870
add esp, 0xc
lea eax, [ebp - 0x624]
push eax
push 1
push 0
push str.SoftwareTencentDeskGo
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4113c3
push 0x402
push eax
lea eax, [ebp - 0x620]
push eax
call fcn.00424870
add esp, 0xc
mov dword [ebp - 0x628], 0x200
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x620]
push eax
push 0
push 0
push 0x486f64
push dword [ebp - 0x624]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4113b7
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.0042cbf9
lea ecx, [ebp - 0x21c]
add esp, 0xc
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411340
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x21e], 0x5c
je 0x411373
push 0x486c90
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.0042cc5d
add esp, 0xc
push dword [ebp - 0x624]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411390
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebx + 0x2a0]
call fcn.00407590
jmp 0x411456
push dword [ebp - 0x624]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x20a
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.00424870
add esp, 0xc
lea eax, [ebp - 0x428]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x411444
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x428]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411407
sub ecx, edx
lea eax, [ebp - 0x428]
sar ecx, 1
push ecx
push eax
lea ecx, [ebx + 0x2a0]
call fcn.00407590
lea eax, [ebp - 0x428]
push eax
push str.GetModuleFileName_path_s
push 0x48dac0
call fcn.00417de0
add esp, 0xc
jmp 0x411456
push str.GetModuleFileName_error
push 0x48dac0
call fcn.00417de0
add esp, 8
lea eax, [ebx + 0x2a0]
cmp dword [eax + 0x14], 8
jb 0x411464
mov eax, dword [eax]
push eax
push str.Get_UninstallPath:__s
push 0x48dac0
call fcn.00417de0
push dword [ebx + 0x294]
push str.IsSilence:__d
push 0x48dac0
call fcn.00417de0
push dword [ebx + 0x298]
push str.SetupOver:__d
push 0x48dac0
call fcn.00417de0
push dword [ebx + 0x2d0]
push str.ParentFromCmdline:__s
push 0x48dac0
call fcn.00417de0
xor eax, eax
add esp, 0x30
cmp dword [ebx + 0x2b0], eax
mov byte [ebp - 4], 1
setne al
or ebx, 0xffffffff
mov dword [ebp - 0x628], eax
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4114e5
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x63c]
test ecx, ecx
je 0x411569
mov edx, dword [ebp - 0x638]
push ecx
call fcn.004158b0
mov ecx, dword [ebp - 0x634]
mov eax, 0x66666667
mov edi, dword [ebp - 0x63c]
add esp, 4
sub ecx, edi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
mov eax, edi
shl ecx, 2
cmp ecx, 0x1000
jb 0x411541
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4115b1
push ecx
push edi
call fcn.0042297a
add esp, 8
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x638], 0
mov dword [ebp - 0x634], 0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x411585
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x628]
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.00422308
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408740
call fcn.004309e5
int3