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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598c98
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x62819c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 4], 0
mov byte [ebp - 0xd], 0
jne 0x4631e5
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x463203
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
test eax, eax
je 0x462f65
test eax, 0xffff0000
jne 0x462f65
movzx eax, ax
lea ecx, [ebp - 0x14]
push eax
call fcn.004295b0
jmp 0x462f6e
push eax
lea ecx, [ebp - 0x14]
call fcn.004373e0
mov esi, dword [ebp - 0x14]
push esi
push 0x2000
push 0
push 4
push 0
push 0xffffffffffffffff
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebx], eax
test eax, eax
je 0x4631c6
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0xb7
je 0x4631c6
push 0
push 0
push 0
push 0
push 0x80000004
push 6
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
push 0x2000
push 0
push 0
push 0xf001f
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx + 4], eax
test eax, eax
jne 0x463005
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4631e5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4631e5
push 0x631858
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042a710
add esp, 0xc
push dword [ebp - 0x18]
mov byte [ebp - 4], 2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebx + 8], eax
test eax, eax
je 0x463187
call edi
cmp eax, 0xb7
je 0x463187
push 0
push 0
push 0
push 0
push 0x80000004
push 6
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
push 0x631860
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042a710
add esp, 0xc
push dword [ebp - 0x1c]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0xc], eax
test eax, eax
je 0x46312e
call edi
cmp eax, 0xb7
je 0x46312e
push 0
push 0
push 0
push 0
push 0x80000004
push 6
push dword [ebx + 0xc]
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov edx, dword [ebp - 0x1c]
or edi, 0xffffffff
mov byte [ebp - 0xd], 1
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4630d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4630ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x46310a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 8]
push str.70_tKShareMemory::create_tKShareMemory::create_ok__name:_ws
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonapponlyoneksharememory.cpp
push str._INFO_
push 0x631888
call fcn.004677c0
add esp, 0x14
jmp 0x4631ec
mov edx, dword [ebp - 0x1c]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46314b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x463169
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4631e5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4631e5
mov edx, dword [ebp - 0x18]
or edi, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4631a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4631e5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4631e5
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4631e5
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, ebx
call fcn.00462c20
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004293d0
int3