Function at 0x1401752e0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp + 0x37], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rsi, rdx
mov r14, rcx
xor dil, dil
mov edx, 0x23
lea rcx, [rbp - 0x39]
call fcn.14020e790
nop
xor r15d, r15d
mov qword [rbp - 0x41], r15
lea edx, [r15 + 6]
lea rcx, [rbp - 0x49]
call fcn.1402028a0
mov eax, dword [rbp - 0x41]
inc eax
movsxd rdx, eax
lea r9d, [r15 + 6]
lea r8, str.Sophos
mov rcx, qword [rbp - 0x49]
call fcn.1402c06dc
lea edx, [r15 + 6]
lea rcx, [rbp - 0x49]
call fcn.140203bb0
nop
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x29]
call fcn.1400d4050
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rbp - 0x39]
call fcn.1402028a0
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rbp - 0x31]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rbp - 0x39]
call fcn.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x39]
call fcn.140203bb0
nop
cmp dword [rbp - 0x21], r15d
jle 0x1401753b2
mov rcx, qword [rbp - 0x29]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x41], 0
jle 0x1401753c1
mov rcx, qword [rbp - 0x49]
call fcn.1402bd0e0
mov qword [rbp - 0x41], r15
mov edx, 6
lea rcx, [rbp - 0x49]
call fcn.1402028a0
mov eax, dword [rbp - 0x41]
inc eax
movsxd rdx, eax
mov r9d, 6
lea r8, str.Health
mov rcx, qword [rbp - 0x49]
call fcn.1402c06dc
mov edx, 6
lea rcx, [rbp - 0x49]
call fcn.140203bb0
nop
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x29]
call fcn.1400d4050
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rbp - 0x39]
call fcn.1402028a0
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rbp - 0x31]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rbp - 0x39]
call fcn.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x39]
call fcn.140203bb0
nop
cmp dword [rbp - 0x21], 0
jle 0x140175455
mov rcx, qword [rbp - 0x29]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x41], 0
jle 0x140175464
mov rcx, qword [rbp - 0x49]
call fcn.1402bd0e0
mov qword [rbp - 0x41], r15
mov edx, 0xb
lea rcx, [rbp - 0x49]
call fcn.1402028a0
mov eax, dword [rbp - 0x41]
inc eax
movsxd rdx, eax
mov r9d, 0xb
lea r8, str.Event_Store
mov rcx, qword [rbp - 0x49]
call fcn.1402c06dc
mov edx, 0xb
lea rcx, [rbp - 0x49]
call fcn.140203bb0
nop
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x29]
call fcn.1400d4050
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rbp - 0x39]
call fcn.1402028a0
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rbp - 0x31]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rbp - 0x39]
call fcn.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x39]
call fcn.140203bb0
nop
cmp dword [rbp - 0x21], 0
jle 0x1401754f8
mov rcx, qword [rbp - 0x29]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x41], 0
jle 0x140175507
mov rcx, qword [rbp - 0x49]
call fcn.1402bd0e0
mov qword [rbp - 0x41], r15
mov edx, 4
lea rcx, [rbp - 0x49]
call fcn.1402028a0
mov eax, dword [rbp - 0x41]
inc eax
movsxd rdx, eax
mov r9d, 4
lea r8, [0x140354d88]
mov rcx, qword [rbp - 0x49]
call fcn.1402c06dc
mov edx, 4
lea rcx, [rbp - 0x49]
call fcn.140203bb0
nop
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x27]
call fcn.1400d4050
nop
cmp dword [rbp - 0x41], 0
jle 0x140175567
mov rcx, qword [rbp - 0x49]
call fcn.1402bd0e0
mov qword [rbp - 0x21], r15
mov edx, 8
lea rcx, [rbp - 0x29]
call fcn.1402028a0
mov eax, dword [rbp - 0x21]
inc eax
movsxd rdx, eax
mov r9d, 8
lea r8, str.Incoming
mov rcx, qword [rbp - 0x29]
call fcn.1402c06dc
mov edx, 8
lea rcx, [rbp - 0x29]
call fcn.140203bb0
nop
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x17]
call fcn.1400d4050
nop
cmp dword [rbp - 0x21], 0
jle 0x1401755c7
mov rcx, qword [rbp - 0x29]
call fcn.1402bd0e0
cmp qword [r14 + 0x18], 0x10
jb 0x1401755d1
mov r14, qword [r14]
mov r8, r14
lea rdx, str._S.json
lea rcx, [rbp + 7]
call fcn.140202d40
nop
lea r8, [rbp + 7]
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 9]
call fcn.1400d4050
nop
lea r8, [rbp + 7]
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x19]
call fcn.1400d4050
nop
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x84000000
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rbp - 9]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14017566d
mov rbx, qword [rbp - 9]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov qword [rsp + 0x20], rbx
lea r8, str.CreateFile
lea rdx, str._s___failed__error__d____s
lea ecx, [r14 + 2]
call fcn.140172980
xor dil, dil
jmp 0x140175737
cmp qword [rsi + 0x18], 0x10
jb 0x140175679
mov rdx, qword [rsi]
jmp 0x14017567c
mov rdx, rsi
mov rbx, qword [rsi + 0x10]
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x67]
mov r8d, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1401756ac
mov rbx, qword [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [0x14034d2b8]
jmp 0x14017570f
cmp dword [rbp + 0x67], ebx
je 0x1401756e9
mov rbx, qword [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov qword [rsp + 0x28], rbx
lea rax, str.not_enough_written
mov qword [rsp + 0x20], rax
lea r8, [0x14034d2b8]
lea rdx, str._s___failed___ls____s
mov ecx, 2
call fcn.140172980
jmp 0x14017572d
xor r8d, r8d
mov rdx, qword [rbp - 9]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_CreateHardLinkW]
test eax, eax
jne 0x14017572a
mov rbx, qword [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.CreateHardLink
mov qword [rsp + 0x20], rbx
mov r9d, eax
lea rdx, str._s___failed__error__d____s
mov ecx, 2
call fcn.140172980
jmp 0x14017572d
mov dil, 1
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [rbp - 0x11], 0
jle 0x140175747
mov rcx, qword [rbp - 0x19]
call fcn.1402bd0e0
nop
cmp dword [rbp - 1], 0
jle 0x140175757
mov rcx, qword [rbp - 9]
call fcn.1402bd0e0
nop
cmp dword [rbp + 0xf], 0
jle 0x140175767
mov rcx, qword [rbp + 7]
call fcn.1402bd0e0
nop
cmp dword [rbp + 0x1f], 0
jle 0x140175777
mov rcx, qword [rbp + 0x17]
call fcn.1402bd0e0
nop
cmp dword [rbp + 0x2f], 0
jle 0x140175787
mov rcx, qword [rbp + 0x27]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x31], 0
jle 0x140175796
mov rcx, qword [rbp - 0x39]
call fcn.1402bd0e0
movzx eax, dil
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret