Function at 0x42e21d
Capabilities:
Check if file exists
Get file size

Disassembly:
push 0x258
mov eax, 0x43db80
call fcn.0043805e
mov ebx, ecx
mov dword [ebp - 0x250], ebx
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x2c]
mov ecx, dword [ebx]
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x248], eax
mov al, byte [ebp + 0x14]
mov byte [ebp - 0x254], al
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
push eax
mov ecx, edi
call fcn.0040bb2c
lea ecx, [ebp - 0x2c]
call fcn.00402ab8
mov eax, dword [ebp - 0x260]
test eax, eax
je 0x42e28b
push eax
mov ecx, edi
call fcn.0041d7af
mov ecx, dword [ebx]
push dword [ebp - 0x24c]
push str.deployVersionedFile__S
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004026dd
add esp, 0xc
lea eax, [ebp - 0x2c]
mov ecx, ebx
push dword [ebp - 0x254]
push dword [ebp - 0x248]
push dword [ebp - 0x24c]
push eax
call fcn.0042d7a9
push eax
mov ecx, esi
call fcn.0040bb2c
lea ecx, [ebp - 0x2c]
call fcn.00402ab8
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x42e2dd
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e490
xor eax, eax
mov ebx, eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x258], ebx
mov dword [ebp - 4], 1
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x42e30d
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x2c]
push str.Failed_to_open__S
push eax
call fcn.0040f01b
add esp, 0xc
mov dword [ebp - 0x248], eax
mov byte [ebp - 4], 2
mov ecx, esi
cmp dword [esi + 0x14], 7
jbe 0x42e333
mov ecx, dword [esi]
xor eax, eax
push eax
push 0x80
push 3
push eax
push 1
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x42e358
call fcn.0042cfad
jmp 0x42e362
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x258], ebx
mov ecx, dword [ebp - 0x248]
cmp dword [ecx + 0x14], 0xf
jbe 0x42e370
mov ecx, dword [ecx]
mov edx, ecx
mov ecx, eax
call fcn.0041c1a9
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.004027a6
lea eax, [ebp - 0x264]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x42e3cb
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x42e3a1
mov eax, dword [esi]
mov ecx, dword [ebp - 0x250]
push dword [ebp - 0x24c]
push eax
mov ecx, dword [ecx]
push dword [ebp - 0x264]
push str.File_size_is__d_for__S_from__S
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004026dd
add esp, 0x14
jmp 0x42e413
lea ecx, [ebp - 0x248]
call fcn.0041c234
mov byte [ebp - 4], 3
mov edx, esi
cmp dword [esi + 0x14], 7
jbe 0x42e3e4
mov edx, dword [esi]
mov ecx, dword [ebp - 0x250]
push dword [ebp - 0x24c]
push dword [eax]
mov ecx, dword [ecx]
push edx
push str.Failed_to_get_file_size_for__S:__S_from__S
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004026dd
add esp, 0x14
lea ecx, [ebp - 0x248]
call fcn.00402b3c
or dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x42e422
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x14]
cmp byte [ebp + 0x20], 0
je 0x42e488
cmp dword [esi + 0x14], 7
jbe 0x42e43d
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x244]
call fcn.004318d1
mov dword [ebp - 4], 4
cmp dword [edi + 0x14], 7
mov byte [ebp - 0x240], 1
jbe 0x42e45f
mov edi, dword [edi]
push ecx
push edi
lea ecx, [ebp - 0x244]
call fcn.00431ac2
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x244]
mov dword [ebp - method.CUnzipper.virtual_0], vtable.CUnzipper.0
call fcn.00431a77
call fcn.0043800d
ret 0x1c
mov ecx, esi
call fcn.0040274d
push eax
lea eax, [ebp - 0x2c]
push str.File_doesnt_exist:__s
push eax
call fcn.0040f01b
add esp, 0xc
and dword [ebp - 4], 0
lea ecx, [ebp - 0x25c]
push eax
call fcn.00405d7a
push 0x456d68
lea eax, [ebp - 0x25c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3