Function at 0x140006760
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push r12
sub rsp, 0x40
mov r12, qword [rcx + 8]
xor ebp, ebp
mov rdi, rcx
test r12, r12
je 0x140006ae5
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov rsi, qword [rcx + 0x80]
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x38], r14
lea r14d, [rbp - 1]
mov qword [rsp + 0x30], r15
mov r15d, ebp
test rsi, rsi
je 0x140006844
cmp dword [0x140158234], ebp
jne 0x14000684b
call fcn.14002bc60
mov rcx, qword [rdi + 0x80]
lea rdx, [0x140101508]
call fcn.140042140
mov r13, rax
call fcn.14002bdc0
test r13, r13
jne 0x1400067e5
lea rbp, str.Cant_include_data_from_file._Cant_open
jmp 0x14000684b
xor edx, edx
mov rcx, r13
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
xor r8d, r8d
xor edx, edx
mov rcx, r13
movsxd r14, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test r14d, r14d
je 0x140006839
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r9, r13
mov r8d, 1
mov rcx, rax
mov rdx, r14
mov r15, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14000684b
lea rsi, str._no_filename_
mov rbx, qword [rdi + 0x38]
mov r13, qword [rsp + 0x70]
test rbx, rbx
je 0x140006879
nop dword [rax]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x128]
test eax, eax
jne 0x1400068bf
mov rbx, qword [rbx + 0x38]
test rbx, rbx
jne 0x140006860
movzx eax, byte [rdi + 0x78]
test al, al
je 0x140006a54
cmp byte [rdi + 0x79], 0
je 0x140006a08
cmp dword [rdi + 0x88], 0
mov rdx, r12
je 0x140006955
lea rcx, str.extern_const_char__s__n
call fcn.140024170
lea rdx, [0x14010129c]
mov rcx, rdi
call fcn.140010150
jmp 0x140006a82
movsx eax, byte [rdi + 0x78]
test rbx, rbx
je 0x14000687d
mov ecx, eax
call fcn.140009f90
lea rdx, [0x140101310]
mov rcx, rdi
call fcn.1400101f0
cmp dword [rdi + 0x88], 0
mov rdx, r12
je 0x14000691d
lea rcx, str.__static_const_char__s__n
call fcn.140024170
mov edx, 1
mov rcx, rdi
call fcn.140008320
mov rdx, rax
lea rcx, str.const_char__s::_s____text_inlined_from__s___n
mov r9, rsi
mov r8, r12
call fcn.1400232f0
jmp 0x140006a94
mov r8d, r14d
lea rcx, str.__static_unsigned_char__s__d___n
call fcn.140024170
mov edx, 1
mov rcx, rdi
call fcn.140008320
mov rdx, rax
mov qword [rsp + 0x20], rsi
mov r9d, r14d
lea rcx, str.unsigned_char__s::_s__d_____data_inlined_from__s___n
mov r8, r12
call fcn.1400232f0
jmp 0x140006988
mov r8d, r14d
lea rcx, str.extern_unsigned_char__s__d___n
call fcn.140024170
lea rdx, [0x14010129c]
mov rcx, rdi
call fcn.140010150
mov r9, rsi
lea rcx, str.unsigned_char__s__d_____data_inlined_from__s___n
mov r8d, r14d
mov rdx, r12
call fcn.1400232f0
test rbp, rbp
je 0x14000699f
mov r8, rsi
lea rcx, str.error__s__s_n
mov rdx, rbp
call fcn.1400232f0
mov edx, r14d
mov rcx, r15
call fcn.1400233b0
lea rcx, [0x140101610]
call fcn.1400232f0
mov r14, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x60]
test rbp, rbp
je 0x140006acd
cmp dword [0x140158234], 0
jne 0x140006acd
cmp dword [0x14016412c], 0
je 0x140006abb
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rsi
lea rdx, str.FLUID_ERROR:__s__s_n
mov rcx, rax
mov r8, rbp
call fcn.14000a030
jmp 0x140006acd
lea rdx, [0x14010129c]
mov rcx, rdi
call fcn.1400101f0
mov rdx, rsi
lea rcx, str.error_Unsupported_declaration_loading_inline_data__s_n
call fcn.140024170
cmp dword [rdi + 0x88], 0
mov rdx, r12
je 0x140006a43
lea rcx, str.const_char__s___abc...___n
call fcn.140024170
jmp 0x1400069b6
lea rcx, str.unsigned_char__s_3____1__2__3___n
call fcn.140024170
jmp 0x1400069b6
lea rdx, [0x14010129c]
mov rcx, rdi
call fcn.140010150
cmp byte [rdi + 0x79], 0
je 0x140006a75
lea rcx, str.static
call fcn.1400232f0
cmp dword [rdi + 0x88], 0
je 0x140006973
mov r8, rsi
lea rcx, str.const_char__s____text_inlined_from__s___n
mov rdx, r12
call fcn.1400232f0
test rbp, rbp
je 0x140006aab
mov r8, rsi
lea rcx, str.error__s__s_n
mov rdx, rbp
call fcn.1400232f0
mov edx, r14d
mov rcx, r15
call fcn.140023cb0
jmp 0x1400069aa
mov r8, rsi
lea rcx, str._s_n_s_n
mov rdx, rbp
call fcn.14004cfd0
mov rsi, qword [rsp + 0x68]
test r15, r15
je 0x140006ae0
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop r12
pop rdi
pop rbp
ret