Function at 0x417d70
Capabilities:
Check for time delay via gettickcount
Check mutex on windows
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45455b
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x46a180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x178], 1
mov dword [ebp - 4], 0
call fcn.004139e0
mov ecx, eax
test ecx, ecx
je 0x418830
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x134], eax
mov dword [ebp - 4], 2
call fcn.004139e0
mov ecx, eax
test ecx, ecx
je 0x41883a
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 4
call fcn.004139e0
mov ecx, eax
test ecx, ecx
je 0x418844
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 6
call fcn.004139e0
mov ecx, eax
test ecx, ecx
je 0x41884e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x148], eax
mov ecx, edi
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.004168b0
mov dword [ebp - 0x118], eax
test eax, eax
jne 0x4186f5
push dword [ebp - 0x134]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00411f60
movzx eax, word [ebp - 0x118]
push eax
movzx eax, word [ebp - 0x12c]
push eax
movzx eax, word [ebp - 0x114]
push eax
movzx eax, word [ebp - 0x11c]
push eax
lea eax, [ebp - 0x140]
push 0x458fd4
push eax
call fcn.00416340
mov esi, dword [ebp - 0x130]
lea eax, [ebp - 0x118]
push esi
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00411f60
movzx eax, word [ebp - 0x118]
add esp, 0x40
push eax
movzx eax, word [ebp - 0x12c]
push eax
movzx eax, word [ebp - 0x114]
push eax
movzx eax, word [ebp - 0x11c]
push eax
lea eax, [ebp - 0x144]
push 0x458fd4
push eax
call fcn.00416340
add esp, 0x18
mov dword [ebp - 0x118], 0
push str.GlobalWeMeet_b6449d97_7d64_eccb_a751_b5f633d4f376
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebp - 0x11c], eax
test eax, eax
je 0x417fb6
push 0x493e0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x3e8
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov eax, 8
cmp edi, 0x102
mov edi, dword [ebp - 0x13c]
cmovne eax, ecx
mov dword [ebp - 0x118], eax
jmp 0x417fb8
xor eax, eax
test eax, eax
jne 0x4186fb
mov dword [ebp - 0x174], eax
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.0040c510
mov ecx, eax
xor eax, eax
test ecx, ecx
sete al
mov dword [ebp - 0x174], eax
xor edx, edx
mov byte [ebp - 4], 8
push str.GlobalWeMeet_b6449d97_7d64_eccb_a751_b5f633d4f377
test ecx, ecx
lea eax, [ebp - 0x170]
push 1
cmove eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x11c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x11c], 0
mov dword [ebp - 0x138], eax
jne 0x418082
mov ecx, dword [ebp - 0x150]
mov eax, 9
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 7
test ecx, ecx
je 0x418066
push ecx
call edi
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x150], 0
mov ecx, dword [ebp - 0x14c]
test ecx, ecx
je 0x4186fb
push ecx
call edi
mov eax, dword [ebp - 0x118]
jmp 0x4186fb
cmp eax, 0xb7
jne 0x418098
mov dword [ebp - 0x178], 0
jmp 0x4182e4
lea eax, [ebp - 0x134]
mov ecx, edi
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00417190
test eax, eax
je 0x4180ff
mov eax, dword [ebp - 0x150]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x118], 0xa
mov byte [ebp - 4], 7
test eax, eax
je 0x4180dc
push eax
call esi
mov dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x14c]
test eax, eax
je 0x4180f4
push eax
call esi
mov esi, dword [ebp - 0x130]
jmp 0x418312
mov esi, dword [ebp - 0x130]
jmp 0x41831c
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x457db8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00403080
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x114], ecx
sub ecx, eax
mov eax, 0x2aaaaaab
mov dword [ebp - 0x128], 0
imul ecx
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x124], 0
sar edx, 2
push ecx
mov eax, edx
mov dword [ebp - 0x120], 0
shr eax, 0x1f
lea ecx, [ebp - 0x12c]
push ecx
add eax, edx
lea ecx, [ebp - 0x128]
push eax
call fcn.00415a30
push fcn.00404bc0
push 1
push 0x18
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push eax
call fcn.00430cc0
mov esi, dword [ebp - 0x130]
lea eax, [ebp - 0x128]
push eax
sub esp, 0x18
mov ecx, esi
mov edx, esp
xorps xmm0, xmm0
lea edi, [ecx + 2]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4181c5
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00403080
call fcn.00419080
add esp, 0x1c
test al, al
jne 0x41834c
mov edi, dword [ebp - 0x128]
mov dword [ebp - 0x118], 0xd
mov byte [ebp - 4], 8
test edi, edi
je 0x4182e4
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x114], eax
cmp edi, eax
je 0x41827f
nop dword [eax]
mov ecx, dword [edi + 0x14]
cmp ecx, 7
jbe 0x41825f
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x41824f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418858
mov eax, edx
push ecx
push eax
call fcn.00430e05
mov eax, dword [ebp - 0x114]
add esp, 8
xor ecx, ecx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], cx
add edi, 0x18
cmp edi, eax
jne 0x418220
mov edi, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x120]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4182bc
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418858
push ecx
push edi
call fcn.00430e05
add esp, 8
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x150]
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [ebp - 4], 7
test eax, eax
je 0x418305
push eax
call edi
mov dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x14c]
test eax, eax
je 0x41831c
push eax
call edi
mov dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x118]
push dword [ebp - 0x11c]
mov dword [ebp - 0x118], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x118]
jne 0x4186fb
jmp 0x41871e
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x114], esp
push 0x2c
movups xmmword [ecx], xmm0
push str.Tencent_Technology_Shenzhen__Company_Limited
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00403080
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov edx, esp
mov ecx, esi
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
lea edi, [ecx + 2]
mov dword [edx + 0x14], 0
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4183a0
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00403080
mov byte [ebp - 4], 0xb
call fcn.00419320
add esp, 0x30
test al, al
jne 0x4184de
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x114], esp
push 0x2d
movups xmmword [ecx], xmm0
push str.Tencent_Technology__Shenzhen__Company_Limited
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00403080
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov edx, esp
mov ecx, esi
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
lea edi, [ecx + 2]
mov dword [edx + 0x14], 0
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418420
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00403080
mov byte [ebp - 4], 0xb
call fcn.00419320
add esp, 0x30
test al, al
jne 0x4184de
mov edi, dword [ebp - 0x128]
mov dword [ebp - 0x118], 0xc
mov byte [ebp - 4], 8
test edi, edi
je 0x4182e4
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x114], eax
cmp edi, eax
je 0x41827f
nop dword [eax]
mov ecx, dword [edi + 0x14]
cmp ecx, 7
jbe 0x4184bf
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4184af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418858
mov eax, edx
push ecx
push eax
call fcn.00430e05
mov eax, dword [ebp - 0x114]
add esp, 8
xor ecx, ecx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], cx
add edi, 0x18
cmp edi, eax
jne 0x418480
jmp 0x418279
mov edi, 3
push 0
push dword [ebp - 0x134]
mov dword [ebp - 0x138], 0
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4185ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xea60
mov dword [ebp - 0x138], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
dec edi
test edi, edi
jg 0x4184e3
mov edi, dword [ebp - 0x128]
mov dword [ebp - 0x118], 0xb
mov byte [ebp - 4], 8
test edi, edi
je 0x4182e4
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x114], eax
cmp edi, eax
je 0x41827f
mov ecx, dword [edi + 0x14]
cmp ecx, 7
jbe 0x41858f
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x41857f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418858
mov eax, edx
push ecx
push eax
call fcn.00430e05
mov eax, dword [ebp - 0x114]
add esp, 8
xor ecx, ecx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], cx
add edi, 0x18
cmp edi, eax
jne 0x418550
jmp 0x418279
mov ecx, dword [ebp - 0x13c]
lea eax, [ebp - 0x114]
push 1
push str.Update
push eax
call fcn.004166d0
mov edx, dword [ebp - 0x114]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4185e7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x13c]
lea eax, [ebp - 0x114]
push 1
push str.ServiceBinPath
push eax
call fcn.004166d0
mov edx, dword [ebp - 0x114]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41861d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x128]
mov dword [ebp - 0x118], 0
mov byte [ebp - 4], 8
test edi, edi
je 0x4182e4
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x114], eax
cmp edi, eax
je 0x4186af
nop dword [eax]
mov ecx, dword [edi + 0x14]
cmp ecx, 7
jbe 0x41868f
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x41867f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418858
mov eax, edx
push ecx
push eax
call fcn.00430e05
mov eax, dword [ebp - 0x114]
add esp, 8
xor ecx, ecx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], cx
add edi, 0x18
cmp edi, eax
jne 0x418650
mov edi, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x120]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4182bc
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418858
jmp 0x4182bc
mov esi, dword [ebp - 0x130]
push dword [ebp - 0x144]
mov ecx, dword [ebp - 0x13c]
push dword [ebp - 0x140]
push str.UpdateStatus2
push dword [ebp - 0x138]
push eax
call fcn.00417480
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x148]
mov dword [ebp - 0x148], eax
call fcn.004102f0
cmp eax, 6
jl 0x41879e
push str.WemeetUpdate::CWemeetUpdate::UpdateSecond
push 0x8f
push str.D:qci_workspace_root_workspaces__qci_pipeline_10854701_1_appWindows_serviceupdate_serviceutilwemeet_update.cc
push 6
lea ecx, [ebp - 0x110]
call fcn.00404330
lea edi, [eax + 0x10]
mov byte [ebp - 4], 0xe
push str.WemeetUpdate::UpdateSecond_ret_:
push edi
call fcn.00402c00
add esp, 8
mov ecx, edi
push dword [ebp - 0x118]
call fcn.0040f370
push str.time_ms_:
push edi
call fcn.00402c00
add esp, 8
mov ecx, edi
push dword [ebp - 0x148]
call fcn.00405220
lea ecx, [ebp - 0x110]
call fcn.00404f70
mov edx, dword [ebp - 0x140]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4187be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x144]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4187db
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4187f2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x134]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x41880d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x118]
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.004312d2
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00406380
push 0x80004005
call fcn.00406380
push 0x80004005
call fcn.00406380
push 0x80004005
call fcn.00406380
call fcn.00435fbe
int3