Function at 0x471300
Capabilities:
Check mutex on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cbc6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 0
push str.bbmmy_f
push 0x2000
push 0
push 0x40
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0
je 0x4713e5
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x20], 0
jne 0x4713db
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
jmp 0x4713e5
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 1
push str.bbmmy_i
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], eax
push str.bbmmy_o
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], eax
push str.bbmmy_m
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
cmp dword [ecx + 0x10], 0
jne 0x47144b
mov ecx, dword [ebp - 0x10]
call fcn.00471a90
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push fcn.00457c00
lea eax, [ebp - 0x114]
push eax
push 0x4d9dd0
push 0x5035c0
call fcn.004579b0
add esp, 8
push eax
call fcn.004579b0
add esp, 8
mov ecx, eax
call fcn.004552c0
push 0x14
call fcn.0045daf0
add esp, 4
mov dword [ebp - 0x15c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x15c], 0
je 0x4714c2
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x15c]
call fcn.004677e0
mov dword [ebp - 0x170], eax
jmp 0x4714cc
mov dword [ebp - 0x170], 0
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x158], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x158]
mov dword [edx], eax
push 0x14
call fcn.0045daf0
add esp, 4
mov dword [ebp - 0x164], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x164], 0
je 0x471521
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x164]
call fcn.004715c0
mov dword [ebp - 0x170], eax
jmp 0x47152b
mov dword [ebp - 0x170], 0
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x160], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x160]
mov dword [edx + 4], eax
push 0x14
call fcn.0045daf0
add esp, 4
mov dword [ebp - 0x16c], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x16c], 0
je 0x471581
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x16c]
call fcn.004712a0
mov dword [ebp - 0x170], eax
jmp 0x47158b
mov dword [ebp - 0x170], 0
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x168]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret