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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c32f7
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.10087d50
test al, al
jne 0x1007a2eb
mov eax, dword [ebp - 0x47c]
lea edx, [ebp - 0x47c]
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x478], eax
call fcn.10087b70
test al, al
jne 0x1007a2eb
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x2a0], 0x4d3c2b1a
push eax
lea ecx, [ebp - 0x47c]
mov word [ebp - 0x29c], 0x6f5e
call fcn.100881b0
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x360]
push eax
lea edx, [ebp - 0x378]
lea ecx, [ebp - 0x390]
call fcn.10087480
lea ecx, [ebp - 0x300]
mov byte [ebp - 0x462], al
call fcn.10078ab0
push 0x208
mov byte [ebp - 0x480], al
lea eax, [ebp - 0x298]
push 0
push eax
call fcn.1008df10
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 0x1007a397
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 0x1007a389
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.100803d0
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 0x1007a3d2
mov eax, dword [edx]
jmp 0x1007a3d4
mov eax, edx
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x298], cx
je 0x1007a404
lea ecx, [ebp - 0x298]
lea eax, [ecx + 2]
mov dword [ebp - 0x468], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007a3f1
sub ecx, dword [ebp - 0x468]
sar ecx, 1
push ecx
lea eax, [ebp - 0x298]
mov ecx, edx
push eax
call fcn.10001dcf
mov ecx, esi
call fcn.10080140
lea eax, [ebp - 0x47c]
mov ecx, esi
push eax
call fcn.10080530
lea eax, [ebp - 0x48c]
mov ecx, esi
push eax
call fcn.10081380
lea eax, [ebp - 0x300]
mov ecx, esi
push eax
call fcn.10081b00
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 0x1007a462
mov eax, dword [eax]
push eax
call edi
test eax, eax
jne 0x1007a470
mov ecx, esi
call fcn.10081ea0
mov edi, dword [ebp - 0x46c]
add edi, 0x8c
mov ecx, edi
call fcn.10082ce0
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 0x1007a4ae
mov eax, dword [edx]
jmp 0x1007a4b0
mov eax, edx
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x298], cx
je 0x1007a4e3
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 0x1007a4d0
sub ecx, dword [ebp - 0x468]
sar ecx, 1
push ecx
lea eax, [ebp - 0x298]
mov ecx, edx
push eax
call fcn.10001dcf
mov ecx, edi
call fcn.100826f0
mov ecx, edi
call fcn.100829f0
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.10078970
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push ecx
lea edx, [ebp - 0x3a4]
mov ecx, eax
call fcn.1007fbc0
mov eax, dword [ebp - 0x2bc]
add esp, 0xc
cmp eax, 0x10
jb 0x1007a5cf
mov ecx, dword [ebp - 0x2d0]
inc eax
cmp eax, 0x1000
jb 0x1007a5c6
test cl, 0x1f
je 0x1007a5a2
call fcn.10090951
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1007a5ae
call fcn.10090951
sub ecx, eax
cmp ecx, 4
jae 0x1007a5ba
call fcn.10090951
cmp ecx, 0x23
jbe 0x1007a5c4
call fcn.10090951
mov ecx, eax
push ecx
call fcn.1008a9f2
add esp, 4
cmp byte [ebp - 0x462], 0
je 0x1007a87f
mov dword [ebp - 0x2a4], 0xf
mov dword [ebp - 0x2a8], 0
mov byte [ebp - 0x2b8], 0
push 0x100f881c
lea edx, [ebp - 0x2b8]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c0]
call fcn.10078860
lea ecx, [ebp - 0x390]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x2d0]
call fcn.10073110
push 0x100f881c
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x348]
call fcn.100731b0
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0x330]
call fcn.10073110
push 0x100f881c
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x318]
call fcn.100731b0
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0xb
push ecx
mov edx, eax
lea ecx, [ebp - 0x3a8]
call fcn.10073110
add esp, 0x18
mov edi, eax
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0xc
cmp eax, edi
je 0x1007a70f
mov eax, dword [ebp - 0x2a4]
cmp eax, 0x10
jb 0x1007a6e8
mov ecx, dword [ebp - 0x2b8]
inc eax
cmp eax, 0x1000
jb 0x1007a6df
test cl, 0x1f
je 0x1007a6bb
call fcn.10090951
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1007a6c7
call fcn.10090951
sub ecx, eax
cmp ecx, 4
jae 0x1007a6d3
call fcn.10090951
cmp ecx, 0x23
jbe 0x1007a6dd
call fcn.10090951
mov ecx, eax
push ecx
call fcn.1008a9f2
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.100078d1
mov eax, dword [ebp - 0x394]
cmp eax, 0x10
jb 0x1007a72c
inc eax
push 1
push eax
push dword [ebp - 0x3a8]
call fcn.10001ef8
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 0x1007a764
inc eax
push 1
push eax
push dword [ebp - 0x318]
call fcn.10001ef8
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 0x1007a79c
inc eax
push 1
push eax
push dword [ebp - 0x330]
call fcn.10001ef8
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 0x1007a7d4
inc eax
push 1
push eax
push dword [ebp - 0x348]
call fcn.10001ef8
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 0x1007a80c
inc eax
push 1
push eax
push dword [ebp - 0x2d0]
call fcn.10001ef8
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 0x1007a844
inc eax
push 1
push eax
push dword [ebp - 0x3c0]
call fcn.10001ef8
add esp, 0xc
push ecx
lea eax, [ebp - 0x58]
push eax
push ecx
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x2b8]
call fcn.1007fbc0
mov byte [ebp - 4], 5
add esp, 0xc
mov eax, dword [ebp - 0x2a4]
cmp eax, 0x10
jb 0x1007a87f
inc eax
push 1
push eax
push dword [ebp - 0x2b8]
call fcn.10001ef8
add esp, 0xc
cmp byte [ebp - 0x480], 0
je 0x1007a8a2
push ecx
lea eax, [ebp - 0x34]
push eax
push ecx
lea edx, [ebp - 0x2e4]
lea ecx, [ebp - 0x300]
call fcn.1007fbc0
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.10078f40
test al, al
je 0x1007a8fc
cmp byte [ebp - 0x45e], 0
jne 0x1007ab8e
lea eax, [ebp - 0x2e8]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.10078970
cmp byte [ebp - 0x462], 0
mov byte [ebp - 4], 0xd
je 0x1007aaa6
lea eax, [ebp - 0x390]
mov edx, 0x100f881c
push eax
lea ecx, [ebp - 0x3c0]
call fcn.10073370
push 0x100f881c
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x318]
call fcn.100731b0
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 0xf
push ecx
mov edx, eax
lea ecx, [ebp - 0x330]
call fcn.10073110
push 0x100f881c
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x348]
call fcn.100731b0
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0x11
push ecx
mov edx, eax
lea ecx, [ebp - 0x2d0]
call fcn.10073110
add esp, 0x14
push eax
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0x12
call fcn.10043f90
mov eax, dword [ebp - 0x2bc]
cmp eax, 0x10
jb 0x1007a9c2
inc eax
push 1
push eax
push dword [ebp - 0x2d0]
call fcn.10001ef8
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 0x1007a9fa
inc eax
push 1
push eax
push dword [ebp - 0x348]
call fcn.10001ef8
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 0x1007aa32
inc eax
push 1
push eax
push dword [ebp - 0x330]
call fcn.10001ef8
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 0x1007aa6a
inc eax
push 1
push eax
push dword [ebp - 0x318]
call fcn.10001ef8
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 0x1007aaa6
inc eax
push 1
push eax
push dword [ebp - 0x3c0]
call fcn.10001ef8
add esp, 0xc
cmp byte [ebp - 0x45d], 0
je 0x1007aaf6
lea eax, [ebp - 0x300]
mov edx, 0x100f881c
push eax
lea ecx, [ebp - 0x3c0]
call fcn.10073370
add esp, 4
push eax
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0x13
call fcn.10043f90
mov eax, dword [ebp - 0x3ac]
cmp eax, 0x10
jb 0x1007aaf6
inc eax
push 1
push eax
push dword [ebp - 0x3c0]
call fcn.10001ef8
add esp, 0xc
lea ecx, [ebp - 0x45c]
call fcn.1007de10
cmp dword [ebp - 0x2d4], 0x10
lea edx, [ebp - 0x2e8]
push dword [ebp - 0x2d8]
cmovae edx, dword [ebp - 0x2e8]
call fcn.1007de50
mov edx, dword [ebp - 0x470]
lea ecx, [ebp - 0x45c]
add esp, 4
call fcn.1007df30
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2d4]
cmp eax, 0x10
jb 0x1007ab55
push 1
inc eax
push eax
push dword [ebp - 0x2e8]
call fcn.10001ef8
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.10079150
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.10081ea0
mov eax, dword [ebp - 0x2ec]
cmp eax, 0x10
jb 0x1007abab
push 1
inc eax
push eax
push dword [ebp - 0x300]
call fcn.10001ef8
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 0x1007abe3
push 1
inc eax
push eax
push dword [ebp - 0x360]
call fcn.10001ef8
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 0x1007ac1b
push 1
inc eax
push eax
push dword [ebp - 0x378]
call fcn.10001ef8
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 0x1007ac53
push 1
inc eax
push eax
push dword [ebp - 0x390]
call fcn.10001ef8
add esp, 0xc
lea ecx, [ebp - 0x48c]
mov dword [ebp - 0x37c], 0xf
mov dword [ebp - 0x380], 0
mov byte [ebp - 0x390], 0
call fcn.1007ad00
lea ecx, [ebp - 0x47c]
call fcn.1007acc0
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.1008a9f7
mov esp, ebp
pop ebp
ret 4