joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402190
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4021b0
xor eax, eax
add esp, 0x14
ret
lea ecx, [esp + 8]
push ecx
push 0x47752c
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [esp]
push 0
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4021aa
mov cl, byte [esp + 0x18]
test cl, cl
je 0x402200
mov eax, 4
push 0
or eax, 2
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
add esp, 0x14
ret

Function at 0x402980
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push ebx
push esi
lea eax, [esp + 0xc]
push eax
xor esi, esi
lea ecx, [esp + 0xc]
push ecx
push esi
push 0x2001f
push esi
push esi
push esi
push str.SOFTWARELenovoRescue_and_RecoveryPDA_Logon
push 0x80000002
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x4029c5
mov esi, dword [esp + 8]
test esi, esi
je 0x4029c5
push esi
call ebx
xor esi, esi
lea edx, [esp + 8]
push edx
push 0x20006
push 0
push str.SOFTWARELenovoRescue_and_RecoveryPDA_Logon
push 0x80000002
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x402a1b
test esi, esi
je 0x4029f4
push esi
call ebx
test eax, eax
mov esi, dword [esp + 8]
jne 0x402a1b
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push str.homerX_ray
push esi
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x402a22
push esi
call ebx
pop esi
mov al, 1
pop ebx
add esp, 8
ret
Function at 0x404d40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4721d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
push str.SystemDrive
call fcn.004506b5
add esp, 4
push eax
lea ecx, [esp + 0x10]
call fcn.00404300
push str.prebootusrintfc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x28], 0
call fcn.00403950
push str.PDAGUI.exe
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x34], 1
call fcn.00403950
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
add esp, 0x18
push 0
push edi
push str.exit_0
push esi
push 0x477c30
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.00402980
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404de6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
jg 0x404e07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 4]
add eax, 0xfffffff0
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404e2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov al, 1
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x407400
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4722e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0
jne 0x40744a
push 0x486984
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 1
call fcn.0044fb86
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x40746c
push 0x486984
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], 1
call fcn.0044fb86
mov eax, 0x4074a3
ret
lea edx, [ebp + 8]
push edx
mov ecx, ebx
call fcn.004073a0
test al, al
je 0x4074a3
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
push edi
push 0
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x407498
mov byte [ebp - 0x11], 1
lea edx, [ebp + 8]
push edx
mov ecx, ebx
call fcn.004073e0
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4074c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push esi
lea eax, [esp + 8]
push eax
mov esi, ecx
xor bl, bl
call fcn.004073a0
test al, al
je 0x407510
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push 0
push eax
push ecx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x407504
mov bl, 1
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.004073e0
pop esi
mov al, bl
pop ebx
add esp, 8
ret 8
Function at 0x4154d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x473358
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push 1
push 1
push 1
push 0x300
push str.e:_tvt4_carolina_tvt4_lib_1.1.0_tvtinclude_tvt_policy_setting.h
push 0x478180
mov esi, ecx
push str.CTVTPolicySetting
lea ecx, [esp + 0x24]
call fcn.00408a20
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
lea edx, [edi + 0xc]
mov dword [esi + 8], ecx
push edx
lea ecx, [esi + 0xc]
mov dword [esp + 0x18], 0
call fcn.0040ac20
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
call fcn.0040ac20
lea ecx, [edi + 0x24]
push ecx
lea ecx, [esi + 0x24]
call fcn.0040ac20
lea edx, [edi + 0x30]
push edx
lea ecx, [esi + 0x30]
call fcn.0040ac20
lea eax, [edi + 0x3c]
push eax
lea ecx, [esi + 0x3c]
call fcn.0040ac20
mov ecx, dword [edi + 0x48]
mov dword [esi + 0x48], ecx
mov edx, dword [edi + 0x4c]
mov dword [esi + 0x4c], edx
mov al, byte [edi + 0x54]
mov byte [esi + 0x54], al
mov ecx, dword [edi + 0x48]
mov dword [esi + 0x58], ecx
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x41558c
mov dword [ecx + 0x24], 1
mov byte [ecx + 0x2c], 1
test ecx, ecx
mov dword [esp + 0x14], 0xffffffff
je 0x41559e
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4155c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x473358
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
push edi
push 1
push 1
push 1
push 0x300
push str.e:_tvt4_carolina_tvt4_lib_1.1.0_tvtinclude_tvt_policy_setting.h
push 0x478180
mov esi, ecx
push str.CTVTPolicySetting
lea ecx, [esp + 0x28]
call fcn.00408a20
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
lea edx, [edi + 0xc]
mov dword [esi + 8], ecx
push edx
lea ecx, [esi + 0xc]
mov dword [esp + 0x1c], 0
call fcn.0040ac20
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
call fcn.0040ac20
lea ecx, [edi + 0x24]
push ecx
lea ecx, [esi + 0x24]
call fcn.0040ac20
lea edx, [edi + 0x30]
push edx
lea ecx, [esi + 0x30]
call fcn.0040ac20
lea eax, [edi + 0x3c]
push eax
lea ecx, [esi + 0x3c]
call fcn.0040ac20
lea ebp, [edi + 0x48]
push ebp
lea ecx, [esi + 0x48]
call fcn.0040ac20
mov ecx, dword [edi + 0x54]
mov dword [esi + 0x54], ecx
mov dl, byte [edi + 0x5c]
push ebp
lea ecx, [esi + 0x60]
mov byte [esi + 0x5c], dl
call fcn.0040ac20
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x415686
mov dword [ecx + 0x24], 1
mov byte [ecx + 0x2c], 1
test ecx, ecx
mov dword [esp + 0x18], 0xffffffff
je 0x415698
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x416310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x473469
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], esi
push 1
push 1
push 1
push 0x38
push str.._tvt_product_policy.cpp
push str.CTVTProductPolicy
push 0x4797c8
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 3
call fcn.00408a20
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x416370
mov dword [ecx + 0x24], 1
mov byte [ecx + 0x2c], 1
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 2
call fcn.004156b0
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 1
call fcn.004156b0
lea ecx, [esi + 0x10]
mov byte [esp + 0x14], 0
call fcn.004156b0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00426450
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x418460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4738f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x30]
push ebx
push esi
mov esi, ecx
mov dword [esi + 0xc], eax
xor eax, eax
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push 0x4783f8
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], eax
mov dword [esi], 0x479ee8
call fcn.0040c7e0
push 0x4783f8
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 1
call fcn.0040c7e0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
lea edi, [esi + 0x10]
push edx
mov ecx, edi
mov byte [esp + 0x38], 2
call fcn.004183f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 5
call fcn.00403d10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 4
call fcn.00403d10
mov ebx, dword [esp + 0x38]
push ebx
mov ecx, edi
call fcn.0040ac20
add ebx, 0xc
push ebx
lea ecx, [edi + 0xc]
call fcn.0040ac20
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x4249f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4739df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [esp + 0x14], esi
mov dword [esi], 0x47a01c
call fcn.0040c200
lea ebp, [esi + 0x18]
mov ecx, ebp
mov dword [esp + 0x20], 0
call fcn.0040c200
lea ebx, [esi + 0x24]
mov ecx, ebx
mov byte [esp + 0x20], 1
call fcn.0040c200
lea ecx, [esi + 0x30]
mov byte [esp + 0x20], 2
call fcn.0040c200
lea ecx, [esi + 0x3c]
mov byte [esp + 0x20], 3
call fcn.0040c200
push 1
push 1
push 1
push 0x2b8
push str.e:_tvt4_carolina_tvt4_lib_1.1.0_tvtinclude_tvt_policy_setting.h
push str.CTVTPolicySetting
push str.CTVTPolicySetting
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 4
call fcn.00408a20
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
mov dword [esi + 8], ecx
push edx
mov ecx, edi
mov byte [esp + 0x24], 5
mov dword [esi + 4], eax
call fcn.0040ac20
mov eax, dword [esp + 0x2c]
push eax
mov ecx, ebp
call fcn.0040ac20
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, ebx
call fcn.0040ac20
mov edx, dword [esp + 0x40]
push edx
lea ecx, [esi + 0x30]
call fcn.0040ac20
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esi + 0x3c]
call fcn.0040ac20
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov edx, dword [esp + 0x34]
mov dword [esi + 0x48], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
mov dword [esi + 0x4c], edx
mov byte [esi + 0x54], 0
mov eax, dword [eax]
mov dword [esi + 0x58], eax
je 0x424b02
mov dword [ecx + 0x24], 1
mov byte [ecx + 0x2c], 1
test ecx, ecx
mov byte [esp + 0x20], 4
je 0x424b11
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x24

