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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4657
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x1010e070]
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.10088ea0
test al, al
jne 0x1007b43b
mov eax, dword [ebp - 0x47c]
lea edx, [ebp - 0x47c]
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x478], eax
call fcn.10088cc0
test al, al
jne 0x1007b43b
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x2a0], 0x4d3c2b1a
push eax
lea ecx, [ebp - 0x47c]
mov word [ebp - 0x29c], 0x6f5e
call fcn.10089300
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x360]
push eax
lea edx, [ebp - 0x378]
lea ecx, [ebp - 0x390]
call fcn.100885d0
lea ecx, [ebp - 0x300]
mov byte [ebp - 0x462], al
call fcn.10079c00
push 0x208
mov byte [ebp - 0x480], al
lea eax, [ebp - 0x298]
push 0
push eax
call fcn.1008f060
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 0x1007b4e7
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 0x1007b4d9
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.10081520
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 0x1007b522
mov eax, dword [edx]
jmp 0x1007b524
mov eax, edx
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x298], cx
je 0x1007b554
lea ecx, [ebp - 0x298]
lea eax, [ecx + 2]
mov dword [ebp - 0x468], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007b541
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.10081290
lea eax, [ebp - 0x47c]
mov ecx, esi
push eax
call fcn.10081680
lea eax, [ebp - 0x48c]
mov ecx, esi
push eax
call fcn.100824d0
lea eax, [ebp - 0x300]
mov ecx, esi
push eax
call fcn.10082c50
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 0x1007b5b2
mov eax, dword [eax]
push eax
call edi
test eax, eax
jne 0x1007b5c0
mov ecx, esi
call fcn.10082ff0
mov edi, dword [ebp - 0x46c]
add edi, 0x8c
mov ecx, edi
call fcn.10083e30
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 0x1007b5fe
mov eax, dword [edx]
jmp 0x1007b600
mov eax, edx
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x298], cx
je 0x1007b633
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 0x1007b620
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.10083840
mov ecx, edi
call fcn.10083b40
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.10079ac0
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push ecx
lea edx, [ebp - 0x3a4]
mov ecx, eax
call fcn.10080d10
mov eax, dword [ebp - 0x2bc]
add esp, 0xc
cmp eax, 0x10
jb 0x1007b71f
mov ecx, dword [ebp - 0x2d0]
inc eax
cmp eax, 0x1000
jb 0x1007b716
test cl, 0x1f
je 0x1007b6f2
call fcn.10091aa1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1007b6fe
call fcn.10091aa1
sub ecx, eax
cmp ecx, 4
jae 0x1007b70a
call fcn.10091aa1
cmp ecx, 0x23
jbe 0x1007b714
call fcn.10091aa1
mov ecx, eax
push ecx
call fcn.1008bb42
add esp, 4
cmp byte [ebp - 0x462], 0
je 0x1007b9cf
mov dword [ebp - 0x2a4], 0xf
mov dword [ebp - 0x2a8], 0
mov byte [ebp - 0x2b8], 0
push 0x100fab18
lea edx, [ebp - 0x2b8]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c0]
call fcn.100799b0
lea ecx, [ebp - 0x390]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x2d0]
call fcn.10074260
push 0x100fab18
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x348]
call fcn.10074300
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0x330]
call fcn.10074260
push 0x100fab18
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x318]
call fcn.10074300
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0xb
push ecx
mov edx, eax
lea ecx, [ebp - 0x3a8]
call fcn.10074260
add esp, 0x18
mov edi, eax
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0xc
cmp eax, edi
je 0x1007b85f
mov eax, dword [ebp - 0x2a4]
cmp eax, 0x10
jb 0x1007b838
mov ecx, dword [ebp - 0x2b8]
inc eax
cmp eax, 0x1000
jb 0x1007b82f
test cl, 0x1f
je 0x1007b80b
call fcn.10091aa1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1007b817
call fcn.10091aa1
sub ecx, eax
cmp ecx, 4
jae 0x1007b823
call fcn.10091aa1
cmp ecx, 0x23
jbe 0x1007b82d
call fcn.10091aa1
mov ecx, eax
push ecx
call fcn.1008bb42
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 0x1007b87c
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 0x1007b8b4
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 0x1007b8ec
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 0x1007b924
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 0x1007b95c
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 0x1007b994
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.10080d10
mov byte [ebp - 4], 5
add esp, 0xc
mov eax, dword [ebp - 0x2a4]
cmp eax, 0x10
jb 0x1007b9cf
inc eax
push 1
push eax
push dword [ebp - 0x2b8]
call fcn.10001f08
add esp, 0xc
cmp byte [ebp - 0x480], 0
je 0x1007b9f2
push ecx
lea eax, [ebp - 0x34]
push eax
push ecx
lea edx, [ebp - 0x2e4]
lea ecx, [ebp - 0x300]
call fcn.10080d10
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.1007a090
test al, al
je 0x1007ba4c
cmp byte [ebp - 0x45e], 0
jne 0x1007bcde
lea eax, [ebp - 0x2e8]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.10079ac0
cmp byte [ebp - 0x462], 0
mov byte [ebp - 4], 0xd
je 0x1007bbf6
lea eax, [ebp - 0x390]
mov edx, 0x100fab18
push eax
lea ecx, [ebp - 0x3c0]
call fcn.100744c0
push 0x100fab18
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x318]
call fcn.10074300
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 0xf
push ecx
mov edx, eax
lea ecx, [ebp - 0x330]
call fcn.10074260
push 0x100fab18
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x348]
call fcn.10074300
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0x11
push ecx
mov edx, eax
lea ecx, [ebp - 0x2d0]
call fcn.10074260
add esp, 0x14
push eax
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0x12
call fcn.10045000
mov eax, dword [ebp - 0x2bc]
cmp eax, 0x10
jb 0x1007bb12
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 0x1007bb4a
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 0x1007bb82
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 0x1007bbba
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 0x1007bbf6
inc eax
push 1
push eax
push dword [ebp - 0x3c0]
call fcn.10001f08
add esp, 0xc
cmp byte [ebp - 0x45d], 0
je 0x1007bc46
lea eax, [ebp - 0x300]
mov edx, 0x100fab18
push eax
lea ecx, [ebp - 0x3c0]
call fcn.100744c0
add esp, 4
push eax
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0x13
call fcn.10045000
mov eax, dword [ebp - 0x3ac]
cmp eax, 0x10
jb 0x1007bc46
inc eax
push 1
push eax
push dword [ebp - 0x3c0]
call fcn.10001f08
add esp, 0xc
lea ecx, [ebp - 0x45c]
call fcn.1007ef60
cmp dword [ebp - 0x2d4], 0x10
lea edx, [ebp - 0x2e8]
push dword [ebp - 0x2d8]
cmovae edx, dword [ebp - 0x2e8]
call fcn.1007efa0
mov edx, dword [ebp - 0x470]
lea ecx, [ebp - 0x45c]
add esp, 4
call fcn.1007f080
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2d4]
cmp eax, 0x10
jb 0x1007bca5
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.1007a2a0
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.10082ff0
mov eax, dword [ebp - 0x2ec]
cmp eax, 0x10
jb 0x1007bcfb
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 0x1007bd33
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 0x1007bd6b
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 0x1007bda3
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.1007be50
lea ecx, [ebp - 0x47c]
call fcn.1007be10
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.1008bb47
mov esp, ebp
pop ebp
ret 4