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

Disassembly:
push 0xdc
mov eax, 0x49a9f2
call fcn.0045208a
mov esi, ecx
push dword [esi + 4]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x48], esi
call fcn.00401608
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 4]
cmp dword [eax + 0x30], ebx
je 0x407022
lea ecx, [ebp - 0x50]
call fcn.004015c0
xor al, al
jmp 0x4071e4
add eax, 0x3c
push eax
push 4
push esi
push 0x406db0
push ebx
push ebx
call fcn.0047401e
mov ecx, dword [esi + 4]
add esp, 0x18
mov dword [ecx + 0x30], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x30], ebx
je 0x4071da
push dword [ebp + 8]
push dword [eax + 0x30]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x40710c
push 1
push 2
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 1
call fcn.004036fd
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 2
push str.SetThreadPriority_failed:
push eax
call fcn.0040508d
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.0040233e
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.004057cf
add esp, 0xc
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0xe4]
push eax
call fcn.00403825
mov byte [ebp - 4], 4
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
cmovae eax, dword [ebp - 0x44]
push eax
push ebx
call fcn.00401235
pop ecx
pop ecx
lea ecx, [ebp - 0x44]
call fcn.0040204a
lea ecx, [ebp - 0x2c]
call fcn.0040204a
lea ecx, [ebp - 0xe8]
call fcn.0040247e
jmp 0x407109
mov dword [ebp - 4], ebx
mov eax, dword [esi + 4]
push dword [eax + 0x30]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x4071cb
push 1
push 2
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 6
call fcn.004036fd
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 7
push str.ResumeThread_failed:
push eax
call fcn.0040508d
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.0040233e
mov byte [ebp - 4], 8
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.004057cf
add esp, 0xc
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0xe4]
push eax
call fcn.00403825
mov byte [ebp - 4], 9
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
cmovae eax, dword [ebp - 0x44]
push eax
push ebx
call fcn.00401235
pop ecx
pop ecx
lea ecx, [ebp - 0x44]
call fcn.0040204a
lea ecx, [ebp - 0x2c]
call fcn.0040204a
lea ecx, [ebp - 0xe8]
call fcn.0040247e
jmp 0x4071da
mov eax, dword [esi + 4]
mov byte [eax + 0x38], 1
mov eax, dword [esi + 4]
mov byte [eax + 0x39], bl
mov bl, 1
lea ecx, [ebp - 0x50]
call fcn.004015c0
mov al, bl
call fcn.00451fd6
ret 4