Function at 0x424b50
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x473a27
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
lea ecx, [esi + 0xc]
mov dword [esp + 0xc], esi
mov dword [esi], 0x47a01c
call fcn.0040c200
lea ecx, [esi + 0x18]
mov dword [esp + 0x18], 0
call fcn.0040c200
mov ebx, 1
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], bl
call fcn.0040c200
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 2
call fcn.0040c200
lea ecx, [esi + 0x3c]
mov byte [esp + 0x18], 3
call fcn.0040c200
push ebx
push ebx
push ebx
push 0x261
push str.e:_tvt4_carolina_tvt4_lib_1.1.0_tvtinclude_tvt_policy_setting.h
push str.CTVTPolicySetting
push str.CTVTPolicySetting
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 4
call fcn.00408a20
mov ecx, dword [esp + 8]
test ecx, ecx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x4c], 0
mov byte [esi + 0x54], 0
je 0x424c02
mov dword [ecx + 0x24], ebx
mov byte [ecx + 0x2c], bl
mov eax, dword [ecx]
push ebx
call dword [eax]
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x424c20
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x473a27
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x47a01c
push 1
push 1
push 1
push 0x2ed
push str.e:_tvt4_carolina_tvt4_lib_1.1.0_tvtinclude_tvt_policy_setting.h
push 0x47a040
push str.CTVTPolicySetting
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 4
call fcn.00408a20
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x424c89
mov dword [ecx + 0x24], 1
mov byte [ecx + 0x2c], 1
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 3
call fcn.00403d10
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 2
call fcn.00403d10
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 1
call fcn.00403d10
lea ecx, [esi + 0x18]
mov byte [esp + 0x14], 0
call fcn.00403d10
lea ecx, [esi + 0xc]
mov dword [esp + 0x14], 0xffffffff
call fcn.00403d10
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x425570
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x473bc5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [esp + 0x14], esi
mov dword [esi], 0x47a12c
call fcn.0040c200
lea ebp, [esi + 0x18]
mov ecx, ebp
mov dword [esp + 0x20], 0
call fcn.0040c200
lea ebx, [esi + 0x24]
mov ecx, ebx
mov byte [esp + 0x20], 1
call fcn.0040c200
lea ecx, [esi + 0x30]
mov byte [esp + 0x20], 2
call fcn.0040c200
lea ecx, [esi + 0x3c]
mov byte [esp + 0x20], 3
call fcn.0040c200
lea ecx, [esi + 0x48]
mov byte [esp + 0x20], 4
call fcn.0040c200
lea ecx, [esi + 0x60]
mov byte [esp + 0x20], 5
call fcn.0040c200
push 1
push 1
push 1
push 0x2b8
push str.e:_tvt4_carolina_tvt4_lib_1.1.0_tvtinclude_tvt_policy_setting.h
push str.CTVTPolicySetting
push str.CTVTPolicySetting
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 6
call fcn.00408a20
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
mov dword [esi + 8], ecx
push edx
mov ecx, edi
mov byte [esp + 0x24], 7
mov dword [esi + 4], eax
call fcn.0040ac20
mov eax, dword [esp + 0x2c]
push eax
mov ecx, ebp
call fcn.0040ac20
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, ebx
call fcn.0040ac20
mov edx, dword [esp + 0x40]
push edx
lea ecx, [esi + 0x30]
call fcn.0040ac20
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esi + 0x3c]
call fcn.0040ac20
mov edi, dword [esp + 0x48]
push edi
lea ecx, [esi + 0x48]
call fcn.0040ac20
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x54], ecx
mov byte [esi + 0x5c], 0
push edi
lea ecx, [esi + 0x60]
call fcn.0040ac20
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4256a4
mov dword [ecx + 0x24], 1
mov byte [ecx + 0x2c], 1
test ecx, ecx
mov byte [esp + 0x20], 6
je 0x4256b3
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x24
Function at 0x425700
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x473c1d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
lea ecx, [esi + 0xc]
mov dword [esp + 0xc], esi
mov dword [esi], 0x47a12c
call fcn.0040c200
lea ecx, [esi + 0x18]
mov dword [esp + 0x18], 0
call fcn.0040c200
mov ebx, 1
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], bl
call fcn.0040c200
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 2
call fcn.0040c200
lea ecx, [esi + 0x3c]
mov byte [esp + 0x18], 3
call fcn.0040c200
lea ecx, [esi + 0x48]
mov byte [esp + 0x18], 4
call fcn.0040c200
lea ecx, [esi + 0x60]
mov byte [esp + 0x18], 5
call fcn.0040c200
push ebx
push ebx
push ebx
push 0x261
push str.e:_tvt4_carolina_tvt4_lib_1.1.0_tvtinclude_tvt_policy_setting.h
push str.CTVTPolicySetting
push str.CTVTPolicySetting
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 6
call fcn.00408a20
mov ecx, dword [esp + 8]
test ecx, ecx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x54], 0
mov byte [esi + 0x5c], 0
je 0x4257cc
mov dword [ecx + 0x24], ebx
mov byte [ecx + 0x2c], bl
mov eax, dword [ecx]
push ebx
call dword [eax]
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4257e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x473c1d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x47a12c
push 1
push 1
push 1
push 0x2ed
push str.e:_tvt4_carolina_tvt4_lib_1.1.0_tvtinclude_tvt_policy_setting.h
push 0x47a040
push str.CTVTPolicySetting
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 6
call fcn.00408a20
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x425849
mov dword [ecx + 0x24], 1
mov byte [ecx + 0x2c], 1
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 5
call fcn.00403d10
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 4
call fcn.00403d10
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 3
call fcn.00403d10
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 2
call fcn.00403d10
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 1
call fcn.00403d10
lea ecx, [esi + 0x18]
mov byte [esp + 0x14], 0
call fcn.00403d10
lea ecx, [esi + 0xc]
mov dword [esp + 0x14], 0xffffffff
call fcn.00403d10
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x426d40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x473e83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x24]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 0xc], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
push 0x4783f8
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], ebx
mov dword [esi], 0x47a5cc
call fcn.0040c7e0
lea edi, [esi + 0x10]
mov ecx, edi
mov byte [esp + 0x24], 1
mov dword [esp + 0x30], edi
call fcn.0040c200
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
mov byte [esp + 0x28], 2
call fcn.0040ac20
mov dword [edi + 0xc], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 4
call fcn.00403d10
mov ebx, dword [esp + 0x2c]
push ebx
mov ecx, edi
call fcn.0040ac20
mov edx, dword [ebx + 0xc]
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0xc], edx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x429200
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474128
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
xor ebx, ebx
push eax
mov esi, ecx
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x18], ebx
call fcn.00428c80
mov al, byte [esi + 0x1d]
test al, al
jne 0x429246
mov ecx, esi
call fcn.00428400
mov eax, dword [ebp - 0x18]
inc eax
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], 0x477a74
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.00403d90
test al, al
jne 0x42928f
push 1
push 0x2e4
push str.e:_tvt4_carolina_tvt4_lib_1.1.0_tvtinclude_tvt_buffer.h
lea ecx, [ebp - 0xcc]
call fcn.00409900
push 0x486528
lea ecx, [ebp - 0xcc]
push ecx
call fcn.0044fb86
cmp dword [ebp - 0x20], ebx
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], edx
jne 0x4292c5
push 1
push 0x659
push str.e:_tvt4_carolina_tvt4_lib_1.1.0_tvtinclude_tvt_buffer.h
push 0x477a80
lea ecx, [ebp - 0x8c]
call fcn.00409800
lea ecx, [ebp - 0x8c]
call fcn.00402470
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 0xc]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esi + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
cmp edi, ebx
je 0x429330
cmp edi, 0x103
je 0x4293cb
lea ecx, [esi + 4]
call fcn.0040a630
push ebx
push 1
push 1
push 0x29c
push str.._tvt_registry_key.cpp
push str.enumSubKeys
push str.CTVTRegistrykey
push edi
push eax
lea ecx, [ebp - 0x10c]
call fcn.00427320
push 0x48c0cc
lea ecx, [ebp - 0x10c]
push ecx
call fcn.0044fb86
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x4c]
call fcn.0040df60
push 0x479914
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0040c7e0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [esi + 4]
mov byte [ebp - 4], 3
call fcn.0040c330
mov bl, 5
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00403d10
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x34]
call fcn.0040ae40
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0x20]
push 0
push ecx
lea edx, [ebp - 0x34]
push edx
push eax
lea ecx, [ebp - 0x70]
call fcn.004287b0
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 6
call fcn.00428940
lea ecx, [ebp - 0x70]
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], bl
call fcn.004288e0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00403d10
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00403d10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00403d10
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8