Function at 0x479e10
Capabilities:
Resolve function by parsing pe exports
Set file attributes
Timestomp file

Disassembly:
push 0xffffffffffffffff
push 0x4e6ff0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push esi
lea eax, [esp + 0x74]
mov esi, ecx
push eax
mov dword [esp + 0x20], esi
call fcn.0041676d
lea ecx, [esp + 0x78]
push ecx
call fcn.0043f2e0
mov eax, dword [esp + 0x7c]
add esp, 8
cmp word [eax], 0x3f
jne 0x479e74
mov edx, dword [esp + 0x78]
push 2
push edx
add eax, 2
push eax
mov ecx, esi
call fcn.0046d0f0
pop esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 8
lea eax, [esp + 0x74]
push ebx
push eax
call fcn.0043f2e0
push 2
call fcn.00445f00
xor ebx, ebx
add esp, 8
cmp eax, ebx
mov dword [esp + 0xc], eax
je 0x479e96
mov word [eax], bx
push 2
mov dword [esp + 0x74], ebx
call fcn.00445f00
mov esi, eax
add esp, 4
cmp esi, ebx
mov dword [esp + 8], esi
je 0x479eb1
mov word [esi], bx
push ebp
push edi
push 0x2c
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x88]
push edx
mov byte [esp + 0x84], 1
call fcn.00449370
mov ebp, dword [esp + 0x20]
push ebp
call fcn.0042063d
mov edi, eax
mov eax, dword [esp + 0x90]
add esp, 0x10
cmp word [eax], 0x2c
mov dword [esp + 0x1c], edi
jne 0x479f14
push 0x2c
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x88]
add eax, 2
push edx
mov dword [esp + 0x8c], eax
call fcn.00449370
mov esi, dword [esp + 0x1c]
add esp, 0xc
cmp word [edi], bx
je 0x47a375
cmp word [esi], bx
je 0x47a375
push 6
push edi
push str.touch
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x47a1f6
push esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x88], ebx
call fcn.0042063d
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], eax
call fcn.00446250
mov eax, dword [esp + 0x80]
cmp word [eax], 0x2c
mov byte [esp + 0x78], 2
jne 0x479f92
push 0x2c
lea ecx, [esp + 0x1c]
mov edi, eax
push ecx
lea edx, [esp + 0x88]
add edi, 2
push edx
mov dword [esp + 0x8c], edi
call fcn.00449370
add esp, 0xc
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x3e], eax
mov dword [esp + 0x42], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x46], eax
xor edi, edi
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
xor ebp, ebp
mov word [esp + 0x40], di
mov word [esp + 0x4e], ax
add esi, 0xc
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ax, word [esi]
cmp ax, 0x2a
je 0x47a03e
cmp ax, 0x3a
jne 0x47a136
mov ax, word [esi + 2]
add esi, 2
or ax, 0x20
cmp ax, 0x63
mov dword [esp + 0x80], esi
je 0x47a001
cmp ax, 0x72
jne 0x47a00b
add esi, 2
mov dword [esp + 0x80], esi
cmp ax, 0x63
jne 0x47a017
lea ebx, [esp + 0x2c]
jmp 0x47a027
cmp ax, 0x72
jne 0x47a023
lea ebp, [esp + 0x2c]
jmp 0x47a027
lea edi, [esp + 0x2c]
lea edx, [esp + 0x80]
push edx
call fcn.0043f2e0
mov esi, dword [esp + 0x84]
add esp, 4
push 8
push esi
push str.local0:
call fcn.00440450
add esp, 0xc
test al, al
jne 0x47a0ec
push 7
push esi
push str.local:
call fcn.00440450
add esp, 0xc
test al, al
je 0x47a071
xor eax, eax
jmp 0x47a0f1
push 6
push esi
push str.sys0:
call fcn.00440450
add esp, 0xc
test al, al
je 0x47a08c
mov eax, 1
jmp 0x47a0a2
push 5
push esi
push str.sys:
call fcn.00440450
add esp, 0xc
test al, al
je 0x47a0e9
xor eax, eax
push eax
lea ecx, [esi + eax*2 + 0xa]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x8c], ecx
call fcn.00450dd0
add esp, 0xc
test eax, eax
jg 0x47a0d7
mov dword [esp + 0x84], 0x80070057
jmp 0x47a1aa
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
jmp 0x47a136
sub esi, 0x10
mov eax, 1
push eax
lea ecx, [esi + eax*2 + 0xe]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x8c], ecx
call fcn.00450dd0
add esp, 0xc
test eax, eax
jle 0x47a0c7
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
mov dword [esp + 0x80], 0
mov edx, dword [esp + 0x20]
push 0
push 0x80
push 3
push 0
push 7
push 0x100
push edx
lea ecx, [esp + 0x9c]
mov byte [esp + 0x94], 3
call fcn.004167bc
mov eax, dword [esp + 0x80]
test eax, eax
je 0x47a185
push edi
push ebp
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov esi, eax
jmp 0x47a189
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x80]
mov byte [esp + 0x78], 2
call fcn.004167b7
test esi, esi
jne 0x47a1aa
call fcn.0043f3e0
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x28]
push eax
push esi
push ecx
call fcn.00448b60
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.0043f290
lea ecx, [esp + 0x10]
call fcn.0043f290
lea ecx, [esp + 0x14]
call fcn.0043f290
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 8
lea edx, [esp + 0x4c]
push edx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
cmp word [esi], bx
je 0x47a340
mov ebp, 4
push 2
push esi
push 0x4f6494
call fcn.00440450
add esp, 0xc
test al, al
je 0x47a230
mov eax, dword [esp + 0x4c]
add esi, ebp
or eax, 0x20
jmp 0x47a24d
push 2
push esi
push 0x4f6490
call fcn.00440450
add esp, 0xc
test al, al
je 0x47a251
mov eax, dword [esp + 0x4c]
add esi, ebp
and eax, 0xffffffdf
mov dword [esp + 0x4c], eax
push 2
push esi
push 0x4f648c
call fcn.00440450
add esp, 0xc
test al, al
je 0x47a270
mov eax, dword [esp + 0x4c]
add esi, ebp
or eax, 2
jmp 0x47a28d
push 2
push esi
push 0x4f6488
call fcn.00440450
add esp, 0xc
test al, al
je 0x47a291
mov eax, dword [esp + 0x4c]
add esi, ebp
and eax, 0xfffffffd
mov dword [esp + 0x4c], eax
push 2
push esi
push 0x4f6484
call fcn.00440450
add esp, 0xc
test al, al
je 0x47a2b0
mov eax, dword [esp + 0x4c]
add esi, ebp
or eax, 1
jmp 0x47a2cd
push 2
push esi
push 0x4f6480
call fcn.00440450
add esp, 0xc
test al, al
je 0x47a2d1
mov eax, dword [esp + 0x4c]
add esi, ebp
and eax, 0xfffffffe
mov dword [esp + 0x4c], eax
push 2
push esi
push 0x4f647c
call fcn.00440450
add esp, 0xc
test al, al
je 0x47a2f3
mov eax, dword [esp + 0x4c]
add esi, ebp
or eax, ebp
mov dword [esp + 0x4c], eax
jmp 0x47a319
push 2
push esi
push 0x4f6478
call fcn.00440450
add esp, 0xc
test al, al
je 0x47a316
mov eax, dword [esp + 0x4c]
add esi, ebp
and eax, 0xfffffffb
mov dword [esp + 0x4c], eax
jmp 0x47a319
add esi, 2
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x84], esi
call fcn.0043f2e0
mov esi, dword [esp + 0x84]
add esp, 4
cmp word [esi], bx
jne 0x47a211
mov ecx, dword [esp + 0x4c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x10]
call fcn.0043f290
lea ecx, [esp + 0x14]
call fcn.0043f290
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 8
cmp esi, ebx
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x47a38d
mov edx, dword [0x51927c]
add esi, 0xfffffff8
push esi
push ebx
push edx
call edi
cmp ebp, ebx
je 0x47a39e
mov eax, dword [0x51927c]
add ebp, 0xfffffff8
push ebp
push ebx
push eax
call edi
mov ecx, dword [esp + 0x70]
pop edi
pop ebp
pop ebx
mov eax, 0x80070057
pop esi
mov dword fs:[0], ecx
add esp, 0x6c
ret 8