joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10012632
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 1
call fcn.10011d08
add esp, 4
cmp eax, 1
jne 0x1001274a
push str.3.81
push 0x1014b7c0
call fcn.1001bf60
add esp, 8
test eax, eax
jl 0x1001274a
push 0x10142704
push 0xf003f
push 0
push 0x100ff5d0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [0x101422e0], eax
cmp dword [0x101422e0], 0
je 0x100126b7
push 0x2002007
call fcn.1000427e
add esp, 4
push 0x10001
call fcn.100042e2
add esp, 4
mov eax, 0xffffffff
jmp 0x10012751
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push 0x100ff600
mov eax, dword [0x10142704]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [0x101422e0], eax
cmp dword [0x101422e0], 0
je 0x10012708
push 0x2002007
call fcn.1000427e
add esp, 4
push 0x10003
call fcn.100042e2
add esp, 4
mov eax, 0xffffffff
jmp 0x10012751
mov eax, dword [0x10142704]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x101422e0], eax
cmp dword [0x101422e0], 0
je 0x1001274a
push 0x2002007
call fcn.1000427e
add esp, 4
push 0x10002
call fcn.100042e2
add esp, 4
mov eax, 0xffffffff
jmp 0x10012751
xor eax, eax
jmp 0x10012751
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10012756
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x100ff608
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100127b5
push 0x2002007
call fcn.1000427e
add esp, 4
push 0x10007
call fcn.100042e2
add esp, 4
mov eax, 0xffffffff
jmp 0x10012858
mov dword [ebp - 0x54], 0xffff
push 0x100ff61c
lea eax, [ebp - 0x4c]
push eax
call fcn.1001bc30
add esp, 8
push 4
lea eax, [ebp - 0x54]
push eax
push 4
push 0
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10012816
push 0x2002007
call fcn.1000427e
add esp, 4
push 0x10003
call fcn.100042e2
add esp, 4
mov eax, 0xffffffff
jmp 0x10012858
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10012851
push 0x2002007
call fcn.1000427e
add esp, 4
push 0x10002
call fcn.100042e2
add esp, 4
mov eax, 0xffffffff
jmp 0x10012858
xor eax, eax
jmp 0x10012858
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100128ed
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
mov byte [ebp - 4], 0
push 0x10142704
push 0xf003f
push 0
push 0x100ff628
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [0x101422e0], eax
cmp dword [0x101422e0], 0
je 0x1001293f
push 0x10001
call fcn.100042e2
add esp, 4
mov eax, 0xffffffff
jmp 0x100129cb
push 1
lea eax, [ebp - 4]
push eax
push 3
push 0
push 0x100ff654
mov eax, dword [0x10142704]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [0x101422e0], eax
cmp dword [0x101422e0], 0
je 0x1001298f
push 0x10003
call fcn.100042e2
add esp, 4
mov eax, dword [0x10142704]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xffffffff
jmp 0x100129cb
mov eax, dword [0x10142704]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x101422e0], eax
cmp dword [0x101422e0], 0
je 0x100129c4
push 0x10002
call fcn.100042e2
add esp, 4
mov eax, 0xffffffff
jmp 0x100129cb
xor eax, eax
jmp 0x100129cb
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10012d86
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x10142704
push 0
push 0xf003f
push 0
push 0
push 0
push 0x100ff718
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [0x101422e0], eax
cmp dword [0x101422e0], 0
je 0x10012dde
push 0x10007
call fcn.100042e2
add esp, 4
mov eax, 0xffffffff
jmp 0x10012f62
mov eax, dword [0x10142704]
push eax
call fcn.100053ef
add esp, 4
cmp eax, 0xffffffff
jne 0x10012dff
mov eax, 0xffffffff
jmp 0x10012f62
push str.ProcessorType
push 0x101422a0
call fcn.1001bc30
add esp, 8
push 4
push 0x100ff760
push 1
push 0
push 0x101422a0
mov eax, dword [0x10142704]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [0x101422e0], eax
cmp dword [0x101422e0], 0
je 0x10012e56
push 0x10003
call fcn.100042e2
add esp, 4
mov eax, 0xffffffff
jmp 0x10012f62
mov dword [ebp - 0xc], 0xffff
push 0x100ff764
push 0x101422a0
call fcn.1001bc30
add esp, 8
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push 0x101422a0
mov eax, dword [0x10142704]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [0x101422e0], eax
cmp dword [0x101422e0], 0
je 0x10012eb3
push 0x10003
call fcn.100042e2
add esp, 4
mov eax, 0xffffffff
jmp 0x10012f62
mov eax, dword [0x10142704]
push eax
call fcn.10004e8b
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x10012ed8
mov eax, 0xffffffff
jmp 0x10012f62
mov eax, dword [0x10142704]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x101422e0], eax
cmp dword [0x101422e0], 0
je 0x10012f0d
push 0x10002
call fcn.100042e2
add esp, 4
mov eax, 0xffffffff
jmp 0x10012f62
call fcn.10017535
cmp dword [0x10034ed8], 0
je 0x10012f33
push 0x100ff770
push 0x30
call fcn.100038e8
mov dword [ebp - 8], eax
jmp 0x10012f42
push 0x100ff780
push 0x30
call fcn.100038e8
mov dword [ebp - 8], eax
call fcn.1001754a
cmp dword [ebp - 8], 0xffffffff
jne 0x10012f5b
mov eax, 0xffffffff
jmp 0x10012f62
xor eax, eax
jmp 0x10012f62
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10014018
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x10142704
push 0xf003f
push 0
mov eax, dword [ebp + 8]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [0x101422e0], eax
cmp dword [0x101422e0], 2
jne 0x10014052
xor eax, eax
jmp 0x1001411d
cmp dword [0x101422e0], 0
je 0x10014076
push 0x10001
call fcn.100042e2
add esp, 4
mov eax, 0xffffffff
jmp 0x1001411d
cmp dword [ebp + 0xc], 0
je 0x1001409a
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [0x10142704]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [0x101422e0], eax
jmp 0x100140ae
mov eax, dword [ebp + 8]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [0x101422e0], eax
cmp dword [0x101422e0], 0
je 0x100140eb
cmp dword [0x101422e0], 2
je 0x100140eb
mov eax, dword [0x10142704]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x10005
call fcn.100042e2
add esp, 4
mov eax, 0xffffffff
jmp 0x1001411d
mov eax, dword [0x10142704]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x10014116
push 0x10002
call fcn.100042e2
add esp, 4
mov eax, 0xffffffff
jmp 0x1001411d
xor eax, eax
jmp 0x1001411d
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10014122
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 4], 0
test byte [ebp + 8], 4
je 0x100141e5
push 0x200
push 0x10142500
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x200
push 0x101420a0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x100ff994
push 0x10142500
call fcn.1001bc40
add esp, 8
push 0x100ff9a0
push 0x101420a0
call fcn.1001bc40
add esp, 8
push str.pcrdhasp.inf
push 0x101420a0
call fcn.1001bc40
add esp, 8
push 0x10142500
call fcn.10005ffa
add esp, 4
test eax, eax
jne 0x100141e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
je 0x100141e5
cmp dword [ebp - 8], 5
jne 0x100141d1
push 0x4000b
call fcn.100042e2
add esp, 4
push 0x2004007
call fcn.1000427e
add esp, 4
mov dword [ebp - 4], 0xffffffff
test byte [ebp + 8], 8
je 0x100142b7
push 0x200
push 0x10142500
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x100ff9b8
push 0x10142500
call fcn.1001bc40
add esp, 8
push 0x10142500
call fcn.10005ffa
add esp, 4
test eax, eax
jne 0x10014264
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
je 0x10014264
cmp dword [ebp - 8], 5
jne 0x10014250
push 0x4000b
call fcn.100042e2
add esp, 4
push 0x200400f
call fcn.1000427e
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x101420a0
call fcn.10005ffa
add esp, 4
test eax, eax
jne 0x100142b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
je 0x100142b7
cmp dword [ebp - 8], 5
jne 0x100142a3
push 0x4000b
call fcn.100042e2
add esp, 4
push 0x200401d
call fcn.1000427e
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
jmp 0x100142bf
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100142c4
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 4], 0
test byte [ebp + 8], 1
je 0x100143da
push 0x200
push 0x10142500
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x200
push 0x101420a0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x100ff9c8
push 0x101420a0
call fcn.1001bc40
add esp, 8
push 0x100ff9d0
push 0x10142500
call fcn.1001bc40
add esp, 8
push 0x10142500
call fcn.10005ffa
add esp, 4
test eax, eax
jne 0x10014375
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
je 0x10014375
cmp dword [ebp - 8], 5
jne 0x10014361
push 0x4000b
call fcn.100042e2
add esp, 4
push 0x2004017
call fcn.1000427e
add esp, 4
mov dword [ebp - 4], 0xffffffff
push str.hlpcmcia.inf
push 0x101420a0
call fcn.1001bc40
add esp, 8
push 0x101420a0
call fcn.10005ffa
add esp, 4
test eax, eax
jne 0x100143da
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
je 0x100143da
cmp dword [ebp - 8], 5
jne 0x100143c6
push 0x4000b
call fcn.100042e2
add esp, 4
push 0x200401d
call fcn.1000427e
add esp, 4
mov dword [ebp - 4], 0xffffffff
test byte [ebp + 8], 2
je 0x10014459
push 0x200
push 0x10142500
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x100ff9f0
push 0x10142500
call fcn.1001bc40
add esp, 8
push 0x10142500
call fcn.10005ffa
add esp, 4
test eax, eax
jne 0x10014459
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
je 0x10014459
cmp dword [ebp - 8], 5
jne 0x10014445
push 0x4000b
call fcn.100042e2
add esp, 4
push 0x2004019
call fcn.1000427e
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
jmp 0x10014461
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10014466
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x608
push ebx
push esi
push edi
mov dword [ebp - 0x404], 0
push 0x200
push 0x10142500
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x10142500
lea eax, [ebp - 0x400]
push eax
call fcn.1001bc30
add esp, 8
push 0x10142500
lea eax, [ebp - 0x200]
push eax
call fcn.1001bc30
add esp, 8
push 0x100ff9fc
lea eax, [ebp - 0x400]
push eax
call fcn.1001bc40
add esp, 8
push str._aksusb.inf
lea eax, [ebp - 0x200]
push eax
call fcn.1001bc40
add esp, 8
push 0x200
push 0x101422f0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x101422f0
lea eax, [ebp - 0x608]
push eax
call fcn.1001bc30
add esp, 8
push 0x100ffa14
lea eax, [ebp - 0x608]
push eax
call fcn.1001bc40
add esp, 8
push 0x100ffa28
lea eax, [ebp - 0x608]
push eax
call fcn.1001bc40
add esp, 8
lea eax, [ebp - 0x400]
push eax
call fcn.10005ffa
add esp, 4
test eax, eax
jne 0x10014589
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 2
je 0x10014589
cmp dword [ebp - 0x408], 5
jne 0x10014572
push 0x4000b
call fcn.100042e2
add esp, 4
push 0x2004010
call fcn.1000427e
add esp, 4
mov dword [ebp - 0x404], 0xffffffff
lea eax, [ebp - 0x200]
push eax
call fcn.10005ffa
add esp, 4
test eax, eax
jne 0x100145ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 2
je 0x100145ea
cmp dword [ebp - 0x408], 5
jne 0x100145d3
push 0x4000b
call fcn.100042e2
add esp, 4
push 0x2004011
call fcn.1000427e
add esp, 4
mov dword [ebp - 0x404], 0xffffffff
cmp dword [ebp + 8], 0
je 0x100145ff
mov eax, dword [ebp - 0x404]
jmp 0x10014675
test byte [ebp + 0xc], 0x10
je 0x1001466a
lea eax, [ebp - 0x608]
push eax
call fcn.10005ffa
add esp, 4
test eax, eax
jne 0x1001466a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 2
je 0x1001466a
cmp dword [ebp - 0x408], 5
jne 0x10014653
push 0x4000b
call fcn.100042e2
add esp, 4
push 0x2004010
call fcn.1000427e
add esp, 4
mov dword [ebp - 0x404], 0xffffffff
mov eax, dword [ebp - 0x404]
jmp 0x10014675
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001467a
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x608
push ebx
push esi
push edi
mov dword [ebp - 0x404], 0
push 0x200
push 0x10142500
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x200
push 0x101422f0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x10142500
lea eax, [ebp - 0x608]
push eax
call fcn.1001bc30
add esp, 8
push 0x100ffa34
lea eax, [ebp - 0x608]
push eax
call fcn.1001bc40
add esp, 8
push 0x10142500
lea eax, [ebp - 0x200]
push eax
call fcn.1001bc30
add esp, 8
push 0x100ffa44
lea eax, [ebp - 0x200]
push eax
call fcn.1001bc40
add esp, 8
push 0x101422f0
lea eax, [ebp - 0x400]
push eax
call fcn.1001bc30
add esp, 8
push str.inf
lea eax, [ebp - 0x400]
push eax
call fcn.1001bc40
add esp, 8
push str._aksusb95.inf
lea eax, [ebp - 0x400]
push eax
call fcn.1001bc40
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.10005ffa
add esp, 4
test eax, eax
jne 0x1001479d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 2
je 0x1001479d
cmp dword [ebp - 0x408], 5
jne 0x10014786
push 0x4000b
call fcn.100042e2
add esp, 4
push 0x2004011
call fcn.1000427e
add esp, 4
mov dword [ebp - 0x404], 0xffffffff
cmp dword [ebp + 8], 0
je 0x100147b2
mov eax, dword [ebp - 0x404]
jmp 0x10014889
test byte [ebp + 0xc], 0x10
je 0x1001487e
lea eax, [ebp - 0x608]
push eax
call fcn.10005ffa
add esp, 4
test eax, eax
jne 0x1001481d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 2
je 0x1001481d
cmp dword [ebp - 0x408], 5
jne 0x10014806
push 0x4000b
call fcn.100042e2
add esp, 4
push 0x2004010
call fcn.1000427e
add esp, 4
mov dword [ebp - 0x404], 0xffffffff
lea eax, [ebp - 0x400]
push eax
call fcn.10005ffa
add esp, 4
test eax, eax
jne 0x1001487e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 2
je 0x1001487e
cmp dword [ebp - 0x408], 5
jne 0x10014867
push 0x4000b
call fcn.100042e2
add esp, 4
push 0x2004010
call fcn.1000427e
add esp, 4
mov dword [ebp - 0x404], 0xffffffff
mov eax, dword [ebp - 0x404]
jmp 0x10014889
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001488e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
push esi
push edi
push 0x200
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x400]
push eax
call fcn.1001bc30
add esp, 8
push 0x100ffa6c
lea eax, [ebp - 0x400]
push eax
call fcn.1001bc40
add esp, 8
lea eax, [ebp - 0x400]
push eax
call fcn.10014bc5
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0xffffffff
jne 0x10014902
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], 0
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x400]
push eax
call fcn.1001bc30
add esp, 8
push 0x100ffa7c
lea eax, [ebp - 0x400]
push eax
call fcn.1001bc40
add esp, 8
lea eax, [ebp - 0x400]
push eax
call fcn.10014bc5
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0xffffffff
jne 0x10014958
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x400]
push eax
call fcn.1001bc30
add esp, 8
push 0x100ffa88
lea eax, [ebp - 0x400]
push eax
call fcn.1001bc40
add esp, 8
lea eax, [ebp - 0x400]
push eax
call fcn.10017361
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xffffffff
jne 0x100149ae
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x400]
push eax
call fcn.1001bc30
add esp, 8
push 0x100ffa98
lea eax, [ebp - 0x400]
push eax
call fcn.1001bc40
add esp, 8
lea eax, [ebp - 0x400]
push eax
call fcn.1001739e
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0xffffffff
jne 0x10014a04
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
cmp dword [ebp + 0xc], 0
je 0x10014a4d
push 0x200
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str._system32drivers
lea eax, [ebp - 0x400]
push eax
call fcn.1001bc40
add esp, 8
push 0x100ffab8
lea eax, [ebp - 0x400]
push eax
call fcn.1001bc40
add esp, 8
jmp 0x10014a77
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x400]
push eax
call fcn.1001bc30
add esp, 8
push 0x100ffac4
lea eax, [ebp - 0x400]
push eax
call fcn.1001bc40
add esp, 8
lea eax, [ebp - 0x400]
push eax
call fcn.1001739e
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0xffffffff
jne 0x10014aa3
mov eax, dword [ebp + 8]
mov dword [eax + 0x24], 0
xor eax, eax
jmp 0x10014aaa
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10017bde
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2f28
call fcn.1001c260
push ebx
push esi
push edi
mov dword [ebp - 8], 0x1388
mov dword [ebp - 0x810], 0
mov dword [ebp - 0x818], 0
lea eax, [ebp - 0x814]
push eax
push 0xf003f
push 0
push 0x10112654
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
je 0x10017c55
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x10001
mov eax, dword [ebp - 0x80c]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
jmp 0x10017e57
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2f28]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x1011268c
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
je 0x10017c92
mov byte [ebp - 0x2f28], 0
mov eax, dword [ebp - 0x810]
xor ecx, ecx
mov cl, byte [ebp + eax - 0x2f28]
test ecx, ecx
je 0x10017d64
mov eax, dword [ebp - 0x810]
lea eax, [ebp + eax - 0x2f28]
push eax
lea eax, [ebp - 0x808]
push eax
call fcn.1001bc30
add esp, 8
lea eax, [ebp - 0x808]
push eax
call fcn.1001c1a0
add esp, 4
push 0x10112690
lea eax, [ebp - 0x808]
push eax
call fcn.1001bee0
add esp, 8
test eax, eax
jne 0x10017d3a
mov eax, dword [ebp - 0x810]
lea eax, [ebp + eax - 0x2f28]
push eax
mov eax, dword [ebp - 0x818]
lea eax, [ebp + eax - 0x1ba0]
push eax
call fcn.1001bc30
add esp, 8
mov eax, dword [ebp - 0x818]
lea eax, [ebp + eax - 0x1ba0]
push eax
call fcn.1001bd20
add esp, 4
mov ecx, dword [ebp - 0x818]
add ecx, eax
inc ecx
mov dword [ebp - 0x818], ecx
mov eax, dword [ebp - 0x810]
lea eax, [ebp + eax - 0x2f28]
push eax
call fcn.1001bd20
add esp, 4
mov ecx, dword [ebp - 0x810]
add ecx, eax
inc ecx
mov dword [ebp - 0x810], ecx
jmp 0x10017c92
push 0x1011269c
mov eax, dword [ebp - 0x818]
lea eax, [ebp + eax - 0x1ba0]
push eax
call fcn.1001bc30
add esp, 8
mov eax, dword [ebp - 0x818]
lea eax, [ebp + eax - 0x1ba0]
push eax
call fcn.1001bd20
add esp, 4
mov ecx, dword [ebp - 0x818]
add ecx, eax
inc ecx
mov dword [ebp - 0x818], ecx
mov eax, dword [ebp - 0x818]
mov byte [ebp + eax - 0x1ba0], 0
mov eax, dword [ebp - 0x818]
inc eax
push eax
lea eax, [ebp - 0x1ba0]
push eax
push 7
push 0
push 0x101126a8
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
je 0x10017e12
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x10006
mov eax, dword [ebp - 0x80c]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x10017e57
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
je 0x10017e4d
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x10002
mov eax, dword [ebp - 0x80c]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
jmp 0x10017e57
mov eax, 1
jmp 0x10017e57
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10017e5c
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2f28
call fcn.1001c260
push ebx
push esi
push edi
mov dword [ebp - 8], 0x1388
mov dword [ebp - 0x810], 0
mov dword [ebp - 0x818], 0
lea eax, [ebp - 0x814]
push eax
push 0xf003f
push 0
push str.SYSTEMCurrentControlSetControlVirtualDeviceDrivers
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
je 0x10017ed3
mov eax, dword [ebp + 8]
mov dword [eax], 0x10001
mov eax, dword [ebp - 0x80c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
jmp 0x100180b6
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2f28]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x101126e4
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
je 0x10017f31
mov eax, dword [ebp + 8]
mov dword [eax], 0x10006
mov eax, dword [ebp - 0x80c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x100180b6
mov eax, dword [ebp - 0x810]
xor ecx, ecx
mov cl, byte [ebp + eax - 0x2f28]
test ecx, ecx
je 0x10018003
mov eax, dword [ebp - 0x810]
lea eax, [ebp + eax - 0x2f28]
push eax
lea eax, [ebp - 0x808]
push eax
call fcn.1001bc30
add esp, 8
lea eax, [ebp - 0x808]
push eax
call fcn.1001c1a0
add esp, 4
push 0x101126e8
lea eax, [ebp - 0x808]
push eax
call fcn.1001bee0
add esp, 8
test eax, eax
jne 0x10017fd9
mov eax, dword [ebp - 0x810]
lea eax, [ebp + eax - 0x2f28]
push eax
mov eax, dword [ebp - 0x818]
lea eax, [ebp + eax - 0x1ba0]
push eax
call fcn.1001bc30
add esp, 8
mov eax, dword [ebp - 0x818]
lea eax, [ebp + eax - 0x1ba0]
push eax
call fcn.1001bd20
add esp, 4
mov ecx, dword [ebp - 0x818]
add ecx, eax
inc ecx
mov dword [ebp - 0x818], ecx
mov eax, dword [ebp - 0x810]
lea eax, [ebp + eax - 0x2f28]
push eax
call fcn.1001bd20
add esp, 4
mov ecx, dword [ebp - 0x810]
add ecx, eax
inc ecx
mov dword [ebp - 0x810], ecx
jmp 0x10017f31
mov eax, dword [ebp - 0x818]
mov byte [ebp + eax - 0x1ba0], 0
mov eax, dword [ebp - 0x818]
inc eax
push eax
lea eax, [ebp - 0x1ba0]
push eax
push 7
push 0
push 0x101126f4
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
je 0x10018071
mov eax, dword [ebp + 8]
mov dword [eax], 0x10006
mov eax, dword [ebp - 0x80c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x100180b6
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
je 0x100180ac
mov eax, dword [ebp + 8]
mov dword [eax], 0x10002
mov eax, dword [ebp - 0x80c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
jmp 0x100180b6
mov eax, 1
jmp 0x100180b6
pop edi
pop esi
pop ebx
leave
ret