Function at 0x410b20
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x519f5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
mov eax, dword [0x565e78]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [esp + 0x124], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWAREBLUEORIGIN
push getpeername
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x56b5e8
call ebx
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc eax
push eax
push 0x56b5e8
push 1
push 0
push str.PATH
push edx
call esi
mov eax, dword [esp + 0x138]
mov ebp, dword [eax + 0x100]
push 0x56b5e8
call ebx
mov ecx, dword [esp + 0x10]
inc eax
push eax
push 0x56b5e8
push 1
push 0
push ebp
push ecx
call esi
mov edx, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebx
call fcn.004fa853
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x56b5e8
lea eax, [esp + 0x18]
push str._shall.exe___l
push eax
mov dword [esp + 0x13c], 0
call fcn.00405820
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWAREClassesBLUEORIGIN
push getpeername
call edi
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 4]
mov ebp, dword [edx - 0xc]
mov eax, 1
sub eax, ecx
mov ecx, dword [edx - 8]
or ecx, eax
jge 0x410c51
push 0
lea ecx, [esp + 0x18]
call fcn.00401d10
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ebp
push edx
push 1
push 0
push str.URL_Protocol
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call ebx
lea edx, [esp + 0x14]
push str.__SystemRoot___system32url.dll_0
push edx
call fcn.00405820
add esp, 8
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWAREClassesBLUEORIGINDefaultIcon
push getpeername
call edi
mov eax, dword [esp + 0x14]
mov edx, dword [eax - 4]
mov ebp, dword [eax - 0xc]
mov ecx, 1
sub ecx, edx
mov edx, dword [eax - 8]
or edx, ecx
jge 0x410cc6
push 0
lea ecx, [esp + 0x18]
call fcn.00401d10
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ebp
push eax
push 1
push 0
push 0
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call ebx
push 0x56b5e8
lea ecx, [esp + 0x18]
push str._shall.exe___l
push ecx
call fcn.00405820
add esp, 0xc
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWAREClassesBLUEORIGINShellopencommand
push getpeername
call edi
mov ebp, dword [esp + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp - 4]
mov eax, 1
sub eax, ecx
mov ecx, dword [ebp - 8]
or ecx, eax
jge 0x410d41
push 0
lea ecx, [esp + 0x18]
call fcn.00401d10
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push edx
push ebp
push 1
push 0
push 0
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call ebx
push 0x104
lea edx, [esp + 0x24]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x20]
push 0x5c
push eax
call fcn.004b3f1e
add esp, 8
test eax, eax
je 0x410dce
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BLOCK_LMZ_SCRIPT
inc eax
push getpeername
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], 0
call edi
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 4
lea eax, [esp + 0x20]
push eax
push 4
push 0
push ecx
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call ebx
lea eax, [ebp - 0x10]
mov dword [esp + 0x130], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x410df7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x114]
call fcn.004b6cac
add esp, 0x124
ret 4