Function at 0x10079f20
Capabilities:
Check for time delay via gettickcount
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c2f57
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x46c], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x474], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 0
xor eax, eax
mov dword [ebp - 0x37c], 0xf
mov dword [ebp - 0x2a0], eax
mov word [ebp - 0x29c], ax
mov dword [ebp - 0x380], eax
mov byte [ebp - 0x390], al
mov dword [ebp - 0x364], 0xf
mov dword [ebp - 0x368], eax
mov byte [ebp - 0x378], al
mov dword [ebp - 0x34c], 0xf
mov dword [ebp - 0x350], eax
mov byte [ebp - 0x360], al
mov dword [ebp - 0x2ec], 0xf
mov dword [ebp - 0x2f0], eax
mov byte [ebp - 0x300], al
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edx, [ebp - 0x47c]
mov dword [ebp - 0x478], 0
lea ecx, [ebp - 0x2a0]
call fcn.10087ad0
test al, al
jne 0x1007a06b
mov eax, dword [ebp - 0x47c]
lea edx, [ebp - 0x47c]
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x478], eax
call fcn.100878f0
test al, al
jne 0x1007a06b
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x2a0], 0x4d3c2b1a
push eax
lea ecx, [ebp - 0x47c]
mov word [ebp - 0x29c], 0x6f5e
call fcn.10087f30
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x360]
push eax
lea edx, [ebp - 0x378]
lea ecx, [ebp - 0x390]
call fcn.10087200
lea ecx, [ebp - 0x300]
mov byte [ebp - 0x462], al
call fcn.10078830
push 0x208
mov byte [ebp - 0x480], al
lea eax, [ebp - 0x298]
push 0
push eax
call fcn.1008dc90
add esp, 0x14
lea eax, [ebp - 0x298]
push eax
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
js 0x1007a117
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x298]
push str.TencentDeskUpdate_
push eax
call esi
lea eax, [ebp - 0x298]
push eax
call edi
test eax, eax
jne 0x1007a109
lea eax, [ebp - 0x298]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.GlobalMgr.db
lea eax, [ebp - 0x298]
push eax
call esi
mov esi, dword [ebp - 0x46c]
add esi, 4
mov ecx, esi
call fcn.10080150
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 7
cmp dword [edx + 0x14], 8
mov dword [edx + 0x10], 0
jb 0x1007a152
mov eax, dword [edx]
jmp 0x1007a154
mov eax, edx
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x298], cx
je 0x1007a184
lea ecx, [ebp - 0x298]
lea eax, [ecx + 2]
mov dword [ebp - 0x468], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007a171
sub ecx, dword [ebp - 0x468]
sar ecx, 1
push ecx
lea eax, [ebp - 0x298]
mov ecx, edx
push eax
call fcn.10001ddf
mov ecx, esi
call fcn.1007fec0
lea eax, [ebp - 0x47c]
mov ecx, esi
push eax
call fcn.100802b0
lea eax, [ebp - 0x48c]
mov ecx, esi
push eax
call fcn.10081100
lea eax, [ebp - 0x300]
mov ecx, esi
push eax
call fcn.10081880
mov al, byte [ebp - 0x462]
mov byte [esi + 0x84], al
lea eax, [esi + 0x1c]
mov byte [esi + 0x85], 0
cmp dword [eax + 0x14], 8
jb 0x1007a1e2
mov eax, dword [eax]
push eax
call edi
test eax, eax
jne 0x1007a1f0
mov ecx, esi
call fcn.10081c20
mov edi, dword [ebp - 0x46c]
add edi, 0x8c
mov ecx, edi
call fcn.10082a60
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 7
cmp dword [edx + 0x14], 8
mov dword [edx + 0x10], 0
jb 0x1007a22e
mov eax, dword [edx]
jmp 0x1007a230
mov eax, edx
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x298], cx
je 0x1007a263
lea ecx, [ebp - 0x298]
lea eax, [ecx + 2]
mov dword [ebp - 0x468], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007a250
sub ecx, dword [ebp - 0x468]
sar ecx, 1
push ecx
lea eax, [ebp - 0x298]
mov ecx, edx
push eax
call fcn.10001ddf
mov ecx, edi
call fcn.10082470
mov ecx, edi
call fcn.10082770
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xorps xmm0, xmm0
mov byte [ebp - 0x3a4], 0
lea eax, [ebp - 0x2d0]
mov byte [ebp - 0x90], 0
push eax
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 0x2e4], 0
movups xmmword [ebp - 0x3a3], xmm0
mov byte [ebp - 0x5c], 0
movups xmmword [ebp - 0x8f], xmm0
mov byte [ebp - 0x38], 0
movups xmmword [ebp - 0x2e3], xmm0
mov byte [ebp - 0x14], 0
movups xmmword [ebp - 0x7c], xmm0
movups xmmword [ebp - 0x6c], xmm0
movups xmmword [ebp - 0x58], xmm0
movups xmmword [ebp - 0x48], xmm0
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call fcn.100786f0
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push ecx
lea edx, [ebp - 0x3a4]
mov ecx, eax
call fcn.1007f940
mov eax, dword [ebp - 0x2bc]
add esp, 0xc
cmp eax, 0x10
jb 0x1007a34f
mov ecx, dword [ebp - 0x2d0]
inc eax
cmp eax, 0x1000
jb 0x1007a346
test cl, 0x1f
je 0x1007a322
call fcn.100906d1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1007a32e
call fcn.100906d1
sub ecx, eax
cmp ecx, 4
jae 0x1007a33a
call fcn.100906d1
cmp ecx, 0x23
jbe 0x1007a344
call fcn.100906d1
mov ecx, eax
push ecx
call fcn.1008a772
add esp, 4
cmp byte [ebp - 0x462], 0
je 0x1007a5ff
mov dword [ebp - 0x2a4], 0xf
mov dword [ebp - 0x2a8], 0
mov byte [ebp - 0x2b8], 0
push 0x100f7f3c
lea edx, [ebp - 0x2b8]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c0]
call fcn.100785e0
lea ecx, [ebp - 0x390]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x2d0]
call fcn.10072e90
push 0x100f7f3c
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x348]
call fcn.10072f30
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0x330]
call fcn.10072e90
push 0x100f7f3c
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x318]
call fcn.10072f30
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0xb
push ecx
mov edx, eax
lea ecx, [ebp - 0x3a8]
call fcn.10072e90
add esp, 0x18
mov edi, eax
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0xc
cmp eax, edi
je 0x1007a48f
mov eax, dword [ebp - 0x2a4]
cmp eax, 0x10
jb 0x1007a468
mov ecx, dword [ebp - 0x2b8]
inc eax
cmp eax, 0x1000
jb 0x1007a45f
test cl, 0x1f
je 0x1007a43b
call fcn.100906d1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1007a447
call fcn.100906d1
sub ecx, eax
cmp ecx, 4
jae 0x1007a453
call fcn.100906d1
cmp ecx, 0x23
jbe 0x1007a45d
call fcn.100906d1
mov ecx, eax
push ecx
call fcn.1008a772
add esp, 4
push edi
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2a4], 0xf
mov dword [ebp - 0x2a8], 0
mov byte [ebp - 0x2b8], 0
call fcn.10007941
mov eax, dword [ebp - 0x394]
cmp eax, 0x10
jb 0x1007a4ac
inc eax
push 1
push eax
push dword [ebp - 0x3a8]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x394], 0xf
mov dword [ebp - 0x398], 0
mov byte [ebp - 0x3a8], 0
cmp eax, 0x10
jb 0x1007a4e4
inc eax
push 1
push eax
push dword [ebp - 0x318]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x31c]
mov dword [ebp - 0x304], 0xf
mov dword [ebp - 0x308], 0
mov byte [ebp - 0x318], 0
cmp eax, 0x10
jb 0x1007a51c
inc eax
push 1
push eax
push dword [ebp - 0x330]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x31c], 0xf
mov dword [ebp - 0x320], 0
mov byte [ebp - 0x330], 0
cmp eax, 0x10
jb 0x1007a554
inc eax
push 1
push eax
push dword [ebp - 0x348]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x334], 0xf
mov dword [ebp - 0x338], 0
mov byte [ebp - 0x348], 0
cmp eax, 0x10
jb 0x1007a58c
inc eax
push 1
push eax
push dword [ebp - 0x2d0]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x3ac]
mov dword [ebp - 0x2bc], 0xf
mov dword [ebp - 0x2c0], 0
mov byte [ebp - 0x2d0], 0
cmp eax, 0x10
jb 0x1007a5c4
inc eax
push 1
push eax
push dword [ebp - 0x3c0]
call fcn.10001f08
add esp, 0xc
push ecx
lea eax, [ebp - 0x58]
push eax
push ecx
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x2b8]
call fcn.1007f940
mov byte [ebp - 4], 5
add esp, 0xc
mov eax, dword [ebp - 0x2a4]
cmp eax, 0x10
jb 0x1007a5ff
inc eax
push 1
push eax
push dword [ebp - 0x2b8]
call fcn.10001f08
add esp, 0xc
cmp byte [ebp - 0x480], 0
je 0x1007a622
push ecx
lea eax, [ebp - 0x34]
push eax
push ecx
lea edx, [ebp - 0x2e4]
lea ecx, [ebp - 0x300]
call fcn.1007f940
add esp, 0xc
mov edi, dword [ebp - 0x46c]
lea eax, [ebp - 0x45e]
push eax
push dword [ebp - 0x470]
lea eax, [ebp - 0x45d]
mov byte [ebp - 0x45d], 0
push eax
push dword [ebp - 0x480]
lea eax, [ebp - 0x34]
mov byte [ebp - 0x45e], 0
push dword [ebp - 0x462]
mov ecx, edi
push 1
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.10078cc0
test al, al
je 0x1007a67c
cmp byte [ebp - 0x45e], 0
jne 0x1007a90e
lea eax, [ebp - 0x2e8]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.100786f0
cmp byte [ebp - 0x462], 0
mov byte [ebp - 4], 0xd
je 0x1007a826
lea eax, [ebp - 0x390]
mov edx, 0x100f7f3c
push eax
lea ecx, [ebp - 0x3c0]
call fcn.100730f0
push 0x100f7f3c
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x318]
call fcn.10072f30
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 0xf
push ecx
mov edx, eax
lea ecx, [ebp - 0x330]
call fcn.10072e90
push 0x100f7f3c
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x348]
call fcn.10072f30
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0x11
push ecx
mov edx, eax
lea ecx, [ebp - 0x2d0]
call fcn.10072e90
add esp, 0x14
push eax
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0x12
call fcn.10043c30
mov eax, dword [ebp - 0x2bc]
cmp eax, 0x10
jb 0x1007a742
inc eax
push 1
push eax
push dword [ebp - 0x2d0]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x2bc], 0xf
mov dword [ebp - 0x2c0], 0
mov byte [ebp - 0x2d0], 0
cmp eax, 0x10
jb 0x1007a77a
inc eax
push 1
push eax
push dword [ebp - 0x348]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x31c]
mov dword [ebp - 0x334], 0xf
mov dword [ebp - 0x338], 0
mov byte [ebp - 0x348], 0
cmp eax, 0x10
jb 0x1007a7b2
inc eax
push 1
push eax
push dword [ebp - 0x330]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x31c], 0xf
mov dword [ebp - 0x320], 0
mov byte [ebp - 0x330], 0
cmp eax, 0x10
jb 0x1007a7ea
inc eax
push 1
push eax
push dword [ebp - 0x318]
call fcn.10001f08
add esp, 0xc
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x3ac]
mov dword [ebp - 0x304], 0xf
mov dword [ebp - 0x308], 0
mov byte [ebp - 0x318], 0
cmp eax, 0x10
jb 0x1007a826
inc eax
push 1
push eax
push dword [ebp - 0x3c0]
call fcn.10001f08
add esp, 0xc
cmp byte [ebp - 0x45d], 0
je 0x1007a876
lea eax, [ebp - 0x300]
mov edx, 0x100f7f3c
push eax
lea ecx, [ebp - 0x3c0]
call fcn.100730f0
add esp, 4
push eax
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0x13
call fcn.10043c30
mov eax, dword [ebp - 0x3ac]
cmp eax, 0x10
jb 0x1007a876
inc eax
push 1
push eax
push dword [ebp - 0x3c0]
call fcn.10001f08
add esp, 0xc
lea ecx, [ebp - 0x45c]
call fcn.1007db90
cmp dword [ebp - 0x2d4], 0x10
lea edx, [ebp - 0x2e8]
push dword [ebp - 0x2d8]
cmovae edx, dword [ebp - 0x2e8]
call fcn.1007dbd0
mov edx, dword [ebp - 0x470]
lea ecx, [ebp - 0x45c]
add esp, 4
call fcn.1007dcb0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2d4]
cmp eax, 0x10
jb 0x1007a8d5
push 1
inc eax
push eax
push dword [ebp - 0x2e8]
call fcn.10001f08
add esp, 0xc
push ecx
push dword [ebp - 0x470]
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.10078ed0
mov al, byte [ebp - 0x462]
mov ecx, esi
mov byte [esi + 0x84], al
mov al, byte [ebp - 0x45d]
mov byte [esi + 0x85], al
call fcn.10081c20
mov eax, dword [ebp - 0x2ec]
cmp eax, 0x10
jb 0x1007a92b
push 1
inc eax
push eax
push dword [ebp - 0x300]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x34c]
mov dword [ebp - 0x2ec], 0xf
mov dword [ebp - 0x2f0], 0
mov byte [ebp - 0x300], 0
cmp eax, 0x10
jb 0x1007a963
push 1
inc eax
push eax
push dword [ebp - 0x360]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x34c], 0xf
mov dword [ebp - 0x350], 0
mov byte [ebp - 0x360], 0
cmp eax, 0x10
jb 0x1007a99b
push 1
inc eax
push eax
push dword [ebp - 0x378]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x37c]
mov dword [ebp - 0x364], 0xf
mov dword [ebp - 0x368], 0
mov byte [ebp - 0x378], 0
cmp eax, 0x10
jb 0x1007a9d3
push 1
inc eax
push eax
push dword [ebp - 0x390]
call fcn.10001f08
add esp, 0xc
lea ecx, [ebp - 0x48c]
mov dword [ebp - 0x37c], 0xf
mov dword [ebp - 0x380], 0
mov byte [ebp - 0x390], 0
call fcn.1007aa80
lea ecx, [ebp - 0x47c]
call fcn.1007aa40
mov al, 1
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.1008a777
mov esp, ebp
pop ebp
ret 4