Function at 0x70386ad0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
xor eax, eax
sub esp, 0x6c
mov word [esp + 0x4c], ax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x5c], 4
test byte [0x703d80c4], 8
jne 0x70387030
mov eax, dword [ebx + 0xc8]
cmp eax, 2
je 0x70387018
mov edx, dword [ebx + 0xb0]
test dl, 8
jne 0x70387018
and edx, 2
jne 0x70387009
mov edx, dword [ebx + 0x24]
cmp dword [edx + 0xc], 0xffffffff
je 0x70386b4e
mov eax, edx
call fcn.70386360
mov eax, dword [ebx + 0xc8]
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x90]
mov ebp, dword [edx]
mov ebp, dword [ebp + 0x18]
test eax, eax
je 0x70387070
mov eax, dword [ebx + 0x24]
cmp dword [eax + 0x10], 1
je 0x703870f2
test edi, 4
jne 0x703870f2
mov eax, dword [esp + 0x80]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 5
mov dword [esp + 4], esi
mov dword [esp], edx
mov dword [esp + 8], eax
call ebp
sub esp, 0x14
mov eax, dword [ebx + 0xb0]
test al, 0xa
jne 0x70387009
mov ebp, dword [ebx + 0x84]
test ebp, ebp
je 0x70387130
and eax, 4
mov esi, eax
jne 0x70387009
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 4]
mov edx, dword [ebx + 0x88]
sub esp, 4
test edx, edx
je 0x703871e0
cmp word [edx], 0
mov eax, edx
je 0x7038741d
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x70386bf0
sub eax, edx
add eax, 0x38
mov dword [esp + 0x2c], edx
mov edi, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [esp], eax
call edi
mov edx, dword [esp + 0x2c]
mov ebp, eax
mov eax, dword [str.MIMEDatabaseContent_Type_]
mov dword [ebp], eax
mov eax, dword [0x703db5a4]
mov dword [ebp + 4], eax
mov eax, dword [0x703db5a8]
mov dword [ebp + 8], eax
mov eax, dword [0x703db5ac]
mov dword [ebp + 0xc], eax
mov eax, dword [0x703db5b0]
mov dword [ebp + 0x10], eax
mov eax, dword [0x703db5b4]
mov dword [ebp + 0x14], eax
mov eax, dword [0x703db5b8]
mov dword [ebp + 0x18], eax
mov eax, dword [0x703db5bc]
mov dword [ebp + 0x1c], eax
mov eax, dword [0x703db5c0]
mov dword [ebp + 0x20], eax
mov eax, dword [0x703db5c4]
mov dword [ebp + 0x24], eax
mov eax, dword [0x703db5c8]
mov dword [ebp + 0x28], eax
mov eax, dword [0x703db5cc]
mov dword [ebp + 0x2c], eax
mov eax, dword [0x703db5d0]
mov dword [ebp + 0x30], eax
movzx eax, word [0x703db5d4]
mov word [ebp + 0x34], ax
lea esi, [esi]
lea esi, [esi]
movzx eax, word [edx + esi]
mov word [ebp + esi + 0x36], ax
add esi, 2
test ax, ax
jne 0x70386c90
lea eax, [esp + 0x38]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp], ParseURLW
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
mov esi, eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
sub esp, 0xc
mov dword [esp], ebp
mov dword [esp + 0x2c], eax
call eax
test esi, esi
jne 0x70387280
mov dword [esp + 0x34], 0x64
lea ebp, [esp + 0x30]
mov dword [esp], 0x64
call edi
mov dword [esp + 0xc], ebp
mov esi, eax
mov dword [esp + 8], 0
lea eax, [esp + 0x34]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], 0x703dae9e
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
mov edi, eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
test edi, edi
jne 0x703873c7
lea eax, [esp + 0x3c]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
sub esp, 8
test eax, eax
js 0x703874f5
mov edx, dword [ebx + 0x18]
mov eax, dword [edx]
mov eax, dword [eax + 0x18]
test esi, esi
je 0x70387290
mov dword [esp], edx
lea edi, [ebx + 0x98]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call eax
mov eax, dword [ebx + 0x18]
sub esp, 0x14
mov edx, dword [eax]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xf
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x18]
lea eax, [ebx + 0xcc]
sub esp, 0x14
mov dword [esp + 0x10], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 3
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
js 0x7038752f
mov eax, dword [ebx + 0xcc]
or dword [ebx + 0xb0], 4
mov edx, dword [eax]
mov dword [esp + 8], ebp
mov dword [esp + 4], 0x703ed1b8
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
test eax, eax
js 0x7038738d
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x703ed1a8
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
test eax, eax
js 0x70386e88
mov eax, dword [esp + 0x34]
mov ecx, dword [ebx + 0x88]
mov edx, dword [eax]
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov eax, dword [esp + 0x34]
mov edx, dword [eax]
mov dword [esp + 8], esi
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov eax, dword [esp + 0x34]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
lea eax, [esp + 0x38]
mov dword [esp + 0x14], 0
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebx + 0xd4]
mov dword [esp], eax
call sym.urlmon.dll_CreateAsyncBindCtxEx
sub esp, 0x18
test eax, eax
js 0x7038748e
mov eax, dword [esp + 0x38]
mov edx, dword [eax]
mov dword [esp + 4], str._BSCB_Holder_
mov dword [esp], eax
call dword [edx + 0x30]
sub esp, 8
mov eax, dword [esp + 0x38]
mov edx, dword [eax]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.CBinding_Context
mov dword [esp], eax
call dword [edx + 0x24]
mov eax, dword [ebp]
sub esp, 0xc
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10], 0x12
mov dword [esp + 0xc], edx
mov edx, dword [ebx + 0xd0]
mov dword [esp + 8], edx
xor edx, edx
cmp dword [ebx + 0xc8], 2
mov dword [esp], ebp
sete dl
mov dword [esp + 4], edx
call dword [eax + 0x14]
sub esp, 0x14
mov ebp, eax
mov eax, dword [esp + 0x38]
mov edx, dword [eax]
mov dword [esp + 4], str.CBinding_Context
mov dword [esp], eax
call dword [edx + 0x30]
sub esp, 8
mov eax, dword [esp + 0x38]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test ebp, ebp
js 0x70387454
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xcc]
mov edx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp], eax
call dword [edx + 0x28]
sub esp, 0xc
mov eax, dword [esp + 0x2c]
mov dword [esp], esi
call eax
mov eax, dword [ebx + 0x18]
mov edx, dword [eax]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x18]
mov eax, dword [0x703edd38]
xor ecx, ecx
xor edx, edx
sub esp, 0x14
mov dword [ebx + 0xb8], eax
mov eax, dword [0x703edd3c]
mov dword [ebx + 0xbc], eax
mov eax, dword [0x703edd40]
mov dword [ebx + 0xc0], eax
mov eax, dword [0x703edd44]
mov dword [ebx + 0xc4], eax
mov eax, ebx
call fcn.703863b0
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 8]
sub esp, 4
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 0x24]
call fcn.70386360
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x703dae57
mov dword [esp + 0x1c], eax
mov dword [esp + 8], str.report_data
mov dword [esp + 4], 0x703d80c4
mov dword [esp], 3
call fcn.70386a80
jmp 0x70386b11
mov eax, dword [esp + 0x80]
mov dword [ebx + 0xc8], 1
mov dword [esp], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 4
mov dword [esp + 8], eax
mov dword [esp + 4], esi
call ebp
mov edx, dword [ebx + 0x24]
sub esp, 0x14
mov eax, dword [edx + 0x14]
test eax, eax
je 0x703871d0
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc], 0xe
mov dword [esp + 4], esi
mov dword [esp], edx
mov dword [esp + 8], eax
call dword [ecx + 0x18]
mov eax, dword [ebx + 0x24]
sub esp, 0x14
cmp dword [eax + 0x10], 1
je 0x703870e9
test edi, 4
je 0x70386ba0
mov ecx, dword [ebx + 0x90]
mov edx, dword [ebx + 0x18]
mov dword [ebx + 0xc8], 2
mov eax, dword [edx]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xc], 6
mov dword [esp + 4], esi
mov dword [esp], edx
mov dword [esp + 8], ecx
call dword [eax + 0x18]
sub esp, 0x14
jmp 0x70386ba0
test al, 1
jne 0x70387155
mov eax, dword [ebx + 0x20]
mov edx, dword [eax]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x2c]
sub esp, 8
test eax, eax
js 0x70387155
or dword [ebx + 0xb0], 1
mov eax, dword [ebx + 0x28]
lea ebp, [esp + 0x3c]
mov edx, dword [eax]
mov dword [esp + 4], ebp
mov dword [esp], eax
call dword [edx + 4]
test eax, eax
js 0x70387350
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x8c]
mov word [esp + 0x4c], ax
mov eax, dword [ebx + 0x18]
mov edx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
mov dword [esp], eax
call dword [edx + 0x24]
sub esp, 0x14
mov edi, eax
test eax, eax
jne 0x70387220
cmp dword [ebx + 0xc8], 2
jne 0x70387009
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.703863b0
jmp 0x70387009
cmp dword [edx + 0x10], 1
jne 0x703870dd
jmp 0x703870e9
test byte [0x703d80c4], 1
je 0x70386ffe
mov dword [esp + 0xc], str.MIME_not_available_n
mov dword [esp + 8], str.create_object
mov dword [esp + 4], 0x703d80c4
mov dword [esp], 0
call fcn.70386a80
jmp 0x70386ffe
cmp dword [ebx + 0xc8], 2
je 0x70387262
mov dword [ebx + 0xc8], 2
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x90]
mov edx, dword [eax]
mov dword [esp + 0xc], 6
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [esp + 8], ecx
call dword [edx + 0x18]
sub esp, 0x14
test byte [0x703d80c4], 4
jne 0x70387360
xor ecx, ecx
mov edx, edi
mov eax, ebx
call fcn.703863b0
jmp 0x70387009
test byte [0x703d80c4], 4
jne 0x70387427
mov edx, dword [ebx + 0x18]
mov eax, dword [edx]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xf
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], edx
call dword [eax + 0x18]
sub esp, 0x14
test byte [0x703d80c4], 1
jne 0x703873e5
mov eax, dword [ebx + 0x18]
mov edx, dword [eax]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x18]
mov eax, dword [0x703edd38]
xor ecx, ecx
mov edx, 0x80040154
sub esp, 0x14
mov dword [ebx + 0xb8], eax
mov eax, dword [0x703edd3c]
mov dword [ebx + 0xbc], eax
mov eax, dword [0x703edd40]
mov dword [ebx + 0xc0], eax
mov eax, dword [0x703edd44]
mov dword [ebx + 0xc4], eax
mov eax, ebx
call fcn.703863b0
mov eax, dword [ebx + 0x20]
mov edx, dword [eax]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x18]
sub esp, 8
jmp 0x70386ffe
mov edx, eax
xor ecx, ecx
mov eax, ebx
call fcn.703863b0
jmp 0x70387009
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.OnDataAvailable_returned__lx_n
mov dword [esp + 8], str.report_data
mov dword [esp + 4], 0x703d80c4
mov dword [esp], 2
call fcn.70386a80
jmp 0x7038726f
test byte [0x703d80c4], 1
je 0x70386f74
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Could_not_get_IPersistMoniker:__08lx_n
mov dword [esp + 8], str.create_mime_object
mov dword [esp + 4], 0x703d80c4
mov dword [esp], 0
call fcn.70386a80
jmp 0x70386f74
test byte [0x703d80c4], 4
jne 0x703874c8
mov eax, dword [esp + 0x2c]
mov dword [esp], esi
call eax
mov edx, dword [ebx + 0x18]
jmp 0x70387290
mov eax, dword [ebx + 0x88]
call fcn.703867e0
mov dword [esp + 0xc], str.Could_not_find_object_for_MIME__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.create_object
mov dword [esp + 4], 0x703d80c4
mov dword [esp], 0
call fcn.70386a80
jmp 0x703872c8
mov eax, 0x38
jmp 0x70386bfe
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.Could_not_open_MIME_key:__lx_n
mov dword [esp + 8], str.get_mime_clsid
mov dword [esp + 4], 0x703d80c4
mov dword [esp], 2
call fcn.70386a80
jmp 0x7038728d
test byte [0x703d80c4], 1
je 0x70386f65
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], str.Load_failed:__08lx_n
mov dword [esp + 8], str.load_doc_mon
mov dword [esp + 4], 0x703d80c4
mov dword [esp], 0
call fcn.70386a80
jmp 0x70386f65
test byte [0x703d80c4], 4
je 0x70386f65
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.CreateAsyncBindCtxEx_failed:__08lx_n
mov dword [esp + 8], str.load_doc_mon
mov dword [esp + 4], 0x703d80c4
mov dword [esp], 2
call fcn.70386a80
jmp 0x70386f65
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Could_not_get_CLSID:__08lx_n
mov dword [esp + 8], str.get_mime_clsid
mov dword [esp + 4], 0x703d80c4
mov dword [esp], 2
call fcn.70386a80
jmp 0x703873d4
test byte [0x703d80c4], 4
je 0x703873d4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Could_not_parse_CLSID:__08lx_n
mov dword [esp + 8], str.get_mime_clsid
mov dword [esp + 4], 0x703d80c4
mov dword [esp], 2
call fcn.70386a80
jmp 0x703873d4
test byte [0x703d80c4], 4
jne 0x7038758a
mov eax, dword [esp + 0x2c]
mov dword [esp], esi
xor esi, esi
call eax
mov eax, dword [ebx + 0x18]
lea edi, [ebx + 0xb8]
xor ecx, ecx
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], esi
mov esi, 0x703edd38
mov dword [esp + 0xc], 0x10
mov dword [esp], eax
call dword [edx + 0x18]
mov ecx, 4
mov edx, 0x800c0010
mov eax, ebx
rep movsd dword es:[edi], dword [esi]
sub esp, 0x14
call fcn.703863b0
jmp 0x70387330
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x703daee4
mov dword [esp + 8], str.create_mime_object
mov dword [esp + 4], 0x703d80c4
mov dword [esp], 2
call fcn.70386a80
jmp 0x70387538