Function at 0x42e4a0
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dad48
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x7b2214]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov ebx, dword [ebp + 0x20]
mov dword [ebp - 0x28], ebx
push 0
push 0x766dcf
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00430430
mov edi, dword [ebp + 0x18]
xor ecx, ecx
test edi, edi
je 0x42e524
mov edx, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
cmp edx, 0x10
lea eax, [ebp + 8]
cmovae eax, esi
cmp byte [eax + ecx], 0x5c
jne 0x42e51c
cmp edx, 0x10
lea eax, [ebp + 8]
cmovae eax, esi
mov byte [eax + ecx], 0x2f
mov edx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
inc ecx
cmp ecx, edi
jb 0x42e4f7
mov esi, dword [ebp - 0x2c]
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
call fcn.0042fd80
cmp dword [ebp - 0x10], 0x10
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, dword [ebp - 0x10]
cmp eax, 0xffffffff
jne 0x42e5a7
cmp edx, 0x10
jb 0x42e57b
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e571
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e888
push edx
push ecx
call fcn.0062a23d
add esp, 8
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0xa8
push str.d:workcodegitpblibcommonccabfilelist.cpp
push str._s__d_:__CCabFileList::_GetCabItemInfo__file_not_exist_:__s
push 0
call fcn.0043f550
add esp, 0x14
xor esi, esi
jmp 0x42e842
cmp edx, 0x10
jb 0x42e5d8
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e5ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e88d
push edx
push ecx
call fcn.0062a23d
add esp, 8
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
jb 0x42e5e3
mov ecx, dword [ecx]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e5e6
sub ecx, edx
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
cmovae eax, dword [ebp + 8]
inc eax
add eax, ecx
mov ecx, ebx
push eax
call fcn.0042fa30
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
call fcn.0042fd80
cmp dword [ebp - 0x14], 0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
jne 0x42e658
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x42e651
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e647
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e892
push edx
push ecx
call fcn.0062a23d
add esp, 8
xor edi, edi
jmp 0x42e6f0
cmp dword [ebp - 0x10], 0x10
lea eax, [ebp - 0x24]
push 0
cmovae eax, dword [ebp - 0x24]
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x42e6aa
cmp dword [ebp - 0x10], 0x10
lea eax, [ebp - 0x24]
push 0
cmovae eax, dword [ebp - 0x24]
push 0x80
push 3
push 0
push 3
push 0x40000000
push eax
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x42e61d
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x42e6f0
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e6e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e892
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
mov dword [eax + 0x18], edi
lea esi, [eax + 0x1c]
lea eax, [ebp + 8]
push eax
call fcn.0042fd80
cmp dword [ebp - 0x14], 0
jne 0x42e748
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x42e7ef
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e739
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e892
push edx
push ecx
call fcn.0062a23d
add esp, 8
jmp 0x42e7ef
cmp dword [ebp - 0x10], 0x10
lea eax, [ebp - 0x24]
push 0
cmovae eax, dword [ebp - 0x24]
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x42e70b
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x38]
movlpd qword [ebp - 0x30], xmm0
push eax
lea eax, [ebp - 0x40]
movlpd qword [ebp - 0x40], xmm0
push eax
push edi
movlpd qword [ebp - 0x38], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x42e79c
xor esi, esi
jmp 0x42e7b0
test esi, esi
je 0x42e7ab
mov eax, dword [ebp - 0x30]
mov dword [esi], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 4], eax
mov esi, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x42e7eb
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e7e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e892
push edx
push ecx
call fcn.0062a23d
add esp, 8
test esi, esi
jne 0x42e81f
cmp dword [ebp + 0x1c], 0x10
lea esi, [ebp + 8]
cmovae esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 0xb5
push str.d:workcodegitpblibcommonccabfilelist.cpp
push str._s__d_:__CCabFileList::_GetCabItemInfo__GetFileTimes_failed_:__s____d
push 0
call fcn.0043f550
add esp, 0x18
xor esi, esi
jmp 0x42e842
mov ecx, dword [ebp - 0x28]
lea eax, [ebp + 8]
add ecx, 0x24
cmp ecx, eax
je 0x42e83d
cmp dword [ebp + 0x1c], 0x10
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
call fcn.00430430
mov esi, 1
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x42e872
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e868
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e892
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
call fcn.0068843e
call fcn.0068843e
call fcn.0068843e
int3