Function at 0x711840
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x732561
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x448], ebx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x454], 0
call fcn.00520480
add esp, 0xc
test esi, esi
je 0x7118cd
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x7118a2
sub ecx, edx
sar ecx, 1
je 0x7118cd
push esi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00540aa0
add esp, 0xc
jmp 0x71196a
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00520480
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.00711250
add esp, 0x14
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00540aa0
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
add esp, 0xc
push str.DatFHS.dll.new
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x71196a
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00540aa0
add esp, 0xc
lea eax, [ebp - 0x218]
push str.DatFHS.dll
push eax
call esi
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.00711460
test eax, eax
je 0x711d1f
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x458], ebx
test ebx, ebx
je 0x711d1f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetCertificatePublicKeyAmount
push ebx
call esi
push str.GetCertificatePublicKey
push ebx
mov edi, eax
call esi
mov esi, eax
mov dword [ebp - 0x44c], esi
test edi, edi
je 0x711cfa
test esi, esi
je 0x711cfa
push str.CVerifyFileSignV2::LoadDatFHSAndUpdatePublicKeyList
push str._s___Load_DatFHS_successfully
push 0x339
push str.C:_actions_runner_work_app_xbc_win_agent_app_xbc_win_agent_srcServerlibFileIOMultiPleSignCheck.cpp
push 0x44
mov dword [ebp - 0x454], 1
call fcn.0050ff70
mov eax, dword [ebp - 0x448]
add esp, 0x14
add eax, 0x48
mov dword [ebp - method.CAutoCriticalSectionLocker.virtual_0], vtable.CAutoCriticalSectionLocker.0
mov dword [ebp - 0x468], eax
add eax, 4
mov dword [ebp - 0x45c], eax
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
call edi
mov edi, eax
xor ebx, ebx
mov dword [ebp - 0x450], edi
mov dword [ebp - 0x444], ebx
test edi, edi
je 0x711cb8
nop
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x43c], 0
push eax
push 0
push ebx
call esi
add esp, 0xc
test eax, eax
je 0x711ca9
push 0x74e8a0
push dword [ebp - 0x43c]
call fcn.0051f04c
add esp, 8
mov dword [ebp - 0x440], eax
test eax, eax
je 0x711ca9
lea ecx, [ebp - 0x43c]
push ecx
push eax
push ebx
call esi
add esp, 0xc
test eax, eax
je 0x711c9b
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
mov ebx, dword [ebp - 0x43c]
mov byte [ebp - 4], 1
cmp ebx, 0xf
ja 0x711afe
push ebx
push dword [ebp - 0x440]
lea eax, [ebp - 0x438]
mov dword [ebp - 0x428], ebx
push eax
call fcn.0051ff00
mov byte [ebp + ebx - 0x438], 0
mov esi, dword [ebp - 0x424]
mov edi, dword [ebp - 0x438]
jmp 0x711b86
cmp ebx, 0x7fffffff
ja 0x711d72
mov esi, ebx
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x711b2e
mov eax, bind
mov esi, bind
push eax
call fcn.00481880
add esp, 4
mov edi, eax
jmp 0x711b63
cmp esi, 0x16
mov eax, 0x16
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x1000
jb 0x711b50
push eax
call fcn.00481880
add esp, 4
mov edi, eax
jmp 0x711b63
test eax, eax
je 0x711b61
push eax
call fcn.0051dec4
add esp, 4
mov edi, eax
jmp 0x711b63
xor edi, edi
push ebx
push dword [ebp - 0x440]
mov dword [ebp - 0x428], ebx
push edi
mov dword [ebp - 0x424], esi
call fcn.0051ff00
mov byte [edi + ebx], 0
mov dword [ebp - 0x438], edi
mov ebx, dword [ebp - 0x448]
lea eax, [ebp - 0x438]
add esp, 0xc
add ebx, 0x40
mov ecx, ebx
push eax
lea eax, [ebp - 0x484]
push eax
call fcn.00710ed0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x478], xmm0
cmp byte [eax + 0xd], 0
jne 0x711bd7
add eax, 0x10
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.00710e00
add esp, 8
test al, al
je 0x711c57
cmp dword [ebx + 4], 0x6666666
je 0x711d6d
mov edi, dword [ebx]
mov dword [ebp - 0x464], ebx
push 0x28
mov byte [ebp - 4], 2
mov dword [ebp - 0x460], 0
call fcn.0051dec4
mov esi, eax
add esp, 4
mov dword [ebp - 0x460], esi
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 3
lea ecx, [esi + 0x10]
push eax
call fcn.00489380
push esi
push dword [ebp - 0x474]
mov dword [esi], edi
mov ecx, ebx
push dword [ebp - 0x478]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov word [esi + 0xc], 0
mov dword [ebp - 0x460], 0
call fcn.004d6b00
mov esi, dword [ebp - 0x424]
mov edi, dword [ebp - 0x438]
mov byte [ebp - 4], 0
cmp esi, 0x10
jb 0x711c89
inc esi
mov eax, edi
cmp esi, 0x1000
jb 0x711c7f
mov edi, dword [edi - 4]
add esi, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x711d68
push esi
push edi
call fcn.0051def4
add esp, 8
mov edi, dword [ebp - 0x450]
mov esi, dword [ebp - 0x44c]
mov ebx, dword [ebp - 0x444]
push dword [ebp - 0x440]
call fcn.0051e494
add esp, 4
inc ebx
mov dword [ebp - 0x444], ebx
cmp ebx, edi
jb 0x711a40
mov eax, dword [ebp - 0x448]
push dword [eax + 0x44]
push str.CVerifyFileSignV2::LoadDatFHSAndUpdatePublicKeyList
push str._s___Total_keys_loaded:__d
push 0x352
push str.C:_actions_runner_work_app_xbc_win_agent_app_xbc_win_agent_srcServerlibFileIOMultiPleSignCheck.cpp
push 0x44
call fcn.0050ff70
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x45c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [ebp - 0x458]
jmp 0x711d18
push str.CVerifyFileSignV2::LoadDatFHSAndUpdatePublicKeyList
push str._s___Function_not_found
push 0x356
push str.C:_actions_runner_work_app_xbc_win_agent_app_xbc_win_agent_srcServerlibFileIOMultiPleSignCheck.cpp
push 0x45
call fcn.0050ff70
add esp, 0x14
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x218]
push eax
push str.CVerifyFileSignV2::LoadDatFHSAndUpdatePublicKeyList
push str._s_______s
push 0x35d
push str.C:_actions_runner_work_app_xbc_win_agent_app_xbc_win_agent_srcServerlibFileIOMultiPleSignCheck.cpp
push 0x44
call fcn.0050ff70
mov eax, dword [ebp - 0x454]
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 4
call fcn.0052981f
call fcn.004d6d30
call fcn.00481190
int3