Function at 0x43e8e0
Capabilities:
Check mutex on windows
Create thread
Get number of processors
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2fc
mov eax, dword [0x5c49f0]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 3
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
sub esp, 0x18
mov ecx, esp
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x5b03e0
mov byte [ecx], 0
call fcn.0042c1b0
call fcn.00434b70
add esp, 0x18
mov ecx, esi
call fcn.0043ec40
lea ecx, [esp + 0x30]
call fcn.00441300
cmp dword [esp + 0x44], 0x10
lea eax, [esp + 0x30]
cmovae eax, dword [esp + 0x30]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov eax, dword fs:[0x2c]
jne 0x43ea44
mov edi, dword [eax]
mov eax, dword [0x5c9840]
cmp eax, dword [edi + 4]
jle 0x43e9b9
push 0x5c9840
call fcn.0053357d
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x43e9b9
call fcn.004366f0
push 0x560310
call fcn.00533907
add esp, 4
push 0x5c9840
call fcn.0053353e
add esp, 4
push str.repeat_execute
push 1
push 0x5b063c
push 0x5c9848
call fcn.004367d0
mov eax, dword [0x5c9840]
lea esi, [esp + 0x40]
add esp, 0x10
cmp dword [esp + 0x44], 0x10
cmovae esi, dword [esp + 0x30]
cmp eax, dword [edi + 4]
jle 0x43ea22
push 0x5c9840
call fcn.0053357d
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x43ea22
call fcn.004366f0
push 0x560310
call fcn.00533907
add esp, 4
push 0x5c9840
call fcn.0053353e
add esp, 4
push esi
push str.exist__s
push 0
push 0x5b063c
push 0x5c9848
call fcn.004367d0
add esp, 0x14
or esi, 0xffffffff
jmp 0x43ec03
mov ecx, dword [eax]
mov eax, dword [0x5c9840]
cmp eax, dword [ecx + 4]
jle 0x43ea88
push 0x5c9840
call fcn.0053357d
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x43ea88
call fcn.004366f0
push 0x560310
call fcn.00533907
add esp, 4
push 0x5c9840
call fcn.0053353e
add esp, 4
push str.Thu_Nov_16_11:29:09_2023
push str.upgrade__s
push 0
push 0x5b063c
push 0x5c9848
call fcn.004367d0
add esp, 0x14
call fcn.0043ef90
call fcn.004413e0
cmp byte [0x5c91ac], 0
je 0x43ead3
push str.command_line_mode
push 0
push 0x5b063c
call fcn.00436780
push eax
call fcn.004367d0
add esp, 0x10
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x64
push 0x5c9220
push 0x66
push edi
call esi
push 0x64
push 0x5c91b8
push 0x67
push edi
call esi
mov ecx, edi
call fcn.0043c360
mov ecx, edi
call fcn.0043f0c0
mov ecx, edi
call fcn.0043f150
test eax, eax
jne 0x43eb11
xor esi, esi
jmp 0x43ec03
push 0x2b8
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.00536540
add esp, 0xc
mov dword [esp + 0x48], vtable.CThreadBase.0
mov dword [esp + 0x4c], 0
lea ecx, [esp + 0x54]
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], vtable.CUpdateVersion.0
call fcn.0043df50
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x2f4], 0x5b2bc0
mov byte [esp + 0x2fc], 0
jne 0x43eb84
push 0
push 0
lea eax, [esp + 0x50]
push eax
push 0x453010
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0x4c], eax
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
lea eax, [esp + 0x14]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x43ebdb
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [esp + 0x14]
push eax
push 0
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x43ebca
lea eax, [esp + 0x14]
push eax
call edi
lea eax, [esp + 0x14]
push eax
call ebx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call esi
test eax, eax
jne 0x43eba7
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x54]
mov dword [esp + 0x48], vtable.CUpdateVersion.0
mov dword [esp + method.CBaseUpdate.virtual_0], vtable.CBaseUpdate.0
call fcn.0043e520
mov dword [esp + 0x48], vtable.CThreadBase.0
mov ecx, dword [esp + 0x44]
cmp ecx, 0x10
jb 0x43ec1b
inc ecx
push ecx
push dword [esp + 0x34]
lea ecx, [esp + 0x38]
call fcn.0042ce80
mov ecx, dword [esp + 0x304]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0053342f
mov esp, ebp
pop ebp
ret 0x10