Function at 0x425a36
Capabilities:
Set file attributes

Disassembly:
push 0x48
mov eax, 0x4f57e3
call fcn.004d37c4
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 0x425abc
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x50057c
call fcn.00422827
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.00422f20
push edi
call fcn.00477b10
add esp, 8
mov byte [ebp - 4], 3
lea eax, [ebp + 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00422f20
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004770a0
add esp, 0xc
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 1
jmp 0x425aeb
push esi
push esi
push esi
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00422f20
push dword [ebx + 0x64]
lea eax, [ebp - 0x28]
push eax
call fcn.00489d60
add esp, 0x18
mov dword [ebp - 4], 5
mov dword [ebp - 0x18], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.00422f20
mov dword [ebp - 4], 6
test byte [ebp - 0x18], 2
je 0x425b10
mov ecx, dword [ebp - 0x28]
and dword [ebp - 0x18], 0xfffffffd
add ecx, 0xfffffff0
call fcn.0042001a
mov byte [ebp - 4], 8
test byte [ebp - 0x18], 1
je 0x425b25
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0042001a
push 0x5c
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00422f20
lea eax, [ebp - 0x24]
push eax
call fcn.00477bf0
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.00422f20
lea eax, [ebp - 0x20]
push eax
call fcn.00477bf0
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 0x425d17
call esi
cmp eax, 3
jne 0x425be2
mov esi, dword [ebp - 0x20]
call fcn.0047a410
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.004777e0
add esp, 0x14
call fcn.00425a06
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 0x425c34
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.00422f20
call fcn.0047ad80
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.004777e0
add esp, 0x18
call fcn.00425a06
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 0x425d17
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.004777e0
add esp, 0x14
call fcn.00425a06
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.004777e0
add esp, 0x14
call fcn.00425a06
pop ecx
cmp dword [ebp - 0x28], 0
je 0x425cb7
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.004777e0
add esp, 0x10
call fcn.00425a06
mov ebx, dword [ebp - 0x24]
pop ecx
push 1
call fcn.00484770
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.004777e0
add esp, 0x10
call fcn.00425a06
pop ecx
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0042001a
mov eax, dword [ebp - 0x1c]
call fcn.004d389c
ret
mov eax, dword [ebx + 0x30]
or eax, dword [ebx + 0x34]
je 0x425e06
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 0x425de1
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 0x425dbd
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.0048f730
test eax, eax
je 0x425d8f
mov dword [ebp - 0x1c], 1
jmp 0x425db2
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.004777e0
add esp, 0x14
call fcn.00425a06
pop ecx
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x425e2d
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.004777e0
add esp, 0x14
call fcn.00425a06
jmp 0x425e2c
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.004777e0
add esp, 0x1c
jmp 0x425dda
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.004777e0
add esp, 0x10
call fcn.00425a06
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 0x425c86
mov ebx, dword [ebx + 0x38]
test ebx, ebx
je 0x425c86
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x425c86