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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c5746
mov eax, dword fs:[0]
push eax
sub esp, 0x1dc
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x44]
call fcn.10049c40
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
and eax, 1
je 0x1006447e
mov ecx, dword [ebp - 0x58]
and ecx, 0xfffffffe
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.10049c40
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 1
lea ecx, [ebp - 0x1e8]
call fcn.10028190
mov dword [ebp - 4], 0
push 0x40
push 1
mov ecx, dword [ebp - 0x44]
call fcn.10049c40
push eax
lea ecx, [ebp - 0x1e8]
call fcn.100299d0
lea ecx, [ebp - 0x28]
call fcn.10005e50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.1002dc60
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x1e8]
push eax
call fcn.10060f40
add esp, 8
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x64]
add ecx, dword [edx + 4]
call fcn.10063650
movzx eax, al
test eax, eax
je 0x100644fd
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x60]
call fcn.10034610
jmp 0x100644c2
lea ecx, [ebp - 0x1e8]
call fcn.100296c0
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x60]
call fcn.10080e50
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x60]
call fcn.1005ab60
push eax
lea ecx, [ebp - 0x48]
call fcn.100181c0
movzx ecx, al
test ecx, ecx
je 0x100645b9
lea ecx, [ebp - 0x48]
call fcn.1007dcc0
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
push edx
mov ecx, dword [ebp - 0x44]
call fcn.10064e10
movzx eax, al
test eax, eax
je 0x10064579
mov ecx, dword [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x44]
call fcn.100653a0
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.10006000
lea ecx, [ebp - 0x40]
call fcn.10005f30
mov ecx, dword [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.10064e60
movzx edx, al
test edx, edx
je 0x100645ac
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
push ecx
lea edx, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x60]
call fcn.1006bb60
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
jmp 0x10064514
lea ecx, [ebp - 0x48]
call fcn.1005a9e0
jmp 0x10064514
push 1
lea ecx, [ebp - 0x130]
call fcn.10028340
mov byte [ebp - 4], 3
push 0x40
push 2
mov ecx, dword [ebp - 0x44]
call fcn.10049c40
push eax
lea ecx, [ebp - 0x130]
call fcn.10029a30
movzx ecx, byte [ebp + 8]
test ecx, ecx
jne 0x10064676
mov dword [ebp - 0x54], 0
lea edx, [ebp - 0x60]
mov dword [ebp - 0x68], edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x68]
call fcn.10080e50
lea ecx, [ebp - 0x74]
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.1005ab60
jmp 0x1006461d
lea ecx, [ebp - 0x50]
call fcn.1005a9e0
lea edx, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x50]
call fcn.100181c0
movzx eax, al
test eax, eax
je 0x10064676
lea ecx, [ebp - 0x50]
call fcn.1007dcc0
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
push ecx
lea edx, [ebp - 0x130]
push edx
call fcn.10011e80
add esp, 8
mov eax, dword [ebp - 0x54]
add eax, 1
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x60]
call fcn.1005b2d0
cmp dword [ebp - 0x54], eax
je 0x10064674
push 0x10027ff0
lea ecx, [ebp - 0x130]
call fcn.10028940
jmp 0x10064615
lea ecx, [ebp - 0x130]
call fcn.100296f0
mov ecx, dword [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.10049c40
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x130]
call fcn.100289c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.1002e170
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10005f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e8]
call fcn.10028960
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret 4