Function at 0x418580
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x424404]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
call sub.MSVCP140.dll__Thrd_hardware_concurrency
vmovdqa xmm0, xmmword [0x41f820]
vmovdqu xmmword [ebp - 0x58], xmm0
vmovss xmm0, dword [0x41f800]
mov ecx, 4
mov dword [ebp - 0x48], 0
cmp eax, ecx
mov dword [ebp - 0x3c], 0
vmovss dword [ebp - 0x44], xmm0
vmovss xmm0, dword [0x41f804]
cmovl ecx, eax
mov byte [ebp - 0x38], 1
vmovss dword [ebp - 0x40], xmm0
vpxor xmm0, xmm0, xmm0
mov dword [ebp - 0x5c], ecx
mov eax, 0x6e65
vmovdqu xmmword [ebp - 0x34], xmm0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x24], 2
push 0x20
mov dword [ebp - 0x20], 0xf
mov word [ebp - 0x34], ax
mov byte [ebp - 0x32], 0
vmovdqu xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
call fcn.0040c650
vmovdqu xmm0, xmmword [str.models_ggml_base.en.bin]
mov edx, eax
mov dword [ebp - 0xc], 0x17
mov dword [ebp - 0x1c], edx
mov dword [ebp - 8], 0x1f
vmovdqu xmmword [edx], xmm0
mov ecx, dword [0x41e244]
mov dword [edx + 0x10], ecx
mov cx, word [0x41e248]
mov word [edx + 0x14], cx
mov al, byte [0x41e24a]
mov byte [edx + 0x16], al
lea eax, [ebp - 0x5c]
push eax
push esi
push dword [ebp + 8]
mov byte [edx + 0x17], 0
call fcn.00416970
add esp, 0xc
test al, al
je 0x418739
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.whisper.dll_whisper_lang_id]
add esp, 4
cmp eax, 0xffffffff
jne 0x4186cb
lea ecx, [ebp - 0x34]
call fcn.0040cec0
push eax
push str.error:_unknown_language__s_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.004188e0
lea eax, [ebp - 0x5c]
push eax
push esi
push dword [ebp + 8]
call fcn.00418300
add esp, 0x18
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.whisper.dll_whisper_init_from_file_with_params]
add esp, 8
lea ecx, [ebp - 0xb8]
mov esi, eax
push 0x7530
call fcn.00418ba0
push 0x3e80
push dword [ebp - 0x50]
lea ecx, [ebp - 0xb8]
call fcn.00419040
test al, al
jne 0x4187c7
push str.SDL_main
push str._s:_audio.init___failed__n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.004188e0
add esp, 0xc
lea ecx, [ebp - 0xb8]
call fcn.00418c20
mov ecx, dword [ebp - 8]
cmp ecx, 0x10
jb 0x41876d
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418763
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41889a
push ecx
push edx
call fcn.004195bb
add esp, 8
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 0x1c], 0
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
cmp ecx, 0x10
jb 0x4187b3
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4187a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41889a
push ecx
push edx
call fcn.004195bb
add esp, 8
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004195c9
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0xb8]
call fcn.00419320
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0x3e8
push eax
mov dword [ebp - 0x60], 0
call fcn.00408f90
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.00418de0
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xb8]
push eax
push esi
call fcn.00411d20
add esp, 0xc
lea ecx, [ebp - 0xb8]
call fcn.004192b0
push esi
call dword [sym.imp.whisper.dll_whisper_print_timings]
push esi
call dword [sym.imp.whisper.dll_whisper_free]
add esp, 8
lea ecx, [ebp - 0xb8]
call fcn.00418c20
mov ecx, dword [ebp - 8]
cmp ecx, 0x10
jb 0x418862
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418858
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41889a
push ecx
push edx
call fcn.004195bb
add esp, 8
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
cmp ecx, 0x10
jb 0x4188aa
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4188a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4188a0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004195bb
add esp, 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004195c9
mov esp, ebp
pop ebp
ret