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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x6b06f8]
xor eax, esp
mov dword [esp + 0x220], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
push esi
push edi
mov dword [esp + 0x1c], ebx
test al, 1
je 0x432835
test al, 2
je 0x432835
mov edx, dword [ebp + 0x10]
and dword [esp + 0x14], 0
lea eax, [esp + 0x20]
push eax
test edx, edx
je 0x4326d5
mov esi, 0x104
mov ecx, esi
call fcn.0041bb52
test eax, eax
jge 0x43265d
push 0x57
pop eax
jmp 0x432837
xor ecx, ecx
add ebx, 0x14
mov dword [esp + 0x10], ecx
je 0x43267b
lea edi, [esp + 0x10]
mov edx, esi
mov eax, ebx
call fcn.004320d2
mov ecx, dword [esp + 0x10]
jmp 0x432680
mov eax, 0x80070057
test eax, eax
jl 0x4326cb
test ecx, ecx
je 0x4326cb
dec ecx
je 0x4326cb
cmp word [ebx + ecx*2], 0x5c
je 0x432695
dec ecx
jne 0x43268b
test ecx, ecx
je 0x4326cb
lea edi, [esp + 0x10]
mov edx, esi
lea eax, [esp + 0x20]
lea ebx, [ebx + ecx*2]
call fcn.004320d2
test eax, eax
jl 0x4326cb
mov eax, dword [esp + 0x10]
mov ecx, esi
sub ecx, eax
lea edx, [esp + eax*2 + 0x20]
push closesocket
mov eax, ebx
call fcn.00432132
test eax, eax
jge 0x4326e4
mov eax, 0x54f
jmp 0x432837
lea edx, [ebx + 0x14]
mov ecx, 0x104
call fcn.0041bb52
jmp 0x4326e8
mov ebx, dword [esp + 0x1c]
cmp byte [ebp + 8], 0
je 0x43271e
cmp dword [ebp + 0x10], 0
jne 0x432706
test byte [ebx + 0xc], 1
je 0x432706
lea eax, [esp + 0x20]
push eax
call fcn.0043285e
jmp 0x432711
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43271e
push 0x50
pop esi
jmp 0x432831
xor eax, eax
push 5
pop esi
cmp dword [ebp + 0x10], eax
jne 0x432740
test byte [ebx + 0xc], 1
je 0x432740
push esi
push 0x1f01ff
lea eax, [esp + 0x28]
push eax
call fcn.00432a70
jmp 0x43275b
push eax
push 0x2000080
push 2
push eax
push 1
push 0x1f01ff
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43276f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x432831
push 0x674580
push 0
lea eax, [ebx + 0x21c]
push 0x8000
push eax
call fcn.0058955e
add esp, 0xc
push eax
call fcn.004cef90
pop ecx
pop ecx
mov dword [esp + 0x10], eax
test eax, eax
je 0x432819
push 1
push eax
push edi
call fcn.00432b8a
mov esi, eax
test esi, esi
jne 0x432819
test byte [ebx + 0xc], 2
je 0x4327bd
lea eax, [ebx + 0x404]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
xor esi, esi
cmp dword [ebp + 0x10], esi
jne 0x4327d9
test byte [ebx + 0xc], 1
je 0x4327d9
push dword [ebx + 0x10]
lea eax, [esp + 0x24]
push eax
call fcn.0043290b
jmp 0x4327e7
push dword [ebx + 0x10]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0x14], esi
jne 0x43280b
cmp eax, esi
jne 0x432813
cmp dword [esp + 0x18], esi
je 0x432819
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov dword [esp + 0x14], eax
cmp eax, esi
jne 0x4327bd
jmp 0x432819
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
jmp 0x432819
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], 0
je 0x432831
push dword [esp + 0x10]
call fcn.004cec00
pop ecx
mov eax, esi
jmp 0x432837
xor eax, eax
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057372c
mov esp, ebp
pop ebp
ret 0xc