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

Disassembly:
sub esp, 0x114
cmp dword [0x1003098c], 0
push ebx
push esi
push edi
push ebp
je 0x10019cf0
mov esi, dword [esp + 0x128]
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xc
lea eax, [esi + 2]
lea edx, [esp + 0x10]
push eax
push esi
push ecx
push edx
call fcn.10019ba0
lea eax, [esp + 0x2c]
add esp, 0x10
lea ecx, [esi + 6]
lea edx, [esi + 4]
push ecx
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.10019ba0
lea eax, [esp + 0x20]
lea edx, [esp + 0x40]
add esp, 0x10
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edx], ecx
mov dword [edx + 4], eax
lea eax, [esp + 0x18]
lea edx, [esp + 0x38]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edi, dword [esp + 0x12c]
mov dword [edx], ecx
mov dword [edx + 4], eax
lea edx, [esp + 0x20]
push edx
push edi
call dword [0x1003098c]
test eax, eax
jne 0x10019cfe
xor ax, ax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x114
ret
mov esi, dword [esp + 0x128]
mov edi, dword [esp + 0x12c]
call fcn.100188f0
mov ecx, dword [0x100307cc]
test ecx, ecx
je 0x10019d14
mov eax, dword [0x100307d0]
jmp 0x10019d1f
call fcn.100188c0
mov ecx, dword [0x100307cc]
test eax, eax
jne 0x10019d37
lea eax, [esp + 0x20]
push eax
push edi
call fcn.10018c10
add esp, 8
mov ecx, dword [0x100307cc]
test ecx, ecx
je 0x10019d42
mov eax, dword [0x100307d0]
jmp 0x10019d47
call fcn.100188c0
test eax, eax
je 0x10019d54
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x10019d5f
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
mov ebx, eax
je 0x10019d99
and ebx, 0xfffffffe
cmp dword [0x100307cc], 0
je 0x10019d78
mov eax, dword [0x100307d0]
jmp 0x10019d7d
call fcn.100188c0
push ebx
test eax, eax
je 0x10019d8b
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x10019d96
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
or ebx, 1
lea eax, [esi + 2]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push eax
push esi
push ecx
push edx
add esi, 4
call fcn.10019ba0
lea eax, [esp + 0x2c]
add esp, 0x10
lea ecx, [esi + 2]
push ecx
push esi
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.10019ba0
add esp, 0x10
cmp dword [0x100307cc], 0
je 0x10019dda
mov eax, dword [0x100307d0]
jmp 0x10019ddf
call fcn.100188c0
push 0
test eax, eax
push 0
push 3
push 0
push 1
push 0x40000000
je 0x10019dfb
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x10019e08
lea eax, [esp + 0x38]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
call ebp
cmp eax, 0xffffffff
mov ebp, eax
jne 0x10019e23
call fcn.10018920
mov ax, 0xffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x114
ret
lea eax, [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
push eax
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileTime]
cmp ax, 1
push ebp
sbb esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, 1
je 0x10019e76
cmp dword [0x100307cc], 0
je 0x10019e58
mov eax, dword [0x100307d0]
jmp 0x10019e5d
call fcn.100188c0
push ebx
test eax, eax
je 0x10019e6b
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x10019e76
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
call fcn.10018920
mov ax, si
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x114
ret