Function at 0x40d4ae
Capabilities:
Get file attributes
Set file attributes
Timestomp file

Disassembly:
mov eax, 0x415516
call fcn.00414a90
sub esp, 0x364
push ebx
push esi
push edi
xor esi, esi
xor eax, eax
lea edi, [ebp - 0x96]
mov word [ebp - 0x98], si
mov word [ebp - 0x78], si
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
lea edi, [ebp - 0x76]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
lea edi, [ebp - 0x86]
mov word [ebp - 0x88], si
mov ebx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x88]
push eax
push 0xcd
push 0xca
push dword [ebx + 0x898]
call fcn.0040c4f0
lea eax, [ebp - 0x78]
push eax
push 0xd0
push 0xce
push dword [ebx + 0x898]
call fcn.0040c4f0
lea eax, [ebp - 0x98]
push eax
push 0xd2
push 0xd1
push dword [ebx + 0x898]
call fcn.0040c4f0
add esp, 0x30
lea eax, [ebp - 0x24]
mov ecx, ebx
mov dword [ebp - 0x28], esi
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
call fcn.0040c63b
lea eax, [ebx + 0x83c]
push eax
lea eax, [ebx + 0x838]
push eax
lea eax, [ebp - 0x98]
push dword [ebp - 0x28]
push eax
call fcn.0040dead
mov dword [ebp - 0x30], eax
lea edi, [ebx + 0x84c]
lea eax, [ebx + 0x840]
push edi
push eax
lea eax, [ebp - 0x78]
push dword [ebp - 0x24]
mov dword [ebp - 0x2c], edx
push eax
call fcn.0040dead
mov dword [ebp - 0x3c], eax
lea eax, [ebx + 0x848]
push edi
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x38], edx
lea eax, [ebp - 0x88]
push eax
call fcn.0040dead
add esp, 0x30
cmp dword [0x431dc8], esi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
je 0x40d5dd
mov ecx, ebx
call fcn.0040d0db
push esi
push esi
push 0x1004
push dword [ebx + 0x894]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov ecx, 0x432350
mov dword [ebp - 0x34], eax
call fcn.0040d9e1
cmp dword [ebp - 0x34], esi
mov dword [ebp - 0x14], esi
jle 0x40d9b1
lea eax, [ebp - 0x370]
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x168]
push eax
mov dword [ebp - 0x150], 0x104
push dword [ebp - 0x14]
push 0x1073
push dword [ebx + 0x894]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x370]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, esi
je 0x40d9a2
lea eax, [ebp - 0x370]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x54], eax
and dword [ebp - 0x18], 0x10
je 0x40d680
push esi
push 0x42000000
push 3
push esi
push esi
push 0x100
jmp 0x40d69f
mov edi, 0x80
lea eax, [ebp - 0x370]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
push edi
push 3
push esi
push 1
push 0x40000000
lea eax, [ebp - 0x370]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
lea edi, [ebx + 0x24]
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00410cf0
cmp dword [ebp - 0x10], 0xffffffff
mov dword [eax], esi
je 0x40d98d
mov eax, dword [ebx + 0x870]
cmp eax, esi
jne 0x40d726
lea esi, [ebp - 0x98]
lea edi, [ebp - 0x120]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x78]
lea edi, [ebp - 0xd0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x88]
lea edi, [ebp - 0x100]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x100]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x120]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
call fcn.0040e0ef
xor esi, esi
jmp 0x40d984
cmp eax, 3
jne 0x40d8d0
push ecx
lea eax, [ebp - 0x370]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00402f54
lea eax, [ebp - 0x40]
push eax
call fcn.0040eb0c
pop ecx
pop ecx
lea eax, [ebp - 0xb0]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xa8]
push eax
push ecx
lea eax, [ebp - 0x40]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00402edf
call fcn.00410835
add esp, 0xc
cmp eax, esi
jne 0x40d846
push esi
push 0x34
call fcn.00405b3d
pop ecx
mov ecx, esp
mov dword [ebp - 0xb8], esp
push eax
call fcn.00402f54
push str._n___55_____________________________
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.00402ff8
push ecx
mov byte [ebp - 4], 2
mov edx, esp
mov dword [ebp - 0xb4], esp
push eax
push esi
push 0x70
mov dword [ebp - 0x1c], edx
call fcn.00405b3d
pop ecx
pop ecx
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00407e0f
push 0x3e9
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.0040d9cb
push eax
mov ecx, ebx
call fcn.004108a6
and byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00402f28
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00410cf0
mov dword [eax], 1
jmp 0x40d873
lea esi, [ebp - 0xa8]
lea edi, [ebp - 0x98]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0xa8]
lea edi, [ebp - 0x78]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0xa8]
lea edi, [ebp - 0x88]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x98]
lea edi, [ebp - 0x130]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x78]
lea edi, [ebp - 0x110]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x88]
lea edi, [ebp - 0xf0]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xf0]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x130]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
call fcn.0040e0ef
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00402f28
jmp 0x40d71f
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp dword [ebx + 0x870], 1
jne 0x40d936
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
neg eax
adc ecx, esi
neg ecx
push ecx
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040dfac
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
neg eax
adc ecx, esi
neg ecx
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0040dfac
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
neg eax
adc ecx, esi
neg ecx
push ecx
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040dfac
add esp, 0x24
cmp dword [ebx + 0x870], 2
jne 0x40d96f
push dword [ebp - 0x2c]
lea eax, [ebp - 0x68]
push dword [ebp - 0x30]
push eax
call fcn.0040dfac
push dword [ebp - 0x38]
lea eax, [ebp - 0x50]
push dword [ebp - 0x3c]
push eax
call fcn.0040dfac
push dword [ebp - 0x44]
lea eax, [ebp - 0x5c]
push dword [ebp - 0x48]
push eax
call fcn.0040dfac
add esp, 0x24
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], esi
jne 0x40d9a2
push dword [ebp - 0x54]
lea eax, [ebp - 0x370]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x34]
jl 0x40d60a
push esi
mov ecx, ebx
call fcn.0040da71
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret