Function at 0x10132030
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101400d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xcc], 0
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x101323e7
push str.ProgId
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
push ecx
push 0
lea edx, [ebp - 0x30]
push edx
push 0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x101323cd
mov ecx, dword [ebp - 0x34]
push ecx
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x38], edx
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
lea edx, [ebp - 0x30]
push edx
push 0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x101323b5
mov ecx, dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
cmp eax, 4
jb 0x1013217a
push 4
push 0
lea edx, [ebp - 0x78]
push edx
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xcc]
or ecx, 1
mov dword [ebp - 0xcc], ecx
push str.Fire
mov edx, dword [ebp - 0xd8]
push edx
call dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 8
movzx eax, al
test eax, eax
je 0x1013217a
mov dword [ebp - 0xdc], 1
jmp 0x10132184
mov dword [ebp - 0xdc], 0
mov cl, byte [ebp - 0xdc]
mov byte [ebp - 0x59], cl
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0xcc]
and edx, 1
je 0x101321af
and dword [ebp - 0xcc], 0xfffffffe
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
movzx eax, byte [ebp - 0x59]
test eax, eax
je 0x101321e3
mov dword [ebp - 0x7c], 3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x7c]
jmp 0x101323ec
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
cmp eax, 6
jb 0x10132252
push 6
push 0
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
mov dword [ebp - 0xe0], eax
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xcc]
or eax, 2
mov dword [ebp - 0xcc], eax
push str.Chrome
mov ecx, dword [ebp - 0xe4]
push ecx
call dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 8
movzx edx, al
test edx, edx
je 0x10132252
mov dword [ebp - 0xe8], 1
jmp 0x1013225c
mov dword [ebp - 0xe8], 0
mov al, byte [ebp - 0xe8]
mov byte [ebp - 0x7d], al
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0xcc]
and ecx, 2
je 0x1013228a
and dword [ebp - 0xcc], 0xfffffffd
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
movzx edx, byte [ebp - 0x7d]
test edx, edx
je 0x101322c4
mov dword [ebp - 0xa0], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0xa0]
jmp 0x101323ec
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
cmp eax, 9
jb 0x10132333
push 9
push 0
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xf0], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xcc]
or edx, 4
mov dword [ebp - 0xcc], edx
push str.MSEdgeHTM
mov eax, dword [ebp - 0xf0]
push eax
call dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x10132333
mov dword [ebp - 0xf4], 1
jmp 0x1013233d
mov dword [ebp - 0xf4], 0
mov dl, byte [ebp - 0xf4]
mov byte [ebp - 0xa1], dl
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xcc]
and eax, 4
je 0x1013236e
and dword [ebp - 0xcc], 0xfffffffb
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
movzx ecx, byte [ebp - 0xa1]
test ecx, ecx
je 0x101323a8
mov dword [ebp - 0xc4], 2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0xc4]
jmp 0x101323ec
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0xc8], edx
mov eax, dword [ebp - 0xc8]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret