Function at 0x14001e090
Capabilities:
Read .ini file

Disassembly:
push rbx
push rsi
push r12
push r13
sub rsp, 0x1d8
mov rax, qword [0x1400950c8]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov rbx, rcx
mov r12, rdx
xor eax, eax
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x80
mov qword [rsp + 0x38], rax
call fcn.14005fe50
xor esi, esi
lea r13, [0x1400ad4c0]
lea r9, [rsp + 0x38]
lea rdx, str.ChainProxy
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x28], r13
mov dword [rbx + 0x160], esi
mov qword [rbx + 0x150], rsi
mov dword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14001e4df
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x1d0], rdi
xor eax, eax
lea rdi, [rsp + 0x38]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0x38]
mov edx, edx
call fcn.14000cac0
lea rdx, [0x14007795c]
lea rcx, [rsp + 0x38]
call fcn.1400605e0
test eax, eax
jne 0x14001e573
lea r9, [rsp + 0x40]
lea rdx, str.RemoteProxy
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x80
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14001e573
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0x40]
mov edx, edx
call fcn.14000cac0
xor eax, eax
lea r9, [rsp + 0x30]
lea rdx, str.RemotePort
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x28], r13
mov byte [rsp + 0x30], sil
mov dword [rsp + 0x31], eax
mov word [rsp + 0x35], ax
mov byte [rsp + 0x37], al
mov dword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14001e573
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x30]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0x30]
mov edx, edx
call fcn.14000cac0
lea rcx, [rsp + 0x30]
call fcn.140004d50
test eax, eax
je 0x14001e573
lea rcx, [rsp + 0x30]
call fcn.140061730
test eax, eax
jle 0x14001e573
lea rcx, [rsp + 0x30]
call fcn.140061730
cmp eax, 0xffff
jg 0x14001e573
lea rcx, [rsp + 0xc0]
xor edx, edx
mov r8d, 0x80
mov qword [rsp + 0x210], rbp
mov ebp, esi
call fcn.14005fe50
lea rcx, [rsp + 0x140]
xor edx, edx
mov r8d, 0x80
call fcn.14005fe50
lea r9, [rsp + 0xc0]
lea rdx, str.RemoteUserName
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x80
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jle 0x14001e317
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0xc0]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0xc0]
mov edx, edx
call fcn.14000cac0
lea r9, [rsp + 0x140]
lea rdx, str.RemotePassword
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x80
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14001e317
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x140]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0x140]
mov edx, edx
call fcn.14000cac0
mov ebp, 1
mov ecx, 0x20
call fcn.140060408
mov qword [rbx + 0x150], rax
test rax, rax
je 0x14001e56c
mov qword [rax], rsi
mov rax, qword [rbx + 0x150]
lea rcx, [rsp + 0x30]
mov qword [rax + 0x10], rsi
call fcn.140061730
mov rcx, qword [rbx + 0x150]
mov word [rcx + 8], ax
mov rax, qword [rbx + 0x150]
or rcx, 0xffffffffffffffff
mov qword [rax + 0x18], rsi
xor eax, eax
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx + 1]
mov ecx, edi
call fcn.140007720
mov rdx, qword [rbx + 0x150]
mov qword [rdx], rax
mov rcx, qword [rbx + 0x150]
cmp qword [rcx], rsi
je 0x14001e4fd
mov rcx, qword [rcx]
mov r8d, edi
xor edx, edx
call fcn.14005fe50
mov rax, qword [rbx + 0x150]
lea rdx, [rsp + 0x40]
mov rcx, qword [rax]
movzx eax, byte [rdx]
inc rcx
inc rdx
mov byte [rcx - 1], al
test al, al
jne 0x14001e3b0
test ebp, ebp
je 0x14001e4b0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0xc0]
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx + 1]
mov ecx, edi
call fcn.140007720
mov rdx, qword [rbx + 0x150]
mov qword [rdx + 0x10], rax
mov rcx, qword [rbx + 0x150]
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x14001e4fd
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.14005fe50
mov rax, qword [rbx + 0x150]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rax + 0x10]
nop word [rax + rax]
movzx eax, byte [rdx]
inc rcx
inc rdx
mov byte [rcx - 1], al
test al, al
jne 0x14001e430
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x140]
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx + 1]
mov ecx, edi
call fcn.140007720
mov rdx, qword [rbx + 0x150]
mov qword [rdx + 0x18], rax
mov rcx, qword [rbx + 0x150]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14001e4fd
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.14005fe50
mov rax, qword [rbx + 0x150]
lea rdx, [rsp + 0x140]
mov rax, qword [rax + 0x18]
nop dword [rax]
movzx ecx, byte [rdx]
inc rax
inc rdx
mov byte [rax - 1], cl
test cl, cl
jne 0x14001e4a0
lea rdx, [0x14007795c]
lea rcx, [rsp + 0x38]
call fcn.1400605e0
test eax, eax
sete sil
mov dword [rbx + 0x160], esi
mov eax, esi
mov rbp, qword [rsp + 0x210]
mov rdi, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.14005fe20
add rsp, 0x1d8
pop r13
pop r12
pop rsi
pop rbx
ret
cmp qword [rcx], rsi
je 0x14001e514
mov rcx, qword [rcx]
call fcn.1400603c8
mov rdx, qword [rbx + 0x150]
mov qword [rdx], rsi
mov rax, qword [rbx + 0x150]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x14001e534
call fcn.1400603c8
mov rdx, qword [rbx + 0x150]
mov qword [rdx + 0x10], rsi
mov rax, qword [rbx + 0x150]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14001e554
call fcn.1400603c8
mov rdx, qword [rbx + 0x150]
mov qword [rdx + 0x18], rsi
mov rcx, qword [rbx + 0x150]
test rcx, rcx
je 0x14001e56c
call fcn.1400603c8
mov qword [rbx + 0x150], rsi
xor eax, eax
jmp 0x14001e4cf
xor eax, eax
jmp 0x14001e4d7