Function at 0x42d7e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cab87
mov eax, dword fs:[0]
push eax
sub esp, 0x58c
mov eax, dword [0x58be1c]
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 ebx, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x278]
mov esi, dword [ebp + 0xc]
xorps xmm0, xmm0
mov edi, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x594], eax
mov dword [ebp - 0x598], esi
movq qword [ebp - 0x278], xmm0
mov dword [ebp - 0x270], 0
call fcn.004374f0
mov eax, dword [ebp - 0x594]
mov ecx, esi
mov dword [ebp - 4], 0
mov byte [eax], 1
call fcn.0040ea70
lea eax, [ebx + 0x5dc]
push eax
lea ecx, [ebx + 0x4c4]
call fcn.0040f110
test al, al
je 0x42db55
push 0
lea ecx, [ebx + 0x4c4]
call fcn.004104e0
push eax
call fcn.00416220
add esp, 8
test al, al
je 0x42db55
mov eax, dword [ebp - 0x594]
mov ecx, edi
push str.File_already_exists_at_target_zip_path.
mov byte [eax], 0
mov eax, dword [edi]
call dword [eax + 0x18]
mov eax, dword [edi]
mov ecx, edi
push str.Will_first_write_to_temp_file__then_if_successful_
call dword [eax + 0x18]
mov eax, dword [edi]
mov ecx, edi
push str.will_delete_existing_zip_and_move_new_zip_into_its_place.
call dword [eax + 0x18]
mov ecx, dword [ebx + 0x770]
push 0x4d0adc
add ecx, 0x3c4
call fcn.004091d0
test al, al
je 0x42da69
push 0x74
lea eax, [ebp - 0x360]
push 0
push eax
call fcn.004a8410
add esp, 0xc
lea ecx, [ebp - 0x360]
call fcn.00407a10
lea eax, [ebp - 0x360]
mov byte [ebp - 4], 1
push eax
call fcn.00419ac0
add esp, 4
lea eax, [ebp - 0x26c]
push eax
push 0x258
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x74
lea eax, [ebp - 0x2ec]
push 0
push eax
call fcn.004a8410
add esp, 0xc
lea ecx, [ebp - 0x2ec]
call fcn.00407a10
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x2ec]
call fcn.00407d70
lea ecx, [ebp - 0x2ec]
call fcn.0040aee0
push str.windows_system32
lea ecx, [ebp - 0x2ec]
call fcn.004087c0
test al, al
jne 0x42d9ca
push str.winnt_system32
lea ecx, [ebp - 0x2ec]
call fcn.004087c0
test al, al
jne 0x42d9ca
push str.ASPNET
lea ecx, [ebp - 0x360]
call fcn.004091d0
test al, al
jne 0x42d9ca
push str.IWAM_
lea ecx, [ebp - 0x360]
call fcn.00408560
test al, al
jne 0x42d9ca
push str.IUSR_
lea ecx, [ebp - 0x360]
call fcn.00408560
test al, al
je 0x42da4f
lea ecx, [ebx + 0x4c4]
call fcn.004104e0
push 0x5c
push eax
mov dword [ebp - 0x594], eax
call fcn.0042b210
mov esi, eax
add esp, 8
test esi, esi
jne 0x42da02
push 0x2f
push dword [ebp - 0x594]
call fcn.0042b210
mov esi, eax
add esp, 8
test esi, esi
je 0x42da4f
mov eax, dword [edi]
mov ecx, edi
push str.Using_temp_directory_where_target_Zip_is_located.
call dword [eax + 0x14]
mov ecx, dword [ebx + 0x770]
add ecx, 0x3c4
call fcn.00408710
mov eax, dword [ebp - 0x594]
sub esi, eax
mov ecx, dword [ebx + 0x770]
push esi
push eax
add ecx, 0x3c4
call fcn.00408340
mov ecx, dword [ebx + 0x770]
push 0x2f
push 0x5c
add ecx, 0x3c4
call fcn.0040a3d0
lea ecx, [ebp - 0x2ec]
call fcn.00407a60
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0
call fcn.00407a60
mov ecx, dword [ebx + 0x770]
mov esi, dword [edi]
add ecx, 0x3c4
call fcn.00409410
push eax
push str.tempDir_ifNeeded
mov ecx, edi
call dword [esi + 0x2c]
push 0x118
lea eax, [ebp - 0x590]
push 0
push eax
call fcn.004a8410
add esp, 0xc
lea ecx, [ebp - 0x590]
call fcn.0040e0b0
push 0x118
lea eax, [ebp - 0x478]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.004a8410
add esp, 0xc
lea ecx, [ebp - 0x478]
call fcn.0040e0b0
mov ecx, dword [ebx + 0x770]
add ecx, 0x3c4
mov byte [ebp - 4], 4
call fcn.00409410
push eax
lea ecx, [ebp - 0x478]
call fcn.00411120
push 0x508c78
lea ecx, [ebp - 0x590]
call fcn.00411120
mov esi, dword [ebp - 0x598]
lea eax, [ebp - 0x590]
push edi
push esi
push eax
lea eax, [ebp - 0x478]
push eax
call fcn.00414810
add esp, 0x10
mov ecx, edi
test al, al
jne 0x42db30
mov eax, dword [edi]
push str.Failed_to_get_temporary_filename__A_
call dword [eax + 0x14]
xor bl, bl
jmp 0x42db3d
push esi
push str.tempZipPath
call fcn.004384c0
mov bl, 1
lea ecx, [ebp - 0x478]
call fcn.0040e140
lea ecx, [ebp - 0x590]
call fcn.0040e140
jmp 0x42db57
mov bl, 1
lea ecx, [ebp - 0x278]
call fcn.004375b0
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.004a4dea
mov esp, ebp
pop ebp
ret 0xc