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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3907
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x1010c070]
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.10088260
test al, al
jne 0x1007a7fb
mov eax, dword [ebp - 0x47c]
lea edx, [ebp - 0x47c]
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x478], eax
call fcn.10088080
test al, al
jne 0x1007a7fb
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x2a0], 0x4d3c2b1a
push eax
lea ecx, [ebp - 0x47c]
mov word [ebp - 0x29c], 0x6f5e
call fcn.100886c0
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x360]
push eax
lea edx, [ebp - 0x378]
lea ecx, [ebp - 0x390]
call fcn.10087990
lea ecx, [ebp - 0x300]
mov byte [ebp - 0x462], al
call fcn.10078fc0
push 0x208
mov byte [ebp - 0x480], al
lea eax, [ebp - 0x298]
push 0
push eax
call fcn.1008e420
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 0x1007a8a7
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 0x1007a899
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.100808e0
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 0x1007a8e2
mov eax, dword [edx]
jmp 0x1007a8e4
mov eax, edx
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x298], cx
je 0x1007a914
lea ecx, [ebp - 0x298]
lea eax, [ecx + 2]
mov dword [ebp - 0x468], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007a901
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.10080650
lea eax, [ebp - 0x47c]
mov ecx, esi
push eax
call fcn.10080a40
lea eax, [ebp - 0x48c]
mov ecx, esi
push eax
call fcn.10081890
lea eax, [ebp - 0x300]
mov ecx, esi
push eax
call fcn.10082010
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 0x1007a972
mov eax, dword [eax]
push eax
call edi
test eax, eax
jne 0x1007a980
mov ecx, esi
call fcn.100823b0
mov edi, dword [ebp - 0x46c]
add edi, 0x8c
mov ecx, edi
call fcn.100831f0
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 0x1007a9be
mov eax, dword [edx]
jmp 0x1007a9c0
mov eax, edx
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x298], cx
je 0x1007a9f3
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 0x1007a9e0
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.10082c00
mov ecx, edi
call fcn.10082f00
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.10078e80
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push ecx
lea edx, [ebp - 0x3a4]
mov ecx, eax
call fcn.100800d0
mov eax, dword [ebp - 0x2bc]
add esp, 0xc
cmp eax, 0x10
jb 0x1007aadf
mov ecx, dword [ebp - 0x2d0]
inc eax
cmp eax, 0x1000
jb 0x1007aad6
test cl, 0x1f
je 0x1007aab2
call fcn.10090e61
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1007aabe
call fcn.10090e61
sub ecx, eax
cmp ecx, 4
jae 0x1007aaca
call fcn.10090e61
cmp ecx, 0x23
jbe 0x1007aad4
call fcn.10090e61
mov ecx, eax
push ecx
call fcn.1008aee5
add esp, 4
cmp byte [ebp - 0x462], 0
je 0x1007ad8f
mov dword [ebp - 0x2a4], 0xf
mov dword [ebp - 0x2a8], 0
mov byte [ebp - 0x2b8], 0
push 0x100f9878
lea edx, [ebp - 0x2b8]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c0]
call fcn.10078d70
lea ecx, [ebp - 0x390]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x2d0]
call fcn.10073620
push 0x100f9878
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x348]
call fcn.100736c0
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0x330]
call fcn.10073620
push 0x100f9878
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x318]
call fcn.100736c0
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0xb
push ecx
mov edx, eax
lea ecx, [ebp - 0x3a8]
call fcn.10073620
add esp, 0x18
mov edi, eax
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0xc
cmp eax, edi
je 0x1007ac1f
mov eax, dword [ebp - 0x2a4]
cmp eax, 0x10
jb 0x1007abf8
mov ecx, dword [ebp - 0x2b8]
inc eax
cmp eax, 0x1000
jb 0x1007abef
test cl, 0x1f
je 0x1007abcb
call fcn.10090e61
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1007abd7
call fcn.10090e61
sub ecx, eax
cmp ecx, 4
jae 0x1007abe3
call fcn.10090e61
cmp ecx, 0x23
jbe 0x1007abed
call fcn.10090e61
mov ecx, eax
push ecx
call fcn.1008aee5
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.10007921
mov eax, dword [ebp - 0x394]
cmp eax, 0x10
jb 0x1007ac3c
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 0x1007ac74
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 0x1007acac
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 0x1007ace4
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 0x1007ad1c
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 0x1007ad54
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.100800d0
mov byte [ebp - 4], 5
add esp, 0xc
mov eax, dword [ebp - 0x2a4]
cmp eax, 0x10
jb 0x1007ad8f
inc eax
push 1
push eax
push dword [ebp - 0x2b8]
call fcn.10001ef8
add esp, 0xc
cmp byte [ebp - 0x480], 0
je 0x1007adb2
push ecx
lea eax, [ebp - 0x34]
push eax
push ecx
lea edx, [ebp - 0x2e4]
lea ecx, [ebp - 0x300]
call fcn.100800d0
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.10079450
test al, al
je 0x1007ae0c
cmp byte [ebp - 0x45e], 0
jne 0x1007b09e
lea eax, [ebp - 0x2e8]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.10078e80
cmp byte [ebp - 0x462], 0
mov byte [ebp - 4], 0xd
je 0x1007afb6
lea eax, [ebp - 0x390]
mov edx, 0x100f9878
push eax
lea ecx, [ebp - 0x3c0]
call fcn.10073880
push 0x100f9878
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x318]
call fcn.100736c0
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 0xf
push ecx
mov edx, eax
lea ecx, [ebp - 0x330]
call fcn.10073620
push 0x100f9878
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x348]
call fcn.100736c0
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0x11
push ecx
mov edx, eax
lea ecx, [ebp - 0x2d0]
call fcn.10073620
add esp, 0x14
push eax
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0x12
call fcn.100444a0
mov eax, dword [ebp - 0x2bc]
cmp eax, 0x10
jb 0x1007aed2
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 0x1007af0a
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 0x1007af42
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 0x1007af7a
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 0x1007afb6
inc eax
push 1
push eax
push dword [ebp - 0x3c0]
call fcn.10001ef8
add esp, 0xc
cmp byte [ebp - 0x45d], 0
je 0x1007b006
lea eax, [ebp - 0x300]
mov edx, 0x100f9878
push eax
lea ecx, [ebp - 0x3c0]
call fcn.10073880
add esp, 4
push eax
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0x13
call fcn.100444a0
mov eax, dword [ebp - 0x3ac]
cmp eax, 0x10
jb 0x1007b006
inc eax
push 1
push eax
push dword [ebp - 0x3c0]
call fcn.10001ef8
add esp, 0xc
lea ecx, [ebp - 0x45c]
call fcn.1007e320
cmp dword [ebp - 0x2d4], 0x10
lea edx, [ebp - 0x2e8]
push dword [ebp - 0x2d8]
cmovae edx, dword [ebp - 0x2e8]
call fcn.1007e360
mov edx, dword [ebp - 0x470]
lea ecx, [ebp - 0x45c]
add esp, 4
call fcn.1007e440
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2d4]
cmp eax, 0x10
jb 0x1007b065
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.10079660
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.100823b0
mov eax, dword [ebp - 0x2ec]
cmp eax, 0x10
jb 0x1007b0bb
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 0x1007b0f3
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 0x1007b12b
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 0x1007b163
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.1007b210
lea ecx, [ebp - 0x47c]
call fcn.1007b1d0
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.1008aeea
mov esp, ebp
pop ebp
ret 4