Function at 0x4085a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4592a8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x471080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x14], ecx
mov ecx, 3
call fcn.004210c0
call fcn.00407b80
mov ecx, eax
test ecx, ecx
je 0x4088c5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 0
mov ecx, 1
call fcn.00407f20
test eax, eax
jne 0x408670
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.Get_temp_dir_error
push eax
push 0x46351c
push str.RunByInstaller
push 3
push str._anonymous_namespace::RunByInstaller
mov edx, 0x77
mov ecx, str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_backupdownloader_backupdownload.cpp
call fcn.00407d50
mov dword [ebp - 4], 0xffffffff
add esp, 0x14
mov esi, dword [ebp - 0x10]
or eax, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x408659
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x10]
push esi
push 0x4637c4
push str.RunByInstaller
push 3
push str._anonymous_namespace::RunByInstaller
push 0x7b
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_backupdownloader_backupdownload.cpp
call fcn.00409850
add esi, 0xfffffff0
add esp, 0x18
mov dword [ebp - 0x18], esp
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x4086b7
cmp ecx, dword [esi]
jne 0x4086b7
mov edi, esi
lock inc dword [eax]
jmp 0x4086e4
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edi, eax
test edi, edi
je 0x4088cf
mov eax, dword [esi + 4]
lea ecx, [edi + 0x10]
mov dword [edi + 4], eax
lea eax, [esi + 0x10]
mov edx, dword [esi + 4]
inc edx
push edx
push eax
call fcn.00409570
add esp, 8
mov ecx, dword [ebp - 0x18]
lea eax, [edi + 0x10]
mov dword [ecx], eax
call fcn.00428580
mov ecx, str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_backupdownloader_backupdownload.cpp
test eax, eax
je 0x408794
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x4637e0
push eax
push 0x46351c
push str.RunByInstaller
push 3
push str._anonymous_namespace::RunByInstaller
mov edx, 0x81
call fcn.00407d50
add esp, 0x14
push dword [0x4a8320]
push 0
push 0x1400
push ebx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0
push 0
push ebx
push 0x407ed0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [ebp - 0x14]
mov edi, eax
call fcn.00428a70
test edi, edi
je 0x4087bd
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x463824
push eax
push 0x46351c
push str.RunByInstaller
push 3
push str._anonymous_namespace::RunByInstaller
mov edx, 0x8d
mov ecx, str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_backupdownloader_backupdownload.cpp
call fcn.00407d50
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4087bd
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], str.g_oMgr
push eax
push 0x46351c
push str.RunByInstaller
push 3
push str._anonymous_namespace::RunByInstaller
mov edx, 0x88
call fcn.00407d50
add esp, 0x14
push ecx
mov edi, esp
mov dword [ebp - 0x14], 0
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x18], edi
call fcn.00407b80
mov ecx, eax
test ecx, ecx
je 0x4088d4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x4630a0
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00409440
test al, al
jne 0x408808
push 7
push 0x4630a0
mov ecx, edi
call fcn.00409600
mov ecx, ebx
mov byte [ebp - 4], 0
call fcn.00420c40
mov edi, esp
mov dword [ebp - 0x18], 0
mov ebx, eax
mov dword [ebp - 0x20], edi
call fcn.00407b80
mov ecx, eax
test ecx, ecx
je 0x4088de
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x463090
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00409440
test al, al
jne 0x40885c
push 6
push 0x463090
mov ecx, edi
call fcn.00409600
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00420c40
add esp, 4
test ebx, ebx
je 0x408889
test eax, eax
je 0x408889
cmp dword [ebp - 0x14], 0
jne 0x40887f
cmp dword [ebp - 0x18], 0
je 0x408889
mov ecx, 3
call fcn.004210c0
mov ecx, 0x4a82e0
call fcn.0042f810
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4088b1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00407690
call fcn.004096f0
push 0x80004005
call fcn.00407690
push 0x80004005
call fcn.00407690
int3