Function at 0x14003a960
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
cmp dword [rdx + 0x48], 0
mov r15, r8
mov rbx, rdx
mov qword [rdx + 0x90], rcx
jne 0x14003aa42
cmp dword [rdx + 0x4c], 0
mov dword [rdx + 0x48], 1
jne 0x14003a9a7
mov dword [rdx + 0x4c], 1
cmp qword [rdx + 8], 0
jne 0x14003a9ba
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov qword [rbx + 8], rax
cmp qword [rbx + 0x10], 0
jne 0x14003a9d0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbx + 0x28]
lea rdi, [rbx + 0x18]
test rcx, rcx
je 0x14003a9e7
mov rax, qword [rdi]
cmp qword [rcx + rax*8], 0
jne 0x14003aa0b
mov rcx, rbx
call fcn.14003a860
mov rcx, qword [rbx + 8]
mov r8, rbx
mov edx, 0x4000
call fcn.14003a610
mov rdx, qword [rdi]
mov rcx, qword [rbx + 0x28]
mov qword [rcx + rdx*8], rax
mov rcx, qword [rdi]
mov rax, qword [rbx + 0x28]
lea r8, [rax + rcx*8]
mov rax, qword [rax + rcx*8]
mov ecx, dword [rax + 0x1c]
mov dword [rbx + 0x34], ecx
mov rax, qword [r8]
mov rdx, qword [rax + 0x10]
mov qword [rbx + 0x40], rdx
mov qword [rbx + 0x80], rdx
mov rax, qword [r8]
mov rcx, qword [rax]
mov qword [rbx + 8], rcx
movzx eax, byte [rdx]
mov byte [rbx + 0x30], al
lea r12, [0x140000000]
xor r13d, r13d
nop dword [rax]
mov r9, qword [rbx + 0x40]
movzx eax, byte [rbx + 0x30]
mov rbp, r9
mov byte [r9], al
mov edx, dword [rbx + 0x4c]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9]
movzx r8d, byte [rax + r12 + 0x51830]
movsxd rax, edx
cmp word [r12 + rax*2 + 0x517e0], r13w
je 0x14003aa92
mov dword [rbx + 0x68], edx
mov qword [rbx + 0x70], r9
movsx eax, word [r12 + rax*2 + 0x51940]
add eax, r8d
cdqe
movsx eax, word [r12 + rax*2 + 0x51aa0]
cmp eax, edx
je 0x14003aaec
nop dword [rax]
movsxd rax, edx
movsx rdx, word [r12 + rax*2 + 0x519a0]
cmp edx, 0x28
jl 0x14003aace
movzx eax, r8b
movzx r8d, byte [rax + r12 + 0x51930]
movsx ecx, word [r12 + rdx*2 + 0x51940]
movzx eax, r8b
add eax, ecx
cdqe
movsx eax, word [r12 + rax*2 + 0x51aa0]
cmp eax, edx
jne 0x14003aab0
movsxd rax, edx
inc r9
movsx ecx, word [r12 + rax*2 + 0x51940]
movzx eax, r8b
add eax, ecx
cdqe
movsx edx, word [r12 + rax*2 + 0x51a00]
cmp edx, 0x27
jne 0x14003aa70
mov rsi, qword [rbx + 0x70]
mov eax, dword [rbx + 0x68]
nop dword [rax]
cdqe
mov qword [rbx + 0x80], rbp
movsx r10, word [r12 + rax*2 + 0x517e0]
mov eax, esi
sub eax, ebp
mov dword [rbx + 0x38], eax
movzx eax, byte [rsi]
mov byte [rbx + 0x30], al
mov byte [rsi], r13b
mov qword [rbx + 0x40], rsi
cmp r10d, 0x18
je 0x14003aba0
cmp dword [r12 + r10*4 + 0x51b40], r13d
je 0x14003aba0
mov r8, r13
mov r9d, r13d
cmp dword [rbx + 0x38], r8d
jle 0x14003aba0
mov rax, qword [rbx + 0x80]
cmp byte [r8 + rax], 0xa
jne 0x14003ab8f
mov rcx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x28]
mov rdx, qword [rax + rcx*8]
inc dword [rdx + 0x2c]
mov rcx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x28]
mov rcx, qword [rax + rcx*8]
mov dword [rcx + 0x30], r13d
inc r9d
inc r8
cmp r9d, dword [rbx + 0x38]
jl 0x14003ab62
nop dword [rax + rax]
cmp r10d, 0x1b
ja case.default.0x14003abb8
movsxd rax, r10d
mov ecx, dword [r12 + rax*4 + 0x3afa0]
add rcx, r12
jmp rcx
movzx eax, byte [rbx + 0x30]
mov edi, esi
sub edi, dword [rbx + 0x80]
mov byte [rsi], al
dec edi
mov rax, qword [rbx + 0x28]
mov rcx, qword [rbx + 0x18]
lea rcx, [rax + rcx*8]
mov rax, qword [rcx]
cmp dword [rax + 0x38], r13d
jne 0x14003ac02
mov eax, dword [rax + 0x1c]
mov dword [rbx + 0x34], eax
mov rcx, qword [rcx]
mov rax, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x28]
mov rcx, qword [rax + rcx*8]
mov dword [rcx + 0x38], 1
mov rcx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x28]
mov rdx, qword [rax + rcx*8]
mov rcx, rbx
movsxd rax, dword [rbx + 0x34]
add rax, qword [rdx + 8]
cmp qword [rbx + 0x40], rax
jbe 0x14003ac8c
call fcn.14003b3d0
test eax, eax
je 0x14003ad67
sub eax, 1
jne 0x14003ac53
mov rax, qword [rbx + 0x80]
mov qword [rbx + 0x40], rax
mov eax, dword [rbx + 0x4c]
dec eax
mov dword [rbx + 0x50], r13d
cdq
sub eax, edx
sar eax, 1
lea r10d, [rax + 0x19]
jmp 0x14003aba0
cmp eax, 1
jne case.0x14003abb8.13
mov rcx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x28]
mov rdx, qword [rax + rcx*8]
mov rcx, rbx
movsxd rax, dword [rbx + 0x34]
add rax, qword [rdx + 8]
mov qword [rbx + 0x40], rax
call fcn.14003b7e0
mov rsi, qword [rbx + 0x40]
mov rbp, qword [rbx + 0x80]
jmp 0x14003ab20
movsxd rax, edi
add rax, qword [rbx + 0x80]
mov qword [rbx + 0x40], rax
call fcn.14003b7e0
movsxd rdx, eax
mov r8b, 1
lea rax, [rdx + rdx]
cmp word [rax + r12 + 0x517e0], r13w
je 0x14003acbf
mov rcx, qword [rbx + 0x40]
mov qword [rbx + 0x70], rcx
mov dword [rbx + 0x68], edx
movsx rax, word [rax + r12 + 0x51940]
movsx eax, word [r12 + rax*2 + 0x51aa2]
cmp eax, edx
je 0x14003ad1c
nop word [rax + rax]
movsxd rax, edx
movsx rdx, word [r12 + rax*2 + 0x519a0]
cmp edx, 0x28
jl 0x14003acfe
movzx eax, r8b
movzx r8d, byte [rax + r12 + 0x51930]
movsx ecx, word [r12 + rdx*2 + 0x51940]
movzx eax, r8b
add eax, ecx
cdqe
movsx eax, word [r12 + rax*2 + 0x51aa0]
cmp eax, edx
jne 0x14003ace0
mov rbp, qword [rbx + 0x80]
movsxd rax, edx
movsx ecx, word [r12 + rax*2 + 0x51940]
movzx eax, r8b
add eax, ecx
cdqe
movsx edx, word [r12 + rax*2 + 0x51a00]
cmp edx, 0x27
cmove edx, r13d
test edx, edx
je 0x14003ab15
inc qword [rbx + 0x40]
mov r9, qword [rbx + 0x40]
jmp 0x14003aa70
movzx eax, byte [rbx + 0x30]
mov byte [rsi], al
jmp 0x14003ab15
movsxd rax, edi
mov rcx, rbx
add rax, qword [rbx + 0x80]
mov qword [rbx + 0x40], rax
call fcn.14003b7e0
mov r9, qword [rbx + 0x40]
mov edx, eax
mov rbp, qword [rbx + 0x80]
jmp 0x14003aa70
mov dword [rbx + 0x4c], 3
jmp case.0x14003abb8.13
mov dword [rbx + 0x4c], 1
jmp case.0x14003abb8.13
movsxd rdx, dword [rbx + 0x38]
mov r8d, 1
mov r9, qword [rbx + 0x10]
mov rcx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp case.0x14003abb8.13
mov rcx, qword [rbx + 0x80]
call fcn.140026450
mov rcx, qword [rbx + 0x90]
mov qword [rcx], rax
mov eax, 0x102
jmp 0x14003ae10
mov rax, qword [rbx + 0x80]
mov byte [rax + 1], 0x30
mov rcx, qword [rbx + 0x80]
call fcn.140026450
or rax, 0xf000
mov rcx, qword [rbx + 0x90]
mov qword [rcx], rax
mov eax, 0x103
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rcx, qword [rbx + 0x80]
inc rcx
call fcn.140026450
mov rcx, qword [rbx + 0x90]
mov qword [rcx], rax
mov eax, 0x104
jmp 0x14003ae10
mov rax, qword [rbx + 0x80]
mov byte [rax], 0x30
mov rcx, qword [rbx + 0x80]
call fcn.140026450
or rax, 0xf00
jmp 0x14003ae01
mov rax, qword [rbx + 0x90]
mov qword [rax], r13
jmp 0x14003ae0b
mov rax, qword [rbx + 0x80]
mov byte [rax + 2], 0x30
mov rcx, qword [rbx + 0x80]
inc rcx
call fcn.140026450
mov rcx, qword [rbx + 0x90]
or rax, 0xf000
mov qword [rcx], rax
mov eax, 0x105
jmp 0x14003ae10
mov rax, qword [rbx + 0x80]
mov byte [rax + 1], 0x30
mov rcx, qword [rbx + 0x80]
inc rcx
call fcn.140026450
mov rcx, qword [rbx + 0x90]
or rax, 0xf00
mov qword [rcx], rax
mov eax, 0x105
jmp 0x14003ae10
cmp dword [r15 + 4], r13d
jne case.0x14003abb8.25
lea rdx, str.uneven_number_of_digits_in_hex_string
jmp 0x14003af71
cmp dword [r15 + 4], r13d
jne case.0x14003abb8.25
lea rdx, str.invalid_not_operator____in_hex_string
jmp 0x14003af71
mov dword [rbx + 0x4c], 5
mov rax, qword [rbx + 0x80]
movsx eax, byte [rax]
jmp 0x14003ae10
mov rcx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
movsxd rcx, eax
mov rax, qword [rbx + 0x90]
mov qword [rax], rcx
mov eax, 0x106
jmp 0x14003ae10
mov rax, qword [rbx + 0x80]
mov dword [rbx + 0x4c], 1
movsx eax, byte [rax]
jmp 0x14003ae10
cmp dword [r15 + 4], r13d
jne case.0x14003abb8.25
lea rdx, str.invalid_character_in_hex_string_jump
jmp 0x14003af71
cmp dword [r15 + 4], r13d
jne case.0x14003abb8.25
lea rdx, str.invalid_character_in_hex_string
mov r8d, 0x100
mov dword [r15 + 4], 0xa
lea rcx, [r15 + 8]
call fcn.140026380
xor eax, eax
jmp 0x14003ae10
lea rdx, str.fatal_flex_scanner_internal_error__no_action_found
mov rcx, rbx
call fcn.14003a940
int3