Function at 0x14008b190
Capabilities:
Create directory
Set file attributes
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xad8]
sub rsp, 0xbb0
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14017c430]
xor rax, rsp
mov qword [rbp + 0xa90], rax
mov rsi, rcx
xor r12d, r12d
mov rax, qword [rcx]
movsxd rdx, dword [rax + 4]
lea rcx, [rdx + rcx + 0x78]
call fcn.140078010
test eax, eax
je 0x14008bbb0
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rdx, str.text_html
test rdx, 0xffffffffffff0000
jne 0x14008b257
movzx edi, dx
mov ecx, edi
call fcn.140002830
test rax, rax
je 0x14008b268
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400029f0
jmp 0x14008b268
mov r8d, 9
lea rcx, [rsp + 0x68]
call fcn.140002120
nop
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov qword [rbp - 8], r12
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
movsd xmm6, qword [rsp + 0x60]
test eax, eax
je 0x14008b2d0
movzx eax, word [rbp + 0x2e]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x140132ba8]
addsd xmm6, xmm0
movsd qword [rsp + 0x60], xmm6
lea rdx, [rbp + 0x30]
movapd xmm0, xmm6
call qword [sym.imp.OLEAUT32.dll_UnRegisterTypeLib]
test eax, eax
je 0x14008b2f2
mov r8d, eax
lea rdx, [rbp + 0x30]
movapd xmm0, xmm6
call fcn.140016470
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov r8d, 0xa
lea rdx, [rbp + 0x80]
mov ecx, dword [rsp + 0x48]
call fcn.1400da6c8
xor eax, eax
or r13, 0xffffffffffffffff
mov rcx, r13
lea rdi, [rbp + 0x80]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x14008b397
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14008b41a
cmp dword [rdx + 0x10], eax
jge 0x14008b369
cmp dword [rbx - 0xc], eax
jge 0x14008b35c
mov ecx, 0x80070057
call fcn.1400022b0
int3
mov dword [rbx - 0x10], r12d
mov word [rbx], r12w
jmp 0x14008b41a
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14008b380
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
jmp 0x14008b41a
mov r15d, dword [rbx - 0x10]
lea r14, [rbp + 0x80]
sub r14, rbx
sar r14, 1
test ecx, ecx
jns 0x14008b3b7
mov ecx, 0x80070057
call fcn.1400022b0
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14008b3d9
mov edx, edi
lea rcx, [rsp + 0x38]
call fcn.1400020c0
mov rbx, qword [rsp + 0x38]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r14, r15
lea r15, [rax + rax]
mov r9, r15
ja 0x14008b3fd
lea r8, [rbx + r14*2]
call fcn.1400d4ebc
jmp 0x14008b409
lea r8, [rbp + 0x80]
call fcn.1400d4e34
cmp edi, dword [rbx - 0xc]
jg 0x14008bba5
mov dword [rbx - 0x10], edi
mov word [r15 + rbx], r12w
mov r8d, 1
lea rdx, [0x14012ffcc]
lea rcx, [rsp + 0x38]
call fcn.14003bd50
mov r8d, 0xa
lea rdx, [rbp + 0x80]
mov ecx, dword [rsp + 0x4c]
call fcn.1400da6c8
xor eax, eax
mov rcx, r13
lea rdi, [rbp + 0x80]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x38]
call fcn.14003bd50
mov r8d, 1
lea rdx, reloc.msi.dll_MsiGetActiveDatabase
lea rcx, [rsp + 0x38]
call fcn.14003bd50
mov eax, 0x3b
mov dword [rbp - 8], 0x3b0017
mov word [rbp - 4], ax
mov eax, 0x3e7
mov word [rbp - 2], ax
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp + 0x10], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x10]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
movsd xmm6, qword [rsp + 0x70]
test eax, eax
je 0x14008b4de
movzx eax, word [rbp + 0x1e]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x140132ba8]
addsd xmm6, xmm0
movsd qword [rsp + 0x70], xmm6
lea rdx, [rbp]
movapd xmm0, xmm6
call qword [sym.imp.OLEAUT32.dll_UnRegisterTypeLib]
test eax, eax
je 0x14008b500
mov r8d, eax
lea rdx, [rbp]
movapd xmm0, xmm6
call fcn.140016470
lea rdx, [rbp - 0x48]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov rcx, qword [rbp - 0x48]
mov qword [rsp + 0x48], rcx
mov r8d, 0xa
lea rdx, [rbp + 0x80]
call fcn.1400da6c8
xor eax, eax
mov rcx, r13
lea rdi, [rbp + 0x80]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x38]
call fcn.14003bd50
mov r8d, 1
lea rdx, [0x14012ffcc]
lea rcx, [rsp + 0x38]
call fcn.14003bd50
mov r8d, 0xa
lea rdx, [rbp + 0x80]
mov ecx, dword [rsp + 0x4c]
call fcn.1400da6c8
xor eax, eax
mov rcx, r13
lea rdi, [rbp + 0x80]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x38]
call fcn.14003bd50
mov r8d, 1
lea rdx, [0x14012ffcc]
lea rcx, [rsp + 0x38]
call fcn.14003bd50
mov r8d, 6
lea rdx, [0x14012a2a8]
lea rcx, [rsp + 0x38]
call fcn.14003bd50
mov rdi, qword [rsp + 0x38]
cmp dword [rdi - 0x10], 0
jle 0x14008bb43
lea rcx, [rsp + 0x40]
call fcn.1400853d0
nop
mov rax, qword [0x140183758]
test rax, rax
je 0x14008b61b
cmp dword [rax + 0x2a0], 0
je 0x14008b61b
mov rax, qword [rsi]
movsxd rcx, dword [rax + 4]
mov rdx, qword [rcx + rsi + 0x78]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.14003bd50
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edx, 2
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea r8, [0x14012a270]
lea rdx, [0x14012f530]
lea rcx, [rsp + 0x40]
call fcn.140045040
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edx, 2
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov r9, rdi
mov r8, qword [rsp + 0x40]
lea rdx, [0x14012f290]
lea rcx, [rsp + 0x58]
call fcn.140016060
lea rdx, [0x140131ba8]
mov rcx, qword [rsp + 0x58]
call fcn.1400d9d24
mov r15, rax
test rax, rax
je 0x14008baa8
mov rcx, qword [rsi]
movsxd rdx, dword [rcx + 4]
lea rcx, [rdx + rsi + 0x18]
test rcx, rcx
lea rax, [rcx + 8]
jne 0x14008b6db
mov rax, r12
mov rax, qword [rax]
mov qword [rbp - 0x50], rax
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov r8d, 8
lea rdx, str.Browser_
lea rcx, [rsp + 0x30]
call fcn.14003bd50
mov rdx, qword [rsi + 0xc8]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.14003bd50
mov r8d, 1
lea rdx, [0x14012f2f8]
lea rcx, [rsp + 0x30]
call fcn.14003bd50
mov rdx, qword [rsi + 0xd0]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.14003bd50
mov r8d, 1
lea rdx, [0x14012f2f8]
lea rcx, [rsp + 0x30]
call fcn.14003bd50
movaps xmm5, xmmword [rbp + 0x70]
movdqa xmmword [rbp - 0x30], xmm5
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x40]
call fcn.14008f4c0
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14008b782
mov rdx, qword [rax]
test rdx, rdx
jne 0x14008b78c
mov ecx, r12d
jmp 0x14008b79d
xor eax, eax
mov rcx, r13
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [rsp + 0x30]
call fcn.14003bd50
nop
cmp qword [rbp + 0x58], 8
jb 0x14008b7bb
mov rcx, qword [rbp + 0x40]
call fcn.1400d4d78
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], r12
mov word [rbp + 0x40], r12w
mov r8d, 8
lea rdx, str._777_200
lea rcx, [rsp + 0x30]
call fcn.14003bd50
lea rcx, [rsp + 0x30]
cmp qword [rsi + 0x68], 0
jbe 0x14008ba22
mov r8d, 1
lea rdx, [0x14013216c]
call fcn.14003bd50
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
mov dword [rbp - 0x68], r12d
mov r14d, r12d
mov rdi, r12
cmp qword [rsi + 0x68], r12
jbe 0x14008b910
lea rax, [rbp - 0x60]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x58]
mov qword [rbp - 0x20], rax
mov rbx, r12
nop dword [rax]
cmp rdi, qword [rsi + 0x68]
jae 0x14008b905
mov rax, qword [rsi + 0x60]
mov rcx, qword [rbx + rax + 0x18]
sub rcx, 0x18
call fcn.140001d80
add rax, 0x18
mov qword [rbp - 0x60], rax
movsxd rcx, r14d
cmp rcx, qword [rsi + 0x68]
jae 0x14008b8fa
imul rcx, rcx, 0x78
add rcx, qword [rsi + 0x60]
add rcx, 8
lea rdx, [rbp - 0x58]
call fcn.1400376c0
nop
cmp rdi, qword [rsi + 0x68]
jae 0x14008b8ef
mov rdx, qword [rsi + 0x60]
mov ecx, dword [rsi + 8]
mov dword [rsp + 0x20], ecx
mov r9d, dword [rbx + rdx + 0x28]
lea r8, [rbp - 0x60]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140089640
inc r14d
inc rdi
add rbx, 0x78
movsxd rax, r14d
cmp rax, qword [rsi + 0x68]
jb 0x14008b870
jmp 0x14008b910
mov ecx, 0x80070057
call fcn.1400022b0
nop
mov ecx, 0x80070057
call fcn.1400022b0
nop
mov ecx, 0x80070057
call fcn.1400022b0
int3
mov rsi, qword [rbp - 0x78]
mov r8, rsi
lea rdx, [0x140132018]
lea rcx, [rsp + 0x78]
call fcn.140016060
mov rbx, r12
test rsi, rsi
je 0x14008b982
mov rdi, r12
cmp rbx, qword [rbp - 0x78]
jae 0x14008b977
mov r8, qword [rbp - 0x80]
mov eax, dword [r8 + rdi + 0x14]
mov dword [rsp + 0x28], eax
mov eax, dword [r8 + rdi + 0x10]
mov dword [rsp + 0x20], eax
mov r9, qword [r8 + rdi + 8]
mov r8, qword [r8 + rdi]
lea rdx, [0x140132020]
lea rcx, [rsp + 0x78]
call fcn.140045040
inc rbx
add rdi, 0x18
cmp rbx, rsi
jb 0x14008b933
jmp 0x14008b982
mov ecx, 0x80070057
call fcn.1400022b0
int3
mov r8, qword [rsp + 0x78]
lea rdx, [0x14012f6a8]
lea rcx, [rsp + 0x50]
call fcn.140016060
mov rdx, qword [rsp + 0x50]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.14003bd50
mov r8d, 2
lea rdx, [0x140132170]
lea rcx, [rsp + 0x30]
call fcn.14003bd50
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14008b9df
mov rdx, qword [rbp - 0x78]
call fcn.14008f420
mov rcx, qword [rbp - 0x80]
call fcn.1400d6134
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14008ba00
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14008ba34
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
jmp 0x14008ba34
mov r8d, recv
lea rdx, str._text_html
call fcn.14003bd50
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx - 0x10]
lea ebx, [rax + rax]
cmp dword [rcx - 8], 1
jle 0x14008ba56
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140001fb0
mov rcx, qword [rsp + 0x30]
mov rdx, r13
test ebx, ebx
je 0x14008ba8d
mov rdi, rcx
mov r8d, ebx
lea r9, [0x14017e9a4]
nop word [rax + rax]
cmp rdx, 4
jl 0x14008ba7b
mov rdx, r12
jmp 0x14008ba7e
inc rdx
movzx eax, byte [rdx + r9]
xor byte [rdi], al
inc rdi
dec r8
jne 0x14008ba70
movsxd rdx, ebx
mov r9, r15
mov r8d, 1
call fcn.1400d6c94
mov rcx, r15
call fcn.1400d79b4
jmp 0x14008bafd
mov word [rbp + 0x290], r12w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x292]
call fcn.1400dd9f0
mov rax, qword [rsi + 0xd0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsi + 0xc8]
mov qword [rsp + 0x20], rax
lea r9, str.Cant_save_weblog___s____s_n
mov edx, 0x400
mov r8d, edx
lea rcx, [rbp + 0x290]
call fcn.1400d99bc
mov r12d, 1
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14008bb1e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14008bb3e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rdi, qword [rsp + 0x38]
lea rdx, [rdi - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14008bb5f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14008bb80
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r13d
dec r13d
test r13d, r13d
jg 0x14008bba0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov eax, r12d
jmp 0x14008bbb0
mov ecx, 0x80070057
call fcn.1400022b0
nop
mov rcx, qword [rbp + 0xa90]
xor rcx, rsp
call fcn.1400d4d90
lea r11, [rsp + 0xbb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret