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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov dword [ebp - 0x128], ecx
push 1
mov ecx, dword [ebp - 0x128]
call fcn.00418536
and eax, 0xff
test eax, eax
je 0x4193b8
mov eax, 1
test eax, eax
je 0x41939e
mov dword [ebp - 0x12c], 0
jmp 0x4193b1
push 0x4251b0
call fcn.004045e0
add esp, 4
mov dword [ebp - 0x12c], eax
xor al, al
jmp 0x419718
mov ecx, dword [ebp - 0x128]
movsx edx, byte [ecx + 0xc8]
test edx, edx
je 0x4193f8
mov eax, 1
test eax, eax
je 0x4193de
mov dword [ebp - 0x130], 0
jmp 0x4193f1
push str.A_file_already_opened._n
call fcn.004045e0
add esp, 4
mov dword [ebp - 0x130], eax
xor al, al
jmp 0x419718
mov ecx, dword [ebp - 0x128]
add ecx, 0x60
call fcn.0041bec3
cmp eax, 0xffffffff
jne 0x41943a
mov ecx, 1
test ecx, ecx
je 0x419420
mov dword [ebp - 0x134], 0
jmp 0x419433
push str.You_cannot_add_the_files_to_the_existing_disk_spannig_archive._n
call fcn.004045e0
add esp, 4
mov dword [ebp - 0x134], eax
xor al, al
jmp 0x419718
mov ecx, dword [ebp - 0x128]
call fcn.00418745
cmp eax, 0xffff
jne 0x41947b
mov edx, 1
test edx, edx
je 0x419461
mov dword [ebp - 0x138], 0
jmp 0x419474
push str.Maximum_file_count_inside_archive_reached._n
call fcn.004045e0
add esp, 4
mov dword [ebp - 0x138], eax
xor al, al
jmp 0x419718
mov byte [ebp - 4], 1
cmp dword [ebp + 0x10], 0
je 0x4194e0
lea ecx, [ebp - 0x120]
call fcn.0041b480
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
jne 0x4194aa
mov byte [ebp - 4], 0
jmp 0x4194e0
lea edx, [ebp - 0x11c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00406d1c
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2c], 0xffffffff
jne 0x4194e0
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], 0x20
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x128]
add ecx, 8
call fcn.0041bb8b
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x128]
add ecx, 0xcc
call fcn.00401d71
mov ecx, dword [ebp - 0x128]
call fcn.00418ccc
add eax, 0x34
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x128]
xor eax, eax
mov al, byte [edx + 4]
test eax, eax
je 0x41952f
push 0x2f
push 0x5c
mov ecx, dword [ebp - 8]
call sub.MFC42.DLL_CString::Replace
mov ecx, dword [ebp - 0x128]
xor edx, edx
mov dl, byte [ecx + 5]
test edx, edx
je 0x419546
mov ecx, dword [ebp - 8]
call sub.MFC42.DLL_CString::CharToOemA
mov ecx, dword [ebp - 8]
call fcn.0041b780
test eax, eax
je 0x41956f
mov ecx, dword [ebp - 0x128]
call fcn.00418745
push eax
push str.file_i
mov eax, dword [ebp - 8]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, dword [ebp - 0x128]
add ecx, 0x60
call fcn.0041bec3
sub eax, 1
neg eax
sbb eax, eax
inc eax
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x128]
call fcn.00418ccc
mov ecx, eax
call fcn.00407077
and eax, 0xff
test eax, eax
jne 0x4195b2
push 0xffffffffffffff95
mov ecx, dword [ebp - 0x128]
call fcn.0041857b
mov edx, dword [ebp - 0x128]
add edx, 0x60
push edx
mov ecx, dword [ebp - 0x128]
call fcn.00418ccc
mov ecx, eax
call fcn.00406e29
mov eax, dword [ebp - 0x128]
mov dword [eax + 0x4c], 0
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 0x14], 0
mov ecx, dword [ebp - 0x128]
add ecx, 0x54
call fcn.0040109d
mov edx, dword [ebp - 0x128]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 0x128]
add ecx, 0x54
call fcn.00401174
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 0x128]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0x128]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 0x128]
call fcn.00418ccc
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, dword [ebp - 0x128]
call fcn.0041b100
and eax, 0xff
test eax, eax
je 0x419679
mov ecx, dword [ebp - 0x128]
call fcn.00418ccc
xor edx, edx
mov dx, word [eax + 0xe]
test edx, edx
je 0x419679
mov ecx, dword [ebp - 0x128]
call fcn.00418ccc
mov word [eax + 0xe], 0
mov ecx, dword [ebp - 0x128]
call fcn.00418ccc
xor ecx, ecx
mov cx, word [eax + 0xe]
cmp ecx, 8
jne 0x419708
mov edx, dword [ebp - 0x128]
xor eax, eax
mov al, byte [edx + 6]
test eax, eax
je 0x4196b2
mov ecx, dword [ebp - 0x128]
add ecx, 0xac
mov dword [ebp - 0x13c], ecx
jmp 0x4196bc
mov dword [ebp - 0x13c], 0
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x13c]
mov dword [edx + 0x38], eax
push 0x38
push str.1.2.3
push 0
push 8
push 0xfffffffffffffff1
push 8
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x128]
add edx, 0x10
push edx
call sub.zlib1.dll_deflateInit2_
add esp, 0x20
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0x128]
call fcn.00418ca5
mov ecx, dword [ebp - 0x128]
mov byte [ecx + 0xc8], 1
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc