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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433571
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x462074]
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.00406277
push 1
push 1
lea edx, [ebp - 0x490]
mov ecx, esi
call fcn.00406277
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x490], ebx
je 0x405e52
push dword [ebp - 0x490]
call esi
mov dword [ebp - 0x490], edi
cmp dword [ebp - 0x48c], ebx
je 0x405e68
push dword [ebp - 0x48c]
call esi
push 0xa
push 0x32
push edi
push 0x10
lea edx, [ebp - 0x78]
pop ecx
call fcn.0040c1d5
lea eax, [ebp - 0x4a0]
mov edx, 0x438360
push eax
lea eax, [ebp - 0x4a8]
mov ecx, Ordinal_1
push eax
sub esp, 0x14
call fcn.0040c622
test eax, eax
jne 0x406145
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.0040c622
test eax, eax
jne 0x406145
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.0040c622
test eax, eax
jne 0x406145
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.0040c622
test eax, eax
jne 0x406145
push 2
lea ecx, [ebp - 0x488]
call fcn.0040a130
test eax, eax
je 0x406145
lea ecx, [ebp - 0x488]
call fcn.0040bd8c
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 0x406145
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.0040c5c8
test eax, eax
je 0x405fcb
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.0040c5c8
test eax, eax
jne 0x40611a
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 0x40611a
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
mov ecx, 0x170b00f
lea eax, [ebp - 0x4c4]
push eax
push str.Got_HTML_browser_ID:
push 0x64
call fcn.00401c18
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.0040c622
test eax, eax
jne 0x40611a
mov edx, edi
lea ecx, [ebp - 0x280]
call fcn.00409e8a
mov ebx, dword [ebp - 0x4b4]
mov edx, edi
mov ecx, dword [ebp - 0x48c]
push ebx
push 1
push 0x437ccc
call fcn.0040667a
mov ecx, dword [ebp - 0x48c]
mov edx, edi
push ebx
push 1
push 0x437cc0
call fcn.0040667a
mov ecx, dword [ebp - 0x48c]
lea eax, [ebp - 0x280]
push eax
mov edx, edi
call fcn.00407529
xor ebx, ebx
mov edx, edi
mov ecx, ebx
call fcn.00407bdc
inc ebx
cmp ebx, 9
jb 0x4060d1
cmp dword [ebp - 0x48c], 0
je 0x4060f1
push dword [ebp - 0x48c]
call esi
xor ebx, ebx
mov dword [ebp - 0x48c], ebx
cmp dword [ebp - 0x490], ebx
je 0x406109
push dword [ebp - 0x490]
call esi
inc edi
cmp edi, 1
jle 0x405f5d
xor ebx, ebx
inc ebx
xor edi, edi
jmp 0x406145
cmp dword [ebp - 0x48c], 0
je 0x40612b
push dword [ebp - 0x48c]
call esi
xor edi, edi
mov dword [ebp - 0x48c], edi
cmp dword [ebp - 0x490], edi
je 0x406143
push dword [ebp - 0x490]
call esi
mov ebx, edi
cmp dword [ebp - 0x494], 0
je 0x406156
push dword [ebp - 0x494]
call esi
cmp dword [ebp - 0x498], 0
mov dword [ebp - 0x494], edi
je 0x40616d
push dword [ebp - 0x498]
call esi
cmp dword [ebp - 0x49c], 0
mov dword [ebp - 0x498], edi
je 0x406184
push dword [ebp - 0x49c]
call esi
cmp dword [ebp - 0x4a8], 0
mov dword [ebp - 0x49c], edi
je 0x40619b
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.0043182e
leave
ret