Function at 0x403b52
Capabilities:
Create directory
Get file attributes
Move file
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x3ac
cmp dword [0x4657b8], 0
je 0x403c06
mov edi, dword [ecx + 4]
sub edi, dword [ecx + 8]
cmp edi, dword [0x42a490]
mov dword [ebp - 0x3ac], edi
jl 0x403c06
test edi, edi
je 0x403c06
lea esi, [ebp - 0x370]
push eax
push eax
push 0
push esi
call fcn.00403a8a
push 1
push esi
call fcn.00403579
test eax, eax
mov edi, eax
pop edx
pop ecx
jle 0x403e5f
push eax
push 2
push 0
push edi
call fcn.0040364b
push dword [ebp - 0x3ac]
push dword [ebx + 8]
push edi
call fcn.00403625
lea ecx, [ebp - 0x3a0]
mov dword [esp], 0
push 0
mov dword [ebp - 0x3b0], ecx
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
sub esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
test byte [0x46579a], 0x80
mov ecx, dword [ebp - 0x3b0]
jne 0x403c6e
mov eax, dword [ebx + 4]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 4]
lea edi, [ebx + 0x1c]
mov eax, ecx
sub eax, edi
cmp eax, 0x7fff
jle 0x403c3c
sub ecx, 0x1000
sub dword [ebx + 8], 0x1000
lea esi, [ebx + 0x101c]
mov dword [ebx + 4], ecx
sub ecx, edi
test edi, edi
je 0x403c3c
test esi, esi
je 0x403c3c
jecxz 0x403c3c
cld
rep movsb byte es:[edi], byte [esi]
cmp dword [0x42a49c], 0
jne 0x403c4c
mov ecx, ebx
call fcn.004036e8
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x10], 0
inc dword [0x465778]
not eax
and dword [0x46577c], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
push edi
push edi
lea edi, [ebp - 0x398]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0x390]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
call edi
pop edx
mov edx, dword [ebp + 8]
movzx eax, word [ebp - 0x38a]
pop ecx
cmp word [edx + 6], ax
je 0x403c00
push edx
push edx
mov ecx, ebx
movzx edx, word [ebp - 0x38e]
imul edx, edx, 0x64
add eax, edx
push eax
push esi
call fcn.00403a8a
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
add esp, 0xc
inc eax
je 0x403ded
push eax
push eax
lea eax, [ebp - 0x158]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
pop edx
pop ecx
je 0x403ded
sub esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x380]
sub esp, 0xc
push eax
lea eax, [ebp - 0x154]
push eax
call edi
push 0x2f
push esi
call fcn.00403472
add esp, 0x20
test eax, eax
mov edi, eax
je 0x403d80
mov byte [eax], 0
movzx eax, word [ebp - 0x380]
lea ecx, [ebp - 0x270]
mov edx, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [ebp - 0x3b0], ecx
push eax
mov dword [ebp - 0x3b4], edx
push esi
push str._.255s__u
push ecx
call edx
mov ecx, dword [ebp - 0x3b0]
pop eax
pop edx
push 0x42a458
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [edi + 1]
push ecx
mov ecx, dword [ebp - 0x3b0]
mov edx, dword [ebp - 0x3b4]
push eax
movzx eax, word [ebp - 0x380]
push eax
push esi
push str._.255s__u__.20s
push ecx
call edx
mov byte [edi], 0x2f
add esp, 0x20
jmp 0x403dcd
movzx eax, word [ebp - 0x380]
mov edx, dword [sym.imp.USER32.dll_wsprintfA]
push edi
lea edi, [ebp - 0x270]
mov dword [ebp - 0x3b0], edx
push eax
push 0x43925b
push edi
call edx
pop eax
pop edx
push 0x42a458
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop ecx
pop eax
movzx eax, word [ebp - 0x380]
push esi
mov edx, dword [ebp - 0x3b0]
push eax
push str._u__.20s
push edi
call edx
add esp, 0x10
push eax
push eax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x370]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
pop edx
pop ecx
je 0x403c00
lea esi, [ebp - 0x158]
push eax
push eax
push 0
mov ecx, ebx
push esi
call fcn.00403a8a
lea eax, [ebp - 0x370]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push eax
push esi
call fcn.004035ad
add esp, 0xc
test eax, eax
mov esi, eax
jle 0x403c00
push edi
lea edi, [ebp - 0x398]
push dword [ebp - 0x3ac]
push dword [ebx + 8]
push eax
call fcn.00403625
push eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
add esp, 0xc
push edi
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
jmp 0x403c00
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
add esp, 0xc
inc eax
jne 0x403c00
sub esp, 0xc
jmp 0x403e0e