Function at 0x429af0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a9ea
mov eax, dword fs:[0]
push eax
sub esp, 0x5c8
mov eax, dword [0x51384c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x28]
mov dword [edx], 0
mov dword [ebp - 0x284], edx
xor edx, edx
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [ebp - 0x274], ecx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x288], eax
mov dword [0x5154ac], 0x64
cmp ecx, edx
je 0x429b77
push 1
call fcn.0041d240
cmp dword [ebp - 0x27c], 0
mov byte [ebp - 0x26e], 1
sete al
mov byte [ebp - 0x26d], al
test al, al
je 0x429bdb
lea ecx, [ebp - 0x278]
call fcn.0041a5e0
push esi
lea ecx, [edi + 0x2f0]
mov dword [ebp - 4], 0
call fcn.00405cc0
push eax
call fcn.0041a600
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
test al, al
jne 0x429bd6
call fcn.0041a5f0
xor al, al
jmp 0x42a644
call fcn.0041a5f0
mov eax, dword [edi + 0x28c]
test eax, eax
je 0x429dd4
cmp eax, 4
je 0x429dd4
mov eax, dword [edi + 0x290]
cmp eax, 0x80
je 0x429c22
cmp eax, 0xc0
je 0x429c22
cmp eax, 0x100
je 0x429c22
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push str.The_key_length_for_encrypted_Zips_must_be_128__192__or_256
mov ecx, esi
call eax
xor al, al
jmp 0x42a644
lea ecx, [edi + 0x2c0]
call fcn.004095d0
test eax, eax
jne 0x429c46
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push str.A_password_must_be_specified_for_encrypted_Zips.
mov ecx, esi
call eax
xor al, al
jmp 0x42a644
lea ecx, [ebp - 0x2d8]
call fcn.004065a0
push str.This_Zip_has_been_encrypted_with_Chilkat_Zip__www.chilkatsoft.com_.
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 4], 1
call fcn.004061a0
push 0x4b548c
lea ecx, [ebp - 0x2d8]
call fcn.004061a0
lea ecx, [ebp - 0x2b0]
call fcn.004065a0
push str.0123456789ABCDEF0123456789ABCDEF
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 2
call fcn.004061a0
lea ecx, [ebp - 0x38c]
mov dword [0x5154ac], 0x65
call fcn.00409660
push esi
lea ecx, [ebp - 0x38c]
push ecx
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 3
call fcn.004095d0
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00405cc0
push eax
lea ecx, [edi + 0x2c0]
call fcn.00405cc0
push eax
push pe_nt_image_headers32
push 3
call fcn.00439750
add esp, 0x1c
lea ecx, [ebp - 0x2b0]
call fcn.00405eb0
lea ecx, [ebp - 0x36c]
call fcn.0041ed20
lea edx, [ebp - 0x2b0]
push edx
lea ecx, [ebp - 0x38c]
mov byte [ebp - 4], 4
call fcn.0045f630
push eax
lea ecx, [ebp - 0x38c]
call fcn.00405cc0
push eax
call fcn.0041f950
add esp, 0xc
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00406e90
push 0x4b5488
lea ecx, [ebp - 0x2d8]
call fcn.004061a0
lea ecx, [ebp - 0x2d8]
mov dword [0x5154ac], 0x66
call fcn.00405cc0
push eax
lea ecx, [edi + 0x1b8]
call fcn.00406f50
mov ecx, dword [esi]
mov dword [ebp - 0x278], ecx
lea ecx, [ebp - 0x2d8]
call fcn.00405cc0
mov edx, dword [ebp - 0x278]
push eax
mov eax, dword [edx + 0x28]
push str.EncryptComment
mov ecx, esi
call eax
lea ecx, [ebp - 0x36c]
mov byte [ebp - 4], 3
call fcn.0041ed40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38c]
call fcn.00409ca0
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 1
call fcn.004067c0
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 4], 0xffffffff
call fcn.004067c0
lea ecx, [edi + 0x348]
push 0x4b50d4
call fcn.004073b0
test al, al
je 0x429f4c
lea ecx, [ebp - 0x2b0]
call fcn.004065a0
lea ecx, [ebp - 0x2b0]
push ecx
mov dword [ebp - 4], 5
call fcn.004181a0
add esp, 4
lea edx, [ebp - 0x26c]
push edx
push 0x258
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp - 0x2d8]
call fcn.004065a0
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 6
call fcn.004061a0
lea ecx, [ebp - 0x2d8]
call fcn.00406dd0
push str.windows_system32
lea ecx, [ebp - 0x2d8]
call fcn.00407200
test al, al
jne 0x429eaf
push str.winnt_system32
lea ecx, [ebp - 0x2d8]
call fcn.00407200
test al, al
jne 0x429eaf
push str.ASPNET
lea ecx, [ebp - 0x2b0]
call fcn.004073b0
test al, al
jne 0x429eaf
push str.IWAM_
lea ecx, [ebp - 0x2b0]
call fcn.00406300
test al, al
jne 0x429eaf
push str.IUSR_
lea ecx, [ebp - 0x2b0]
call fcn.00406300
test al, al
je 0x429f2b
lea ecx, [edi + 0x2f0]
call fcn.00405cc0
push 0x5c
push eax
mov dword [ebp - 0x278], eax
call fcn.00463fc0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x429ee8
mov ecx, dword [ebp - 0x278]
push 0x2f
push ecx
call fcn.00463fc0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x429f25
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push str.Using_temp_directory_where_target_Zip_is_located.
mov ecx, esi
call eax
lea ecx, [edi + 0x348]
call fcn.00405eb0
mov eax, dword [ebp - 0x278]
sub ebx, eax
push ebx
push eax
lea ecx, [edi + 0x348]
call fcn.004063a0
push 0x2f
push 0x5c
lea ecx, [edi + 0x348]
call fcn.004074b0
mov ebx, dword [ebp - 0x280]
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 5
call fcn.004067c0
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 4], 0xffffffff
call fcn.004067c0
lea ecx, [ebp - 0x4c4]
mov dword [0x5154ac], 0x67
call fcn.004080e0
lea ecx, [ebp - 0x43c]
mov dword [ebp - 4], 7
call fcn.004080e0
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 8
call fcn.004080e0
lea ecx, [edi + 0x348]
mov byte [ebp - 4], 9
call fcn.00405cc0
push eax
lea ecx, [ebp - 0x4c4]
call fcn.00408380
push 0x4b540c
lea ecx, [ebp - 0x43c]
call fcn.00408380
cmp byte [ebp - 0x26d], 0
jne 0x429fc4
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Writing_Zip_to_memory...
mov ecx, esi
call eax
push esi
lea ecx, [ebp - 0x360]
push ecx
lea edx, [ebp - 0x43c]
push edx
lea eax, [ebp - 0x4c4]
push eax
call fcn.0041c8b0
add esp, 0x10
test al, al
jne 0x42a033
cmp byte [ebp - 0x26d], al
je 0x42a062
push str.Failed_to_get_temporary_filename__A_
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 8
call fcn.00408190
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 7
call fcn.00408190
lea ecx, [ebp - 0x4c4]
mov dword [ebp - 4], 0xffffffff
call fcn.00408190
xor al, al
jmp 0x42a644
cmp byte [ebp - 0x26d], 0
je 0x42a062
mov ecx, dword [esi]
mov dword [ebp - 0x280], ecx
lea ecx, [ebp - 0x360]
call fcn.004088f0
mov edx, dword [ebp - 0x280]
push eax
mov eax, dword [edx + 0x28]
push str.tempFile
mov ecx, esi
call eax
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp - 0x288]
push esi
push ecx
mov ecx, dword [ebp - 0x284]
push edx
mov edx, dword [ebp - 0x27c]
push eax
push ebx
push ecx
mov ecx, dword [ebp - 0x274]
push edx
lea eax, [ebp - 0x26e]
push eax
push ecx
lea edx, [ebp - 0x360]
push edx
mov ecx, edi
mov dword [0x5154ac], 0x68
call fcn.004279f0
cmp byte [ebp - 0x26d], 0
mov dword [0x5154ac], 0x69
je 0x42a15c
cmp eax, 0xfffffffe
jne 0x42a15c
lea ecx, [ebp - 0x360]
call fcn.004082b0
push str.ckz2
lea ecx, [ebp - 0x43c]
call fcn.00408380
push esi
lea eax, [ebp - 0x360]
push eax
lea ecx, [ebp - 0x43c]
push ecx
lea edx, [ebp - 0x4c4]
push edx
call fcn.0041c8b0
add esp, 0x10
test al, al
mov eax, dword [esi]
mov ecx, esi
jne 0x42a117
mov edx, dword [eax + 0x10]
push str.Failed_to_get_temporary_filename__B_
call edx
jmp 0x429ffc
mov edx, dword [eax + 0x14]
push str.Retrying_with_a_new_temp_filename
call edx
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp - 0x288]
push esi
push eax
mov eax, dword [ebp - 0x284]
push ecx
mov ecx, dword [ebp - 0x27c]
push edx
push ebx
push eax
mov eax, dword [ebp - 0x274]
push ecx
lea edx, [ebp - 0x26e]
push edx
push eax
lea ecx, [ebp - 0x360]
push ecx
mov ecx, edi
call fcn.004279f0
mov ecx, 0x6a
mov dword [0x5154ac], ecx
cmp eax, 0xfffffffe
jne 0x42a1a6
cmp dword [ebp - 0x27c], 0
jne 0x429ffc
mov edi, dword [esi]
lea ecx, [ebp - 0x360]
call fcn.004088f0
mov edx, dword [edi + 0x28]
push eax
push str.tempFileName
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push str.Cannot_open_temporary_file
mov ecx, esi
call edx
jmp 0x429ffc
test eax, eax
jns 0x42a1db
cmp dword [ebp - 0x27c], 0
jne 0x429ffc
mov edi, dword [esi]
lea ecx, [ebp - 0x360]
call fcn.004088f0
push eax
mov eax, dword [edi + 0x28]
push str.tempFileName
mov ecx, esi
call eax
push str.Cannot_write_temporary_zip.
jmp 0x429ff3
cmp byte [ebp - 0x26d], 0
mov dword [0x5154ac], ecx
je 0x42a5fc
mov ecx, edi
call fcn.00426480
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x274], ecx
lea ebx, [edi + 0x2f0]
mov ecx, ebx
call fcn.00405cc0
mov edx, dword [ebp - 0x274]
push eax
mov eax, dword [edx + 0x28]
push str.zipFilename
lea ecx, [edi + 0x10]
call eax
push 0
mov ecx, ebx
call fcn.00405cc0
push eax
call fcn.0041b710
add esp, 8
test al, al
je 0x42a283
push esi
mov ecx, ebx
call fcn.00405cc0
push eax
call fcn.0041b890
add esp, 8
test al, al
jne 0x42a283
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push str.Failed_to_delete_existing_Zip_file
mov ecx, esi
call eax
mov edi, dword [esi]
mov ecx, ebx
call fcn.00405cc0
mov edx, dword [edi + 0x28]
push eax
push str.zipFilename
mov ecx, esi
call edx
lea eax, [ebp - 0x360]
push esi
push eax
call fcn.0041b090
add esp, 8
jmp 0x429ffc
lea ecx, [ebp - 0x3b4]
call fcn.004065a0
push esi
lea ecx, [ebp - 0x3b4]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0xa
call fcn.00405cc0
push eax
call fcn.00423720
add esp, 0xc
test al, al
jne 0x42a2de
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push str.Unable_to_create_Zip_file
mov ecx, esi
call eax
mov ecx, dword [esi]
mov dword [ebp - 0x274], ecx
mov ecx, ebx
call fcn.00405cc0
mov edx, dword [ebp - 0x274]
push eax
mov eax, dword [edx + 0x28]
push str.filename
mov ecx, esi
call eax
lea ecx, [ebp - 0x54c]
call fcn.004080e0
mov ecx, ebx
mov byte [ebp - 4], 0xb
call fcn.00405cc0
push eax
lea ecx, [ebp - 0x54c]
call fcn.00408380
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
push 1
push str.MoveTempToDestZip1
mov ecx, esi
call eax
cmp byte [edi + 0x399], 0
je 0x42a365
mov ecx, dword [esi]
mov dword [ebp - 0x274], ecx
lea ecx, [ebp - 0x360]
call fcn.00408b70
mov edx, dword [ebp - 0x274]
push eax
mov eax, dword [edx + 0x28]
push str.tempFilename
mov ecx, esi
call eax
mov ecx, dword [esi]
mov dword [ebp - 0x274], ecx
lea ecx, [ebp - 0x54c]
call fcn.00408b70
mov edx, dword [ebp - 0x274]
push eax
mov eax, dword [edx + 0x28]
push str.zipFilename
mov ecx, esi
call eax
push esi
lea ecx, [ebp - 0x54c]
push ecx
lea edx, [ebp - 0x360]
push edx
call fcn.0041bd60
mov byte [ebp - 0x26d], al
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
add esp, 0xc
mov ecx, esi
call edx
cmp byte [ebp - 0x26d], 0
jne 0x42a58a
push 0x64
call fcn.00418180
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
add esp, 4
push 1
push str.DeleteAlreadyExistingZipIfAny
mov ecx, esi
call edx
lea eax, [ebp - 0x54c]
push 0
push eax
call fcn.0041b090
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
add esp, 8
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
push 1
push str.MoveTempToDestZip2
mov ecx, esi
call eax
cmp byte [edi + 0x399], 0
je 0x42a431
mov ecx, dword [esi]
mov dword [ebp - 0x274], ecx
lea ecx, [ebp - 0x360]
call fcn.00408b70
mov edx, dword [ebp - 0x274]
push eax
mov eax, dword [edx + 0x28]
push str.tempFilename
mov ecx, esi
call eax
mov ecx, dword [esi]
mov dword [ebp - 0x274], ecx
lea ecx, [ebp - 0x54c]
call fcn.00408b70
mov edx, dword [ebp - 0x274]
push eax
mov eax, dword [edx + 0x28]
push str.zipFilename
mov ecx, esi
call eax
push esi
lea ecx, [ebp - 0x54c]
push ecx
lea edx, [ebp - 0x360]
push edx
call fcn.0041bd60
mov byte [ebp - 0x26d], al
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
add esp, 0xc
mov ecx, esi
call edx
cmp byte [ebp - 0x26d], 0
mov eax, dword [esi]
mov ecx, esi
jne 0x42a580
mov edx, dword [eax + 0x20]
push 1
push str.TempFileCleanup
call edx
lea eax, [ebp - 0x360]
push esi
push eax
call fcn.0041b090
add esp, 8
test al, al
jne 0x42a4cf
lea ecx, [ebp - 0x5d4]
call fcn.004080e0
lea ecx, [ebp - 0x5d4]
push ecx
mov byte [ebp - 4], 0xc
call fcn.00419b00
mov edi, dword [esi]
add esp, 4
lea ecx, [ebp - 0x5d4]
call fcn.00408b70
mov edx, dword [edi + 0x28]
push eax
push str.currentWorkingDirectory
mov ecx, esi
call edx
lea ecx, [ebp - 0x5d4]
mov byte [ebp - 4], 0xb
call fcn.00408190
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
lea ecx, [ebp - 0x5d4]
call fcn.004080e0
lea eax, [ebp - 0x5d4]
push eax
mov byte [ebp - 4], 0xd
call fcn.00419b00
mov edi, dword [esi]
add esp, 4
lea ecx, [ebp - 0x5d4]
call fcn.00408b70
mov edx, dword [edi + 0x28]
push eax
push str.currentWorkingDirectory
mov ecx, esi
call edx
lea ecx, [ebp - 0x5d4]
mov byte [ebp - 4], 0xb
call fcn.00408190
mov edi, dword [esi]
lea ecx, [ebp - 0x360]
call fcn.004088f0
push eax
mov eax, dword [edi + 0x28]
push str.from_filename
mov ecx, esi
call eax
mov edi, dword [esi]
mov ecx, ebx
call fcn.00405cc0
mov edx, dword [edi + 0x28]
push eax
push str.to_filename
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push str.Failed_to_move_Zip_file
mov ecx, esi
call edx
lea ecx, [ebp - 0x54c]
mov byte [ebp - 4], 0xa
call fcn.00408190
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 9
call fcn.004067c0
jmp 0x429ffc
mov edx, dword [eax + 0x14]
push str.MoveFile_retry_succeeded___The_above_error_may_be_ignored.
call edx
cmp byte [ebp + 8], 0
je 0x42a5b1
push 0
mov ecx, edi
mov dword [0x5154ac], 0x6c
call fcn.00429820
mov bl, al
mov dword [0x5154ac], 0x6d
jmp 0x42a5dc
push esi
lea ecx, [ebp - 0x54c]
mov bl, 1
call fcn.00408b70
push eax
call fcn.0041b710
add esp, 8
test al, al
jne 0x42a5dc
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push str.The_zip_does_not_exist___
mov ecx, esi
call edx
xor bl, bl
lea ecx, [ebp - 0x54c]
mov byte [ebp - 4], 0xa
call fcn.00408190
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 9
call fcn.004067c0
jmp 0x42a5fe
mov bl, 1
neg bl
sbb bl, bl
and bl, byte [ebp - 0x26e]
lea ecx, [ebp - 0x360]
mov dword [0x5154ac], 0x6e
mov byte [ebp - 4], 8
call fcn.00408190
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 7
call fcn.00408190
lea ecx, [ebp - 0x4c4]
mov dword [ebp - 4], 0xffffffff
call fcn.00408190
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00462848
mov esp, ebp
pop ebp
ret 0x24