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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c57ca
mov eax, dword fs:[0]
push eax
sub esp, 0x264
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 - 0x78], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xf4]
push ecx
mov ecx, dword [ebp - 0x78]
call fcn.10065500
mov dword [ebp - 4], 0
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xd4], edx
mov ecx, dword [ebp - 0x78]
call fcn.10049c40
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
and eax, 1
je 0x1006477d
mov ecx, dword [ebp - 0x98]
and ecx, 0xfffffffe
push ecx
mov ecx, dword [ebp - 0x78]
call fcn.10049c40
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 1
lea ecx, [ebp - 0x270]
call fcn.10028190
mov byte [ebp - 4], 1
push 0x40
push 1
mov ecx, dword [ebp - 0x78]
call fcn.10049c40
push eax
lea ecx, [ebp - 0x270]
call fcn.100299d0
lea ecx, [ebp - 0x58]
call fcn.10005e50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd0]
call fcn.1004a660
mov byte [ebp - 4], 3
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x270]
push eax
call fcn.10060f40
add esp, 8
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x9c]
add ecx, dword [edx + 4]
call fcn.10063650
movzx eax, al
test eax, eax
je 0x10064808
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0xd0]
call fcn.100243f0
jmp 0x100647c1
lea ecx, [ebp - 0x270]
call fcn.100296c0
lea edx, [ebp - 0xd0]
mov dword [ebp - 0xa0], edx
lea eax, [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0xa0]
call fcn.1006b5d0
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, dword [ebp - 0xa0]
call fcn.10021d00
jmp 0x10064850
lea ecx, [ebp - 0x84]
call fcn.10018980
lea edx, [ebp - 0xc4]
push edx
lea ecx, [ebp - 0x84]
call fcn.10041280
movzx eax, al
test eax, eax
je 0x10064ad8
lea ecx, [ebp - 0x84]
call fcn.100636a0
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0x78]
call fcn.10064dc0
movzx edx, al
test edx, edx
je 0x10064890
jmp 0x10064845
mov byte [ebp - 0x71], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xa4], eax
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0xa4]
call fcn.10049be0
lea edx, [ebp - 0xd8]
push edx
mov ecx, dword [ebp - 0xa4]
call fcn.1006ba10
jmp 0x100648d1
lea ecx, [ebp - 0x88]
call fcn.10063760
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x88]
call fcn.10041280
movzx ecx, al
test ecx, ecx
je 0x10064a9e
lea ecx, [ebp - 0x88]
call fcn.100060f0
mov dword [ebp - 0xdc], eax
mov edx, dword [ebp - 0xdc]
push edx
lea ecx, [ebp - 0x40]
call fcn.10008e80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.10005e50
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x78]
call fcn.100652a0
movzx edx, al
test edx, edx
je 0x10064a4d
push 0x20
mov eax, dword [ebp - 0x80]
push eax
lea ecx, [ebp - 0xb0]
push ecx
call fcn.1002ee40
add esp, 0xc
mov byte [ebp - 4], 6
lea edx, [ebp - 0x8c]
push edx
lea ecx, [ebp - 0xb0]
call fcn.10080e50
jmp 0x1006497a
push 0
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x8c]
call fcn.100636c0
lea ecx, [ebp - 0xe8]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.1005ab60
push eax
lea ecx, [ebp - 0x8c]
call fcn.100181c0
movzx edx, al
test edx, edx
je 0x10064a0b
push 0
push 0x100
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x108]
call fcn.1005ea80
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xb4], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xb4]
push edx
lea ecx, [ebp - 0x8c]
call fcn.1007dcc0
push eax
call fcn.10061060
add esp, 0xc
mov byte [ebp - 0x79], al
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x108]
call fcn.10062a10
movzx eax, byte [ebp - 0x79]
test eax, eax
je 0x10064a06
mov byte [ebp - 0x71], 1
jmp 0x10064a0b
jmp 0x10064966
movzx ecx, byte [ebp - 0x71]
test ecx, ecx
je 0x10064a3c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb0]
call fcn.1002e170
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.10005f30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.10005f30
jmp 0x10064a9e
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb0]
call fcn.1002e170
jmp 0x10064a81
push 0
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x80]
call fcn.10059f10
cmp eax, dword [0x100c9c48]
je 0x10064a81
mov byte [ebp - 0x71], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.10005f30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.10005f30
jmp 0x10064a9e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.10005f30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.10005f30
jmp 0x100648c6
movzx eax, byte [ebp - 0x71]
test eax, eax
je 0x10064ad3
mov ecx, dword [ebp - 0x80]
push ecx
lea edx, [ebp - 0x70]
push edx
mov ecx, dword [ebp - 0x78]
call fcn.100658b0
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0x80]
call fcn.10006000
lea ecx, [ebp - 0x70]
call fcn.10005f30
jmp 0x10064845
push 1
lea ecx, [ebp - 0x1b8]
call fcn.10028340
mov byte [ebp - 4], 8
push 0x40
push 2
mov ecx, dword [ebp - 0x78]
call fcn.10049c40
push eax
lea ecx, [ebp - 0x1b8]
call fcn.10029a30
mov dword [ebp - 0x94], 0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xa8], ecx
lea edx, [ebp - 0x90]
push edx
mov ecx, dword [ebp - 0xa8]
call fcn.1006b5d0
lea eax, [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.10021d00
jmp 0x10064b48
lea ecx, [ebp - 0x90]
call fcn.10018980
lea ecx, [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x90]
call fcn.10041280
movzx edx, al
test edx, edx
je 0x10064bbc
lea ecx, [ebp - 0x90]
call fcn.100636a0
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x1b8]
push ecx
call fcn.10011e80
add esp, 8
mov edx, dword [ebp - 0x94]
add edx, 1
mov dword [ebp - 0x94], edx
lea ecx, [ebp - 0xd0]
call fcn.1000cf50
cmp dword [ebp - 0x94], eax
je 0x10064bba
push 0x10027ff0
lea ecx, [ebp - 0x1b8]
call fcn.10028940
jmp 0x10064b3d
lea ecx, [ebp - 0x1b8]
call fcn.100296f0
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x78]
call fcn.10049c40
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1b8]
call fcn.100289c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd0]
call fcn.10017280
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.10005f30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x270]
call fcn.10028960
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
call fcn.10062b30
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