Function at 0x40c4d0
Capabilities:
Create process on windows
Delete file
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48563c
mov eax, dword fs:[0]
push eax
sub esp, 0x59c
mov eax, dword [0x499100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 0
push str.OBS_Studio_Updater_3.0
mov dword [ebp - 0x540], eax
mov dword [ebp - 0x544], 0x800
mov dword [ebp - 0x548], 3
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov esi, eax
mov dword [ebp - 0x560], esi
mov dword [ebp - 4], 0
test esi, esi
jne 0x40c554
push str.Update_failed:_Couldnt_open_obsproject.com
call fcn.00408df0
add esp, 4
xor al, al
jmp 0x40cac9
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
lea eax, [ebp - 0x544]
push 4
push eax
push 0x54
push esi
call edi
push 4
lea eax, [ebp - 0x548]
push eax
push 0x76
push esi
call edi
push 0
push 0x1bb
push str.cdn_fastly.obsproject.com
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
mov dword [ebp - 0x564], edi
mov byte [ebp - 4], 1
test edi, edi
jne 0x40c5b8
push str.Update_failed:_Couldnt_connect_to_cdn_fastly.obsproject.com
call fcn.00408df0
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
add esp, 4
mov byte [ebp - 0x539], 0
jmp 0x40cac0
push 0
push dword [0x49b5e8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40c5d5
mov byte [ebp - 0x539], al
jmp 0x40cab7
push str.Downloading_Visual_C_2019_Redistributable
call fcn.00408df0
add esp, 4
lea ecx, [ebp - 0x538]
push str.https:__cdn_fastly.obsproject.com_downloads_VC_redist.x64.exe
call fcn.00403890
xorps xmm0, xmm0
mov dword [ebp - 0x4f8], 0
xor eax, eax
mov dword [ebp - 0x4f4], 7
movups xmmword [ebp - 0x508], xmm0
mov word [ebp - 0x508], ax
mov ecx, 0x49b668
mov byte [ebp - 4], 3
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c625
sub ecx, edx
sar ecx, 1
push ecx
push 0x49b668
lea ecx, [ebp - 0x508]
call fcn.0040fd20
push 0x12
push str.VC_redist.x64.exe
lea ecx, [ebp - 0x508]
call fcn.0040fd20
cmp dword [ebp - 0x4f4], 8
lea edx, [ebp - 0x54c]
push edx
lea ecx, [ebp - 0x508]
cmovae ecx, dword [ebp - 0x508]
lea eax, [ebp - 0x538]
cmp dword [ebp - 0x524], 8
push str.Accept_Encoding:_gzip
cmovae eax, dword [ebp - 0x538]
push ecx
push eax
push edi
call fcn.004119f0
add esp, 0x14
test al, al
jne 0x40c6d2
cmp dword [ebp - 0x4f4], 8
lea eax, [ebp - 0x508]
cmovae eax, dword [ebp - 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x54c]
push str.Visual_C_2019_Redistributable
push str.Update_failed:_Could_not_download__s__error_code__d_
call fcn.00408df0
add esp, 0xc
jmp 0x40ca4c
xorps xmm0, xmm0
mov dword [ebp - 0x510], 0
push 0x20
lea ecx, [ebp - 0x520]
mov dword [ebp - 0x50c], 0xf
movups xmmword [ebp - 0x520], xmm0
call fcn.0040f8e0
movups xmm0, xmmword [str.vc2019_redist_x64]
mov dword [ebp - 0x520], eax
mov dword [ebp - 0x510], 0x11
mov dword [ebp - 0x50c], 0x1f
movups xmmword [eax], xmm0
mov dl, byte [0x487f78]
mov byte [eax + 0x10], dl
mov byte [eax + 0x11], 0
mov ecx, dword [ebp - 0x540]
lea eax, [ebp - 0x520]
push eax
mov byte [ebp - 4], 4
call fcn.00414880
mov ecx, dword [ebp - 0x50c]
mov dword [ebp - 0x540], eax
mov byte [ebp - 4], 3
cmp ecx, 0x10
jb 0x40c78e
mov edx, dword [ebp - 0x520]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c77e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cae4
push ecx
push edx
call fcn.0046a9b7
mov eax, dword [ebp - 0x540]
add esp, 8
mov ecx, eax
mov dword [ebp - 0x510], 0
mov dword [ebp - 0x50c], 0xf
mov byte [ebp - 0x520], 0
call fcn.00418520
cmp eax, 3
je 0x40c7c7
push str.Update_failed:_Could_not_parse_VC2019_redist_json
call fcn.00408df0
add esp, 4
jmp 0x40ca4c
mov ecx, dword [ebp - 0x540]
call fcn.004184b0
cmp dword [eax + 0x14], 0x10
jb 0x40c7da
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x8c]
push 0x29
push eax
call fcn.00408ff0
add esp, 0xc
test al, al
jne 0x40c81d
cmp dword [ebp - 0x4f4], 8
lea eax, [ebp - 0x508]
cmovae eax, dword [ebp - 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.Update_failed:_Couldnt_convert_Json_for_redist_hash
call fcn.00408df0
add esp, 4
jmp 0x40ca4c
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004127c0
cmp dword [ebp - 0x4f4], 8
lea ecx, [ebp - 0x24]
lea eax, [ebp - 0x508]
cmovae eax, dword [ebp - 0x508]
push ecx
push eax
call fcn.00412570
add esp, 0x10
test al, al
jne 0x40c884
cmp dword [ebp - 0x4f4], 8
lea eax, [ebp - 0x508]
cmovae eax, dword [ebp - 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.Visual_C_2019_Redistributable
push str.Update_failed:_Couldnt_verify_integrity_of__s
call fcn.00408df0
add esp, 8
jmp 0x40ca4c
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00412740
add esp, 8
lea ecx, [ebp - 0xe0]
lea eax, [ebp - 0x8c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40c8c9
test dx, dx
je 0x40c8c5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40c8c9
add eax, 4
add ecx, 4
test dx, dx
jne 0x40c8a3
xor eax, eax
jmp 0x40c8ce
sbb eax, eax
or eax, 1
test eax, eax
lea eax, [ebp - 0x508]
je 0x40c904
cmp dword [ebp - 0x4f4], 8
cmovae eax, dword [ebp - 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.Visual_C_2019_Redistributable
push str.Update_failed:_Couldnt_verify_integrity_of__s
call fcn.00408df0
add esp, 8
jmp 0x40ca4c
cmp dword [ebp - 0x4f4], 8
cmovae eax, dword [ebp - 0x508]
push eax
push str._s__install__quiet__norestart
lea eax, [ebp - 0x4f0]
push 0x410
push eax
call fcn.00408f80
add esp, 0x10
mov dword [ebp - 0x5a8], 0x44
cmp dword [ebp - 0x4f4], 8
lea ecx, [ebp - 0x55c]
xorps xmm0, xmm0
lea eax, [ebp - 0x508]
cmovae eax, dword [ebp - 0x508]
push ecx
lea ecx, [ebp - 0x5a8]
movlpd qword [ebp - 0x5a4], xmm0
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea ecx, [ebp - 0x4f0]
movlpd qword [ebp - 0x59c], xmm0
push ecx
push eax
movups xmmword [ebp - 0x55c], xmm0
movlpd qword [ebp - 0x594], xmm0
movlpd qword [ebp - 0x58c], xmm0
movlpd qword [ebp - 0x584], xmm0
movlpd qword [ebp - 0x57c], xmm0
movlpd qword [ebp - 0x574], xmm0
movlpd qword [ebp - 0x56c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne byte [ebp - 0x539]
test eax, eax
je 0x40ca06
push str.Visual_C_2019_Redistributable
push str.Installing__s...
call fcn.00408df0
add esp, 8
push dword [ebp - 0x558]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [ebp - 0x55c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x55c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40ca1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Visual_C_2019_Redistributable
push str.Update_failed:_Could_not_execute__s__error_code__d_
call fcn.00408df0
add esp, 0xc
cmp dword [ebp - 0x4f4], 8
lea eax, [ebp - 0x508]
cmovae eax, dword [ebp - 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [0x49b5e8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40ca53
mov byte [ebp - 0x539], 0
mov ecx, dword [ebp - 0x4f4]
cmp ecx, 8
jb 0x40ca8f
mov edx, dword [ebp - 0x508]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ca85
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cae9
push ecx
push edx
call fcn.0046a9b7
add esp, 8
xor eax, eax
mov dword [ebp - 0x4f8], 0
lea ecx, [ebp - 0x538]
mov dword [ebp - 0x4f4], 7
mov word [ebp - 0x508], ax
call fcn.00404700
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call edi
push esi
call edi
mov al, byte [ebp - 0x539]
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.0046ae1f
mov esp, ebp
pop ebp
ret
call fcn.0046e58f
call fcn.0046e58f
int3