Function at 0x18003fa8c
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x880
mov rax, qword [0x1800830c8]
xor rax, rsp
mov qword [rsp + 0x870], rax
xor ebp, ebp
mov r14d, 0x7cf
lea rcx, [rsp + 0x71]
lea r15d, [rbp + 1]
lea r8d, [r14 + 0x30]
xor edx, edx
mov dword [0x180099cf8], ebp
mov dword [0x180099d48], ebp
mov word [0x180099d04], r14w
mov dword [0x180099d00], r15d
mov dword [0x18009ac5c], r15d
mov dword [0x180099cfc], ebp
mov dword [0x18009ac58], ebp
mov qword [0x18009acc0], rbp
mov word [0x18009acb8], r14w
mov byte [rsp + 0x70], bpl
call fcn.180052810
lea r12d, [r14 + 0x31]
lea rcx, [rsp + 0x70]
mov r8, r12
xor edx, edx
call fcn.180052810
lea rbx, [0x180099d60]
lea rdi, [0x180099d4c]
mov esi, 0xa0
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 0x14]
call fcn.180052810
mov dword [rbx], ebp
add rbx, 0x18
add rdi, 0x18
sub rsi, r15
jne 0x18003fb41
mov dword [0x18009ac4c], ebp
mov dword [0x18009ac54], ebp
call fcn.180023414
cmp eax, ebp
jne 0x18003fb7a
xor eax, eax
jmp 0x1800403d7
lea rcx, [rsp + 0x70]
mov r8, r12
xor edx, edx
call fcn.180052810
lea rdi, str.GlobalSettings
lea rsi, [0x18009b470]
lea r9, [rsp + 0x70]
lea rdx, str.MaxConnections
mov rcx, rdi
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebp
jbe 0x18003fbfa
lea rcx, [rsp + 0x70]
call fcn.1800529c0
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.18000b550
lea rcx, [rsp + 0x70]
call fcn.18000496c
cmp eax, ebp
je 0x18003fbf4
lea rcx, [rsp + 0x70]
call fcn.180054324
mov dword [0x180099cf8], eax
jmp 0x18003fbfa
mov dword [0x180099cf8], ebp
lea rcx, [rsp + 0x70]
mov r8, r12
xor edx, edx
call fcn.180052810
lea r9, [rsp + 0x70]
lea rdx, str.BandWidth
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebp
jbe 0x18003fc6c
lea rcx, [rsp + 0x70]
call fcn.1800529c0
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.18000b550
lea rcx, [rsp + 0x70]
call fcn.18000496c
cmp eax, ebp
je 0x18003fc66
lea rcx, [rsp + 0x70]
call fcn.180054324
mov dword [0x180099cfc], eax
jmp 0x18003fc6c
mov dword [0x180099cfc], ebp
lea rcx, [rsp + 0x70]
mov r8, r12
xor edx, edx
call fcn.180052810
lea r9, [rsp + 0x70]
lea rdx, str.RemoteAdminEnable
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea r13, [0x1800691f4]
cmp eax, ebp
jbe 0x18003fcdb
lea rcx, [rsp + 0x70]
call fcn.1800529c0
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.18000b550
lea rcx, [rsp + 0x70]
mov rdx, r13
call fcn.180053060
mov ecx, ebp
cmp eax, ebp
sete cl
mov dword [0x180099d00], ecx
jmp 0x18003fce2
mov dword [0x180099d00], r15d
lea rcx, [rsp + 0x70]
mov r8, r12
xor edx, edx
call fcn.180052810
lea r9, [rsp + 0x70]
lea rdx, str.RemoteAdminPort
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebp
jbe 0x18003fd57
lea rcx, [rsp + 0x70]
call fcn.1800529c0
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.18000b550
lea rcx, [rsp + 0x70]
call fcn.18000496c
cmp eax, ebp
je 0x18003fd4f
lea rcx, [rsp + 0x70]
call fcn.180054324
mov word [0x180099d04], ax
jmp 0x18003fd57
mov word [0x180099d04], r14w
lea rcx, [rsp + 0x70]
mov r8, r12
xor edx, edx
call fcn.180052810
lea r9, [rsp + 0x70]
lea rdx, str.RedirectPort
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebp
jbe 0x18003fdc9
lea rcx, [rsp + 0x70]
call fcn.1800529c0
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.18000b550
lea rcx, [rsp + 0x70]
call fcn.18000496c
cmp eax, ebp
je 0x18003fdbd
lea rcx, [rsp + 0x70]
call fcn.180054324
jmp 0x18003fdc2
mov eax, 0x270f
mov word [0x18009acb8], ax
lea rcx, [rsp + 0x70]
mov r8, r12
xor edx, edx
call fcn.180052810
lea r9, [rsp + 0x70]
lea rdx, str.RemoteAdminPass
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov r14d, 0x3f
cmp eax, ebp
jbe 0x18003fe31
lea rcx, [rsp + 0x70]
call fcn.1800529c0
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.18000b550
lea rcx, [rsp + 0x70]
call fcn.1800529c0
cmp eax, 0x20
jne 0x18003fe31
lea rdx, [rsp + 0x70]
jmp 0x18003fe5b
lea rcx, [rsp + 0x31]
mov r8, r14
xor edx, edx
mov byte [rsp + 0x30], bpl
call fcn.180052810
lea rdx, [rsp + 0x30]
lea rcx, str.mysyrinx
call fcn.18003f518
lea rdx, [rsp + 0x30]
mov ebx, 0x40
lea rcx, [0x180099d06]
mov r8, rbx
call fcn.180052a80
lea rcx, [rsp + 0x70]
mov r8, r12
xor edx, edx
call fcn.180052810
lea r9, [rsp + 0x70]
lea rdx, str.AntiHamming
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebp
jbe 0x18003fee1
lea rcx, [rsp + 0x70]
call fcn.1800529c0
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.18000b550
lea rcx, [rsp + 0x70]
call fcn.18000496c
cmp eax, ebp
je 0x18003fedb
lea rcx, [rsp + 0x70]
call fcn.180054324
mov dword [0x180099d48], eax
jmp 0x18003fee1
mov dword [0x180099d48], ebp
lea rcx, [rsp + 0x70]
mov r8, r12
xor edx, edx
call fcn.180052810
lea r9, [rsp + 0x70]
lea rdx, str.BindedIP
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebp
jbe 0x18003ff3b
lea rcx, [rsp + 0x70]
call fcn.1800529c0
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.18000b550
lea rcx, [rsp + 0x70]
call fcn.180012984
cmp eax, ebp
jne 0x18003ff5b
lea rdx, [0x180067838]
lea rcx, [0x180099d4c]
mov r8d, SQLAllocHandle
call fcn.180052a80
mov dword [0x18009ac4c], r15d
lea rcx, [rsp + 0x70]
mov r8, r12
xor edx, edx
call fcn.180052810
lea r9, [rsp + 0x70]
lea rdx, str.IsHideEnable
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebp
jbe 0x18003ffc3
lea rcx, [rsp + 0x70]
call fcn.1800529c0
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.18000b550
lea rcx, [rsp + 0x70]
mov rdx, r13
call fcn.180053060
mov ecx, ebp
cmp eax, ebp
sete cl
mov dword [0x18009ac5c], ecx
jmp 0x18003ffc9
mov dword [0x18009ac5c], ebp
lea rcx, [rsp + 0x70]
mov r8, r12
xor edx, edx
mov dword [0x18009ac60], ebp
call fcn.180052810
lea r9, [rsp + 0x70]
lea rdx, str.IsAutoProxy
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebp
jbe 0x180040035
lea rcx, [rsp + 0x70]
call fcn.1800529c0
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.18000b550
lea rcx, [rsp + 0x70]
mov rdx, r13
call fcn.180053060
mov ecx, ebp
cmp eax, ebp
sete cl
mov dword [0x18009ac60], ecx
lea rcx, [rsp + 0x70]
mov r8, r12
xor edx, edx
mov dword [0x18009ac64], ebp
call fcn.180052810
lea r9, [rsp + 0x70]
lea rdx, str.IsLogEnable
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebp
jbe 0x1800400a1
lea rcx, [rsp + 0x70]
call fcn.1800529c0
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.18000b550
lea rcx, [rsp + 0x70]
mov rdx, r13
call fcn.180053060
mov ecx, ebp
cmp eax, ebp
sete cl
mov dword [0x18009ac64], ecx
mov r8, rbx
lea rbx, [0x18009ac68]
xor edx, edx
mov rcx, rbx
call fcn.180052810
lea rcx, [rsp + 0x70]
mov r8, r12
xor edx, edx
call fcn.180052810
lea rdx, str.Unauthorized_IP
mov r8, r14
mov rcx, rbx
call fcn.180052a80
lea r9, [rsp + 0x70]
lea rdx, str.Banner
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebp
jbe 0x180040123
lea rcx, [rsp + 0x70]
call fcn.1800529c0
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.18000b550
lea rdx, [rsp + 0x70]
mov r8, r14
mov rcx, rbx
call fcn.180052a80
lea rcx, [rsp + 0x70]
mov r8, r12
xor edx, edx
mov dword [0x18009ac50], ebp
call fcn.180052810
lea r9, [rsp + 0x70]
lea rdx, str.MaxLoginPerIP
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebp
jbe 0x180040195
lea rcx, [rsp + 0x70]
call fcn.1800529c0
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.18000b550
lea rcx, [rsp + 0x70]
call fcn.18000496c
cmp eax, ebp
je 0x18004019b
lea rcx, [rsp + 0x70]
call fcn.180054324
mov dword [0x18009ac50], eax
jmp 0x18004019b
mov dword [0x18009ac50], ebp
lea rcx, [rsp + 0x70]
mov r8, r12
xor edx, edx
mov dword [0x18009aca8], r15d
call fcn.180052810
lea r9, [rsp + 0x70]
lea rdx, str.IsDNSEnable
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rbx, [0x180069650]
cmp eax, ebp
jbe 0x180040231
lea rcx, [rsp + 0x70]
call fcn.1800529c0
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.18000b550
lea rcx, [rsp + 0x70]
mov rdx, r13
call fcn.180053060
cmp eax, ebp
je 0x180040217
lea rcx, [rsp + 0x70]
mov rdx, rbx
call fcn.180053060
cmp eax, ebp
jne 0x180040231
lea rcx, [rsp + 0x70]
mov rdx, r13
call fcn.180053060
mov ecx, ebp
cmp eax, ebp
sete cl
mov dword [0x18009aca8], ecx
lea rcx, [rsp + 0x70]
mov r8, r12
xor edx, edx
mov dword [0x18009acac], ebp
call fcn.180052810
lea r9, [rsp + 0x70]
lea rdx, str.IsEncryptionEnable
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebp
jbe 0x1800402bf
lea rcx, [rsp + 0x70]
call fcn.1800529c0
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.18000b550
lea rcx, [rsp + 0x70]
mov rdx, r13
call fcn.180053060
cmp eax, ebp
je 0x1800402a5
lea rcx, [rsp + 0x70]
mov rdx, rbx
call fcn.180053060
cmp eax, ebp
jne 0x1800402bf
lea rcx, [rsp + 0x70]
mov rdx, r13
call fcn.180053060
mov ecx, ebp
cmp eax, ebp
sete cl
mov dword [0x18009acac], ecx
lea rcx, [rsp + 0x70]
mov r8, r12
xor edx, edx
mov dword [0x18009acb0], ebp
call fcn.180052810
lea r9, [rsp + 0x70]
lea rdx, str.IsShieldEnable
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebp
jbe 0x18004034d
lea rcx, [rsp + 0x70]
call fcn.1800529c0
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.18000b550
lea rcx, [rsp + 0x70]
mov rdx, r13
call fcn.180053060
cmp eax, ebp
je 0x180040333
lea rcx, [rsp + 0x70]
mov rdx, rbx
call fcn.180053060
cmp eax, ebp
jne 0x18004034d
lea rcx, [rsp + 0x70]
mov rdx, r13
call fcn.180053060
mov ecx, ebp
cmp eax, ebp
sete cl
mov dword [0x18009acb0], ecx
lea rcx, [rsp + 0x70]
mov ebx, 8
mov r8, r12
xor edx, edx
mov dword [0x18009acb4], ebx
call fcn.180052810
lea r9, [rsp + 0x70]
lea rdx, str.ConnectionTimeOut
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebp
jbe 0x1800403ad
lea rcx, [rsp + 0x70]
call fcn.18000496c
cmp eax, ebp
je 0x1800403ad
lea rcx, [rsp + 0x70]
call fcn.180054324
mov dword [0x18009acb4], eax
jmp 0x1800403b3
mov eax, dword [0x18009acb4]
cmp eax, 4
jb 0x1800403bd
cmp eax, 0x10
jbe 0x1800403c3
mov dword [0x18009acb4], ebx
mov qword [0x18009acc8], rbp
call fcn.18000b8bc
call fcn.1800124c8
mov eax, r15d
mov rcx, qword [rsp + 0x870]
xor rcx, rsp
call fcn.1800527e0
lea r11, [rsp + 0x880]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret