Function at 0x1800124c8
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
sub rsp, 0x1d0
mov rax, qword [0x1800830c8]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
xor eax, eax
xor ebx, ebx
lea rcx, [rsp + 0x38]
lea esi, [rbx + 8]
xor edx, edx
mov byte [rsp + 0x38], bl
mov r8, rsi
mov dword [rsp + 0x39], eax
mov word [rsp + 0x3d], ax
mov byte [rsp + 0x3f], al
call fcn.180052810
lea r13d, [rbx + 0x7f]
lea rcx, [rsp + 0x41]
mov r8, r13
xor edx, edx
mov byte [rsp + 0x40], bl
call fcn.180052810
lea r12d, [rsi + 0x78]
lea rcx, [rsp + 0x40]
mov r8, r12
xor edx, edx
call fcn.180052810
lea rdi, str.GlobalSettings
lea rbp, [0x18009b470]
lea r9, [rsp + 0x38]
lea rdx, str.EnableProxy
mov rcx, rdi
xor r8d, r8d
mov qword [rsp + 0x28], rbp
mov dword [0x18009ac58], ebx
mov qword [0x18009acc0], rbx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebx
je 0x180012955
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 0x180012955
lea r9, [rsp + 0x40]
lea rdx, str.RemoteProxy
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebx
je 0x180012955
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, rdi
mov qword [rsp + 0x28], rbp
mov byte [rsp + 0x30], bl
mov dword [rsp + 0x31], eax
mov word [rsp + 0x35], ax
mov byte [rsp + 0x37], al
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebx
je 0x180012955
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 0x180012955
lea rcx, [rsp + 0x30]
call fcn.180054324
cmp eax, ebx
jle 0x180012955
lea rcx, [rsp + 0x30]
call fcn.180054324
cmp eax, 0xffff
jg 0x180012955
lea rcx, [rsp + 0xc1]
mov r8, r13
xor edx, edx
mov esi, ebx
mov byte [rsp + 0xc0], bl
call fcn.180052810
lea rcx, [rsp + 0x141]
mov r8, r13
xor edx, edx
mov byte [rsp + 0x140], bl
call fcn.180052810
lea rcx, [rsp + 0xc0]
mov r8, r12
xor edx, edx
call fcn.180052810
lea rcx, [rsp + 0x140]
mov r8, r12
xor edx, edx
call fcn.180052810
lea r9, [rsp + 0xc0]
lea rdx, str.RemoteUserName
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebx
jle 0x18001276e
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, rdi
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebx
jbe 0x18001276e
lea rcx, [rsp + 0x140]
call fcn.1800529c0
lea rcx, [rsp + 0x140]
mov rdx, rax
call fcn.18000b550
lea esi, [rbx + 1]
mov ecx, 0x20
call fcn.180052e88
mov qword [0x18009acc0], rax
cmp rax, rbx
je 0x180012955
mov qword [rax], rbx
mov rax, qword [0x18009acc0]
lea rcx, [rsp + 0x30]
mov qword [rax + 0x10], rbx
call fcn.180054324
mov rcx, qword [0x18009acc0]
mov word [rcx + 8], ax
mov rax, qword [0x18009acc0]
lea rcx, [rsp + 0x40]
mov qword [rax + 0x18], rbx
call fcn.1800529c0
lea edi, [rax + 2]
mov ecx, edi
call fcn.180006f1c
mov rcx, qword [0x18009acc0]
mov qword [rcx], rax
mov rcx, qword [0x18009acc0]
mov rax, qword [rcx]
cmp rax, rbx
je 0x180012903
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.180052810
mov rcx, qword [0x18009acc0]
lea rdx, [rsp + 0x40]
mov rcx, qword [rcx]
call fcn.180053170
cmp esi, ebx
je 0x1800128c2
lea rcx, [rsp + 0xc0]
call fcn.1800529c0
lea edi, [rax + 2]
mov ecx, edi
call fcn.180006f1c
mov rcx, qword [0x18009acc0]
mov qword [rcx + 0x10], rax
mov rcx, qword [0x18009acc0]
mov rax, qword [rcx + 0x10]
cmp rax, rbx
je 0x1800128e2
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.180052810
mov rcx, qword [0x18009acc0]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rcx + 0x10]
call fcn.180053170
lea rcx, [rsp + 0x140]
call fcn.1800529c0
lea edi, [rax + 2]
mov ecx, edi
call fcn.180006f1c
mov rcx, qword [0x18009acc0]
mov qword [rcx + 0x18], rax
mov rcx, qword [0x18009acc0]
mov rax, qword [rcx + 0x18]
cmp rax, rbx
je 0x1800128e2
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.180052810
mov rcx, qword [0x18009acc0]
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 [0x18009ac58], ebx
mov eax, ebx
jmp 0x180012957
mov rax, qword [rcx]
cmp rax, rbx
je 0x180012903
mov rcx, rax
call fcn.180052e48
mov r11, qword [0x18009acc0]
mov qword [r11], rbx
mov rcx, qword [0x18009acc0]
mov rax, qword [rcx + 0x10]
cmp rax, rbx
je 0x180012926
mov rcx, rax
call fcn.180052e48
mov r11, qword [0x18009acc0]
mov qword [r11 + 0x10], rbx
mov rcx, qword [0x18009acc0]
mov rax, qword [rcx + 0x18]
cmp rax, rbx
je 0x180012949
mov rcx, rax
call fcn.180052e48
mov r11, qword [0x18009acc0]
mov qword [r11 + 0x18], rbx
mov rcx, qword [0x18009acc0]
call fcn.180052e48
mov qword [0x18009acc0], rbx
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1800527e0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret