Function at 0x41b161
Capabilities:
Read file on windows
Timestomp file

Disassembly:
mov eax, 0x474f9d
call fcn.0045357c
sub esp, 0x42c
push ebx
push esi
push edi
or edi, 0xffffffff
mov dword [ebp - 0x10], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x41af62
mov dword [eax], ebx
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x41af6b
mov dword [eax], edi
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x230]
push eax
call esi
lea eax, [ebp - 0x230]
push eax
call fcn.0041a8cd
dec eax
pop ecx
cmp eax, 4
ja 0x41afa4
mov dword [ebp - 4], edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
lea eax, [ebp - 0x230]
push eax
call fcn.0041ae33
pop ecx
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x438]
push eax
call esi
push ebx
lea eax, [ebp - 0x230]
push eax
push 0x104
push ebx
lea eax, [ebp - 0x438]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
je 0x41af90
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
mov edi, 0x80
push edi
push 3
push ebx
push 1
push 0x80000100
lea eax, [ebp - 0x230]
push eax
call esi
push eax
lea ecx, [ebp - 0x10]
call fcn.0041a89d
cmp dword [ebp - 0x10], 0xffffffff
push ebx
jne 0x41b03d
push edi
push 3
push ebx
push 1
push 0x80000000
lea eax, [ebp - 0x230]
push eax
call esi
push eax
lea ecx, [ebp - 0x10]
call fcn.0041a89d
cmp dword [ebp - 0x10], 0xffffffff
jne 0x41b05e
or dword [ebp - 4], 0xffffffff
jmp 0x41af93
lea eax, [ebp - 0x28]
push eax
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x41b05e
push ebx
lea eax, [ebp - 0x28]
push eax
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov esi, dword [ebp - 0x10]
push ebx
lea eax, [ebp - 0x14]
push eax
push 0xc
lea eax, [ebp - 0x20]
push eax
push esi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41b08a
or dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41af93
cmp dword [ebp - 0x14], 0xc
je 0x41b0a2
or dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x41af95
movzx ecx, word [ebp - 0x20]
xor eax, eax
cmp ecx, ebx
je 0x41b128
cmp ecx, 0x4952
je 0x41b105
cmp ecx, 0x4d42
je 0x41b0e8
cmp ecx, 0x5a4d
jne 0x41b15a
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0041aae1
add esp, 0x20
jmp 0x41b15a
push dword [ebp + 0x24]
lea eax, [ebp - 0x230]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.0041acd5
jmp 0x41b157
mov ecx, 0x4646
cmp word [ebp - 0x1e], cx
jne 0x41b15a
mov ecx, 0x4341
cmp word [ebp - 0x18], cx
jne 0x41b15a
mov ecx, 0x4e4f
cmp word [ebp - 0x16], cx
jne 0x41b15a
jmp 0x41b13c
cmp word [ebp - 0x1e], bx
je 0x41b135
cmp word [ebp - 0x1e], 2
jne 0x41b15a
cmp word [ebp - 0x1c], 1
jb 0x41b15a
push dword [ebp + 0x24]
lea eax, [ebp - 0x230]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.0041adf1
add esp, 0x18
mov ebx, eax
jmp 0x41b090
push ebp
mov ebp, esp
pop ebp
jmp 0x41af3b