Function at 0x427a8b
Capabilities:
Set file attributes

Disassembly:
push 0x48
mov eax, 0x4f2fc2
call fcn.004d2094
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 0x427b11
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x4fe58c
call fcn.004247ea
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.00424eef
push edi
call fcn.00478540
add esp, 8
mov byte [ebp - 4], 3
lea eax, [ebp + 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00424eef
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00477ad0
add esp, 0xc
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 1
jmp 0x427b40
push esi
push esi
push esi
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00424eef
push dword [ebx + 0x64]
lea eax, [ebp - 0x28]
push eax
call fcn.00489a30
add esp, 0x18
mov dword [ebp - 4], 5
mov dword [ebp - 0x18], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.00424eef
mov dword [ebp - 4], 6
test byte [ebp - 0x18], 2
je 0x427b65
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 0x427b7a
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.00424eef
lea eax, [ebp - 0x24]
push eax
call fcn.00478620
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.00424eef
lea eax, [ebp - 0x20]
push eax
call fcn.00478620
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 0x427d6d
call esi
cmp eax, 3
jne 0x427c37
mov esi, dword [ebp - 0x20]
call fcn.0047ae40
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.00478210
add esp, 0x14
call fcn.00427a5b
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 0x427c89
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.00424eef
call fcn.0047b7b0
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.00478210
add esp, 0x18
call fcn.00427a5b
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 0x427d6d
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.00478210
add esp, 0x14
call fcn.00427a5b
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.00478210
add esp, 0x14
call fcn.00427a5b
pop ecx
cmp dword [ebp - 0x28], 0
je 0x427d0d
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.00478210
add esp, 0x10
call fcn.00427a5b
pop ecx
push dword [ebp - 0x24]
xor ebx, ebx
inc ebx
call fcn.00484f80
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.00478210
add esp, 0x10
call fcn.00427a5b
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.004d216c
ret
mov eax, dword [ebx + 0x30]
or eax, dword [ebx + 0x34]
je 0x427e5c
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 0x427e37
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 0x427e13
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.0048f080
test eax, eax
je 0x427de5
mov dword [ebp - 0x1c], 1
jmp 0x427e08
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.00478210
add esp, 0x14
call fcn.00427a5b
pop ecx
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x427e83
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.00478210
add esp, 0x14
call fcn.00427a5b
jmp 0x427e82
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.00478210
add esp, 0x1c
jmp 0x427e30
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.00478210
add esp, 0x10
call fcn.00427a5b
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 0x427cdb
mov ebx, dword [ebx + 0x38]
test ebx, ebx
je 0x427cdb
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x427cdb