Function at 0x4279ee
Capabilities:
Set file attributes

Disassembly:
push 0x48
mov eax, 0x4f4573
call fcn.004d2924
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 0x427a74
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x4ff58c
call fcn.004247e9
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.00424ecd
push edi
call fcn.00478940
add esp, 8
mov byte [ebp - 4], 3
lea eax, [ebp + 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00424ecd
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00477ed0
add esp, 0xc
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 1
jmp 0x427aa3
push esi
push esi
push esi
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00424ecd
push dword [ebx + 0x64]
lea eax, [ebp - 0x28]
push eax
call fcn.00489ea0
add esp, 0x18
mov dword [ebp - 4], 5
mov dword [ebp - 0x18], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.00424ecd
mov dword [ebp - 4], 6
test byte [ebp - 0x18], 2
je 0x427ac8
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 0x427add
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.00424ecd
lea eax, [ebp - 0x24]
push eax
call fcn.00478a20
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.00424ecd
lea eax, [ebp - 0x20]
push eax
call fcn.00478a20
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 0x427ccf
call esi
cmp eax, 3
jne 0x427b9a
mov esi, dword [ebp - 0x20]
call fcn.0047b240
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.00478610
add esp, 0x14
call fcn.004279be
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 0x427bec
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.00424ecd
call fcn.0047bbb0
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.00478610
add esp, 0x18
call fcn.004279be
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 0x427ccf
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.00478610
add esp, 0x14
call fcn.004279be
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.00478610
add esp, 0x14
call fcn.004279be
pop ecx
cmp dword [ebp - 0x28], 0
je 0x427c6f
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.00478610
add esp, 0x10
call fcn.004279be
mov esi, dword [ebp - 0x24]
pop ecx
push 1
call fcn.004852a0
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.00478610
add esp, 0x10
call fcn.004279be
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.004d29fc
ret
mov eax, dword [ebx + 0x30]
or eax, dword [ebx + 0x34]
je 0x427dbe
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 0x427d99
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 0x427d75
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.0048f4f0
test eax, eax
je 0x427d47
mov dword [ebp - 0x1c], 1
jmp 0x427d6a
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.00478610
add esp, 0x14
call fcn.004279be
pop ecx
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x427de5
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.00478610
add esp, 0x14
call fcn.004279be
jmp 0x427de4
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.00478610
add esp, 0x1c
jmp 0x427d92
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.00478610
add esp, 0x10
call fcn.004279be
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 0x427c3e
mov ebx, dword [ebx + 0x38]
test ebx, ebx
je 0x427c3e
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x427c3e