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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fbbbf
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x55a3d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
lea esi, [ebp - 0xf4]
mov dword [ebp - 0x110], edi
call fcn.00415e50
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x104], esi
mov dword [ebp - 0x100], esi
mov byte [ebp - 4], 1
mov ebx, dword [edi + 8]
mov dword [ebp - 0x10c], ebx
cmp ebx, dword [edi + 0xc]
je 0x4306ff
mov eax, dword [ebx]
push eax
lea edi, [ebp - 0x4c]
call fcn.00454960
mov edi, eax
push 0x51175c
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x68]
push ecx
mov byte [ebp - 4], 2
call fcn.00405010
add esp, 0xc
push eax
mov edx, str.NS_DT_
lea esi, [ebp - 0xd8]
mov byte [ebp - 4], 3
call fcn.00405100
add esp, 4
mov ecx, eax
mov eax, edi
lea edi, [ebp - 0xbc]
mov byte [ebp - 4], 4
call fcn.004335a0
push eax
mov edx, str..xml
lea esi, [ebp - 0xa0]
mov byte [ebp - 4], 5
call fcn.00405100
add esp, 4
mov esi, 8
cmp dword [ebp - 0xa8], esi
jb 0x4303f9
mov edx, dword [ebp - 0xbc]
push edx
call fcn.004b5907
add esp, 4
xor edi, edi
xor eax, eax
mov dword [ebp - 0xa8], 7
mov dword [ebp - 0xac], edi
mov word [ebp - 0xbc], ax
cmp dword [ebp - 0xc4], esi
jb 0x43042b
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.004b5907
add esp, 4
xor edx, edx
mov dword [ebp - 0xc4], 7
mov dword [ebp - 0xc8], edi
mov word [ebp - 0xd8], dx
cmp dword [ebp - 0x54], esi
jb 0x430455
mov eax, dword [ebp - 0x68]
push eax
call fcn.004b5907
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], edi
mov word [ebp - 0x68], cx
cmp dword [ebp - 0x38], esi
jb 0x430476
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004b5907
add esp, 4
xor eax, eax
mov word [ebp - 0x4c], ax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], edi
cmp dword [ebp - 0x8c], esi
jae 0x43049a
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4306d1
mov eax, ebx
lea edi, [ebp - 0x108]
mov byte [ebp - 4], 0xb
call fcn.00431420
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
test al, al
jne 0x430635
mov eax, dword [ebx]
push eax
lea edi, [ebp - 0x84]
call fcn.00454960
mov esi, eax
lea ecx, [ebp - 0x1b0]
push ecx
mov byte [ebp - 4], 0xc
call fcn.00403200
lea edx, [ebp - 0x1b0]
push str.NetworkService::TaskManager::StoreTasksLoadedFromOldCache:_Failed_to_store_loaded_task
push edx
mov byte [ebp - 4], 0xd
call fcn.00404d50
add esp, 8
lea eax, [ebp - 0x1b0]
push esi
push eax
call fcn.0041b8e0
add esp, 8
lea esi, [ebp - 0x30]
lea eax, [ebp - 0x1b0]
call fcn.00402e30
mov ecx, esi
push ecx
push 2
mov byte [ebp - 4], 0xe
call fcn.00423a40
mov edi, 8
add esp, 8
cmp dword [ebp - 0x1c], edi
jb 0x430549
mov edx, dword [ebp - 0x30]
push edx
call fcn.004b5907
add esp, 4
mov edx, dword [ebp - 0x1b0]
xor eax, eax
xor esi, esi
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], esi
mov word [ebp - 0x30], ax
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x160]
mov dword [ebp - 0xf8], ecx
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov byte [ebp - 4], 0xf
test byte [ebp - 0x16c], 1
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
je 0x4305a3
mov ecx, dword [ebp - 0x19c]
mov eax, dword [ecx]
push eax
call fcn.004b5907
add esp, 4
mov edx, dword [ebp - 0x19c]
mov dword [edx], esi
mov eax, dword [ebp - 0x18c]
mov dword [eax], esi
mov ecx, dword [ebp - 0x17c]
mov dword [ecx], esi
mov edx, dword [ebp - 0x198]
mov dword [edx], esi
mov eax, dword [ebp - 0x188]
mov dword [eax], esi
mov ecx, dword [ebp - 0x178]
mov dword [ecx], esi
and dword [ebp - 0x16c], 0xfffffffe
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 0x170], esi
call fcn.0040d970
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x1b0]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x160]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
push ecx
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::ios_base.0
call fcn.0049cb21
add esp, 4
cmp dword [ebp - 0x70], edi
jb 0x430630
mov edx, dword [ebp - 0x84]
push edx
call fcn.004b5907
add esp, 4
mov esi, 8
mov dword [ebp - 4], 0xa
jmp 0x4306d1
mov byte [ebp - 4], 1
cmp dword [ebp - 0x8c], esi
jb 0x4306ec
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.004b5907
add esp, 4
mov edi, dword [ebp - 0x110]
add ebx, esi
mov esi, dword [ebp - 0x104]
jmp 0x430362
mov edx, dword [edi + 0xc]
sub edx, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, esi
sub eax, dword [ebp - 0x108]
sar edx, 3
sar eax, 3
cmp edx, eax
jbe 0x43072c
lea edx, [ebp - 0x108]
push edx
call fcn.004314e0
mov esi, dword [ebp - 0x104]
mov eax, dword [ebp - 0x108]
cmp eax, esi
je 0x430763
mov ecx, dword [ebp - 0xf8]
push ecx
push eax
push esi
mov eax, esi
call fcn.004345f0
mov edx, dword [ebp - 0xf8]
add esp, 0xc
push edx
push esi
mov ebx, eax
call fcn.004347c0
add esp, 8
mov dword [ebp - 0x104], ebx
mov esi, ebx
lea eax, [ebp - 0x68]
push eax
push edi
mov byte [ebp - 4], 0x13
call fcn.0042b340
lea edi, [ebp - 0x4c]
mov byte [ebp - 4], 0x14
call fcn.00415f20
mov ecx, edi
push ecx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x15
call fcn.00415640
mov edi, 8
add esp, 4
mov byte [ebp - 4], 0x14
mov bl, al
cmp dword [ebp - 0x38], edi
jb 0x4307ab
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004b5907
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x30]
mov word [ebp - 0x30], ax
test bl, bl
jne 0x4307de
push 0x64
push str.NetworkService::TaskManager::StoreTasksLoadedFromOldCache:_Unable_to_serialize_Task_Manager_to_disk.
call fcn.004125c0
lea ecx, [ebp - 0x30]
push ecx
mov byte [ebp - 4], 0x16
push 2
jmp 0x4307f4
push 0x68
push str.NetworkService::TaskManager::StoreTasksLoadedFromOldCache:_Successfully_serialized_Task_Manager_to_disk.
call fcn.004125c0
lea ecx, [ebp - 0x30]
push ecx
mov byte [ebp - 4], 0x17
push 3
call fcn.00423a40
add esp, 8
cmp dword [ebp - 0x1c], edi
jb 0x43080d
mov edx, dword [ebp - 0x30]
push edx
call fcn.004b5907
add esp, 4
cmp dword [ebp - 0x54], edi
jb 0x43081e
mov eax, dword [ebp - 0x68]
push eax
call fcn.004b5907
add esp, 4
mov dword [ebp - 4], 1
jmp 0x4308b5
mov byte [ebp - 4], 0
mov edi, dword [ebp - 0x108]
test edi, edi
je 0x4308db
mov edx, dword [ebp - 0xf8]
push edx
push esi
mov eax, edi
call fcn.004347c0
push edi
call fcn.004b5907
add esp, 0xc
cmp dword [ebp - 0xe0], 8
jb 0x4308f3
mov eax, dword [ebp - 0xf4]
push eax
call fcn.004b5907
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b58f8
mov esp, ebp
pop ebp
ret