Function at 0x703a49a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xdc
mov esi, dword [esp + 0xf0]
mov dword [esp], 0x703d8400
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [0x703d8418]
sub esp, 4
cmp eax, 0x703d8418
je 0x703a4a98
mov edi, dword [sym.imp.ucrtbase.dll_wcscmp]
lea ebx, [eax - 0x18]
jmp 0x703a49f1
mov eax, dword [ebx + 0x18]
lea ebx, [eax - 0x18]
cmp eax, 0x703d8418
je 0x703a4a98
mov dword [esp + 4], esi
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
call edi
test eax, eax
jne 0x703a49e0
mov ebx, dword [ebx]
mov dword [esp], 0x703d8400
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
test ebx, ebx
je 0x703a4aa8
mov eax, dword [ebx]
lea edx, [esp + 0x2c]
mov dword [esp + 8], 0x703ed148
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [eax + 0xc]
sub esp, 0x10
test eax, eax
mov edx, dword [esp + 0x2c]
js 0x703a4a58
add esp, 0xdc
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x703d8428], 4
jne 0x703a4a68
xor edx, edx
jmp 0x703a4a46
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.CreateInstance_failed:__08lx_n
mov dword [esp + 8], str.get_mime_filter
mov dword [esp + 4], 0x703d8428
mov dword [esp], 2
call fcn.703a33b0
xor edx, edx
jmp 0x703a4a46
mov dword [esp], 0x703d8400
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
lea eax, [esp + 0x30]
mov ebx, dword [sym.imp.advapi32.dll_RegOpenKeyW]
mov dword [esp + 4], str.ProtocolsFilter
mov dword [esp + 8], eax
mov dword [esp], ParseURLW
call ebx
sub esp, 0xc
test eax, eax
jne 0x703a4c00
lea eax, [esp + 0x34]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call ebx
mov edi, dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 0xc
mov ebx, eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call edi
sub esp, 4
test ebx, ebx
jne 0x703a4a61
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], pe_nt_image_headers32
mov dword [esp + 0x14], eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
lea ebp, [esp + 0x50]
mov dword [esp + 0x10], ebp
mov dword [esp + 8], 0
mov dword [esp + 4], str.CLSID
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
mov ebx, eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call edi
sub esp, 4
test ebx, ebx
jne 0x703a4c38
cmp dword [esp + 0x38], 1
jne 0x703a4c38
lea edi, [esp + 0x40]
mov dword [esp], ebp
mov dword [esp + 4], edi
call dword [sym.imp.ole32.dll_CLSIDFromString]
sub esp, 8
test eax, eax
mov ebx, eax
js 0x703a4c7b
lea eax, [esp + 0x2c]
mov dword [esp + 0xc], 0x703ed148
mov dword [esp + 0x10], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
mov edx, dword [esp + 0x2c]
jns 0x703a4a46
test byte [0x703d8428], 4
je 0x703a4a61
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.CoCreateInstance_failed:__08lx_n
mov dword [esp + 8], str.get_mime_filter
mov dword [esp + 4], 0x703d8428
mov dword [esp], 2
call fcn.703a33b0
xor edx, edx
jmp 0x703a4a46
test byte [0x703d8428], 8
je 0x703a4a61
mov dword [esp + 0xc], str.Could_not_open_MIME_filters_key_n
mov dword [esp + 8], str.get_mime_filter
mov dword [esp + 4], 0x703d8428
mov dword [esp], 3
call fcn.703a33b0
xor edx, edx
jmp 0x703a4a46
test byte [0x703d8428], 4
je 0x703a4a61
mov eax, esi
call fcn.703a3110
mov dword [esp + 0xc], str.Could_not_get_filter_CLSID_for__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.get_mime_filter
mov dword [esp + 4], 0x703d8428
mov dword [esp], 2
call fcn.703a33b0
xor edx, edx
jmp 0x703a4a46
test byte [0x703d8428], 4
je 0x703a4a61
mov eax, esi
call fcn.703a3110
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.CLSIDFromString_failed_for__s___lx__n
mov dword [esp + 8], str.get_mime_filter
mov dword [esp + 4], 0x703d8428
mov dword [esp], 2
call fcn.703a33b0
xor edx, edx
jmp 0x703a4a46