Function at 0x18001a36c
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x1d0
mov rax, qword [0x1800830c8]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
xor eax, eax
xor ebx, ebx
mov rdi, rcx
mov rsi, rdx
lea ebp, [rbx + 8]
lea rcx, [rsp + 0x38]
xor edx, edx
mov r8, rbp
mov byte [rsp + 0x38], bl
mov dword [rsp + 0x39], eax
mov word [rsp + 0x3d], ax
mov byte [rsp + 0x3f], al
call fcn.180052810
lea r14d, [rbx + 0x7f]
lea rcx, [rsp + 0x41]
mov r8, r14
xor edx, edx
mov byte [rsp + 0x40], bl
call fcn.180052810
lea r13d, [rbp + 0x78]
lea rcx, [rsp + 0x40]
mov r8, r13
xor edx, edx
call fcn.180052810
lea r12, [0x18009b470]
lea r9, [rsp + 0x38]
lea rdx, str.ChainProxy
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x28], r12
mov dword [rdi + 0x160], ebx
mov qword [rdi + 0x150], rbx
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebx
je 0x18001a7ef
lea rcx, [rsp + 0x38]
call fcn.1800529c0
lea rcx, [rsp + 0x38]
mov rdx, rax
call fcn.18000b550
lea rdx, [0x1800691f4]
lea rcx, [rsp + 0x38]
call fcn.180053060
cmp eax, ebx
jne 0x18001a7ef
lea r9, [rsp + 0x40]
lea rdx, str.RemoteProxy
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebx
je 0x18001a7ef
lea rcx, [rsp + 0x40]
call fcn.1800529c0
lea rcx, [rsp + 0x40]
mov rdx, rax
call fcn.18000b550
xor eax, eax
lea r9, [rsp + 0x30]
lea rdx, str.RemotePort
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x28], r12
mov byte [rsp + 0x30], bl
mov dword [rsp + 0x31], eax
mov word [rsp + 0x35], ax
mov byte [rsp + 0x37], al
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebx
je 0x18001a7ef
lea rcx, [rsp + 0x30]
call fcn.1800529c0
lea rcx, [rsp + 0x30]
mov rdx, rax
call fcn.18000b550
lea rcx, [rsp + 0x30]
call fcn.18000496c
cmp eax, ebx
je 0x18001a7ef
lea rcx, [rsp + 0x30]
call fcn.180054324
cmp eax, ebx
jle 0x18001a7ef
lea rcx, [rsp + 0x30]
call fcn.180054324
cmp eax, 0xffff
jg 0x18001a7ef
lea rcx, [rsp + 0xc1]
mov r8, r14
xor edx, edx
mov ebp, ebx
mov byte [rsp + 0xc0], bl
call fcn.180052810
lea rcx, [rsp + 0x141]
mov r8, r14
xor edx, edx
mov byte [rsp + 0x140], bl
call fcn.180052810
lea rcx, [rsp + 0xc0]
mov r8, r13
xor edx, edx
call fcn.180052810
lea rcx, [rsp + 0x140]
mov r8, r13
xor edx, edx
call fcn.180052810
lea r9, [rsp + 0xc0]
lea rdx, str.RemoteUserName
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebx
jle 0x18001a60f
lea rcx, [rsp + 0xc0]
call fcn.1800529c0
lea rcx, [rsp + 0xc0]
mov rdx, rax
call fcn.18000b550
lea r9, [rsp + 0x140]
lea rdx, str.RemotePassword
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebx
jbe 0x18001a60f
lea rcx, [rsp + 0x140]
call fcn.1800529c0
lea rcx, [rsp + 0x140]
mov rdx, rax
call fcn.18000b550
lea ebp, [rbx + 1]
mov ecx, 0x20
call fcn.180052e88
mov qword [rdi + 0x150], rax
cmp rax, rbx
je 0x18001a7ef
mov qword [rax], rbx
mov rax, qword [rdi + 0x150]
lea rcx, [rsp + 0x30]
mov qword [rax + 0x10], rbx
call fcn.180054324
mov rcx, qword [rdi + 0x150]
mov word [rcx + 8], ax
mov rax, qword [rdi + 0x150]
lea rcx, [rsp + 0x40]
mov qword [rax + 0x18], rbx
call fcn.1800529c0
lea esi, [rax + 2]
mov ecx, esi
call fcn.180006f1c
mov rcx, qword [rdi + 0x150]
mov qword [rcx], rax
mov rcx, qword [rdi + 0x150]
cmp qword [rcx], rbx
je 0x18001a797
mov rcx, qword [rcx]
mov r8d, esi
xor edx, edx
call fcn.180052810
mov rcx, qword [rdi + 0x150]
lea rdx, [rsp + 0x40]
mov rcx, qword [rcx]
call fcn.180053170
cmp ebp, ebx
je 0x18001a760
lea rcx, [rsp + 0xc0]
call fcn.1800529c0
lea esi, [rax + 2]
mov ecx, esi
call fcn.180006f1c
mov rcx, qword [rdi + 0x150]
mov qword [rcx + 0x10], rax
mov rcx, qword [rdi + 0x150]
mov rax, qword [rcx + 0x10]
cmp rax, rbx
je 0x18001a780
mov r8d, esi
xor edx, edx
mov rcx, rax
call fcn.180052810
mov rcx, qword [rdi + 0x150]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rcx + 0x10]
call fcn.180053170
lea rcx, [rsp + 0x140]
call fcn.1800529c0
lea esi, [rax + 2]
mov ecx, esi
call fcn.180006f1c
mov rcx, qword [rdi + 0x150]
mov qword [rcx + 0x18], rax
mov rcx, qword [rdi + 0x150]
mov rax, qword [rcx + 0x18]
cmp rax, rbx
je 0x18001a780
mov r8d, esi
xor edx, edx
mov rcx, rax
call fcn.180052810
mov rcx, qword [rdi + 0x150]
lea rdx, [rsp + 0x140]
mov rcx, qword [rcx + 0x18]
call fcn.180053170
lea rdx, [0x1800691f4]
lea rcx, [rsp + 0x38]
call fcn.180053060
cmp eax, ebx
sete bl
mov dword [rdi + 0x160], ebx
mov eax, ebx
jmp 0x18001a7f1
cmp qword [rcx], rbx
je 0x18001a797
mov rcx, qword [rcx]
call fcn.180052e48
mov r11, qword [rdi + 0x150]
mov qword [r11], rbx
mov rax, qword [rdi + 0x150]
mov rcx, qword [rax + 0x10]
cmp rcx, rbx
je 0x18001a7b7
call fcn.180052e48
mov r11, qword [rdi + 0x150]
mov qword [r11 + 0x10], rbx
mov rax, qword [rdi + 0x150]
mov rcx, qword [rax + 0x18]
cmp rcx, rbx
je 0x18001a7d7
call fcn.180052e48
mov r11, qword [rdi + 0x150]
mov qword [r11 + 0x18], rbx
mov rcx, qword [rdi + 0x150]
cmp rcx, rbx
je 0x18001a7ef
call fcn.180052e48
mov qword [rdi + 0x150], rbx
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1800527e0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret