Function at 0x1001aa70
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x140
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x128], 0
test edx, edx
je 0x1001acb0
mov eax, edx
mov edx, dword [edx]
mov dword [esp], eax
call dword [edx + 4]
sub esp, 4
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x124]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x50]
sub esp, 0x10
test eax, eax
mov esi, eax
js 0x1001abd0
mov esi, dword [ebp - 0x124]
test esi, esi
je 0x1001aafb
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov esi, eax
test eax, eax
je 0x1001adc0
mov eax, dword [ebx + 0x5c]
lea edi, [ebp - 0xda]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebx + 0x48]
mov dword [ebx + 0x5c], esi
mov dword [esp + 4], esi
mov esi, str.d4db6850_5385_11d0_89e9_00a0c90a90ac
mov dword [esp], ebx
call dword [eax + 0x14]
mov eax, dword [ebp - 0x124]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edx, [ebp - 0xda]
mov ecx, 0x13
sub esp, 4
rep movsd dword es:[edi], dword [esi]
movzx eax, word [esi]
mov word [edi], ax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov edi, dword [ebp + 8]
mov dword [esp], edi
call dword [eax + 0x24]
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x10043af8
mov dword [esp + 8], 0
mov edi, dword [ebp + 8]
mov dword [esp], eax
mov dword [esp + 4], edi
call dword [edx + 0x20]
sub esp, 0x14
test eax, eax
mov esi, eax
js 0x1001ac00
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x1001abad
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x12c]
xor esi, esi
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x1002e1b0], 1
jne 0x1001acd0
mov eax, dword [ebp - 0x12c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, esi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea ebx, [ebp - 0x8c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x40
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xd
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
call sub.urlmon.dll_CoInternetParseUrl
sub esp, 0x1c
test eax, eax
js 0x1001ac6d
lea eax, [ebp - 0x120]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], 0x80000000
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
je 0x1001ad00
test byte [0x1002e1b0], 1
je 0x1001abad
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.BindToObject_failed:__08lx_n
mov dword [esp + 8], str.bind_to_object
mov dword [esp + 4], 0x1002e1b0
mov dword [esp], 0
call fcn.10017d40
jmp 0x1001abad
mov eax, dword [ebp - 0x130]
lea edx, [ebp - 0x12c]
call fcn.1001a190
test eax, eax
mov esi, eax
jns 0x1001aaa9
jmp 0x1001abc0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.GetDisplayName_failed:__08lx_n
mov dword [esp + 8], str.bind_to_object
mov dword [esp + 4], 0x1002e1b0
mov dword [esp], 0
call fcn.10017d40
jmp 0x1001abdd
lea eax, [ebp - 0x11c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.URL_Protocol
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov edi, eax
mov eax, dword [ebp - 0x120]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
test edi, edi
jne 0x1001ac6d
cmp dword [ebp - 0x11c], 1
jne 0x1001ac6d
test byte [0x1002e1b0], 8
jne 0x1001aded
xor eax, eax
mov ecx, 0xe
mov dword [ebp - 0x116], 0x3c
lea ebx, [ebp - 0x112]
lea edx, [ebp - 0x116]
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0xfa], 5
mov dword [ebp - 0x106], eax
mov dword [esp], edx
call dword [sym.imp.shell32.dll_ShellExecuteExW]
sub esp, 4
test eax, eax
jne 0x1001abad
jmp 0x1001ac6d
mov eax, dword [ebp - 0x124]
mov esi, 0x8007000e
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x12c]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x1001abc0
mov eax, ebx
shr eax, 0x10
test eax, eax
je 0x1001ae49
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, 0x10035fc7
test ecx, ecx
jne 0x1001ae1c
mov eax, ebx
call fcn.10017920
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.opening_application__s_n
mov dword [esp + 8], 0x10037830
mov dword [esp + 4], 0x1002e1b0
mov dword [esp], 3
call fcn.10017d40
jmp 0x1001ad6e
mov dword [esp + 4], ebx
mov dword [esp], 0x10035fd1
call fcn.100177d0
jmp 0x1001ae1c