Function at 0x140003db0
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xa30
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
mov r14, rcx
lea rax, vtable.CAviraSDK.0
mov qword [rcx], rax
lea rax, vtable.CSABCriticalSectionContainer.0
mov qword [rcx + 8], rax
add rcx, 0x10
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov dword [r14 + 0x38], 0xffffffff
xor ebp, ebp
mov qword [r14 + 0x48], rbp
mov dword [r14 + 0x50], ebx
mov qword [r14 + 0x58], rbp
lea r15, vtable.CSABString.0
mov qword [r14 + 0xc0], r15
mov qword [r14 + 0xc8], rbp
mov dword [r14 + 0xd0], ebp
lea ecx, [rbp + 0x10]
call fcn.140247068
mov qword [r14 + 0xc8], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [r14 + 0xd4], 1
mov qword [r14 + 0xd8], r15
mov qword [r14 + 0xe0], rbp
mov dword [r14 + 0xe8], ebp
lea ecx, [rbp + 0x10]
call fcn.140247068
mov qword [r14 + 0xe0], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [r14 + 0xec], 1
mov qword [r14 + 0xf0], r15
mov qword [r14 + 0xf8], rbp
mov dword [r14 + 0x100], ebp
lea ecx, [rbp + 0x10]
call fcn.140247068
mov qword [r14 + 0xf8], rax
xor edx, edx
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov dword [r14 + 0x104], 1
mov qword [r14 + 0x108], r15
mov qword [r14 + 0x110], rbp
mov dword [r14 + 0x118], ebp
lea ecx, [rbp + 0x10]
call fcn.140247068
mov qword [r14 + 0x110], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [r14 + 0x11c], 1
mov qword [r14 + 0x120], rbp
mov qword [r14 + 0x128], rbp
lea rax, vtable.CFunctionEnterExit.0
mov qword [rsp + 0x58], rax
lea r12, [0x140286328]
mov qword [rsp + 0x60], r12
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x70]
call fcn.140249b10
mov r8, r12
lea rdx, [0x1402862f8]
lea rcx, [rsp + 0x70]
call fcn.140006bc0
mov r9d, 1
mov r8d, r9d
lea rdx, [rsp + 0x70]
lea rcx, vtable.CSASApplicationLogManager.0
call fcn.140004a50
nop
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call fcn.1400056e0
mov qword [r14 + 0x130], rbp
mov qword [r14 + 0x40], rbp
cmp dword [r14 + 0x50], ebp
je 0x14000404f
lea rcx, [rsp + 0x170]
call fcn.1400041b0
nop
lea rcx, str.Kernel32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x140004009
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140004000
xor ecx, ecx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x20]
call rax
cmp word [rsp + 0x20], 9
sete bpl
test ebp, ebp
je 0x140004009
lea rcx, str.SAVAPI_64.DLL
jmp 0x140004010
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, str.SAVAPI_32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [r14 + 0x40], rax
lea rax, vtable.CSABOSVersion.0
mov qword [rsp + 0x170], rax
mov qword [rsp + 0xa18], r15
add dword [rsp + 0xa2c], 0xffffffff
jne 0x140004060
mov rcx, qword [rsp + 0xa20]
test rcx, rcx
je 0x140004060
call fcn.140247060
jmp 0x140004060
lea rcx, str.SAVAPI.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [r14 + 0x40], rax
mov rcx, qword [r14 + 0x40]
test rcx, rcx
je 0x14000412b
lea rdx, str.SAVAPI_initialize
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r14 + 0x130], rax
lea rdx, str.SAVAPI_uninitialize
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r14 + 0x138], rax
lea rdx, str.SAVAPI_set
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r14 + 0x148], rax
lea rdx, str.SAVAPI_get
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r14 + 0x140], rax
lea rdx, str.SAVAPI_set_log_callback
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r14 + 0x150], rax
lea rdx, str.SAVAPI_simple_scan
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r14 + 0x158], rax
lea rdx, str.SAVAPI_create_instance
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r14 + 0x160], rax
lea rdx, str.SAVAPI_release_instance
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r14 + 0x168], rax
jmp 0x140004148
mov r9d, 1
mov r8d, r9d
lea rdx, str.AV_libraries_failed_to_load___
lea rcx, vtable.CSASApplicationLogManager.0
call fcn.140004a50
nop
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x70]
call fcn.140249b10
mov r8, r12
lea rdx, str._s___Leavex
lea rcx, [rsp + 0x70]
call fcn.140006bc0
mov r9d, 1
mov r8d, r9d
lea rdx, [rsp + 0x70]
lea rcx, vtable.CSASApplicationLogManager.0
call fcn.140004a50
nop
mov rax, r14
lea r11, [rsp + 0xa30]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret