joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425032
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
cmp dword [0x462148], 0
jne 0x4250b0
push 0x47339c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x462148], eax
push 0x4733ac
mov eax, dword [0x462148]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5ad4e0], eax
push 0x4733bc
mov eax, dword [0x462148]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5dfaac], eax
push 0x4733cc
mov eax, dword [0x462148]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46209c], eax
push 0x4733e8
mov eax, dword [0x462148]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4620a0], eax
mov ecx, 0x3c
mov eax, dword [ebp + 8]
sub edx, edx
div ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
shl ecx, 2
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
sub eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x7a
jae 0x425105
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0x5f94e0
push 0xe10
push 0x5f3f80
call fcn.00452660
add esp, 0x18
jmp 0x425128
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0x5fd660
push 0xe10
push 0x5f3f80
call fcn.00452660
add esp, 0x18
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x14]
mov dword [0x482638], eax
mov eax, dword [ebp + 0x10]
mov dword [0x481880], eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0x4251ca
push 0x4000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4251b1
mov dword [ebp - 0x14], 0
cmp dword [ebp - 8], 0
jne 0x4251ac
cmp dword [0x4622c8], 0
je 0x425188
mov dword [ebp - 8], 1
inc dword [ebp - 0x14]
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x14], 0x26e
jle 0x4251a7
mov dword [ebp - 8], 1
jmp 0x42516a
jmp 0x4251c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._r_nS6GM_CTW_FAIL_d
call fcn.00452380
add esp, 8
pop edi
pop esi
pop ebx
leave
ret
Function at 0x427622
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
push ebx
push esi
push edi
mov dword [ebp - 0xf4], 0x64
mov dword [ebp - 0x7c], 0
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0x7c], 0
jne 0x42768f
jmp 0x4276fe
cmp dword [ebp - 0x7c], 0
je 0x4276fe
dec dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x64
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0xe8]
push eax
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0xe8]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00427703
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0xe8]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 0x84], eax
jmp 0x42768f
pop edi
pop esi
pop ebx
leave
ret

Function at 0x427703
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
push ebx
push esi
push edi
mov dword [ebp - 0xf4], 0x64
mov dword [ebp - 0x7c], 0
lea eax, [ebp - 0xe8]
push eax
push 0xf003f
push 0
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x42774e
jmp 0x427828
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0xe8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0x7c], 0
jne 0x4277ae
mov eax, dword [ebp - 0xe8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x427828
cmp dword [ebp - 0x7c], 0
je 0x42781b
dec dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x64
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0xe4]
push eax
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0xe8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0xe4]
push eax
mov eax, dword [ebp - 0xe8]
push eax
call fcn.00427703
add esp, 8
lea eax, [ebp - 0xe4]
push eax
mov eax, dword [ebp - 0xe8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 0x70], eax
jmp 0x4277ae
mov eax, dword [ebp - 0xe8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42782d
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
push esi
push edi
mov dword [ebp - 0x8c], 0x64
mov dword [ebp - 0x7c], 0
lea eax, [ebp - 0x90]
push eax
push 0xf003f
push 0
mov eax, dword [ebp + 8]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x427879
jmp 0x427914
mov byte [ebp - 0x6c], 0
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x90]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x7c], 0
jne 0x4278e9
mov eax, dword [ebp - 0x90]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x427914
mov eax, dword [ebp - 0x90]
push eax
call fcn.00427622
add esp, 4
mov eax, dword [ebp - 0x90]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4280cc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x208], 0
push 0x475028
mov eax, dword [ebp + 8]
push eax
call fcn.00453660
add esp, 8
mov dword [ebp - 0x208], eax
mov edi, dword [ebp + 8]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
lea eax, [ecx - 1]
cmp eax, dword [ebp - 0x208]
ja 0x42812f
mov dword [ebp - 0x208], 0
jmp 0x428139
mov dword [ebp - 0x208], 1
push 0x47502c
mov eax, dword [ebp + 8]
push eax
call fcn.0042fa7e
add esp, 8
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x428275
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
push 0x475038
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x204], eax
cmp dword [ebp - 0x204], 0
jne 0x428270
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x200]
push eax
push 0
push 0
push 0x475068
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x204], eax
cmp dword [ebp - 0x204], 0
je 0x4281d3
jmp 0x428263
mov eax, dword [ebp - 0x210]
add eax, dword [ebp - 0x208]
add eax, 0xa
add eax, dword [ebp + 8]
mov edi, eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, edi
mov ebx, ecx
lea edi, [ebp - 0x200]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov esi, edx
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x200]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov edx, edi
mov edi, dword [ebp + 0xc]
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0xc]
movsx eax, byte [eax]
cmp eax, 0x25
jne 0x428263
mov eax, dword [ebp + 0xc]
movsx eax, byte [eax]
cmp eax, 0x5c
jne 0x428263
jmp 0x428263
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x428275
pop edi
pop esi
pop ebx
leave
ret
Function at 0x428387
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
push edi
lea eax, [ebp - 0x20c]
push eax
push 0xf003f
push 0
push 0x475178
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4283ca
mov byte [0x508e60], 0
jmp 0x42847f
mov dword [ebp - 8], 0x200
mov byte [ebp - 0x207], 0
mov al, byte [ebp - 0x207]
mov byte [ebp - 0x208], al
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x208]
push eax
push 0
push 0
push 0x4751b4
mov eax, dword [ebp - 0x20c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x428472
push 0x200
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.004280cc
add esp, 0xc
lea edi, [ebp - 0x208]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov edx, edi
mov edi, 0x508e60
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push pe_nt_image_headers32
push 0x5acfc0
push 0xffffffffffffffff
push 0x508e60
push 4
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x20c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4287b7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
mov dword [ebp - 0x110], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x475588
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x428946
mov dword [ebp - 0xc], 0x64
lea eax, [ebp - 0x10c]
mov dword [eax], 0
mov dword [eax + 4], 0
mov word [eax + 8], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10c]
push eax
push 0
push 0
push 0x4755bc
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10c]
push eax
push 0x4755d0
push 0x984f20
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, 0x984f20
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov edx, edi
mov edi, 0x481ca0
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x4755d4
push 0x984f20
call fcn.00453660
add esp, 8
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov byte [eax + 0x984f20], 0
cmp dword [0x45e03c], 0
je 0x4288c2
push 0x481ca0
push 0x984f20
push str._n_DHCP_This_Computer_Domain___s__full.__s_
call fcn.00452380
add esp, 0xc
mov dword [ebp - 0xc], 0x64
lea eax, [ebp - 0x10c]
mov dword [eax], 0
mov dword [eax + 4], 0
mov word [eax + 8], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10c]
push eax
push 0
push 0
push 0x475604
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10c]
push eax
push 0x47561c
push 0x5ad460
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp dword [0x45e03c], 0
je 0x42893c
push 0x5ad460
push str._n_DHCP_This_Computer_DHCP_Domain___s_
call fcn.00452380
add esp, 8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x428d67
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push ebx
push esi
push edi
lea edi, [ebp - 0x13c]
xor eax, eax
mov ecx, 0x4b
rep stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x475898
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x428e03
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x4758d4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x428def
mov dword [0x46212c], 0
jmp 0x428df9
mov dword [0x46212c], 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x428e0a
pop edi
pop esi
pop ebx
leave
ret
Function at 0x429f20
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
push eax
call fcn.004536a0
add esp, 4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x74]
push eax
push 0xf003f
push 0
push 0x475e84
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x429f76
mov eax, dword [ebp - 4]
push eax
push 0x475ec0
call fcn.00452380
add esp, 8
jmp 0x42a030
cmp dword [ebp - 8], 0x392
jne 0x429f88
jmp 0x429fa6
cmp dword [ebp - 8], 0x3c
jbe 0x429fa6
push str._nMaximum_Wait_on_Failure_to_communicate_is_60_minutes_n_rautomatically_adjusting_to_60_minutes
call fcn.00452380
add esp, 4
mov dword [ebp - 8], 0x3c
cmp dword [ebp - 8], 0
jne 0x429fc2
push str._nUpdating_Registry_:_Agent_will_always_retry_if_cannot_contact_server
call fcn.00452380
add esp, 4
jmp 0x429ffb
cmp dword [ebp - 8], 0x392
je 0x429fe5
mov eax, dword [ebp - 8]
push eax
push 0x475f8c
call fcn.00452380
add esp, 8
jmp 0x429ffb
mov eax, dword [ebp - 8]
sub eax, 0x1b2
push eax
push str._nUpdating_Registry_:_Agent_will_wait__d_minutes_before_retrying_if_disconnected_from_network_or_if_server_is_down
call fcn.00452380
add esp, 8
lea eax, [ebp - 0x6c]
push eax
call fcn.00453060
add esp, 4
mov dword [ebp - 0x70], eax
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.FailOverWait
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42a035
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
push eax
call fcn.004536a0
add esp, 4
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x74]
push eax
push 0xf003f
push 0
push 0x476090
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42a08b
mov eax, dword [ebp - 4]
push eax
push 0x4760cc
call fcn.00452380
add esp, 8
jmp 0x42a0ee
cmp dword [ebp - 0x70], 0
jne 0x42a0a2
push str._nUpdating_Registry_:_Agent_will_not_block_on_disconnect_from_network
call fcn.00452380
add esp, 4
test byte [ebp - 0x70], 1
je 0x42a0b9
push str._nUpdating_Registry_:_Agent_will_BLOCK_all_application_usage_if_disconnected_from_network
call fcn.00452380
add esp, 4
lea eax, [ebp - 0x68]
push eax
call fcn.00453060
add esp, 4
mov dword [ebp - 0x6c], eax
push 4
lea eax, [ebp - 0x70]
push eax
push 4
push 0
push str.Failover
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42a0f3
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4761a4
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42a13a
mov eax, dword [ebp - 4]
push eax
push 0x4761e0
call fcn.00452380
add esp, 8
jmp 0x42a193
cmp dword [ebp + 8], 1
jne 0x42a156
push str._nUpdating_Registry_:_User_Session_Lock_Unlock_activity_will_NOT_be_recorded
call fcn.00452380
add esp, 4
jmp 0x42a16d
cmp dword [ebp + 8], 0
jne 0x42a16d
push str._nUpdating_Registry_:_User_Session_Lock_Unlock_will_be_recorded
call fcn.00452380
add esp, 4
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push str.RecordUserLockUnlock
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42a198
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4762b8
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42a1df
mov eax, dword [ebp - 4]
push eax
push 0x4762f4
call fcn.00452380
add esp, 8
jmp 0x42a238
cmp dword [ebp + 8], 0
jne 0x42a1fb
push str._nUpdating_Registry_:_User_Logons_will_NOT_be_recorded
call fcn.00452380
add esp, 4
jmp 0x42a212
cmp dword [ebp + 8], 1
jne 0x42a212
push str._nUpdating_Registry_:_User_Logons_will_be_recorded_in_file_USERLOGN.CSV_on_selected_Server
call fcn.00452380
add esp, 4
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push str.RecordUserLogons
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42a23d
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
push edi
lea eax, [ebp - 0x70]
push eax
push 0xf003f
push 0
push 0x4763cc
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42a284
mov eax, dword [ebp - 4]
push eax
push 0x476408
call fcn.00452380
add esp, 8
jmp 0x42a2ec
cmp dword [ebp + 8], 0
jne 0x42a2a0
push str._nUpdating_Registry_:_Agent_will_only_meter_local_files
call fcn.00452380
add esp, 4
jmp 0x42a2b7
cmp dword [ebp + 8], 1
jne 0x42a2b7
push str._nUpdating_Registry_:_Agent_will_meter_remote__local_files
call fcn.00452380
add esp, 4
lea eax, [ebp - 0x68]
push eax
call fcn.00453060
add esp, 4
mov dword [ebp - 0x6c], eax
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push str.LocalRemote
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42a2f1
Capabilities:
Delete registry value
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4764b4
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42a338
mov eax, dword [ebp - 4]
push eax
push 0x4764f0
call fcn.00452380
add esp, 8
jmp 0x42a3a3
cmp dword [ebp + 8], 0
jne 0x42a366
push str._nUpdating_Registry_:_Agent_will_attempt_to_use_AD_Group_Tracking_default_
call fcn.00452380
add esp, 4
push 0x47655c
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 4], eax
jmp 0x42a399
cmp dword [ebp + 8], 1
jne 0x42a399
push str._nUpdating_Registry_:_Agent_will_will_NOT_attempt_to_use_AD_Group_Tracking
call fcn.00452380
add esp, 4
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push str.NoADGroupTracking
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42a3a8
Capabilities:
Delete registry value
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4765f0
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42a3ef
mov eax, dword [ebp - 4]
push eax
push 0x47662c
call fcn.00452380
add esp, 8
jmp 0x42a4a0
cmp dword [ebp + 8], 0
jne 0x42a440
push str._nUpdating_Registry_:_Agent_will_be_set_to_Interact_With_Desktop__default_
call fcn.00452380
add esp, 4
push 0x476698
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 4], eax
mov dword [ebp + 8], 0x110
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push 0x4766b8
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], eax
jmp 0x42a496
cmp dword [ebp + 8], 1
jne 0x42a496
push str._nUpdating_Registry_:_Agent_will_be_set_to_NOT_Interact_With_Desktop
call fcn.00452380
add esp, 4
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push 0x476708
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], eax
mov dword [ebp + 8], 0x10
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push 0x476728
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42a5cc
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 8], 0
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push 0
push 0x476804
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42a61a
mov eax, dword [ebp - 4]
push eax
push str._nError_Updating_Registry_001___x_
call fcn.00452380
add esp, 8
jmp 0x42a6b6
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push str.NotInteractive
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42a655
jmp 0x42a67f
mov dword [ebp - 8], 1
mov dword [ebp - 0x14], 0x10
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push 0x476874
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
jne 0x42a6ac
mov dword [ebp - 0x14], 0x110
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push 0x476880
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret