Function at 0x41cea0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac985
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x63afd4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
lea edi, [esi + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
je 0x41d16b
test eax, eax
je 0x41d16b
push esi
lea ecx, [ebp - 0x28]
call fcn.0041d980
push 2
push 0x6230e4
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00403d30
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41cf37
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x41cf37
cmp dword [esi + 0x14], 8
jb 0x41cf2c
mov esi, dword [esi]
push dword [edi]
lea ecx, [ebp - 0x28]
push esi
call fcn.00403c20
sub esp, 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov ecx, esp
xorps xmm0, xmm0
cmovae eax, dword [ebp - 0x28]
movups xmmword [ebp - 0x50], xmm0
movups xmmword [ebp - 0x40], xmm0
movq qword [ebp - 0x30], xmm0
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x70]
call fcn.00428e60
mov esi, eax
mov dword [ebp - 0x50], 0
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 3
mov ecx, dword [0x6448b4]
test ecx, ecx
je 0x41cfa4
mov eax, dword [ecx]
lea edx, [ebp - 0x34]
push edx
mov eax, dword [eax + 8]
call eax
push 0x21
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
push esi
mov dword [ebp - 0x30], 0
mov word [ebp - 0x2c], 0
call fcn.00428b20
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.00403bc0
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x41d07f
cmp eax, 0xffffffff
je 0x41d07f
push dword [ebp + 0x18]
lea ecx, [ebp - 0x50]
push dword [ebp - 0x54]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004284d0
mov esi, eax
test esi, esi
jns 0x41d06c
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
movups xmm0, xmmword [0x6212c0]
cmovae ecx, dword [ebp - 0x28]
mov edx, str.D:Tools_agentworkspacewechat_player_v395wechatplayerplayerTPProxyLoaderCallbackImpl.cc
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
push str.ReadFileData._read_file__ls_error
push str.TPProxyLoaderCallbackImpl
push str.TPProxyLoaderCallbackImpl::ReadFileData
mov dword [eax + 8], ecx
mov ecx, 4
push 0x7e
mov byte [eax], 3
call fcn.004113f0
add esp, 0x70
lea ecx, [ebp - 0x50]
call fcn.004283d0
jmp 0x41d0d9
lea ecx, [ebp - 0x50]
call fcn.004283d0
mov eax, esi
cdq
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
jmp 0x41d0e7
movups xmm0, xmmword [0x6212c0]
sub esp, 0x10
mov edx, str.D:Tools_agentworkspacewechat_player_v395wechatplayerplayerTPProxyLoaderCallbackImpl.cc
mov eax, esp
mov ecx, 4
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
push str.ReadFileData._fileHandle_is_invalid__return
push str.TPProxyLoaderCallbackImpl
push str.TPProxyLoaderCallbackImpl::ReadFileData
push 0x79
movups xmmword [eax], xmm0
call fcn.004113f0
add esp, 0x70
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 0x54], 0xffffffff
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xd
call fcn.004283d0
mov byte [ebp - 4], 0xe
mov ecx, dword [0x6448b4]
test ecx, ecx
je 0x41d10c
mov eax, dword [ecx]
lea edx, [ebp - 0x34]
push edx
mov eax, dword [eax + 0xc]
call eax
lea ecx, [ebp - 0x4c]
call fcn.00403bc0
mov byte [ebp - 4], 0xf
mov edi, dword [ebp - 0x50]
test edi, edi
je 0x41d15b
cmp edi, 0xffffffff
je 0x41d15b
call fcn.004283c0
mov esi, eax
call fcn.004393d0
mov ecx, dword [ebp + 4]
push esi
push ecx
mov edx, dword [eax]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, eax
push edi
mov eax, dword [edx + 8]
call eax
mov esi, dword [ebp - 0x50]
call fcn.004393d0
mov ecx, eax
push esi
mov edx, dword [eax]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x28]
call fcn.00403bc0
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
jmp 0x41d1ca
movups xmm0, xmmword [0x6212c0]
sub esp, 0x10
mov edx, str.D:Tools_agentworkspacewechat_player_v395wechatplayerplayerTPProxyLoaderCallbackImpl.cc
mov eax, esp
mov ecx, 4
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
push str.ReadFileData._file_path_is_empty_or_buffer_is_nullptr
push str.TPProxyLoaderCallbackImpl
push str.TPProxyLoaderCallbackImpl::ReadFileData
push 0x6d
movups xmmword [eax], xmm0
call fcn.004113f0
or eax, 0xffffffff
add esp, 0x70
or edx, eax
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.0057d277
mov esp, ebp
pop ebp
ret 0x18