Function at 0x140001ce4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 8], rax
xor r13d, r13d
mov rdi, rdx
lea rax, [rbp - 0x80]
lea rdx, [rsp + 0x48]
or r15d, 0xffffffff
test r8, r8
mov r12d, 4
mov r14d, r13d
mov qword [rsp + 0x50], rax
mov rsi, r8
mov rbx, rcx
mov dword [rsp + 0x44], r13d
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x4c], r13d
mov dword [rsp + 0x48], r13d
sete r14b
call fcn.140002548
cmp dword [rsp + 0x48], 1
mov dword [rsp + 0x40], eax
je 0x140001d85
mov r8, qword [0x140005ed8]
lea ecx, [r12 - 2]
mov r9, rbx
mov edx, 0x2711
call fcn.140003a90
lea ecx, [r12 - 3]
call qword [sym.imp.msvcrt.dll_exit]
int3
lea rax, [rsp + 0x74]
lea r9, [rsp + 0x64]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x70]
lea rdx, [0x1400010e8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x6c]
mov rcx, rdi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call qword [sym.imp.msvcrt.dll_sscanf]
cmp eax, 6
je 0x140001dd3
mov eax, 0x57
jmp 0x140001e00
mov al, byte [rsp + 0x60]
mov byte [rbp], al
mov al, byte [rsp + 0x64]
mov byte [rbp + 1], al
mov al, byte [rsp + 0x68]
mov byte [rbp + 2], al
mov al, byte [rsp + 0x6c]
mov byte [rbp + 3], al
mov al, byte [rsp + 0x70]
mov byte [rbp + 4], al
mov al, byte [rsp + 0x74]
mov byte [rbp + 5], al
mov eax, r13d
mov dword [rsp + 0x48], eax
test eax, eax
je 0x140001e2d
mov r8, qword [0x140005ed8]
mov r9, rdi
mov edx, 0x2712
mov ecx, 2
call fcn.140003a90
mov ecx, 1
call qword [sym.imp.msvcrt.dll_exit]
int3
mov edi, 2
test r14d, r14d
jne 0x140001e92
lea rdx, [rsp + 0x48]
mov ecx, edi
call fcn.140002a64
mov rbx, rax
test rax, rax
jne 0x140001e54
mov eax, dword [rsp + 0x48]
jmp 0x1400023e2
mov rdx, rsi
mov rcx, rax
call fcn.1400016e0
mov rcx, rbx
mov r15d, eax
call fcn.140002b50
cmp r15d, 0xffffffff
jne 0x140001e92
mov r8, qword [0x140005ed8]
mov r9, rsi
mov edx, 0x2711
mov ecx, edi
call fcn.140003a90
mov ecx, 1
call qword [sym.imp.msvcrt.dll_exit]
int3
mov esi, 0xc8
mov ecx, esi
call qword [sym.imp.snmpapi.dll_SnmpUtilMemAlloc]
test rax, rax
jne 0x140001ec3
mov r8, qword [0x140005ed8]
mov edx, 0x2714
mov ecx, edi
call fcn.140003a90
mov ecx, 1
call qword [sym.imp.msvcrt.dll_exit]
int3
mov qword [rbp - 0x7c], rax
mov dword [rbp - 0x80], 0xf
lea rcx, [rax + 4]
mov ebx, 1
mov dword [rax], ebx
mov dword [rcx], 3
add rcx, r12
mov dword [rcx], 6
add rcx, r12
mov dword [rcx], ebx
add rcx, r12
mov dword [rcx], edi
add rcx, r12
mov dword [rcx], ebx
add rcx, r12
mov dword [rcx], r12d
add rcx, r12
mov dword [rcx], 0x16
add rcx, r12
mov dword [rcx], ebx
add rcx, r12
mov dword [rcx], ebx
add rcx, r12
mov dword [rcx], r15d
movzx eax, byte [rsp + 0x40]
add rcx, r12
mov dword [rcx], eax
movzx eax, byte [rsp + 0x41]
add rcx, r12
mov dword [rcx], eax
movzx eax, byte [rsp + 0x42]
mov dword [rcx + r12], eax
movzx eax, byte [rsp + 0x43]
mov dword [rcx + r12 + 4], eax
mov ecx, esi
mov byte [rbp - 0x74], dil
mov dword [rbp - 0x70], r15d
call qword [sym.imp.snmpapi.dll_SnmpUtilMemAlloc]
test rax, rax
jne 0x140001f6e
mov r8, qword [0x140005ed8]
mov edx, 0x2714
mov ecx, edi
call fcn.140003a90
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
int3
mov qword [rbp - 0x5c], rax
mov dword [rbp - 0x60], 0xf
mov dword [rax], ebx
lea rcx, [rax + 4]
mov edx, 6
mov dword [rcx], 3
add rcx, r12
mov dword [rcx], edx
add rcx, r12
mov dword [rcx], ebx
add rcx, r12
mov dword [rcx], edi
add rcx, r12
mov dword [rcx], ebx
add rcx, r12
mov dword [rcx], r12d
add rcx, r12
mov dword [rcx], 0x16
add rcx, r12
mov dword [rcx], ebx
add rcx, r12
mov dword [rcx], edi
add rcx, r12
mov dword [rcx], r15d
movzx eax, byte [rsp + 0x40]
add rcx, r12
mov dword [rcx], eax
movzx eax, byte [rsp + 0x41]
add rcx, r12
mov dword [rcx], eax
movzx eax, byte [rsp + 0x42]
mov dword [rcx + r12], eax
movzx eax, byte [rsp + 0x43]
mov dword [rcx + r12 + 4], eax
lea rax, [rbp]
mov ecx, esi
mov byte [rbp - 0x54], r12b
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x50], rax
call qword [sym.imp.snmpapi.dll_SnmpUtilMemAlloc]
test rax, rax
jne 0x14000201d
mov r8, qword [0x140005ed8]
mov edx, 0x2714
mov ecx, edi
call fcn.140003a90
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
int3
mov qword [rbp - 0x3c], rax
mov dword [rbp - 0x40], 0xf
mov dword [rax], ebx
lea rdx, [rax + 4]
mov eax, 3
mov ecx, esi
mov dword [rdx], eax
add rdx, r12
mov dword [rdx], 6
add rdx, r12
mov dword [rdx], ebx
add rdx, r12
mov dword [rdx], edi
add rdx, r12
mov dword [rdx], ebx
add rdx, r12
mov dword [rdx], r12d
add rdx, r12
mov dword [rdx], 0x16
add rdx, r12
mov dword [rdx], ebx
add rdx, r12
mov dword [rdx], eax
add rdx, r12
mov dword [rdx], r15d
movzx eax, byte [rsp + 0x40]
add rdx, r12
mov dword [rdx], eax
movzx eax, byte [rsp + 0x41]
add rdx, r12
mov dword [rdx], eax
movzx eax, byte [rsp + 0x42]
mov dword [rdx + r12], eax
movzx eax, byte [rsp + 0x43]
mov dword [rdx + r12 + 4], eax
lea rax, [rsp + 0x40]
mov byte [rbp - 0x34], 0x40
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], r12
call qword [sym.imp.snmpapi.dll_SnmpUtilMemAlloc]
test rax, rax
jne 0x1400020cd
mov r8, qword [0x140005ed8]
mov edx, 0x2714
mov ecx, edi
call fcn.140003a90
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
int3
mov qword [rbp - 0x1c], rax
mov dword [rbp - 0x20], 0xf
mov dword [rax], ebx
lea rcx, [rax + 4]
mov dword [rcx], 3
add rcx, r12
mov dword [rcx], 6
add rcx, r12
mov dword [rcx], ebx
add rcx, r12
mov dword [rcx], edi
add rcx, r12
mov dword [rcx], ebx
add rcx, r12
mov dword [rcx], r12d
add rcx, r12
mov dword [rcx], 0x16
add rcx, r12
mov dword [rcx], ebx
add rcx, r12
mov dword [rcx], r12d
add rcx, r12
mov dword [rcx], r15d
movzx eax, byte [rsp + 0x40]
add rcx, r12
mov dword [rcx], eax
movzx eax, byte [rsp + 0x41]
add rcx, r12
mov dword [rcx], eax
movzx eax, byte [rsp + 0x42]
mov dword [rcx + r12], eax
movzx eax, byte [rsp + 0x43]
mov dword [rcx + r12 + 4], eax
mov byte [rbp - 0x14], dil
mov dword [rbp - 0x10], r12d
test r14d, r14d
jne 0x14000217b
mov rbx, qword [0x140005ed0]
mov rcx, rbx
call qword [0x1400072c0]
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x44]
lea rdx, [rsp + 0x50]
mov ecx, 0xa3
call rbx
jmp 0x1400023ad
lea rdx, [rsp + 0x48]
mov ecx, r12d
mov rsi, r13
call fcn.140002a64
mov r13, rax
test rax, rax
je 0x140002267
mov r12, qword [rax]
cmp r12, rax
je 0x140002261
mov edx, dword [rsp + 0x40]
or r14d, 0xffffffff
mov cl, dl
and cl, 0xc0
test cl, 0xbf
je 0x1400021e0
cmp cl, 0x80
jne 0x1400021c2
mov r14d, 0xffff
jmp 0x1400021e6
cmp cl, 0xc0
jne 0x1400021e6
mov al, dl
and al, 0x30
neg al
sbb r14d, r14d
and r14d, 0xff000000
add r14d, 0xffffff
jmp 0x1400021e6
mov r14d, 0xff
mov ecx, dword [r12 + 0x20]
mov eax, r14d
and ecx, r14d
and eax, edx
cmp ecx, eax
jne 0x140002252
mov ecx, dword [r12 + 0x10]
lea rdx, [rbp - 0x7c]
mov r8d, 4
mov dword [rbp - 0x70], ecx
mov rax, qword [rdx]
lea rdx, [rdx + 0x20]
mov dword [rax + 0x28], ecx
sub r8, rbx
je 0x14000221d
mov ecx, dword [rbp - 0x70]
jmp 0x140002209
mov rbx, qword [0x140005ed0]
mov rcx, rbx
call qword [0x1400072c0]
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x44]
lea rdx, [rsp + 0x50]
mov ecx, 0xa3
call rbx
cmp dword [rsp + 0x44], esi
je 0x14000225d
mov edx, dword [rsp + 0x40]
mov ebx, 1
mov r12, qword [r12]
cmp r12, r13
je 0x140002261
jmp 0x1400021e6
mov r15d, dword [rbp - 0x70]
mov r12d, 4
or r14d, 0xffffffff
cmp r15d, r14d
jne 0x140002374
lea rdx, [rsp + 0x48]
mov ecx, edi
call fcn.140002a64
mov rsi, rax
test rax, rax
je 0x140002374
mov rdi, qword [rax]
cmp rdi, rax
je 0x140002374
cmp dword [rdi + 0x10], 0
je 0x1400022fc
mov ecx, dword [rdi + 0x18]
mov eax, ecx
and ecx, dword [rdi + 0x10]
and eax, dword [rsp + 0x40]
cmp ecx, eax
jne 0x1400022fc
mov ecx, dword [rdi + 0x14]
lea rdx, [rbp - 0x7c]
mov r8, r12
mov dword [rbp - 0x70], ecx
mov rax, qword [rdx]
lea rdx, [rdx + 0x20]
mov dword [rax + 0x28], ecx
dec r8
je 0x1400022cf
mov ecx, dword [rbp - 0x70]
jmp 0x1400022bb
mov rbx, qword [0x140005ed0]
mov rcx, rbx
call qword [0x1400072c0]
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x44]
lea rdx, [rsp + 0x50]
mov ecx, 0xa3
call rbx
cmp dword [rsp + 0x44], 0
je 0x140002306
mov rdi, qword [rdi]
cmp rdi, rsi
je 0x14000230f
jmp 0x140002298
mov r15d, dword [rbp - 0x70]
cmp r15d, r14d
jne 0x140002374
mov rdi, qword [rsi]
cmp rdi, rsi
je 0x140002374
cmp byte [rdi + 0x10], 0x7f
je 0x14000236b
mov ecx, dword [rdi + 0x14]
lea rdx, [rbp - 0x7c]
mov r8, r12
mov dword [rbp - 0x70], ecx
mov rax, qword [rdx]
lea rdx, [rdx + 0x20]
mov dword [rax + 0x28], ecx
dec r8
je 0x14000233e
mov ecx, dword [rbp - 0x70]
jmp 0x14000232a
mov rbx, qword [0x140005ed0]
mov rcx, rbx
call qword [0x1400072c0]
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x44]
lea rdx, [rsp + 0x50]
mov ecx, 0xa3
call rbx
cmp dword [rsp + 0x44], 0
je 0x140002370
mov rdi, qword [rdi]
jmp 0x140002312
mov r15d, dword [rbp - 0x70]
test r13, r13
je 0x140002381
mov rcx, r13
call fcn.140002b50
xor r13d, r13d
test rsi, rsi
je 0x140002391
mov rcx, rsi
call fcn.140002b50
cmp r15d, r14d
jne 0x1400023ad
mov eax, dword [rsp + 0x44]
test eax, eax
jne 0x1400023ad
cmp dword [rsp + 0x48], r13d
lea ecx, [rax + 5]
cmove eax, ecx
mov dword [rsp + 0x44], eax
mov rcx, qword [rbp - 0x7c]
call qword [sym.imp.snmpapi.dll_SnmpUtilMemFree]
mov rcx, qword [rbp - 0x5c]
call qword [sym.imp.snmpapi.dll_SnmpUtilMemFree]
mov rcx, qword [rbp - 0x3c]
call qword [sym.imp.snmpapi.dll_SnmpUtilMemFree]
mov rcx, qword [rbp - 0x1c]
call qword [sym.imp.snmpapi.dll_SnmpUtilMemFree]
mov ecx, dword [rsp + 0x44]
mov eax, dword [rsp + 0x48]
test ecx, ecx
cmovne eax, ecx
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140003fb0
mov rbx, qword [rsp + 0x168]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret