Function at 0x426758
Capabilities:
Set file attributes

Disassembly:
push 0x48
mov eax, 0x4d46c4
call fcn.004b5742
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 0x4267de
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x4dec30
call fcn.004235f2
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.00423d24
push edi
call fcn.00469190
add esp, 8
mov byte [ebp - 4], 3
lea eax, [ebp + 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00423d24
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004687d0
add esp, 0xc
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 1
jmp 0x42680d
push esi
push esi
push esi
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00423d24
push dword [ebx + 0x64]
lea eax, [ebp - 0x28]
push eax
call fcn.0047c9b0
add esp, 0x18
mov dword [ebp - 4], 5
mov dword [ebp - 0x18], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.00423d24
mov dword [ebp - 4], 6
test byte [ebp - 0x18], 2
je 0x426832
mov ecx, dword [ebp - 0x28]
and dword [ebp - 0x18], 0xfffffffd
add ecx, 0xfffffff0
call fcn.0042101a
mov byte [ebp - 4], 8
test byte [ebp - 0x18], 1
je 0x426847
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0042101a
push 0x5c
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00423d24
lea eax, [ebp - 0x24]
push eax
call fcn.004692c0
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.00423d24
lea eax, [ebp - 0x20]
push eax
call fcn.004692c0
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 0x426a3a
call esi
cmp eax, 3
jne 0x426904
mov esi, dword [ebp - 0x20]
call fcn.0046c000
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.00468c80
add esp, 0x14
call fcn.00426728
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 0x426956
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.00423d24
call fcn.0046cc40
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.00468c80
add esp, 0x18
call fcn.00426728
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 0x426a3a
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.00468c80
add esp, 0x14
call fcn.00426728
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.00468c80
add esp, 0x14
call fcn.00426728
pop ecx
cmp dword [ebp - 0x28], 0
je 0x4269da
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.00468c80
add esp, 0x10
call fcn.00426728
pop ecx
push 1
push dword [ebp - 0x24]
call fcn.00476d50
pop ecx
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.00468c80
add esp, 0x10
call fcn.00426728
pop ecx
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, dword [ebp - 0x1c]
call fcn.004b581a
ret
mov eax, dword [ebx + 0x30]
or eax, dword [ebx + 0x34]
je 0x426b29
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 0x426b04
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 0x426ae0
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.004853a0
test eax, eax
je 0x426ab2
mov dword [ebp - 0x1c], 1
jmp 0x426ad5
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.00468c80
add esp, 0x14
call fcn.00426728
pop ecx
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x426b50
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.00468c80
add esp, 0x14
call fcn.00426728
jmp 0x426b4f
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.00468c80
add esp, 0x1c
jmp 0x426afd
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.00468c80
add esp, 0x10
call fcn.00426728
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 0x4269a8
mov ebx, dword [ebx + 0x38]
test ebx, ebx
je 0x4269a8
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x4269a8