Function at 0x44edcd
Capabilities:
Check mutex on windows
Read file via mapping

Disassembly:
push 0x23c
mov eax, 0x457156
call fcn.00453845
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, ecx
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], edi
call fcn.0044de84
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x21c], ebx
je 0x44ee56
cmp edi, ebx
je 0x44ee56
cmp dword [esi + 8], ebx
je 0x44ee1c
cmp dword [esi + 4], ebx
jne 0x44ee2d
push str.avscan.exe
push ebx
mov ecx, esi
call fcn.0044ec5d
test eax, eax
jne 0x44ee56
push str.AVSCAN_MAPPED_MUTEX
push 1
push ebx
mov dword [edi], ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x228], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x44ee6f
mov dword [edi], 0x65
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.0044e096
xor eax, eax
call fcn.004538c8
ret 8
push dword [ebp - 0x21c]
push str._GETENV
push dword [esi + 4]
push str._s__s__s_
push 0xffff
push dword [esi + 8]
call dword [sym.imp.MSVCR100.dll__snwprintf]
add esp, 0x18
xor esi, esi
inc esi
lea eax, [ebp - 0x248]
push esi
push eax
mov dword [ebp - 0x234], 0xc
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x230], eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x44ee56
push ebx
push ebx
push esi
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x44ee56
mov edi, str.GlobalAVSCAN_Test
push edi
mov esi, 0x208
push esi
push ebx
push 4
lea eax, [ebp - 0x234]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x21c], eax
cmp eax, ebx
jne 0x44ef05
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44efaf
mov ecx, dword [ebp - 0x224]
push dword [ecx + 8]
call fcn.0044ed4a
cmp eax, ebx
je 0x44ef24
mov ecx, dword [ebp - 0x220]
mov dword [ecx], eax
jmp 0x44efaf
push 0x7530
push str.AVSCAN_MAPPED_GET_EVENT
lea ecx, [ebp - 0x218]
call fcn.0044dedb
mov ecx, 0x102
cmp eax, ecx
jne 0x44ef4c
mov eax, dword [ebp - 0x220]
mov dword [eax], ecx
jmp 0x44efaf
push edi
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 0x21c], eax
cmp eax, ebx
jne 0x44ef7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.0044e096
mov eax, ebx
jmp 0x44ee67
push esi
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, ebx
jne 0x44ef96
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44ef17
mov eax, dword [ebp - 0x224]
push esi
push edi
push dword [eax]
call sub.MSVCR100.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push str.AVSCAN_MAPPED_SET_EVENT
lea ecx, [ebp - 0x218]
call fcn.0044e01e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x21c], ebx
je 0x44efd5
push dword [ebp - 0x21c]
call esi
lea ecx, [ebp - 0x218]
call fcn.0044dfb4
cmp dword [ebp - 0x228], ebx
je 0x44eff0
push dword [ebp - 0x228]
call esi
mov eax, dword [ebp - 0x220]
cmp dword [eax], ebx
jne 0x44ee56
mov eax, dword [ebp - 0x224]
mov ebx, dword [eax]
jmp 0x44ef66