Function at 0x719cb9d2
Capabilities:
Link many functions at runtime
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push dword [ebp + 8]
call sub._Cmvrt.DLL_wcslen
mov edi, dword [sym.imp._Cntl.DLL_RtlAllocateHeap]
pop ecx
lea eax, [eax + eax + 0x5a]
push eax
xor ebx, ebx
push ebx
push dword [0x719f71dc]
call edi
mov esi, eax
cmp esi, ebx
je 0x719cbd07
push 0x208
push ebx
push dword [0x719f71dc]
call edi
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x719d00e9
push 0x208
push ebx
push dword [0x719f71dc]
call edi
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x719d00fc
push 0x208
push ebx
push dword [0x719f71dc]
call edi
mov edi, eax
cmp edi, ebx
je 0x719d0111
push 0x719cc060
push edi
call sub._Cmvrt.DLL_wcscpy
push dword [ebp + 8]
push edi
call sub._Cmvrt.DLL_wcscat
push 0x719cc034
push edi
call sub._Cmvrt.DLL_wcscat
add esp, 0x18
lea eax, [ebp - 0xc]
push eax
push 0x20019
push ebx
push edi
push reloc.WS2__32_Coverage_C_WINDOWS_system32.DLL_Ordinal_2
call dword [sym.imp._CADVAPI.DLL_RegOpenKeyExW]
push edi
mov edi, dword [sym.imp._Cntl.DLL_RtlFreeHeap]
push ebx
push dword [0x719f71dc]
mov dword [ebp - 4], eax
call edi
cmp dword [ebp - 4], ebx
jne 0x719d013e
lea eax, [ebp - 0x14]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x719cbe48
push dword [ebp - 0xc]
mov dword [ebp - 0x14], 4
call dword [sym.imp._CADVAPI.DLL_RegQueryValueExW]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x719d0159
lea ecx, [ebp - 0x14]
push ecx
lea eax, [esi + 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x719cbe24
push dword [ebp - 0xc]
mov dword [ebp - 0x14], 4
call dword [sym.imp._CADVAPI.DLL_RegQueryValueExW]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x719d0159
mov eax, dword [esi + 0x14]
add eax, 6
mov dword [esi + 0x1c], eax
lea ecx, [ebp - 0x14]
push ecx
lea eax, [esi + 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x719cbdf8
push dword [ebp - 0xc]
mov dword [ebp - 0x14], 4
call dword [sym.imp._CADVAPI.DLL_RegQueryValueExW]
test eax, eax
jne 0x719d0186
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x719cbe6c
push dword [ebp - 0xc]
mov dword [ebp - 0x14], 0x208
call dword [sym.imp._CADVAPI.DLL_RegQueryValueExW]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x719d0159
push 0x104
push dword [ebp - 0x10]
push dword [ebp - 8]
call dword [sym.imp._CKERNEL.DLL_ExpandEnvironmentStringsW]
push dword [ebp - 8]
push ebx
push dword [0x719f71dc]
call edi
push dword [ebp - 0x10]
call dword [sym.imp._CKERNEL.DLL_LoadLibraryW]
mov dword [esi + 0xc], eax
call dword [sym.imp._CKERNEL.DLL_GetLastError]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push ebx
push dword [0x719f71dc]
call edi
cmp dword [esi + 0xc], ebx
je 0x719d018f
push dword [ebp - 0xc]
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
push 0x719cbde8
push dword [esi + 0xc]
call dword [sym.imp._CKERNEL.DLL_GetProcAddress]
push 0x719cbdd8
push dword [esi + 0xc]
mov dword [esi + 0x28], eax
call dword [sym.imp._CKERNEL.DLL_GetProcAddress]
cmp dword [esi + 0x28], ebx
mov dword [esi + 0x2c], eax
je 0x719d0192
push 0x719cbdcc
push dword [esi + 0xc]
call dword [sym.imp._CKERNEL.DLL_GetProcAddress]
push 0x719cbdc0
push dword [esi + 0xc]
mov dword [esi + 0x30], eax
call dword [sym.imp._CKERNEL.DLL_GetProcAddress]
cmp eax, ebx
mov dword [esi + 0x34], eax
je 0x719cbd0c
push 0x719cbda8
push dword [esi + 0xc]
call dword [sym.imp._CKERNEL.DLL_GetProcAddress]
cmp eax, ebx
mov dword [esi + 0x38], eax
je 0x719cbd0c
push 0x719cbd90
push dword [esi + 0xc]
call dword [sym.imp._CKERNEL.DLL_GetProcAddress]
cmp eax, ebx
mov dword [esi + 0x3c], eax
je 0x719cbd0c
push 0x719cbd7c
push dword [esi + 0xc]
call dword [sym.imp._CKERNEL.DLL_GetProcAddress]
cmp eax, ebx
mov dword [esi + 0x40], eax
je 0x719cbd0c
mov edi, dword [sym.imp._CKERNEL.DLL_GetProcAddress]
push 0x719cbd64
push dword [esi + 0xc]
call edi
cmp eax, ebx
mov dword [esi + 0x44], eax
je 0x719d01ca
push 0x719cbd4c
push dword [esi + 0xc]
call edi
cmp eax, ebx
mov dword [esi + 0x48], eax
je 0x719d01d5
push 0x719cbd38
push dword [esi + 0xc]
call edi
cmp eax, ebx
mov dword [esi + 0x4c], eax
je 0x719d01e0
push 0x719cbd24
push dword [esi + 0xc]
call edi
cmp eax, ebx
mov dword [esi + 0x50], eax
je 0x719d01eb
push 0x719cbd18
push dword [esi + 0xc]
call edi
cmp eax, ebx
mov dword [esi + 0x54], eax
je 0x719d01f6
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
mov dword [esi + 0x24], eax
lea eax, [esi + 0x58]
push eax
call sub._Cmvrt.DLL_wcscpy
mov dword [esi + 8], 1
mov eax, dword [0x719f71bc]
mov dword [esi], eax
mov ebx, 0x719f71bc
mov dword [esi + 4], ebx
mov dword [eax + 4], esi
mov eax, dword [ebp + 0x10]
mov dword [0x719f71bc], esi
pop ecx
mov dword [eax], esi
mov esi, dword [esi]
pop ecx
cmp esi, ebx
jne 0x719d0201
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
push 8
pop eax
jmp 0x719cbd00
call dword [sym.imp._CKERNEL.DLL_GetLastError]
jmp 0x719d019f
push esi
push ebx
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlFreeHeap]
jmp 0x719cbd07
push esi
mov esi, dword [sym.imp._Cntl.DLL_RtlFreeHeap]
push ebx
push dword [0x719f71dc]
call esi
push dword [ebp - 8]
jmp 0x719d0130
push esi
mov esi, dword [sym.imp._Cntl.DLL_RtlFreeHeap]
push ebx
push dword [0x719f71dc]
call esi
push dword [ebp - 8]
push ebx
push dword [0x719f71dc]
call esi
push dword [ebp - 0x10]
push ebx
push dword [0x719f71dc]
call esi
jmp 0x719cbd07
push esi
push ebx
push dword [0x719f71dc]
call edi
push dword [ebp - 8]
push ebx
push dword [0x719f71dc]
call edi
push dword [ebp - 0x10]
jmp 0x719d01ac
push esi
push ebx
push dword [0x719f71dc]
call edi
push dword [ebp - 8]
push ebx
push dword [0x719f71dc]
call edi
push dword [ebp - 0x10]
push ebx
push dword [0x719f71dc]
call edi
push dword [ebp - 0xc]
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
jmp 0x719d01b5
or dword [esi + 0x20], 0xffffffff
jmp 0x719cbb31
push esi
jmp 0x719d0172
cmp eax, ebx
jne 0x719cbbd8
jmp 0x719cbd0c
push dword [esi + 0xc]
mov dword [ebp - 4], eax
call dword [sym.imp._CKERNEL.DLL_FreeLibrary]
push esi
push ebx
push dword [0x719f71dc]
call edi
cmp dword [ebp - 4], 8
je 0x719d01c2
mov dword [ebp - 4], 0x277b
mov eax, dword [ebp - 4]
jmp 0x719cbd00
call dword [sym.imp._CKERNEL.DLL_GetLastError]
jmp 0x719cbc68
call dword [sym.imp._CKERNEL.DLL_GetLastError]
jmp 0x719cbc7d
call dword [sym.imp._CKERNEL.DLL_GetLastError]
jmp 0x719cbc92
call dword [sym.imp._CKERNEL.DLL_GetLastError]
jmp 0x719cbca7
call dword [sym.imp._CKERNEL.DLL_GetLastError]
jmp 0x719cbcbc
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, 0x58
mov edi, esi
mov esi, dword [esi]
push eax
lea eax, [edi + 0x58]
push eax
call sub._Cmvrt.DLL_wcscmp
test eax, eax
pop ecx
pop ecx
jne 0x719cbcf6
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov dword [eax + 4], ecx
lea eax, [edi + 8]
push eax
call dword [sym.imp._CKERNEL.DLL_InterlockedDecrement]
test eax, eax
jne 0x719cbcf6
push edi
call fcn.719d98ba
jmp 0x719cbcf6