Function at 0x4a67e0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x14]
dec eax
cmp eax, 6
ja case.0x4a67fc.3
jmp dword [eax*4 + 0x4a6e1c]
call fcn.0047aee0
cmp dword [eax + 0xbc], 0
jbe 0x4a68c4
sub esp, 0x18
mov esi, esp
call fcn.0047aee0
add eax, 0xac
mov ecx, esi
push eax
call fcn.00403190
lea eax, [ebp - 0x60]
push eax
call fcn.0046fab0
add esp, 0x1c
lea ecx, [ebp - 0x30]
push 0x581d80
call fcn.00402fa0
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0048cfb0
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00401540
add esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.00403070
lea ecx, [ebp - 0x30]
call fcn.00403070
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0xf
push eax
mov byte [ebp - 0x18], 0
call fcn.00401830
add esp, 0xc
lea eax, [ebp - 0x18]
cmp dword [ebp - 4], 0x10
cmovae eax, dword [ebp - 0x18]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [ebp - 0x18]
call fcn.00402770
lea ecx, [ebp - 0x60]
call fcn.00403070
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.0048cfb0
cmp dword [eax + 0x14], 8
jb 0x4a68d7
mov eax, dword [eax]
push 1
push 0
push eax
push str.explorer.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x60]
call fcn.00403070
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x597624
lea ecx, [ebp - 0x78]
call fcn.00402fa0
push 0x597624
lea ecx, [ebp - 0x18]
call fcn.00402fa0
push 0x20a
lea eax, [ebp - 0x2f0]
push 0
push eax
call sub.msvcrt.dll_memset
mov esi, dword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea eax, [ebp + 8]
add esp, 0xc
mov dword [ebp + 8], 0x20a
push eax
lea eax, [ebp - 0x2f0]
push eax
push 0
push 2
push str.Progid
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationsHttpUserChoice_
push 0x80000001
call esi
test eax, eax
jne 0x4a6a8e
lea ecx, [ebp - 0x2f0]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a6970
sub ecx, edx
lea eax, [ebp - 0x2f0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00402e60
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0x30]
call fcn.00402fa0
push 0x14
push str._shellopencommand_
lea ecx, [ebp - 0x30]
call fcn.00402350
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x2f0]
mov dword [ebp + 8], 0x20a
push ecx
push 0
push 2
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push 0
push eax
push 0x80000000
call esi
test eax, eax
jne 0x4a6a86
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004018b0
add esp, 8
lea ecx, [ebp - 0x78]
push eax
call fcn.0040f730
lea ecx, [ebp - 0x48]
call fcn.00403070
cmp dword [ebp - 0x68], 1
jbe 0x4a6a66
mov esi, dword [ebp - 0x64]
lea eax, [ebp - 0x78]
mov ebx, dword [ebp - 0x78]
cmp esi, 8
cmovae eax, ebx
cmp word [eax], 0x22
jne 0x4a6a66
push 1
xor eax, eax
mov dword [ebp - 0x38], 0
push 0x581d10
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.0041dfb0
lea ecx, [eax - 1]
mov eax, dword [ebp - 0x68]
dec eax
cmp eax, ecx
cmovb ecx, eax
cmp esi, 8
lea eax, [ebp - 0x78]
cmovae eax, ebx
push ecx
add eax, 2
lea ecx, [ebp - 0x48]
push eax
call fcn.00402e60
jmp 0x4a6a72
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x48]
call fcn.00403190
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x78]
call fcn.0040f730
lea ecx, [ebp - 0x48]
call fcn.00403070
lea ecx, [ebp - 0x30]
call fcn.00403070
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x60]
call fcn.00403190
push 0x597624
lea ecx, [ebp - 0x90]
call fcn.00402fa0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00401570
add esp, 8
lea ecx, [ebp - 0x18]
push eax
call fcn.0040f730
lea ecx, [ebp - 0x30]
call fcn.00403070
push 0
push str.msedge
lea ecx, [ebp - 0x18]
call fcn.0041dfb0
test eax, eax
jne 0x4a6af4
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0048cfb0
push eax
push str._inprivate
jmp 0x4a6b88
push 0
push str.firefox
lea ecx, [ebp - 0x18]
call fcn.0041dfb0
test eax, eax
jne 0x4a6b1a
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0048cfb0
push eax
push str._private_window
jmp 0x4a6b88
push 0
push str.chrome
lea ecx, [ebp - 0x18]
call fcn.0041dfb0
test eax, eax
jne 0x4a6b40
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0048cfb0
push eax
push str.__incognito
jmp 0x4a6b88
push 0
push str.opera
lea ecx, [ebp - 0x18]
call fcn.0041dfb0
test eax, eax
jne 0x4a6b66
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0048cfb0
push eax
push str.__private
jmp 0x4a6b88
push 0
push 0x581f30
lea ecx, [ebp - 0x18]
call fcn.0041dfb0
test eax, eax
mov ecx, edi
lea eax, [ebp - 0x48]
push eax
call fcn.0048cfb0
push eax
push str._private
lea eax, [ebp - 0x30]
push eax
call fcn.00472600
add esp, 0xc
lea ecx, [ebp - 0x90]
push eax
call fcn.0040f730
lea ecx, [ebp - 0x30]
call fcn.00403070
lea ecx, [ebp - 0x48]
call fcn.00403070
cmp dword [ebp - 0x50], 0
je 0x4a6be7
cmp dword [ebp - 0x7c], 8
lea ecx, [ebp - 0x90]
push 1
cmovae ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 8
push 0
cmovae eax, dword [ebp - 0x60]
push ecx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4a6c16
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.0048cfb0
cmp dword [eax + 0x14], 8
jb 0x4a6bfa
mov eax, dword [eax]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x30]
call fcn.00403070
lea ecx, [ebp - 0x90]
call fcn.00403070
lea ecx, [ebp - 0x60]
call fcn.00403070
lea ecx, [ebp - 0x18]
call fcn.00403070
lea ecx, [ebp - 0x78]
call fcn.00403070
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 1
push edi
call fcn.004a5020
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x60]
xorps xmm0, xmm0
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xe4]
push eax
mov dword [ebp - 0xdc], 0
movlpd qword [ebp - 0xd4], xmm0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc4], 0
movlpd qword [ebp - 0xbc], xmm0
movlpd qword [ebp - 0xb4], xmm0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xe4], 0x3c
mov dword [ebp - 0xd8], str.open
mov dword [ebp - 0xc8], 1
mov dword [ebp - 0xe0], 4
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0xa8]
mov ecx, edi
push eax
call fcn.0048d360
cmp dword [ebp - 0x98], 0
jne 0x4a6d56
sub esp, 0x18
mov ecx, edi
push esp
call fcn.0048cfb0
lea eax, [ebp - 0x60]
push eax
call fcn.0048cde0
mov esi, eax
add esp, 0x1c
lea eax, [ebp - 0xa8]
cmp eax, esi
je 0x4a6d4e
mov ecx, eax
call fcn.00403070
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0xa8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x98], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x60]
call fcn.00403070
cmp dword [ebp - 0x94], 8
lea esi, [ebp - 0xa8]
lea eax, [edi + 0x84]
cmovae esi, dword [ebp - 0xa8]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00403190
lea eax, [ebp - 0x60]
push eax
call fcn.0046fab0
add esp, 0x1c
lea ebx, [ebp - 0x60]
cmp dword [ebp - 0x4c], 8
cmovae ebx, dword [ebp - 0x60]
cmp dword [edi + 0x14], 7
jne 0x4a6dbc
xor eax, eax
mov dword [ebp - 8], 0
push eax
push 0x597624
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 7
mov word [ebp - 0x18], ax
call fcn.00402e60
jmp 0x4a6dd6
sub esp, 0x18
lea eax, [edi + 0x48]
mov ecx, esp
push eax
call fcn.00403190
lea eax, [ebp - 0x18]
push eax
call fcn.0046fab0
add esp, 0x1c
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
push 1
cmovae eax, dword [ebp - 0x18]
push esi
push ebx
push eax
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x18]
call fcn.00403070
lea ecx, [ebp - 0x60]
call fcn.00403070
lea ecx, [ebp - 0xa8]
call fcn.00403070
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4