Function at 0x140035870
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov qword [rsp + 0x80], rcx
mov rax, rcx
mov ecx, dword [rcx + 0x10]
mov rbx, rdx
test ecx, ecx
je 0x1400358ab
lea rcx, [rax + 8]
mov r9d, 0xffffffff
lea r8, str.Exclude
call sym.nmapserviceprobes_print_ports.part.0
mov rax, qword [rsp + 0x80]
lea r13, [0x14006f0dd]
mov qword [rsp + 0x20], 0
mov edx, dword [rax + 0x28]
test edx, edx
je 0x140035bd8
nop
mov rax, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x20]
lea r8, [0x14006f0c6]
mov rax, qword [rax]
mov rdi, qword [rax + rdi*8]
cmp dword [rdi + 0x18], 6
mov r9, qword [rdi]
jne 0x1400358fb
lea r8, [0x14006f0c2]
lea rdx, str.Probe__s__s_q
mov rcx, rbx
call sym.fprintf_1
mov rsi, qword [rdi + 0x10]
mov r8, qword [rdi + 8]
test rsi, rsi
je 0x140035e5c
mov r15, r8
add rsi, r8
mov rax, r8
jmp 0x14003594d
add rax, 1
cmp rax, rsi
je 0x140035dd1
movzx edx, byte [rax]
cmp dl, 0x7c
jne 0x140035940
lea rcx, [0x14006f097]
nop dword [rax]
movsx r12d, dl
mov rax, r8
jmp 0x140035989
add rax, 1
cmp rax, rsi
je 0x1400359a0
movsx edx, byte [rax]
cmp r12d, edx
jne 0x140035980
movzx edx, byte [rcx]
add rcx, 1
test dl, dl
jne 0x140035960
nop dword [rax]
mov rdx, rbx
mov ecx, r12d
lea rbp, [0x14006f15c]
call sym.fputc
nop word cs:[rax + rax]
nop dword [rax]
movzx r14d, byte [r15]
cmp r14b, 0xd
jg 0x140035da8
test r14b, r14b
js case.0x1400359e5.1
cmp r14b, 0xd
ja case.0x1400359e5.1
movzx eax, r14b
movsxd rax, dword [rbp + rax*4]
add rax, rbp
jmp rax
movsx ecx, r14b
mov dword [rsp + 0x2c], ecx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isprint]
test eax, eax
je 0x140035ddc
mov ecx, dword [rsp + 0x2c]
mov rdx, rbx
call sym.fputc
nop word cs:[rax + rax]
nop dword [rax]
add r15, 1
cmp r15, rsi
jne 0x1400359c0
mov rdx, rbx
mov ecx, r12d
call sym.fputc
mov rdx, rbx
mov ecx, 0xa
call sym.fputc
mov r8d, dword [rdi + 0x24]
test r8d, r8d
jne 0x140035e10
mov r8d, dword [rdi + 0x1c]
test r8d, r8d
jne 0x140035e2c
mov r8d, dword [rdi + 0x20]
test r8d, r8d
jne 0x140035e48
cmp dword [rdi + 0x18], 6
mov eax, dword [rdi + 0x30]
je 0x140035df4
test eax, eax
je 0x140035a9c
lea rcx, [rdi + 0x28]
mov r9d, 0x10000
lea r8, str.ports
mov rdx, rbx
call sym.nmapserviceprobes_print_ports.part.0
cmp dword [rdi + 0x18], 6
je 0x140035e04
lea rcx, [rdi + 0x48]
mov r9d, 0x10000
mov eax, dword [rdi + 0x50]
test eax, eax
je 0x140035abc
lea r8, str.sslports
mov rdx, rbx
call sym.nmapserviceprobes_print_ports.part.0
mov rdi, qword [rdi + 0x68]
lea r12, str.match__s_m
lea rsi, [0x14006f194]
test rdi, rdi
je 0x140035bbc
nop word [rax + rax]
mov r8, qword [rdi + 8]
mov rdx, r12
mov rcx, rbx
call sym.fprintf_1
mov rdx, qword [rdi + 0x10]
mov r8, qword [rdi + 0x18]
mov rcx, rbx
call sym.nmapserviceprobes_print_dstring.constprop.0
movzx eax, byte [rdi + 0x28]
test al, 1
jne 0x140035d78
test al, 2
jne 0x140035d91
mov rdx, rbx
mov ecx, 0x20
lea rbp, [0x14006f0cc]
call sym.fputc
mov r15, qword [rdi + 0x20]
test r15, r15
je 0x140035ba3
cmp dword [r15], 7
ja case.default.0x140035b44
mov eax, dword [r15]
movsxd rax, dword [rsi + rax*4]
add rax, rsi
jmp rax
mov rcx, rbp
nop word cs:[rax + rax]
nop
mov rdx, rbx
call sym.fputs
mov r14, qword [r15 + 8]
mov rcx, r14
call sym.strlen
mov rdx, r14
mov rcx, rbx
mov r8, rax
call sym.nmapserviceprobes_print_dstring.constprop.0
test byte [r15 + 0x18], 1
jne 0x140035d58
mov rdx, rbx
mov ecx, 0x20
call sym.fputc
mov r15, qword [r15 + 0x10]
test r15, r15
jne 0x140035b30
mov rdx, rbx
mov ecx, 0xa
call sym.fputc
mov rdi, qword [rdi]
test rdi, rdi
jne 0x140035ae0
mov rdi, qword [rsp + 0x80]
add qword [rsp + 0x20], 1
mov rax, qword [rsp + 0x20]
cmp eax, dword [rdi + 0x28]
jb 0x1400358d0
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x14006f0ca]
jmp 0x140035b60
lea rcx, [0x14006f0d8]
jmp 0x140035b60
lea rcx, [0x14006f0d6]
jmp 0x140035b60
lea rcx, [0x14006f0d4]
jmp 0x140035b60
lea rcx, [0x14006f0d2]
jmp 0x140035b60
lea rcx, [0x14006f0d0]
jmp 0x140035b60
lea rcx, [0x14006f0ce]
jmp 0x140035b60
mov r9, rbx
mov r8d, 2
mov edx, 1
lea rcx, [0x14006f106]
call sym.fwrite
jmp 0x140035a20
mov r9, rbx
mov r8d, 2
mov edx, 1
lea rcx, [0x14006f109]
call sym.fwrite
jmp 0x140035a20
mov r9, rbx
mov r8d, 2
mov edx, 1
lea rcx, [0x14006f0fd]
call sym.fwrite
jmp 0x140035a20
mov r9, rbx
mov r8d, 2
mov edx, 1
lea rcx, [0x14006f0fa]
call sym.fwrite
jmp 0x140035a20
mov r9, rbx
mov r8d, 2
mov edx, 1
lea rcx, [0x14006f0f7]
call sym.fwrite
jmp 0x140035a20
mov r9, rbx
mov r8d, 2
mov edx, 1
lea rcx, [0x14006f10c]
call sym.fwrite
jmp 0x140035a20
mov r9, rbx
mov r8d, 2
mov edx, 1
lea rcx, [0x14006f103]
call sym.fwrite
jmp 0x140035a20
mov r9, rbx
mov r8d, 2
mov edx, 1
lea rcx, [0x14006f100]
call sym.fwrite
jmp 0x140035a20
mov rdx, rbx
mov ecx, 0x61
call sym.fputc
jmp 0x140035b8d
mov rcx, r13
jmp 0x140035b60
mov rdx, rbx
mov ecx, 0x69
call sym.fputc
movzx eax, byte [rdi + 0x28]
test al, 2
je 0x140035b13
mov rdx, rbx
mov ecx, 0x73
call sym.fputc
jmp 0x140035b13
cmp r14b, 0x5c
jne case.0x1400359e5.1
mov r9, rbx
mov r8d, 2
mov edx, 1
lea rcx, [0x14006f0f4]
call sym.fwrite
jmp 0x140035a20
mov r12d, 0x7c
jmp 0x1400359a0
movzx r8d, r14b
lea rdx, str.x_02x
mov rcx, rbx
call sym.fprintf_1
jmp 0x140035a20
test eax, eax
je 0x140035e04
lea rcx, [rdi + 0x28]
xor r9d, r9d
jmp 0x140035a83
lea rcx, [rdi + 0x48]
xor r9d, r9d
jmp 0x140035aa6
lea rdx, str.rarity__u_n
mov rcx, rbx
call sym.fprintf_1
mov r8d, dword [rdi + 0x1c]
test r8d, r8d
je 0x140035a5b
lea rdx, str.totalwaitms__u_n
mov rcx, rbx
call sym.fprintf_1
mov r8d, dword [rdi + 0x20]
test r8d, r8d
je 0x140035a68
lea rdx, str.tcpwrappedms__u_n
mov rcx, rbx
call sym.fprintf_1
jmp 0x140035a68
mov rdx, rbx
mov ecx, 0x7c
mov r12d, 0x7c
call sym.fputc
jmp 0x140035a29