Function at 0x1400403f0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20b0]
mov eax, 0x21b0
call fcn.14008ea30
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x21e8], rbx
mov qword [rsp + 0x21f0], rsi
mov rax, qword [0x1400cc010]
xor rax, rsp
mov qword [rbp + 0x20a0], rax
mov r14, rcx
test dl, dl
jne 0x14004085c
call fcn.14003f6e0
mov rdi, rax
xor ecx, ecx
call fcn.140072940
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x70]
call fcn.140069490
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp - 0x60]
call fcn.140062890
lea r9, [rsp + 0x70]
lea r8, [0x1400b60b0]
mov edx, 0x80
lea rcx, [rbp - 0x60]
call fcn.140075d64
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp + 0x20]
call fcn.140062890
lea r9, [rsp + 0x70]
lea r8, str.__T_
mov edx, 0x80
lea rcx, [rbp + 0x20]
call fcn.140075d64
movdqa xmm0, xmmword [0x1400b9680]
movdqu xmmword [rsp + 0x58], xmm0
xor r12d, r12d
mov word [rsp + 0x48], r12w
lea r8d, [r12 + 0x46]
lea rdx, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSystemDiagnosis_
lea rcx, [rsp + 0x48]
call fcn.140001a40
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400404f7
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x48]
call fcn.140002d30
mov r8d, 1
lea rdx, [0x1400aaeec]
lea rcx, [rsp + 0x48]
call fcn.140002d30
lea rsi, [rdi + 0x20]
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14004052d
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x48]
call fcn.140002d30
mov r8d, 1
lea rdx, [0x1400aaeec]
lea rcx, [rsp + 0x48]
call fcn.140002d30
lea rax, [rbp - 0x60]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x140040560
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x48]
call fcn.140002d30
mov r8d, 4
lea rdx, str..txt
lea rcx, [rsp + 0x48]
call fcn.140002d30
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
xor edx, edx
call fcn.140073ed0
test eax, eax
setne r15b
mov qword [rsp + 0x38], r12
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
lea r8, [0x1400b616c]
lea rcx, [rsp + 0x38]
call fcn.140074058
mov r9, qword [rsp + 0x38]
test r9, r9
jne 0x14004062a
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140040875
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040620
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400408a6
call fcn.14005da54
jmp 0x140040875
test r15b, r15b
je 0x1400407a1
mov word [rsp + 0x40], 0xfeff
mov edx, 1
lea r8d, [rdx + 1]
lea rcx, [rsp + 0x40]
call fcn.1400743e4
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0xa0]
call fcn.140062890
cmp qword [rsi + 0x18], 8
jb 0x14004066b
mov rsi, qword [rsi]
lea rax, [rdi + 0x40]
cmp qword [rax + 0x18], 8
jb 0x140040679
mov rax, qword [rax]
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x140040686
mov r9, qword [rdi]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
lea r8, str._r_n___:__:___ComputerName:__s__r_n___:__:___ComputerType:__s__r_n___:__:___SerialNumber:__s__r_n_r_n
mov edx, 0x800
lea rcx, [rbp + 0xa0]
call fcn.140004aa0
lea rax, [rbp + 0xa0]
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x1400406b2
mov r9, qword [rsp + 0x38]
mov edx, 2
lea rcx, [rbp + 0xa0]
call fcn.1400743e4
lea rcx, [rdi + 0xa0]
cmp qword [rcx + 0x18], 8
jb 0x1400406e4
mov rcx, qword [rcx]
lea rax, [rdi + 0x80]
cmp qword [rax + 0x18], 8
jb 0x1400406f5
mov rax, qword [rax]
lea r9, [rdi + 0x60]
cmp qword [r9 + 0x18], 8
jb 0x140040703
mov r9, qword [r9]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r8, str.___:__:___OSCaption:__s__r_n___:__:___OSArchitecture:__s__r_n___:__:___OSVersion:__s__r_n_r_n
mov edx, 0x800
lea rcx, [rbp + 0xa0]
call fcn.140004aa0
lea rax, [rbp + 0xa0]
mov r8, rbx
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140040730
mov r9, qword [rsp + 0x38]
mov edx, 2
lea rcx, [rbp + 0xa0]
call fcn.1400743e4
lea r9, [rbp - 0x60]
lea r8, str.___:__:___LogDate:__s__r_n_r_n_r_n
mov edx, 0x800
lea rcx, [rbp + 0xa0]
call fcn.140004aa0
lea rax, [rbp + 0xa0]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140040780
mov r9, qword [rsp + 0x38]
mov edx, 2
lea rcx, [rbp + 0xa0]
call fcn.1400743e4
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x10a0]
call fcn.140062890
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x1400407c2
mov rax, qword [r14]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x20]
lea r8, str._s_s_r_n
mov edx, 0x800
lea rcx, [rbp + 0x10a0]
call fcn.140004aa0
lea rax, [rbp + 0x10a0]
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400407f0
mov r8, rbx
mov r9, qword [rsp + 0x38]
mov edx, 2
lea rcx, [rbp + 0x10a0]
call fcn.1400743e4
mov rcx, qword [rsp + 0x38]
call fcn.140074134
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14004085c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040857
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400408a0
call fcn.14005da54
cmp qword [r14 + 0x18], 8
jb 0x140040866
mov r14, qword [r14]
mov rdx, r14
lea rcx, [0x1400ad4cc]
call fcn.140040d30
mov rcx, qword [rbp + 0x20a0]
xor rcx, rsp
call fcn.14005da30
lea r11, [rsp + 0x21b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140064eec
int3
call fcn.140064eec
int3