Function at 0x4e78d0
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652250
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x6f36d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
push str.global_name
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0
mov byte [eax], 0
call fcn.004a56e0
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x64]
push edx
lea edx, [ebp - 0x54]
mov byte [ebp - 4], 1
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov eax, dword [eax + 4]
mov byte [ebp - 4], 2
test eax, eax
je 0x4e7964
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4e7964
mov eax, dword [eax]
xor edx, edx
push ecx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], dx
call fcn.00484230
jmp 0x4e7978
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test eax, eax
je 0x4e79aa
cmp byte [ebp - 0x4c], 0
je 0x4e799f
push eax
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push dword [ebp - 0x50]
call fcn.0055d2a5
add esp, 0xc
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x4c], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test eax, eax
je 0x4e79d1
cmp byte [ebp - 0x5c], 0
je 0x4e79d1
push eax
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push dword [ebp - 0x60]
call fcn.0055d2a5
add esp, 0xc
cmp dword [ebp - 0x18], 0
je 0x4e7e0c
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x4c], 0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0047d470
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 7
push eax
mov ecx, 0x6fae40
call fcn.00531290
mov edx, dword [ebp - 0x44]
or eax, 0xffffffff
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4e7a2f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
cmp eax, 8
jae 0x4e7a66
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x68], 7
movups xmmword [ebp - 0x7c], xmm0
jmp 0x4e7aa1
mov esi, eax
lea ecx, [ebp - 0x7c]
mov eax, SysReAllocString
or esi, 7
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00483c90
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x7c], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x48]
push eax
call fcn.005d9270
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], eax
push 0xe
push 0x67c064
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 8
call fcn.00483fc0
cmp dword [ebp - 0x68], 8
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x44], 0
cmovae eax, dword [ebp - 0x7c]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x50], esi
test esi, esi
je 0x4e7af5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4e7af5
mov byte [ebp - 0x4c], 1
mov dword [ebp - 0x44], 1
mov edx, dword [ebp - 0x68]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x4e7b33
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e7b29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e7e4d
push edx
push ecx
call fcn.0055d2a5
add esp, 8
cmp dword [ebp - 0x44], 0
jne 0x4e7c85
test esi, esi
je 0x4e7c72
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4e7b58
mov byte [ebp - 0x4c], 1
jmp 0x4e7b62
cmp byte [ebp - 0x4c], 0
je 0x4e7c72
mov ecx, 0x6fae40
call fcn.00531670
mov dword [ebp - 0x44], eax
test eax, eax
je 0x4e7c6a
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4e7c6a
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x30], 0
mov ecx, edx
mov dword [ebp - 0x2c], 7
xor eax, eax
mov word [ebp - 0x40], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x48], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e7bb0
sub ecx, dword [ebp - 0x48]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00484230
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x2c], 8
mov byte [ebp - 4], 9
mov dword [ebp - 0x64], 0
lea eax, [eax*2 + 2]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0x4a
push dword [ebp - 0x44]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x4e7c20
push str.sendmessage_wm_copydata_fail
call fcn.00488bb0
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.0047d710
jmp 0x4e7c85
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 6
mov byte [eax], 1
cmp edx, 8
jb 0x4e7df4
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e7c5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e7e52
push edx
push ecx
call fcn.0055d2a5
add esp, 8
jmp 0x4e7c85
mov eax, dword [ebp - 0x58]
mov byte [eax], 0
jmp 0x4e7c91
mov eax, dword [ebp - 0x58]
push str.process_lock_wait_fail
mov byte [eax], 0
call fcn.00488bb0
add esp, 4
mov eax, dword [ebp - 0x58]
cmp byte [eax], 0
jne 0x4e7df4
push 1
push 0x4a
call fcn.00531120
sub esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.004b2ac0
mov ecx, edi
call fcn.004f43d0
call fcn.004f3de0
cmp dword [eax + 0x30], 0
jne 0x4e7cc6
call fcn.004f3de0
mov dword [eax + 0x30], 0
call fcn.004f3de0
push dword [ebp - 0x48]
lea ecx, [edi + 0x20]
push ecx
push eax
push 0x6f3028
push 0x6faf10
call fcn.00489280
movzx eax, ax
add esp, 0x14
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x4e7d56
call fcn.00507723
mov dword [edi + 0x14], eax
test eax, eax
jne 0x4e7d56
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, edi
call fcn.004f3dd0
push eax
mov ecx, 0x6fae40
call fcn.00532c40
test esi, esi
je 0x4e7d2d
cmp byte [ebp - 0x4c], 0
je 0x4e7d2d
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x4c], 0
push esi
mov dword [ebp - 0x50], 0
call fcn.004cee70
mov ecx, eax
call fcn.004f3db0
lea eax, [ebp - 0x28]
push eax
call fcn.004cee70
mov ecx, eax
call fcn.004f3d80
jmp 0x4e7e0c
push 0
push 0
push eax
call fcn.00507825
cmp word [ebp - 0x44], 0
je 0x4e7d06
lea eax, [edi + 8]
test eax, eax
je 0x4e7e57
test edi, edi
je 0x4e7e57
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x6f302c
mov dword [edi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x6f3044]
lea ecx, [edi + 8]
mov dword [ecx + 8], eax
push 0x6f302c
mov dword [0x6f3044], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x6f3078]
mov eax, dword [0x6f3080]
mov edx, dword [0x6f3074]
sub eax, ecx
push 0
push dword [0x6faf14]
push 0
push 0
push eax
mov eax, dword [0x6f307c]
sub eax, edx
push eax
mov eax, dword [ebp - 0x44]
push ecx
push edx
push 0x86000000
push 0
movzx eax, ax
push eax
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
jmp 0x4e7d06
test esi, esi
je 0x4e7e0c
cmp byte [ebp - 0x4c], 0
je 0x4e7e05
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
call fcn.0047d710
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xa
test eax, eax
je 0x4e7e32
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d6c3
mov esp, ebp
pop ebp
ret
call fcn.005e3e64
call fcn.005e3e64
push 1
push 0xc0000005
call fcn.00483a50
int3