Function at 0x140042d90
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xc00]
sub rsp, 0xd00
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rbp + 0xbf0], rax
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov r14, rcx
cmp qword [r8 + 0x10], 0
je 0x140043322
mov rcx, r8
call fcn.140063430
test al, al
je 0x140043322
test rbx, rbx
je 0x140043322
cmp qword [r14 + 0x2cd8], 0
je 0x140043322
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x140043322
mov rax, qword [rcx]
call qword [rax + 0x20]
mov r15, rax
test rax, rax
je 0x140043322
lea r8, str..tmp
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.14000b440
nop
lea rcx, [rbp - 0x50]
call fcn.140079320
lea rcx, [rsp + 0x30]
call fcn.14006d290
nop
mov dword [rsp + 0x20], 2
mov r9d, 2
mov r8d, 0x40000000
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.14006fad0
xor r12d, r12d
test al, al
jne 0x140042f1d
mov ecx, 0x800
call fcn.1400bbc88
mov rdi, rax
mov ecx, 0x800
call fcn.1400bbc88
mov rbx, rax
test rdi, rdi
je 0x140042f0f
test rax, rax
je 0x140042f07
xor edx, edx
mov r8d, 0x800
mov rcx, rdi
call fcn.1400c2130
lea rax, [0x140127a68]
mov qword [rsp + 0x20], rax
lea r9, str.RC::RCWordLibOperater::SaveWordLib
lea r8, str._s__:__s
mov edx, 0x400
mov rcx, rdi
call fcn.140007140
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call fcn.1400c2130
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae r9, qword [rbp - 0x50]
mov r8, rdi
mov edx, 0x400
mov rcx, rbx
call fcn.140007140
mov rcx, rbx
call fcn.140015100
mov rcx, rdi
call fcn.1400bd2dc
test rbx, rbx
je 0x1400432ed
jmp 0x1400432e5
xor edx, edx
mov r8d, 0xc00
lea rcx, [rbp - 0x10]
call fcn.1400c2130
lea rcx, [rbp - 0x10]
mov eax, 0x12
nop word [rax + rax]
movups xmm0, xmmword [rbx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rbx + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rbx, [rbx + 0x80]
dec rax
jne 0x140042f40
movups xmm0, xmmword [rbx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rcx + 0x40], xmm0
mov eax, dword [rbx + 0x50]
mov dword [rcx + 0x50], eax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
mov dword [rbp - 0x10], 0x20142014
mov qword [rbp + 0x34], r12
mov dword [rsp + 0x38], r12d
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140043003
mov rcx, qword [rax]
cmp rcx, 0xffffffffffffffff
je 0x140043003
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x38]
mov r8d, 0xc00
lea rdx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, r12d
mov dword [rsp + 0x3c], ecx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rsp + 0x58]
movaps xmmword [rbp - 0x80], xmm1
mov rdi, qword [rsi]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1400430b7
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140043350
cmp byte [rbx + 0x19], r12b
jne 0x1400430ae
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], r12b
jne 0x14004308e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r12b
jne 0x1400430ae
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r12b
je 0x140043080
jmp 0x1400430ae
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], r12b
jne 0x1400430ab
cmp rbx, qword [rax + 0x10]
jne 0x1400430ab
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r12b
je 0x140043098
mov rbx, rax
cmp rbx, rdi
jne 0x140043050
mov ecx, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x48], ecx
lea rcx, [rsp + 0x30]
call fcn.14006fc10
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x14004311f
mov rcx, qword [rax]
cmp rcx, 0xffffffffffffffff
je 0x1400430fb
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x38]
mov r8d, 0xc00
lea rdx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x14004311f
mov rcx, qword [rax]
cmp rcx, 0xffffffffffffffff
je 0x14004311f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14004311f
mov rax, qword [rsp + 0x30]
mov qword [rax], 0xffffffffffffffff
mov rdx, rsi
call fcn.1400434c0
lea rcx, [rbp - 0x50]
call fcn.1400638d0
mov rdi, rax
test eax, eax
je 0x1400432ed
mov esi, eax
lea rdx, [0x140174806]
mov ecx, eax
call fcn.1400beea0
mov rbx, rax
test rax, rax
je 0x1400432ed
mov r8d, esi
xor edx, edx
mov rcx, rax
call fcn.1400c2130
mov r9d, edi
mov r8, rbx
lea rdx, [rbp - 0x50]
call fcn.1400456d0
test al, al
je 0x1400432e5
mov rax, qword [r15]
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [rax + 0x28]
nop
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r12
mov word [rbp - 0x70], r12w
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.140062b00
test al, al
je 0x1400431f0
lea rcx, [rbp - 0x70]
call fcn.140063e60
test al, al
je 0x1400431f0
lea rcx, [rbp - 0x30]
call fcn.140079320
mov rcx, qword [r14 + 0x2cd8]
mov rax, qword [rcx]
mov r9d, edi
mov r8, rbx
lea rdx, [rbp - 0x30]
call qword [rax + 0x10]
movzx edi, al
mov rcx, rbx
call fcn.1400bd2dc
jmp 0x1400432a1
mov ecx, 0x800
call fcn.1400bbc88
mov rsi, rax
mov ecx, 0x800
call fcn.1400bbc88
mov rdi, rax
test rsi, rsi
je 0x140043289
test rax, rax
je 0x140043281
xor edx, edx
mov r8d, 0x800
mov rcx, rsi
call fcn.1400c2130
lea rax, [0x14012b7b8]
mov qword [rsp + 0x20], rax
lea r9, str.RC::RCWordLibOperater::SaveWordLib
lea r8, str._s__:__s
mov edx, 0x400
mov rcx, rsi
call fcn.140007140
xor edx, edx
mov r8d, 0x800
mov rcx, rdi
call fcn.1400c2130
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae r9, qword [rbp - 0x70]
mov r8, rsi
mov edx, 0x400
mov rcx, rdi
call fcn.140007140
mov rcx, rdi
call fcn.140015100
mov rcx, rsi
call fcn.1400bd2dc
test rdi, rdi
je 0x140043296
mov rcx, rdi
call fcn.1400bd2dc
mov rcx, rbx
call fcn.1400bd2dc
xor dil, dil
cmp qword [rbp - 0x58], 8
jb 0x1400432b1
mov rcx, qword [rbp - 0x70]
call fcn.1400bd20c
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r12
mov word [rbp - 0x70], r12w
cmp qword [rbp - 0x18], 8
jb 0x1400432d2
mov rcx, qword [rbp - 0x30]
call fcn.1400bd20c
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
jmp 0x1400432f0
mov rcx, rbx
call fcn.1400bd2dc
xor dil, dil
lea rcx, [rsp + 0x30]
call fcn.14006fa80
nop
cmp qword [rbp - 0x38], 8
jb 0x14004330b
mov rcx, qword [rbp - 0x50]
call fcn.1400bd20c
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], r12
mov word [rbp - 0x50], r12w
movzx eax, dil
jmp 0x140043324
xor al, al
mov rcx, qword [rbp + 0xbf0]
xor rcx, rsp
call fcn.1400bcae0
add rsp, 0xd00
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret