Function at 0x6428c5a0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x43c
push ebx
push esi
push edi
xor esi, esi
mov byte [esp + 0x13], 0
xor ebx, ebx
xor edi, edi
test ebx, ebx
jne 0x6428c5d5
push str.GlobalEasyAntiCheatEventModule
push ebx
push 0x100002
call dword [sym.imp.kernel32.dll_OpenEventW]
mov ebx, eax
test ebx, ebx
je 0x6428c613
test esi, esi
jne 0x6428c5f0
push str.GlobalEasyAntiCheatEventDriver
push esi
push 0x100002
call dword [sym.imp.kernel32.dll_OpenEventW]
mov esi, eax
test esi, esi
je 0x6428c613
mov eax, dword [0x648b00f0]
test eax, eax
jne 0x6428c62c
push str.GlobalEasyAntiCheatEventGame
push eax
push 0x100002
call dword [sym.imp.kernel32.dll_OpenEventW]
mov dword [0x648b00f0], eax
test eax, eax
jne 0x6428c62c
push 0x64
push dword [0x648b00bc]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
inc edi
cmp edi, 0x64
jl 0x6428c5ba
mov eax, dword [0x648b00f0]
test ebx, ebx
je 0x6428c8b9
test esi, esi
je 0x6428c8b9
test eax, eax
je 0x6428c8b9
push str.GlobalEasyAntiCheatBin
xor edi, edi
push edi
push 6
call dword [sym.imp.kernel32.dll_OpenFileMappingW]
mov dword [0x648b00e8], eax
test eax, eax
je 0x6428c81d
push edi
push edi
push edi
push 6
push eax
call dword [sym.imp.kernel32.dll_MapViewOfFile]
mov dword [0x648b00ec], eax
test eax, eax
je 0x6428c81d
mov ecx, 0x359810
mov dword [eax], ecx
mov eax, dword [0x648b00ec]
push ecx
add eax, 4
push 0x64294930
push eax
call fcn.642921cb
add esp, 0xc
push ebx
call dword [sym.imp.kernel32.dll_SetEvent]
test eax, eax
jne 0x6428c743
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
lea ecx, [esp + 0x18]
push str.Unexpected_error.
mov dword [esp + 0x18], edi
call fcn.64273ffe
sub esp, 0x18
mov ecx, esp
push str.launcher_error.error_generic
call fcn.64273ffe
lea eax, [esp + 0x30]
mov ecx, 0x648b0260
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.64275138
cmp dword [eax + 0x14], 0x10
jb 0x6428c6ec
mov eax, dword [eax]
push edi
push eax
push str._s__SetEvent_failed:__i_
mov edi, 0x200
lea eax, [esp + 0x254]
push edi
push eax
call fcn.6427e254
add esp, 0x14
lea ecx, [esp + 0x30]
call fcn.64273636
lea ecx, [esp + 0x18]
call fcn.64273636
push dword [esp + 0x14]
lea eax, [esp + 0x4c]
push str.Unexpected_error.
push str._s__SetEvent_failed:__i_
push edi
push eax
call fcn.6427e254
add esp, 0x14
push 1
push 0x7533
jmp 0x6428c950
push 0x7530
push esi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
test eax, eax
je 0x6428c7f3
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
lea ecx, [esp + 0x18]
push str.Unexpected_error.
mov dword [esp + 0x18], edi
call fcn.64273ffe
sub esp, 0x18
mov ecx, esp
push str.launcher_error.error_generic
call fcn.64273ffe
lea eax, [esp + 0x30]
mov ecx, 0x648b0260
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.64275138
cmp dword [eax + 0x14], 0x10
jb 0x6428c79c
mov eax, dword [eax]
push edi
push eax
push str._s__WaitForSingleObject_failed:__i_
mov edi, 0x200
lea eax, [esp + 0x254]
push edi
push eax
call fcn.6427e254
add esp, 0x14
lea ecx, [esp + 0x30]
call fcn.64273636
lea ecx, [esp + 0x18]
call fcn.64273636
push dword [esp + 0x14]
lea eax, [esp + 0x4c]
push str.Unexpected_error.
push str._s__WaitForSingleObject_failed:__i_
push edi
push eax
call fcn.6427e254
add esp, 0x14
push 1
push 0x7534
jmp 0x6428c950
mov eax, dword [0x648b00ec]
cmp dword [eax], 1
mov dword [eax], edi
sete byte [esp + 0x13]
je 0x6428c962
mov eax, dword [0x648b00ec]
push 1
add eax, 4
push 0x7535
push eax
jmp 0x6428c95c
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
lea ecx, [esp + 0x18]
push str.Unexpected_error.
mov dword [esp + 0x18], edi
call fcn.64273ffe
sub esp, 0x18
mov ecx, esp
push str.launcher_error.error_generic
call fcn.64273ffe
lea eax, [esp + 0x30]
mov ecx, 0x648b0260
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.64275138
cmp dword [eax + 0x14], 0x10
jb 0x6428c862
mov eax, dword [eax]
push edi
push eax
push str._s__OpenFileMapping_failed:__i_
mov edi, 0x200
lea eax, [esp + 0x254]
push edi
push eax
call fcn.6427e254
add esp, 0x14
lea ecx, [esp + 0x30]
call fcn.64273636
lea ecx, [esp + 0x18]
call fcn.64273636
push dword [esp + 0x14]
lea eax, [esp + 0x4c]
push str.Unexpected_error.
push str._s__OpenFileMapping_failed:__i_
push edi
push eax
call fcn.6427e254
add esp, 0x14
push 1
push 0x7532
jmp 0x6428c950
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
lea ecx, [esp + 0x18]
push str.Unexpected_error.
mov dword [esp + 0x18], edi
call fcn.64273ffe
sub esp, 0x18
mov ecx, esp
push str.launcher_error.error_generic
call fcn.64273ffe
lea eax, [esp + 0x30]
mov ecx, 0x648b0260
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.64275138
cmp dword [eax + 0x14], 0x10
jb 0x6428c8fe
mov eax, dword [eax]
push edi
push eax
push str._s__OpenEvent_failed:__i_
mov edi, 0x200
lea eax, [esp + 0x254]
push edi
push eax
call fcn.6427e254
add esp, 0x14
lea ecx, [esp + 0x30]
call fcn.64273636
lea ecx, [esp + 0x18]
call fcn.64273636
push dword [esp + 0x14]
lea eax, [esp + 0x4c]
push str.Unexpected_error.
push str._s__OpenEvent_failed:__i_
push edi
push eax
call fcn.6427e254
add esp, 0x14
push 1
push 0x7531
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x254]
push eax
call fcn.6428d296
mov edi, dword [sym.imp.kernel32.dll_CloseHandle]
test ebx, ebx
je 0x6428c96f
push ebx
call edi
test esi, esi
je 0x6428c976
push esi
call edi
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret