Function at 0x1800289c8
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x318
mov rax, qword [0x1800830c8]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov r15, qword [rsp + 0x380]
mov r13, qword [rsp + 0x388]
mov rdi, rcx
mov rsi, r8
mov qword [rsp + 0x30], r8
mov rbx, rdx
mov ebp, 0x103
lea rcx, [rsp + 0x1f1]
xor edx, edx
mov r8, rbp
mov r14, r9
mov byte [rsp + 0x1f0], 0
call fcn.180052810
mov rcx, rsi
call fcn.180004a30
test eax, eax
jne 0x180028e73
mov rcx, r14
call fcn.180004a30
test eax, eax
jne 0x180028e73
mov rcx, r15
call fcn.180004a30
test eax, eax
jne 0x180028e73
mov rcx, r13
call fcn.180004a30
test eax, eax
jne 0x180028e73
mov byte [rsp + 0x48], al
xor eax, eax
lea rcx, [rsp + 0x71]
lea esi, [rax + 0x7f]
xor edx, edx
xor r12d, r12d
mov r8, rsi
mov qword [rsp + 0x49], rax
mov dword [rsp + 0x51], eax
mov word [rsp + 0x55], ax
mov byte [rsp + 0x57], al
xor ebp, ebp
mov byte [rsp + 0x70], al
call fcn.180052810
xor eax, eax
xor ecx, ecx
mov r8, rsi
xor edx, edx
mov byte [rsp + 0x40], cl
mov byte [rsp + 0x58], cl
mov byte [rsp + 0x38], cl
mov byte [rsp + 0xf0], cl
lea rcx, [rsp + 0xf1]
mov dword [rsp + 0x41], eax
mov word [rsp + 0x45], ax
mov byte [rsp + 0x47], al
mov qword [rsp + 0x59], rax
mov qword [rsp + 0x61], rax
mov word [rsp + 0x69], ax
mov byte [rsp + 0x6b], al
mov dword [rsp + 0x39], eax
mov word [rsp + 0x3d], ax
mov byte [rsp + 0x3f], al
call fcn.180052810
lea rcx, [rsp + 0x171]
mov r8, rsi
xor edx, edx
mov byte [rsp + 0x170], bpl
call fcn.180052810
test rbx, rbx
jne 0x180028b25
lea rdx, [0x180067870]
mov rcx, rdi
call fcn.180012d7c
xor esi, esi
cmp r12d, 0xc8
ja 0x180028e54
xor edx, edx
lea rcx, [rsp + 0x48]
lea r8d, [rdx + 0x10]
call fcn.180052810
lea r8, str.User_d
lea rcx, [rsp + 0x48]
mov r9d, esi
mov edx, SQLNumResultCols
call fcn.1800528fc
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8d, 0x80
call fcn.180052810
lea rax, [0x18009b470]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rdx, str.UserName
lea rcx, [rsp + 0x48]
xor r8d, r8d
mov dword [rsp + 0x20], 0x80
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x180028ba9
inc r12d
jmp 0x180028e46
lea rcx, [rsp + 0x70]
call fcn.1800529c0
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.18000b550
xor edx, edx
lea rcx, [rsp + 0x40]
lea r8d, [rdx + 8]
call fcn.180052810
lea rax, [0x18009b470]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, str.ChainProxy
lea rcx, [rsp + 0x48]
xor r8d, r8d
mov dword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rsp + 0x40]
call fcn.1800529c0
lea rcx, [rsp + 0x40]
mov rdx, rax
call fcn.18000b550
lea rdx, [0x1800691f4]
lea rcx, [rsp + 0x40]
call fcn.180053060
test eax, eax
jne 0x180028e46
lea r8d, [rax + 0x14]
lea rcx, [rsp + 0x58]
xor edx, edx
call fcn.180052810
lea rax, [0x18009b470]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rdx, str.RemoteProxy
lea rcx, [rsp + 0x48]
xor r8d, r8d
mov dword [rsp + 0x20], SQLColAttribute
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rsp + 0x58]
call fcn.1800529c0
lea rcx, [rsp + 0x58]
mov rdx, rax
call fcn.18000b550
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.180053060
test eax, eax
jne 0x180028e46
lea r8d, [rax + 8]
lea rcx, [rsp + 0x38]
xor edx, edx
call fcn.180052810
lea rax, [0x18009b470]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.RemotePort
lea rcx, [rsp + 0x48]
xor r8d, r8d
mov dword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rsp + 0x38]
call fcn.1800529c0
lea rcx, [rsp + 0x38]
mov rdx, rax
call fcn.18000b550
lea rcx, [rsp + 0x38]
mov rdx, r14
call fcn.180053060
test eax, eax
jne 0x180028e46
lea rcx, [rsp + 0xf0]
xor edx, edx
mov r8d, 0x80
call fcn.180052810
lea rax, [0x18009b470]
lea r9, [rsp + 0xf0]
mov qword [rsp + 0x28], rax
lea rdx, str.RemoteUserName
lea rcx, [rsp + 0x48]
xor r8d, r8d
mov dword [rsp + 0x20], 0x80
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rsp + 0xf0]
call fcn.1800529c0
lea rcx, [rsp + 0xf0]
mov rdx, rax
call fcn.18000b550
lea rcx, [rsp + 0xf0]
mov rdx, r15
call fcn.180053060
test eax, eax
jne 0x180028e46
lea rcx, [rsp + 0x170]
xor edx, edx
mov r8d, 0x80
call fcn.180052810
lea rax, [0x18009b470]
lea r9, [rsp + 0x170]
mov qword [rsp + 0x28], rax
lea rdx, str.RemotePassword
lea rcx, [rsp + 0x48]
xor r8d, r8d
mov dword [rsp + 0x20], 0x80
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rsp + 0x170]
mov rdx, r13
call fcn.180053060
test eax, eax
jne 0x180028e46
lea rcx, [rsp + 0x170]
call fcn.1800529c0
lea rcx, [rsp + 0x170]
mov rdx, rax
call fcn.18000b550
mov edx, 0x103
lea rcx, [rsp + 0x1f0]
test rbx, rbx
jne 0x180028e1b
lea r9, [rsp + 0x70]
lea r8, str._s_r_n
call fcn.1800528fc
jmp 0x180028e34
lea rax, [rsp + 0x70]
lea r8, str.PRIVMSG__s_:_s_r_n
mov r9, rbx
mov qword [rsp + 0x20], rax
call fcn.1800528fc
lea rdx, [rsp + 0x1f0]
mov rcx, rdi
call fcn.180012d7c
inc ebp
inc esi
cmp esi, 0x3e8
jb 0x180028b27
test ebp, ebp
je 0x180028e6c
test rbx, rbx
jne 0x180028e6c
lea rdx, [0x180067870]
mov rcx, rdi
call fcn.180012d7c
mov eax, 1
jmp 0x180028eb2
mov rdx, rbp
lea rcx, [rsp + 0x1f0]
test rbx, rbx
jne 0x180028e91
lea r8, str._r_nThe_Input_Is_Invalid_r_n_r_n
call fcn.1800528fc
jmp 0x180028ea0
lea r8, str.PRIVMSG__s_:The_Input_Is_Invalid_r_n
mov r9, rbx
call fcn.1800528fc
lea rdx, [rsp + 0x1f0]
mov rcx, rdi
call fcn.180012d7c
xor eax, eax
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1800527e0
add rsp, 0x318
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret