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

Disassembly:
mov eax, 0x468dde
call fcn.0045c1cc
sub esp, 0x1b4
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 - 0x1c0]
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.00427feb
push dword [esi + 0x318]
mov eax, dword [esi + 0x31c]
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 1
push dword [eax + 0x3e]
call fcn.0043c305
test al, al
je 0x43a0b9
mov ecx, esi
call fcn.00438e6b
lea ecx, [ebp - 0x1c0]
call fcn.0044e2bd
cmp byte [esi + 0x4c], 0
lea eax, [ebp - 0x1c0]
push eax
mov eax, esi
lea ecx, [esi + 4]
je 0x439ea1
neg eax
sbb eax, eax
and eax, ecx
push eax
call fcn.00427684
jmp 0x439ead
neg eax
sbb eax, eax
and eax, ecx
push eax
call fcn.004276b7
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 - 0x1c0]
push dword [eax + 0x40]
call fcn.0044e4fe
mov eax, dword [esi + 0x31c]
mov eax, dword [eax + 0x2e]
cmp byte [eax], 0
je 0x439f8c
push edi
push 0x8003
lea ecx, [ebp - 0xa0]
call fcn.0045b45f
lea eax, [esi + 0x38c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00457a43
pop ecx
pop ecx
push edi
lea ecx, [ebp - 0xa0]
push dword [esi + 0x378]
push dword [esi + 0x374]
call fcn.0045b730
mov eax, dword [esi + 0x380]
push 1
push dword [esi + 0x384]
lea ecx, [ebp - 0xa0]
push eax
call fcn.0045b756
lea eax, [ebp - 0x20]
push 0x10
push eax
lea ecx, [ebp - 0xa0]
call fcn.0045b890
lea ecx, [ebp - 0xa0]
call fcn.0045b85d
test al, al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa0]
jne 0x439ffc
call fcn.0045b4f0
jmp 0x439fbc
mov edi, dword [esi + 0x318]
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x48]
push eax
add edi, 0x1a
call fcn.00457a43
lea eax, [ebp - 0x48]
push 0x10
push eax
push edi
call fcn.0045c390
add esp, 0x14
test eax, eax
je 0x43a131
lea ecx, [ebp + 8]
call fcn.004173c1
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 0x43a04e
cmp edi, 0x80042001
je 0x43a04e
cmp dword [ebp - 0x10], 5
je 0x43a006
cmp dword [ebp - 0x10], 3
je 0x43a02a
xor edi, edi
jmp 0x439e6f
call fcn.0045b4f0
jmp 0x43a131
push 1
lea eax, [ebp + 8]
push 0x17
push eax
lea ecx, [ebp - 0x90]
call fcn.0042ab66
lea eax, [ebp - 0x90]
push 0x477b10
push eax
call fcn.0045c315
push 1
lea eax, [ebp + 8]
push 0x17
push eax
lea ecx, [ebp - 0x90]
call 0x43a19f
lea eax, [ebp - 0x90]
push 0x477b00
push eax
call fcn.0045c315
lea ecx, [ebp + 8]
call fcn.0041734a
lea ecx, [ebp + 8]
mov esi, eax
call fcn.0041734a
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], 0x46cb98
mov dword [ecx + 0x20], 0x46cb90
call fcn.00408cac
call fcn.0045a9e4
add esp, 0x28
lea ecx, [ebp - 0x20]
call fcn.0045c5b2
lea eax, [ebp - 0x20]
push 0x476310
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], 0x46d3f4
call fcn.0045c315
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 0x43a110
jg 0x43a0da
cmp ecx, edi
jbe 0x43a110
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 0x43a15c
cmp eax, 0x80042001
je 0x43a15c
add dword [ebp - 0x18], 0x80000001
adc dword [ebp - 0x14], 0xffffffff
cmp dword [ebp - 0x14], 0
jg 0x43a0da
jl 0x43a110
cmp dword [ebp - 0x18], edi
ja 0x43a0da
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 0x43a17f
cmp esi, 0x80042001
je 0x43a17f
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.0044e1cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040be02
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret 0x2c
lea ecx, [ebp - 0x30]
call fcn.0045c5b2
mov eax, dword [ebp - 0x10]
push 0x476310
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 0x46d3f4
call fcn.0045c315
lea ecx, [ebp - 0x30]
call fcn.0045c5b2
lea eax, [ebp - 0x30]
push 0x476310
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x30], 0x46d3f4
call fcn.0045c315
mov eax, 0x468e02
call fcn.0045c1cc
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 0x43a1d7
push dword [ebp + 0xc]
lea ecx, [esi + 0x2c]
mov dword [esi], 0x46d710
call fcn.00423ea4
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.00427f7c
mov eax, dword [esi]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [eax + esi], 0x46d708
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc