Function at 0x4fb5b0
Capabilities:
Create directory
Timestomp file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x5f3008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
sub esp, 0x10
mov eax, ecx
mov ebx, edx
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x110], ebx
lea edx, [ebp - 0x19c]
mov dword [ebp - 0x13c], eax
push 0x100
push ecx
push 0
mov ecx, eax
call fcn.005550a0
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x4fb871
push 0x2000
call fcn.0056654e
add esp, 4
mov dword [ebp - 0x140], eax
test eax, eax
jne 0x4fb62f
lea eax, [esi - 0x68]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0056060a
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x10c]
lea edx, [ebp - 0x10c]
mov dword [ebp - 0x120], edx
mov ecx, edx
test al, al
je 0x4fb662
cmp al, 0x2f
je 0x4fb64f
cmp al, 0x5c
jne 0x4fb652
lea edx, [ecx + 1]
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4fb647
mov al, byte [edx]
mov dword [ebp - 0x120], edx
mov ecx, dword [ebx]
test al, al
jne 0x4fb684
test ecx, ecx
jne 0x4fb861
lea eax, [ebp - 0x10c]
push eax
call fcn.0056e8c0
add esp, 4
jmp 0x4fb861
test ecx, ecx
lea eax, [ebp - 0x10c]
mov ecx, dword [ebp - 0x13c]
cmovne eax, edx
sub esp, 0xc
mov dword [ebp - 0x118], eax
call fcn.00555850
add esp, 0xc
mov esi, eax
cmp dword [edi], 0
mov edi, dword [ebp - 0x118]
jne 0x4fb6e4
test esi, esi
jne 0x4fb6e4
push 0x5b2c0c
push edi
call fcn.0056ddd5
add esp, 8
test eax, eax
je 0x4fb6e4
push eax
call fcn.0056de63
mov ecx, dword [ebp - 0x13c]
add esp, 4
call fcn.00555d40
mov esi, eax
jmp 0x4fb861
cmp dword [ebp + 0x10], 1
je 0x4fb888
xor ecx, ecx
lea eax, [edi + 2]
cmp byte [eax - 2], 0
je 0x4fb725
cmp byte [eax - 1], 0
je 0x4fb724
cmp byte [eax], 0
je 0x4fb71f
cmp byte [eax + 1], 0
je 0x4fb71a
add ecx, 4
add eax, 4
cmp ecx, 0x100
jl 0x4fb6f3
jmp 0x4fb725
add ecx, 3
jmp 0x4fb725
add ecx, 2
jmp 0x4fb725
inc ecx
lea eax, [ecx - 4]
cmp eax, 0xfb
ja 0x4fb84e
mov bl, byte [ecx + edi - 4]
cmp bl, 0x2e
jne 0x4fb814
mov al, byte [ecx + edi - 3]
cmp al, 0x74
je 0x4fb74c
cmp al, 0x54
jne 0x4fb770
mov dl, byte [ecx + edi - 2]
cmp dl, 0x78
je 0x4fb75a
cmp dl, 0x58
jne 0x4fb770
mov dl, byte [ecx + edi - 1]
cmp dl, 0x74
je 0x4fb882
cmp dl, 0x54
je 0x4fb882
cmp al, 0x70
je 0x4fb778
cmp al, 0x50
jne 0x4fb79c
mov dl, byte [ecx + edi - 2]
cmp dl, 0x6e
je 0x4fb786
cmp dl, 0x4e
jne 0x4fb79c
mov dl, byte [ecx + edi - 1]
cmp dl, 0x67
je 0x4fb882
cmp dl, 0x47
je 0x4fb882
cmp al, 0x6a
je 0x4fb7a4
cmp al, 0x4a
jne 0x4fb7c8
mov dl, byte [ecx + edi - 2]
cmp dl, 0x70
je 0x4fb7b2
cmp dl, 0x50
jne 0x4fb7c8
mov dl, byte [ecx + edi - 1]
cmp dl, 0x67
je 0x4fb882
cmp dl, 0x47
je 0x4fb882
cmp al, 0x67
je 0x4fb7d0
cmp al, 0x47
jne 0x4fb7f4
mov dl, byte [ecx + edi - 2]
cmp dl, 0x69
je 0x4fb7de
cmp dl, 0x49
jne 0x4fb7f4
mov dl, byte [ecx + edi - 1]
cmp dl, 0x66
je 0x4fb882
cmp dl, 0x46
je 0x4fb882
cmp al, 0x62
je 0x4fb7fc
cmp al, 0x42
jne 0x4fb814
mov al, byte [ecx + edi - 2]
cmp al, 0x6d
je 0x4fb808
cmp al, 0x4d
jne 0x4fb814
mov al, byte [ecx + edi - 1]
cmp al, 0x70
je 0x4fb882
cmp al, 0x50
je 0x4fb882
cmp ecx, 5
jl 0x4fb84e
cmp byte [ecx + edi - 5], 0x2e
jne 0x4fb84e
cmp bl, 0x6a
je 0x4fb82a
cmp bl, 0x4a
jne 0x4fb84e
mov al, byte [ecx + edi - 3]
cmp al, 0x70
je 0x4fb836
cmp al, 0x50
jne 0x4fb84e
mov al, byte [ecx + edi - 2]
cmp al, 0x65
je 0x4fb842
cmp al, 0x45
jne 0x4fb84e
mov al, byte [ecx + edi - 1]
cmp al, 0x67
je 0x4fb882
cmp al, 0x47
je 0x4fb882
test esi, esi
je 0x4fba7a
mov ecx, dword [ebp - 0x13c]
call fcn.00555d40
push dword [ebp - 0x140]
call fcn.00565fd3
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056060a
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x110]
test esi, esi
jne 0x4fb856
push 0x5b2c14
push edi
call fcn.0056ddd5
mov edi, eax
add esp, 8
test edi, edi
jne 0x4fb9ad
cmp dword [ebx], eax
jne 0x4fba7a
mov ebx, dword [ebp - 0x120]
lea eax, [ebp - 0x10c]
cmp ebx, eax
je 0x4fba7a
mov esi, dword [ebp - 0x118]
mov al, byte [ebx - 1]
mov byte [ebp - 0x135], al
mov byte [ebx - 1], 0
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4fb8d6
sub esi, ecx
test esi, esi
jle 0x4fb987
xor ecx, ecx
mov eax, esi
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.0056654e
mov edi, eax
add esp, 4
test edi, edi
je 0x4fb987
push dword [ebp - 0x118]
lea ecx, [esi + 1]
push ecx
push edi
call fcn.0056e6e0
add esp, 0xc
cmp byte [edi + esi - 1], 0x2f
jne 0x4fb927
mov byte [edi + esi - 1], 0
push edi
call fcn.0056e8c0
add esp, 4
test eax, eax
je 0x4fb97e
lea esi, [edi + 1]
mov bl, byte [esi]
test bl, bl
je 0x4fb954
mov al, bl
nop
mov bl, al
cmp al, 0x5c
je 0x4fb954
cmp al, 0x2f
je 0x4fb954
mov bl, byte [esi + 1]
inc esi
mov al, bl
test bl, bl
jne 0x4fb940
push edi
mov byte [esi], 0
call fcn.0056e8c0
add esp, 4
cmp eax, 0xffffffff
jne 0x4fb96f
call fcn.00569787
cmp dword [eax], 2
je 0x4fb978
test bl, bl
je 0x4fb978
mov byte [esi], bl
inc esi
jmp 0x4fb937
mov ebx, dword [ebp - 0x120]
push edi
call fcn.00565fd3
add esp, 4
mov al, byte [ebp - 0x135]
push 0x5b2c14
push dword [ebp - 0x118]
mov byte [ebx - 1], al
call fcn.0056ddd5
mov edi, eax
add esp, 8
test edi, edi
je 0x4fba7a
mov ebx, dword [ebp - 0x140]
push ecx
mov ecx, dword [ebp - 0x13c]
mov edx, ebx
call fcn.00555a60
mov esi, eax
add esp, 4
test esi, esi
js 0x4fb9e1
jle 0x4fb9e1
push edi
push 1
push esi
push ebx
call fcn.0056e3dd
add esp, 0x10
cmp eax, 1
je 0x4fb9b3
or esi, 0xffffffff
test edi, edi
je 0x4fb9ee
push edi
call fcn.0056de63
add esp, 4
test esi, esi
jne 0x4fb856
push esi
push esi
push 3
push esi
push esi
push 0xc0000000
push dword [ebp - 0x118]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x134]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0x11c]
push eax
mov eax, dword [ebp - 0x18c]
push eax
shr eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x124]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x13c]
call fcn.00555d40
mov esi, eax
jmp 0x4fb861