Function at 0x140016c90
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x140205108]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov rdi, rcx
movsxd r15, r9d
lea rcx, [rbp + 0x470]
mov r14, r8
mov rsi, rdx
call fcn.140175ca0
mov edx, 0x25
mov rcx, rsi
mov rbx, rax
call fcn.14016b930
test rax, rax
je 0x140016d1d
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x320
call fcn.14016b7a0
xor r9d, r9d
mov qword [rsp + 0x28], rsi
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.14001cd80
jmp case.default.0x140016d39
cmp r15d, 6
ja case.default.0x140016d39
lea rdx, [0x140000000]
mov ecx, dword [rdx + r15*4 + 0x170bc]
add rcx, rdx
jmp rcx
mov r8, rsi
lea rdx, [0x1401a5c50]
mov rcx, rdi
call fcn.1400031e0
jmp case.default.0x140016d39
mov r9d, dword [rbx + 0x14]
lea rdx, str._s_04d
add r9d, 0x76c
mov r8, rsi
mov rcx, rdi
call fcn.1400031e0
jmp case.default.0x140016d39
mov eax, dword [rbx + 0x10]
lea rdx, str._s_04d_02d
mov r9d, dword [rbx + 0x14]
inc eax
add r9d, 0x76c
mov dword [rsp + 0x20], eax
mov r8, rsi
mov rcx, rdi
call fcn.1400031e0
jmp case.default.0x140016d39
imul eax, dword [rbx + 0x18], 0x15180
movsxd rcx, eax
sub qword [rbp + 0x470], rcx
lea rcx, [rbp + 0x470]
call fcn.140175ca0
mov ecx, dword [rax + 0x10]
mov r9d, dword [rax + 0x14]
mov eax, dword [rax + 0xc]
inc ecx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rdx, str._s_04d_02d_02d
mov rcx, rdi
add r9d, 0x76c
mov r8, rsi
call fcn.1400031e0
jmp case.default.0x140016d39
mov ecx, dword [rbx + 0x10]
mov r9d, dword [rbx + 0x14]
mov eax, dword [rbx + 0xc]
jmp 0x140016dc6
xor edx, edx
lea rcx, [rbp + 0x310]
mov r8d, 0x100
call fcn.14016b7a0
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x104
call fcn.14016b7a0
mov r8d, 0x104
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, 0x5c
lea rcx, [rsp + 0x70]
call fcn.14016c338
lea r8, [rsp + 0x70]
lea rdx, str._s_newproxy.ini
lea rcx, [rbp + 0x310]
mov byte [rax], 0
call fcn.1400031e0
xorps xmm0, xmm0
lea rax, [rbp + 0x310]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x290]
lea r8, [0x1401d4b53]
mov dword [rsp + 0x20], 0x80
lea rdx, str.logfile
lea rcx, str.network
movups xmmword [rbp + 0x290], xmm0
movups xmmword [rbp + 0x2a0], xmm0
movups xmmword [rbp + 0x2b0], xmm0
movups xmmword [rbp + 0x2c0], xmm0
movups xmmword [rbp + 0x2d0], xmm0
movups xmmword [rbp + 0x2e0], xmm0
movups xmmword [rbp + 0x2f0], xmm0
movups xmmword [rbp + 0x300], xmm0
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rbp + 0x290]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140016ee0
test rax, rax
je 0x140016fbb
xor edx, edx
lea rcx, [rbp + 0x290]
call fcn.1401854b4
mov r15d, eax
cmp eax, 0xffffffff
jne 0x140016f2d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.14017c348
mov r8, rax
lea rdx, [rbp + 0x290]
lea rcx, str.Open_file__s_failed_:__s_n
call fcn.14000fa00
jmp 0x140016f7e
lea rdx, [rsp + 0x40]
mov ecx, r15d
call fcn.1401757cc
cmp eax, 0xffffffff
jne 0x140016f6c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.14017c348
mov r8, rax
lea rdx, [rbp + 0x290]
lea rcx, str.Get_file__s_stat_failed:_s_n
call fcn.14000fa00
mov ecx, r15d
call fcn.140184c78
jmp 0x140016f7e
mov ecx, r15d
call fcn.140184c78
cmp dword [rsp + 0x54], 0x3200000
jg 0x140016f9f
cmp dword [rbx + 8], 0
je 0x140016f9f
lea r8, [rbp + 0x290]
mov rcx, rdi
lea rdx, [0x1401a5c50]
call fcn.1400031e0
jmp case.default.0x140016d39
mov eax, dword [rbx + 8]
mov r8d, dword [rbx + 0x10]
mov dword [rsp + 0x30], eax
inc r8d
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r8d
jmp 0x140016fd2
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rsp + 0x30], eax
inc ecx
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, dword [rbx + 0x14]
lea rdx, str._s_04d_02d_02d_02d
add r9d, 0x76c
mov r8, rsi
mov rcx, rdi
call fcn.1400031e0
lea r9, [rbp + 0x310]
mov r8, rdi
lea rdx, str.logfile
lea rcx, str.network
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp case.default.0x140016d39
mov eax, dword [rbx + 4]
lea rdx, str._s_04d_02d_02d_02d_02d
mov ecx, dword [rbx + 0x10]
mov r8, rsi
mov r9d, dword [rbx + 0x14]
inc ecx
mov dword [rsp + 0x38], eax
add r9d, 0x76c
mov eax, dword [rbx + 8]
mov dword [rsp + 0x30], eax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, rdi
call fcn.1400031e0
test r14, r14
je 0x140017091
lea rcx, [rdi - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140017053
movzx eax, word [0x1401d51f8]
lea rdx, [rdi - 1]
mov word [rcx], ax
nop dword [rax + rax]
cmp byte [rdx + 1], 0
lea rdx, [rdx + 1]
jne 0x140017070
xor r8d, r8d
nop dword [rax]
movzx ecx, byte [r14 + r8]
mov byte [rdx + r8], cl
lea r8, [r8 + 1]
test cl, cl
jne 0x140017080
mov rax, rdi
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.1401677c0
mov rbx, qword [rsp + 0x568]
add rsp, 0x520
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret