Function at 0x14013d350
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1980
call fcn.1401e9500
sub rsp, rax
mov qword [rsp + 0x1960], 0xfffffffffffffffe
mov rax, qword [0x1402bd5c0]
xor rax, rsp
mov qword [rsp + 0x1978], rax
mov qword [rsp + 0x30], 4
mov edx, 1
mov rcx, qword [rsp + 0x1990]
mov rcx, qword [rcx + 8]
call fcn.1400d9910
test eax, eax
je 0x14013d670
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x1990]
mov rdx, qword [rdx + 8]
mov rcx, qword [rsp + 0x1990]
mov rcx, qword [rcx + 0x20]
call fcn.1400da4b0
test eax, eax
je 0x14013d670
mov byte [rsp + 0x1040], 0x54
mov byte [rsp + 0x1041], 0x45
mov byte [rsp + 0x1042], 0x53
mov byte [rsp + 0x1043], 0x54
mov byte [rsp + 0x1044], 0
mov r8d, 4
lea rdx, [rsp + 0x1040]
lea rcx, [rsp + 0x40]
call fcn.1400ce558
test eax, eax
jne 0x14013d670
xor eax, eax
mov word [rsp + 0x1060], ax
lea rdi, [rsp + 0x1062]
xor eax, eax
mov ecx, 0x7fe
rep stosb byte [rdi], al
mov r8d, 0x800
lea rdx, [rsp + 0x1060]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dx, 0x2e
lea rcx, [rsp + 0x1060]
call fcn.14000b150
mov rdx, rax
xor eax, eax
mov word [rdx], ax
lea rdx, [rsp + 0x1060]
lea rcx, [rsp + 0x1950]
call fcn.140002050
nop
mov eax, 0x2e
mov word [rsp + 0x1940], ax
mov eax, 0x69
mov word [rsp + 0x1942], ax
mov eax, WSASetLastError
mov word [rsp + 0x1944], ax
mov eax, 0x69
mov word [rsp + 0x1946], ax
xor eax, eax
mov word [rsp + 0x1948], ax
lea rdx, [rsp + 0x1940]
lea rcx, [rsp + 0x1950]
call fcn.140006080
mov edx, 0x43
mov word [rsp + 0x1048], dx
mov eax, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + 0x104a], ax
mov eax, WSASetLastError
mov word [rsp + 0x104c], ax
mov eax, 0x66
mov word [rsp + 0x104e], ax
mov eax, 0x69
mov word [rsp + 0x1050], ax
mov eax, 0x67
mov word [rsp + 0x1052], ax
xor eax, eax
mov word [rsp + 0x1054], ax
mov eax, 0x52
mov word [rsp + 0x1930], ax
mov eax, 0x65
mov word [rsp + 0x1932], ax
mov eax, 0x67
mov word [rsp + 0x1934], ax
mov eax, 0x43
mov word [rsp + 0x1936], ax
mov eax, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + 0x1938], ax
mov eax, 0x64
mov word [rsp + 0x193a], ax
mov eax, 0x65
mov word [rsp + 0x193c], ax
xor eax, eax
mov word [rsp + 0x193e], ax
lea rcx, [rsp + 0x1950]
call fcn.140050200
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x64
lea r9, [rsp + 0x1860]
lea r8, [0x140246494]
lea rdx, [rsp + 0x1930]
lea rcx, [rsp + 0x1048]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x1860]
lea rcx, [rsp + 0x1958]
call fcn.140002d40
mov qword [rsp + 0x1968], rax
mov rax, qword [rsp + 0x1968]
mov qword [rsp + 0x1970], rax
mov rcx, qword [rsp + 0x1970]
call fcn.140002df0
mov r8, rax
mov rdx, qword [rsp + 0x1990]
mov rdx, qword [rdx + 8]
mov rcx, qword [rsp + 0x1990]
mov rcx, qword [rcx + 0x20]
call fcn.1400db000
nop
lea rcx, [rsp + 0x1958]
call fcn.140002dd0
lea r8, [0x1402466ac]
mov rdx, qword [rsp + 0x1990]
mov rdx, qword [rdx + 8]
mov rcx, qword [rsp + 0x1990]
mov rcx, qword [rcx + 0x20]
call fcn.1400db000
nop
lea rcx, [rsp + 0x1950]
call fcn.140007060
mov eax, 1
mov rcx, qword [rsp + 0x1978]
xor rcx, rsp
call fcn.1400a9820
add rsp, 0x1980
pop rdi
ret