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

Disassembly:
mov eax, 0x46751e
call fcn.0045aa08
sub esp, 0x1b0
and dword [ebp - 0x10], 0
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x330]
and dword [ebp - 4], 0
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 + 0x48c]
shr al, 5
and al, 1
push eax
lea eax, [ebp + 8]
push eax
call fcn.00427a07
push dword [esi + 0x318]
mov eax, dword [esi + 0x31c]
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 1
push dword [eax + 0x3e]
call fcn.0043b854
test al, al
je 0x43966f
mov ecx, esi
call fcn.0043850e
lea ecx, [ebp - 0x1bc]
call fcn.0044d5ad
cmp byte [esi + 0x4c], 0
lea eax, [ebp - 0x1bc]
push eax
mov eax, esi
lea ecx, [esi + 4]
je 0x43945e
neg eax
sbb eax, eax
and eax, ecx
push eax
call fcn.004270f5
jmp 0x43946a
neg eax
sbb eax, eax
and eax, ecx
push eax
call fcn.00427128
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]
lea ecx, [ebp - 0x1bc]
push eax
mov eax, dword [esi + 0x318]
push dword [eax + 0x40]
call fcn.0044d7ee
mov eax, dword [esi + 0x31c]
mov eax, dword [eax + 0x2e]
cmp byte [eax], 0
je 0x43954a
push 0
push 0x8003
lea ecx, [ebp - 0x8c]
call fcn.00459cc1
lea eax, [esi + 0x38c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00456c48
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x8c]
push dword [esi + 0x378]
push dword [esi + 0x374]
call fcn.00459f8b
mov eax, dword [esi + 0x380]
push 1
push dword [esi + 0x384]
lea ecx, [ebp - 0x8c]
push eax
call fcn.00459fb1
lea eax, [ebp - 0x20]
push 0x10
push eax
lea ecx, [ebp - 0x8c]
call fcn.0045a0eb
lea ecx, [ebp - 0x8c]
call fcn.0045a0b8
test al, al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
jne 0x4395be
call fcn.00459d4f
jmp 0x439580
mov edi, dword [esi + 0x318]
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x9c]
push eax
add edi, 0x1a
call fcn.00456c48
lea eax, [ebp - 0x9c]
push 0x10
push eax
push edi
call fcn.0045abd0
add esp, 0x14
test eax, eax
je 0x4396e7
lea ecx, [ebp + 8]
call fcn.00416f86
mov ecx, dword [esi + 0x48c]
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 0x439604
cmp edi, 0x80042001
je 0x439604
cmp dword [ebp - 0x10], 5
je 0x4395c8
cmp dword [ebp - 0x10], 3
je 0x4395e6
jmp 0x43942c
call fcn.00459d4f
jmp 0x4396e7
push 1
lea eax, [ebp + 8]
push 0x17
push eax
lea ecx, [ebp - 0x80]
call fcn.0042a449
lea eax, [ebp - 0x80]
push 0x476a08
push eax
call fcn.0045ab51
push 1
lea eax, [ebp + 8]
push 0x17
push eax
lea ecx, [ebp - 0x80]
call 0x439755
lea eax, [ebp - 0x80]
push 0x4769f8
push eax
call fcn.0045ab51
lea ecx, [ebp + 8]
call fcn.00416f0f
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00416f0f
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], 0x46bb80
mov dword [ecx + 0x20], 0x46bb78
call fcn.00408caf
call fcn.00459246
add esp, 0x28
lea ecx, [ebp - 0x20]
call fcn.0045adf2
lea eax, [ebp - 0x20]
push 0x475230
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], 0x46c3c4
call fcn.0045ab51
mov eax, dword [esi + 0x318]
mov edi, SysReAllocString
mov ecx, dword [eax + 2]
mov dword [ebp - 0x18], ecx
mov eax, dword [eax + 6]
test eax, eax
mov dword [ebp - 0x14], eax
jl 0x4396c6
jg 0x439690
cmp ecx, edi
jbe 0x4396c6
mov eax, dword [esi + 0x48c]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp eax, 0x80042000
mov dword [ebp - 0x10], eax
je 0x439712
cmp eax, 0x80042001
je 0x439712
add dword [ebp - 0x18], 0x80000001
adc dword [ebp - 0x14], 0xffffffff
cmp dword [ebp - 0x14], 0
jg 0x439690
jl 0x4396c6
cmp dword [ebp - 0x18], edi
ja 0x439690
mov esi, dword [esi + 0x48c]
push dword [ebp - 0x18]
mov eax, dword [esi]
push esi
call dword [eax + 0x1c]
mov esi, eax
cmp esi, 0x80042000
je 0x439735
cmp esi, 0x80042001
je 0x439735
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1b8]
call fcn.0044d4bf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040be47
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret 0x2c
lea ecx, [ebp - 0x30]
call fcn.0045adf2
mov eax, dword [ebp - 0x10]
push 0x475230
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 0x46c3c4
call fcn.0045ab51
lea ecx, [ebp - 0x30]
call fcn.0045adf2
lea eax, [ebp - 0x30]
push 0x475230
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x30], 0x46c3c4
call fcn.0045ab51
mov eax, 0x467542
call fcn.0045aa08
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 0x43978d
push dword [ebp + 0xc]
lea ecx, [esi + 0x2c]
mov dword [esi], 0x46c6ac
call fcn.00423a29
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.00427998
mov eax, dword [esi]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [eax + esi], 0x46c6a4
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc