joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100013dc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10019060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x2c], eax
xor ebx, ebx
call esi
mov byte [ebp - 0x14], 0x41
mov byte [ebp - 0x13], 0x64
mov byte [ebp - 0x12], 0x76
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0x10], 0x70
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 0xd], 0x32
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x64
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x6c
mov byte [ebp - 8], bl
call esi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
call esi
call esi
test edi, edi
jne 0x10001452
xor eax, eax
jmp 0x100014b0
lea eax, [ebp - 0x24]
push eax
push edi
mov byte [ebp - 0x24], 0x52
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x67
mov byte [ebp - 0x21], 0x43
mov byte [ebp - 0x20], 0x72
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x61
mov byte [ebp - 0x1d], 0x74
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x1b], 0x4b
mov byte [ebp - 0x1a], 0x65
mov byte [ebp - 0x19], 0x79
mov byte [ebp - 0x18], 0x41
mov byte [ebp - 0x17], bl
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100014a7
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push SysReAllocStringLen
call eax
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10007324
leave
ret

Function at 0x100014bf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10019060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x28], eax
push esi
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov byte [ebp - 0x14], 0x4b
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x6e
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 0xd], 0x32
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x64
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x6c
mov byte [ebp - 8], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, ebx
jne 0x10001520
xor eax, eax
jmp 0x1000157b
lea eax, [ebp - 0x24]
push eax
push esi
mov byte [ebp - 0x24], 0x43
mov byte [ebp - 0x23], 0x72
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x21], 0x61
mov byte [ebp - 0x20], 0x74
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x54
mov byte [ebp - 0x1d], 0x68
mov byte [ebp - 0x1c], 0x72
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x61
mov byte [ebp - 0x19], 0x64
mov byte [ebp - 0x18], bl
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x10001572
push ebx
push ebx
push dword [ebp - 0x28]
push 0x100058b0
push ebx
push ebx
call eax
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10007324
leave
ret
Function at 0x10001722
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x1001b858], 0
jne 0x10001752
push 0x10014cd4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x1000174b
push str.RegDeleteKeyExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1001b85c], eax
mov byte [0x1001b858], 1
mov eax, dword [0x1001b85c]
test eax, eax
je 0x1000176a
push 0
push dword [esi + 4]
push dword [esp + 0xc]
push dword [esi]
call eax
jmp 0x10001776
push dword [esp + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
ret 4
Function at 0x10002e36
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 6
push esi
push esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x10002e5f
xor eax, eax
jmp 0x10002e84
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x10002e81
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10002e5b
mov eax, dword [ebp - 4]
pop esi
leave
ret
Function at 0x10003a03
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x10019060]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
call fcn.1000698e
pop ecx
test al, al
je 0x10003b2a
push esi
push 0x103
lea eax, [ebp - 0x127]
push 0
push eax
mov byte [ebp - 0x128], 0
call fcn.1000a2b0
add esp, 0xc
mov eax, str.tl_v2.37.966
lea ecx, [ebp - 0x128]
call fcn.100070ee
lea esi, [ebp + eax - 0x128]
mov byte [esi], 0x7c
inc esi
mov eax, str.Q4AHS0Q1Ift7gcaFVg1J
mov ecx, esi
call fcn.100070ee
add esi, eax
mov eax, str.__path__
mov ecx, esi
call fcn.100070ee
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 0x10], 0x77
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xc], 0x6e
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x2e
mov byte [ebp - 8], 0x64
mov byte [ebp - 7], 0x6c
mov byte [ebp - 6], 0x6c
mov byte [ebp - 5], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x10003b29
lea eax, [ebp - 0x24]
push eax
push esi
mov byte [ebp - 0x24], 0x49
mov byte [ebp - 0x23], 0x6e
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x65
mov byte [ebp - 0x20], 0x72
mov byte [ebp - 0x1f], 0x6e
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0x74
mov byte [ebp - 0x1c], 0x53
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x74
mov byte [ebp - 0x19], 0x43
mov byte [ebp - 0x18], 0x6f
mov byte [ebp - 0x17], 0x6f
mov byte [ebp - 0x16], 0x6b
mov byte [ebp - 0x15], 0x69
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x41
mov byte [ebp - 0x12], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10003b22
lea ecx, [ebp - 0x128]
push ecx
push str.x_wl_sig_rg
push edi
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.10007324
leave
ret
Function at 0x10005796
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x1001b824]
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
neg eax
sbb eax, eax
neg eax
ret
Function at 0x100063e8
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x10019060]
xor eax, ebp
mov dword [ebp + 0x90], eax
mov eax, dword [ebp + 0x9c]
mov dword [ebp - 0x80], eax
test eax, eax
jne 0x10006417
xor al, al
jmp 0x1000649f
push esi
push edi
mov esi, 0x104
push esi
lea eax, [ebp - 0x77]
push 0
push eax
mov byte [ebp - 0x78], 0
call fcn.1000a2b0
call fcn.10001000
push eax
push str.AppDataLow
push str.Software_s_s
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.10007cf7
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x20
call esi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.100013dc
pop ecx
pop ecx
mov edi, eax
call esi
test edi, edi
je 0x1000646e
xor al, al
jmp 0x1000649d
mov ecx, dword [ebp - 0x80]
call fcn.100070bb
inc eax
push eax
push ecx
push 1
push 0
push str.sc1u
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x7c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop edi
pop esi
mov ecx, dword [ebp + 0x90]
xor ecx, ebp
call fcn.10007324
add ebp, 0x94
leave
ret
jmp 0x100063e8

Function at 0x100064b4
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x10019060]
xor eax, ebp
mov dword [ebp + 0x90], eax
mov eax, dword [ebp + 0x9c]
mov dword [ebp - 0x80], eax
test eax, eax
jne 0x100064e3
xor al, al
jmp 0x10006567
push esi
push edi
mov esi, 0x104
push esi
lea eax, [ebp - 0x77]
push 0
push eax
mov byte [ebp - 0x78], 0
call fcn.1000a2b0
call fcn.10001000
push eax
push str.AppDataLow
push str.Software_s_s
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.10007cf7
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x20
call esi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.100013dc
pop ecx
pop ecx
mov edi, eax
call esi
test edi, edi
je 0x1000653a
xor al, al
jmp 0x10006565
push 4
lea eax, [ebp + 0xa0]
push eax
push 4
push 0
push dword [ebp - 0x80]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x7c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop edi
pop esi
mov ecx, dword [ebp + 0x90]
xor ecx, ebp
call fcn.10007324
add ebp, 0x94
leave
ret
Function at 0x1000657c
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x10019060]
xor eax, ebp
mov dword [ebp + 0x90], eax
mov eax, dword [ebp + 0x9c]
mov dword [ebp - 0x80], eax
test ebx, ebx
jne 0x100065ab
xor al, al
jmp 0x10006632
push esi
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x77]
push 0
push eax
mov byte [ebp - 0x78], 0
call fcn.1000a2b0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0xc
call esi
call fcn.10001000
push eax
push str.AppDataLow
push str.Software_s_s
lea eax, [ebp - 0x78]
push edi
push eax
call fcn.10007cf7
add esp, 0x14
call esi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.100013dc
pop ecx
pop ecx
mov edi, eax
call esi
test edi, edi
je 0x10006607
xor al, al
jmp 0x10006630
push dword [ebp + 0xa0]
push dword [ebp - 0x80]
push 3
push 0
push ebx
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x7c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop edi
pop esi
mov ecx, dword [ebp + 0x90]
xor ecx, ebp
call fcn.10007324
add ebp, 0x94
leave
ret

Function at 0x10006647
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x10019060]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push esi
push edi
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xa8]
mov esi, 0x104
push esi
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x6f]
push 0
push eax
mov dword [ebp - 0x7c], 1
mov byte [ebp - 0x70], 0
call fcn.1000a2b0
call fcn.10001000
push eax
push str.AppDataLow
push str.Software_s_s
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.10007cf7
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x20
call esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov edi, eax
call esi
test edi, edi
je 0x100066d6
xor al, al
jmp 0x10006702
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push dword [ebp - 0x78]
push eax
push 0
push str.sc1u
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x74]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
mov ecx, dword [ebp + 0x98]
pop edi
xor ecx, ebp
pop esi
call fcn.10007324
add ebp, 0x9c
leave
ret
jmp 0x10006647
Function at 0x10006719
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x10019060]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push 4
mov dword [ebp - 0x7c], eax
pop eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
test edi, edi
jne 0x10006751
xor al, al
jmp 0x100067d8
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x6b]
push 0
push eax
mov byte [ebp - 0x6c], 0
call fcn.1000a2b0
call fcn.10001000
push eax
push str.AppDataLow
push str.Software_s_s
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.10007cf7
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x20
call esi
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x80], eax
call esi
cmp dword [ebp - 0x80], 0
je 0x100067ae
xor al, al
jmp 0x100067d7
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push eax
push 0
push edi
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x70]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
call fcn.10007324
add ebp, 0xa0
leave
ret

Function at 0x100067ed
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x10019060]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xa8]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], 3
test ebx, ebx
jne 0x1000682c
xor al, al
jmp 0x100068b3
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call esi
mov edi, 0x104
push edi
lea eax, [ebp - 0x6f]
push 0
push eax
mov byte [ebp - 0x70], 0
call fcn.1000a2b0
call fcn.10001000
push eax
push str.AppDataLow
push str.Software_s_s
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.10007cf7
add esp, 0x20
call esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov edi, eax
call esi
test edi, edi
je 0x10006889
xor al, al
jmp 0x100068b1
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push dword [ebp - 0x78]
push eax
push 0
push ebx
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x74]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop edi
pop esi
mov ecx, dword [ebp + 0x98]
xor ecx, ebp
call fcn.10007324
add ebp, 0x9c
leave
ret
Function at 0x100068d9
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x10019060]
xor eax, ebp
mov dword [ebp + 0x90], eax
mov eax, dword [ebp + 0x9c]
mov dword [ebp - 0x80], eax
test eax, eax
jne 0x10006417
xor al, al
jmp 0x1000649f
push esi
push edi
mov esi, 0x104
push esi
lea eax, [ebp - 0x77]
push 0
push eax
mov byte [ebp - 0x78], 0
call fcn.1000a2b0
call fcn.10001000
push eax
push str.AppDataLow
push str.Software_s_s
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.10007cf7
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x20
call esi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.100013dc
pop ecx
pop ecx
mov edi, eax
call esi
test edi, edi
je 0x1000646e
xor al, al
jmp 0x1000649d
mov ecx, dword [ebp - 0x80]
call fcn.100070bb
inc eax
push eax
push ecx
push 1
push 0
push str.sc1u
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x7c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop edi
pop esi
mov ecx, dword [ebp + 0x90]
xor ecx, ebp
call fcn.10007324
add ebp, 0x94
leave
ret
jmp 0x100063e8

Function at 0x10006901
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x10019060]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push esi
push edi
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xa8]
mov esi, 0x104
push esi
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x6f]
push 0
push eax
mov dword [ebp - 0x7c], 1
mov byte [ebp - 0x70], 0
call fcn.1000a2b0
call fcn.10001000
push eax
push str.AppDataLow
push str.Software_s_s
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.10007cf7
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x20
call esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov edi, eax
call esi
test edi, edi
je 0x100066d6
xor al, al
jmp 0x10006702
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push dword [ebp - 0x78]
push eax
push 0
push str.sc1u
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x74]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
mov ecx, dword [ebp + 0x98]
pop edi
xor ecx, ebp
pop esi
call fcn.10007324
add ebp, 0x9c
leave
ret
jmp 0x10006647
Function at 0x10006a78
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x10019060]
xor eax, ebp
mov dword [ebp + 0x198], eax
push ebx
push esi
mov esi, 0x104
xor ebx, ebx
push esi
lea eax, [ebp - 0x73]
push ebx
push eax
mov byte [ebp - 0x74], bl
call fcn.1000a2b0
push str._ABA5_4F5B_8AE4_22
push str.CLSIDBF188B93_sD9B15ECF12InprocServer32
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.10007cf7
add esp, 0x1c
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10006b3a
push 0x103
lea eax, [ebp + 0x95]
push ebx
push eax
mov byte [ebp + 0x94], bl
call fcn.1000a2b0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x94]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push ebx
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10006b31
lea eax, [ebp + 0x94]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
inc bl
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x198]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.10007324
add ebp, 0x19c
leave
ret
Function at 0x10006b59
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x10019060]
xor eax, ebp
mov dword [ebp + 0x98], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x6b]
push ebx
push eax
mov byte [ebp - 0x6d], bl
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x6c], bl
call fcn.1000a2b0
call fcn.10006b53
push ebx
push str.InprocServer32
mov dword [ebp - 0x7c], eax
push eax
mov eax, str.CLSID_
mov ebx, 0x104
lea edi, [ebp - 0x6c]
call fcn.10007151
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
add esp, 0x18
lea eax, [ebp - 0x74]
push eax
mov eax, edi
push eax
push SysReAllocStringLen
call esi
test eax, eax
jne 0x10006c15
lea eax, [ebp - 0x80]
push eax
mov eax, edi
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push dword [ebp - 0x74]
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x80], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10006c06
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
dec eax
neg eax
sbb al, al
inc al
mov byte [ebp - 0x6d], al
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x6d], 0
jne 0x10006c83
push 0
push str.InprocServer32
push dword [ebp - 0x7c]
mov eax, str.WOW6432NodeCLSID_
lea edi, [ebp - 0x6c]
call fcn.10007151
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
mov eax, edi
push eax
push SysReAllocStringLen
call esi
test eax, eax
jne 0x10006c83
lea eax, [ebp - 0x7c]
push eax
mov eax, edi
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push dword [ebp - 0x74]
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x7c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10006c7a
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
dec eax
neg eax
sbb al, al
inc al
mov byte [ebp - 0x6d], al
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x98]
mov al, byte [ebp - 0x6d]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10007324
add ebp, 0x9c
leave
ret
Function at 0x10006c9e
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x10019060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
mov dword [ebp - 0x190], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x7e
lea eax, [ebp - 0x83]
push ebx
push eax
mov byte [ebp - 0x84], bl
call fcn.1000a2b0
push str.SOFTWARE_
push 0x7f
pop esi
lea eax, [ebp - 0x84]
push esi
push eax
call fcn.100079d0
push str.MicrosoftWindowsCurrentVersion_
lea eax, [ebp - 0x84]
push esi
push eax
call fcn.10007a38
push str.ExtStats8EC16B29_F9A2_49d5_B5A3_A2E565630E2D_
lea eax, [ebp - 0x84]
push esi
push eax
call fcn.10007a38
push str.iexploreAllowedDomains
lea eax, [ebp - 0x84]
push esi
push eax
call fcn.10007a38
add esp, 0x3c
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x84]
push eax
mov edi, SysReAllocStringLen
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push dword [ebp - 0x190]
mov dword [ebp - 0x194], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 0x104
push esi
lea eax, [ebp - 0x18b]
push ebx
push eax
mov byte [ebp - 0x18c], bl
call fcn.1000a2b0
push str.6B29_F9A2_49d5_B5A3_A2E565630E2D
push str._wsCurrentVersionExtSettings8EC1
push str.SoftwareMicrosoftWindo
push 0x10015580
lea eax, [ebp - 0x18c]
push esi
push eax
call fcn.10007cf7
add esp, 0x24
lea eax, [ebp - 0x18c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 0x194], ebx
jne 0x10006dae
cmp eax, ebx
jne 0x10006dae
xor eax, eax
inc eax
jmp 0x10006db0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10007324
leave
ret