Function at 0x10003840
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100129d0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1001c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0xcc0]
test esi, esi
jne 0x10003893
push 0x44
call fcn.10011772
push 0x44
mov esi, eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [edi + 0xcc0], esi
push 0x44
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea esi, [edi + 0x924]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [edi + 0xcc0]
mov dword [ecx], eax
mov eax, dword [edi + 0xcc0]
mov ebx, dword [eax]
test ebx, ebx
jne 0x100039ab
cmp dword [0x1001c830], ebx
je 0x10003bf4
push ebx
mov ecx, 0x1001c830
call fcn.1000ce70
mov eax, dword [0x1001c830]
cmp byte [eax + 0x54], bl
je 0x10003bf4
cmp dword [eax + 0x58], 2
jb 0x10003bf4
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea eax, [ebp - 0x28]
push str.LoadLibrary__ws_Error__d
push eax
call fcn.1000e240
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, 0x1001c830
push 0x99
push str.RC::DmAvCore::RCAntiVAvira43EngineImpl::InitializeSavapi
push str.e:_trunk_code_rhinoprotect_virusscan_src_sdavirasndplugin_src_rcantivavira43engineimpl.cpp
push eax
push 2
call fcn.1000da10
test bl, bl
je 0x10003966
lea eax, [ebp - 0x28]
mov ecx, 0x1001c830
push eax
call fcn.1000dde0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10003be4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003bda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003bda
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SAVAPI_initialize
push ebx
call esi
mov ecx, dword [edi + 0xcc0]
push str.SAVAPI_uninitialize
push ebx
mov dword [ecx + 4], eax
call esi
mov ecx, dword [edi + 0xcc0]
push str.SAVAPI_set_log_callback
push ebx
mov dword [ecx + 8], eax
call esi
mov ecx, dword [edi + 0xcc0]
push str.SAVAPI_create_instance
push ebx
mov dword [ecx + 0x40], eax
call esi
mov ecx, dword [edi + 0xcc0]
push str.SAVAPI_release_instance
push ebx
mov dword [ecx + 0xc], eax
call esi
mov ecx, dword [edi + 0xcc0]
push str.SAVAPI_send_signal
push ebx
mov dword [ecx + 0x10], eax
call esi
mov ecx, dword [edi + 0xcc0]
push str.SAVAPI_extract_malware_names
push ebx
mov dword [ecx + 0x14], eax
call esi
mov ecx, dword [edi + 0xcc0]
push str.SAVAPI_set_user_data
push ebx
mov dword [ecx + 0x18], eax
call esi
mov ecx, dword [edi + 0xcc0]
push str.SAVAPI_register_callback
push ebx
mov dword [ecx + 0x1c], eax
call esi
mov ecx, dword [edi + 0xcc0]
push str.SAVAPI_unregister_callback
push ebx
mov dword [ecx + 0x20], eax
call esi
mov ecx, dword [edi + 0xcc0]
push str.SAVAPI_reload_engine_ex
push ebx
mov dword [ecx + 0x24], eax
call esi
mov ecx, dword [edi + 0xcc0]
push str.SAVAPI_get
push ebx
mov dword [ecx + 0x28], eax
call esi
mov ecx, dword [edi + 0xcc0]
push str.SAVAPI_set
push ebx
mov dword [ecx + 0x2c], eax
call esi
mov ecx, dword [edi + 0xcc0]
push str.SAVAPI_scan
push ebx
mov dword [ecx + 0x34], eax
call esi
mov ecx, dword [edi + 0xcc0]
push str.SAVAPI_set_fops
push ebx
mov dword [ecx + 0x30], eax
call esi
mov ecx, dword [edi + 0xcc0]
push str.SAVAPI_free
push ebx
mov dword [ecx + 0x38], eax
call esi
mov ecx, dword [edi + 0xcc0]
mov dword [ecx + 0x3c], eax
mov eax, dword [edi + 0xcc0]
cmp dword [eax + 0x40], 0
je 0x10003b38
cmp dword [eax + 4], 0
je 0x10003b38
cmp dword [eax + 0xc], 0
je 0x10003b38
cmp dword [eax + 0x1c], 0
je 0x10003b38
cmp dword [eax + 0x10], 0
je 0x10003b38
cmp dword [eax + 8], 0
je 0x10003b38
cmp dword [eax + 0x14], 0
je 0x10003b38
cmp dword [eax + 0x18], 0
je 0x10003b38
cmp dword [eax + 0x38], 0
je 0x10003b38
cmp dword [eax + 0x3c], 0
je 0x10003b38
cmp dword [eax + 0x34], 0
je 0x10003b38
cmp dword [eax + 0x2c], 0
je 0x10003b38
cmp dword [eax + 0x20], 0
je 0x10003b38
cmp dword [eax + 0x24], 0
je 0x10003b38
cmp dword [eax + 0x28], 0
je 0x10003b38
push 0x1001525c
push 0
call dword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll__wsetlocale]
add esp, 8
mov al, 1
jmp 0x10003bf6
cmp dword [0x1001c830], 0
je 0x10003bf4
push 0
mov ecx, 0x1001c830
call fcn.1000ce70
mov eax, dword [0x1001c830]
cmp byte [eax + 0x54], 0
je 0x10003bf4
cmp dword [eax + 0x58], 2
jb 0x10003bf4
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.GetProcAddress_Error__d
push eax
call fcn.1000e240
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x1001c830
push 0xb8
push str.RC::DmAvCore::RCAntiVAvira43EngineImpl::InitializeSavapi
push str.e:_trunk_code_rhinoprotect_virusscan_src_sdavirasndplugin_src_rcantivavira43engineimpl.cpp
push eax
push 2
call fcn.1000da10
test bl, bl
je 0x10003966
jmp 0x10003958
push edx
push ecx
call fcn.10011ae8
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10011761
mov esp, ebp
pop ebp
ret