Function at 0x10146bb0
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x102b0014]
xor eax, ebp
mov dword [esp + 0x38], eax
mov ebx, dword [0x102b5180]
test ebx, ebx
jne 0x10146e26
push 0x24
call fcn.10216dd3
add esp, 4
mov esi, eax
mov dword [eax + 4], 0
mov dword [eax], 0
push 0xc
call fcn.10216dd3
add esp, 4
mov dword [esi + 8], eax
lea ecx, [eax + 0xc]
mov dword [esi + 0x10], ecx
mov dword [eax + 8], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [esi + 0xc], ecx
lea eax, [esi + 0x18]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], 1
mov dword [0x102b5180], esi
call fcn.1016fdd0
cmp eax, 3
je 0x10146c51
call fcn.1016fdd0
cmp eax, 4
jne 0x10146d66
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov esi, eax
test eax, eax
je 0x10146c68
push esi
call fcn.10216dd3
add esp, 4
jmp 0x10146c6a
xor eax, eax
mov ecx, dword [0x102b5180]
mov edx, esi
push eax
call fcn.10146f20
add esp, 4
mov eax, dword [0x102b5180]
cmp dword [eax + 0x1c], 0
jne 0x10146e26
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0xffffffff
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x18]
lea eax, [esp + 0x1c]
push ecx
push 0
push eax
push 2
push str.OverrideCommandLineArgs
push str.SoftwareMicrosoftEdge
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x10146e26
cmp dword [esp + 0x1c], 1
jne 0x10146e26
mov edi, dword [esp + 0x18]
xor esi, esi
cmp edi, 2
jb 0x10146d0c
and edi, 0xfffffffe
push edi
call fcn.10216dd3
add esp, 4
mov esi, eax
push edi
push 0
push eax
call fcn.10208980
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push esi
lea eax, [esp + 0x24]
push eax
push 2
push str.OverrideCommandLineArgs
push str.SoftwareMicrosoftEdge
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edi, eax
test eax, eax
jne 0x10146e15
push esi
call fcn.10216dd3
add esp, 4
cmp eax, 0x7ffffff0
jae 0x10146f11
cmp eax, 5
mov dword [esp + 8], eax
jae 0x10146da7
mov byte [esp + 0x17], al
lea ecx, [esp + 0xc]
test eax, eax
jne 0x10146dd9
jmp 0x10146df6
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov esi, eax
test eax, eax
je 0x10146d7f
push esi
call fcn.10216dd3
add esp, 4
mov edi, eax
jmp 0x10146d81
xor edi, edi
push 0
push 0xf
push str.single_argument
push edi
push esi
call fcn.1015cba0
add esp, 0x14
mov ecx, dword [0x102b5180]
mov edx, esi
push edi
call fcn.10146f20
add esp, 4
jmp 0x10146e26
mov dword [esp + 4], edi
lea edi, [eax + 8]
and edi, 0xfffffff8
lea eax, [edi + edi]
push eax
call fcn.10216dd3
add esp, 4
mov ecx, eax
mov eax, dword [esp + 8]
mov dword [esp + 0xc], ecx
or edi, 0x80000000
mov dword [esp + 0x14], edi
mov edi, dword [esp + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 8]
add eax, eax
push eax
push esi
push ecx
call fcn.10208400
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add esp, 0xc
mov word [ecx + eax*2], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
movq xmm0, qword [esp + 0xc]
movq qword [esp + 0x24], xmm0
mov byte [esp + 0x20], 1
test esi, esi
je 0x10146e22
push esi
call fcn.10205096
add esp, 4
test edi, edi
je 0x10146e40
test ebx, ebx
sete bl
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.10205d16
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], 0xffffffff
movzx eax, byte [esp + 0x2f]
test al, al
jns 0x10146e6b
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
jmp 0x10146e6f
lea ecx, [esp + 0x24]
lea esi, [esp + 0xc]
push 1
push 1
push 1
push 0x1025ad9e
push eax
push ecx
push esi
call fcn.1016ca90
add esp, 0x1c
lea edx, [esp + 0x1c]
mov ecx, esi
push dword [esp + 0xc]
call fcn.10147130
add esp, 4
mov ecx, dword [0x102b5180]
mov edx, esi
call fcn.101474a0
mov esi, dword [esp + 0xc]
test esi, esi
je 0x10146eed
mov eax, dword [esp + 0x10]
cmp eax, esi
jne 0x10146ec6
mov eax, esi
jmp 0x10146ee0
mov eax, edi
cmp esi, edi
je 0x10146edc
lea edi, [eax - 0xc]
cmp byte [eax - 1], 0
jns 0x10146ec0
push dword [eax - 0xc]
call fcn.10205096
add esp, 4
jmp 0x10146ec0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], esi
push eax
call fcn.10205096
add esp, 4
cmp byte [esp + 0x20], 0
je 0x10146e26
cmp byte [esp + 0x2f], 0
jns 0x10146e26
push dword [esp + 0x24]
call fcn.10205096
jmp 0x10146da2
lea ecx, [esp + 0xc]
call fcn.101407c4
int3