Function at 0x14008f9d0
Capabilities:
Read .ini file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x4c0], rbx
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov r13, r9
mov r14, r8
mov r15, rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], r8
mov rbx, qword [rbp + 0x3e0]
xor r8d, r8d
lea rdx, str.CBaseFuncSub::FS_SNMPReadPortInfoFromSection
lea rcx, [rsp + 0x30]
call fcn.1400075a0
nop
mov rax, qword [r14]
mov qword [rsp + 0x20], rax
mov r9, qword [r15]
lea r8, str.tcpmonFile___s__portSection___s
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140007780
mov rdx, qword [r15]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x208
lea r9, [rsp + 0x60]
lea r8, [0x1402dc4e0]
lea rdx, str.NAME
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov r9, r13
lea r8, str._t_t_t_NAME__key___s
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.140007780
mov rdx, qword [r15]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x208
lea r9, [rsp + 0x60]
lea r8, [0x1402dc4e0]
lea rdx, str.PORTS
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x60]
call fcn.14024740c
mov dword [r13 + 0x410], eax
mov r9d, eax
lea r8, str._t_t_t_PORTS__key___d
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.140007780
mov rdx, qword [r15]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x208
lea r9, [rsp + 0x60]
lea r8, [0x1402dc4e0]
lea rdx, str.PROTOCOL1
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
or r12, 0xffffffffffffffff
mov rcx, r12
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
not rcx
dec rcx
je 0x14008fb56
lea rcx, [r13 + 0x414]
lea r8, [rsp + 0x60]
mov edx, 0x104
call fcn.140246628
or dword [rbx], 1
lea r9, [r13 + 0x414]
lea r8, str._t_t_t_PROTOCOL1__key___s
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.140007780
mov rdx, qword [r15]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x208
lea r9, [rsp + 0x60]
lea r8, [0x1402dc4e0]
lea rdx, str.PORTNUMBER1
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov rcx, r12
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
not rcx
dec rcx
je 0x14008fbc8
lea rcx, [rsp + 0x60]
call fcn.14024740c
mov dword [r13 + 0x824], eax
or dword [rbx], 8
mov r9d, dword [r13 + 0x824]
lea r8, str._t_t_t_PORTNUMBER1__key___d
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.140007780
mov rdx, qword [r15]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x208
lea r9, [rsp + 0x60]
lea r8, [0x1402dc4e0]
lea rdx, str.SNMP1
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov rcx, r12
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
not rcx
dec rcx
je 0x14008fc47
lea rsi, [rsp + 0x60]
lea rdi, [0x1402e2d90]
mov ecx, 4
repe cmpsw word [rsi], word [rdi]
sete al
mov byte [r13 + 0x828], al
or dword [rbx], 0x20
movzx r9d, byte [r13 + 0x828]
lea r8, str._t_t_t_SNMP1__key___d
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.140007780
mov rdx, qword [r15]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x208
lea r9, [rsp + 0x60]
lea r8, [0x1402dc4e0]
lea rdx, str.QUEUE1
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov rcx, r12
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
not rcx
dec rcx
je 0x14008fcbf
lea rcx, [r13 + 0x61c]
lea r8, [rsp + 0x60]
mov edx, 0x104
call fcn.140246628
or dword [rbx], 4
lea r9, [r13 + 0x61c]
lea r8, str._t_t_t_QUEUE1__key___s
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.140007780
mov rdx, qword [r15]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x208
lea r9, [rsp + 0x60]
lea r8, [0x1402dc4e0]
lea rdx, str.LPRDspool1
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov rcx, r12
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
not rcx
dec rcx
je 0x14008fd3e
lea rsi, [rsp + 0x60]
lea rdi, [0x1402e0308]
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
sete al
mov byte [r13 + 0x829], al
or dword [rbx], 2
movzx r9d, byte [r13 + 0x829]
lea r8, str._t_t_t_LPRDspool1__key___d
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.140007780
mov r9d, 1
lea r8, str.return___08x
lea edx, [r9 + 1]
lea rcx, [rsp + 0x30]
call fcn.140007780
nop
lea rcx, [rsp + 0x30]
call fcn.140007730
nop
mov rdx, qword [r15]
sub rdx, 0x18
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14008fda2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], r12d
dec r12d
test r12d, r12d
jg 0x14008fdc0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.140245660
mov rbx, qword [rsp + 0x4c0]
add rsp, 0x480
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret