Function at 0x14000d160
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
sub rsp, 0x858
mov rax, qword [0x1400a7430]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rsi, rcx
xor edi, edi
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x34], edi
xor edx, edx
mov dword [rsp + 0x30], edi
mov r8d, 0x800
call fcn.14002a530
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetCurrentPackageFamilyName
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000d23c
mov rdx, rsi
mov dword [rsp + 0x38], 0x400
lea rcx, [rsp + 0x38]
call rax
test eax, eax
jne 0x14000d23c
mov r8d, dword [rsp + 0x38]
lea rcx, [rsi + 0x800]
add r8d, r8d
mov rdx, rsi
call fcn.14000e0e0
test eax, eax
jne 0x14000d23c
mov rcx, rsi
test rsi, rsi
je 0x14000d227
cmp word [rsi], di
je 0x14000d227
nop dword [rax + rax]
cmp edi, 0x400
jae 0x14000d227
movzx edx, word [rcx]
lea eax, [rdx - 0x41]
cmp ax, 0x19
ja 0x14000d21b
add dx, 0x20
mov word [rcx], dx
add rcx, 2
inc edi
cmp word [rcx], 0
jne 0x14000d200
and dword [rsi + 0x818], 0xfffffff9
or dword [rsi + 0x818], 0x40
xor eax, eax
jmp 0x14000d641
mov qword [rsp + 0x878], rbx
mov r8d, 0x400
mov qword [rsp + 0x880], rbp
mov rdx, rsi
mov qword [rsp + 0x888], r14
xor ecx, ecx
mov qword [rsp + 0x850], r15
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r14d, eax
mov r15d, 0x3ff
test eax, eax
je 0x14000d497
lea rax, [rsp + 0x30]
xor r8d, r8d
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov edx, r14d
mov rcx, rsi
call fcn.14000cde0
lea rcx, [rsp + 0x40]
mov rbx, rax
test rsi, rsi
je 0x14000d2dd
mov edx, edi
cmp word [rsi], dx
je 0x14000d2da
lea rax, [rsp + 0x40]
mov r8, rsi
sub r8, rax
lea r9d, [r14 - 1]
nop
cmp edx, r9d
jae 0x14000d2da
movzx eax, word [r8 + rcx]
inc edx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], di
jne 0x14000d2c0
mov word [rcx], di
lea rdx, str.java.exe
mov rcx, rbx
call fcn.140029c1c
test rax, rax
jne 0x14000d309
lea rdx, str.javaw.exe
mov rcx, rbx
call fcn.140029c1c
test rax, rax
je 0x14000d3cf
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rbp, rax
test rax, rax
je 0x14000d3cf
lea rdx, str..main
mov rcx, rax
call fcn.140029c1c
test rax, rax
je 0x14000d3cf
cmp word [rax], 0x20
je 0x14000d34f
nop dword [rax]
cmp rax, rbp
je 0x14000d34f
sub rax, 2
cmp word [rax], 0x20
jne 0x14000d340
add rax, 2
lea rdx, [rbx + 4]
mov ecx, edi
mov r9, rdi
mov r10d, 0xffdf
movzx r8d, word [rax]
test r10w, r8w
je 0x14000d3bb
mov word [rdx - 4], r8w
movzx r8d, word [rax + 2]
cmp r8w, 0x20
je 0x14000d3b9
test r8w, r8w
je 0x14000d3b9
mov word [rdx - 2], r8w
movzx r8d, word [rax + 4]
cmp r8w, 0x20
je 0x14000d3b4
test r8w, r8w
je 0x14000d3b4
mov word [rdx], r8w
add rax, 6
add rdx, 6
add r9, 3
add ecx, 3
cmp r9, r15
jl 0x14000d362
jmp 0x14000d3bb
add ecx, 2
jmp 0x14000d3bb
inc ecx
movsxd rax, ecx
mov word [rbx + rax*2], di
mov eax, 1
cmp ecx, 0x400
jl 0x14000d3d1
mov eax, edi
cmp word [rbx], di
je 0x14000d45c
cmp eax, 1
jne 0x14000d491
mov rcx, rbx
mov r8d, edi
nop dword [rax]
cmp r8d, 0x400
jae 0x14000d418
movzx edx, word [rcx]
lea eax, [rdx - 0x41]
cmp ax, 0x19
ja 0x14000d40c
add dx, 0x20
mov word [rcx], dx
add rcx, 2
inc r8d
cmp word [rcx], di
jne 0x14000d3f0
mov rcx, rbx
mov r8d, edi
cmp word [rbx], di
je 0x14000d438
cmp r8d, 0x400
jae 0x14000d438
add rcx, 2
inc r8d
cmp word [rcx], di
jne 0x14000d423
lea r8d, [r8*2 + 2]
mov rdx, rbx
lea rcx, [rsi + 0x800]
call fcn.14000e0e0
test eax, eax
setne dil
mov eax, edi
jmp 0x14000d621
mov edx, edi
mov rcx, rbx
cmp word [rsp + 0x40], dx
je 0x14000d48e
lea r8, [rsp + 0x40]
sub r8, rbx
lea r9d, [r14 - 1]
cmp edx, r9d
jae 0x14000d48e
movzx eax, word [r8 + rcx]
inc edx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], di
jne 0x14000d474
mov word [rcx], di
cmp dword [rsp + 0x34], edi
jne 0x14000d509
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
test rax, rax
je 0x14000d5e3
mov rcx, rax
mov ebp, edi
cmp word [rax], di
je 0x14000d4c6
cmp ebp, 0x400
jae 0x14000d4cc
add rcx, 2
inc ebp
cmp word [rcx], di
jne 0x14000d4b3
cmp ebp, 0x400
cmovae ebp, r15d
mov rcx, rsi
lea rbx, [rbp*2]
mov r8, rbx
call fcn.14002a6f0
lea rax, [rsp + 0x30]
mov word [rbx + rsi], di
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r8d, 1
mov edx, ebp
mov rcx, rsi
call fcn.14000cde0
mov rbx, rax
test rbx, rbx
je 0x14000d5e3
cmp dword [rsp + 0x30], edi
jne 0x14000d5de
test byte [rsi + 0x818], 4
je 0x14000d5de
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x800
call fcn.14002a530
lea rax, [rsp + 0x40]
mov ecx, 8
nop word [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
lea rbx, [rbx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rbx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rbx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rbx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rbx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rbx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rbx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rcx, 1
jne 0x14000d550
xor r9d, r9d
lea rcx, [rsp + 0x40]
mov r8, rsi
mov edx, 0x400
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov ecx, eax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov edx, eax
mov word [rsi + rcx*2], di
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov rcx, rsi
call fcn.14000cde0
mov rbx, rax
test rbx, rbx
jne 0x14000d5e9
mov word [rsi], di
mov rbx, rsi
mov rax, rbx
test rbx, rbx
je 0x14000d60a
cmp word [rbx], di
je 0x14000d60a
cmp edi, 0x400
jae 0x14000d60a
add rax, 2
inc edi
cmp word [rax], 0
jne 0x14000d5f6
lea r8d, [rdi*2 + 2]
mov rdx, rbx
lea rcx, [rsi + 0x800]
call fcn.14000e0e0
mov r14, qword [rsp + 0x888]
mov rbp, qword [rsp + 0x880]
mov rbx, qword [rsp + 0x878]
mov r15, qword [rsp + 0x850]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.140027f90
add rsp, 0x858
pop rdi
pop rsi
ret