Function at 0x428580
Capabilities:
Check if file exists
Create directory
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ae24
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x471080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.00407b80
mov ecx, eax
test ecx, ecx
je 0x428a4a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x138], eax
push ecx
mov byte [ebp - 4], 1
mov esi, esp
mov dword [ebp - 0x13c], esp
mov dword [ebp - 0x134], esi
call fcn.00407b80
mov ecx, eax
test ecx, ecx
je 0x428a54
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x467584
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00409440
test al, al
jne 0x428620
push 8
push 0x467584
mov ecx, esi
call fcn.00409600
push ecx
mov byte [ebp - 4], 3
mov ebx, esp
mov dword [ebp - 0x134], ebx
mov esi, dword [ebp + 8]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
mov ecx, eax
lea eax, [esi - 4]
jl 0x428650
cmp ecx, dword [esi - 0x10]
jne 0x428650
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x42867a
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x428a5e
mov eax, dword [esi - 0xc]
lea ecx, [edi + 0x10]
mov dword [edi + 4], eax
mov edx, dword [esi - 0xc]
inc edx
push edx
push esi
call fcn.00409570
add esp, 8
lea eax, [edi + 0x10]
mov dword [ebx], eax
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 1
call fcn.004205b0
mov eax, dword [ebp - 0x138]
add esp, 8
mov ecx, dword [0x4a8340]
or ebx, 0xffffffff
lea edx, [eax - 0x10]
lea esi, [ecx - 0x10]
mov dword [ebp - 0x13c], edx
cmp edx, esi
je 0x428704
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4286f0
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x4286f0
mov ecx, edx
call fcn.00409510
mov dword [ebp - 0x130], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4286e5
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x130]
lea ecx, [eax + 0x10]
mov dword [0x4a8340], ecx
jmp 0x428704
push dword [eax - 0xc]
mov ecx, 0x4a8340
push eax
call fcn.00409600
mov ecx, dword [0x4a8340]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4287bb
push eax
push dword [0x4a8340]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4287bb
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], str.Create_download_directory_failed.
push eax
push 0x46351c
push str.CBizInstallerMgr::InitMgr
push 2
push str.CBizInstallerMgr::InitMgr
mov edx, 0x4b
mov ecx, str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_backupdownloader_network_bizinstallermgr.cpp
call fcn.00407d50
add esp, 0x14
xor esi, esi
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x13c]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42877c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x42879b
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x4a8340]
mov ecx, dword [eax - 0x10]
lea esi, [eax - 0x10]
mov dword [ebp - 0x130], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x4287e5
cmp ecx, dword [esi]
jne 0x4287e5
lock inc dword [eax]
jmp 0x428814
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x428a63
mov eax, dword [edi]
lea ecx, [esi + 0x10]
mov dword [esi + 4], eax
mov edx, dword [edi]
inc edx
push edx
push dword [ebp - 0x130]
call fcn.00409570
add esp, 8
lea ecx, [esi + 0x10]
mov dword [ebp - 0x130], ecx
mov byte [ebp - 4], 4
lea esi, [ecx - 0x10]
mov edi, dword [0x4a835c]
add edi, 0xfffffff0
cmp esi, edi
je 0x42887e
cmp dword [edi + 0xc], 0
jl 0x428870
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x428870
mov ecx, esi
call fcn.00409510
mov dword [ebp - 0x134], eax
lea edx, [edi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x428866
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x134]
add eax, 0x10
mov dword [0x4a835c], eax
jmp 0x42887e
push dword [ecx - 0xc]
push ecx
mov ecx, 0x4a835c
call fcn.00409600
mov ecx, 0x4a8358
call fcn.0041cc00
mov edi, eax
mov byte [ebp - 4], 1
mov ecx, ebx
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4288a2
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
test edi, edi
je 0x42875c
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
call esi
mov dword [ebp - 0x154], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x164]
mov dword [ebp - 0x164], 3
push eax
mov dword [ebp - 0x160], 0x42f660
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0
movups xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x140], str.TENCENT_INSTLLER
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x42875c
push 0
call esi
push 0x4a8320
push eax
push 0
push 0
push connect
push connect
push connect
push connect
push 0xcf0000
push str.TENCENT_INSTLLER_WINDOW
push str.TENCENT_INSTLLER
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x42875c
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push pe_nt_image_headers32
lea eax, [ebp - 0x128]
mov dword [0x4a8320], esi
push 0
push eax
mov dword [0x4a8328], 0x4a8234
mov dword [0x4a8324], 0x4a8230
mov dword [0x4a832c], 0x4a8238
mov dword [0x4a8330], 0x4a823c
mov dword [0x4a8334], 0x4a8240
mov dword [0x4a82ec], esi
mov dword [0x4a822c], 0x42f6c0
mov dword [0x4a82fc], 0x430150
mov dword [0x4a8318], 0x430180
call fcn.0043fa60
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x12c]
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
push eax
call esi
test eax, eax
jne 0x428a05
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x114
push eax
call esi
test eax, eax
jne 0x428a40
movzx ecx, word [ebp - 0x128]
mov edx, 0x4a81e0
movzx eax, word [ebp - 0x124]
shl ecx, 0x10
or ecx, eax
movzx eax, word [ebp - 0x16]
mov dword [0x4a81cc], ecx
movzx ecx, word [ebp - 0x18]
shl ecx, 0x10
or ecx, eax
mov dword [0x4a81d0], ecx
mov ecx, 0x4a81d8
call fcn.00424e90
mov esi, 1
jmp 0x42875e
push 0x80004005
call fcn.00407690
push 0x80004005
call fcn.00407690
call fcn.004096f0
call fcn.004096f0
int3