Function at 0x14005c220
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x400]
sub rsp, 0x500
mov rax, qword [0x140115b28]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
xor r12d, r12d
call fcn.1400d8a3c
lea rdi, str.settings.json
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], reloc.WS2_32.dll_listen
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.140056860
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140058250
movsd xmm0, qword [rax]
movsd qword [rsp + 0x40], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0x2d0], ecx
lea rax, [0x140115b80]
mov qword [rbp + 0x2d8], rax
movaps xmm0, xmmword [rbp + 0x2d0]
movdqa xmmword [rbp + 0x2d0], xmm0
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14005c315
cmp eax, 1
sete bl
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14005c326
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c321
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c321
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov bl, 1
test ecx, ecx
jne 0x14005ca5b
jmp 0x14005c2d5
call fcn.1400d7dbc
test bl, bl
je 0x14005c349
lea rdx, str.Settings.json_not_found
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140068c20
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x2e0]
call sub.VCRUNTIME140.dll_memset
mov rdx, rdi
lea rcx, [rbp + 0x2e0]
call fcn.140062220
nop
mov qword [rbp - 0x28], r12
lea rax, [rbp + 0x2e0]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp + 0x2e0]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x328]
mov qword [rsp + 0x78], rax
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x20]
call fcn.140069480
nop
lea r8, [0x1401194c0]
mov rcx, rax
call fcn.140064200
nop
lea rcx, [rbp + 0x28]
call fcn.140063500
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14005c3da
mov rax, qword [rcx]
lea rdx, [rbp - 0x20]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
lea rcx, [rbp + 0x2f0]
call fcn.1400645b0
test rax, rax
jne 0x14005c40d
mov rax, qword [rbp + 0x2e0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x2e0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov r8d, ntohs
lea rdx, str.algorithmDir
lea rcx, [rsp + 0x50]
call fcn.140059310
lea rdx, [rsp + 0x50]
lea rcx, [0x1401194c0]
call fcn.14006dc00
cmp byte [rax], 3
jne 0x14005ca6d
mov r8, qword [rax + 8]
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x14005c461
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rsi, str.algorithms
mov rcx, rsi
call fcn.140064f70
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov r8d, ntohs
lea rdx, str.clickpackDir
lea rcx, [rsp + 0x50]
call fcn.140059310
lea rdx, [rsp + 0x50]
lea rcx, [0x1401194c0]
call fcn.14006dc00
cmp byte [rax], 3
jne 0x14005caad
mov r8, qword [rax + 8]
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x14005c4c8
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea r15, str.clickpacks
mov rcx, r15
call fcn.140064f70
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov r8d, reloc.sndfile.dll_Ordinal_19
lea rdx, str.defaultAlgorithmDir
lea rcx, [rsp + 0x50]
call fcn.140059310
lea rdx, [rsp + 0x50]
lea rcx, [0x1401194c0]
call fcn.14006dc00
cmp byte [rax], 3
jne 0x14005caed
mov r8, qword [rax + 8]
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x14005c52f
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rdi, str.default.json
mov rcx, rdi
call fcn.140064f70
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov r8d, 8
lea rdx, str.macroDir
lea rcx, [rsp + 0x50]
call fcn.140059310
lea rdx, [rsp + 0x50]
lea rcx, [0x1401194c0]
call fcn.14006dc00
cmp byte [rax], 3
jne 0x14005cb2d
mov r8, qword [rax + 8]
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x14005c596
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea r14, str.macros
mov rcx, r14
call fcn.140064f70
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov r8d, 9
lea rdx, str.outputDir
lea rcx, [rsp + 0x50]
call fcn.140059310
lea rdx, [rsp + 0x50]
lea rcx, [0x1401194c0]
call fcn.14006dc00
cmp byte [rax], 3
jne 0x14005cb6d
mov r8, qword [rax + 8]
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x14005c5fd
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rbx, [0x1401163c8]
mov rcx, rbx
call fcn.140064f70
mov rdx, rsi
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [str.algorithms]
mov r8d, 0x400
lea rcx, [0x1401176e0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae r15, qword [str.clickpacks]
mov r8d, 0x400
mov rdx, r15
lea rcx, [0x140118710]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov rdx, rdi
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [str.default.json]
mov r8d, 0x400
lea rcx, [0x140117f00]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae r14, qword [str.macros]
mov r8d, 0x400
mov rdx, r14
lea rcx, [0x140118f30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rbx, qword [0x1401163c8]
mov r8d, 0x400
mov rdx, rbx
lea rcx, [0x140117b00]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
nop
mov rax, qword [rbp + 0x2e0]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x2e0], rbx
mov rax, qword [rbp + 0x2e0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x2dc], edx
lea rcx, [rbp + 0x2f0]
call fcn.1400620c0
lea rcx, [rbp + 0x2f8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x390]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x1c0]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [reloc.WS2_32.dll_ioctlsocket]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 1
jb 0x14005ca55
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rsi, qword [str.algorithms]
mov qword [rsp + 0x30], 1
lea rax, [0x1400fcec4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rsi
lea rcx, [rbp - 0x80]
call fcn.14006df30
nop
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdi, qword [str.default.json]
mov r8, qword [0x140116518]
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.1400650d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
lea rcx, [rbp + 0x1c0]
call fcn.140062220
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x1c0], rbx
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1bc], edx
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14005c86c
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c867
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c867
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d7dbc
movdqa xmm0, xmmword [0x140100d50]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14005c8bd
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c8b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c8b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d7dbc
movdqa xmm0, xmmword [0x140100d50]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1c0]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x14005c90c
lea rdx, str.Default_algorithm_not_found
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140068c20
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rbp - 0x28], r12
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x208]
mov qword [rsp + 0x78], rax
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xd0]
call fcn.140069480
nop
lea r8, [0x1401194d0]
mov rcx, rax
call fcn.140064200
nop
lea rcx, [rbp + 0x118]
call fcn.140063500
mov rcx, qword [rbp + 0x108]
test rcx, rcx
je 0x14005c985
mov rax, qword [rcx]
lea rdx, [rbp + 0xd0]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
lea rcx, [rbp + 0x1d0]
call fcn.1400645b0
test rax, rax
jne 0x14005c9b8
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1c0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rdx, [0x1401194d0]
lea rcx, [rbp + 0x2d0]
call fcn.140062a90
mov rcx, rax
call fcn.14005be10
nop
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x1c0], rbx
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1bc], edx
lea rcx, [rbp + 0x1d0]
call fcn.1400620c0
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x270]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.1400d7b00
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140055ed0
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x2d0]
call fcn.140057c90
nop
mov rcx, rax
call fcn.14006e320
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rdx, str.type_must_be_string__but_is
lea rcx, [rbp - 0x80]
call fcn.1400777e0
nop
mov r8, rax
lea rcx, [rbp - 0x60]
call fcn.1400775b0
lea rdx, [0x140110f18]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, rax
call fcn.14006e320
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rdx, str.type_must_be_string__but_is
lea rcx, [rbp - 0x80]
call fcn.1400777e0
nop
mov r8, rax
lea rcx, [rbp - 0x60]
call fcn.1400775b0
lea rdx, [0x140110f18]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, rax
call fcn.14006e320
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rdx, str.type_must_be_string__but_is
lea rcx, [rbp - 0x80]
call fcn.1400777e0
nop
mov r8, rax
lea rcx, [rbp - 0x60]
call fcn.1400775b0
lea rdx, [0x140110f18]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, rax
call fcn.14006e320
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rdx, str.type_must_be_string__but_is
lea rcx, [rbp - 0x80]
call fcn.1400777e0
nop
mov r8, rax
lea rcx, [rbp - 0x60]
call fcn.1400775b0
lea rdx, [0x140110f18]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, rax
call fcn.14006e320
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rdx, str.type_must_be_string__but_is
lea rcx, [rbp - 0x80]
call fcn.1400777e0
nop
mov r8, rax
lea rcx, [rbp - 0x60]
call fcn.1400775b0
lea rdx, [0x140110f18]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3