Function at 0x140011788
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rax - 0x78]
sub rsp, 0x150
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14005f650]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140060be0]
mov qword [rsp + 0x38], rax
add rdx, 0x40
lea rcx, [rsp + 0x38]
call fcn.1400187b0
mov rax, qword [rsp + 0x38]
cmp dword [rax - 8], 0
jle 0x1400117f0
lea rcx, [rsi + 0x40]
lea rdx, [rsp + 0x38]
call fcn.1400187b0
lea rdx, [rbx + 0x48]
lea rcx, [rsp + 0x38]
call fcn.1400187b0
mov rax, qword [rsp + 0x38]
cmp dword [rax - 8], 0
jle 0x140011817
lea rcx, [rsi + 0x48]
lea rdx, [rsp + 0x38]
call fcn.1400187b0
lea rdx, [rbx + 0x50]
lea rcx, [rsp + 0x38]
call fcn.1400187b0
mov rax, qword [rsp + 0x38]
cmp dword [rax - 8], 0
jle 0x14001183e
lea rcx, [rsi + 0x50]
lea rdx, [rsp + 0x38]
call fcn.1400187b0
lea rcx, [rbp - 0x80]
call fcn.140029948
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x68]
call fcn.14002963c
lea r9, [rbp - 0x68]
lea r8, str._Y__m__d__H:_M:_S
mov edx, 0x40
lea rcx, [rbp - 0x40]
call fcn.14002a92c
mov rax, qword [0x140060be0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x68], rax
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x20], rax
mov r9, qword [rsi + 0x10]
mov r8, qword [rsi + 8]
lea rdx, str._s_s_s
lea rcx, [rsp + 0x68]
call fcn.140018634
and dword [rsp + 0x48], 0
and dword [rsp + 0x40], 0
and dword [rsp + 0x4c], 0
and dword [rsp + 0x44], 0
lea r8, [rsp + 0x48]
lea rdx, str.LaunchCount
mov rbx, qword [rsp + 0x68]
mov rcx, rbx
call fcn.14001d3c8
lea r8, [rsp + 0x40]
lea rdx, str.CrashCount
mov rcx, rbx
call fcn.14001d3c8
lea r8, [rsp + 0x44]
lea rdx, str.TotalUpTime
mov rcx, rbx
call fcn.14001d3c8
lea r8, [rsp + 0x4c]
lea rdx, str.LaunchToLastCrashTime
mov rcx, rbx
call fcn.14001d3c8
mov rax, qword [0x140060be0]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x78], rax
mov r8d, dword [rsp + 0x4c]
lea rbx, [0x140052678]
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140018634
mov r8d, dword [rsp + 0x44]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140018634
mov r8d, dword [rsp + 0x48]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140018634
mov r8d, dword [rsp + 0x40]
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.140018634
lea rcx, str.__xml_version_1.0__encoding_utf_8___
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str.__xml_version_1.0__encoding_utf_8___
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.14000cd44
lea rcx, str._BugReport__BsSndRptVersion_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str._BugReport__BsSndRptVersion_
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140018170
lea rdx, str.3.13
lea rcx, [rbp - 0x78]
call fcn.1400186f4
nop
mov rbx, qword [rbp - 0x78]
mov r8, rbx
mov edx, dword [rbx - 8]
lea rcx, [rsp + 0x30]
call fcn.140018170
nop
lea rcx, [rbx - 0xc]
lea r12, [0x140060bd0]
or r14d, 0xffffffff
cmp rcx, r12
je 0x140011a00
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
test eax, eax
jg 0x140011a00
call fcn.140029150
lea rcx, str.__BsSndRptVersion__AppInfo__Vendor_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str.__BsSndRptVersion__AppInfo__Vendor_
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140018170
mov rax, qword [rsi + 8]
mov r8, rax
mov edx, dword [rax - 8]
lea rcx, [rsp + 0x30]
call fcn.140018170
lea rcx, str.__Vendor__AppName_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str.__Vendor__AppName_
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140018170
mov rax, qword [rsi + 0x10]
mov r8, rax
mov edx, dword [rax - 8]
lea rcx, [rsp + 0x30]
call fcn.140018170
lea rcx, str.__AppName__Version_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str.__AppName__Version_
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140018170
mov rax, qword [rsi + 0x18]
mov r8, rax
mov edx, dword [rax - 8]
lea rcx, [rsp + 0x30]
call fcn.140018170
lea rcx, str.__Version__CrashType_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str.__Version__CrashType_
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140018170
mov rax, qword [rsi + 0x20]
mov r8, rax
mov edx, dword [rax - 8]
lea rcx, [rsp + 0x30]
call fcn.140018170
lea rcx, str.__CrashType__Description_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str.__CrashType__Description_
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140018170
lea rcx, str.___CDATA_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str.___CDATA_
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140018170
mov rax, qword [rsi + 0x38]
mov r8, rax
mov edx, dword [rax - 8]
lea rcx, [rsp + 0x30]
call fcn.140018170
lea rcx, str._____Description___AppInfo__ReportOccurence__User__Name____CDATA_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str._____Description___AppInfo__ReportOccurence__User__Name____CDATA_
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140018170
mov rax, qword [rsi + 0x40]
mov r8, rax
mov edx, dword [rax - 8]
lea rcx, [rsp + 0x30]
call fcn.140018170
lea rcx, str._____Name__Email____CDATA_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str._____Name__Email____CDATA_
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140018170
mov rax, qword [rsi + 0x48]
mov r8, rax
mov edx, dword [rax - 8]
lea rcx, [rsp + 0x30]
call fcn.140018170
lea rcx, str._____Email__IPAddress____CDATA_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str._____Email__IPAddress____CDATA_
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140018170
mov rax, qword [rsi + 0x58]
mov r8, rax
mov edx, dword [rax - 8]
lea rcx, [rsp + 0x30]
call fcn.140018170
lea rcx, str._____IPAddress___User__DateTime_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str._____IPAddress___User__DateTime_
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140018170
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140018170
lea rcx, str.__DateTime__Description____CDATA_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str.__DateTime__Description____CDATA_
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140018170
mov rax, qword [rsi + 0x50]
mov r8, rax
mov edx, dword [rax - 8]
lea rcx, [rsp + 0x30]
call fcn.140018170
lea rcx, str._____Description__MFA_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str._____Description__MFA_
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140018170
mov rax, qword [rsi + 0x60]
mov r8, rax
mov edx, dword [rax - 8]
lea rcx, [rsp + 0x30]
call fcn.140018170
lea rcx, str.__MFA__SessionUpTime_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str.__MFA__SessionUpTime_
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140018170
mov rax, qword [rsp + 0x60]
mov r8, rax
mov edx, dword [rax - 8]
lea rcx, [rsp + 0x30]
call fcn.140018170
lea rcx, str.__SessionUpTime__TotalUpTime_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str.__SessionUpTime__TotalUpTime_
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140018170
mov rax, qword [rsp + 0x58]
mov r8, rax
mov edx, dword [rax - 8]
lea rcx, [rsp + 0x30]
call fcn.140018170
lea rcx, str.__TotalUpTime__LaunchCount_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str.__TotalUpTime__LaunchCount_
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140018170
mov rbx, qword [rsp + 0x50]
mov r8, rbx
mov edx, dword [rbx - 8]
lea rcx, [rsp + 0x30]
call fcn.140018170
lea rcx, str.__LaunchCount__TotalCrashCount_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str.__LaunchCount__TotalCrashCount_
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140018170
mov rdi, qword [rsp + 0x78]
mov r8, rdi
mov edx, dword [rdi - 8]
lea rcx, [rsp + 0x30]
call fcn.140018170
lea rcx, str.__TotalCrashCount___ReportOccurence_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str.__TotalCrashCount___ReportOccurence_
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140018170
lea rcx, str.__BugReport_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str.__BugReport_
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140018170
and qword [rsp + 0x70], 0
lea r8, str.w__ccsUNICODE
mov rdx, qword [rsi + 0xa8]
lea rcx, [rsp + 0x70]
call fcn.14002a9ec
mov r9, qword [rsp + 0x70]
test r9, r9
jne 0x140011da3
xor sil, sil
jmp 0x140011dc4
mov rcx, qword [rsp + 0x30]
movsxd rdx, dword [rcx - 8]
mov r8d, 2
call fcn.14002acb0
mov rcx, qword [rsp + 0x70]
call fcn.14002adbc
mov sil, 1
lea rcx, [rdi - 0xc]
cmp rcx, r12
je 0x140011de5
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
test eax, eax
jg 0x140011de0
call fcn.140029150
mov rbx, qword [rsp + 0x50]
lea rcx, [rbx - 0xc]
cmp rcx, r12
je 0x140011e02
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
test eax, eax
jg 0x140011e02
call fcn.140029150
nop
mov rcx, qword [rsp + 0x58]
add rcx, 0xfffffffffffffff4
cmp rcx, r12
je 0x140011e24
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
test eax, eax
jg 0x140011e24
call fcn.140029150
nop
mov rcx, qword [rsp + 0x60]
add rcx, 0xfffffffffffffff4
cmp rcx, r12
je 0x140011e46
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
test eax, eax
jg 0x140011e46
call fcn.140029150
nop
mov rcx, qword [rsp + 0x68]
add rcx, 0xfffffffffffffff4
cmp rcx, r12
je 0x140011e68
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
test eax, eax
jg 0x140011e68
call fcn.140029150
nop
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff4
cmp rcx, r12
je 0x140011e8a
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
test eax, eax
jg 0x140011e8a
call fcn.140029150
nop
mov rcx, qword [rsp + 0x38]
add rcx, 0xfffffffffffffff4
cmp rcx, r12
je 0x140011eab
mov edx, r14d
lock xadd dword [rcx], edx
add edx, r14d
test edx, edx
jg 0x140011eab
call fcn.140029150
mov al, sil
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140027b60
mov rbx, qword [rsp + 0x190]
add rsp, 0x150
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret