Function at 0x405ed2
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f4ee
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x45b070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4b4], edx
xor edi, edi
lea edx, [ebp - 0x48c]
push 1
mov esi, 0x80000002
mov dword [ebp - 0x4a8], edi
push edi
mov ecx, esi
mov dword [ebp - 0x49c], edi
mov ebx, edi
mov dword [ebp - 0x498], edi
mov dword [ebp - 0x494], edi
mov dword [ebp - 0x48c], edi
mov dword [ebp - 0x490], edi
call fcn.0040638e
push 1
push 1
lea edx, [ebp - 0x490]
mov ecx, esi
call fcn.0040638e
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x490], ebx
je 0x405f6a
push dword [ebp - 0x490]
call esi
mov dword [ebp - 0x490], edi
cmp dword [ebp - 0x48c], ebx
je 0x405f80
push dword [ebp - 0x48c]
call esi
push 0xa
push 0x32
push edi
push 0x10
lea edx, [ebp - 0x78]
pop ecx
call fcn.0040bc4f
lea eax, [ebp - 0x4a0]
mov edx, 0x434390
push eax
lea eax, [ebp - 0x4a8]
mov ecx, Ordinal_1
push eax
sub esp, 0x14
call fcn.0040c0a2
test eax, eax
jne 0x40625c
mov ecx, dword [ebp - 0x4a8]
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x49c]
mov edx, str.42042206_2D85_11D3_8CFF_005004838597
push eax
sub esp, 0x14
call fcn.0040c0a2
test eax, eax
jne 0x40625c
mov ecx, dword [ebp - 0x49c]
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x498]
mov edx, str.Version
push eax
sub esp, 0x14
call fcn.0040c0a2
test eax, eax
jne 0x40625c
mov ecx, dword [ebp - 0x498]
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x494]
push eax
sub esp, 0x14
lea edx, [ebp - 0x78]
call fcn.0040c0a2
test eax, eax
jne 0x40625c
push 2
lea ecx, [ebp - 0x488]
call fcn.0040a131
test eax, eax
je 0x40625c
lea ecx, [ebp - 0x488]
call fcn.0040b82d
add eax, eax
push eax
lea eax, [ebp - 0x488]
push eax
push 1
push edi
push edi
push dword [ebp - 0x494]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40625c
xor ebx, ebx
lea eax, [ebp - 0x490]
mov dword [ebp - 0x490], ebx
push eax
push 0x20019
mov eax, str..htm
mov dword [ebp - 0x48c], ebx
test edi, edi
mov dword [ebp - 0x4ac], 0x208
push ecx
mov edx, str..mht
mov ecx, Ordinal_1
cmove edx, eax
call fcn.0040c046
test eax, eax
je 0x4060e3
lea eax, [ebp - 0x490]
test edi, edi
push eax
push 0x20019
mov eax, str..html
mov edx, str..mhtml
push ecx
cmove edx, eax
mov ecx, Ordinal_1
call fcn.0040c046
test eax, eax
jne 0x406231
movzx eax, byte [ebp - 0x280]
xor ecx, ecx
cmp dword [ebp - 0x4b0], 1
cmove eax, ecx
mov byte [ebp - 0x280], al
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x4b0]
push eax
push ebx
push ebx
push dword [ebp - 0x490]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406231
lea eax, [ebp - 0x280]
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], vtable.Mso::Logging::StructuredObject_wchar_t_const___1_.0
mov dword [ebp - 0x4bc], eax
mov edx, 0x851
xor eax, eax
mov dword [ebp - 0x4c0], str.Param
mov word [ebp - 0x4b8], ax
lea eax, [ebp - 0x4c4]
push eax
push str.Got_HTML_browser_ID:
push ecx
push 0x64
mov ecx, 0x170b00f
call fcn.00401f81
lea eax, [ebp - 0x4a0]
mov ecx, Ordinal_1
push eax
lea eax, [ebp - 0x48c]
push eax
sub esp, 0x14
lea edx, [ebp - 0x280]
call fcn.0040c0a2
test eax, eax
jne 0x406231
mov edx, edi
lea ecx, [ebp - 0x280]
call fcn.00409c87
mov ebx, dword [ebp - 0x4b4]
mov edx, edi
push ebx
push ecx
mov ecx, dword [ebp - 0x48c]
push 0x433cf4
call fcn.00406772
push ebx
push ecx
mov ecx, dword [ebp - 0x48c]
mov edx, edi
push 0x433ce8
call fcn.00406772
mov ecx, dword [ebp - 0x48c]
lea eax, [ebp - 0x280]
push eax
mov edx, edi
call fcn.004073fe
xor ebx, ebx
mov edx, edi
mov ecx, ebx
call fcn.00407ab1
inc ebx
cmp ebx, 9
jb 0x4061e8
cmp dword [ebp - 0x48c], 0
je 0x406208
push dword [ebp - 0x48c]
call esi
xor ebx, ebx
mov dword [ebp - 0x48c], ebx
cmp dword [ebp - 0x490], ebx
je 0x406220
push dword [ebp - 0x490]
call esi
inc edi
cmp edi, 1
jle 0x406075
xor ebx, ebx
inc ebx
xor edi, edi
jmp 0x40625c
cmp dword [ebp - 0x48c], 0
je 0x406242
push dword [ebp - 0x48c]
call esi
xor edi, edi
mov dword [ebp - 0x48c], edi
cmp dword [ebp - 0x490], edi
je 0x40625a
push dword [ebp - 0x490]
call esi
mov ebx, edi
cmp dword [ebp - 0x494], 0
je 0x40626d
push dword [ebp - 0x494]
call esi
cmp dword [ebp - 0x498], 0
mov dword [ebp - 0x494], edi
je 0x406284
push dword [ebp - 0x498]
call esi
cmp dword [ebp - 0x49c], 0
mov dword [ebp - 0x498], edi
je 0x40629b
push dword [ebp - 0x49c]
call esi
cmp dword [ebp - 0x4a8], 0
mov dword [ebp - 0x49c], edi
je 0x4062b2
push dword [ebp - 0x4a8]
call esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d667
leave
ret