Function at 0x100404860
Capabilities:
Terminate process

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
sub rsp, 0x60
mov rax, qword [0x100422010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r12d, 1
movsxd rbx, edx
mov r14, r8
mov dword [0x1004276d0], r12d
mov esi, r12d
mov edi, 0xfffd
lea eax, [rbx - 2]
cmp eax, 0xb
ja 0x100404f87
cmp ebx, 2
jne 0x1004048cf
mov rcx, qword [r8 + 8]
movzx eax, word [rcx]
sub ax, 0x2d
test di, ax
jne 0x1004048cf
movzx eax, word [rcx + 2]
cmp ax, 0x3f
je 0x100404f87
cmp ax, 0x68
je 0x100404f87
mov qword [rsp + 0x90], rbp
lea r9d, [rbx - 1]
xor ebp, ebp
mov qword [rsp + 0x50], r15
lea r8, str.Input_parameters:__d_supplied
lea rcx, [0x100422050]
lea edx, [rbp + 2]
call fcn.100401b20
mov edi, r12d
mov r15, rbx
cmp rbx, rsi
jle 0x10040493e
mov rbx, r12
nop word [rax + rax]
mov rax, qword [r14 + rbx*8]
lea r8, str._tParameter__d:__s
mov r9d, edi
mov qword [rsp + 0x20], rax
mov edx, 2
lea rcx, [0x100422050]
call fcn.100401b20
inc edi
inc rbx
cmp rbx, r15
jl 0x100404910
test r15, r15
jle 0x100404ceb
mov qword [rsp + 0x58], r13
lea r12, str.remoteservers:print
lea r13, str.remoteservers:dump
xor edi, edi
lea r8, str.remoteservers:freeze
lea r9, str.remoteservers:resume
lea rdx, [0x100400000]
mov rbx, qword [r14 + rdi*8]
cmp word [rbx], 0x2d
jne 0x100404b1d
movzx eax, word [rbx + 2]
lea rcx, [rbx + 2]
cmp ax, 0x49
jne 0x10040499d
lea rax, [rbx + 4]
mov qword [0x100429118], rax
jmp 0x100404ccd
cmp ax, 0x53
jne 0x1004049b3
lea rax, [rbx + 4]
mov qword [0x100429120], rax
jmp 0x100404ccd
xor edx, edx
movzx eax, word [rcx + rdx*2]
cmp ax, word [r12 + rdx*2]
jne 0x1004049e3
movzx eax, word [rcx + rdx*2 + 2]
cmp ax, word [r12 + rdx*2 + 2]
jne 0x1004049e3
add rdx, 2
cmp rdx, 0x14
jne 0x1004049b5
or dword [0x10044bda4], 3
jmp 0x100404ccd
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
movzx eax, word [rcx + rdx*2 + 2]
cmp ax, word [r13 + rdx*2 + 2]
jne 0x100404a17
add rdx, 2
cmp rdx, 0x13
je 0x100404a9e
movzx eax, word [rcx + rdx*2]
cmp ax, word [r13 + rdx*2]
je 0x1004049f0
mov rdx, 0xffffffffffffffff
nop
movzx eax, word [rcx + rdx*2 + 2]
cmp ax, word [r8 + rdx*2 + 2]
jne 0x100404a42
add rdx, 2
cmp rdx, 0x15
je 0x100404aaa
movzx eax, word [rcx + rdx*2]
cmp ax, word [r8 + rdx*2]
je 0x100404a20
mov rdx, 0xffffffffffffffff
nop dword [rax]
movzx eax, word [rcx + rdx*2 + 2]
cmp ax, word [r9 + rdx*2 + 2]
jne 0x100404a72
add rdx, 2
cmp rdx, 0x15
je 0x100404ab6
movzx eax, word [rcx + rdx*2]
cmp ax, word [r9 + rdx*2]
je 0x100404a50
mov r8d, 0x1a
lea rdx, str.remoteservers:remoteinvoke
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x100404ac2
mov rdx, rbx
call fcn.10040a2f0
mov esi, eax
mov dword [0x10044bda8], eax
jmp 0x100404cbf
or dword [0x10044bda4], 0x25
jmp 0x100404ccd
or dword [0x10044bda4], 0x29
jmp 0x100404ccd
or dword [0x10044bda4], 0x31
jmp 0x100404ccd
mov r8d, 9
lea rdx, str._DumpUID:
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x100404b16
lea rcx, [rbx + 0x12]
lea rdx, [rsp + 0x38]
mov qword [0x10044c028], rcx
call qword [sym.imp.RPCRT4.dll_UuidFromStringW]
test eax, eax
je 0x100404cbf
lea rdx, str.Guid_format_for_DumpUID_is_incorrect
call fcn.10040a220
mov qword [0x10044c028], 0
jmp 0x100404cbf
lea rdx, [0x100400000]
cmp ebp, 9
ja case.default.0x100404b33
movsxd rax, ebp
mov ecx, dword [rdx + rax*4 + 0x5178]
add rcx, rdx
jmp rcx
mov r8d, 0xa
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
mov dword [0x1004290e4], eax
cmp rbx, qword [rsp + 0x30]
jne case.0x100404b33.0
lea r8, str.Invalid_value_for_process_id____ls
jmp 0x100404ca9
mov r8d, 0xa
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
mov dword [0x1004290e8], eax
cmp rbx, qword [rsp + 0x30]
jne case.0x100404b33.0
lea r8, str.Invalid_value_for_thread_id____ls
jmp 0x100404ca9
lea r9, [0x100427d44]
mov rcx, rbx
lea r8, [0x100427d40]
lea rdx, str._X:_X
call fcn.1004015a0
test eax, eax
jne 0x100404bc4
lea r8, str.Invalid_value_for_dump_flags____ls
jmp 0x100404ca9
mov edx, dword [0x100427d40]
mov r8d, 1
mov dword [0x1004290e0], edx
call fcn.100404700
test byte [0x100427d40], r8b
je case.0x100404b33.0
call qword [sym.imp.KERNEL32.dll_DebugBreak]
jmp case.0x100404b33.0
lea r8, [0x1004290d8]
mov rcx, rbx
lea rdx, [0x100416f08]
call fcn.1004015a0
test eax, eax
jne case.0x100404b33.0
mov qword [0x1004290d8], 0
lea r8, str.Invalid_value_for_DumpInfo____ls
jmp 0x100404ca9
mov qword [0x1004290f0], rbx
jmp case.0x100404b33.0
lea r8, [0x1004290f8]
mov rcx, rbx
lea rdx, [0x100416f08]
call fcn.1004015a0
test eax, eax
jne case.0x100404b33.0
mov qword [0x1004290f8], 0
lea r8, str.Invalid_value_for_exception_record____ls
jmp 0x100404ca9
lea r8, [0x100429100]
mov rcx, rbx
lea rdx, [0x100416f08]
call fcn.1004015a0
test eax, eax
jne case.0x100404b33.0
mov qword [0x100429100], 0
lea r8, str.Invalid_value_for_exception_context____ls
jmp 0x100404ca9
mov qword [0x100429108], rbx
jmp case.0x100404b33.0
mov qword [0x100429110], rbx
jmp case.0x100404b33.0
lea r8, str.Unknown_parameter____ls
xor esi, esi
lea rcx, [0x100422050]
mov r9, rbx
lea edx, [rsi + 1]
call fcn.100401b20
inc ebp
lea r9, str.remoteservers:resume
lea r8, str.remoteservers:freeze
inc rdi
lea rdx, [0x100400000]
cmp rdi, r15
jl 0x100404971
mov r13, qword [rsp + 0x58]
mov r12d, 1
mov ecx, dword [0x10044bda4]
mov r15, qword [rsp + 0x50]
and ecx, 0xffffffde
mov rbp, qword [rsp + 0x90]
lea eax, [rcx - 1]
test ecx, eax
je 0x100404d20
lea r8, str.Only_one_distributed_dumping_option_should_be_present
mov edx, r12d
lea rcx, [0x100422050]
call fcn.100401b20
xor esi, esi
cmp dword [0x10044bda4], 0
je 0x100404f70
test dword [0x100427d40], 0x40000
je 0x100404f70
lea r8, str.Cannot_specify_remote_options_with_no_remote_activation_flag
mov edx, r12d
lea rcx, [0x100422050]
call fcn.100401b20
xor esi, esi
or dword [0x100422040], 0x20001000
lea r8, str.Parameter_error
mov edx, r12d
lea rcx, [0x100422050]
call fcn.100401b20
movzx eax, byte [0x100426470]
lea r8, str.Parsed_parameters:
test dword [0x100427d40], 0x100
lea rcx, [0x100422050]
mov edx, 2
cmovne eax, r12d
mov byte [0x100426470], al
call fcn.100401b20
mov r9d, dword [0x1004290e4]
lea r8, str.____ProcessID___d
mov edx, 2
lea rcx, [0x100422050]
call fcn.100401b20
mov r9d, dword [0x1004290e8]
lea r8, str.____ThreadId___d
mov edx, 2
lea rcx, [0x100422050]
call fcn.100401b20
mov r9d, dword [0x100427d40]
lea r8, str.____Flags__0x_X
mov edx, 2
lea rcx, [0x100422050]
call fcn.100401b20
mov r9d, dword [0x100427d44]
lea r8, str.____MiniDumpFlags__0x_X
mov edx, 2
lea rcx, [0x100422050]
call fcn.100401b20
mov r9, qword [0x1004290d8]
lea r8, str.____SqlInfoPtr__0x_p
mov edx, 2
lea rcx, [0x100422050]
call fcn.100401b20
mov rax, qword [0x1004290f0]
lea rbx, str._NULL_
test rax, rax
lea r8, str.____DumpDir___ls
mov r9, rbx
lea rcx, [0x100422050]
cmovne r9, rax
mov edx, 2
call fcn.100401b20
mov r9, qword [0x1004290f8]
lea r8, str.____ExceptionRecordPtr__0x_p
mov edx, 2
lea rcx, [0x100422050]
call fcn.100401b20
mov r9, qword [0x100429100]
lea r8, str.____ContextPtr__0x_p
mov edx, 2
lea rcx, [0x100422050]
call fcn.100401b20
mov rax, qword [0x100429108]
lea r8, str.____ExtraFile___ls
test rax, rax
lea rcx, [0x100422050]
mov r9, rbx
mov edx, 2
cmovne r9, rax
call fcn.100401b20
mov rax, qword [0x100429110]
lea r8, str.____PatternForExtraFiles___ls
test rax, rax
lea rcx, [0x100422050]
mov r9, rbx
mov edx, 2
cmovne r9, rax
call fcn.100401b20
mov rax, qword [0x100429118]
lea r8, str.____InstanceName___ls
test rax, rax
lea rcx, [0x100422050]
mov r9, rbx
mov edx, 2
cmovne r9, rax
call fcn.100401b20
mov rax, qword [0x100429120]
lea r8, str.____ServiceName___ls
test rax, rax
cmovne rbx, rax
mov r9, rbx
mov edx, 2
lea rcx, [0x100422050]
call fcn.100401b20
mov eax, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1004119e0
add rsp, 0x60
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
test esi, esi
je 0x100404d55
mov dword [0x1004276d0], 2
jmp 0x100404d75
mov rdx, qword [r8]
lea rcx, str.Usage:__ls__ProcessID__ThreadId__Flags_:MiniDumpFlags___SqlInfoPtr__DumpDir__ExceptionRecordPtr__ContextPtr__ExtraFile__PatternForExtraFiles____________I_InstanceName_____S_ServiceName____remoteservers:_printdumpfreezeresumeremote:guiddumporigin_signaturelocalIdportoperationType____DumpUID:guid__n
call fcn.1004014d0
cmp ebx, 2
jne 0x10040516b
mov rcx, qword [r14 + 8]
movzx eax, word [rcx]
sub ax, 0x2d
test di, ax
jne 0x10040516b
movzx eax, word [rcx + 2]
cmp ax, 0x3f
je 0x100404fc7
cmp ax, 0x68
jne 0x10040516b
lea rcx, str.__Flags:_n
call fcn.1004014d0
lea rcx, str.____dbgbreak__________________________0x0001_n
call fcn.1004014d0
lea rcx, str.____nominidump________________________0x0002_n
call fcn.1004014d0
lea rcx, str.____validate_image____________________0x0004_n
call fcn.1004014d0
lea rcx, str.____referenced_memory_________________0x0008_n
call fcn.1004014d0
lea rcx, str.____all_memory________________________0x0010_n
call fcn.1004014d0
lea rcx, str.____dump_all_threads__________________0x0020_n
call fcn.1004014d0
lea rcx, str.____match_file_name___________________0x0040_n
call fcn.1004014d0
lea rcx, str.____no_longer_used_flag_______________0x0080_n
call fcn.1004014d0
lea rcx, str.____verbose___________________________0x0100_n
call fcn.1004014d0
lea rcx, str.____wait_at_exit______________________0x0200_n
call fcn.1004014d0
lea rcx, str.____send_to_watson____________________0x0400_n
call fcn.1004014d0
lea rcx, str.____defaultflags______________________0x0800_n
call fcn.1004014d0
lea rcx, str.____maximumdump_______________________0x1000_n
call fcn.1004014d0
lea rcx, str.____mini_and_maxdump__________________0x2000_n
call fcn.1004014d0
lea rcx, str.____force_send_to_watson______________0x4000_n
call fcn.1004014d0
lea rcx, str.____full_filtered_dump________________0x8000_n
call fcn.1004014d0
lea rcx, str.____no_auto_remote_dump_invocation____0x40000_n
call fcn.1004014d0
lea rcx, str.____process_name_in_dump_name_________0x1000000_n
call fcn.1004014d0
lea rcx, [0x1004166e4]
call fcn.1004014d0
lea rcx, [0x1004166e8]
call fcn.1004014d0
lea rcx, str.____Normal____________________________0x0000_n
call fcn.1004014d0
lea rcx, str.____WithDataSegs______________________0x0001_n
call fcn.1004014d0
lea rcx, str.____WithFullMemory____________________0x0002_n
call fcn.1004014d0
lea rcx, str.____WithHandleData____________________0x0004_n
call fcn.1004014d0
lea rcx, str.____FilterMemory______________________0x0008_n
call fcn.1004014d0
lea rcx, str.____ScanMemory________________________0x0010_n
call fcn.1004014d0
lea rcx, str.____WithUnloadedModules_______________0x0020_n
call fcn.1004014d0
lea rcx, str.____WithIndirectlyReferencedMemory____0x0040_n
call fcn.1004014d0
lea rcx, str.____FilterModulePaths_________________0x0080_n
call fcn.1004014d0
lea rcx, str.____WithProcessThreadData_____________0x0100_n
call fcn.1004014d0
lea rcx, str.____WithPrivateReadWriteMemory________0x0200_n
call fcn.1004014d0
lea rcx, str.____WithoutOptionalData_______________0x0400_n
call fcn.1004014d0
lea rcx, str.____WithFullMemoryInfo________________0x0800_n
call fcn.1004014d0
lea rcx, str.____WithThreadInfo____________________0x1000_n
call fcn.1004014d0
mov ecx, 0x20001000
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3