Function at 0x4452c0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x248
mov eax, dword [0x457040]
xor eax, esp
mov dword [esp + 0x244], eax
mov eax, dword [ebp + 8]
push esi
push edi
push str.validusbotautoupdater
push 0
push 0
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x4453b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4453b5
push 3
call dword [sym.imp.libcurl.dll_curl_global_init]
add esp, 4
test eax, eax
je 0x4453d0
push 0x13
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
push str.Failed_to_init_curl
lea ecx, [esp + 0x18]
movaps xmmword [esp + 0x18], xmm0
mov dword [esp + 0x2c], 0
call fcn.00401fd0
cmp dword [0x4675b0], 0
je 0x44537d
cmp dword [esp + 0x24], 0xf
lea edx, [esp + 0x10]
push dword [esp + 0x20]
cmova edx, dword [esp + 0x14]
mov ecx, 0x467560
call fcn.00401de0
add esp, 4
mov ecx, eax
push 0x4404c0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [esp + 0x24]
cmp ecx, 0xf
jbe 0x4453b5
mov edx, dword [esp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4453ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4453ab
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00445a9b
add esp, 8
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.00445a3a
mov esp, ebp
pop ebp
ret 0x10
call fcn.00402ea0
test al, al
jne 0x445412
push 0
push str.Error_getting_auto_updater_info
push str.Failed_to_get_auto_updater.json
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.libcurl.dll_curl_global_cleanup]
mov ecx, dword [esp + 0x24c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00445a3a
mov esp, ebp
pop ebp
ret 0x10
call fcn.00403190
test al, al
jne 0x445429
push 0
push str.Error_parsing_auto_updater_info
push str.Failed_to_parse_auto_updater.json
jmp 0x4453e5
push 0x208
lea eax, [esp + 0x44]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x40]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x40]
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x24], 0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445470
sub ecx, edx
lea eax, [esp + 0x40]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.004151b0
lea eax, [esp + 0x10]
push eax
call fcn.004014c0
mov ecx, dword [esp + 0x24]
mov edi, eax
cmp ecx, 7
jbe 0x4454d8
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4454ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4454ce
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00445a9b
add esp, 8
cmp dword [0x467558], edi
je 0x4454f1
push 0
push str.Auto_updater_version_missmatch
push str.Download_new_validusbot_installer_from_website.
jmp 0x4453e5
call fcn.00403880
mov ecx, dword [0x467520]
mov eax, 0x66666667
sub ecx, dword [0x46751c]
imul ecx
mov ecx, 0x467610
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x445528
sub esp, 0x28
mov eax, esp
mov dword [eax + 4], 0x4438e0
jmp 0x445534
sub esp, 0x28
mov eax, esp
mov dword [eax + 4], 0x444000
mov dword [eax], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8InjectorMenu__AEXXZPAV3__std__XPAVInjectorMenu___std__.0
mov dword [eax + 8], 0x467610
mov dword [eax + 0x24], eax
call fcn.004408f0
push dword [esp + 0x38]
call fcn.00441bf0
call fcn.00441f60
jmp 0x4453ed