Function at 0x52bca0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60d65c
mov eax, dword fs:[0]
push eax
mov eax, 0x1474
call fcn.005ddc60
mov eax, dword [0x6b000c]
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 edi, ecx
mov eax, dword [edi + 0x64]
lea ecx, [ebp - 0x1468]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x146c], ebx
push dword [eax]
call fcn.0046d1f0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x145c], 0
jne 0x52bd4a
push 0
push 0
push 0
push 0
push 0
mov ecx, edi
call fcn.00523f60
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1470], esp
push 0x6b1658
call fcn.00420d90
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0x60]
push 0
call dword [sym.imp.ycomuiu.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const]
mov byte [ebp - 4], 0
mov edx, 0x40
mov ecx, eax
call fcn.004e0d20
add esp, 0x1c
jmp 0x52bf24
mov esi, dword [ebp - 0x1448]
xorps xmm0, xmm0
mov byte [edi + 0x40], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
movlpd qword [ebp - 0x1480], xmm0
mov dword [ebp - 0x1474], 0
mov dword [ebp - 0x1478], 0
test ebx, ebx
je 0x52bf07
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x52bda0
sub ecx, edx
sar ecx, 1
je 0x52bf07
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x52be82
mov eax, dword [ebp - 0x146c]
mov ebx, 1
mov esi, dword [ebp - 0x1448]
add eax, 6
push 0x104
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005a829a
lea eax, [ebp - 0x218]
add esp, 0xc
mov dword [ebp - 0x1470], eax
nop dword [eax]
lea eax, [esi - 2]
cmp eax, 0xfffffed
ja 0x52be59
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x1470]
push eax
call fcn.0052dac0
test eax, eax
js 0x52bf01
je 0x52be59
lea eax, [ebp - 0x1474]
mov ecx, edi
push eax
lea eax, [ebp - 0x1480]
push eax
lea eax, [ebp - 0x1478]
push eax
push ebx
lea eax, [ebp - 0x420]
push eax
push esi
lea eax, [ebp - 0x1468]
push eax
call fcn.0052f690
mov esi, eax
xor ebx, ebx
jmp 0x52be00
lea eax, [esi - 2]
cmp eax, 0xfffffed
ja 0x52bf01
cmp esi, 2
jb 0x52bf01
cmp esi, 0xfffffef
ja 0x52bf01
mov ebx, dword [ebp - 0x146c]
cmp esi, dword [ebp - 0x1448]
je 0x52bf07
push ebx
lea ecx, [ebp - 0x146c]
call fcn.0040c380
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x146c]
push 1
push 0x64f4f8
call fcn.0040ceb0
push 0
push dword [ebp - 0x1474]
lea eax, [ebp - 0x1468]
mov ecx, edi
push dword [ebp - 0x147c]
push dword [ebp - 0x1480]
push dword [ebp - 0x1478]
push 0
push dword [ebp - 0x146c]
push esi
push eax
call fcn.00529e80
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x146c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x52bf24
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x52bf24
mov esi, dword [ebp - 0x1448]
push 0
push 0
push 0
push 0
push 0
push 1
push 0
push esi
lea eax, [ebp - 0x1468]
mov ecx, edi
push eax
call fcn.00529e80
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1458]
mov dword [ebp - method.CExFATVolume.virtual_0], vtable.CExFATVolume.0
cmp eax, 0xffffffff
je 0x52bf47
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.0055f9be
mov esp, ebp
pop ebp
ret 8