Function at 0x1400084f0
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0xa0
mov rdi, qword [rcx + 0x10]
mov rbx, rcx
mov rsi, r8
test rdi, rdi
je 0x140008590
mov r8d, dword [rcx + 0xd28]
cmp r8d, 0x11
ja case.default.0x14000852b
lea rdx, [0x140058b9c]
mov eax, r8d
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
cmp r8d, 0x400
je 0x140008860
ja 0x1400085b0
cmp r8d, 0x100
je 0x1400088c0
cmp r8d, 0x200
je 0x1400088a0
cmp r8d, 0x80
jne case.0x14000852b.3
mov r9, rdi
mov r8d, 0x19
mov edx, 1
lea rcx, str.output_format__grepable_n
call sym.fwrite
xor eax, eax
add rsp, 0xa0
pop rbx
pop rsi
pop rdi
ret
mov rdx, r8
lea rcx, str.unknown_0_
mov edi, 1
call dbg.EQUALS
test eax, eax
je 0x140008600
mov dword [rbx + 0xd28], edi
jmp 0x140008580
cmp r8d, 0x800
je 0x140008880
cmp r8d, 0x1000
jne case.0x14000852b.3
mov r9, rdi
mov r8d, 0x19
mov edx, 1
lea rcx, str.output_format__hostonly_n
call sym.fwrite
jmp 0x140008580
lea rdx, str.output_format__unknown__u__n
mov rcx, rdi
call sym.fprintf_1
jmp 0x140008580
mov rdx, rsi
lea rcx, str.interactive
call dbg.EQUALS
test eax, eax
jne 0x1400085a8
mov rdx, rsi
lea rcx, str.list
mov edi, 2
call dbg.EQUALS
test eax, eax
jne 0x1400085a8
mov rdx, rsi
lea rcx, str.unicornscan
mov edi, 0x200
call dbg.EQUALS
test eax, eax
jne 0x1400085a8
mov rdx, rsi
lea rcx, [0x140058aff]
mov edi, 8
call dbg.EQUALS
test eax, eax
jne 0x1400085a8
mov rdx, rsi
lea rcx, [0x140058b03]
mov edi, 4
call dbg.EQUALS
test eax, eax
jne 0x1400085a8
mov rdx, rsi
lea rcx, str.greppable
mov edi, pe_nt_image_headers64
call dbg.EQUALS
test eax, eax
jne 0x1400085a8
mov rdx, rsi
lea rcx, [0x140058b14]
call dbg.EQUALS
test eax, eax
jne 0x1400085a8
mov rdx, rsi
lea rcx, [0x140058b1d]
mov edi, 0x10
call dbg.EQUALS
test eax, eax
jne 0x1400085a8
mov rdx, rsi
lea rcx, [0x140058b22]
mov edi, 0x11
call dbg.EQUALS
test eax, eax
jne 0x1400085a8
mov rdx, rsi
lea rcx, str.certs
mov edi, 0x800
call dbg.EQUALS
test eax, eax
jne 0x1400085a8
mov rdx, rsi
lea rcx, [0x140058b2f]
mov edi, 0x400
call dbg.EQUALS
test eax, eax
jne 0x1400085a8
mov rdx, rsi
lea rcx, [0x140058b34]
mov edi, 0x100
call dbg.EQUALS
test eax, eax
jne 0x1400085a8
mov rdx, rsi
lea rcx, [0x140058b3a]
mov edi, 0x1000
call dbg.EQUALS
test eax, eax
jne 0x1400085a8
mov r8, rsi
lea rdx, str.FAIL:_unknown_output_format:__s_n
xor ecx, ecx
call dbg.LOG
lea rdx, str.__hint:_binary__xml__grepable__..._n
xor ecx, ecx
call dbg.LOG
mov eax, 2
jmp 0x140008582
mov eax, dword [rcx + 0x18]
test eax, eax
je 0x140008580
mov r9, rdi
mov r8d, 0x1c
mov edx, 1
lea rcx, str.output_format__interactive_n
call sym.fwrite
jmp 0x140008580
mov r9, rdi
mov r8d, 0x17
mov edx, 1
lea rcx, str.output_format__ndjson_n
call sym.fwrite
jmp 0x140008580
mov r9, rdi
mov r8d, 0x15
mov edx, 1
lea rcx, str.output_format__json_n
call sym.fwrite
jmp 0x140008580
mov r9, rdi
mov r8d, 0x15
mov edx, 1
lea rcx, str.output_format__list_n
call sym.fwrite
jmp 0x140008580
mov r9, rdi
mov r8d, 0x14
mov edx, 1
lea rcx, str.output_format__xml_n
call sym.fwrite
jmp 0x140008580
mov r9, rdi
mov r8d, 0x17
mov edx, 1
lea rcx, str.output_format__binary_n
call sym.fwrite
jmp 0x140008580
mov r9, rdi
mov r8d, 0x15
mov edx, 1
lea rcx, str.output_format__none_n
call sym.fwrite
jmp 0x140008580
mov r9, rdi
mov r8d, 0x16
mov edx, 1
lea rcx, str.output_format__certs_n
call sym.fwrite
jmp 0x140008580
mov r9, rdi
mov r8d, 0x1c
mov edx, 1
lea rcx, str.output_format__unicornscan_n
call sym.fwrite
jmp 0x140008580
movdqu xmm0, xmmword [rbx + 0x1620]
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
mov rax, qword [rbx + 0x1630]
mov qword [rsp + 0x30], rax
call dbg.ipaddress_fmt
movdqu xmm1, xmmword [rsp + 0x40]
mov r9, rdi
mov edx, 1
movdqu xmm2, xmmword [rsp + 0x50]
movdqu xmm3, xmmword [rsp + 0x60]
mov r8d, 0x16
lea rcx, str.output_format__redis_n
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x80], xmm2
movaps xmmword [rsp + 0x90], xmm3
call sym.fwrite
mov r9d, dword [rbx + 0x1640]
lea r8, [rsp + 0x70]
mov rcx, rdi
lea rdx, str.redis___s__u_n
call sym.fprintf_1
jmp 0x140008580