Function at 0x48f0b0
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572ce2
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x5bfd00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
mov esi, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0xec], 0
push 1
push 0x57b500
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], esi
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call fcn.0040d5d0
cmp dword [ebp - 0x44], 0xf
lea edx, [ebp - 0x58]
mov eax, dword [esi + 0x10]
mov edi, esi
cmova edx, dword [ebp - 0x58]
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0xec], esi
jbe 0x48f147
mov edi, dword [esi]
mov dword [ebp - 0xec], edi
mov ecx, dword [ebp - 0x48]
cmp ecx, eax
ja 0x48f217
sub eax, ecx
test ecx, ecx
jne 0x48f15f
xor edi, edi
jmp 0x48f21a
movsx ecx, byte [edx]
inc eax
add eax, edi
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0x100], eax
sub eax, edi
push eax
push ecx
push edi
call sub.VCRUNTIME140.dll_memchr
mov edi, eax
add esp, 0xc
test edi, edi
je 0x48f217
nop dword [eax + eax]
mov ecx, dword [ebp - 0x48]
mov edx, edi
mov esi, dword [ebp - 0xfc]
sub ecx, 4
jb 0x48f1b1
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x48f1b6
add edx, 4
add esi, 4
sub ecx, 4
jae 0x48f1a0
cmp ecx, 0xfffffffc
je 0x48f1ea
mov al, byte [edx]
cmp al, byte [esi]
jne 0x48f1e3
cmp ecx, 0xfffffffd
je 0x48f1ea
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x48f1e3
cmp ecx, 0xfffffffe
je 0x48f1ea
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x48f1e3
cmp ecx, 0xffffffff
je 0x48f1ea
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x48f1ea
sbb eax, eax
or eax, 1
jmp 0x48f1ec
xor eax, eax
test eax, eax
je 0x48f334
mov eax, dword [ebp - 0x100]
inc edi
sub eax, edi
push eax
push dword [ebp - 0xf0]
push edi
call sub.VCRUNTIME140.dll_memchr
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x48f190
or edi, 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, 0xf
jbe 0x48f250
mov edx, dword [ebp - 0x58]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x48f246
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48f70e
push ecx
push edx
call fcn.00563352
add esp, 8
cmp edi, 0xffffffff
je 0x48f33f
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 1
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push 0x57b500
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.0040d5d0
mov ecx, dword [ebp - 0xf4]
lea eax, [ebp - 0x1c]
push 0
push 0
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.0048ab40
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x48f2ec
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48f2e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48f70e
push ecx
push edx
call fcn.00563352
add esp, 8
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
sub ecx, esi
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
je 0x48f327
nop word [eax + eax]
push esi
push dword [ebp - 0xf8]
call fcn.0048f0b0
add esp, 8
add esi, 0x18
sub edi, 1
jne 0x48f310
lea ecx, [ebp - 0x1c]
call fcn.0046e620
jmp 0x48f71e
sub edi, dword [ebp - 0xec]
jmp 0x48f21a
lea eax, [ebp - 0x40]
push eax
call fcn.0047edd0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 3
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0
movups xmmword [ebp - 0x28], xmm0
push eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0xec], 2
call fcn.0047b760
mov ecx, dword [ebp - 0x2c]
add esp, 0x10
mov dword [ebp - 0xec], 1
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x48f3c8
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48f3be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48f3be
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00563352
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 4
cmova eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0xd0]
push str._s.log
push eax
call fcn.0045db80
mov esi, eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 5
push eax
call fcn.0047f050
push esi
push eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 6
push eax
call fcn.004868a0
add esp, 0x1c
mov ecx, dword [ebp - 0xa4]
mov byte [ebp - 4], 8
cmp ecx, 0xf
jbe 0x48f463
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48f459
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48f4fd
push ecx
push edx
call fcn.00563352
add esp, 8
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
mov ecx, dword [ebp - 0xbc]
mov byte [ebp - 4], 9
cmp ecx, 0xf
jbe 0x48f4b8
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48f4ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48f4fd
push ecx
push edx
call fcn.00563352
add esp, 8
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xa
cmp ecx, 0xf
jbe 0x48f50d
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48f503
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48f503
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00563352
add esp, 8
mov esi, dword [ebp - 0xf4]
cmp dword [esi + 0x14], 0xf
jbe 0x48f51b
mov esi, dword [esi]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xb
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
lea eax, [ebp - 0x70]
push str._02d:_02d:_02d
push eax
call fcn.0045db80
cmp dword [ebp - 0x5c], 0xf
lea eax, [ebp - 0x70]
push esi
push dword [ebp - 0xf8]
cmova eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 0xe
push str._s____s__s
push eax
call fcn.0045db80
add esp, 0x28
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x10
cmp ecx, 0xf
jbe 0x48f5ae
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48f5a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48f5a4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00563352
add esp, 8
push 0x57b500
lea eax, [ebp - 0xe8]
mov dword [ebp - 0x60], 0
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.00460990
mov esi, eax
mov edi, dword [esi + 0x10]
mov byte [ebp - 4], 0x11
test edi, edi
je 0x48f5ee
cmp dword [esi + 0x14], 0xf
jbe 0x48f5f0
mov esi, dword [esi]
jmp 0x48f5f0
xor esi, esi
cmp dword [ebp - 0x74], 0xf
lea eax, [ebp - 0x88]
push 0x80
cmova eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp - 0x74], 0xf
lea eax, [ebp - 0x88]
push 0x57bbcc
cmova eax, dword [ebp - 0x88]
push eax
call fcn.0047cff0
add esp, 8
mov dword [ebp - 0xf0], eax
test eax, eax
je 0x48f658
test edi, edi
je 0x48f64e
push eax
push edi
push 1
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov eax, dword [ebp - 0xf0]
add esp, 0x10
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0xf
jbe 0x48f694
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48f68a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48f68a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00563352
add esp, 8
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0xf
jbe 0x48f6ca
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48f6c0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48f70e
push ecx
push edx
call fcn.00563352
add esp, 8
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
cmp ecx, 0xf
jbe 0x48f71e
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48f714
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48f714
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00563352
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00563360
mov esp, ebp
pop ebp
ret