joyce8/EMBER2024-capa huggingface dataset:
Function at 0x719d8367
Capabilities:
Install driver
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0x20019
xor esi, esi
push esi
push 0x719d84c0
push reloc.WS2__32_Coverage_C_WINDOWS_system32.DLL_Ordinal_2
call dword [sym.imp._CADVAPI.DLL_RegOpenKeyExA]
test eax, eax
jne 0x719d83cb
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push 0x719d84a8
push dword [ebp - 8]
mov dword [ebp - 0xc], 4
call dword [sym.imp._CADVAPI.DLL_RegQueryValueExA]
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
cmp edi, esi
jne 0x719d83cb
cmp dword [ebp - 0x10], esi
je 0x719d83cb
mov eax, 0x276b
jmp 0x719d8432
push 2
call dword [sym.imp._Cntl.DLL_RtlImpersonateSelf]
mov edi, eax
cmp edi, esi
jl 0x719d842c
mov esi, dword [sym.imp._Cntl.DLL_RtlAdjustPrivilege]
lea eax, [ebp - 1]
push eax
push 1
push 1
push 0xa
call esi
mov edi, eax
test edi, edi
jl 0x719d841e
push 0x719d8438
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp._Cntl.DLL_RtlInitUnicodeString]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp._Cntl.DLL_NtLoadDriver]
cmp byte [ebp - 1], 0
mov edi, eax
jne 0x719d841e
lea eax, [ebp - 1]
push eax
push 1
push 1
push 0xa
call esi
call dword [sym.imp._CADVAPI.DLL_RevertToSelf]
test edi, edi
jl 0x719d842c
xor eax, eax
jmp 0x719d8432
push edi
call fcn.719c3cb2
pop edi
pop esi
leave
ret
Function at 0x719debd9
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push eax
push 1
push 0
push 0x719dec90
push reloc.WS2__32_Coverage_C_WINDOWS_system32.DLL_Ordinal_2
call dword [sym.imp._CADVAPI.DLL_RegOpenKeyExA]
test eax, eax
jne 0x719dec42
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x719dec78
push dword [ebp - 8]
mov dword [ebp - 0xc], 4
call dword [sym.imp._CADVAPI.DLL_RegQueryValueExA]
test eax, eax
jne 0x719dec39
mov eax, 0x7ff
cmp dword [ebp - 4], eax
jae 0x719dec31
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [0x719f79d0], eax
push dword [ebp - 8]
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
mov eax, dword [0x719f79d0]
push edi
push 4
push 0x3000
shl eax, 2
push eax
push 0
call dword [sym.imp._CKERNEL.DLL_VirtualAlloc]
mov edi, eax
xor eax, eax
test edi, edi
mov dword [0x719f766c], edi
je 0x719dec72
mov ecx, dword [0x719f79d0]
rep stosd dword es:[edi], eax
inc eax
pop edi
leave
ret
Function at 0x719dfe8c
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x719f7264]
push ebx
push esi
mov esi, dword [sym.imp._CADVAPI.DLL_RegOpenKeyExW]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0xdc]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x719d5cc0
push reloc.WS2__32_Coverage_C_WINDOWS_system32.DLL_Ordinal_2
call esi
test eax, eax
jne 0x719dff96
lea eax, [ebp - 0xd8]
push eax
push 0x20019
push ebx
push dword [ebp - 0xd4]
push dword [ebp - 0xdc]
call esi
push dword [ebp - 0xdc]
mov esi, dword [sym.imp._CADVAPI.DLL_RegCloseKey]
mov dword [ebp - 0xd0], eax
call esi
cmp dword [ebp - 0xd0], ebx
jne 0x719dff96
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xe4]
push eax
push ebx
push 0x719d5cb4
push dword [ebp - 0xd8]
mov dword [ebp - 0xe0], 0xc8
call dword [sym.imp._CADVAPI.DLL_RegQueryValueExW]
push dword [ebp - 0xd8]
mov dword [ebp - 0xd0], eax
call esi
cmp dword [ebp - 0xd0], ebx
je 0x719dff64
push dword [ebp - 0xd0]
jmp 0x719e0077
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp._Cmvrt.DLL_wcslen]
pop ecx
mov word [ebp + eax*2 - 0xce], bx
push edi
lea eax, [ebp - 0xca]
push eax
call dword [sym.imp._Ccrt4.DLL_UuidFromStringW]
cmp eax, ebx
je 0x719e009d
push eax
jmp 0x719e0077
push dword [ebp - 0xd4]
call fcn.719dfd14
mov esi, eax
cmp esi, ebx
je 0x719e004c
push 0x719d5a74
push esi
call sub.WS2__32_Coverage_C_WINDOWS_system32.DLL_Ordinal_55
cmp eax, ebx
mov dword [ebp - 0xd0], eax
je 0x719e000f
push esi
push ebx
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlFreeHeap]
mov eax, dword [ebp - 0xd0]
movzx eax, word [eax + 8]
push eax
call sub.WS2__32_Coverage_C_WINDOWS_system32.DLL_Ordinal_9
movzx eax, ax
or eax, 0x90000
mov dword [edi], eax
mov word [edi + 4], bx
mov word [edi + 6], bx
mov byte [edi + 8], 0xc0
mov byte [edi + 9], bl
mov byte [edi + 0xa], bl
mov byte [edi + 0xb], bl
mov byte [edi + 0xc], bl
mov byte [edi + 0xd], bl
mov byte [edi + 0xe], bl
mov byte [edi + 0xf], 0x46
jmp 0x719e009d
push 0x719d5a70
push esi
call sub.WS2__32_Coverage_C_WINDOWS_system32.DLL_Ordinal_55
push esi
push ebx
push dword [0x719f71dc]
mov dword [ebp - 0xd0], eax
call dword [sym.imp._Cntl.DLL_RtlFreeHeap]
mov eax, dword [ebp - 0xd0]
cmp eax, ebx
je 0x719e004c
movzx eax, word [eax + 8]
push eax
call sub.WS2__32_Coverage_C_WINDOWS_system32.DLL_Ordinal_9
movzx eax, ax
or eax, 0xa0000
jmp 0x719dffe6
xor esi, esi
push dword [ebx + 0x719f79d8]
push dword [ebp - 0xd4]
call dword [sym.imp._Cmvrt.DLL_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x719e008f
add ebx, 0x14
inc esi
cmp ebx, 0x1a4
jb 0x719e004e
push 0x424
call dword [sym.imp._CKERNEL.DLL_SetLastError]
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.719c15f6
leave
ret 8
lea esi, [esi + esi*4]
lea esi, [esi*4 + 0x719f79dc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
jmp 0x719e0080
Function at 0x719e043a
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [sym.imp._CADVAPI.DLL_RegCreateKeyExW]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
xor esi, esi
push esi
push 0x2001f
push esi
mov ebx, 0x719ca214
push ebx
push esi
push 0x719d5cc0
push reloc.WS2__32_Coverage_C_WINDOWS_system32.DLL_Ordinal_2
call edi
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x719e056f
cmp dword [ebp + 8], 4
jne 0x719e0566
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x2001f
push esi
push ebx
push esi
push dword [ebp + 0xc]
mov dword [ebp - 8], esi
push dword [ebp - 0xc]
mov dword [ebp + 8], esi
call edi
test eax, eax
jne 0x719e0557
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
call dword [sym.imp._Ccrt4.DLL_UuidToStringW]
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x719e054c
push dword [ebp + 8]
call dword [sym.imp._Cmvrt.DLL_wcslen]
pop ecx
lea eax, [eax + eax + 6]
push eax
push esi
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlAllocateHeap]
mov ebx, eax
cmp ebx, esi
je 0x719e0539
push 0x719e0580
push ebx
call dword [sym.imp._Cmvrt.DLL_wcscpy]
push dword [ebp + 8]
mov edi, dword [sym.imp._Cmvrt.DLL_wcscat]
push ebx
call edi
push 0x719e057c
push ebx
call edi
push ebx
call dword [sym.imp._Cmvrt.DLL_wcslen]
add esp, 0x1c
lea eax, [eax + eax + 2]
push eax
push ebx
push 1
push esi
push 0x719d5cb4
push dword [ebp - 8]
call dword [sym.imp._CADVAPI.DLL_RegSetValueExW]
push ebx
push esi
push dword [0x719f71dc]
mov dword [ebp - 4], eax
call dword [sym.imp._Cntl.DLL_RtlFreeHeap]
jmp 0x719e0542
call dword [sym.imp._CKERNEL.DLL_GetLastError]
mov dword [ebp - 4], eax
lea eax, [ebp + 8]
push eax
call dword [sym.imp._Ccrt4.DLL_RpcStringFreeW]
push dword [ebp - 8]
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
jmp 0x719e0566
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [sym.imp._CADVAPI.DLL_RegDeleteKeyW]
mov dword [ebp - 4], eax
push dword [ebp - 0xc]
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x719e101b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp._CADVAPI.DLL_RegQueryValueExW]
push edi
lea eax, [ebp - 4]
push eax
xor edi, edi
push edi
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
call esi
mov ebx, eax
cmp ebx, edi
jne 0x719e1078
push dword [ebp - 4]
push edi
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlAllocateHeap]
cmp eax, edi
mov dword [ebp - 8], eax
jne 0x719e1081
push 8
pop ebx
cmp dword [ebp - 8], edi
je 0x719e1078
push dword [ebp - 8]
push edi
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlFreeHeap]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov ebx, eax
cmp ebx, edi
jne 0x719e1063
cmp dword [ebp - 0xc], 7
je 0x719e10a6
mov ebx, 0x70c
jmp 0x719e1063
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
jmp 0x719e1078

Function at 0x719e10b5
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp._CADVAPI.DLL_RegQueryValueExW]
push edi
lea eax, [ebp - 4]
push eax
xor edi, edi
push edi
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
call esi
mov ebx, eax
cmp ebx, edi
jne 0x719e1112
push dword [ebp - 4]
push edi
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlAllocateHeap]
cmp eax, edi
mov dword [ebp - 0xc], eax
jne 0x719e111b
push 8
pop ebx
cmp dword [ebp - 0xc], edi
je 0x719e1112
push dword [ebp - 0xc]
push edi
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlFreeHeap]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov ebx, eax
cmp ebx, edi
jne 0x719e10fd
cmp dword [ebp - 8], 1
je 0x719e1146
cmp dword [ebp - 8], 2
je 0x719e1146
mov ebx, 0x70c
jmp 0x719e10fd
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
jmp 0x719e1112
Function at 0x719e1155
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp._CADVAPI.DLL_RegQueryValueExW]
push edi
lea eax, [ebp - 4]
push eax
xor edi, edi
push edi
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
call esi
mov ebx, eax
cmp ebx, edi
jne 0x719e11b2
push dword [ebp - 4]
push edi
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlAllocateHeap]
cmp eax, edi
mov dword [ebp - 8], eax
jne 0x719e11bb
push 8
pop ebx
cmp dword [ebp - 8], edi
je 0x719e11b2
push dword [ebp - 8]
push edi
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlFreeHeap]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x10
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov ebx, eax
cmp ebx, edi
jne 0x719e119d
cmp dword [ebp - 0xc], 3
je 0x719e11e0
mov ebx, 0x70c
jmp 0x719e119d
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
jmp 0x719e11b2

Function at 0x719e1259
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
cmp edi, ebx
jne 0x719e1270
mov edi, 0x719ca214
jmp 0x719e128d
cmp word [edi], bx
push esi
mov esi, edi
je 0x719e128c
push esi
call dword [sym.imp._Cmvrt.DLL_wcslen]
inc eax
lea esi, [esi + eax*2]
add ebx, eax
cmp word [esi], 0
pop ecx
jne 0x719e1278
pop esi
lea eax, [ebx + ebx + 2]
push eax
push edi
push 7
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp._CADVAPI.DLL_RegSetValueExW]
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x719e15fd
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x719f7264]
mov ecx, dword [ebp + 0xc]
push esi
push edi
lea edx, [ebp - 0x208]
push edx
push 0x2000000
xor edi, edi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ecx
push eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x208], edi
call dword [sym.imp._CADVAPI.DLL_RegOpenKeyExW]
mov esi, eax
cmp esi, 2
jne 0x719e164f
xor esi, esi
jmp 0x719e16de
cmp esi, edi
jne 0x719e16de
push ebx
mov ebx, dword [sym.imp._CADVAPI.DLL_RegEnumKeyExW]
jmp 0x719e1678
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x208]
call fcn.719e15fd
mov esi, eax
cmp esi, edi
jne 0x719e16a9
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push edi
push dword [ebp - 0x208]
mov dword [ebp - 0x20c], 0x100
call ebx
mov esi, eax
cmp esi, edi
je 0x719e1660
cmp esi, 0x103
pop ebx
jne 0x719e16de
push dword [ebp - 0x208]
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
mov esi, eax
cmp esi, edi
mov dword [ebp - 0x208], edi
jne 0x719e16f2
push dword [ebp - 0x210]
push dword [ebp - 0x214]
call dword [sym.imp._CADVAPI.DLL_RegDeleteKeyW]
mov esi, eax
cmp dword [ebp - 0x208], edi
je 0x719e16f2
push dword [ebp - 0x208]
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
call fcn.719c15f6
leave
ret 8
Function at 0x719e30b9
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor edi, edi
push edi
push 0x719e3210
push reloc.WS2__32_Coverage_C_WINDOWS_system32.DLL_Ordinal_2
mov dword [ebp - 8], 4
call dword [sym.imp._CADVAPI.DLL_RegOpenKeyExW]
test eax, eax
jne 0x719e3176
push esi
mov esi, dword [sym.imp._CADVAPI.DLL_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
push 0x719f7c24
lea eax, [ebp - 0xc]
push eax
push edi
push 0x719e31f4
push dword [ebp - 4]
call esi
lea eax, [ebp - 8]
push eax
push 0x719f7c28
lea eax, [ebp - 0xc]
push eax
push edi
push 0x719e31d8
push dword [ebp - 4]
call esi
lea eax, [ebp - 8]
push eax
push 0x719f7c2c
lea eax, [ebp - 0xc]
push eax
push edi
push 0x719e31c0
push dword [ebp - 4]
call esi
lea eax, [ebp - 8]
push eax
push 0x719f7c30
lea eax, [ebp - 0xc]
push eax
push edi
push 0x719e31a4
push dword [ebp - 4]
call esi
lea eax, [ebp - 8]
push eax
push 0x719f7c20
lea eax, [ebp - 0xc]
push eax
push edi
push 0x719e317c
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
pop esi
pop edi
leave
ret
Function at 0x719e493c
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea eax, [ebp - 8]
push eax
push 0x20019
xor edi, edi
push edi
push 0x719d5eb8
push reloc.WS2__32_Coverage_C_WINDOWS_system32.DLL_Ordinal_2
call dword [sym.imp._CADVAPI.DLL_RegOpenKeyExW]
cmp eax, edi
jne 0x719e4a4d
push ebx
mov ebx, dword [sym.imp._CADVAPI.DLL_RegQueryValueExW]
push esi
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push edi
push 0x719e4a54
push dword [ebp - 8]
mov dword [ebp - 4], edi
call ebx
cmp eax, 0xea
je 0x719e4997
cmp eax, edi
je 0x719e4997
mov esi, eax
jmp 0x719e49b9
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
push edi
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlAllocateHeap]
mov esi, dword [ebp + 8]
mov edx, eax
cmp edx, edi
mov dword [esi], edx
jne 0x719e49c9
push 8
pop esi
push dword [ebp - 8]
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
mov eax, esi
jmp 0x719e4a4b
mov ecx, dword [ebp - 4]
add ecx, 0x10
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [ebp - 4]
push eax
push dword [esi]
lea eax, [ebp - 0xc]
push eax
xor edi, edi
push edi
push 0x719e4a54
push dword [ebp - 8]
call ebx
push dword [ebp - 8]
mov ebx, eax
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
cmp ebx, edi
je 0x719e4a1a
push dword [esi]
push edi
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlFreeHeap]
mov eax, ebx
jmp 0x719e4a4b
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [edx], edi
mov eax, dword [esi]
lea ecx, [eax + ecx*2]
jmp 0x719e4a44
inc dword [edx]
cmp eax, ecx
jae 0x719e4a49
cmp word [eax], di
je 0x719e4a3a
inc eax
inc eax
cmp eax, ecx
jb 0x719e4a2f
cmp eax, ecx
jae 0x719e4a49
inc eax
inc eax
cmp eax, ecx
jae 0x719e4a49
cmp word [eax], di
jne 0x719e4a29
xor eax, eax
pop esi
pop ebx
pop edi
leave
ret 8
Function at 0x719e4ab1
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x719d5eb8
push reloc.WS2__32_Coverage_C_WINDOWS_system32.DLL_Ordinal_2
mov dword [0x719f8660], esi
mov dword [0x719f8664], esi
call dword [sym.imp._CADVAPI.DLL_RegOpenKeyExW]
cmp eax, esi
jne 0x719e4c1e
push ebx
push edi
mov edi, dword [sym.imp._CADVAPI.DLL_RegQueryValueExW]
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push esi
mov ebx, 0x719e4c24
push ebx
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
call edi
cmp eax, 0xea
je 0x719e4b15
cmp eax, esi
jne 0x719e4b2f
push dword [ebp - 0xc]
push esi
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlAllocateHeap]
cmp eax, esi
mov dword [ebp - 8], eax
jne 0x719e4b3f
push 8
pop esi
push dword [ebp - 4]
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
mov eax, esi
jmp 0x719e4c1c
lea ecx, [ebp - 0xc]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push ebx
push dword [ebp - 4]
call edi
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
cmp edi, esi
jne 0x719e4c0a
mov edi, dword [ebp - 8]
mov ebx, dword [sym.imp._Cmvrt.DLL_wcslen]
mov dword [0x719f8664], esi
jmp 0x719e4b81
inc dword [0x719f8664]
push edi
call ebx
pop ecx
lea edi, [edi + eax*2 + 2]
cmp word [edi], si
jne 0x719e4b73
mov eax, dword [0x719f8664]
lea eax, [eax*4 + 4]
push eax
push esi
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlAllocateHeap]
cmp eax, esi
mov dword [0x719f8660], eax
jne 0x719e4bc4
push dword [ebp - 8]
push esi
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlFreeHeap]
push 8
mov dword [0x719f8664], esi
pop eax
jmp 0x719e4c1c
mov edi, dword [ebp - 8]
cmp word [edi], si
je 0x719e4bff
mov dword [ebp - 0x10], esi
push esi
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp._Cmvrt.DLL_wcstol]
mov edx, dword [ebp - 0x10]
mov ecx, dword [0x719f8660]
add dword [ebp - 0x10], 4
push edi
mov dword [edx + ecx], eax
call ebx
lea edi, [edi + eax*2 + 2]
add esp, 0x10
cmp word [edi], si
jne 0x719e4bcf
mov eax, dword [0x719f8660]
mov ecx, dword [0x719f8664]
mov dword [eax + ecx*4], esi
xor edi, edi
push dword [ebp - 8]
push esi
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlFreeHeap]
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret
Function at 0x719e5828
Capabilities:
Query service status
Start service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
push 5
pop edi
push edi
xor esi, esi
push esi
push esi
call dword [sym.imp._CADVAPI.DLL_OpenSCManagerA]
cmp eax, esi
mov dword [ebp - 8], eax
jne 0x719e5860
call dword [sym.imp._CKERNEL.DLL_GetLastError]
sub eax, edi
neg eax
sbb eax, eax
and eax, 0x4e
add eax, 0x271d
jmp 0x719e5906
push 0x14
push 0x719c8950
push eax
call dword [sym.imp._CADVAPI.DLL_OpenServiceA]
cmp eax, esi
mov dword [ebp - 4], eax
je 0x719e58e4
push ebx
push esi
push esi
push eax
call dword [sym.imp._CADVAPI.DLL_StartServiceA]
test eax, eax
je 0x719e58c6
mov ebx, edi
mov edi, dword [sym.imp._CADVAPI.DLL_QueryServiceStatus]
jmp 0x719e58b1
cmp dword [ebp - 0x20], 2
jne 0x719e58c0
test ebx, ebx
jle 0x719e58a4
call dword [sym.imp._CKERNEL.DLL_SwitchToThread]
test eax, eax
je 0x719e58a4
dec ebx
jmp 0x719e58b1
push 0x1f4
xor ebx, ebx
call dword [sym.imp._CKERNEL.DLL_Sleep]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
call edi
test eax, eax
je 0x719e58d3
jmp 0x719e588d
cmp dword [ebp - 0x20], 4
jmp 0x719e58d1
call dword [sym.imp._CKERNEL.DLL_GetLastError]
cmp eax, 0x420
je 0x719e58d8
mov esi, 0x276b
push dword [ebp - 4]
call dword [sym.imp._CADVAPI.DLL_CloseServiceHandle]
pop ebx
jmp 0x719e58fb
call dword [sym.imp._CKERNEL.DLL_GetLastError]
mov esi, eax
sub esi, edi
neg esi
sbb esi, esi
and esi, 0x4e
add esi, 0x271d
push dword [ebp - 8]
call dword [sym.imp._CADVAPI.DLL_CloseServiceHandle]
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x719e66fd
Capabilities:
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x14], 0x2550
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
push edi
jmp 0x719e675e
cmp dword [ebp - 4], edi
je 0x719e673b
push dword [ebp - 4]
push edi
push dword [0x719f73f8]
call dword [sym.imp._CKERNEL.DLL_HeapFree]
push dword [ebp - 0xc]
push 8
push dword [0x719f73f8]
call dword [sym.imp._CKERNEL.DLL_HeapAlloc]
cmp eax, edi
mov dword [ebp - 4], eax
je 0x719e67fe
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push dword [esi + 0x19c]
call sub.iphlpapi.dll_GetPerAdapterInfo
cmp eax, 0x6f
je 0x719e6726
cmp eax, edi
jne 0x719e67fe
mov esi, dword [ebp - 4]
push ebx
add esi, 0xc
xor ebx, ebx
cmp esi, edi
je 0x719e67fd
lea eax, [esi + 4]
push eax
call dword [sym.imp.WS2__32_Coverage_C_WINDOWS_system32.DLL_Ordinal_11]
cmp eax, 0x100007f
jne 0x719e6795
dec ebx
mov esi, dword [esi]
inc ebx
cmp esi, edi
jne 0x719e6783
cmp ebx, 1
jb 0x719e67fd
lea eax, [ebx*4 + 4]
push eax
push 8
push dword [0x719f73f8]
call dword [sym.imp._CKERNEL.DLL_HeapAlloc]
cmp eax, edi
mov dword [ebp - 8], eax
je 0x719e67fd
mov esi, dword [ebp - 4]
add esi, 0xc
jmp 0x719e67e1
lea eax, [esi + 4]
push eax
call dword [sym.imp.WS2__32_Coverage_C_WINDOWS_system32.DLL_Ordinal_11]
cmp eax, 0x100007f
je 0x719e67df
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
inc dword [ecx]
mov esi, dword [esi]
cmp esi, edi
jne 0x719e67c6
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
push 8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call sub.DNSAPI.dll_DnsQuery_A
mov dword [ebp - 0x14], eax
pop ebx
cmp dword [ebp - 0x10], edi
je 0x719e680d
push 1
push dword [ebp - 0x10]
call sub.DNSAPI.dll_DnsRecordListFree
cmp dword [ebp - 4], edi
je 0x719e6822
push dword [ebp - 4]
push edi
push dword [0x719f73f8]
call dword [sym.imp._CKERNEL.DLL_HeapFree]
cmp dword [ebp - 8], edi
je 0x719e6837
push dword [ebp - 8]
push edi
push dword [0x719f73f8]
call dword [sym.imp._CKERNEL.DLL_HeapFree]
xor eax, eax
cmp dword [ebp - 0x14], edi
pop edi
sete al
pop esi
leave
ret 0xc