Function at 0x140041a80
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x1400d4080]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
lea rdx, str.config.cfg
lea rcx, [rbp - 0x40]
call fcn.1400447a0
nop
cmp qword [rbp + 0x50], r14
je 0x140041f92
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx], r14
mov qword [rbx + 8], r14
lea ecx, [r14 + 0x48]
call fcn.1400aa710
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov r13d, 1
mov dword [rsp + 0x30], r13d
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], r14b
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x40]
mov dl, 0xa
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.140045020
mov rdx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x140041ec7
lea r15, [rsp + 0x60]
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
setae al
mov r8, qword [rsp + 0x60]
cmovae r15, r8
mov r14, qword [rsp + 0x70]
add r15, r14
lea rcx, [rsp + 0x60]
test al, al
je 0x140041bc1
mov rbx, r8
lea rsi, [r14 + r8]
jmp 0x140041bca
lea rsi, [r14 + rcx]
lea rbx, [rsp + 0x60]
cmp rbx, rsi
je 0x140041c2e
nop
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x140041be5
inc rbx
cmp rbx, rsi
jne 0x140041bd0
mov rdx, qword [rsp + 0x78]
mov r14, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
cmp rbx, rsi
je 0x140041c2e
lea rdi, [rbx + 1]
cmp rdi, rsi
je 0x140041c2e
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x140041c17
movzx eax, byte [rdi]
mov byte [rbx], al
inc rbx
inc rdi
cmp rdi, rsi
jne 0x140041c02
mov rdx, qword [rsp + 0x78]
mov r14, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
lea rax, [rsp + 0x60]
cmp rdx, 0x10
setae cl
cmovae rax, r8
mov rdx, rbx
sub rdx, rax
sub r15, rbx
mov rax, r14
sub rax, rdx
cmp rax, r15
cmovb r15, rax
lea rax, [rsp + 0x60]
test cl, cl
cmovne rax, r8
lea rcx, [rax + rdx]
sub r14, r15
mov r8, r14
sub r8, rdx
inc r8
lea rdx, [rcx + r15]
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x70], r14
test r14, r14
je 0x140041e90
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
setae r12b
mov r15, qword [rsp + 0x60]
cmovae rcx, r15
cmp byte [rcx], 0x23
je 0x140041e90
lea rdi, [rsp + 0x60]
test r12b, r12b
cmovne rdi, r15
cmp r14, 1
jb 0x140041d09
lea rsi, [rdi + r14]
mov r8, r14
mov edx, 0x3d
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140041d09
cmp byte [rbx], 0x3d
jne 0x140041cde
xor eax, eax
jmp 0x140041ce3
sbb eax, eax
or eax, 1
test eax, eax
je 0x140041e88
inc rbx
mov r8, rsi
sub r8, rbx
mov edx, 0x3d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140041cd5
mov rbx, 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov r8, rbx
cmp r14, rbx
cmovb r8, r14
lea rdx, [rsp + 0x60]
test r12b, r12b
cmovne rdx, r15
lea rcx, [rbp - 0x60]
call fcn.1400030e0
or r13d, 2
mov dword [rsp + 0x30], r13d
inc rbx
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xor r14d, r14d
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
mov rax, qword [rsp + 0x70]
cmp rax, rbx
jb 0x140041fb1
sub rax, rbx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
add rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1400030e0
or r13d, 4
mov dword [rsp + 0x30], r13d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rbx, qword [rbp - 0x80]
mov dword [rax], r14d
lea r8d, [r14 + 0xa]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov esi, eax
cmp rbx, qword [rsp + 0x58]
je 0x140041eb9
cmp dword [rdi], 0x22
je 0x140041eab
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x48]
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.1400413a0
mov rcx, qword [rax]
mov dword [rcx + 0x40], esi
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140041e38
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041e33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041e9d
call fcn.1400aa99c
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140041b49
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041e7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041ea4
call fcn.1400aa99c
jmp 0x140041b49
sub rbx, rdi
jmp 0x140041d10
xor r14d, r14d
mov rbx, qword [rsp + 0x38]
jmp 0x140041b49
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140041f07
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041f02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041f02
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa99c
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], 0
mov rcx, qword [rbp - 0x40]
movsxd rdx, dword [rcx + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rdx - 0x40], rax
mov rcx, qword [rbp - 0x40]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xb0]
mov dword [rbp + rdx - 0x44], r8d
lea rcx, [rbp - 0x30]
call fcn.140044730
lea rcx, [rbp - 0x28]
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 + 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, rbx
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1400aa6f0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rdx, str.Couldnt_open_config_file_for_reading._Try_reinstalling_the_program._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140040fa0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.140040e70
int3