Function at 0x106d0a5
Capabilities:
Get file size
Timestomp file

Disassembly:
push 0x60
push 0x1023828
call fcn.0106bf63
xor edi, edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 8]
call fcn.0106de8a
test eax, eax
je 0x106d5ec
lea eax, [ebp - 0x70]
push eax
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov dword [ebp - 0x50], edi
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x38]
call fcn.0106dde8
cmp dword [ebp - 0x50], 0xffffffff
jne 0x106d5d8
mov eax, 0x10000
push eax
push eax
call fcn.0106dfca
mov dword [ebp - 0x68], eax
cmp eax, edi
je 0x106d5e3
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x38]
call fcn.0106c755
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x106d5cc
mov ebx, dword [ebp - 0x58]
push dword [ebx + 0x1c]
push edi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.0106c3c2
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x106d5cc
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], edi
test byte [ebx + 6], 0x80
jne 0x106d169
mov eax, dword [ebx + 0x18]
cmp eax, edi
je 0x106d169
lea ecx, [ebp - 0x70]
push ecx
push eax
call fcn.0106c376
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x54], edi
mov esi, dword [ebp + 0xc]
cmp esi, 0xffffffff
je 0x106d187
lea eax, [ebp - 0x54]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x24], eax
cmp eax, dword [ebx + 0x1c]
jne 0x106d356
cmp dword [ebp - 0x54], edi
jne 0x106d356
cmp esi, 0xffffffff
jne 0x106d1a6
mov dword [ebp - 0x20], edi
xor eax, eax
inc eax
jmp 0x106d1b4
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.0106de8a
cmp eax, edi
jne 0x106d1c7
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x28], 1
jmp 0x106d356
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x44], ecx
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x40], eax
cmp ecx, edi
je 0x106d201
test byte [ebp + 0x14], 4
jne 0x106d201
xor esi, esi
inc esi
push esi
push eax
push ecx
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call fcn.0106cd38
mov dword [ebp - 0x2c], eax
cmp eax, edi
jne 0x106d201
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x28], edi
jne 0x106d348
mov dword [ebp - 4], edi
xor esi, esi
mov dword [ebp - 0x34], esi
push dword [ebp - 0x24]
cmp esi, dword [ebp - 0x44]
jae 0x106d254
lea eax, [esi + esi*2]
mov ecx, dword [ebp - 0x40]
lea eax, [ecx + eax*4]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x5c], ecx
mov edi, dword [eax + 8]
push ecx
push edi
call fcn.0106c3a2
test eax, eax
je 0x106d24f
mov ecx, dword [ebp - 0x5c]
xor eax, eax
mov edx, dword [ebp - 0x20]
add edi, edx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
inc esi
xor edi, edi
jmp 0x106d20f
push dword [ebp - 0x20]
push 0xffffffffffffffff
call fcn.0106ddac
not eax
mov dword [ebp - 0x30], eax
cmp eax, dword [ebx + 0x20]
je 0x106d296
push edi
push edi
push edi
push edi
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push edi
push dword [ebx + 4]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call fcn.0106c429
add esp, 0x28
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push 0xffffffffffffffff
call fcn.0106ddac
not eax
mov dword [ebp - 0x30], eax
or dword [ebp - 4], 0xffffffff
jmp 0x106d2c9
cmp dword [ebp - 0x28], edi
jne 0x106d33c
mov ecx, dword [ebx + 0x20]
cmp eax, ecx
jne 0x106d33c
mov esi, dword [ebx + 0x1c]
cmp dword [ebp - 0x24], esi
jne 0x106d33c
xor eax, eax
inc eax
mov dword [ebp - 0x28], eax
test byte [ebp + 0x14], al
je 0x106d2f8
push 0xc00e4105
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x1c], edi
jmp 0x106d33c
test byte [ebp + 0x14], 4
jne 0x106d339
lea eax, [ebp - 0x70]
cmp esi, edi
jne 0x106d31a
push eax
push edi
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov dword [ebp - 0x1c], 1
jmp 0x106d33c
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp - 0x2c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push ecx
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call fcn.0106ce02
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, edi
je 0x106d348
call fcn.0106dfbb
cmp dword [ebp - 0x20], edi
je 0x106d356
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [ebp - 0x28], edi
jne 0x106d5cc
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x64]
add ecx, eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x34], edi
cmp dword [ebx + 0x24], edi
jbe 0x106d5b5
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x28], 0
jne 0x106d5cc
cmp dword [ebp - 0x1c], 0
jne 0x106d5b5
mov esi, dword [ebx + 0x28]
add esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x24]
cmp dword [esi + 4], eax
jne 0x106d59c
cmp dword [ebp + 0xc], 0xffffffff
jne 0x106d3b4
and dword [ebp - 0x20], 0
xor edi, edi
inc edi
mov eax, edi
jmp 0x106d3c7
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0xc]
call fcn.0106de8a
xor edi, edi
inc edi
test eax, eax
jne 0x106d3d3
mov dword [ebp - 0x28], edi
jmp 0x106d59c
and dword [ebp - 0x2c], 0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x106d3ff
test byte [ebp + 0x14], 4
jne 0x106d3ff
push 0
push dword [esi + 0x1c]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call fcn.0106cd38
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x106d3ff
mov dword [ebp - 0x28], edi
cmp dword [ebp - 0x28], 0
jne 0x106d58d
push dword [esi + 0x1c]
push dword [esi + 0x18]
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push 0
push dword [ebx + 4]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call fcn.0106c429
add esp, 0x28
and dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call fcn.0106dde8
test eax, eax
je 0x106d57f
mov eax, dword [ebp - 0x30]
cmp eax, dword [esi + 8]
jne 0x106d57f
mov edx, dword [ebp - 0x24]
cmp edx, dword [esi + 4]
jne 0x106d57f
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
jne 0x106d495
test edx, edx
jne 0x106d47c
test byte [ebp + 0x14], 2
je 0x106d47c
push 0xc00e4105
jmp 0x106d4fc
test byte [ebp + 0x14], 4
jne 0x106d4ac
lea eax, [ebp - 0x70]
push eax
push 0
push 0
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
jmp 0x106d4ac
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x106d4e0
cmp edx, ecx
jne 0x106d4a6
test byte [ebp + 0x14], 2
jne 0x106d472
test byte [ebp + 0x14], 4
je 0x106d4b4
mov dword [ebp - 0x1c], edi
jmp 0x106d57f
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp - 0x2c]
push dword [esi + 0x1c]
push dword [esi + 0x18]
push dword [ebx + 0x20]
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0x10]
push edx
push dword [ebp - 0x20]
call fcn.0106ce02
mov dword [ebp - 0x1c], eax
test eax, eax
jmp 0x106d57a
test byte [ebp + 0x14], 4
jne 0x106d4ac
mov ecx, dword [ebp - 0x3c]
add eax, ecx
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x48]
add edx, ecx
cmp eax, edx
jbe 0x106d504
push 0xc00e4106
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x106d57c
mov dword [ebp - 0x1c], edi
lea eax, [esi + 0x20]
cmp dword [eax], 0
je 0x106d528
push eax
push dword [ebx + 0x14]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
lea eax, [ebx + 8]
push eax
call fcn.0106c5f0
add esp, 0x14
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x106d57c
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x106d53d
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax + ecx*4]
jmp 0x106d53f
xor eax, eax
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push eax
push dword [ebx + 0x30]
push 0
push dword [ebx + 4]
push dword [ebp - 0x2c]
push dword [esi + 0x1c]
push dword [esi + 0x18]
push dword [ebx + 0x20]
lea eax, [ebp - 0x70]
push eax
push dword [ebx + 0x1c]
push dword [ebp + 0x10]
push dword [esi + 0xc]
push dword [ebp - 0x3c]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call fcn.0106d022
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x106d57f
mov dword [ebp - 0x28], edi
cmp dword [ebp - 0x2c], 0
je 0x106d58d
mov ecx, dword [ebp - 0x2c]
call fcn.0106dfbb
cmp dword [ebp - 0x20], 0
je 0x106d59c
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esi + 0xc]
add dword [ebp - 0x3c], eax
inc dword [ebp - 0x34]
add dword [ebp - 0x4c], 0x30
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebx + 0x24]
jb 0x106d37d
cmp dword [ebp - 0x28], 0
jne 0x106d5cc
cmp dword [ebp - 0x1c], 0
jne 0x106d5cc
push 0xc00e4104
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp - 0x68]
call fcn.0106e0b0
xor edi, edi
jmp 0x106d5e3
push 0xc00e4102
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [ebp - 0x1c], edi
jne 0x106d606
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x106d606
push 0x4b8
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x1c]
call fcn.0106bf9e
ret 0x18