Function at 0x409f51
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x409f5f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
pop ebp
ret
Function at 0x40db5f
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b8f2
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4db068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0x12
lea ecx, [esi + 0x1e4]
call fcn.004020b0
mov byte [ebp - 4], 0x11
lea ecx, [esi + 0x1c8]
call fcn.004020b0
mov byte [ebp - 4], 0x10
lea ecx, [esi + 0x1ac]
call fcn.004020b0
mov byte [ebp - 4], 0xf
lea ecx, [esi + 0x188]
call fcn.004020b0
mov byte [ebp - 4], 0xe
lea ecx, [esi + 0x170]
call fcn.004020b0
mov byte [ebp - 4], 0xd
lea ecx, [esi + 0x158]
call fcn.004020b0
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x13c]
call fcn.004020b0
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x124]
call fcn.004020b0
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x10c]
call fcn.004020b0
mov byte [ebp - 4], 9
lea ecx, [esi + 0xf4]
call fcn.004020b0
mov byte [ebp - 4], 8
lea ecx, [esi + 0xdc]
call fcn.004020b0
mov byte [ebp - 4], 7
lea ecx, [esi + 0xc4]
call fcn.004020b0
mov byte [ebp - 4], 6
lea ecx, [esi + 0xa8]
call fcn.004020b0
mov byte [ebp - 4], 5
lea ecx, [esi + 0x90]
call fcn.004020b0
mov byte [ebp - 4], 4
lea ecx, [esi + 0x78]
call fcn.004020b0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x60]
call fcn.004020b0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.004020b0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.004020b0
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.004020b0
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.004020b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x40eaf3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc4
mov eax, 0x49bb37
call fcn.0045201c
mov edi, ecx
push str.Enter_updtShimAPIClass::GetVerifierInfo
push 3
call fcn.00401235
pop ecx
pop ecx
lea ebx, [edi + 0x188]
mov byte [edi + 0x1a4], 0
and dword [ebx], 0
lea ecx, [edi + 0x18c]
push 0x4b4498
call fcn.004016ad
lea eax, [ebp - 0x30]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40ebc9
lea ecx, [ebp - 0xd0]
call fcn.00402a5a
mov esi, eax
and dword [ebp - 4], 0
push str._GetVerifierInfo__Open_key:
push esi
call fcn.0040508d
push str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
push esi
call fcn.0040508d
push str._failed
push esi
call fcn.0040508d
add esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00402a43
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00402109
push eax
push 2
call fcn.00401235
pop ecx
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004020b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.00402479
xor al, al
jmp 0x40ec98
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 4
push eax
push ebx
push 0
push 0
push str.VerifyDriverLevel
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40ebfb
push str.Query_VerifyDriverLevel_failed
push 2
call fcn.00401235
pop ecx
pop ecx
jmp 0x40ec73
xor ecx, ecx
lea eax, [ebp - 0x2c]
push eax
push ecx
push ecx
push ecx
push str.VerifyDrivers
push dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40ec73
mov word [ebp - 0x32], ax
lea eax, [ebp - 0x32]
push ecx
push eax
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
shr eax, 1
inc eax
push eax
call fcn.00407662
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00401ffa
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
push dword [esi]
push 0
push 0
push str.VerifyDrivers
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esi]
lea ecx, [edi + 0x18c]
call fcn.004016ad
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040765d
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebx], 0
push str.Exit_updtShimAPIClass::GetVerifierInfo
setne al
push 3
mov byte [edi + 0x1a4], al
call fcn.00401235
pop ecx
pop ecx
mov al, 1
call fcn.00451fc5
ret
Function at 0x40f5f8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4db068]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x58]
push edi
push eax
push 0x20019
xor edi, edi
push edi
push str.SOFTWARENVIDIA_CorporationGlobalNvBackend
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x58], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40f670
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x4e
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push edi
push str.Link
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40f670
cmp dword [ebp - 0x58], edi
je 0x40f661
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
call fcn.00401638
mov al, 1
jmp 0x40f672
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00451f9f
leave
ret 4
Function at 0x410511
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1c
mov eax, 0x49bed4
call fcn.00451fe8
mov edi, ecx
push 0x4b4498
xor ebx, ebx
call fcn.004016ad
lea eax, [ebp - 0x18]
push eax
push 1
push ebx
push str.SOFTWARENVIDIA_Corporation_nForce
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4105e5
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push ebx
push ebx
push ebx
push str.PackageVersion
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
xor eax, eax
mov word [ebp - 0xe], ax
lea eax, [ebp - 0xe]
push ecx
push eax
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
shr eax, 1
inc eax
push eax
call fcn.00407662
mov dword [ebp - 4], ebx
test esi, esi
jne 0x4105b4
lea ecx, [ebp - 0x24]
call fcn.00401ffa
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push dword [esi]
push ebx
push ebx
push str.PackageVersion
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4105b4
push dword [esi]
mov ecx, edi
call fcn.004016ad
jmp 0x4105ce
push str.Unsupported
mov ecx, edi
call fcn.004016ad
push str.Cannot_get_PackageVersion
push 2
call fcn.00401235
pop ecx
pop ecx
push dword [ebp - 0x18]
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0040765d
mov al, bl
call fcn.00451fb0
ret
Function at 0x410ab3
Capabilities:
Get disk information

Disassembly:
push 0x2c
mov eax, 0x49bfb3
call fcn.0045201c
mov edi, ecx
mov dword [ebp - 0x38], edi
test edi, edi
je 0x410b83
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
test ebx, ebx
je 0x410b83
xor esi, esi
xor eax, eax
mov ecx, esi
inc eax
shl eax, cl
test ebx, eax
je 0x410b79
mov eax, dword [0x4b6b5c]
mov dword [ebp - 0x18], eax
mov eax, dword [0x4b6b60]
mov dword [ebp - 0x14], eax
lea eax, [esi + 0x41]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x410b79
cmp eax, 1
je 0x410b79
push 1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
call fcn.00406c4c
and dword [ebp - 4], 0
mov ecx, eax
mov edx, dword [edi + 0x94]
call fcn.00401ffa
mov ecx, eax
lea eax, [ebp - 0x34]
push eax
cmp dword [edi + 0x98], edx
je 0x410b5d
call fcn.00401ffa
push eax
call fcn.00413d6c
add dword [edi + 0x94], 0x1c
pop ecx
pop ecx
jmp 0x410b6a
push ecx
push edx
lea ecx, [edi + 0x90]
call fcn.00413dd3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004020b0
mov edi, dword [ebp - 0x38]
inc esi
cmp esi, 0x1a
jb 0x410ade
call fcn.00451fc5
ret
Function at 0x422ba2
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b8f2
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4db068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00401a80
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.00401a80
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.00401a80
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.00401a80
mov byte [ebp - 4], 3
lea ecx, [esi + 0x60]
call fcn.00401a80
mov byte [ebp - 4], 4
lea ecx, [esi + 0x78]
call fcn.00401a80
mov byte [ebp - 4], 5
lea ecx, [esi + 0x90]
call fcn.00401a80
mov byte [ebp - 4], 6
lea ecx, [esi + 0xa8]
call fcn.00401a80
mov byte [ebp - 4], 7
lea ecx, [esi + 0xc4]
call fcn.00401a80
mov byte [ebp - 4], 8
lea ecx, [esi + 0xdc]
call fcn.00401a80
mov byte [ebp - 4], 9
lea ecx, [esi + 0xf4]
call fcn.00401a80
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x10c]
call fcn.00401a80
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x124]
call fcn.00401a80
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x13c]
call fcn.00401a80
mov byte [ebp - 4], 0xd
lea ecx, [esi + 0x158]
call fcn.00401a80
mov byte [ebp - 4], 0xe
lea ecx, [esi + 0x170]
call fcn.00401a80
mov byte [ebp - 4], 0xf
lea ecx, [esi + 0x188]
call fcn.00401a80
mov byte [ebp - 4], 0x10
lea ecx, [esi + 0x1ac]
call fcn.00401a80
mov byte [ebp - 4], 0x11
lea ecx, [esi + 0x1c8]
call fcn.00401a80
mov byte [ebp - 4], 0x12
lea ecx, [esi + 0x1e4]
call fcn.00401a80
or dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x4239a5
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0x118
mov eax, 0x49e839
call fcn.0045201c
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x54]
push 0x4b6b54
mov edx, ebx
mov dword [ebp - 0x80], ebx
call fcn.0040178d
xor esi, esi
mov dword [ebp - 4], esi
lea ecx, [ebx + 0x1c]
mov dword [esp], 0x4b4498
call fcn.004016ad
push 0xa
pop ecx
push 0x14
xor eax, eax
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
push esi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x54]
call fcn.00402109
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov esi, eax
lea ecx, [ebx + 0x1c]
lea eax, [ebp - 0x3c]
push eax
call fcn.004016ad
test esi, esi
jne 0x423aa1
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x124]
mov esi, eax
call fcn.00402a5a
mov edi, eax
mov byte [ebp - 4], 1
push str.GetVolumeInfo_Filessytem_failed_caption
push edi
call fcn.0040508d
pop ecx
pop ecx
lea ecx, [ebp - 0x54]
call fcn.00401634
push eax
lea ecx, [ebp - 0x54]
call fcn.00402109
push eax
push edi
call fcn.004057cf
add esp, 0xc
push str.__ErrorCode
push edi
call fcn.0040508d
pop ecx
pop ecx
push esi
mov ecx, edi
call fcn.00403c13
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
call fcn.00402a43
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.00402109
push eax
push 1
call fcn.00401235
pop ecx
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.004020b0
xor ebx, ebx
jmp 0x423b6d
mov esi, dword [ebp - 0x80]
lea eax, [ebp - 0x74]
push eax
xor ebx, ebx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x78], ebx
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call fcn.00402109
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x423b7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x124]
mov esi, eax
call fcn.00402a5a
mov edi, eax
mov byte [ebp - 4], 3
push str.GetVolumeInfo_Size_failed_caption
push edi
call fcn.0040508d
pop ecx
pop ecx
lea ecx, [ebp - 0x54]
call fcn.00401634
push eax
lea ecx, [ebp - 0x54]
call fcn.00402109
push eax
push edi
call fcn.004057cf
add esp, 0xc
push str.__ErrorCode
push edi
call fcn.0040508d
pop ecx
pop ecx
push esi
mov ecx, edi
call fcn.00403c13
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
call fcn.00402a43
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6c]
call fcn.00402109
push eax
push 1
call fcn.00401235
pop ecx
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
call fcn.004020b0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x124]
call fcn.00402479
jmp 0x423b9f
mov ecx, dword [ebp - 0x74]
mov bl, 1
mov eax, dword [ebp - 0x70]
shrd ecx, eax, 0x14
shr eax, 0x14
mov eax, dword [ebp - 0x78]
mov dword [esi + 0x38], ecx
mov ecx, dword [ebp - 0x7c]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [esi + 0x34], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.004020b0
mov al, bl
call fcn.00451fc5
ret 4
Function at 0x424106
Capabilities:
Get storage device properties

Disassembly:
push 0xc4
mov eax, 0x49e940
call fcn.0045201c
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x38]
mov ecx, dword [ebp + 8]
xor ebx, ebx
push ebx
push edx
push dword [eax + 4]
mov dword [ebp - 0x1c], ebx
push eax
push 0xc
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
push eax
push 0x2d1400
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x4241ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xd0]
mov esi, eax
call fcn.00402a5a
mov edi, eax
mov dword [ebp - 4], ebx
push str.IOCTL_STORAGE_QUERY_PROPERTY_ec
push edi
call fcn.0040508d
pop ecx
pop ecx
push esi
mov ecx, edi
call fcn.00403c13
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.00402a43
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00402109
push eax
push 2
call fcn.00401235
pop ecx
pop ecx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x34]
call fcn.004020b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.00402479
xor al, al
jmp 0x4241b0
mov al, 1
call fcn.00451fc5
ret 8
Function at 0x42ba95
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1e8
mov eax, 0x49fe60
call fcn.0045201c
push str.Detecting_DCH_status_using_registry
push 3
call fcn.00401235
push 0x104
xor ebx, ebx
mov dword [ebp - 0x144], 0x11c
lea eax, [ebp - 0x134]
push ebx
push eax
call fcn.0046a220
add esp, 0x14
mov dword [ebp - 0x2e], ebx
mov word [ebp - 0x2a], bx
xor eax, eax
mov dword [ebp - 0x13c], ebx
mov word [ebp - 0x30], ax
push 3
push 4
push 3
push 1
push 3
push 2
pop ebx
push ebx
push eax
push eax
mov dword [ebp - 0x140], 0xa
mov dword [ebp - 0x138], 0x42ca
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
push 7
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jne 0x42bb48
push str.Windows_version_is_less_than_Windows_10_RS4__not_DCH_system
push 3
call fcn.00401235
pop ecx
pop ecx
xor eax, eax
jmp 0x42bcca
and dword [ebp - 0x14c], 0
lea eax, [ebp - 0x14c]
push eax
push 1
push 0
push str.SYSTEMCurrentControlSetServices_nvlddmkm
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], eax
and dword [ebp - 4], 0
test edi, edi
je 0x42bbf8
lea ecx, [ebp - 0x1f4]
call fcn.00402a5a
mov esi, eax
mov byte [ebp - 4], 1
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices_nvlddmkm_not_found__returning_clean_system_status__rc
push esi
call fcn.0040508d
pop ecx
pop ecx
push edi
mov ecx, esi
call fcn.00403cf2
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00402a43
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402109
push eax
push 3
call fcn.00401235
pop ecx
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004020b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1f4]
call fcn.00402479
jmp 0x42bcb3
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x150], 4
push ecx
lea ecx, [ebp - 0x148]
xor ebx, ebx
push ecx
push ebx
push ebx
push str.DCHUVen
push eax
mov dword [ebp - 0x148], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x1f4]
mov edi, eax
call fcn.00402a5a
mov esi, eax
mov byte [ebp - 4], 3
push str.DCHUVen_is
push esi
call fcn.0040508d
pop ecx
pop ecx
push dword [ebp - 0x148]
mov ecx, esi
call fcn.00403c13
mov edx, str.__registry_read_result_code_is
mov ecx, esi
call fcn.0040c091
push edi
mov ecx, esi
call fcn.00403cf2
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00402a43
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00402109
push eax
push 3
call fcn.00401235
pop ecx
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004020b0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1f4]
call fcn.00402479
test edi, edi
jne 0x42bcb3
cmp dword [ebp - 0x148], 0x10de
jne 0x42bcb3
inc ebx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x42bcc8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
call fcn.00451fc5
ret
Function at 0x42fd9e
Capabilities:
Get file version info

Disassembly:
push 0xd8
mov eax, 0x4a0700
call fcn.0045201c
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
push edi
mov dword [ebp - 0x30], 1
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
test esi, esi
jne 0x42fdf5
push str.updtDispDevEnumClass::GetBasicFileVersion_failed
push 2
call fcn.00401235
pop ecx
pop ecx
xor al, al
jmp 0x42ff50
push esi
call fcn.0045244e
pop ecx
mov ebx, eax
push ebx
push esi
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
jne 0x42fe8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xe4]
mov esi, eax
call fcn.00402a5a
mov edi, eax
and dword [ebp - 4], 0
push str.GetBasicFileVersion::GetFileVersionInfo_failedError_code_
push edi
call fcn.0040508d
pop ecx
pop ecx
push esi
mov ecx, edi
call fcn.00403c13
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00402a43
xor eax, eax
inc eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x2c]
call fcn.00402109
push eax
push 2
call fcn.00401235
pop ecx
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004020b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.00402479
test ebx, ebx
je 0x42fdee
push ebx
call fcn.0045235a
jmp 0x42fded
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x4b6b54
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42fed1
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov ax, word [ecx + 0xa]
mov word [edx], ax
mov ax, word [ecx + 8]
mov edx, dword [ebp - 0x3c]
mov word [edx], ax
mov ax, word [ecx + 0xe]
mov edx, dword [ebp - 0x40]
mov word [edx], ax
mov ax, word [ecx + 0xc]
mov ecx, dword [ebp - 0x44]
mov word [ecx], ax
jmp 0x42ff42
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xe4]
mov esi, eax
call fcn.00402a5a
mov edi, eax
mov dword [ebp - 4], 2
push str.GetBasicFileVersion::VerQueryValue_failedError_code__0x_x_n
push edi
call fcn.0040508d
pop ecx
pop ecx
push esi
mov ecx, edi
call fcn.00403c13
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00402a43
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00402109
push eax
push 2
call fcn.00401235
pop ecx
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004020b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.00402479
mov byte [ebp - 0x30], 0
test ebx, ebx
je 0x42ff4d
push ebx
call fcn.0045235a
pop ecx
mov eax, dword [ebp - 0x30]
call fcn.00451fc5
ret 0x14