Function at 0x100c2930
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101225a2
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x1016e750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
mov esi, 0x5c
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
je 0x100c29e3
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x1012ec40
call fcn.10023fc0
push ecx
mov byte [ebp - 4], 2
mov ebx, esp
mov dword [ebp - 0x20], esp
push ecx
mov ecx, dword [ebp + 8]
movzx edi, si
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.10024750
add eax, 0x10
mov edx, edi
mov ecx, ebx
mov dword [esi], eax
call fcn.10045200
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.10024750
add eax, 0x10
lea ecx, [ebp - 0x28]
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.10044c80
add esp, 0xc
mov byte [ebp - 4], 4
mov ebx, 1
jmp 0x100c2a16
push 0
push 0
push 0
push ecx
mov ecx, dword [ebp + 8]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.10024750
add eax, 0x10
lea ecx, [ebp - 0x24]
mov dword [esi], eax
mov edx, dword [edi + 0x64]
call fcn.1003d3b0
add esp, 0x10
mov dword [ebp - 4], 5
mov ebx, 2
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x14], ebx
call fcn.10024750
lea esi, [eax + 0x10]
mov dword [ebp - 0x3c], esi
or edi, 0xffffffff
mov dword [ebp - 4], 7
test bl, 2
je 0x100c2a5a
mov edx, dword [ebp - 0x24]
and ebx, 0xfffffffd
add edx, 0xfffffff0
mov dword [ebp - 0x14], ebx
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100c2a5a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
test bl, 1
je 0x100c2a7f
mov edx, dword [ebp - 0x28]
mov ecx, edi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100c2a7f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, dword [ebp + 8]
mov ebx, 0x5c
mov edi, esp
lea ecx, [ecx - 0x10]
call fcn.10024750
add eax, 0x10
lea ecx, [ebp - 0x1c]
mov edx, ebx
mov dword [edi], eax
call fcn.100452e0
mov eax, ebx
mov byte [ebp - 4], 9
movzx ebx, ax
lea eax, [esi - 0x10]
mov ecx, eax
mov dword [ebp - 0x38], eax
call fcn.10024750
add eax, 0x10
lea ecx, [ebp - 0x18]
mov edx, ebx
mov dword [edi], eax
call fcn.100452e0
add esp, 4
push 0
push 0
push 2
push 0
push 0
push 0xc0000000
mov byte [ebp - 4], 0xa
push esi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov dword [ebp - 0x10], edx
cmp edx, 0xffffffff
jne 0x100c2cb3
call edi
cmp eax, 3
jne 0x100c2b84
mov ecx, dword [ebp - 0x18]
call fcn.10046c10
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push str.UnpackUtils_DeployFromVfc__s_:_creating_dir__s__bRet_d_
push eax
call fcn.10044f30
add esp, 0x14
mov byte [ebp - 4], 0xb
mov ecx, str.UnpackUtils
mov edx, dword [ebp - 0x10]
call fcn.10043b30
mov byte [ebp - 4], 0xa
or ebx, 0xffffffff
mov edx, dword [ebp - 0x10]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100c2b63
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
push 2
push 0
push 0
push 0xc0000000
push esi
call eax
mov edx, eax
mov dword [ebp - 0x10], edx
jmp 0x100c2c0f
call edi
push ecx
lea ecx, [esi - 0x10]
mov ebx, eax
mov edi, esp
call fcn.10024750
add eax, 0x10
mov dword [edi], eax
call fcn.100475f0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 4
call edi
push eax
push ebx
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str.UnpackUtils_DeployFromVfc__s_:_failed_creating_file__ReadOnly_file_already_exists__._Deleting_file_and_retrying:__s__LE_d___d_
push eax
call fcn.10044f30
add esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, str.UnpackUtils
mov edx, dword [ebp - 0x10]
call fcn.10043b30
mov byte [ebp - 4], 0xa
or ebx, 0xffffffff
mov edx, dword [ebp - 0x10]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100c2bf3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
push 2
push 0
push 0
push 0xc0000000
push esi
call eax
mov edx, eax
mov dword [ebp - 0x10], eax
cmp edx, 0xffffffff
jne 0x100c2cb3
call edi
push eax
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._UnpackUtils_DeployFromVfc__s_:_could_not_create_file__s__LE_d
push eax
call fcn.10044f30
add esp, 0x14
mov byte [ebp - 4], 0xd
mov ecx, str.UnpackUtils
mov edx, dword [ebp - 0x10]
call fcn.10043b30
mov byte [ebp - 4], 0xa
mov ecx, ebx
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100c2c61
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call edi
push eax
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._UnpackUtils_DeployFromVfc__s_:_failed_creating_file__s__LE_d
push eax
call fcn.10044f30
add esp, 0x14
mov byte [ebp - 4], 0xf
mov ecx, str.UnpackUtils
mov edx, dword [ebp - 0x10]
call fcn.10043b30
mov byte [ebp - 4], 0xa
mov ecx, ebx
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100c2e89
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100c2e89
mov edi, dword [ebp - 0x2c]
mov eax, dword [edi + 0x30]
or eax, dword [edi + 0x34]
je 0x100c2dcd
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x30]
push 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push ecx
push edx
mov dword [ebp - 0x30], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x100c2d9d
push 0
push 0
push 0
push 4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
test ebx, ebx
je 0x100c2d70
mov ecx, dword [ebp - 0x34]
push 0
push dword [edi + 0x34]
push dword [edi + 0x30]
push dword [edi + 0x7c]
push dword [edi + 0x78]
push dword [edi + 0x74]
push dword [edi + 0x70]
push ebx
call fcn.1003bb80
test eax, eax
je 0x100c2d3c
push ebx
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or ebx, 0xffffffff
jmp 0x100c2e1d
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
push ecx
mov ecx, esp
push eax
push esi
push dword [ebp + 8]
push str._UnpackUtils_DeployFromVfc__s_:_error_extracting_to_file__s__LE_d
push ecx
call fcn.10044f30
add esp, 0x14
call fcn.100c28c0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or ebx, 0xffffffff
jmp 0x100c2e1d
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
push ecx
mov ecx, esp
push eax
push esi
push dword [ebp + 8]
push str._UnpackUtils_DeployFromVfc__s_:_error_mapping_file__s__LE_d
push ecx
call fcn.10044f30
add esp, 0x14
call fcn.100c28c0
add esp, 4
or ebx, 0xffffffff
jmp 0x100c2e1d
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
push ecx
mov ecx, esp
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push esi
push dword [ebp + 8]
push str._UnpackUtils_DeployFromVfc__s_:_error_setting_end_of_file__s_at__d__d___LE_d
push ecx
call fcn.10044f30
add esp, 0x1c
call fcn.100c28c0
add esp, 4
or ebx, 0xffffffff
jmp 0x100c2e1d
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push str.UnpackUtils_DeployFromVfc__s_:_0_bytes_file:__s
push eax
call fcn.10044f30
add esp, 0x10
mov byte [ebp - 4], 0xe
mov ecx, str.UnpackUtils
mov edx, dword [ebp - 0x14]
call fcn.10043b30
mov byte [ebp - 4], 0xa
or ebx, 0xffffffff
mov edx, dword [ebp - 0x14]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100c2e16
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x14], 1
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x50], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 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 - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0
je 0x100c2e89
mov eax, dword [edi + 0x38]
test eax, eax
je 0x100c2e89
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x20], 0
je 0x100c2ee4
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push dword [ebp + 8]
push str.UnpackUtils_DeployFromVfc__s_:_disconnecting_newly_created_dir:__s
push eax
call fcn.10044f30
add esp, 0x10
mov byte [ebp - 4], 0x10
mov ecx, str.UnpackUtils
mov edx, dword [ebp - 0x20]
call fcn.10043b30
mov byte [ebp - 4], 0xa
mov ecx, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100c2ed7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
mov edx, 1
call fcn.1002a640
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push edi
push dword [ebp + 8]
push str.UnpackUtils_DeployFromVfc__s_:_bRet_d
push eax
call fcn.10044f30
add esp, 0x10
mov byte [ebp - 4], 0x11
mov ecx, str.UnpackUtils
mov edx, dword [ebp - 0x20]
call fcn.10043b30
mov byte [ebp - 4], 0xa
mov ecx, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100c2f2d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov ecx, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100c2f4d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100c2f6d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, ebx
mov edx, dword [ebp - 0x38]
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100c2f8a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, ebx
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100c2faa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0xc]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x100c2fcb
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret