Function at 0x4081e0
Capabilities:
Timestomp file
Write file on windows

Disassembly:
enter 0x5cc, 1
push ebx
push ecx
push edx
mov dword [ebp - 8], esp
call fcn.00402760
mov dword [ebp - 0x2a0], eax
mov byte [ebp - 0xc], 0
mov al, byte [0x40d234]
mov byte [0x40c046], al
lea eax, [ebp - 0x12c]
push eax
push 0x40daad
call fcn.00401e60
lea eax, [ebp - 0x12c]
push eax
push 0x80
call fcn.00406c30
mov al, byte [0x40d133]
mov byte [0x40c046], al
call fcn.00402760
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
je 0x408295
mov esi, 0x40dcb0
lea edi, [ebp - 0x5d0]
call fcn.00401b30
mov esi, 0x40daad
lea edi, [ebp - 0x5d0]
call fcn.00401af0
lea esi, [ebp - 0x5d0]
lea edi, [ebp - 0x4d0]
call fcn.00401b30
mov esi, 0x40dcd2
lea edi, [ebp - 0x4d0]
call fcn.00401af0
lea eax, [ebp - 0x4d0]
push eax
call fcn.00402e90
jmp 0x40884f
lea eax, [ebp - 0x12c]
push eax
push 0x41206d
push 1
push 0
call fcn.00408890
call fcn.00402760
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
je 0x4082ea
lea eax, [ebp - 0x12c]
push eax
call fcn.00401d90
push dword [ebp - 0x2a0]
push 0x40dcd4
call fcn.00408940
call fcn.00402760
mov dword [ebp - 0x2a0], eax
jmp 0x40884f
lea eax, [ebp - 0x12c]
push eax
push 0x411fed
push 1
push 0
call fcn.00408890
call fcn.00402760
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
je 0x40836e
lea eax, [ebp - 0x12c]
push eax
call fcn.00401d90
mov esi, 0x40dcd9
lea edi, [ebp - 0x4d0]
call fcn.00401b30
lea eax, [ebp - 0x5d0]
push eax
push dword [ebp - 0x2a0]
call fcn.00405800
lea esi, [ebp - 0x5d0]
lea edi, [ebp - 0x4d0]
call fcn.00401af0
lea eax, [ebp - 0x4d0]
push eax
call fcn.00402e90
call fcn.00402760
mov dword [ebp - 0x2a0], eax
jmp 0x40884f
lea eax, [ebp - 0x12c]
push eax
push 0x411f6d
push 1
push 0
call fcn.00408890
call fcn.00402760
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
je 0x4083f2
lea eax, [ebp - 0x12c]
push eax
call fcn.00401d90
mov esi, 0x40dcde
lea edi, [ebp - 0x4d0]
call fcn.00401b30
lea eax, [ebp - 0x5d0]
push eax
push dword [ebp - 0x2a0]
call fcn.00405800
lea esi, [ebp - 0x5d0]
lea edi, [ebp - 0x4d0]
call fcn.00401af0
lea eax, [ebp - 0x4d0]
push eax
call fcn.00402e90
call fcn.00402760
mov dword [ebp - 0x2a0], eax
jmp 0x40884f
lea eax, [ebp - 0x12c]
push eax
push 0x411eed
push 1
push 0
call fcn.00408890
call fcn.00402760
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
je 0x408476
lea eax, [ebp - 0x12c]
push eax
call fcn.00401d90
mov esi, 0x40dce3
lea edi, [ebp - 0x4d0]
call fcn.00401b30
lea eax, [ebp - 0x5d0]
push eax
push dword [ebp - 0x2a0]
call fcn.00405800
lea esi, [ebp - 0x5d0]
lea edi, [ebp - 0x4d0]
call fcn.00401af0
lea eax, [ebp - 0x4d0]
push eax
call fcn.00402e90
call fcn.00402760
mov dword [ebp - 0x2a0], eax
jmp 0x40884f
mov edi, 0x40dd1c
mov esi, 0x41206d
call fcn.00401940
lea eax, [ebp - 0x12c]
push eax
call fcn.00405040
test al, al
jne 0x4084bc
lea eax, [ebp - 0x12c]
push eax
push 0x4120f1
push 1
push 0
call fcn.00408890
call fcn.00402760
mov dword [ebp - 0x2a0], eax
mov byte [0x40da66], 1
lea eax, [ebp - 0x12c]
push eax
call fcn.00405040
test al, al
jne 0x4084f3
lea eax, [ebp - 0x12c]
push eax
push 0x4120f1
push 1
push 0
call fcn.00408890
call fcn.00402760
mov dword [ebp - 0x2a0], eax
mov byte [0x40da66], 1
lea eax, [ebp - 0x12c]
push eax
call fcn.00401d90
call fcn.00402760
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
je 0x408536
mov byte [0x40da66], 0
lea eax, [ebp - 0x12c]
push eax
call fcn.00401d90
call fcn.00402760
mov dword [ebp - 0x2a0], eax
jmp 0x40884f
mov byte [0x40dc3e], 0
mov esi, 0x40daad
lea edi, [ebp - 0x4d0]
call fcn.00401b30
mov esi, 0x40dce8
lea edi, [ebp - 0x4d0]
call fcn.00401af0
lea edi, [ebp - 0x3a4]
lea esi, [ebp - 0x4d0]
call fcn.00401940
lea eax, [ebp - 0x29c]
push eax
mov esi, 0x40daad
lea edi, [ebp - 0x4d0]
call fcn.00401b30
mov esi, 0x40dcec
lea edi, [ebp - 0x4d0]
call fcn.00401af0
lea eax, [ebp - 0x4d0]
push eax
call fcn.00401e60
lea eax, [ebp - 0x29c]
push eax
call fcn.00401ee0
call fcn.00402760
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
jne 0x408609
lea eax, [ebp - 0x29c]
push eax
push 0xff
lea eax, [ebp - 0x3a4]
push eax
call fcn.00405460
call fcn.00404f40
lea eax, [ebp - 0x3a4]
push eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.00406710
mov dword [0x40dc3a], eax
mov byte [0x40dc3e], 1
lea eax, [ebp - 0x29c]
push eax
call fcn.00401d90
push 0x79
call fcn.00408860
test al, al
je 0x408840
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x3b0]
push eax
lea eax, [ebp - 0x3b4]
push eax
lea eax, [ebp - 0x3b8]
push eax
call fcn.00407db0
cmp word [ebp - 0x3ac], 0xc8
jb 0x40864d
sub word [ebp - 0x3ac], 0x7d0
movzx eax, word [ebp - 0x3b0]
dec eax
imul eax, eax, 0x1f
movzx ebx, word [ebp - 0x3ac]
imul ebx, ebx, 0x16e
add ebx, eax
movzx eax, word [ebp - 0x3b4]
add ebx, eax
movzx eax, byte [0x41216c]
dec eax
imul eax, eax, 0x1f
movzx ecx, byte [0x41216b]
imul ecx, ecx, 0x16e
add ecx, eax
movzx eax, byte [0x41216d]
add ecx, eax
cmp ecx, ebx
jl 0x4086cd
push 0x411eed
push 0x411f6d
push 0x80
call fcn.00401720
push 0x411fed
push 0x41206d
push 0x80
call fcn.00401720
mov byte [0x40da66], 1
jmp 0x408840
lea eax, [ebp - 0x12c]
push eax
call fcn.00401d90
mov byte [0x40da66], 0
mov al, byte [0x411fe6]
mov byte [0x411fe5], al
mov al, byte [0x411f66]
mov byte [0x411f65], al
mov esi, 0x40daad
lea edi, [ebp - 0x4d0]
call fcn.00401b30
mov esi, 0x40dcf0
lea edi, [ebp - 0x4d0]
call fcn.00401af0
mov edi, 0x40daad
lea esi, [ebp - 0x4d0]
call fcn.00401940
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push 0x40daae
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x3a8], eax
lea eax, [ebp - 0x3d0]
push eax
lea eax, [ebp - 0x3c8]
push eax
lea eax, [ebp - 0x3c0]
push eax
push dword [ebp - 0x3a8]
call sub.kernel32.dll_GetFileTime
push dword [ebp - 0x3a8]
call sub.kernel32.dll_CloseHandle
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push 0x40daae
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x3a8], eax
push 0
lea eax, [ebp - 0x2a4]
push eax
push 0x80
push 0x41206d
push dword [ebp - 0x3a8]
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 0x2a4]
push eax
push 0x80
push 0x411fed
push dword [ebp - 0x3a8]
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 0x2a4]
push eax
push 0x80
push 0x411f6d
push dword [ebp - 0x3a8]
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 0x2a4]
push eax
push 0x80
push 0x411eed
push dword [ebp - 0x3a8]
call sub.kernel32.dll_WriteFile
lea eax, [ebp - 0x3d0]
push eax
lea eax, [ebp - 0x3c8]
push eax
lea eax, [ebp - 0x3c0]
push eax
push dword [ebp - 0x3a8]
call sub.kernel32.dll_SetFileTime
push dword [ebp - 0x3a8]
call sub.kernel32.dll_CloseHandle
push 0x40dcf2
call fcn.00402e90
push 0x6f
call fcn.00408860
test al, al
je 0x40884b
mov byte [ebp - 0xc], 1
mov al, byte [ebp - 0xc]
pop edx
pop ecx
pop ebx
leave
ret