Function at 0x41ab70
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x480d38
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49b1b0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebx, ecx
xor ebp, ebp
mov dword [esp + 0x48], ebp
mov edi, dword [esp + 0x58]
lea esi, [edi + 0x2c]
call fcn.00416bd0
test al, al
jne 0x41abed
mov ecx, dword [esp + 0x50]
lea eax, [edi + 0x10]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.00416a50
add esp, 8
push 0xffffffffffffffff
push ebp
push eax
mov eax, esi
mov byte [esp + 0x54], 1
call fcn.00401c40
mov byte [esp + 0x48], 0
cmp dword [esp + 0x3c], 8
jb 0x41abed
mov edx, dword [esp + 0x28]
push edx
call fcn.00469d48
add esp, 4
cmp dword [edi + 0x98], ebp
je 0x41ac11
cmp dword [edi + 0x70], 3
jne 0x41ae85
mov edi, dword [esp + 0x54]
lea eax, [esp + 0x58]
call fcn.0040b0e0
jmp 0x41ae85
push esi
call fcn.0041d780
add esp, 4
test al, al
je 0x41ac73
mov eax, dword [ebx]
mov edx, dword [eax + 0x34]
push 0xb7
push esi
push 0x10000001
mov ecx, ebx
call edx
mov dword [esp + 0x48], 0xffffffff
mov esi, dword [esp + 0x5c]
cmp esi, ebp
je 0x41ac6c
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41ac6c
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41ac6c
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor al, al
jmp 0x41aec1
push esi
call fcn.0041d6b0
add esp, 4
test al, al
jne 0x41acba
mov eax, dword [ebx]
mov edx, dword [eax + 0x2c]
push esi
mov ecx, ebx
call edx
test al, al
jne 0x41acba
mov eax, dword [ebx]
mov edx, dword [eax + 0x34]
push 0xb7
push esi
push 0x10000001
mov ecx, ebx
call edx
lea eax, [esp + 0x58]
mov dword [esp + 0x48], 0xffffffff
call fcn.0040e1f0
xor al, al
jmp 0x41aec1
mov eax, edi
mov dword [esp + 0x50], ebp
call fcn.0040b0a0
test eax, eax
jbe 0x41ada6
mov al, byte [ebx + 0x100]
test al, al
jne 0x41ada6
mov ebp, dword [esp + 0x58]
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x41acf4
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 3
cmp dword [esp + 0x50], eax
jb 0x41acf9
call fcn.00469efa
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x50]
mov edi, dword [ecx + edx*8 + 4]
test edi, edi
lea eax, [ecx + edx*8]
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edi
je 0x41ad21
lea eax, [edi + 4]
mov edx, 1
lock xadd dword [eax], edx
sub esp, 8
test edi, edi
mov eax, esp
mov byte [esp + 0x50], 2
mov dword [eax], ecx
mov dword [esp + 0x20], esp
mov dword [eax + 4], edi
je 0x41ad44
lea eax, [edi + 4]
mov ecx, 1
lock xadd dword [eax], ecx
mov edx, dword [esp + 0x5c]
push edx
push esi
mov ecx, ebx
call fcn.0041ab70
test al, al
je 0x41ae01
test edi, edi
mov byte [esp + 0x48], 0
je 0x41ad8c
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41ad8c
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41ad8c
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov edi, dword [esp + 0x50]
add edi, 1
mov eax, ebp
mov dword [esp + 0x50], edi
call fcn.0040b0a0
cmp edi, eax
jb 0x41accd
mov al, byte [ebx + 0x100]
test al, al
je 0x41ae40
mov dword [esp + 0x48], 0xffffffff
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x41acb3
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41acb3
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41acb3
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
xor al, al
jmp 0x41aec1
mov al, byte [ebx + 0x100]
test al, al
je 0x41ae2d
mov eax, dword [ebx + 0x104]
test eax, eax
je 0x41ae2d
movzx ecx, byte [ebx + 0x100]
mov eax, dword [eax]
mov edx, dword [eax + 0x14]
add eax, 0x14
push ecx
mov ecx, dword [ebx + 0x104]
call edx
lea eax, [esp + 0x1c]
mov byte [esp + 0x48], 0
call fcn.0040e1f0
jmp 0x41aca2
cmp dword [esi + 0x18], 8
mov edi, dword [esp + 0x58]
mov ecx, dword [edi + 0x60]
jb 0x41ae52
mov eax, dword [esi + 4]
jmp 0x41ae55
lea eax, [esi + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x41ae69
call ebx
lea ecx, [edi + 0x58]
push ecx
lea edx, [edi + 0x50]
push edx
add edi, 0x48
push edi
mov eax, esi
call fcn.00416010
add esp, 0xc
test al, al
jne 0x41ae85
call ebx
mov dword [esp + 0x48], 0xffffffff
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x41aebf
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41aebf
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41aebf
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0x10