Function at 0x140001a2c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
xor edi, edi
lea rax, [rbp - 0x28]
mov r15d, 1
or r13d, 0xffffffff
mov rsi, rdx
mov rbx, rcx
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], r15d
mov dword [rbp + 0x58], edi
mov dword [rbp - 0x3c], edi
mov dword [rbp - 0x40], edi
mov r12d, edi
mov dword [rbp + 0x50], edi
test rcx, rcx
je 0x140001ac2
mov al, byte [rcx]
cmp al, byte [0x1400010c0]
jne 0x140001a8a
mov al, byte [rcx + 1]
cmp al, byte [0x1400010c1]
je 0x140001ac2
lea rdx, [rbp + 0x40]
call fcn.140002548
mov r12d, eax
mov dword [rbp + 0x50], eax
cmp dword [rbp + 0x40], r15d
je 0x140001ac2
mov r8, qword [0x140005ed8]
mov r9, rbx
mov edx, 0x2711
mov ecx, 2
call fcn.140003a90
mov ecx, r15d
call qword [sym.imp.msvcrt.dll_exit]
int3
mov r14d, 2
test rsi, rsi
je 0x140001b25
lea rdx, [rbp + 0x40]
mov ecx, r14d
call fcn.140002a64
mov rbx, rax
test rax, rax
jne 0x140001ae9
mov eax, dword [rbp + 0x40]
jmp 0x140001c87
mov rdx, rsi
mov rcx, rax
call fcn.1400016e0
mov r13d, eax
cmp eax, 0xffffffff
jne 0x140001b1d
mov r8, qword [0x140005ed8]
mov r9, rsi
mov edx, 0x2712
mov ecx, r14d
call fcn.140003a90
mov ecx, r15d
call qword [sym.imp.msvcrt.dll_exit]
int3
mov rcx, rbx
call fcn.140002b50
mov ebx, 4
lea rdx, [rbp + 0x40]
mov ecx, ebx
call fcn.140002a64
mov r15, rax
test rax, rax
je 0x140001ae1
mov rsi, qword [rax]
cmp rsi, rax
je 0x140001c6b
cmp r13d, 0xffffffff
je 0x140001b59
cmp r13d, dword [rsi + 0x10]
jne 0x140001c5f
test r12d, r12d
je 0x140001b8c
cmp r12b, byte [rsi + 0x20]
jne 0x140001c5f
mov al, byte [rbp + 0x51]
cmp al, byte [rsi + 0x21]
jne 0x140001c5f
mov al, byte [rbp + 0x52]
cmp al, byte [rsi + 0x22]
jne 0x140001c5f
mov al, byte [rbp + 0x53]
cmp al, byte [rsi + 0x23]
jne 0x140001c5f
mov ecx, 0xc8
call qword [sym.imp.snmpapi.dll_SnmpUtilMemAlloc]
mov rcx, rax
test rax, rax
je 0x140001cbd
mov qword [rbp - 0x24], rax
mov dword [rbp - 0x28], 0xf
mov eax, dword [rsi + 0x10]
mov edx, 1
mov dword [rcx], edx
add rcx, 4
mov dword [rcx], 3
add rcx, rbx
mov dword [rcx], 6
add rcx, rbx
mov dword [rcx], edx
add rcx, rbx
mov dword [rcx], r14d
add rcx, rbx
mov dword [rcx], edx
add rcx, rbx
mov dword [rcx], ebx
add rcx, rbx
mov dword [rcx], 0x16
add rcx, rbx
mov dword [rcx], edx
add rcx, rbx
mov dword [rcx], ebx
add rcx, rbx
mov dword [rcx], eax
movzx eax, byte [rsi + 0x20]
add rcx, rbx
mov dword [rcx], eax
movzx eax, byte [rsi + 0x21]
add rcx, rbx
mov dword [rcx], eax
movzx eax, byte [rsi + 0x22]
mov dword [rcx + rbx], eax
movzx eax, byte [rsi + 0x23]
mov dword [rcx + rbx + 4], eax
mov rbx, qword [0x140005ed0]
mov byte [rbp - 0x1c], r14b
mov rcx, rbx
mov dword [rbp - 0x18], r14d
call qword [0x1400072c0]
lea r9, [rbp - 0x3c]
lea r8, [rbp + 0x58]
lea rdx, [rbp - 0x38]
mov ecx, 0xa3
call rbx
mov rcx, qword [rbp - 0x24]
call qword [sym.imp.snmpapi.dll_SnmpUtilMemFree]
mov eax, dword [rbp + 0x58]
test eax, eax
jne 0x140001c9f
mov dword [rbp - 0x40], 1
lea ebx, [rax + 4]
mov rsi, qword [rsi]
cmp rsi, r15
jne 0x140001b49
mov rcx, r15
call fcn.140002b50
cmp dword [rbp - 0x40], edi
jne 0x140001c85
mov edx, 0x271c
mov ecx, r14d
call fcn.140003a90
xor eax, eax
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
dec eax
je 0x140001cb4
dec eax
je 0x140001cb4
dec eax
je 0x140001cb4
mov edi, ntohl
dec eax
je 0x140001cb9
mov edi, 0x57
mov eax, edi
jmp 0x140001c87
mov r8, qword [0x140005ed8]
mov edx, 0x2714
mov ecx, r14d
call fcn.140003a90
mov ecx, 1
call qword [sym.imp.msvcrt.dll_exit]
int3