Function at 0x42775b
Capabilities:
Set file attributes

Disassembly:
push 0x48
mov eax, 0x4d7574
call fcn.004b8118
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0xc]
cmp eax, esi
je 0x4277e1
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x4e1f68
call fcn.0042462c
push ecx
mov byte [ebp - 4], 2
mov edi, esp
mov dword [ebp - 0x18], esp
push 0x5c
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00424d19
push edi
call fcn.00466e00
add esp, 8
mov byte [ebp - 4], 3
lea eax, [ebp + 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00424d19
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00466390
add esp, 0xc
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 1
jmp 0x427810
push esi
push esi
push esi
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00424d19
push dword [ebx + 0x64]
lea eax, [ebp - 0x28]
push eax
call fcn.004776d0
add esp, 0x18
mov dword [ebp - 4], 5
mov dword [ebp - 0x18], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.00424d19
mov dword [ebp - 4], 6
test byte [ebp - 0x18], 2
je 0x427835
mov ecx, dword [ebp - 0x28]
and dword [ebp - 0x18], 0xfffffffd
add ecx, 0xfffffff0
call fcn.0042201a
mov byte [ebp - 4], 8
test byte [ebp - 0x18], 1
je 0x42784a
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0042201a
push 0x5c
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00424d19
lea eax, [ebp - 0x24]
push eax
call fcn.00466ee0
add esp, 0xc
push 0x5c
push ecx
mov byte [ebp - 4], 9
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00424d19
lea eax, [ebp - 0x20]
push eax
call fcn.00466ee0
add esp, 0xc
push esi
push esi
push 2
push esi
push esi
mov byte [ebp - 4], 0xa
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0xc0000000
push dword [ebp - 0x14]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], esi
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
jne 0x427a3d
call esi
cmp eax, 3
jne 0x427907
mov esi, dword [ebp - 0x20]
call fcn.00469260
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
push dword [ebp + 0xc]
push str.UnpackUtils_DeployFromVfc__s_:_creating_dir__s__bRet_d_
push ecx
call fcn.00466ad0
add esp, 0x14
call fcn.0042772b
pop ecx
xor eax, eax
push eax
push eax
push 2
push eax
push eax
push 0xc0000000
push dword [ebp - 0x14]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x427959
call esi
push ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00424d19
call fcn.00469bd0
pop ecx
call esi
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push str.UnpackUtils_DeployFromVfc__s_:_failed_creating_file__ReadOnly_file_already_exists__._Deleting_file_and_retrying:__s__LE_d___d_
push ecx
call fcn.00466ad0
add esp, 0x18
call fcn.0042772b
pop ecx
xor eax, eax
push eax
push eax
push 2
push eax
push eax
push 0xc0000000
push dword [ebp - 0x14]
call edi
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
jne 0x427a3d
call esi
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push str._UnpackUtils_DeployFromVfc__s_:_could_not_create_file__s__LE_d
push ecx
call fcn.00466ad0
add esp, 0x14
call fcn.0042772b
pop ecx
call esi
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push str._UnpackUtils_DeployFromVfc__s_:_failed_creating_file__s__LE_d
push ecx
call fcn.00466ad0
add esp, 0x14
call fcn.0042772b
pop ecx
cmp dword [ebp - 0x28], 0
je 0x4279dd
push ecx
mov eax, esp
mov dword [ebp - 0x30], esp
push dword [ebp - 0x24]
push dword [ebp + 0xc]
push str.UnpackUtils_DeployFromVfc__s_:_disconnecting_newly_created_dir:__s
push eax
call fcn.00466ad0
add esp, 0x10
call fcn.0042772b
pop ecx
push dword [ebp - 0x24]
xor ebx, ebx
inc ebx
call fcn.00472c40
pop ecx
push ecx
mov eax, esp
mov dword [ebp - 0x30], esp
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
push str.UnpackUtils_DeployFromVfc__s_:_bRet_d
push eax
call fcn.00466ad0
add esp, 0x10
call fcn.0042772b
pop ecx
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0042201a
mov eax, dword [ebp - 0x1c]
call fcn.004b81f0
ret
mov eax, dword [ebx + 0x30]
or eax, dword [ebx + 0x34]
je 0x427b2c
mov ecx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x38], ecx
xor edi, edi
push edi
lea ecx, [ebp - 0x38]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x427b07
push edi
push edi
push edi
push 4
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x2c], eax
cmp eax, edi
je 0x427ae3
push dword [ebx + 0x34]
push dword [ebx + 0x30]
push dword [ebx + 0x7c]
push dword [ebx + 0x78]
push dword [ebx + 0x74]
push dword [ebx + 0x70]
push eax
push dword [ebp + 8]
call fcn.0047f430
test eax, eax
je 0x427ab5
mov dword [ebp - 0x1c], 1
jmp 0x427ad8
call esi
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push str._UnpackUtils_DeployFromVfc__s_:_error_extracting_to_file__s__LE_d
push ecx
call fcn.00466ad0
add esp, 0x14
call fcn.0042772b
pop ecx
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x427b53
call esi
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push str._UnpackUtils_DeployFromVfc__s_:_error_mapping_file__s__LE_d
push ecx
call fcn.00466ad0
add esp, 0x14
call fcn.0042772b
jmp 0x427b52
call esi
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push str._UnpackUtils_DeployFromVfc__s_:_error_setting_end_of_file__s_at__d__d___LE_d
push ecx
call fcn.00466ad0
add esp, 0x1c
jmp 0x427b00
push ecx
mov eax, esp
mov dword [ebp - 0x30], esp
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push str.UnpackUtils_DeployFromVfc__s_:_0_bytes_file:__s
push eax
call fcn.00466ad0
add esp, 0x10
call fcn.0042772b
mov dword [ebp - 0x1c], 1
pop ecx
xor eax, eax
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
lea edi, [ebp - 0x48]
stosd dword es:[edi], eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x4279ab
mov ebx, dword [ebx + 0x38]
test ebx, ebx
je 0x4279ab
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x4279ab