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

Disassembly:
mov eax, 0x46880a
call fcn.0045bbb8
sub esp, 0x1b0
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x330]
mov dword [ebp - 4], edi
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 4]
push dword [ecx + eax + 8]
mov eax, dword [esi + 0x31c]
lea ecx, [ebp - 0x1bc]
mov al, byte [eax + 0x14]
push dword [esi + 0x490]
shr al, 5
and al, 1
push eax
lea eax, [ebp + 8]
push eax
call fcn.00427ee8
push dword [esi + 0x318]
mov eax, dword [esi + 0x31c]
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 1
push dword [eax + 0x3e]
call fcn.0043bf1d
test al, al
je 0x439f0e
mov ecx, esi
call fcn.00438cc6
lea ecx, [ebp - 0x1bc]
call fcn.0044df55
cmp byte [esi + 0x4c], 0
lea eax, [ebp - 0x1bc]
push eax
mov eax, esi
lea ecx, [esi + 4]
je 0x439cfc
neg eax
sbb eax, eax
and eax, ecx
push eax
call fcn.00427581
jmp 0x439d08
neg eax
sbb eax, eax
and eax, ecx
push eax
call fcn.004275b4
mov eax, dword [esi + 0x318]
pop ecx
pop ecx
lea ecx, [ebp - 0x38]
push ecx
mov cx, word [eax + 0x46]
mov ax, word [eax + 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea eax, [ebp - 0x28]
push edi
push eax
mov eax, dword [esi + 0x318]
lea ecx, [ebp - 0x1bc]
push dword [eax + 0x40]
call fcn.0044e196
mov eax, dword [esi + 0x31c]
mov eax, dword [eax + 0x2e]
cmp byte [eax], 0
je 0x439de7
push edi
push 0x8003
lea ecx, [ebp - 0x8c]
call fcn.0045ae72
lea eax, [esi + 0x38c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0045779a
pop ecx
pop ecx
push edi
lea ecx, [ebp - 0x8c]
push dword [esi + 0x378]
push dword [esi + 0x374]
call fcn.0045b13c
mov eax, dword [esi + 0x380]
push 1
push dword [esi + 0x384]
lea ecx, [ebp - 0x8c]
push eax
call fcn.0045b162
lea eax, [ebp - 0x20]
push 0x10
push eax
lea ecx, [ebp - 0x8c]
call fcn.0045b29c
lea ecx, [ebp - 0x8c]
call fcn.0045b269
test al, al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
jne 0x439e5d
call fcn.0045af00
jmp 0x439e1d
mov edi, dword [esi + 0x318]
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x9c]
push eax
add edi, 0x1a
call fcn.0045779a
lea eax, [ebp - 0x9c]
push 0x10
push eax
push edi
call fcn.0045bd80
add esp, 0x14
test eax, eax
je 0x439f86
lea ecx, [ebp + 8]
call fcn.00417407
mov ecx, dword [esi + 0x490]
mov eax, dword [eax]
lea edi, [ebp - 0x10]
mov edx, dword [ecx]
push edi
push eax
push ecx
call dword [edx + 0x24]
mov edi, eax
cmp edi, 0x80042000
je 0x439ea3
cmp edi, 0x80042001
je 0x439ea3
cmp dword [ebp - 0x10], 5
je 0x439e67
cmp dword [ebp - 0x10], 3
je 0x439e85
xor edi, edi
jmp 0x439cca
call fcn.0045af00
jmp 0x439f86
push 1
lea eax, [ebp + 8]
push 0x17
push eax
lea ecx, [ebp - 0x80]
call fcn.0042a963
lea eax, [ebp - 0x80]
push 0x477ab8
push eax
call fcn.0045bd01
push 1
lea eax, [ebp + 8]
push 0x17
push eax
lea ecx, [ebp - 0x80]
call 0x439ff4
lea eax, [ebp - 0x80]
push 0x477aa8
push eax
call fcn.0045bd01
lea ecx, [ebp + 8]
call fcn.00417390
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00417390
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
sub esp, 0x28
lea eax, [ebp + 8]
mov dword [ebp - 0x14], esp
mov ecx, esp
push 0
push eax
mov dword [ecx], 0x46cb90
mov dword [ecx + 0x20], 0x46cb88
call fcn.00408cbe
call fcn.0045a3f7
add esp, 0x28
lea ecx, [ebp - 0x20]
call fcn.0045bfa2
lea eax, [ebp - 0x20]
push 0x4762d8
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], 0x46d3ec
call fcn.0045bd01
mov eax, dword [esi + 0x318]
mov edi, 0x7fffffff
mov ecx, dword [eax + 2]
mov dword [ebp - 0x18], ecx
mov eax, dword [eax + 6]
test eax, eax
mov dword [ebp - 0x14], eax
jl 0x439f65
jg 0x439f2f
cmp ecx, edi
jbe 0x439f65
mov eax, dword [esi + 0x490]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp eax, 0x80042000
mov dword [ebp - 0x10], eax
je 0x439fb1
cmp eax, 0x80042001
je 0x439fb1
add dword [ebp - 0x18], 0x80000001
adc dword [ebp - 0x14], 0xffffffff
cmp dword [ebp - 0x14], 0
jg 0x439f2f
jl 0x439f65
cmp dword [ebp - 0x18], edi
ja 0x439f2f
mov esi, dword [esi + 0x490]
push dword [ebp - 0x18]
mov eax, dword [esi]
push esi
call dword [eax + 0x1c]
mov esi, eax
cmp esi, 0x80042000
je 0x439fd4
cmp esi, 0x80042001
je 0x439fd4
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1b8]
call fcn.0044de67
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040be30
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret 0x2c
lea ecx, [ebp - 0x30]
call fcn.0045bfa2
mov eax, dword [ebp - 0x10]
push 0x4762d8
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 0x46d3ec
call fcn.0045bd01
lea ecx, [ebp - 0x30]
call fcn.0045bfa2
lea eax, [ebp - 0x30]
push 0x4762d8
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x30], 0x46d3ec
call fcn.0045bd01
mov eax, 0x46882e
call fcn.0045bbb8
push ecx
push ecx
and dword [ebp - 0x10], 0
cmp dword [ebp + 0x10], 0
push esi
mov esi, ecx
mov dword [ebp - 0x14], esi
je 0x43a02c
push dword [ebp + 0xc]
lea ecx, [esi + 0x2c]
mov dword [esi], 0x46d6d4
call fcn.00423e4a
mov dword [ebp - 0x10], 1
and dword [ebp - 4], 0
push 0
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00427e79
mov eax, dword [esi]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [eax + esi], 0x46d6cc
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc