joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cde0
Capabilities:
Compare security identifiers

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
xor esi, esi
xor ebp, ebp
xor ebx, ebx
cmp edi, esi
je 0x41cec1
xor eax, eax
push 2
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], eax
push 0xc
push ecx
mov dword [esp + 0x24], eax
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 8
call dword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
je 0x41cec8
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x41cecd
test eax, eax
jbe 0x41cecd
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0
push edx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
je 0x41ce80
mov eax, dword [esp + 0x20]
test byte [eax + 1], 0x10
jne 0x41ce87
add eax, 8
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x41ce8e
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x41ce3f
jmp 0x41cecd
mov ebx, 3
jmp 0x41cecd
mov ebx, 4
jmp 0x41cecd
mov eax, dword [esp + 0x28]
mov ebp, 1
cmp eax, 0x10000000
jne 0x41cecd
mov eax, dword [esp + 0x20]
cmp byte [eax], 0
jne 0x41ceb8
mov ecx, dword [eax + 4]
and ecx, 0x1f0000
cmp ecx, 0x1f0000
je 0x41cecd
mov ebx, 5
xor ebp, ebp
jmp 0x41cecd
mov ebx, 1
jmp 0x41cecd
mov ebx, 2
mov eax, dword [0x6875c0]
test eax, eax
je 0x41cefd
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push esi
push edx
push eax
push edi
push ebx
push ebp
push str.CKSecurity::IsInAcl_____Inner___ret:__d___myerror:__d___Acl:__08x___Sid:__08x___Mask:__08x___Index:__d_
push str.Security
push 0xf
push 0x687554
call fcn.00431af0
add esp, 0x28
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x41d7f0
Capabilities:
Acquire debug privileges

Disassembly:
mov eax, dword [0x688230]
test eax, eax
jne 0x41d80f
push 1
push 0x652950
push 0xffffffffffffffff
call fcn.0049ae90
add esp, 0xc
mov dword [0x688230], eax
ret

Function at 0x41e7e0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x30c
push ebp
push esi
mov esi, dword [esp + 0x318]
push edi
test esi, esi
mov ebp, ecx
je 0x41e9e0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41e9e0
mov ecx, 0x40
lea edi, [esp + 0xd]
mov byte [esp + 0xc], al
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push esi
push eax
call fcn.0044d830
mov al, byte [esp + 0x18]
add esp, 0xc
cmp al, 0x5c
jne 0x41e950
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x111]
mov byte [esp + 0x110], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0xc
lea ecx, [esp + 0x10]
push 0x652e08
push ecx
stosb byte es:[edi], al
call fcn.004543e0
add esp, 0xc
test eax, eax
jne 0x41e8fe
mov edi, 0x652df8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x110]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x11d]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x104
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x120], 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x114]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x41e9e0
cmp eax, 0x104
jb 0x41e949
pop edi
pop esi
pop ebp
add esp, 0x30c
ret 8
push 4
lea eax, [esp + 0x10]
push 0x64ce34
push eax
call fcn.004543e0
add esp, 0xc
test eax, eax
jne 0x41e950
lea ecx, [esp + 0x10]
push 0x103
lea edx, [esp + 0x114]
push ecx
push edx
call fcn.0044d830
lea eax, [esp + 0x11c]
push 0x103
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0044d830
add esp, 0x18
jmp 0x41e950
mov esi, dword [esp + 0x31c]
lea edx, [esp + 0xc]
push 0x104
push edx
mov ecx, ebp
call fcn.0041f170
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x215]
mov byte [esp + 0x214], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 4]
test eax, eax
je 0x41e9c9
lea eax, [esp + 0xc]
push 0x7e
push eax
call fcn.0044d970
add esp, 8
test eax, eax
je 0x41e9c9
lea ecx, [esp + 0x214]
push 0x104
lea edx, [esp + 0x10]
push ecx
push edx
call dword [ebp + 4]
test eax, eax
jbe 0x41e9c9
cmp eax, 0x104
jae 0x41e9c9
mov eax, dword [esp + 0x320]
lea ecx, [esp + 0x214]
dec eax
push eax
push ecx
jmp 0x41e9d7
mov edx, dword [esp + 0x320]
lea eax, [esp + 0xc]
dec edx
push edx
push eax
push esi
call fcn.0044d830
add esp, 0xc
pop edi
pop esi
pop ebp
add esp, 0x30c
ret 8
Function at 0x41e9f0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5f1500
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
push edi
mov esi, ecx
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.0046e030
mov ebp, dword [esp + 0x3c]
push 0xffffffffffffffff
push 0
mov ecx, ebp
call fcn.0046e030
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x3c], eax
test ecx, ecx
je 0x41ea66
cmp eax, ecx
jne 0x41ea66
mov edx, dword [esi + 0x78]
test edx, edx
je 0x41ea66
cmp edi, edx
jb 0x41ea66
add edx, 0x493e0
cmp edx, edi
jae 0x41ea6e
mov dword [esp + 0x38], 1
mov edx, dword [0x6875c0]
test edx, edx
je 0x41eaa1
mov edx, dword [esi + 0x7c]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esi + 0x78]
push edi
push edx
push eax
push ecx
push str.CProcMgr::EnumVolumesW___08x______08x____d______d____enum_:__d___loop_:__d_
push str.EnumVolumes
push 0xf
push 0x687554
call fcn.00431af0
add esp, 0x28
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x41eaf4
mov ecx, dword [esi + 0x7c]
lea eax, [esi + 0xa0]
inc ecx
push 1
mov dword [esi + 0x7c], ecx
push eax
lea ecx, [esp + 0x18]
call fcn.0044bc15
lea ecx, [esi + 0x80]
mov dword [esp + 0x30], 0
push ecx
mov ecx, ebx
call fcn.0046e280
add esi, 0x90
mov ecx, ebp
push esi
call fcn.0046e280
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x41eb66
push ebp
push ebx
mov ecx, esi
mov dword [esi + 0x7c], 0
call fcn.0041eb90
lea edx, [esi + 0xa0]
push 1
push edx
lea ecx, [esp + 0x24]
call fcn.0044bc15
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x78], edi
lea edi, [esi + 0x80]
push 0xffffffffffffffff
push 0
mov ecx, edi
mov dword [esp + 0x38], 1
mov dword [esi + 0x74], eax
call fcn.0046e030
push ebx
mov ecx, edi
call fcn.0046e280
add esi, 0x90
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.0046e030
push ebp
mov ecx, esi
call fcn.0046e280
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.0044bc51
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x41eb90
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5f1526
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push ebp
push esi
mov esi, dword [esp + 0x240]
push edi
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.0046e030
mov ebp, dword [esp + 0x248]
push 0xffffffffffffffff
push ebx
mov ecx, ebp
call fcn.0046e030
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
test ecx, edx
je 0x41ecc9
mov edx, dword [0x64b9f8]
mov cx, word [0x64b9fc]
mov dword [esp + 0x18], edx
add word [esp + 0x18], ax
lea edx, [esp + 0x18]
mov word [esp + 0x1c], cx
push edx
lea ecx, [esp + 0x28]
mov word [esp + 0x22], bx
call fcn.004669e0
mov eax, dword [esi + 4]
lea ecx, [esp + 0x24]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x244], ebx
call fcn.0046e6c0
mov edx, dword [0x60c46c]
mov dword [esp + 0x14], edx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x2c]
push 0x103
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x248], 1
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
push edx
mov word [esp + 0x236], bx
call fcn.00467530
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, ebp
call fcn.0046e6c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], bl
call fcn.00467250
lea ecx, [esp + 0x24]
mov dword [esp + 0x23c], 0xffffffff
call fcn.00467250
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
inc eax
shl edx, 1
cmp eax, 0x1a
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
jb 0x41ebeb
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x230
ret 8
Function at 0x421cf0
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x428
push ebx
push ebp
push esi
push edi
xor esi, esi
mov ecx, 0x109
xor eax, eax
lea edi, [esp + 0x14]
mov dword [esp + 0x10], esi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x43c]
push eax
push 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, dword [esp + 0x440]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x421d94
mov ecx, 0x10a
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x428
push ecx
push ebp
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x421d8d
mov esi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea edx, [esi + 1]
push edx
call fcn.00423040
mov edx, dword [ebx + 4]
mov eax, esi
shl eax, 5
add eax, esi
lea ecx, [esi + eax*4]
lea eax, [esp + 0x10]
lea esi, [esp + 0x10]
push eax
lea edi, [edx + ecx*8]
mov ecx, 0x10a
rep movsd dword es:[edi], dword [esi]
push ebp
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x421d4e
mov esi, 1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x6875c0]
test eax, eax
je 0x421dc3
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x43c]
push ecx
push esi
push edx
push str.CProcMgr::GetProcessModuleByToolHelp_Process___d__ret___d__Moudles_num___d_
push str.ProcMgr
push 0xf
push 0x687554
call fcn.00431af0
add esp, 0x1c
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x428
ret 8

Function at 0x423480
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp]
push esi
xor esi, esi
push eax
push 0x2001f
push esi
push ecx
push edx
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4234f8
mov eax, dword [esp + 4]
cmp eax, esi
je 0x4234f8
cmp dword [esp + 0x20], esi
je 0x4234d1
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
inc ecx
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 1
push esi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x4234dd
mov edx, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, esi
jne 0x4234e6
mov esi, 1
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret 0x18
xor eax, eax
pop esi
pop ecx
ret 0x18
Function at 0x423650
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x14
push ebx
xor ebx, ebx
cmp eax, ebx
push ebp
je 0x423739
mov ebp, dword [esp + 0x24]
cmp ebp, ebx
je 0x423739
xor ecx, ecx
push edi
mov dword [esp + 0x11], ecx
push eax
mov dword [esp + 0x19], ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x1d], ecx
push 0x6539c8
mov word [esp + 0x25], cx
push edx
xor edi, edi
mov byte [esp + 0x1c], bl
mov byte [esp + 0x2b], cl
call fcn.0044ce12
add esp, 0xc
lea eax, [esp + 0x24]
mov dword [esp + 0x24], ebx
push eax
push 0x2001f
push ebx
push str.softwareTECOcular.3ShareDataPID
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42372e
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x42372e
lea ecx, [esp + 0x28]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ecx
lea edx, [esp + 0x14]
push ebx
push edx
lea ecx, [esp + 0x20]
push ebx
push ecx
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x44], ebx
call esi
test eax, eax
jne 0x423722
cmp dword [esp + 0x10], 1
jne 0x423722
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp edx, eax
ja 0x423722
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x2c]
push eax
push ebp
push ebx
lea ecx, [esp + 0x20]
push ebx
push ecx
push edx
call esi
test eax, eax
jne 0x423722
mov edi, 1
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 0xc

Function at 0x426119
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f1c34
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0041d050
lea ecx, [esi + 8]
call fcn.004260d0
xor ebx, ebx
lea ecx, [esi + 0x20]
mov dword [esp + 0x1c], ebx
call fcn.0046df60
mov eax, dword [0x60c46c]
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 2
call fcn.004804d0
mov edx, dword [0x667c48]
lea edi, [esi + 0x58]
mov dword [esp + 0x10], edi
lea ecx, [edi + 4]
mov dword [ecx], edx
push 0x687118
mov byte [esp + 0x20], 4
mov dword [edi], ebx
call fcn.005e1070
mov dword [edi + 8], ebx
add edi, 0xc
xor eax, eax
lea edx, [esi + 0x48]
mov dword [edi], eax
xor ecx, ecx
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [edx], ecx
mov eax, esi
pop edi
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x38], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x426d20
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5f1da8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
xor eax, eax
lea ecx, [esp]
mov dword [esp + 0x15], eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov word [esp + 0x1d], ax
push ecx
push 0x20019
push eax
push str.SYSTEMWPAPnP
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x2c], 0
mov byte [esp + 0x33], al
call edi
test eax, eax
jne 0x426f1b
mov ecx, dword [esp + 4]
push ebp
lea edx, [esp + 0x14]
push esi
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push 0
push str.seed
push ecx
mov dword [esp + 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
mov eax, dword [esp + 0x50]
and eax, 0xff
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
call fcn.004f9bd0
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 0
call fcn.004804d0
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 1
call fcn.004fab70
push 0
push 0
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 2
call fcn.004fac00
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push 8
push edx
lea ecx, [esp + 0x34]
call fcn.004fadf0
lea eax, [esp + 0xc]
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftDriver_Signing
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov edx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x10]
push 1
push ecx
push 3
push 0
push 0x653a88
push edx
call ebp
mov eax, dword [esp + 0xc]
push eax
call esi
lea ecx, [esp + 0xc]
push ecx
push 0x20006
push 0
push str.SOFTWAREMicrosoftNon_Driver_Signing
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push 1
push edx
push 3
push 0
push 0x653a88
push eax
call ebp
mov ecx, dword [esp + 0xc]
push ecx
call esi
lea edx, [esp + 0xc]
push edx
push 0x20006
push 0
push str.SOFTWAREMicrosoftDriver_Signing
push SysReAllocStringLen
call edi
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push 1
push eax
push 3
push 0
push 0x653a88
push ecx
call ebp
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0xc]
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionSetup
push reloc.OLEAUT32.dll_SysReAllocString
call edi
push 0x10
lea ecx, [esp + 0x18]
call fcn.00480dc0
mov ecx, dword [esp + 0x10]
push eax
push 3
push 0
push str.PrivateHash
push ecx
call ebp
mov edx, dword [esp + 0xc]
push edx
call esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 1
call fcn.004fabb0
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 0
call fcn.00480600
mov dword [esp + 0x48], 0xffffffff
call fcn.004f9d70
pop esi
pop ebp
mov ecx, dword [esp + 0x38]
pop edi
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x426f40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftDriver_Signing
mov esi, ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 3
mov dword [esp + 0x28], 1
call edi
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push esi
push edx
push 0
push 0x653a88
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftNon_Driver_Signing
push reloc.OLEAUT32.dll_SysReAllocString
call edi
lea eax, [esp + 0x14]
lea ecx, [esi + 1]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push 0x653a88
push eax
call ebx
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftDriver_Signing
push SysReAllocStringLen
call edi
lea eax, [esp + 0x14]
lea ecx, [esi + 2]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push 0x653a88
push eax
call ebx
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionSetup
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov dword [esp + 0x14], 0x10
lea eax, [esp + 0x14]
mov edx, dword [esp + 0x10]
add esi, 3
push eax
lea ecx, [esp + 0x1c]
push esi
push ecx
push 0
push str.PrivateHash
push edx
call ebx
mov eax, dword [esp + 0x10]
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x427070
Capabilities:
Set registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftDriver_Signing
mov esi, ecx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push esi
push 3
push 0
push 0x653a88
push ecx
call ebx
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebp
lea eax, [esp + 0x10]
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftNon_Driver_Signing
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov edx, dword [esp + 0x10]
lea ecx, [esi + 1]
push 1
push ecx
push 3
push 0
push 0x653a88
push edx
call ebx
mov eax, dword [esp + 0x10]
push eax
call ebp
lea ecx, [esp + 0x10]
push ecx
push 0x20006
push 0
push str.SOFTWAREMicrosoftDriver_Signing
push SysReAllocStringLen
call edi
mov eax, dword [esp + 0x10]
lea edx, [esi + 2]
push 1
push edx
push 3
push 0
push 0x653a88
push eax
call ebx
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
push 0x20006
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionSetup
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov eax, dword [esp + 0x10]
add esi, 3
push 0x10
push esi
push 3
push 0
push str.PrivateHash
push eax
call ebx
mov ecx, dword [esp + 0x10]
push ecx
call ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x428980
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
push ebx
push esi
push edi
xor bl, bl
mov ecx, 0x43
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], bl
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push 0x104
push eax
push 0x646248
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004288c0
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x428a5b
mov ecx, 0x40
lea edi, [esp + 0x11d]
mov byte [esp + 0x11c], bl
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x120]
push ecx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.Program_FilesCommon_Files
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x11e], bl
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x11c]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0xc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0xb], 0x5c
je 0x428a9e
mov edi, 0x6463d8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x65454c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x228]
mov edx, dword [esp + 0x224]
mov ecx, ebx
and ecx, 3
dec eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push eax
push ecx
push edx
call fcn.0044c980
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x214
ret