Function at 0x442060
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543030
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x58f860]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x7c], ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x7c]
mov dword [eax + 0x10], 1
push 0x17
push 0
push 0x558900
mov ecx, dword [ebp - 0x7c]
add ecx, 8
call fcn.0048b580
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x4420ce
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x44231f
mov ecx, dword [ebp - 0x7c]
call fcn.0041cb20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4421ed
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
push str.version1.0_encodingutf_8
call fcn.00442340
push ecx
mov ecx, esp
push 0x5588b8
call fcn.00442340
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x7c]
add ecx, 8
call fcn.0048b550
mov ecx, eax
call fcn.00442530
lea ecx, [ebp - 0x20]
call fcn.0048b7d0
push eax
lea edx, [ebp - 0x5c]
push edx
mov ecx, dword [ebp - 0x7c]
add ecx, 8
call fcn.0048b550
mov ecx, eax
call fcn.00442460
lea ecx, [ebp - 0x5c]
call fcn.0048b4d0
mov ecx, dword [ebp - 0x7c]
add ecx, 4
call fcn.0041cbc0
push ecx
mov ecx, esp
push eax
call fcn.00442340
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x7c]
add ecx, 8
call fcn.0048b550
mov ecx, eax
call fcn.004424c0
lea ecx, [ebp - 0x1c]
call fcn.0048b6c0
push eax
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x7c]
add ecx, 8
call fcn.0048b550
mov ecx, eax
call fcn.00442460
lea ecx, [ebp - 0x64]
call fcn.0048b4d0
mov ecx, dword [ebp - 0x7c]
call fcn.00442ec0
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x1c]
call fcn.0040fd10
lea ecx, [ebp - 0x20]
call fcn.0048b7b0
mov eax, dword [ebp - 0x68]
jmp 0x44231f
mov edx, dword [ebp - 0x7c]
cmp dword [edx + 0x14], 0
je 0x4422bf
mov dword [ebp - 0x28], 0
push 0
push 0
push 3
push 0
push 7
push SysReAllocString
mov ecx, dword [ebp - 0x7c]
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x4422b8
mov dword [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [ebp - 0x38]
push eax
call fcn.004c8580
add esp, 4
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x38]
push edx
push 0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00512af0
add esp, 0xc
mov dword [ebp - 0x3c], 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x7c]
call fcn.00442630
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
push eax
call fcn.005124eb
add esp, 4
mov eax, dword [ebp - 0x28]
jmp 0x44231f
mov ecx, dword [ebp - 0x7c]
call fcn.0041cb20
push eax
lea ecx, [ebp - 0x50]
call fcn.004423f0
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x7c]
add ecx, 8
call fcn.0048b550
mov ecx, eax
call fcn.004425b0
movsx edx, ax
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
jge 0x44230c
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x50]
call fcn.00442440
mov eax, dword [ebp - 0x78]
jmp 0x44231f
lea ecx, [ebp - 0x50]
call fcn.00442440
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret