Function at 0x1400259b0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1402698e0]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
movups xmm0, xmmword [0x1401cb1a0]
lea rbx, [0x140270e90]
mov rsi, rax
movups xmmword [0x14027d068], xmm0
cmp rbx, 0xffffffffffffffff
je 0x140025a30
cmp qword [0x140270e90], 0
mov qword [0x140270f28], rbx
je 0x140025a30
mov cl, 1
call qword [rbx + 0x40]
cmp qword [rbx + 0x48], 0
lea rbx, [rbx + 0x48]
jne 0x140025a20
mov rbx, qword [0x14027dc90]
mov rcx, qword [0x14027dc98]
cmp rbx, rcx
jae 0x140025a60
mov rax, qword [rbx]
test rax, rax
je 0x140025a57
mov cl, 1
call qword [rax + gethostname]
mov rcx, qword [0x14027dc98]
add rbx, 8
cmp rbx, rcx
jb 0x140025a43
lea r8, [0x1402719a0]
mov r9d, 0x100
mov edx, 0x64
mov rcx, rdi
mov dword [0x140271bc8], 1
call qword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [0x1401cc200]
mov edi, 1
xor r13d, r13d
mov dword [rsp + 0x58], eax
movzx eax, word [0x1401cc204]
lea rdx, [0x1401cc138]
lea rcx, str.match.dbg
mov qword [0x140271ba0], r13
mov word [rsp + 0x5c], ax
mov dword [0x140271ba8], 0x10
mov dword [0x140271bac], edi
mov qword [0x140271bb0], rdi
mov qword [0x140271bb8], r13
mov dword [0x140271bc0], r13d
mov dword [0x140271bc8], edi
mov r14d, edi
xor r15b, r15b
call fcn.140197a78
lea rdx, str.in__tWinMain_n
mov rcx, rax
mov r12, rax
call fcn.14019c35c
mov rcx, r12
call fcn.14019c230
lea rdx, [0x1401cb810]
lea rcx, [0x140271960]
mov r8d, 0x115c
mov dword [0x140271968], 0x115c
call fcn.140020c10
lea rdx, [0x1401cb810]
lea rcx, [0x140271bd8]
xor r8d, r8d
mov dword [0x140271be0], r13d
call fcn.140020c10
lea r8d, [r13 + 8]
lea rdx, [0x1401cb810]
lea rcx, [0x140271980]
mov dword [0x140271988], 8
call fcn.140020c10
lea rdx, str.RMatcher
lea rcx, [0x140271970]
call fcn.14001f170
lea rdx, [0x1401cc224]
lea rcx, [0x140271978]
call fcn.14001f170
lea rdx, str.Matching_Server
lea rcx, [0x140271998]
call fcn.14001f170
lea rdx, str.tsqRMatcher.log
lea rcx, [0x140271940]
call fcn.14001f170
lea rdx, [0x1402274a8]
lea rcx, [0x140271be8]
call fcn.14001f170
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.140012990
lea rsi, [0x1402719a0]
mov rbx, rax
test rax, rax
je 0x1400262c8
mov qword [rsp + 0x30], rax
movzx ecx, word [rax]
cmp cx, 0x20
je 0x140025c0f
test cx, cx
je 0x140025c0f
add rax, 2
mov qword [rsp + 0x30], rax
movzx ecx, word [rax]
cmp cx, 0x20
jne 0x140025bf6
jmp 0x140025c15
cmp word [rax], 0x20
jne 0x140025c1f
mov word [rax], r13w
add qword [rsp + 0x30], 2
lea rdx, str.UnregServer
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140025d34
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x140025d26
mov rax, qword [0x140270ee0]
xor r9d, r9d
lea rcx, [0x140270ee0]
lea edx, [r9 + 0x64]
xor r8d, r8d
call qword [rax + 0x40]
lea rcx, [0x140270ee0]
call fcn.140024e90
mov rbx, qword [0x140270f28]
test rbx, rbx
je 0x140025cab
cmp qword [rbx], r13
je 0x140025cab
nop
call qword [rbx + gethostname]
mov rcx, qword [rbx]
xor r8d, r8d
mov rdx, rax
call fcn.14001ffa0
test eax, eax
js 0x140025d1d
xor ecx, ecx
call qword [rbx + reloc.WS2_32.dll_htonl]
test eax, eax
js 0x140025d1d
add rbx, 0x48
cmp qword [rbx], r13
jne 0x140025c80
mov rax, qword [0x14027d090]
test rax, rax
je 0x140025cbd
call rax
test eax, eax
js 0x140025d1d
mov rdi, qword [0x14027dc90]
mov rax, qword [0x14027dc98]
mov ecx, r13d
cmp rdi, rax
jae 0x140025d0f
mov rbx, qword [rdi]
test rbx, rbx
je 0x140025d02
call qword [rbx + 0x30]
mov rcx, qword [rbx]
xor r8d, r8d
mov rdx, rax
call fcn.14001ffa0
test eax, eax
js 0x140025d1d
xor ecx, ecx
call qword [rbx + reloc.WS2_32.dll_htonl]
mov ecx, eax
test eax, eax
js 0x140025d1d
mov rax, qword [0x14027dc98]
add rdi, 8
cmp rdi, rax
jb 0x140025cd3
test ecx, ecx
js 0x140025d1d
mov rcx, qword [0x14027dc88]
xor edx, edx
call fcn.140020660
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, r13d
mov dword [0x140271bb4], eax
mov r14d, r13d
jmp 0x14002625b
lea rdx, str.RegServer
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140025d67
lea rcx, [0x140270ee0]
xor r8d, r8d
mov edx, edi
call fcn.140022fe0
mov r14d, r13d
mov dword [0x140271bb4], eax
jmp 0x14002625b
lea rdx, str.Service
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140025d9a
lea rcx, [0x140270ee0]
mov r8d, edi
mov edx, edi
call fcn.140022fe0
mov r14d, r13d
mov dword [0x140271bb4], eax
jmp 0x14002625b
lea rdx, [0x1401cc288]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140025db6
mov r15b, 1
jmp 0x14002625b
movzx eax, word [rbx]
cmp ax, 0x64
jne 0x140025e01
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.1400128f0
test rax, rax
jne 0x140025dd7
mov ecx, r13d
jmp 0x140025dea
or rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x140025de0
mov r8d, ecx
lea rcx, [0x140271998]
mov rdx, rax
call fcn.140024bd0
jmp 0x14002625b
cmp ax, 0x66
jne 0x140025e4e
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.1400128f0
mov rbx, rax
test rax, rax
jne 0x140025e22
mov ecx, r13d
jmp 0x140025e30
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x140025e26
mov r8d, ecx
lea rcx, [0x140271948]
mov rdx, rax
call fcn.140024bd0
lea rcx, [0x140271138]
jmp 0x140026253
cmp ax, 0x6a
jne 0x140025e71
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.1400128f0
lea rcx, [0x140270f38]
mov rdx, rax
jmp 0x140026256
cmp ax, 0x6f
jne 0x140025eb4
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.1400128f0
test rax, rax
jne 0x140025e8f
mov ecx, r13d
jmp 0x140025e9d
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x140025e93
mov r8d, ecx
lea rcx, [0x140271be8]
mov rdx, rax
call fcn.140024bd0
jmp 0x14002625b
cmp ax, 0x68
jne 0x140025f08
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.1400128f0
mov rbx, rax
test rax, rax
jne 0x140025ed5
mov ecx, r13d
jmp 0x140025eea
or rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x140025ee0
mov r8d, ecx
lea rcx, [0x140271950]
mov rdx, rax
call fcn.140024bd0
lea rcx, [0x140271238]
jmp 0x140026253
cmp ax, 0x48
jne 0x140025f51
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.1400128f0
test rax, rax
jne 0x140025f26
mov ecx, r13d
jmp 0x140025f3a
or rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x140025f30
mov r8d, ecx
lea rcx, [0x140271958]
mov rdx, rax
call fcn.140024bd0
jmp 0x14002625b
cmp ax, 0x50
jne 0x140025fab
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.1400128f0
mov rbx, rax
test rax, rax
jne 0x140025f72
mov ecx, r13d
jmp 0x140025f80
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x140025f76
mov r8d, ecx
lea rcx, [0x140271bd8]
mov rdx, rax
call fcn.140024bd0
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 0xa]
call fcn.14019c070
mov dword [0x140271be0], eax
jmp 0x14002625b
cmp ax, 0x69
jne 0x14002606b
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.1400128f0
or rcx, 0xffffffffffffffff
mov rdi, rax
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x140025fd0
cmp rcx, 8
ja 0x14002629c
lea rcx, [rsp + 0x60]
mov rdx, rax
call fcn.140002df0
cmp byte [rsp + 0x60], r13b
je 0x140026014
lea rbx, [rsp + 0x60]
nop dword [rax]
movsx ecx, byte [rbx]
call fcn.140199bf8
lea rbx, [rbx + 1]
mov byte [rbx - 1], al
cmp byte [rbx], r13b
jne 0x140026000
lea rdx, str.CLEANSE
lea rcx, [rsp + 0x60]
call fcn.140199618
test rax, rax
jne 0x140026274
test rdi, rdi
jne 0x140026038
mov eax, r13d
jmp 0x14002604a
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rdi + rax*2], r13w
jne 0x140026040
lea rcx, [0x140271970]
mov r8d, eax
mov rdx, rdi
call fcn.140024bd0
mov rdx, rdi
lea rcx, [0x140271438]
jmp 0x140026256
cmp ax, 0x6c
jne 0x1400260b8
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.1400128f0
mov rbx, rax
test rax, rax
jne 0x14002608c
mov ecx, r13d
jmp 0x14002609a
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x140026090
mov r8d, ecx
lea rcx, [0x140271940]
mov rdx, rax
call fcn.140024bd0
lea rcx, [0x140271038]
jmp 0x140026253
cmp ax, 0x6d
jne 0x140026115
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.1400128f0
mov rbx, rax
test rax, rax
jne 0x1400260d9
mov ecx, r13d
jmp 0x1400260ea
or rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x1400260e0
mov r8d, ecx
lea rcx, [0x140271980]
mov rdx, rax
call fcn.140024bd0
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 0xa]
call fcn.14019c070
mov dword [0x140271988], eax
jmp 0x14002625b
cmp ax, 0x6e
jne 0x140026161
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.1400128f0
mov r8, rsi
mov rdx, rax
sub r8, rax
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rdx]
lea rdx, [rdx + 2]
mov word [rdx + r8 - 2], cx
test cx, cx
jne 0x140026140
mov rdx, rax
lea rcx, [0x140271838]
jmp 0x140026256
cmp ax, 0x70
jne 0x1400261bb
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.1400128f0
mov rbx, rax
test rax, rax
jne 0x140026182
mov ecx, r13d
jmp 0x140026190
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x140026186
mov r8d, ecx
lea rcx, [0x140271960]
mov rdx, rax
call fcn.140024bd0
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 0xa]
call fcn.14019c070
mov dword [0x140271968], eax
jmp 0x14002625b
cmp ax, 0x73
jne 0x140026205
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.1400128f0
mov rbx, rax
test rax, rax
jne 0x1400261dc
mov ecx, r13d
jmp 0x1400261ea
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x1400261e0
mov r8d, ecx
lea rcx, [0x140271978]
mov rdx, rax
call fcn.140024bd0
lea rcx, [0x140271538]
jmp 0x140026253
cmp ax, 0x74
jne 0x14002625b
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.1400128f0
mov rbx, rax
test rax, rax
jne 0x140026226
mov ecx, r13d
jmp 0x14002623a
or rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x140026230
mov r8d, ecx
lea rcx, [0x140271990]
mov rdx, rax
call fcn.140024bd0
lea rcx, [0x140271638]
mov rdx, rbx
call fcn.140002df0
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x58]
call fcn.140012990
mov edi, 1
jmp 0x140025bdc
lea r8, [rsp + 0x60]
lea rdx, str.This_is_a_Matching_server._The_use_of__s_as_the_servers_id_may_not_be_appropriate.
lea rcx, [rbp - 0x30]
call fcn.140197aa8
lea rcx, [rbp - 0x30]
call fcn.140020ad0
mov eax, 1
jmp 0x140026430
lea rdx, str.The_name_of_Matching_server___s__can_not_exceed__d_characters.
lea rcx, [rbp - 0x30]
mov r9d, 8
mov r8, rax
call fcn.140197aa8
lea rcx, [rbp - 0x30]
call fcn.140020ad0
mov eax, 1
jmp 0x140026430
mov r8d, dword [0x140271968]
mov r9d, 0xffff
cmp r8d, r9d
jbe 0x140026352
lea rdx, str.The_port_number___d__cannot_be_greater_than__d.
lea rcx, [rbp - 0x30]
call fcn.140197aa8
lea r9, [rbp - 0x30]
lea rcx, [0x140270ee0]
mov r8d, 0x400003e8
movzx edx, di
mov qword [rsp + 0x20], r13
call fcn.140022050
mov rax, qword [0x140271940]
cmp word [rax], r13w
je 0x14002634b
lea rdx, [0x1402291bc]
lea rcx, [0x140271038]
call fcn.140197a78
mov rbx, rax
test rax, rax
je 0x14002634b
lea r8, [rbp - 0x30]
lea rdx, [0x140227e04]
mov rcx, rax
call fcn.14019c35c
mov rcx, rbx
call fcn.14019c0f4
mov eax, edi
jmp 0x140026430
lea rdx, str._Module.m_nDirPort_d__MAX_PORTS_d_n
mov rcx, r12
call fcn.14019c35c
mov rcx, r12
call fcn.14019c230
test r14d, r14d
je 0x14002642a
mov eax, dword [0x140271bc8]
test r15b, r15b
lea rcx, [0x1400258e0]
cmove eax, edi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x50], r13
mov dword [0x140271bc8], eax
test eax, eax
je 0x1400263c4
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x1400263bb
mov dword [0x140271bc8], r13d
jmp 0x1400263c4
cmp dword [0x140271bc8], r13d
jne 0x14002642a
mov rax, qword [0x140271940]
cmp word [rax], r13w
jne 0x1400263d8
call fcn.140012870
jmp 0x1400263fb
call fcn.14019b948
lea rdx, [0x1402291bc]
lea rcx, [0x140271038]
lea r8, [rax + 0x30]
call fcn.14019c574
mov qword [0x140271bd0], rax
lea rcx, [0x140270ee0]
call fcn.140023a30
call fcn.14019b948
lea rdx, [0x1402291bc]
lea r8, [rax + 0x30]
lea rcx, [0x1401cc134]
call fcn.14019c574
mov qword [0x140271bd0], rax
mov eax, dword [0x140271bb4]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14019ac00
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret