Function at 0x6c0250
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x98
call fcn.006bf070
movzx ecx, al
test ecx, ecx
je 0x6c0291
cmp dword [ebp + 0xc], 0
je 0x6c0291
mov ecx, dword [ebp + 8]
call fcn.006c0020
mov byte [ebp - 1], al
mov eax, 0x80004005
jmp 0x6c0469
mov ecx, dword [ebp + 8]
add ecx, 0x44
call fcn.00403420
movzx edx, al
test edx, edx
je 0x6c02e3
push 0x850168
call fcn.006ba250
add esp, 4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x9c], 0
je 0x6c02dc
mov ecx, dword [ebp + 8]
add ecx, 0x14
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x9c]
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x9c]
mov eax, dword [edx + 0x14]
call eax
xor eax, eax
jmp 0x6c0469
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x64]
test edx, edx
jne 0x6c0308
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x70]
test ecx, ecx
jne 0x6c0308
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x7c]
test eax, eax
je 0x6c03ae
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
mov ecx, dword [ebp + 8]
add ecx, 0x44
call fcn.0040e560
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x6c03ae
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x64]
test edx, edx
je 0x6c034b
mov eax, dword [ebp + 8]
add eax, 0x68
mov dword [ebp - 0xc], eax
jmp 0x6c0352
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x70]
test edx, edx
je 0x6c0368
mov eax, dword [ebp + 8]
add eax, 0x74
mov dword [ebp - 0x10], eax
jmp 0x6c036f
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x7c]
test edx, edx
je 0x6c0387
mov eax, dword [ebp + 8]
add eax, 0x80
mov dword [ebp - 0x14], eax
jmp 0x6c038e
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x5d]
test ecx, ecx
je 0x6c03d2
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x44
call fcn.0040e560
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp + 8]
add ecx, 0x44
call fcn.0040e560
push eax
push str.FileDone:_s_n
call fcn.006ba250
add esp, 8
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x9c], 0
je 0x6c0467
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x94]
push eax
mov ecx, dword [edx + 0x90]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x44
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x9c]
mov edx, dword [ebp + 8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x9c]
mov edx, dword [eax + 0x1c]
call edx
movzx eax, al
test eax, eax
jne 0x6c0436
mov eax, 0x80004005
jmp 0x6c0469
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x94]
push edx
mov eax, dword [ecx + 0x90]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x44
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x9c]
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x9c]
mov eax, dword [edx + 0x10]
call eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8