Function at 0x41ea20
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4fb358
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x530790]
xor eax, esp
mov dword [esp + 0x254], eax
push ebx
push ebp
mov eax, dword [0x530790]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, 7
xor ecx, ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov dword [esp + 0x1c], esi
mov word [esi + 4], cx
mov ecx, 1
xor edx, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], dx
mov eax, edi
mov dword [esp + 0x26c], ecx
lea edx, [eax + 2]
jmp 0x41eaa0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41eaa0
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x28]
call fcn.0041c0c0
push 0x13
push str._shellopencommand
lea ecx, [esp + 0x28]
call fcn.0041cc10
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], ebx
jae 0x41eadd
lea eax, [esp + 0x24]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea ecx, [esp + 0xc]
push ecx
push eax
push SysReAllocString
call ebp
test eax, eax
jne 0x41eb67
push 0x206
lea eax, [esp + 0x5e]
xor edx, edx
push ebx
push eax
mov dword [esp + 0x1c], ebx
mov word [esp + 0x64], dx
call fcn.004ccbe0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push ecx
mov dword [esp + 0x2c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x41eb5c
cmp dword [esp + 0x10], 1
jne 0x41eb5c
mov edx, dword [esp + 0x14]
and edx, 0xfffffffe
cmp edx, 0x208
jae 0x41eb5c
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call fcn.0041bd60
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0041d230
test al, al
je 0x41ec48
push 0x24
push str.C:Windows_system32LaunchWinApp.exe
mov eax, esi
call fcn.004242f0
cmp eax, 0xffffffff
je 0x41ec48
lea edx, [esp + 0xc]
push edx
push edi
push SysReAllocString
call ebp
test eax, eax
jne 0x41ec48
push 0x206
lea ecx, [esp + 0x5e]
push ebx
push ecx
mov dword [esp + 0x20], ebx
mov word [esp + 0x64], ax
call fcn.004ccbe0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebx
push str.FriendlyTypeName
push edx
mov dword [esp + 0x28], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x41ec3d
cmp dword [esp + 0x14], 1
jne 0x41ec3d
mov eax, dword [esp + 0x10]
and eax, 0xfffffffe
cmp eax, 0x208
jae 0x41ec3d
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x40]
call fcn.0041d360
push 0xd
push str.MicrosoftEdge
lea eax, [esp + 0x44]
mov byte [esp + 0x274], 2
call fcn.004242f0
cmp eax, 0xffffffff
je 0x41ec34
push str.MicrosoftEdge
mov ecx, esi
call fcn.0041bd60
lea ecx, [esp + 0x3c]
call fcn.0041ab00
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x38], 8
jb 0x41ec5c
mov eax, dword [esp + 0x24]
push eax
call fcn.004ccb07
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.004cd040
add esp, 0x264
ret