Function at 0x140006870
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14005f3e0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r15, rcx
xor r13d, r13d
mov r14d, r13d
mov dword [rsp + 0x30], r13d
cmp qword [rcx + 0x78], r13
je 0x140006c97
cmp byte [rcx + 0x81], r13b
je 0x140006c97
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
jne 0x1400068e3
xor al, al
jmp 0x140006c99
mov qword [rbp - 9], r13
mov qword [rbp + 0xf], r13
mov qword [rbp + 0x17], r13
mov ecx, 0x10
call fcn.1400106e0
test rax, rax
jne 0x140006904
call fcn.140042d70
int3
mov qword [rbp - 9], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea rcx, [rbp - 9]
mov rax, qword [rbp - 9]
mov qword [rax], rcx
mov qword [rbp + 0x17], 0xf
mov qword [rbp + 0xf], r13
mov byte [rbp - 1], 0
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 9]
call fcn.140006f80
nop
nop word [rax + rax]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 9]
call fcn.140006630
mov rbx, rax
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 9]
call fcn.140006630
mov rdi, rax
mov rcx, rbx
call fcn.140007160
mov rsi, rax
mov rbx, qword [rbp + 0xf]
mov rcx, rdi
call fcn.140007160
mov rcx, qword [r15 + 0x78]
mov r10, qword [rcx]
lea r9, [rbx + rsi]
lea rdx, [rbp - 0x19]
mov qword [rsp + 0x20], rdx
mov r8, rax
lea rdx, [r15 + 0x84]
call qword [r10 + 0x40]
mov edi, eax
mov edx, 3
lea rcx, [rbp + 0x1f]
call fcn.140041620
mov rbx, qword [rbp - 0x69]
test rbx, rbx
je 0x140006a00
add rbx, 8
cmp qword [rbx], 0
je 0x1400069dc
nop dword [rax]
mov rax, qword [rbx]
lea rcx, [rbp - 0x69]
cmp rax, rcx
je 0x1400069d6
lea rbx, [rax + 8]
cmp qword [rbx], 0
jne 0x1400069c0
cmp qword [rbx], 0
jne 0x1400069f5
mov r8d, 0xc9
lea rdx, str.C:Program_Files__x86_Microsoft_Visual_Studio_12.0VCincludexutility
lea rcx, str.ITERATOR_LIST_CORRUPTED_
call fcn.140041750
mov rax, qword [rbp - 0x61]
mov qword [rbx], rax
mov qword [rbp - 0x69], r13
lea rcx, [rbp + 0x1f]
call fcn.140041700
nop
mov edx, 3
lea rcx, [rbp + 0x27]
call fcn.140041620
mov rbx, qword [rbp - 0x39]
test rbx, rbx
je 0x140006a70
add rbx, 8
cmp qword [rbx], 0
je 0x140006a4c
nop dword [rax + rax]
mov rax, qword [rbx]
lea rcx, [rbp - 0x39]
cmp rax, rcx
je 0x140006a46
lea rbx, [rax + 8]
cmp qword [rbx], 0
jne 0x140006a30
cmp qword [rbx], 0
jne 0x140006a65
mov r8d, 0xc9
lea rdx, str.C:Program_Files__x86_Microsoft_Visual_Studio_12.0VCincludexutility
lea rcx, str.ITERATOR_LIST_CORRUPTED_
call fcn.140041750
mov rax, qword [rbp - 0x31]
mov qword [rbx], rax
mov qword [rbp - 0x39], r13
lea rcx, [rbp + 0x27]
call fcn.140041700
test edi, edi
je 0x140006a87
dec edi
jne 0x140006c06
jmp 0x140006a8f
mov byte [r15 + 0x81], 0
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 9]
call fcn.140006630
nop
mov rcx, rax
call fcn.140007160
mov rdi, qword [rbp - 0x19]
sub rdi, rax
mov edx, 3
lea rcx, [rbp + 0x23]
call fcn.140041620
mov rbx, qword [rbp - 0x51]
test rbx, rbx
je 0x140006b10
add rbx, 8
cmp qword [rbx], 0
je 0x140006aec
nop dword [rax]
mov rax, qword [rbx]
lea rcx, [rbp - 0x51]
cmp rax, rcx
je 0x140006ae6
lea rbx, [rax + 8]
cmp qword [rbx], 0
jne 0x140006ad0
cmp qword [rbx], 0
jne 0x140006b05
mov r8d, 0xc9
lea rdx, str.C:Program_Files__x86_Microsoft_Visual_Studio_12.0VCincludexutility
lea rcx, str.ITERATOR_LIST_CORRUPTED_
call fcn.140041750
mov rax, qword [rbp - 0x49]
mov qword [rbx], rax
mov qword [rbp - 0x51], r13
lea rcx, [rbp + 0x23]
call fcn.140041700
test rdi, rdi
je 0x140006b5f
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 9]
call fcn.140006630
nop
or r14d, 1
mov dword [rsp + 0x30], r14d
mov rcx, rax
call fcn.140007160
mov r9, qword [r15 + 0x90]
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.14000bd80
cmp rdi, rax
je 0x140006b5f
mov sil, 1
jmp 0x140006b62
xor sil, sil
test r14b, 1
je 0x140006bdb
and r14d, 0xfffffffe
mov edx, 3
lea rcx, [rbp - 0x11]
call fcn.140041620
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140006bd2
add rbx, 8
cmp qword [rbx], 0
je 0x140006bad
nop
mov rax, qword [rbx]
lea rcx, [rsp + 0x38]
cmp rax, rcx
je 0x140006ba7
lea rbx, [rax + 8]
cmp qword [rbx], 0
jne 0x140006b90
cmp qword [rbx], 0
jne 0x140006bc6
mov r8d, 0xc9
lea rdx, str.C:Program_Files__x86_Microsoft_Visual_Studio_12.0VCincludexutility
lea rcx, str.ITERATOR_LIST_CORRUPTED_
call fcn.140041750
mov rax, qword [rbp - 0x79]
mov qword [rbx], rax
mov qword [rsp + 0x38], r13
lea rcx, [rbp - 0x11]
call fcn.140041700
test sil, sil
jne 0x140006c0f
cmp byte [r15 + 0x81], sil
je 0x140006c0b
test rdi, rdi
jne 0x140006940
xor r8d, r8d
lea edx, [rdi + 8]
lea rcx, [rbp - 9]
call fcn.1400062e0
jmp 0x140006940
cmp edi, 2
jne 0x140006c0f
mov bl, 1
jmp 0x140006c11
xor bl, bl
cmp qword [rbp + 0x17], 0x10
jb 0x140006c21
mov rcx, qword [rbp - 1]
call fcn.1400086a0
mov qword [rbp + 0x17], 0xf
mov qword [rbp + 0xf], r13
mov byte [rbp - 1], 0
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x140006c8d
mov edx, 3
lea rcx, [rbp - 0x11]
call fcn.140041620
mov rdx, qword [rbp - 9]
cmp qword [rdx + 8], 0
je 0x140006c7c
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdx + 8]
mov qword [rax], r13
mov rax, qword [rdx + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
test rcx, rcx
jne 0x140006c60
mov rdx, qword [rbp - 9]
mov qword [rdx + 8], r13
lea rcx, [rbp - 0x11]
call fcn.140041700
mov rcx, qword [rbp - 9]
call fcn.1400086a0
movzx eax, bl
jmp 0x140006c99
mov al, 1
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140007ac0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret