Function at 0x14000d7d0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x4d0
mov rax, qword [0x1400e3008]
xor rax, rsp
mov qword [rsp + 0x4c0], rax
mov rbp, rcx
lea rcx, [rsp + 0x30]
call fcn.140002b80
xor edx, edx
lea rcx, [rsp + 0x450]
lea r8d, [rdx + 0x64]
call fcn.1400a3240
lea r14, str..MHPServer.ini
mov qword [rsp + 0x28], r14
lea r9, [rbp + 0x58]
lea r8, [0x1400cbfe0]
mov dword [rsp + 0x20], 8
lea rdx, str.ClientVersion
lea rcx, str.MHPServerInfo
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea r9, [rbp + 0x60]
mov qword [rsp + 0x28], r14
lea r8, [0x1400cbfe0]
mov dword [rsp + 0x20], socket
lea rdx, str.ClientSerial
lea rcx, str.MHPServerInfo
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov r9, r14
lea rdx, str.MaxIpConnection
xor r8d, r8d
lea rcx, str.MHPServerInfo
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9, r14
lea rdx, str.MaxHwConnection
lea rcx, str.MHPServerInfo
mov dword [rbp + 0x74], eax
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9, r14
lea rdx, str.ReconnectSwitch
lea rcx, str.MHPServerInfo
mov dword [rbp + 0x78], eax
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9, r14
lea rdx, str.DetectionLockCount
lea rcx, str.MHPServerInfo
mov byte [rbp + 0x7c], al
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9, r14
lea rdx, str.DetectionLockTimer
lea rcx, str.MHPServerInfo
mov dword [rbp + 0x80], eax
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9, r14
lea rdx, str.EncDecType
lea rcx, str.MHPServerInfo
mov dword [rbp + 0x84], eax
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9, r14
lea rdx, str.EncDecKey1
lea rcx, str.MHPServerInfo
mov byte [rbp + 0x88], al
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9, r14
lea rdx, str.EncDecKey2
lea rcx, str.MHPServerInfo
mov byte [rbp + 0x89], al
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9, r14
lea rdx, str.CheckMemorySwitch
lea rcx, str.MHPServerInfo
mov byte [rbp + 0x8a], al
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9, r14
lea rdx, str.CheckHandleSwitch
lea rcx, str.MHPServerInfo
mov byte [rbp + 0x9f], al
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9, r14
mov byte [rbp + 0xa0], al
xor r8d, r8d
lea rdx, str.CheckSpeedSwitch
lea rcx, str.MHPServerInfo
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9, r14
lea rdx, str.CheckSpeedTolerance
lea rcx, str.MHPServerInfo
mov byte [rbp + 0xa1], al
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9, r14
lea rdx, str.CheckLatencySwitch
lea rcx, str.MHPServerInfo
mov dword [rbp + 0xa4], eax
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9, r14
lea rdx, str.CheckLatencyTolerance
lea rcx, str.MHPServerInfo
mov byte [rbp + 0xa8], al
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9, r14
lea rdx, str.CheckTimingSwitch
lea rcx, str.MHPServerInfo
mov dword [rbp + 0xac], eax
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9, r14
lea rdx, str.CheckTimingTolerance
lea rcx, str.MHPServerInfo
mov byte [rbp + 0xb0], al
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9, r14
lea rdx, str.CheckMacroSwitch
lea rcx, str.MHPServerInfo
mov dword [rbp + 0xb4], eax
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9, r14
lea rdx, str.CheckMacroToleranceA
lea rcx, str.MHPServerInfo
mov byte [rbp + 0xb8], al
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9, r14
lea rdx, str.CheckMacroToleranceB
lea rcx, str.MHPServerInfo
mov dword [rbp + 0xbc], eax
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, 1
mov dword [rbp + 0xc0], eax
mov edi, esi
xor ebx, ebx
mov r8d, edi
lea rdx, str.CheckInternalSwitch_d
lea rcx, [rsp + 0x450]
call qword [sym.imp.USER32.dll_wsprintfA]
mov r9, r14
lea rdx, [rsp + 0x450]
xor r8d, r8d
lea rcx, str.MHPServerInfo
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov byte [rbx + rbp + 0x8b], al
inc edi
inc rbx
cmp rbx, 0x14
jl 0x14000dad6
lea rbx, [rbp + 0xc4]
mov edi, socket
nop word [rax + rax]
mov r8d, esi
lea rdx, str.MemoryAddress_d
lea rcx, [rsp + 0x450]
call qword [sym.imp.USER32.dll_wsprintfA]
xor eax, eax
mov qword [rsp + 0x28], r14
lea r9, [rsp + 0x430]
mov qword [rsp + 0x431], rax
lea r8, [0x1400d39d8]
mov qword [rsp + 0x439], rax
lea rdx, [rsp + 0x450]
mov word [rsp + 0x441], ax
lea rcx, str.MHPServerInfo
mov byte [rsp + 0x443], al
mov byte [rsp + 0x430], 0
mov dword [rsp + 0x20], socket
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor r8d, r8d
lea rcx, [rsp + 0x430]
xor edx, edx
call fcn.1400adb30
inc esi
mov dword [rbx], eax
lea rbx, [rbx + 4]
sub rdi, 1
jne 0x14000db30
lea r8, [rbp + 0x114]
lea rcx, [rsp + 0x30]
call fcn.140002ce0
test al, al
jne 0x14000dbe1
mov dword [rbp + 0x114], edi
mov rcx, qword [rsp + 0x4c0]
xor rcx, rsp
call fcn.1400a02d0
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret