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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ce8ab
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4ff0f4]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
push edi
mov eax, dword [0x4ff0f4]
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 0x443796
test al, 2
je 0x443796
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov edx, 0x104
lea eax, [esp + 0x3c]
cmp esi, ebx
je 0x443565
mov edi, esi
mov ecx, eax
sub edi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x4434ce
movzx ecx, word [edi + eax]
test cx, cx
je 0x4434ce
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4434ae
jmp 0x4434d2
test edx, edx
jne 0x4434da
sub eax, 2
mov ebx, 0x8007007a
xor edx, edx
mov word [eax], dx
test ebx, ebx
jge 0x4434eb
lea eax, [edx + 0x57]
jmp 0x443798
mov edx, dword [esp + 0x10]
add edx, 0x14
je 0x44355b
mov ecx, 0x104
mov eax, edx
jmp 0x443500
cmp word [eax], 0
je 0x443518
add eax, 2
sub ecx, 1
jne 0x443500
mov eax, 0x54f
jmp 0x443798
test ecx, ecx
je 0x44355b
mov eax, 0x104
sub eax, ecx
je 0x44355b
sub eax, 1
je 0x44355b
lea ebx, [ebx]
cmp word [edx + eax*2], 0x5c
je 0x443546
sub eax, 1
jne 0x443530
mov eax, 0x54f
jmp 0x443798
test eax, eax
je 0x44355b
lea eax, [edx + eax*2]
push eax
lea esi, [esp + 0x40]
call fcn.00442c30
test eax, eax
jge 0x4435a2
mov eax, 0x54f
jmp 0x443798
lea edi, [esp + 0x3c]
sub ecx, edi
lea edi, [ecx + 0x14]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x443594
movzx ecx, word [edi + eax]
test cx, cx
je 0x443594
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x44356e
sub eax, 2
mov word [eax], dx
jmp 0x4435a5
test edx, edx
jne 0x44359b
sub eax, 2
xor edx, edx
mov word [eax], dx
jmp 0x4435a5
mov esi, dword [ebp + 0x10]
cmp byte [ebp + 8], 0
je 0x4435e0
test esi, esi
jne 0x4435c4
mov eax, dword [esp + 0x10]
test byte [eax + 0xc], 1
je 0x4435c4
lea eax, [esp + 0x3c]
call fcn.004437d0
jmp 0x4435cf
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4435e0
mov edi, 0x50
mov eax, edi
jmp 0x443798
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 0x443600
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x28]
call fcn.00408fa0
mov dword [esp + 0x258], 0
lea edi, [esp + 0x20]
call fcn.00443310
mov dword [esp + 0x258], 0xffffffff
cmp dword [esp + 0x38], 8
jb 0x443651
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004a9c11
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 0x443684
mov eax, dword [esp + 0x10]
test byte [eax + 0xc], 1
je 0x443684
push 5
push 0x1f01ff
lea eax, [esp + 0x44]
call fcn.00443a60
jmp 0x4436a1
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 0x4436b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x443798
mov edx, dword [esp + 0x10]
push 0x4eb1d4
push 0
add edx, 0x21c
push 0x8000
push edx
call fcn.004b5975
add esp, 0xc
push eax
call fcn.004bfcf8
mov ebx, eax
add esp, 8
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x4436ef
lea edi, [eax + 5]
jmp 0x44377e
push ebx
push esi
mov ebx, 1
call fcn.00443bd0
mov edi, eax
test edi, edi
jne 0x44377a
mov edi, dword [esp + 0x10]
test byte [edi + 0xc], 2
je 0x443719
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 0x44373b
test byte [edi + 0xc], 1
je 0x44373b
mov ecx, dword [edi + 0x10]
push ecx
lea eax, [esp + 0x40]
call fcn.004438b0
jmp 0x44374a
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 0x44376a
test eax, eax
jne 0x443772
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x443778
push eax
call ebx
mov dword [esp + 0x18], eax
test eax, eax
jne 0x443720
jmp 0x443778
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
jmp 0x443778
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 0x443792
push ebx
call fcn.004bfa85
add esp, 4
mov eax, edi
jmp 0x443798
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.004a9c1c
mov esp, ebp
pop ebp
ret 0xc