Function at 0x443f00
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cecbb
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x5000f4]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
push edi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x10], ecx
test al, 1
je 0x444266
test al, 2
je 0x444266
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov edx, 0x104
lea eax, [esp + 0x3c]
cmp esi, ebx
je 0x444035
mov edi, esi
mov ecx, eax
sub edi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x443f9e
movzx ecx, word [edi + eax]
test cx, cx
je 0x443f9e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x443f7e
jmp 0x443fa2
test edx, edx
jne 0x443faa
sub eax, 2
mov ebx, 0x8007007a
xor edx, edx
mov word [eax], dx
test ebx, ebx
jge 0x443fbb
lea eax, [edx + 0x57]
jmp 0x444268
mov edx, dword [esp + 0x10]
add edx, 0x14
je 0x44402b
mov ecx, 0x104
mov eax, edx
jmp 0x443fd0
cmp word [eax], 0
je 0x443fe8
add eax, 2
sub ecx, 1
jne 0x443fd0
mov eax, 0x54f
jmp 0x444268
test ecx, ecx
je 0x44402b
mov eax, 0x104
sub eax, ecx
je 0x44402b
sub eax, 1
je 0x44402b
lea ebx, [ebx]
cmp word [edx + eax*2], 0x5c
je 0x444016
sub eax, 1
jne 0x444000
mov eax, 0x54f
jmp 0x444268
test eax, eax
je 0x44402b
lea eax, [edx + eax*2]
push eax
lea esi, [esp + 0x40]
call fcn.00443700
test eax, eax
jge 0x444072
mov eax, 0x54f
jmp 0x444268
lea edi, [esp + 0x3c]
sub ecx, edi
lea edi, [ecx + 0x14]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x444064
movzx ecx, word [edi + eax]
test cx, cx
je 0x444064
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x44403e
sub eax, 2
mov word [eax], dx
jmp 0x444075
test edx, edx
jne 0x44406b
sub eax, 2
xor edx, edx
mov word [eax], dx
jmp 0x444075
mov esi, dword [ebp + 0x10]
cmp byte [ebp + 8], 0
je 0x4440b0
test esi, esi
jne 0x444094
mov eax, dword [esp + 0x10]
test byte [eax + 0xc], 1
je 0x444094
lea eax, [esp + 0x3c]
call fcn.004442c0
jmp 0x44409f
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4440b0
mov edi, 0x50
mov eax, edi
jmp 0x444268
xor edx, edx
mov ebx, 7
lea eax, [esp + 0x3c]
mov word [esp + 0x24], dx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], 0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4440d0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x28]
call fcn.004092d0
mov dword [esp + 0x258], 0
lea edi, [esp + 0x20]
call fcn.00443de0
mov dword [esp + 0x258], 0xffffffff
cmp dword [esp + 0x38], 8
jb 0x444121
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0045a597
add esp, 4
xor edx, edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], 0
mov word [esp + 0x24], dx
test esi, esi
jne 0x444154
mov eax, dword [esp + 0x10]
test byte [eax + 0xc], 1
je 0x444154
push 5
push 0x1f01ff
lea eax, [esp + 0x44]
call fcn.00444550
jmp 0x444171
push 0
push 0x2000080
push 2
push 0
push 1
push 0x1f01ff
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x444185
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x444268
mov edx, dword [esp + 0x10]
push 0x4ec214
push 0
add edx, 0x21c
push 0x8000
push edx
call fcn.004b6395
add esp, 0xc
push eax
call fcn.004c0718
mov ebx, eax
add esp, 8
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x4441bf
lea edi, [eax + 5]
jmp 0x44424e
push ebx
push esi
mov ebx, 1
call fcn.004446c0
mov edi, eax
test edi, edi
jne 0x44424a
mov edi, dword [esp + 0x10]
test byte [edi + 0xc], 2
je 0x4441e9
lea eax, [edi + 0x404]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
mov ebx, dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
nop
cmp dword [ebp + 0x10], 0
jne 0x44420b
test byte [edi + 0xc], 1
je 0x44420b
mov ecx, dword [edi + 0x10]
push ecx
lea eax, [esp + 0x40]
call fcn.004443a0
jmp 0x44421a
mov edx, dword [edi + 0x10]
push edx
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0x18], 0
jne 0x44423a
test eax, eax
jne 0x444242
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x444248
push eax
call ebx
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4441f0
jmp 0x444248
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
jmp 0x444248
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
mov ebx, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x444262
push ebx
call fcn.004c04a5
add esp, 4
mov eax, edi
jmp 0x444268
xor eax, eax
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.004aa641
mov esp, ebp
pop ebp
ret 0xc