Function at 0x45f7e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x50cd88
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebp
push esi
push edi
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x5c]
xor edi, edi
mov dword [ebx], edi
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x45f81f
mov eax, dword [esi + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45f837
shr eax, 4
not al
and al, 1
jne 0x45f86d
mov ecx, ebp
mov dword [ebx], 1
call fcn.00438300
push 0x52c240
push 0x51f1f4
mov edx, eax
call fcn.00439710
add esp, 8
xor al, al
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x48
ret
call fcn.00469e90
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x45f8b0
mov ecx, ebp
mov dword [ebx], 2
call fcn.00438300
push str.get_clouddict_failed.
push 0x51f1f4
mov edx, eax
call fcn.00439710
add esp, 8
xor al, al
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x48
ret
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], fcn.004cc39d
mov dword [esp + 0x38], fcn.004ce4c2
mov dword [esp + 0x3c], fcn.004cc2c0
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], 0x1fff8
mov dword [esp + 0x30], vtable.t_heap.0
push esi
push ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x5c], edi
call fcn.00442fc0
test al, al
jne 0x45f921
mov ecx, ebp
mov dword [ebx], 3
call fcn.00438300
push str.open_file_failed.
push 0x51f1f4
mov edx, eax
call fcn.00439710
add esp, 8
jmp 0x45fb94
lea edx, [esp + 0x24]
call fcn.004432f0
cmp eax, edi
jne 0x45f945
push 0x51f23c
mov ecx, ebp
mov dword [ebx], 4
call fcn.00402790
jmp 0x45fb94
push 0x521074
push eax
call fcn.004d0710
add esp, 8
cmp eax, edi
jne 0x45f96e
push 0x51f23c
mov ecx, ebp
mov dword [ebx], 5
call fcn.00402790
jmp 0x45fb94
push eax
call fcn.004cf7cd
add esp, 4
cmp eax, edi
mov dword [esp + 0x18], eax
jg 0x45f996
push 0x51f23c
mov ecx, ebp
mov dword [ebx], 6
call fcn.00402790
jmp 0x45fb94
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], vtable.t_lockerMemSharable.0
lea eax, [esp + 0x1c]
push eax
mov eax, ebp
mov byte [esp + 0x58], 1
call fcn.00427b50
test al, al
jne 0x45f9c7
mov dword [ebx], 7
push 0x52bd48
jmp 0x45fb7f
mov edx, dword [esp + 0x14]
push ebp
lea eax, [esp + 0x1c]
call fcn.00468fe0
test al, al
jne 0x45f9e9
mov dword [ebx], 8
push str.SetDelCfgDataVer_failed.
jmp 0x45fb7f
lea esi, [esp + 0x1c]
mov byte [esp + 0x54], 0
call fcn.00427b30
lea edx, [esp + 0x24]
call fcn.004432f0
cmp eax, edi
jne 0x45fa1b
push 0x51f23c
mov ecx, ebp
mov dword [ebx], 9
call fcn.00402790
jmp 0x45fb94
push 0x521074
push eax
call fcn.004d0710
add esp, 8
cmp eax, edi
jne 0x45fa44
push 0x51f23c
mov ecx, ebp
mov dword [ebx], 0xa
call fcn.00402790
jmp 0x45fb94
push eax
call fcn.004cf7cd
add esp, 4
cmp eax, edi
jg 0x45fa68
push 0x51f23c
mov ecx, ebp
mov dword [ebx], 0xb
call fcn.00402790
jmp 0x45fb94
lea edx, [esp + 0x24]
call fcn.004432f0
cmp eax, edi
je 0x45fb17
lea esp, [esp]
push 0x521074
push eax
call fcn.004d0710
add esp, 8
cmp eax, edi
je 0x45fb3f
push eax
call fcn.004cf7cd
add esp, 4
push 0x521074
push edi
mov esi, eax
call fcn.004d0710
add esp, 8
cmp eax, edi
je 0x45fb53
push eax
call fcn.004cf7cd
add esp, 4
mov edi, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], vtable.t_lockerMemSharable.0
lea ecx, [esp + 0x1c]
push ecx
mov eax, ebp
mov byte [esp + 0x58], 2
call fcn.00427b50
mov ecx, ebp
test al, al
je 0x45fb67
mov eax, dword [esp + 0x14]
call fcn.00469030
test al, al
je 0x45fb74
lea esi, [esp + 0x1c]
mov byte [esp + 0x54], 0
call fcn.00427b30
lea edx, [esp + 0x24]
call fcn.004432f0
xor edi, edi
test eax, eax
jne 0x45fa80
lea esi, [esp + 0x24]
mov dword [ebx], edi
mov dword [esp + 0x54], 0xffffffff
call fcn.00442f80
mov al, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x48
ret
push 0x51f23c
mov ecx, ebp
mov dword [ebx], 0xc
call fcn.00402790
jmp 0x45fb94
push 0x51f23c
mov ecx, ebp
mov dword [ebx], 0xd
call fcn.00402790
jmp 0x45fb94
mov dword [ebx], 0xe
push 0x52bd48
jmp 0x45fb81
mov dword [ebx], 0xf
push str.remove_failed.
mov ecx, ebp
call fcn.00402790
lea esi, [esp + 0x1c]
mov byte [esp + 0x54], 0
call fcn.00427b30
lea esi, [esp + 0x24]
mov dword [esp + 0x54], 0xffffffff
call fcn.00442f80
xor al, al
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x48
ret