Function at 0x1400fa6f8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x140164008]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14d, edx
mov rsi, rcx
call fcn.1400fa684
xor r15d, r15d
cmp dword [rax + 0x74], r15d
je 0x1400fa7bd
call fcn.1400fa684
mov dword [rax + 0x74], r15d
call fcn.1400fa684
cmp dword [rax + 0x78], r15d
jne 0x1400fa75d
call fcn.1400fa684
mov dword [rax + 0x78], 1
cmp qword [0x14016e470], r15
jne 0x1400fa775
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov qword [0x14016e470], rax
cmp qword [0x14016e478], r15
jne 0x1400fa790
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov qword [0x14016e478], rax
call fcn.1400fa684
cmp qword [rax + 8], r15
jne 0x1400fa7b8
mov rcx, qword [0x14016e470]
mov edx, 0x4000
call fcn.1400fb1f4
mov rbx, rax
call fcn.1400fa684
mov qword [rax + 8], rbx
call fcn.1400fb704
lea r13, [0x140000000]
call fcn.1400fa684
mov r12, qword [rax + 0x20]
call fcn.1400fa684
mov qword [rbp - 0x20], r12
movzx ecx, word [rax + 0x10]
mov word [r12], cx
call fcn.1400fa684
mov ebx, dword [rax + 0x78]
movzx eax, word [r12]
mov edi, dword [r13 + rax*4 + 0x12dfa0]
lea rax, [0x140000000]
movsxd r13, ebx
cmp word [rax + r13*2 + 0x12ded0], r15w
je 0x1400fa821
call fcn.1400fa684
mov dword [rax + 0x38], ebx
call fcn.1400fa684
mov qword [rax + 0x40], r12
lea rax, [0x140000000]
movsx eax, word [rax + r13*2 + 0x12e450]
lea r13, [0x140000000]
jmp 0x1400fa854
movsx rbx, word [r13 + rax*2 + 0x12e530]
cmp ebx, 0x64
jl 0x1400fa84b
mov eax, edi
mov edi, dword [r13 + rax*4 + 0x12e3a0]
movsx eax, word [r13 + rbx*2 + 0x12e450]
add eax, edi
movsxd rcx, eax
movsx eax, word [r13 + rcx*2 + 0x12e800]
cmp eax, ebx
movsxd rax, ebx
jne 0x1400fa833
movsx eax, word [r13 + rax*2 + 0x12e450]
add r12, 2
add eax, edi
mov ecx, 0xcb
movsx rbx, word [r13 + rax*2 + 0x12e610]
cmp word [r13 + rbx*2 + 0x12e450], cx
jne 0x1400fa7e7
movsxd rax, ebx
movsx edi, word [r13 + rax*2 + 0x12ded0]
test edi, edi
jne 0x1400fa8c0
call fcn.1400fa684
mov r12, qword [rax + 0x40]
call fcn.1400fa684
movsxd rcx, dword [rax + 0x38]
movsx edi, word [r13 + rcx*2 + 0x12ded0]
call fcn.1400fa684
mov r13, qword [rbp - 0x20]
mov rbx, r12
sub rbx, r13
sar rbx, 1
mov qword [rax + 0x30], r13
call fcn.1400fa684
mov dword [rax + 0x18], ebx
movzx ebx, word [r12]
call fcn.1400fa684
mov word [rax + 0x10], bx
mov word [r12], r15w
call fcn.1400fa684
mov ecx, 1
mov qword [rax + 0x20], r12
cmp edi, 0x1b
jle 0x1400faa2a
cmp edi, 0x29
jbe 0x1400fad44
cmp edi, 0x30
jbe 0x1400facd2
sub edi, 0x31
je 0x1400fac45
sub edi, 1
je 0x1400fac87
sub edi, 1
je 0x1400fac15
sub edi, 1
jne 0x1400fac5a
call fcn.1400fa684
mov r13, r12
sub r13, qword [rax + 0x30]
sar r13, 1
dec r13d
call fcn.1400fa684
movzx ecx, word [rax + 0x10]
mov word [r12], cx
call fcn.1400fa684
mov rcx, qword [rax + 8]
cmp dword [rcx + 0x30], r15d
jne 0x1400fa9a4
call fcn.1400fa684
mov rcx, qword [rax + 8]
mov ebx, dword [rcx + 0x1c]
call fcn.1400fa684
mov dword [rax + 0x14], ebx
mov rbx, qword [0x14016e470]
call fcn.1400fa684
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
call fcn.1400fa684
mov rcx, qword [rax + 8]
mov dword [rcx + 0x30], 1
call fcn.1400fa684
mov rcx, qword [rax + 8]
mov rdi, qword [rcx + 8]
call fcn.1400fa684
movsxd rbx, dword [rax + 0x14]
add rbx, rbx
call fcn.1400fa684
lea rcx, [rdi + rbx]
cmp qword [rax + 0x20], rcx
jbe 0x1400faacc
call fcn.1400fb308
test eax, eax
je 0x1400fabc3
sub eax, 1
jne 0x1400faa81
call fcn.1400fa684
mov dword [rax + 0x28], r15d
call fcn.1400fa684
mov rbx, qword [rax + 0x30]
call fcn.1400fa684
mov qword [rax + 0x20], rbx
call fcn.1400fa684
mov ecx, 1
mov eax, dword [rax + 0x78]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, 0x35
mov edi, eax
cmp eax, 0x1b
jg 0x1400fa908
mov r13, qword [rbp - 0x20]
cmp eax, 0x1b
je 0x1400fb0e5
cmp edi, 0xd
jg 0x1400fb01b
je 0x1400fb010
cmp edi, 6
jg 0x1400fafb1
je 0x1400fafff
test edi, edi
jne 0x1400fae39
call fcn.1400fa684
movzx ecx, word [rax + 0x10]
mov word [r12], cx
call fcn.1400fa684
mov r12, qword [rax + 0x40]
call fcn.1400fa684
mov ebx, dword [rax + 0x38]
lea r13, [0x140000000]
jmp 0x1400fa895
cmp eax, 1
jne 0x1400fa7bd
call fcn.1400fa684
mov rcx, qword [rax + 8]
mov rbx, qword [rcx + 8]
call fcn.1400fa684
movsxd rcx, dword [rax + 0x14]
lea rbx, [rbx + rcx*2]
call fcn.1400fa684
mov qword [rax + 0x20], rbx
call fcn.1400fb5d4
mov ebx, eax
call fcn.1400fa684
mov r12, qword [rax + 0x20]
call fcn.1400fa684
mov r13, qword [rax + 0x30]
mov qword [rbp - 0x20], r13
jmp 0x1400faa75
call fcn.1400fa684
movsxd rcx, r13d
mov rax, qword [rax + 0x30]
lea rbx, [rax + rcx*2]
call fcn.1400fa684
mov qword [rax + 0x20], rbx
call fcn.1400fb5d4
movsxd rbx, eax
mov edi, ebx
call fcn.1400fa684
mov r12d, 1
mov rax, qword [rax + 0x20]
mov qword [rbp - 0x20], rax
lea rax, [0x140000000]
cmp word [rax + rbx*2 + 0x12ded0], r15w
je 0x1400fab30
call fcn.1400fa684
mov dword [rax + 0x38], ebx
call fcn.1400fa684
mov rcx, qword [rbp - 0x20]
mov qword [rax + 0x40], rcx
lea rax, [0x140000000]
movsx rax, word [rax + rbx*2 + 0x12e450]
lea r13, [0x140000000]
movsx eax, word [r13 + rax*2 + 0x12e802]
cmp eax, ebx
je 0x1400fab85
movsxd rax, edi
movsx rdi, word [r13 + rax*2 + 0x12e530]
cmp edi, 0x64
jl 0x1400fab69
mov eax, r12d
mov r12d, dword [r13 + rax*4 + 0x12e3a0]
movsx eax, word [r13 + rdi*2 + 0x12e450]
add eax, r12d
movsxd rcx, eax
movsx eax, word [r13 + rcx*2 + 0x12e800]
cmp eax, edi
jne 0x1400fab4d
movsxd rax, edi
movsx eax, word [r13 + rax*2 + 0x12e450]
add eax, r12d
movsx edi, word [r13 + rax*2 + 0x12e610]
cmp edi, 0x63
cmove edi, r15d
call fcn.1400fa684
mov rcx, qword [rax + 0x30]
mov qword [rbp - 0x20], rcx
call fcn.1400fa684
test edi, edi
jne 0x1400fac05
mov r12, qword [rax + 0x20]
jmp 0x1400fa895
call fcn.1400fa684
movsxd rcx, r13d
mov rax, qword [rax + 0x30]
lea rbx, [rax + rcx*2]
call fcn.1400fa684
mov qword [rax + 0x20], rbx
call fcn.1400fb5d4
mov ebx, eax
call fcn.1400fa684
mov r12, qword [rax + 0x20]
call fcn.1400fa684
lea r13, [0x140000000]
mov rcx, qword [rax + 0x30]
mov qword [rbp - 0x20], rcx
jmp 0x1400fa7e7
add qword [rax + 0x20], 2
mov ebx, edi
mov r12, qword [rax + 0x20]
jmp 0x1400fa7e7
mov rdi, qword [0x14016e478]
call fcn.1400fa684
movsxd rbx, dword [rax + 0x18]
call fcn.1400fa684
mov r9, rdi
mov r8d, 1
mov rdx, rbx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x1400fa7bd
call fcn.1400fa684
mov ebx, dword [rax + 0x18]
call fcn.1400fa684
add dword [rax + 0x68], ebx
jmp 0x1400fa7bd
cmp edi, 1
jne 0x1400fb137
mov dword [rbp - 0x20], 0x28
mov qword [rbp - 0x18], r15
call fcn.1400fa684
movups xmm0, xmmword [rbp - 0x20]
mov ecx, dword [rax + 0x68]
mov dword [rbp - 0xc], ecx
movsd xmm1, qword [rbp - 0x10]
jmp 0x1400fb102
call fcn.1400fa684
mov dword [rax + 0x50], 0x29
call fcn.1400fa684
mov dword [rax + 0x60], 0xdf
call fcn.1400fa684
mov ebx, dword [rax + 0x68]
call fcn.1400fa684
mov dword [rax + 0x64], ebx
call fcn.1400fa684
mov ebx, dword [rax + 0x18]
call fcn.1400fa684
add dword [rax + 0x68], ebx
call fcn.1400fa684
movups xmm0, xmmword [rax + 0x50]
movsd xmm1, qword [rax + 0x60]
jmp 0x1400fb102
je 0x1400fad39
sub edi, 0x2a
je 0x1400fad2e
sub edi, 1
je 0x1400fad20
sub edi, 1
je 0x1400fad15
sub edi, 1
je 0x1400fad0a
sub edi, 1
je 0x1400facff
cmp edi, 1
jne 0x1400fb137
lea r9d, [rdi + 0x18]
jmp 0x1400fb0eb
mov r9d, 0x18
jmp 0x1400fb0eb
mov r9d, 0x2b
jmp 0x1400fb0eb
mov r9d, 0x20
jmp 0x1400fb0eb
mov r9d, 0x1f
mov r8d, ecx
jmp 0x1400fb0ee
mov r9d, 0x1e
jmp 0x1400fb0eb
mov r9d, InitCommonControls
jmp 0x1400fb0eb
je 0x1400fae2e
cmp edi, 0x22
ja 0x1400fadcc
je 0x1400fadc1
sub edi, 0x1c
je 0x1400fadb6
sub edi, 1
je 0x1400fadab
sub edi, 1
je 0x1400fada0
sub edi, 1
je 0x1400fad98
sub edi, 1
je 0x1400fad8d
cmp edi, 1
jne 0x1400fb137
call fcn.1400fa684
mov dword [rax + 0x50], InitCommonControls
call fcn.1400fa684
mov qword [rax + 0x58], r15
jmp 0x1400fac9f
mov r9d, 0x16
jmp 0x1400fb0eb
mov r9d, 0x15
jmp 0x1400fad26
mov r9d, 0x14
jmp 0x1400fad26
mov r9d, 0x13
jmp 0x1400fb0eb
mov r9d, 0x12
jmp 0x1400fb0eb
mov r9d, 0x17
jmp 0x1400fad26
sub edi, 0x23
je 0x1400fae23
sub edi, 1
je 0x1400fae18
sub edi, 1
je 0x1400fae0d
sub edi, 1
je 0x1400fae02
sub edi, 1
je 0x1400fadf7
cmp edi, 1
jne 0x1400fb137
lea r9d, [rdi + 0x1c]
jmp 0x1400fb0eb
mov r9d, 0x1c
jmp 0x1400fb0eb
mov r9d, 0x1b
jmp 0x1400fad26
mov r9d, 0x1a
jmp 0x1400fad26
mov r9d, 0x19
jmp 0x1400fad26
mov r9d, 0x18
jmp 0x1400fad26
mov r9d, 0x1e
jmp 0x1400fad26
sub edi, 1
je 0x1400faf7e
sub edi, 1
je 0x1400faecf
sub edi, 1
je 0x1400faec1
sub edi, 1
je 0x1400fae8d
cmp edi, 1
jne 0x1400fb137
call fcn.1400fa684
mov dword [rax + 0x50], 0x26
call fcn.1400fa684
mov rcx, qword [rax + 0x30]
add rcx, 4
call fcn.1400e905c
mov rbx, rax
call fcn.1400fa684
mov qword [rax + 0x58], rbx
jmp 0x1400fac9f
call fcn.1400fa684
mov edx, 0x24
mov dword [rax + 0x50], edx
call fcn.1400fa684
mov rbx, qword [rax + 0x30]
call fcn.1400fa684
movsxd rcx, dword [rax + 0x18]
mov word [rbx + rcx*2 - 2], r15w
call fcn.1400fa684
mov rcx, qword [rax + 0x30]
add rcx, 2
jmp 0x1400fae77
call fcn.1400fa684
mov dword [rax + 0x50], 0x23
jmp 0x1400faeb2
call fcn.1400fa684
lea rdx, [rbp - 0x20]
mov rcx, qword [rax + 0x30]
call fcn.1400e8984
test eax, eax
jne 0x1400faef3
call fcn.1400fa684
mov dword [rax + 0x50], 0x22
jmp 0x1400faf70
call fcn.1400fa684
mov edx, 0x2e
mov rcx, qword [rax + 0x30]
call sub.VCRUNTIME140.dll_wcschr
mov rbx, rax
call fcn.1400fa684
sub rbx, qword [rax + 0x30]
sar rbx, 1
call fcn.1400fa684
movzx ecx, word [rax + 0x10]
mov word [r12], cx
movsxd rcx, ebx
lea rdi, [rcx*2]
add rdi, r13
call fcn.1400fa684
mov qword [rax + 0x20], rdi
call fcn.1400fa684
mov qword [rax + 0x30], r13
call fcn.1400fa684
mov dword [rax + 0x18], ebx
movzx ebx, word [rdi]
call fcn.1400fa684
mov word [rax + 0x10], bx
mov word [rdi], r15w
call fcn.1400fa684
mov qword [rax + 0x20], rdi
call fcn.1400fa684
mov dword [rax + 0x50], 0x21
call fcn.1400fa684
mov rcx, qword [rax + 0x30]
jmp 0x1400fae77
call fcn.1400fa684
mov edx, 0x24
mov rcx, qword [rax + 0x30]
lea eax, [rdx - 0x22]
cmp word [rcx], dx
cmove r15, rax
call fcn.1400fa684
mov rcx, qword [rax + 0x30]
add rcx, r15
call fcn.1400e88a8
cmp eax, 0xffffffff
jne 0x1400faf64
jmp 0x1400faee5
sub edi, 7
je 0x1400fafff
sub edi, 1
je 0x1400fafff
sub edi, 1
je 0x1400fafee
sub edi, 1
je 0x1400fafe3
sub edi, 1
je 0x1400fafdb
cmp edi, 1
jne 0x1400fb137
mov r9d, ecx
jmp 0x1400fad26
xor r9d, r9d
jmp 0x1400fad26
mov r9d, 0x2a
jmp 0x1400fb0eb
call fcn.1400fa684
mov dword [rax + 0x50], 0x27
jmp 0x1400fae6a
call fcn.1400fa684
mov dword [rax + 0x50], 0x25
jmp 0x1400faf70
mov r9d, 2
jmp 0x1400fb0eb
cmp edi, 0x14
jg 0x1400fb08c
je 0x1400fb084
sub edi, 0xe
je 0x1400fb079
sub edi, 1
je 0x1400fb06e
sub edi, 1
je 0x1400fb063
sub edi, 1
je 0x1400fb058
sub edi, 1
je 0x1400fb04d
cmp edi, 1
jne 0x1400fb137
lea r9d, [rdi + 7]
jmp 0x1400fb0eb
mov r9d, 7
jmp 0x1400fb0eb
mov r9d, 6
jmp 0x1400fb0eb
mov r9d, 5
jmp 0x1400fad26
mov r9d, 4
jmp 0x1400fad26
mov r9d, 3
jmp 0x1400fad26
mov r9d, 9
jmp 0x1400fb0eb
sub edi, 0x15
je 0x1400fb0dd
sub edi, 1
je 0x1400fb0d2
sub edi, 1
je 0x1400fb0ca
sub edi, 1
je 0x1400fb0bf
sub edi, 1
je 0x1400fb0b4
cmp edi, 1
jne 0x1400fb137
lea r9d, [rdi + 0xf]
jmp 0x1400fb0eb
mov r9d, InitCommonControls
jmp 0x1400fad26
mov r9d, InitCommonControls
jmp 0x1400fad26
mov r9d, InitCommonControls
jmp 0x1400fb0eb
mov r9d, 0xb
jmp 0x1400fad26
mov r9d, 0xa
jmp 0x1400fb0eb
mov r9d, reloc.COMCTL32.dll_InitCommonControls
xor r8d, r8d
mov edx, r14d
lea rcx, [rbp - 0x20]
call fcn.1400fb1b4
movsd xmm1, qword [rax + 0x10]
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
mov rax, rsi
movsd qword [rsi + 0x10], xmm1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14002fdd0
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, str.fatal_flex_scanner_internal_error__no_action_found
call fcn.1400fb2a8
int3