Function at 0x140008690
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx]
xor r14d, r14d
mov rdi, rcx
movzx ecx, byte [rax + 0x10]
mov r13, qword [rax + 0x48]
movzx r12d, word [rax + 6]
movzx eax, byte [0x1400193b0]
mov rbx, rdx
mov byte [rsp + 0x50], cl
mov rbp, r13
mov r15d, r14d
test al, al
jne 0x140008b4e
mov qword [rsp + 0x58], rsi
cmp r12w, 3
jbe 0x1400086e9
lea r12d, [r14 + 3]
mov rax, qword [rdi]
cmp byte [rax + 0x11], r14b
je 0x140008a89
lea rcx, str._beginlongtable
call qword [sym.imp.MSVCR120.dll_fputs]
cmp r12w, 2
jb 0x14000871a
lea rcx, [0x140012854]
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
mov esi, r14d
cmp dword [rdi + 0x10], r14d
jbe 0x140008838
nop word [rax + rax]
mov rax, qword [rdi + 0x58]
mov ecx, esi
movzx edx, byte [rcx + rax]
cmp dl, 0x6c
jne 0x140008802
test r13, r13
je 0x140008802
lea rdx, [0x1400128c4]
mov rcx, rbp
call qword [sym.imp.MSVCR120.dll_strspn]
mov rdx, rbx
add rbp, rax
cmp byte [rbp], r14b
je 0x1400087b2
lea rcx, [0x1400128c8]
call qword [sym.imp.MSVCR120.dll_fputs]
lea rdx, [0x1400128c4]
mov rcx, rbp
call qword [sym.imp.MSVCR120.dll_strcspn]
mov r9, rbx
mov r8d, 1
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.MSVCR120.dll_fwrite]
lea rdx, [0x1400128c4]
mov rcx, rbp
mov r15, rbp
call qword [sym.imp.MSVCR120.dll_strcspn]
add rbp, rax
jmp 0x1400087e9
test r15, r15
je 0x1400087fb
lea rcx, [0x1400128c8]
call qword [sym.imp.MSVCR120.dll_fputs]
lea rdx, [0x1400128c4]
mov rcx, r15
call qword [sym.imp.MSVCR120.dll_strcspn]
mov r9, rbx
mov r8d, 1
mov rdx, rax
mov rcx, r15
call qword [sym.imp.MSVCR120.dll_fwrite]
lea rcx, str._textwidth
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
jmp 0x14000880e
mov ecx, Ordinal_112
jmp 0x140008808
movsx ecx, dl
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputc]
test r12w, r12w
je 0x14000882d
mov eax, dword [rdi + 0x10]
dec eax
cmp esi, eax
jae 0x14000882d
lea rcx, [0x140012858]
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
inc esi
cmp esi, dword [rdi + 0x10]
jb 0x140008730
cmp r12w, 2
jb 0x14000884f
lea rcx, [0x14001285c]
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
lea rcx, [0x140012860]
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
cmp byte [rsp + 0x50], r14b
jne 0x140008a89
cmp r12w, 2
jb 0x140008881
lea rcx, str._toprule_n
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
mov r15, qword [rdi + 0x18]
mov esi, r14d
cmp dword [rdi + 0x10], r14d
jbe 0x1400088da
nop
test esi, esi
je 0x1400088a4
lea rcx, [0x140012870]
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
lea rcx, str._small_textbf_textit
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
mov rcx, qword [r15]
mov rdx, rbx
call fcn.140008130
lea rcx, [0x140012908]
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
inc esi
add r15, 8
cmp esi, dword [rdi + 0x10]
jb 0x140008890
lea rcx, str.__n
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
lea rcx, str.midrule_nendfirsthead_n
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
cmp r12w, 2
jb 0x140008911
lea rcx, str._toprule_n
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
mov r15, qword [rdi + 0x18]
mov esi, r14d
cmp dword [rdi + 0x10], r14d
jbe 0x14000896a
nop
test esi, esi
je 0x140008934
lea rcx, [0x140012870]
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
lea rcx, str._small_textbf_textit
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
mov rcx, qword [r15]
mov rdx, rbx
call fcn.140008130
lea rcx, [0x140012908]
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
inc esi
add r15, 8
cmp esi, dword [rdi + 0x10]
jb 0x140008920
lea rcx, str.__n
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
cmp r12w, 3
je 0x140008991
lea rcx, str.midrule_n
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
lea rcx, str.endhead_n
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
cmp qword [rdi + 8], r14
je 0x140008a62
cmp r12w, 2
jne 0x1400089c2
lea rcx, str._bottomrule_n
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
lea rcx, str.caption_
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
mov rcx, qword [rdi + 8]
mov rdx, rbx
call fcn.140008130
lea rcx, str.__Continued__
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
mov rcx, qword [rdi + 8]
mov rdx, rbx
call fcn.140008130
lea rcx, str._nendfoot_n
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
cmp r12w, 2
jne 0x140008a21
lea rcx, str._bottomrule_n
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
lea rcx, str.caption_
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
mov rcx, qword [rdi + 8]
mov rdx, rbx
call fcn.140008130
lea rcx, [0x140012984]
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
mov rcx, qword [rdi + 8]
mov rdx, rbx
call fcn.140008130
lea rcx, str._nendlastfoot_n
jmp 0x140008a80
cmp r12w, 2
jb 0x140008a89
lea rcx, str._bottomrule_nendfoot_n
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
lea rcx, str._bottomrule_nendlastfoot_n
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
mov rsi, qword [rdi + 0x28]
cmp qword [rsi], r14
je 0x140008b30
test r14d, r14d
je 0x140008ab7
xor edx, edx
mov eax, r14d
div dword [rdi + 0x10]
test edx, edx
je 0x140008ab7
lea rcx, [0x1400129cc]
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
lea rcx, str._raggedright
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
mov rcx, qword [rsi]
mov rdx, rbx
call fcn.140008130
mov rdx, rbx
mov ecx, Ordinal_126
call qword [sym.imp.MSVCR120.dll_fputc]
xor edx, edx
lea eax, [r14 + 1]
div dword [rdi + 0x10]
test edx, edx
jne 0x140008b14
lea rcx, str.__tabularnewline_n
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
cmp r12w, 3
jne 0x140008b14
lea rcx, str._hline_n
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
movzx eax, byte [0x1400193b0]
test al, al
jne 0x140008b30
add rsi, 8
inc r14d
cmp qword [rsi], 0
jne 0x140008a96
mov rax, qword [rdi]
mov rsi, qword [rsp + 0x58]
cmp byte [rax + 0x12], 0
je 0x140008b4e
lea rcx, str.endlongtable_n
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret