Function at 0x416750
Capabilities:
Create thread
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fafa8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x555c24]
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 dword [ebp - 0x20], edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.DBWinMutex
call esi
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x4167a8
push 0x8007000e
call fcn.00416720
push ebx
push 0
push 0x1f0001
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [edi + 4], eax
test eax, eax
jne 0x4167d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x41695d
push str.DBWIN_BUFFER_READY
call esi
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x4167eb
push 0x8007000e
call fcn.00416720
push esi
push 0
push 0x1f0003
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x416823
push esi
push 1
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x416823
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x416956
push str.DBWIN_DATA_READY
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
jne 0x416841
push 0x8007000e
call fcn.00416720
push edi
push 0
push 0x100000
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x10], eax
test eax, eax
jne 0x41687f
push edi
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x10], eax
test eax, eax
jne 0x41687f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
jmp 0x41694c
push str.DBWIN_BUFFER
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
test edi, edi
jne 0x41689a
push 0x8007000e
call fcn.00416720
push edi
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 8], eax
test eax, eax
jne 0x4168cb
push edi
push 0x1000
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 8], eax
test eax, eax
je 0x416915
mov eax, dword [ebp - 0x20]
push 0
push 0
push 0
push 4
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x1c], eax
test eax, eax
je 0x416915
push 0
push 0
push ecx
push 0x416a10
push 0
push 0
mov dword [ecx + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x14], eax
test eax, eax
jne 0x41691d
mov dword [ecx + 0x18], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41693f
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov eax, dword [ebp - 0x20]
push 0xf
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
push edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, dword [ebp - 0x14]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, dword [ebp - 0x20]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
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.004b8b56
mov esp, ebp
pop ebp
ret