Function at 0x4a3440
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.0x4a345c.3
jmp dword [eax*4 + 0x4a3a7c]
call fcn.00481830
cmp dword [eax + 0xb4], 0
jbe 0x4a3524
sub esp, 0x18
mov esi, esp
call fcn.00481830
add eax, 0xa4
mov ecx, esi
push eax
call fcn.00403190
lea eax, [ebp - 0x60]
push eax
call fcn.0046f5c0
add esp, 0x1c
lea ecx, [ebp - 0x30]
push 0x57d8e8
call fcn.00402fa0
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0048bbe0
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.0048bbe0
cmp dword [eax + 0x14], 8
jb 0x4a3537
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 0x592f34
lea ecx, [ebp - 0x78]
call fcn.00402fa0
push 0x592f34
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 0x4a36ee
lea ecx, [ebp - 0x2f0]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a35d0
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 0x4a36e6
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 0x4a36c6
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 0x4a36c6
push 1
xor eax, eax
mov dword [ebp - 0x38], 0
push 0x57d878
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 0x4a36d2
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 0x592f34
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 0x4a3754
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0048bbe0
push eax
push str._inprivate
jmp 0x4a37e8
push 0
push str.firefox
lea ecx, [ebp - 0x18]
call fcn.0041dfb0
test eax, eax
jne 0x4a377a
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0048bbe0
push eax
push str._private_window
jmp 0x4a37e8
push 0
push str.chrome
lea ecx, [ebp - 0x18]
call fcn.0041dfb0
test eax, eax
jne 0x4a37a0
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0048bbe0
push eax
push str.__incognito
jmp 0x4a37e8
push 0
push str.opera
lea ecx, [ebp - 0x18]
call fcn.0041dfb0
test eax, eax
jne 0x4a37c6
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0048bbe0
push eax
push str.__private
jmp 0x4a37e8
push 0
push 0x57da98
lea ecx, [ebp - 0x18]
call fcn.0041dfb0
test eax, eax
mov ecx, edi
lea eax, [ebp - 0x48]
push eax
call fcn.0048bbe0
push eax
push str._private
lea eax, [ebp - 0x30]
push eax
call fcn.00472110
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 0x4a3847
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 0x4a3876
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.0048bbe0
cmp dword [eax + 0x14], 8
jb 0x4a385a
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.004a1e70
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.0048bf90
cmp dword [ebp - 0x98], 0
jne 0x4a39b6
sub esp, 0x18
mov ecx, edi
push esp
call fcn.0048bbe0
lea eax, [ebp - 0x60]
push eax
call fcn.0048ba10
mov esi, eax
add esp, 0x1c
lea eax, [ebp - 0xa8]
cmp eax, esi
je 0x4a39ae
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.0046f5c0
add esp, 0x1c
lea ebx, [ebp - 0x60]
cmp dword [ebp - 0x4c], 8
cmovae ebx, dword [ebp - 0x60]
cmp dword [edi + 0x14], 7
jne 0x4a3a1c
xor eax, eax
mov dword [ebp - 8], 0
push eax
push 0x592f34
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 7
mov word [ebp - 0x18], ax
call fcn.00402e60
jmp 0x4a3a36
sub esp, 0x18
lea eax, [edi + 0x48]
mov ecx, esp
push eax
call fcn.00403190
lea eax, [ebp - 0x18]
push eax
call fcn.0046f5c0
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