Function at 0x429b20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47aa1a
mov eax, dword fs:[0]
push eax
sub esp, 0x5c8
mov eax, dword [0x51484c]
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 [0x5164ac], 0x64
cmp ecx, edx
je 0x429ba7
push 1
call fcn.0041d270
cmp dword [ebp - 0x27c], 0
mov byte [ebp - 0x26e], 1
sete al
mov byte [ebp - 0x26d], al
test al, al
je 0x429c0b
lea ecx, [ebp - 0x278]
call fcn.0041a610
push esi
lea ecx, [edi + 0x2f0]
mov dword [ebp - 4], 0
call fcn.00405cf0
push eax
call fcn.0041a630
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
test al, al
jne 0x429c06
call fcn.0041a620
xor al, al
jmp 0x42a674
call fcn.0041a620
mov eax, dword [edi + 0x28c]
test eax, eax
je 0x429e04
cmp eax, 4
je 0x429e04
mov eax, dword [edi + 0x290]
cmp eax, 0x80
je 0x429c52
cmp eax, 0xc0
je 0x429c52
cmp eax, 0x100
je 0x429c52
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 0x42a674
lea ecx, [edi + 0x2c0]
call fcn.00409600
test eax, eax
jne 0x429c76
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 0x42a674
lea ecx, [ebp - 0x2d8]
call fcn.004065d0
push str.This_Zip_has_been_encrypted_with_Chilkat_Zip__www.chilkatsoft.com_.
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 4], 1
call fcn.004061d0
push 0x4b548c
lea ecx, [ebp - 0x2d8]
call fcn.004061d0
lea ecx, [ebp - 0x2b0]
call fcn.004065d0
push str.0123456789ABCDEF0123456789ABCDEF
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 2
call fcn.004061d0
lea ecx, [ebp - 0x38c]
mov dword [0x5164ac], 0x65
call fcn.00409690
push esi
lea ecx, [ebp - 0x38c]
push ecx
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 3
call fcn.00409600
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00405cf0
push eax
lea ecx, [edi + 0x2c0]
call fcn.00405cf0
push eax
push pe_nt_image_headers32
push 3
call fcn.00439780
add esp, 0x1c
lea ecx, [ebp - 0x2b0]
call fcn.00405ee0
lea ecx, [ebp - 0x36c]
call fcn.0041ed50
lea edx, [ebp - 0x2b0]
push edx
lea ecx, [ebp - 0x38c]
mov byte [ebp - 4], 4
call fcn.0045f660
push eax
lea ecx, [ebp - 0x38c]
call fcn.00405cf0
push eax
call fcn.0041f980
add esp, 0xc
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00406ec0
push 0x4b5488
lea ecx, [ebp - 0x2d8]
call fcn.004061d0
lea ecx, [ebp - 0x2d8]
mov dword [0x5164ac], 0x66
call fcn.00405cf0
push eax
lea ecx, [edi + 0x1b8]
call fcn.00406f80
mov ecx, dword [esi]
mov dword [ebp - 0x278], ecx
lea ecx, [ebp - 0x2d8]
call fcn.00405cf0
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.0041ed70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38c]
call fcn.00409cd0
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 1
call fcn.004067f0
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 4], 0xffffffff
call fcn.004067f0
lea ecx, [edi + 0x348]
push 0x4b50d4
call fcn.004073e0
test al, al
je 0x429f7c
lea ecx, [ebp - 0x2b0]
call fcn.004065d0
lea ecx, [ebp - 0x2b0]
push ecx
mov dword [ebp - 4], 5
call fcn.004181d0
add esp, 4
lea edx, [ebp - 0x26c]
push edx
push 0x258
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp - 0x2d8]
call fcn.004065d0
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 6
call fcn.004061d0
lea ecx, [ebp - 0x2d8]
call fcn.00406e00
push str.windows_system32
lea ecx, [ebp - 0x2d8]
call fcn.00407230
test al, al
jne 0x429edf
push str.winnt_system32
lea ecx, [ebp - 0x2d8]
call fcn.00407230
test al, al
jne 0x429edf
push str.ASPNET
lea ecx, [ebp - 0x2b0]
call fcn.004073e0
test al, al
jne 0x429edf
push str.IWAM_
lea ecx, [ebp - 0x2b0]
call fcn.00406330
test al, al
jne 0x429edf
push str.IUSR_
lea ecx, [ebp - 0x2b0]
call fcn.00406330
test al, al
je 0x429f5b
lea ecx, [edi + 0x2f0]
call fcn.00405cf0
push 0x5c
push eax
mov dword [ebp - 0x278], eax
call fcn.00463ff0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x429f18
mov ecx, dword [ebp - 0x278]
push 0x2f
push ecx
call fcn.00463ff0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x429f55
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.00405ee0
mov eax, dword [ebp - 0x278]
sub ebx, eax
push ebx
push eax
lea ecx, [edi + 0x348]
call fcn.004063d0
push 0x2f
push 0x5c
lea ecx, [edi + 0x348]
call fcn.004074e0
mov ebx, dword [ebp - 0x280]
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 5
call fcn.004067f0
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 4], 0xffffffff
call fcn.004067f0
lea ecx, [ebp - 0x4c4]
mov dword [0x5164ac], 0x67
call fcn.00408110
lea ecx, [ebp - 0x43c]
mov dword [ebp - 4], 7
call fcn.00408110
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 8
call fcn.00408110
lea ecx, [edi + 0x348]
mov byte [ebp - 4], 9
call fcn.00405cf0
push eax
lea ecx, [ebp - 0x4c4]
call fcn.004083b0
push 0x4b540c
lea ecx, [ebp - 0x43c]
call fcn.004083b0
cmp byte [ebp - 0x26d], 0
jne 0x429ff4
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.0041c8e0
add esp, 0x10
test al, al
jne 0x42a063
cmp byte [ebp - 0x26d], al
je 0x42a092
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.004081c0
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 7
call fcn.004081c0
lea ecx, [ebp - 0x4c4]
mov dword [ebp - 4], 0xffffffff
call fcn.004081c0
xor al, al
jmp 0x42a674
cmp byte [ebp - 0x26d], 0
je 0x42a092
mov ecx, dword [esi]
mov dword [ebp - 0x280], ecx
lea ecx, [ebp - 0x360]
call fcn.00408920
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 [0x5164ac], 0x68
call fcn.00427a20
cmp byte [ebp - 0x26d], 0
mov dword [0x5164ac], 0x69
je 0x42a18c
cmp eax, 0xfffffffe
jne 0x42a18c
lea ecx, [ebp - 0x360]
call fcn.004082e0
push str.ckz2
lea ecx, [ebp - 0x43c]
call fcn.004083b0
push esi
lea eax, [ebp - 0x360]
push eax
lea ecx, [ebp - 0x43c]
push ecx
lea edx, [ebp - 0x4c4]
push edx
call fcn.0041c8e0
add esp, 0x10
test al, al
mov eax, dword [esi]
mov ecx, esi
jne 0x42a147
mov edx, dword [eax + 0x10]
push str.Failed_to_get_temporary_filename__B_
call edx
jmp 0x42a02c
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.00427a20
mov ecx, 0x6a
mov dword [0x5164ac], ecx
cmp eax, 0xfffffffe
jne 0x42a1d6
cmp dword [ebp - 0x27c], 0
jne 0x42a02c
mov edi, dword [esi]
lea ecx, [ebp - 0x360]
call fcn.00408920
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 0x42a02c
test eax, eax
jns 0x42a20b
cmp dword [ebp - 0x27c], 0
jne 0x42a02c
mov edi, dword [esi]
lea ecx, [ebp - 0x360]
call fcn.00408920
push eax
mov eax, dword [edi + 0x28]
push str.tempFileName
mov ecx, esi
call eax
push str.Cannot_write_temporary_zip.
jmp 0x42a023
cmp byte [ebp - 0x26d], 0
mov dword [0x5164ac], ecx
je 0x42a62c
mov ecx, edi
call fcn.004264b0
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x274], ecx
lea ebx, [edi + 0x2f0]
mov ecx, ebx
call fcn.00405cf0
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.00405cf0
push eax
call fcn.0041b740
add esp, 8
test al, al
je 0x42a2b3
push esi
mov ecx, ebx
call fcn.00405cf0
push eax
call fcn.0041b8c0
add esp, 8
test al, al
jne 0x42a2b3
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.00405cf0
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.0041b0c0
add esp, 8
jmp 0x42a02c
lea ecx, [ebp - 0x3b4]
call fcn.004065d0
push esi
lea ecx, [ebp - 0x3b4]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0xa
call fcn.00405cf0
push eax
call fcn.00423750
add esp, 0xc
test al, al
jne 0x42a30e
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.00405cf0
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.00408110
mov ecx, ebx
mov byte [ebp - 4], 0xb
call fcn.00405cf0
push eax
lea ecx, [ebp - 0x54c]
call fcn.004083b0
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 0x42a395
mov ecx, dword [esi]
mov dword [ebp - 0x274], ecx
lea ecx, [ebp - 0x360]
call fcn.00408ba0
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.00408ba0
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.0041bd90
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 0x42a5ba
push 0x64
call fcn.004181b0
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.0041b0c0
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 0x42a461
mov ecx, dword [esi]
mov dword [ebp - 0x274], ecx
lea ecx, [ebp - 0x360]
call fcn.00408ba0
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.00408ba0
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.0041bd90
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 0x42a5b0
mov edx, dword [eax + 0x20]
push 1
push str.TempFileCleanup
call edx
lea eax, [ebp - 0x360]
push esi
push eax
call fcn.0041b0c0
add esp, 8
test al, al
jne 0x42a4ff
lea ecx, [ebp - 0x5d4]
call fcn.00408110
lea ecx, [ebp - 0x5d4]
push ecx
mov byte [ebp - 4], 0xc
call fcn.00419b30
mov edi, dword [esi]
add esp, 4
lea ecx, [ebp - 0x5d4]
call fcn.00408ba0
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.004081c0
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
lea ecx, [ebp - 0x5d4]
call fcn.00408110
lea eax, [ebp - 0x5d4]
push eax
mov byte [ebp - 4], 0xd
call fcn.00419b30
mov edi, dword [esi]
add esp, 4
lea ecx, [ebp - 0x5d4]
call fcn.00408ba0
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.004081c0
mov edi, dword [esi]
lea ecx, [ebp - 0x360]
call fcn.00408920
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.00405cf0
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.004081c0
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 9
call fcn.004067f0
jmp 0x42a02c
mov edx, dword [eax + 0x14]
push str.MoveFile_retry_succeeded___The_above_error_may_be_ignored.
call edx
cmp byte [ebp + 8], 0
je 0x42a5e1
push 0
mov ecx, edi
mov dword [0x5164ac], 0x6c
call fcn.00429850
mov bl, al
mov dword [0x5164ac], 0x6d
jmp 0x42a60c
push esi
lea ecx, [ebp - 0x54c]
mov bl, 1
call fcn.00408ba0
push eax
call fcn.0041b740
add esp, 8
test al, al
jne 0x42a60c
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.004081c0
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 9
call fcn.004067f0
jmp 0x42a62e
mov bl, 1
neg bl
sbb bl, bl
and bl, byte [ebp - 0x26e]
lea ecx, [ebp - 0x360]
mov dword [0x5164ac], 0x6e
mov byte [ebp - 4], 8
call fcn.004081c0
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 7
call fcn.004081c0
lea ecx, [ebp - 0x4c4]
mov dword [ebp - 4], 0xffffffff
call fcn.004081c0
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.00462878
mov esp, ebp
pop ebp
ret 0x24