Function at 0x10162ded
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov edi, ecx
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
movzx eax, byte [edx + 0xb]
test al, al
jns 0x10162e1a
mov eax, dword [edx + 4]
mov edx, dword [edx]
lea esi, [ebp - 0x24]
push esi
push 3
push eax
push edx
call fcn.101f2880
add esp, 0x10
movzx eax, byte [esi + 0xb]
mov ecx, eax
test al, al
jns 0x10162e37
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x1016309d
mov dword [ebp - 0x70], edi
xor edi, edi
mov ecx, esi
push 9
push str.exe_path
push edi
call fcn.101e0dd8
mov dword [ebp - 0x28], edi
cmp byte [ebp - 0x19], 0
jns 0x10162e5f
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x1016309a
mov esi, eax
xor ebx, ebx
dec ebx
lea edi, [ebp - 0x50]
mov dword [edi + 0x24], ebx
mov dword [edi + 0x20], ebx
pcmpeqd xmm0, xmm0
movdqu xmmword [edi + 0x10], xmm0
movdqu xmmword [edi], xmm0
mov ecx, edi
push eax
push dword [ebp - 0x28]
call fcn.1022a1d0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea esi, [ebp - 0x5c]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov ebx, str.disable_features
push ebx
call fcn.1030f980
add esp, 4
mov ecx, edi
mov dword [ebp - 0x6c], eax
push eax
push ebx
push esi
call fcn.1022b3c0
movzx ecx, byte [esi + 0xb]
mov eax, ecx
test cl, cl
jns 0x10162ed2
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x10162f54
test cl, cl
jns 0x10162edd
mov esi, dword [ebp - 0x5c]
lea edi, [ebp - 0x68]
push eax
push esi
push edi
call fcn.10227cb0
add esp, 0xc
mov esi, dword [edi]
mov edi, dword [edi + 4]
cmp esi, edi
je 0x10162f44
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
sub esp, 0x14
mov cl, byte [ebp - 0x14]
mov byte [esp + 0x10], cl
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
lea eax, [ebp - 0x18]
mov dword [esp], eax
call fcn.1016723f
add esp, 0x14
cmp dword [ebp - 0x18], ebx
jne 0x10162f3a
push esi
push dword [ebp + 0xc]
call fcn.10167078
add esp, 8
mov ecx, dword [ebp + 8]
push esi
call fcn.101670de
add esi, 8
cmp esi, edi
jne 0x10162ef4
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x10162f54
mov dword [ebp - 0x64], esi
push esi
call fcn.102f3c66
add esp, 4
lea esi, [ebp - 0x50]
mov ecx, esi
push dword [ebp - 0x6c]
push str.disable_features
call fcn.1022bf00
mov ebx, str.enable_features
push ebx
call fcn.1030f980
add esp, 4
lea edi, [ebp - 0x68]
mov ecx, esi
mov dword [ebp - 0x6c], eax
push eax
push ebx
push edi
call fcn.1022b3c0
cmp byte [ebp - 0x51], 0
jns 0x10162f95
push dword [ebp - 0x5c]
call fcn.102f3c66
add esp, 4
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x54], eax
movsd xmm0, qword [ebp - 0x68]
movsd qword [ebp - 0x5c], xmm0
movzx ecx, byte [ebp - 0x51]
mov eax, ecx
test cl, cl
jns 0x10162fb2
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x10163060
test cl, cl
jns 0x10162fc3
mov ecx, dword [ebp - 0x5c]
jmp 0x10162fc6
lea ecx, [ebp - 0x5c]
push eax
push ecx
push edi
call fcn.10227cb0
add esp, 0xc
mov esi, dword [ebp - 0x68]
mov edi, dword [ebp - 0x64]
cmp esi, edi
je 0x10163050
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
sub esp, 0x14
mov cl, byte [ebp - 0x14]
mov byte [esp + 0x10], cl
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
lea eax, [ebp - 0x18]
mov dword [esp], eax
call fcn.1016723f
add esp, 0x14
cmp dword [ebp - 0x18], ebx
jne 0x10163046
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
sub esp, 0x14
mov cl, byte [ebp - 0x14]
mov byte [esp + 0x10], cl
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
lea eax, [ebp - 0x18]
mov dword [esp], eax
call fcn.1016723f
add esp, 0x14
cmp dword [ebp - 0x18], ebx
jne 0x10163046
mov ecx, dword [ebp + 0xc]
push esi
call fcn.101670de
add esi, 8
cmp esi, edi
jne 0x10162fdb
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x10163060
mov dword [ebp - 0x64], esi
push esi
call fcn.102f3c66
add esp, 4
lea esi, [ebp - 0x50]
mov ecx, esi
push dword [ebp - 0x6c]
push str.enable_features
call fcn.1022bf00
mov ecx, dword [ebp - 0x70]
mov edx, esi
push 1
call fcn.101630be
add esp, 4
cmp byte [ebp - 0x51], 0
jns 0x10163092
push dword [ebp - 0x5c]
call fcn.102f3c66
add esp, 4
lea ecx, [ebp - 0x50]
call fcn.1022a520
mov al, byte [ebp - 0x19]
test al, al
jns 0x101630ac
push dword [ebp - 0x24]
call fcn.102f3c66
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102f4c53
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret