Function at 0x4423c0
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x512568
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebp, ecx
xor ebx, ebx
mov dword [esp + 0x48], ebx
mov edi, dword [esp + 0x58]
lea esi, [edi + 0x2c]
call fcn.0043b950
test al, al
jne 0x44243c
mov ecx, dword [esp + 0x50]
lea eax, [edi + 0x10]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.0043b740
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
mov eax, esi
mov byte [esp + 0x54], 1
call fcn.00401610
mov byte [esp + 0x48], bl
cmp dword [esp + 0x3c], 8
jb 0x44243c
mov edx, dword [esp + 0x28]
push edx
call fcn.004e7d7e
add esp, 4
cmp dword [edi + 0x98], ebx
je 0x442460
cmp dword [edi + 0x70], 3
jne 0x442799
mov edi, dword [esp + 0x54]
lea eax, [esp + 0x58]
call fcn.004354f0
jmp 0x442799
push esi
call fcn.0043a7a0
add esp, 4
test al, al
push esi
je 0x4424db
mov eax, dword [ebp]
mov edx, dword [eax + 0x30]
push 0xb7
mov ecx, ebp
call edx
test al, al
jne 0x442799
mov eax, dword [ebp]
mov edx, dword [eax + 0x34]
push 0xb7
push esi
push 0x10000001
mov ecx, ebp
call edx
mov dword [esp + 0x48], 0xffffffff
mov esi, dword [esp + 0x5c]
cmp esi, ebx
je 0x4424d4
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4424d4
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 0x4424d4
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor al, al
jmp 0x4427d5
call fcn.0043a6d0
add esp, 4
test al, al
jne 0x442564
mov eax, dword [ebp]
mov edx, dword [eax + 0x2c]
push esi
mov ecx, ebp
call edx
test al, al
jne 0x442564
mov eax, dword [ebp]
mov edx, dword [eax + 0x30]
push esi
push 0xb7
mov ecx, ebp
call edx
test al, al
jne 0x442799
mov eax, dword [ebp]
mov edx, dword [eax + 0x34]
push 0xb7
push esi
push 0x10000001
mov ecx, ebp
call edx
mov dword [esp + 0x48], 0xffffffff
mov esi, dword [esp + 0x5c]
cmp esi, ebx
je 0x4424d4
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4424d4
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 0x4424d4
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor al, al
jmp 0x4427d5
mov eax, edi
mov dword [esp + 0x50], ebx
call fcn.004354d0
test eax, eax
jbe 0x442650
mov al, byte [ebp + 0x110]
test al, al
jne 0x442650
mov ebx, dword [esp + 0x58]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x44259e
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 3
cmp dword [esp + 0x50], eax
jb 0x4425a3
call fcn.004e89bf
mov ecx, dword [ebx + 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 0x4425cb
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 0x4425ee
lea eax, [edi + 4]
mov ecx, 1
lock xadd dword [eax], ecx
mov edx, dword [esp + 0x5c]
push edx
push esi
mov ecx, ebp
call fcn.004423c0
test al, al
mov byte [esp + 0x48], 0
je 0x44269f
test edi, edi
je 0x442636
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x442636
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 0x442636
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov edi, dword [esp + 0x50]
add edi, 1
mov eax, ebx
mov dword [esp + 0x50], edi
call fcn.004354d0
cmp edi, eax
jb 0x442577
mov al, byte [ebp + 0x110]
test al, al
je 0x44271a
mov dword [esp + 0x48], 0xffffffff
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x442698
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x442698
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 0x442698
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
xor al, al
jmp 0x4427d5
test edi, edi
je 0x4426cd
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4426cd
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 0x4426cd
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov dword [esp + 0x48], 0xffffffff
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x4424d4
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4424d4
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 0x4424d4
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor al, al
jmp 0x4427d5
mov edi, dword [esp + 0x58]
mov ecx, dword [edi + 0x60]
mov ebx, 8
cmp dword [esi + 0x18], ebx
jb 0x442730
mov eax, dword [esi + 4]
jmp 0x442733
lea eax, [esi + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x442747
call ebp
cmp dword [esi + 0x18], ebx
jb 0x442751
mov esi, dword [esi + 4]
jmp 0x442754
add esi, 4
push 0
push 0x2000000
push 3
push 0
push 3
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x442797
lea ecx, [edi + 0x58]
push ecx
lea edx, [edi + 0x50]
push edx
add edi, 0x48
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x442799
call ebp
mov dword [esp + 0x48], 0xffffffff
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x4427d3
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4427d3
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 0x4427d3
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