Function at 0x140030f70
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x7a0
mov rax, qword [0x1401b7030]
xor rax, rsp
mov qword [rsp + 0x790], rax
movzx edi, r9b
movzx r12d, r8b
mov r14, rdx
mov rbx, rcx
test r8b, r8b
je 0x14003107a
test r9b, r9b
jne 0x1400310dc
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1401bfc60], xmm0
movups xmmword [0x1401bfc70], xmm0
movups xmmword [0x1401bfc80], xmm0
movups xmmword [0x1401bfc90], xmm0
movups xmmword [0x1401bfca0], xmm0
movups xmmword [0x1401bfcb0], xmm0
movups xmmword [0x1401bfcc0], xmm0
movups xmmword [0x1401bfcd0], xmm0
movups xmmword [0x1401bfce0], xmm0
mov qword [0x1401bfcf0], rax
mov dword [0x1401bfc60], 0x88
lea rax, [0x1401b7d20]
mov qword [0x1401bfc78], rax
mov dword [0x1401bfc98], 0x104
mov dword [0x1401bfca8], 0x200
lea rax, [0x14019be80]
mov qword [0x1401bfcc8], rax
mov rax, qword [rcx + 0x98]
mov qword [0x1401bfc68], rax
mov qword [0x1401bfc90], rdx
lea rax, [rsp + 0x50]
mov qword [0x1401bfca0], rax
mov dword [0x1401bfcc0], 4
lea rcx, [0x1401bfc60]
call qword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
je 0x1400310d2
test dil, dil
jne 0x1400310dc
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0xfa
lea r9, [rbx + 0xa9]
lea r8, [0x14019945a]
lea rdx, str.host
lea rcx, str.connection
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov r9, r14
xor r8d, r8d
lea rdx, str.port
lea rcx, str.connection
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [rbx + 0xa0], eax
test eax, eax
jne 0x1400310fe
mov eax, 0xffffffff
jmp 0x1400313a0
lea r8, [0x14019945a]
mov edx, 0xfa
lea rcx, [rbx + 0xa9]
call fcn.14012524c
mov dword [rbx + 0xa0], 0xffffffff
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0xfa
lea r9, [rbx + 0x1a3]
lea r8, [0x14019945a]
lea rdx, str.proxyhost
lea rcx, str.connection
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov r9, r14
xor r8d, r8d
lea rdx, str.proxyport
lea rcx, str.connection
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [rbx + 0xa4], eax
mov r9, r14
xor r8d, r8d
lea rdx, str.UseProxy
lea rcx, str.options
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
setne al
mov byte [rbx + 0x29d], al
lea rsi, [rbx + 0x4ee8]
mov byte [rsi], 0
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x20
lea r9, [rsp + 0x770]
lea r8, [0x14019945a]
lea rdx, str.password
lea rcx, str.connection
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x1400311f1
lea rdi, [rsp + 0x770]
mov ebp, 8
nop dword [rax]
mov dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
lea rdx, [0x14019bf30]
mov rcx, rdi
call fcn.1400152e0
movzx eax, byte [rsp + 0x30]
mov byte [rsi], al
add rdi, 2
lea rsi, [rsi + 1]
sub rbp, 1
jne 0x1400311c0
test r12b, r12b
jne 0x140031285
cmp byte [rbx + 0xa9], r12b
je 0x140031299
mov r10, qword [rbx + 0xd748]
lea rdx, [r10 + 0x97e]
mov rax, r14
sub rdx, r14
nop dword [rax + rax]
movzx r9d, byte [rax]
movzx ecx, byte [rax + rdx]
sub r9d, ecx
jne 0x140031234
inc rax
test ecx, ecx
jne 0x140031220
test r9d, r9d
je 0x140031299
cmp byte [0x1401ba761], 0
je 0x14003139e
lea rcx, [r10 + 0x5d0]
lea r8, [rbx + 0x1a3]
mov edx, 0xfa
call fcn.14012524c
mov rcx, qword [rbx + 0xd748]
mov eax, dword [rbx + 0xa4]
mov dword [rcx + 0x6cc], eax
mov rcx, qword [rbx + 0xd748]
movzx eax, byte [rbx + 0x29d]
mov byte [rcx + 0x6d0], al
mov rdx, r14
mov rcx, qword [rbx + 0xd748]
call fcn.140064960
jmp 0x14003139e
mov rcx, qword [rbx + 0xd748]
add rcx, 0x5d0
lea r8, [rbx + 0x1a3]
mov edx, 0xfa
call fcn.14012524c
mov rcx, qword [rbx + 0xd748]
mov eax, dword [rbx + 0xa4]
mov dword [rcx + 0x6cc], eax
mov rcx, qword [rbx + 0xd748]
movzx eax, byte [rbx + 0x29d]
mov byte [rcx + 0x6d0], al
mov rdx, r14
mov rcx, qword [rbx + 0xd748]
call fcn.140064960
mov r9, qword [rbx + 0x4d58]
mov r8, rbx
mov rdx, qword [rbx + 0xd748]
lea rcx, [rsp + 0x50]
call fcn.14004fd00
nop
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x140050790]
xor r8d, r8d
lea edx, [r8 + 0x75]
mov rcx, qword [0x1401bc5b8]
mov rcx, qword [rcx + 0xb98]
call qword [sym.imp.USER32.dll_DialogBoxParamA]
test eax, eax
je 0x1400313cb
mov r9d, 0xfa
lea r8, [rsp + 0x63]
mov edx, r9d
lea rcx, [rbx + 0xa9]
call fcn.140125604
mov eax, dword [rsp + 0x58]
mov dword [rbx + 0xa0], eax
mov r9d, 0xfa
lea r8, [rsp + 0x15d]
mov edx, r9d
lea rcx, [rbx + 0x1a3]
call fcn.140125604
mov eax, dword [rsp + 0x5c]
mov dword [rbx + 0xa4], eax
movzx eax, byte [rsp + 0x60]
mov byte [rbx + 0x29d], al
lea rcx, [rsp + 0x50]
call fcn.140050660
xor eax, eax
mov rcx, qword [rsp + 0x790]
xor rcx, rsp
call fcn.14011c340
mov rbx, qword [rsp + 0x7f0]
add rsp, 0x7a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, [0x14019945a]
lea rcx, [rsp + 0x38]
call fcn.14003d690
lea rdx, [0x1401b3040]
lea rcx, [rsp + 0x38]
call fcn.140121974
int3