Function at 0x4042c6
Capabilities:
Check mutex on windows

Disassembly:
push 0x44
mov eax, 0x43256e
call fcn.00428b99
call fcn.0041343c
movzx ebx, al
push str.Global
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
and dword [ebp - 4], 0
cmp dword [esi + 0xe0], 8
jb 0x404300
mov eax, dword [esi + 0xcc]
jmp 0x404306
lea eax, [esi + 0xcc]
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
mov edi, 0x438cbc
push edi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
cmp dword [esi + 0x50], 8
jb 0x40432a
mov eax, dword [esi + 0x3c]
jmp 0x40432d
lea eax, [esi + 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
push edi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
cmp dword [esi + 0x6c], 8
jb 0x40434c
mov eax, dword [esi + 0x58]
jmp 0x40434f
lea eax, [esi + 0x58]
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
push edi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
mov eax, dword [sym.imp.MSVCR90.dll___wargv]
mov eax, dword [eax]
push dword [eax + 4]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
push edi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
lea ecx, [ebp - 0x2c]
test ebx, ebx
je 0x40438e
push str.admin
jmp 0x404393
push str.user
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
mov eax, dword [sym.imp.MSVCR90.dll___wargv]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edx, 0x438ce0
mov cx, word [eax]
cmp cx, word [edx]
jne 0x4043ce
test cx, cx
je 0x4043ca
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x4043ce
add eax, 4
add edx, 4
test cx, cx
jne 0x4043a8
xor eax, eax
jmp 0x4043d3
sbb eax, eax
sbb eax, 0xffffffff
mov ebx, dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x4044cb
push str.Global
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [ebp - 4], 1
cmp dword [esi + 0xe0], 8
jb 0x404404
mov eax, dword [esi + 0xcc]
jmp 0x40440a
lea eax, [esi + 0xcc]
push eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
push edi
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
cmp dword [esi + 0x50], 8
jb 0x404429
mov eax, dword [esi + 0x3c]
jmp 0x40442c
lea eax, [esi + 0x3c]
push eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
push edi
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
cmp dword [esi + 0x6c], 8
jb 0x40444b
mov eax, dword [esi + 0x58]
jmp 0x40444e
lea eax, [esi + 0x58]
push eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
push str._s
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
cmp dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x48]
je 0x404476
push str.admin
jmp 0x40447b
push str.user
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x40448d
lea eax, [ebp - 0x44]
push eax
push 1
push 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
cmp eax, 0xb7
jne 0x4044c5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, bl
call fcn.00428c1c
ret
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4044d7
lea eax, [ebp - 0x28]
push eax
push 1
push 0
call ebx
mov dword [esi + 0x2c], eax
test eax, eax
je 0x4044ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4044ae
mov bl, 1
jmp 0x4044b0