Function at 0x14002b518
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov r14, r8
mov rbx, rdx
mov r15, rcx
test rdx, rdx
jne 0x14002b54c
mov eax, 0x80004003
jmp 0x14002b83a
call fcn.1400282c0
mov edi, eax
test eax, eax
js 0x14002b83a
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
test rax, rax
je 0x14002b82f
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x14002b82f
lea rcx, [rbp - 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [r15 + 8]
lea r8, [rbp + 0x38]
movsd xmm1, qword [rbp - 0x30]
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x38], rbx
mov r13d, 8
mov word [rbp - 0x40], r13w
mov rax, qword [rcx]
movups xmm0, xmmword [rbp - 0x40]
movsd qword [rbp - 0x10], xmm1
mov rax, qword [rax + 0x1d0]
movaps xmmword [rbp - 0x20], xmm0
call qword [0x14003f118]
mov edi, eax
test eax, eax
js 0x14002b81b
mov rcx, qword [0x140050310]
lea esi, [r13 - 2]
cmp rcx, 0xffffffffffffffff
jne 0x14002b5ff
mov edx, esi
call fcn.140016188
mov rcx, qword [0x140050310]
cmp rcx, 0xffffffffffffffff
je 0x14002b628
cmp dword [0x1400516e0], esi
jl 0x14002b628
and dword [rbp + 0x48], 0
lea r9, [rbp + 0x48]
and qword [rsp + 0x20], 0
lea rdx, str.XML_Parser:_Loading_XML_file_succeeded._r_n
mov r8d, 0x29
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [r15 + 8]
lea rdx, [rbp - 0x50]
and qword [rbp - 0x50], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x168]
call qword [0x14003f118]
mov edi, eax
test eax, eax
js 0x14002b7f2
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14002b7f2
and qword [rbp + 0x48], 0
lea rdx, [rbp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x60]
call qword [0x14003f118]
mov edi, eax
test eax, eax
js 0x14002b7c9
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x14002b7c9
test r14, r14
je 0x14002b7a0
lea rcx, [rbp - 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x50]
lea r8, [rbp - 0x40]
lea rdx, [0x1400467e8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x160]
call qword [0x14003f118]
test eax, eax
js 0x14002b746
cmp r13w, word [rbp - 0x40]
jne 0x14002b73c
mov rdx, qword [r14]
lea r9, [0x14003f4a0]
test rdx, rdx
mov rax, r9
cmovne rax, rdx
test rax, rax
je 0x14002b71e
movzx eax, word [0x14003f4a0]
test rdx, rdx
mov rcx, r9
cmovne rcx, rdx
cmp ax, word [rcx]
je 0x14002b71e
mov r8, qword [rbp - 0x38]
test rdx, rdx
mov rax, r9
mov ecx, esi
cmovne rax, rdx
lea rdx, str.XML_Service_key_name__S_is_already_set_as__S._r_n
test rax, rax
cmovne r9, rax
call fcn.1400168a8
jmp 0x14002b73c
mov rdx, qword [rbp - 0x38]
mov rcx, r14
call fcn.140016d18
mov r8, qword [rbp - 0x38]
lea rdx, str.XML_Service_key_name_is:__S._r_n
mov ecx, esi
call fcn.1400168a8
lea rcx, [rbp - 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x50]
lea r8, [rbp - 0x40]
lea rdx, str.ContentPartner
mov rax, qword [rcx]
mov rax, qword [rax + 0x160]
call qword [0x14003f118]
test eax, eax
js 0x14002b79c
cmp r13w, word [rbp - 0x40]
jne 0x14002b792
mov rdx, qword [rbp - 0x38]
lea rcx, [r14 + 0xa0]
call fcn.140016d18
mov r8, qword [rbp - 0x38]
lea rdx, str.XML_Service_content_partner_status:__S._r_n
mov ecx, esi
call fcn.1400168a8
lea rcx, [rbp - 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0x48]
mov qword [rbp - 0x48], rcx
test rcx, rcx
je 0x14002b7b6
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14003f118]
mov r8, r14
lea rdx, [rbp - 0x48]
mov rcx, r15
call fcn.140029f2c
mov edi, eax
jmp 0x14002b7da
mov r8d, eax
lea rdx, str.XML_Parser:_Loading_nodes_from_xml_element_failed._Result:_0x_x._r_n
mov ecx, esi
call fcn.1400168a8
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x14002b803
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14003f118]
jmp 0x14002b803
mov r8d, eax
lea rdx, str.XML_Parser:_loading_root_element_from_xml_failed._Result:_0x_x._r_n
mov ecx, esi
call fcn.1400168a8
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14002b82f
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14003f118]
jmp 0x14002b82f
mov r8d, eax
lea rdx, str.XML_Parser:_LoadFile_for_service_xml_failed._Result:_0x_x._r_n
mov ecx, 6
call fcn.1400168a8
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret