Function at 0x140007740
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401411c8]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov qword [rsp + 0x38], rcx
lea rdx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_shcore_obsolete_l1_1_0.dll_CommandLineToArgvW]
mov r15, rax
xor r12d, r12d
test rax, rax
jne 0x1400077b0
mov rcx, qword [rbp + 0x98]
lea r8, str.onecoreuap_adminwebbhttpsrvexepackagedpluginsupport.cpp
lea edx, [rax + 0x19]
call fcn.1400036b8
jmp 0x140007c4d
cmp dword [rsp + 0x20], 8
jge 0x14000782c
cmp dword [0x140142444], 2
jb 0x1400077d1
lea rdx, str.usage:_webmanagement.exe__Sponsor__appServiceName_packageFamilyName_requestQueueEventName_httpPort_httpsPort_debugMode_traceLevel_traceFlags__contentRoute___contentPath___n
mov ecx, 2
call fcn.14003929c
lea r15, section..data
mov rcx, qword [section..data]
cmp rcx, r15
je 0x140007805
test byte [rcx + 0x1c], 2
je 0x140007805
cmp byte [rcx + 0x19], 2
jb 0x140007805
mov edx, 0xa
lea r8, [0x1400fba08]
mov rcx, qword [rcx + 0x10]
call fcn.1400075e4
mov rcx, qword [rbp + 0x98]
mov ebx, 0x80070057
mov r9d, ebx
lea r8, str.onecoreuap_adminwebbhttpsrvexepackagedpluginsupport.cpp
mov edx, 0x1d
call fcn.140003684
mov eax, ebx
jmp 0x140007c4d
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x48], rax
mov ebx, 0xa
mov r8d, ebx
xor edx, edx
mov rcx, qword [r15 + 0x18]
call qword [sym.imp.msvcrt.dll_wcstoul]
mov dword [rsp + 0x24], eax
mov r8d, ebx
xor edx, edx
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.msvcrt.dll_wcstoul]
mov dword [rsp + 0x28], eax
mov rcx, qword [r15 + 0x28]
movzx edi, word [rcx]
mov r8d, ebx
xor edx, edx
mov rcx, qword [r15 + 0x30]
call qword [sym.imp.msvcrt.dll_wcstoul]
mov dword [0x140142444], eax
xor edx, edx
lea r8d, [rbx + 6]
mov rcx, qword [r15 + 0x38]
call qword [sym.imp.msvcrt.dll__wcstoui64]
mov qword [0x140141260], rax
mov eax, 0x1000
mov r8d, 0x800
cmp di, 0x30
cmovne r8d, eax
xor edx, edx
lea rcx, str.wdp.dll
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rbp - 0x58], rax
test rax, rax
jne 0x1400078d2
lea r9d, [rbx + 0x74]
lea edx, [rbx + 0x22]
jmp 0x1400078f3
lea rdx, str.ExecutePackagedPlugin
mov rcx, rsi
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14000790e
lea r9d, [rax + 0x7f]
lea edx, [rax + 0x32]
lea r8, str.onecoreuap_adminwebbhttpsrvexepackagedpluginsupport.cpp
mov rcx, qword [rbp + 0x98]
call fcn.140008688
mov r14d, eax
jmp 0x140007c3c
lea rdx, str.SetDebugTracing
mov rcx, rsi
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetProcAddress]
test rax, rax
je 0x140007941
mov r8d, r12d
cmp di, 0x30
setne r8b
mov rdx, qword [0x140141260]
mov ecx, dword [0x140142444]
call qword [0x1400f5e38]
mov rdx, qword [r15 + 0x10]
lea rcx, [rbp - 0x40]
call fcn.140007434
cmp qword [rax + 0x18], 8
jb 0x140007958
mov rax, qword [rax]
mov r8, rax
xor edx, edx
mov ebx, 0x100002
mov ecx, ebx
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_OpenEventW]
mov rdi, rax
mov qword [rbp - 0x50], rax
cmp qword [rbp - 0x28], 8
jb 0x140007982
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov r14d, 7
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x30], r12
mov word [rbp - 0x40], r12w
mov rdx, qword [r15 + 0x10]
lea rcx, [rbp - 0x20]
call fcn.14000750c
cmp qword [rax + 0x18], 8
jb 0x1400079ac
mov rax, qword [rax]
mov r8, rax
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_OpenEventW]
mov rbx, rax
mov qword [rbp - 0x48], rax
cmp qword [rbp - 8], 8
jb 0x1400079d1
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 8], r14
mov qword [rbp - 0x10], r12
mov word [rbp - 0x20], r12w
test rdi, rdi
jne 0x1400079e8
lea edx, [rdi + 0x3f]
jmp 0x1400079f0
test rbx, rbx
jne 0x140007a0b
lea edx, [rbx + 0x40]
lea r8, str.onecoreuap_adminwebbhttpsrvexepackagedpluginsupport.cpp
mov rcx, qword [rbp + 0x98]
call fcn.1400036b8
mov r14d, eax
jmp 0x140007c14
mov r13, qword [r15 + 0x10]
or r14, 0xffffffffffffffff
mov r12, r14
xor eax, eax
inc r12
cmp word [r13 + r12*2], ax
jne 0x140007a18
mov eax, 0xffffffff
cmp r12, rax
jbe 0x140007a45
mov r12d, eax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov ecx, 0xc000000d
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_RaiseException]
lea r9, [rbp]
lea r8, [rbp + 8]
mov edx, r12d
mov rcx, r13
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference]
lea r13, [0x1400fba04]
cmp dword [rsp + 0x20], 8
jle 0x140007a6d
mov rax, qword [r15 + 0x40]
jmp 0x140007a70
mov rax, r13
mov qword [rsp + 0x30], rax
mov r12, r14
xor ecx, ecx
inc r12
cmp word [rax + r12*2], cx
jne 0x140007a7a
mov ecx, 0xffffffff
cmp r12, rcx
jbe 0x140007aab
mov r12d, ecx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov ecx, 0xc000000d
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_RaiseException]
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x28]
mov edx, r12d
mov rcx, rax
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference]
cmp dword [rsp + 0x20], 9
jle 0x140007aca
mov r13, qword [r15 + 0x48]
xor r12d, r12d
inc r14
cmp word [r13 + r14*2], r12w
jne 0x140007acd
mov eax, 0xffffffff
cmp r14, rax
jbe 0x140007afa
mov r14d, eax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov ecx, 0xc000000d
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_RaiseException]
lea r9, [rbp + 0x40]
lea r8, [rbp + 0x48]
mov edx, r14d
mov rcx, r13
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rbx
mov rax, qword [rbp]
mov qword [rbp - 0x80], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp - 0x78], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp - 0x70], rax
mov eax, dword [rsp + 0x24]
mov word [rbp - 0x68], ax
mov eax, dword [rsp + 0x28]
mov word [rbp - 0x66], ax
mov byte [rbp - 0x64], r12b
mov r13d, 4
mov r14, qword [rsp + 0x38]
cmp dword [0x140142444], r13d
jb 0x140007b7e
mov r8, r14
lea rdx, str.WDP_Packaged_Plugin:_Sponsor_Executing:__S
mov ecx, r13d
call fcn.14003929c
lea r15, section..data
mov rcx, qword [section..data]
cmp rcx, r15
je 0x140007bb5
test byte [rcx + 0x1c], 2
je 0x140007bb5
cmp byte [rcx + 0x19], r13b
jb 0x140007bb5
mov edx, ntohs
mov r9, r14
lea r8, [0x1400fba08]
mov rcx, qword [rcx + 0x10]
call fcn.1400076d8
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x50]
call qword [0x1400f5e38]
mov r14d, eax
cmp dword [0x140142444], r13d
jb 0x140007be3
mov r8d, eax
lea rdx, str.WDP_Packaged_Plugin:_Sponsor_Terminated:_0x_x
mov ecx, r13d
call fcn.14003929c
mov rcx, qword [section..data]
cmp rcx, r15
je 0x140007c14
test byte [rcx + 0x1c], 2
je 0x140007c14
cmp byte [rcx + 0x19], r13b
jb 0x140007c14
mov edx, ntohs
mov r9d, r14d
lea r8, [0x1400fba08]
mov rcx, qword [rcx + 0x10]
call fcn.140007608
nop
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140007c28
mov rcx, rbx
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_CloseHandle]
nop
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140007c3c
mov rcx, rdi
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_CloseHandle]
nop
test rsi, rsi
je 0x140007c4a
mov rcx, rsi
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_FreeLibrary]
mov eax, r14d
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1400c20a0
lea r11, [rsp + 0x170]
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