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

Disassembly:
push 0x258
mov eax, 0x43dc2e
call fcn.004380ee
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.0040bbb5
lea ecx, [ebp - 0x2c]
call fcn.00402ab8
mov eax, dword [ebp - 0x260]
test eax, eax
je 0x42e314
push eax
mov ecx, edi
call fcn.0041d838
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.0042d832
push eax
mov ecx, esi
call fcn.0040bbb5
lea ecx, [ebp - 0x2c]
call fcn.00402ab8
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x42e366
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e519
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 0x42e396
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x2c]
push str.Failed_to_open__S
push eax
call fcn.0040f0a4
add esp, 0xc
mov dword [ebp - 0x248], eax
mov byte [ebp - 4], 2
mov ecx, esi
cmp dword [esi + 0x14], 7
jbe 0x42e3bc
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 0x42e3e1
call fcn.0042d036
jmp 0x42e3eb
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x258], ebx
mov ecx, dword [ebp - 0x248]
cmp dword [ecx + 0x14], 0xf
jbe 0x42e3f9
mov ecx, dword [ecx]
mov edx, ecx
mov ecx, eax
call fcn.0041c232
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 0x42e454
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x42e42a
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 0x42e49c
lea ecx, [ebp - 0x248]
call fcn.0041c2bd
mov byte [ebp - 4], 3
mov edx, esi
cmp dword [esi + 0x14], 7
jbe 0x42e46d
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 0x42e4ab
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 0x42e511
cmp dword [esi + 0x14], 7
jbe 0x42e4c6
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x244]
call fcn.0043195d
mov dword [ebp - 4], 4
cmp dword [edi + 0x14], 7
mov byte [ebp - 0x240], 1
jbe 0x42e4e8
mov edi, dword [edi]
push ecx
push edi
lea ecx, [ebp - 0x244]
call fcn.00431b4e
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x244]
mov dword [ebp - method.CUnzipper.virtual_0], vtable.CUnzipper.0
call fcn.00431b03
call fcn.0043809d
ret 0x1c
mov ecx, esi
call fcn.0040274d
push eax
lea eax, [ebp - 0x2c]
push str.File_doesnt_exist:__s
push eax
call fcn.0040f0a4
add esp, 0xc
and dword [ebp - 4], 0
lea ecx, [ebp - 0x25c]
push eax
call fcn.00405d7a
push 0x456dc8
lea eax, [ebp - 0x25c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3