Function at 0x180137aa0
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x298]
sub rsp, 0x370
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1806c4cd8]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov r15, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor r12d, r12d
mov edi, r12d
mov dword [rsp + 0x30], r12d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x180601b00]
movdqu xmmword [rsp + 0x58], xmm1
mov word [rsp + 0x48], r12w
lea rcx, [rbp + 8]
call fcn.1802b7610
nop
lea r8, str.config.ini
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1800996e0
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x180137b78
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180137b73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180137b73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rbp + 0x18], xmm0
mov word [rbp + 8], r12w
lea rcx, [rsp + 0x68]
call fcn.18010b7a0
test al, al
je 0x180137f23
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x30]
lea r8, [0x1805c3d08]
lea rdx, [0x1805dbd38]
lea rcx, str.Upgrade
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [rbp + 0x30], 0
je 0x180137f23
lea rcx, [rbp - 0x18]
call fcn.1802b7550
mov rdi, rax
lea rax, [rbp + 0x30]
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x180137c10
mov rcx, qword [rdi + 0x10]
mov r8, qword [rdi + 0x18]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x180137c59
lea r14, [rdx + rcx]
mov qword [rdi + 0x10], r14
mov rsi, rdi
cmp r8, 8
jb 0x180137c41
mov rsi, qword [rdi]
lea r8, [rdx + rdx]
lea rcx, [rsi + rcx*2]
lea rdx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memmove
mov word [rsi + r14*2], r12w
jmp 0x180137c6d
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x30]
mov rcx, rdi
call fcn.1800998c0
mov rdi, rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
movups xmm7, xmmword [rdi]
movups xmmword [rbp - 0x78], xmm7
movups xmm6, xmmword [rdi + 0x10]
movdqu xmmword [rbp - 0x68], xmm6
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 7
mov word [rdi], r12w
mov edi, 8
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x48]
call fcn.18007d9c0
movups xmmword [rsp + 0x48], xmm7
movups xmmword [rsp + 0x58], xmm6
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r12w
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r12w
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x180137d18
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180137d13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180137d13
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], r12w
lea rcx, [rsp + 0x48]
call fcn.18010b8f0
test al, al
je 0x180137f23
cmp qword [r15 + 0x10], 0
jne 0x180137dd0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r12w
or edi, 1
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x180137db7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180137db2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180137db2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r12w
jmp 0x180138344
mov r8, r15
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.18010e780
nop
lea rcx, [rbp - 0x78]
call fcn.18010b7a0
test al, al
je 0x180137ece
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x48]
call fcn.18010dd70
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r12w
or edi, 1
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x180137e71
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180137e6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180137e6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r12w
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x180137db7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180137db2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180137db2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x180137f11
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180137f0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180137f0c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r12w
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
movdqa xmm1, xmmword [0x180601b00]
movdqu xmmword [rbp - 0x68], xmm1
mov word [rbp - 0x78], r12w
movdqu xmmword [rbp - 0x48], xmm0
movdqu xmmword [rbp - 0x48], xmm1
mov word [rbp - 0x58], r12w
mov r8d, 7
lea rdx, str.2345Pic
lea rcx, [rbp - 0x58]
call fcn.18007da60
nop
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x48]
lea rcx, [rbp - 0x78]
call fcn.18007da60
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x180137fc2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180137fbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180137fbd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r12w
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x78]
call fcn.1802c9250
mov rsi, rax
lea rax, [rsp + 0x48]
cmp rax, rsi
je 0x180138019
lea rcx, [rsp + 0x48]
call fcn.18007d9c0
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x18013805c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180138057
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180138057
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], r12w
lea rcx, [rsp + 0x48]
call fcn.18010b8f0
test al, al
je 0x180138110
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x48]
call fcn.18010dd70
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r12w
or edi, 1
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x78]
call fcn.18007d9c0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x180137db7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180137db2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180137db2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp - 0x38]
call fcn.1802b6400
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x38]
call fcn.18010c940
lea rcx, [rsp + 0x48]
call fcn.18010b8f0
test al, al
je 0x18013821f
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x48]
call fcn.18010dd70
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r12w
or edi, 1
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x1801381b8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801381b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801381b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x38], r12w
lea rcx, [rbp - 0x78]
call fcn.18007d9c0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x180137db7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180137db2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180137db2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
xor r8d, r8d
lea rdx, [0x1805c3d08]
mov rcx, rbx
call fcn.18007da60
or edi, 1
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x18013828b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180138286
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180138286
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x38], r12w
lea rcx, [rbp - 0x78]
call fcn.18007d9c0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x1801382eb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801382e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801382e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r12w
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x180138344
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18013833f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18013833f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r12w
mov rax, rbx
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.1804688c0
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret