Function at 0x1400309a0
Capabilities:
Read .ini file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x7b0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x800], rbx
mov rax, qword [0x1401b5030]
xor rax, rsp
mov qword [rsp + 0x7a0], rax
movzx edi, r9b
movzx r12d, r8b
mov r14, rdx
mov rbx, rcx
test r8b, r8b
je 0x140030ab7
test r9b, r9b
jne 0x140030b19
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1402c0a40], xmm0
movups xmmword [0x1402c0a50], xmm0
movups xmmword [0x1402c0a60], xmm0
movups xmmword [0x1402c0a70], xmm0
movups xmmword [0x1402c0a80], xmm0
movups xmmword [0x1402c0a90], xmm0
movups xmmword [0x1402c0aa0], xmm0
movups xmmword [0x1402c0ab0], xmm0
movups xmmword [0x1402c0ac0], xmm0
mov qword [0x1402c0ad0], rax
mov dword [0x1402c0a40], 0x88
lea rax, [0x1401b5bc0]
mov qword [0x1402c0a58], rax
mov dword [0x1402c0a78], 0x104
mov dword [0x1402c0a88], 0x200
lea rax, [0x140198260]
mov qword [0x1402c0aa8], rax
mov rax, qword [rcx + 0x98]
mov qword [0x1402c0a48], rax
mov qword [0x1402c0a70], rdx
lea rax, [rsp + 0x60]
mov qword [0x1402c0a80], rax
mov dword [0x1402c0aa0], 4
lea rcx, [0x1402c0a40]
call qword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
je 0x140030b0f
test dil, dil
jne 0x140030b19
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0xfa
lea r9, [rbx + 0xa9]
lea r8, [0x14019581a]
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 0x140030b3b
mov eax, 0xffffffff
jmp 0x140030de0
lea r8, [0x14019581a]
mov edx, 0xfa
lea rcx, [rbx + 0xa9]
call fcn.14012209c
mov dword [rbx + 0xa0], 0xffffffff
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0xfa
lea r9, [rbx + 0x1a3]
lea r8, [0x14019581a]
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 + 0x780]
lea r8, [0x14019581a]
lea rdx, str.password
lea rcx, str.connection
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x140030c31
lea rdi, [rsp + 0x780]
mov ebp, 8
nop word [rax + rax]
mov dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
lea rdx, [0x140198310]
mov rcx, rdi
call fcn.1400152f0
movzx eax, byte [rsp + 0x30]
mov byte [rsi], al
add rdi, 2
lea rsi, [rsi + 1]
sub rbp, 1
jne 0x140030c00
test r12b, r12b
jne 0x140030cc5
cmp byte [rbx + 0xa9], r12b
je 0x140030cd9
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 0x140030c74
inc rax
test ecx, ecx
jne 0x140030c60
test r9d, r9d
je 0x140030cd9
cmp byte [0x1402bace5], 0
je 0x140030dde
lea rcx, [r10 + 0x5d0]
lea r8, [rbx + 0x1a3]
mov edx, 0xfa
call fcn.14012209c
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.1400634d0
jmp 0x140030dde
mov rcx, qword [rbx + 0xd748]
add rcx, 0x5d0
lea r8, [rbx + 0x1a3]
mov edx, 0xfa
call fcn.14012209c
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.1400634d0
mov r9, qword [rbx + 0x4d58]
mov r8, rbx
mov rdx, qword [rbx + 0xd748]
lea rcx, [rsp + 0x60]
call fcn.1400534d0
nop
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x140053f80]
xor r8d, r8d
lea edx, [r8 + 0x75]
mov rcx, qword [0x1402bb178]
mov rcx, qword [rcx + 0xb98]
call qword [sym.imp.USER32.dll_DialogBoxParamA]
test eax, eax
je 0x140030e0b
mov r9d, 0xfa
lea r8, [rsp + 0x73]
mov edx, r9d
lea rcx, [rbx + 0xa9]
call fcn.140122454
mov eax, dword [rsp + 0x68]
mov dword [rbx + 0xa0], eax
mov r9d, 0xfa
lea r8, [rsp + 0x16d]
mov edx, r9d
lea rcx, [rbx + 0x1a3]
call fcn.140122454
mov eax, dword [rsp + 0x6c]
mov dword [rbx + 0xa4], eax
movzx eax, byte [rsp + 0x70]
mov byte [rbx + 0x29d], al
lea rcx, [rsp + 0x60]
call fcn.140053e50
xor eax, eax
mov rcx, qword [rsp + 0x7a0]
xor rcx, rsp
call fcn.14011b0c0
mov rbx, qword [rsp + 0x800]
add rsp, 0x7b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, [0x14019581a]
lea rcx, [rsp + 0x40]
call fcn.14003d420
lea rdx, [0x1401b1580]
lea rcx, [rsp + 0x40]
call fcn.1401202c4
int3