joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10050100
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100935f5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x100c6270]
xor eax, esp
mov dword [esp + 0x2c4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x2dc]
mov dword fs:[0], eax
test byte [0x100cb55c], 1
mov edi, dword [esp + 0x2ec]
mov ebp, dword [esp + 0x2f0]
mov esi, ecx
jne 0x1005018d
or dword [0x100cb55c], 1
mov dword [esp + 0x2e4], 0
push 0x100a3768
mov ecx, 0x100cb540
call fcn.1004f4d0
push 0x100a26b0
call fcn.10071957
add esp, 4
mov dword [esp + 0x2e4], 0xffffffff
mov eax, dword [edi + 0x18]
cmp dword [eax - 0xc], 0
mov eax, 0x100cb540
je 0x1005019d
mov eax, edi
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.1000e8e0
mov dword [esp + 0x2e4], 1
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
call fcn.1004fa50
mov byte [esp + 0x2e4], 2
push 0x24c
lea edx, [esp + 0x90]
push 0
push edx
mov dword [esp + 0x94], 0
call fcn.10074e30
mov ecx, dword [esp + 0x3c]
add esp, 0xc
lea eax, [esp + 0x88]
push eax
push ecx
xor bl, bl
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x14], esi
mov byte [esp + 0x2e4], 3
cmp esi, 0xffffffff
jne 0x1005023b
mov byte [esp + 0x2e4], 1
lea ecx, [esp + 0x34]
call fcn.100115e0
mov dword [esp + 0x2e4], esi
lea ecx, [esp + 0x18]
call fcn.100115e0
xor al, al
jmp 0x1005036c
mov edi, dword [esp + 0x2f8]
jmp 0x10050250
mov eax, dword [esp + 0x88]
cmp eax, 0xffffffff
je 0x10050303
mov ecx, dword [esp + 0x2f4]
mov edx, eax
xor edx, edi
test ecx, edx
jne 0x10050303
test al, 0x10
je 0x100502a0
cmp word [esp + 0xb4], 0x2e
jne 0x100502a0
mov ax, word [esp + 0xb6]
cmp ax, 0x2e
jne 0x1005029b
cmp word [esp + 0xb8], 0
jmp 0x1005029e
test ax, ax
je 0x10050303
lea edx, [esp + 0xb4]
push edx
lea ecx, [esp + 0x54]
mov bl, 1
call fcn.1004f4d0
mov byte [esp + 0x2e4], 4
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x74]
call fcn.1000e8e0
mov byte [esp + 0x2e4], 5
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x10]
mov ecx, ebp
call eax
mov byte [esp + 0x2e4], 4
lea ecx, [esp + 0x6c]
call fcn.100115e0
mov byte [esp + 0x2e4], 3
lea ecx, [esp + 0x50]
call fcn.100115e0
lea ecx, [esp + 0x88]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10050250
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x10050334
push 0x345
push str..FilePath.cpp
call fcn.1004af90
mov byte [esp + 0x2e4], 2
lea ecx, [esp + 0x14]
call fcn.1004f490
mov byte [esp + 0x2e4], 1
lea ecx, [esp + 0x34]
call fcn.100115e0
mov dword [esp + 0x2e4], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.100115e0
mov al, bl
mov ecx, dword [esp + 0x2dc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c4]
xor ecx, esp
call fcn.10071821
add esp, 0x2d4
ret 0x10
Function at 0x100503a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10093659
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push 0x100cbb74
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0
call fcn.100015c0
mov dword [esp + 0x24], 2
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, 0x104
nop
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x10050413
push esi
lea ecx, [esp + 0x14]
call fcn.10001de0
mov edx, dword [esp + 0x10]
push esi
lea ecx, [esp + 0x14]
mov edi, edx
call fcn.10001e60
push edi
push esi
call ebp
test eax, eax
je 0x10050497
cmp eax, esi
je 0x10050497
jb 0x10050431
mov esi, eax
jmp 0x100503f0
cmp eax, 0x7fffffff
sbb ecx, ecx
neg ecx
jne 0x10050452
push 0
push 0x7c3
push str..FilePath.cpp
push 0x80004005
call fcn.10002400
push eax
lea ecx, [esp + 0x14]
call fcn.10001e60
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.10010370
mov dword [esp + 0x14], 1
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x10]
call fcn.10002320
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
push 0
push 0
call fcn.1004af90
int3

Function at 0x100505c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009fa41
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], 0
call fcn.100504b0
add esp, 4
mov dword [esp + 0x30], 1
mov esi, dword [esp + 0x38]
push 0x100abae0
push esi
lea ecx, [esp + 0x14]
call fcn.1004f530
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
lea ecx, [esp + 0xc]
call fcn.100115e0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
Function at 0x10050640
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10093659
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push 0x100cbb74
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0
call fcn.100015c0
mov dword [esp + 0x24], 2
mov ebp, dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, 0x104
nop
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x100506b3
push esi
lea ecx, [esp + 0x14]
call fcn.10001de0
mov edx, dword [esp + 0x10]
push esi
lea ecx, [esp + 0x14]
mov edi, edx
call fcn.10001e60
push edi
push esi
call ebp
test eax, eax
je 0x10050737
cmp eax, esi
je 0x10050737
jb 0x100506d1
mov esi, eax
jmp 0x10050690
cmp eax, 0x7fffffff
sbb ecx, ecx
neg ecx
jne 0x100506f2
push 0
push 0x835
push str..FilePath.cpp
push 0x80004005
call fcn.10002400
push eax
lea ecx, [esp + 0x14]
call fcn.10001e60
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.10010370
mov dword [esp + 0x14], 1
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x10]
call fcn.10002320
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
push 0
push 0
call fcn.1004af90
int3

Function at 0x10050750
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10093659
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push 0x100cbb74
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0
call fcn.100015c0
mov dword [esp + 0x24], 2
mov ebp, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, 0x104
nop
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x100507c3
push esi
lea ecx, [esp + 0x14]
call fcn.10001de0
mov edx, dword [esp + 0x10]
push esi
lea ecx, [esp + 0x14]
mov edi, edx
call fcn.10001e60
push esi
push edi
call ebp
test eax, eax
je 0x10050847
cmp eax, esi
je 0x10050847
jb 0x100507e1
mov esi, eax
jmp 0x100507a0
cmp eax, 0x7fffffff
sbb ecx, ecx
neg ecx
jne 0x10050802
push 0
push 0x863
push str..FilePath.cpp
push 0x80004005
call fcn.10002400
push eax
lea ecx, [esp + 0x14]
call fcn.10001e60
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.10010370
mov dword [esp + 0x14], 1
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x10]
call fcn.10002320
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
push 0
push 0
call fcn.1004af90
int3
Function at 0x10050860
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10093690
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
xor ebx, ebx
mov byte [ebp - 0x1c], bl
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, 1
mov byte [ebp - 0x1c], al
mov dword [ebp - 4], ebx
cmp byte [ebp + 8], bl
jne 0x100508f7
cmp dword [esi + 0x34], 0xffffffff
jne 0x100508f7
mov ecx, dword [esi + 0x30]
cmp dword [ecx - 0xc], ebx
je 0x100508f7
mov byte [ebp - 4], al
mov ecx, esi
call fcn.1004f3d0
mov dword [ebp - 4], ebx
jmp 0x100508f7
mov eax, dword [esi + 0x34]
or edi, 0xffffffff
cmp eax, edi
je 0x1005093a
cmp byte [ebp + 8], bl
je 0x1005091b
push ebx
push 0xb7a
push str..FilePath.cpp
push 0xe0e00000
call fcn.10002400
push 0xb7e
push str..FilePath.cpp
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call fcn.1000d9a0
add esp, 0xc
mov dword [esi + 0x34], edi
jmp 0x1005095f
mov eax, dword [esi + 0x30]
cmp dword [eax - 0xc], ebx
je 0x1005095f
cmp byte [ebp + 8], bl
jne 0x10050952
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1005095f
mov eax, dword [esi + 0x30]
push 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x3c]
call fcn.10011580
mov byte [ebp - 4], 3
lea ecx, [esi + 0x30]
add eax, 0x18
push eax
call fcn.100119a0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x3c]
call fcn.100115e0
mov dword [ebp - 4], edi
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 0x1c], bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10051120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100938a0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0xa
mov byte [esp + 0x60], 1
push ecx
lea eax, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.100022c0
mov byte [esp + 0x64], 2
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x68], 1
call fcn.1004f1a0
add esp, 8
mov byte [esp + 0x60], 3
push eax
lea ecx, [esp + 0x40]
call fcn.10010370
mov byte [esp + 0x60], 4
mov eax, dword [esp + 0x24]
push ebx
lea edx, [esp + 0x28]
push 0x10
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], edx
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, esi
mov dword [esp + 0x24], vtable.CAtlListBuilder_class_CFilePath__class_ATL::CElementTraits_class_CFilePath___class_ATL::CAtlList_class_CFilePath__class_ATL::CElementTraits_class_CFilePath___.0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
call fcn.10050100
mov byte [esp + 0x60], 3
lea ecx, [esp + 0x3c]
call fcn.100115e0
mov byte [esp + 0x60], 1
lea ecx, [esp + 0xc]
call fcn.10002320
mov eax, dword [esp + 0x6c]
push eax
lea ecx, [esp + 0x28]
push ecx
push ecx
lea edx, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.100022c0
mov byte [esp + 0x6c], 5
mov byte [esp + 0x6c], 1
call fcn.10050d90
add esp, 0xc
mov byte [esp + 0x6c], al
mov byte [esp + 0x60], bl
lea ecx, [esp + 0x24]
call fcn.1000ff90
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x68]
call fcn.10002320
mov al, byte [esp + 0x6c]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x58
ret 8
Function at 0x10053100
Capabilities:
Query or enumerate registry key

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov ecx, 0x20
mov eax, dword [esi]
sub eax, 0x10
mov dword [esp + 0x10], ecx
mov edx, 1
sub edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, ecx
or edx, eax
mov ebx, ecx
jge 0x10053136
push ecx
mov ecx, esi
call fcn.10001de0
mov edi, dword [esi]
push ebx
mov ecx, esi
call fcn.10001e60
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx]
push 0
test eax, eax
je 0x100531bf
mov edx, dword [eax + 4]
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push edi
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x10053178
push ecx
push eax
call fcn.10074489
add esp, 8
push eax
mov ecx, esi
call fcn.10001e60
cmp edi, 0xea
jne 0x100531d3
mov eax, dword [ebx]
push 0
test eax, eax
je 0x100531bf
mov edx, dword [eax + 4]
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x100531d5
mov ecx, dword [esp + 0x10]
inc ecx
jmp 0x10053112
push 0x187
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincRefCounted.h
push 0x80004003
call fcn.10002400
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x10053720
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x10093e01
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, ecx
xor edi, edi
mov dword [esp + 0x18], edi
cmp dword [ebp + 4], 2
je 0x10053775
mov esi, dword [esp + 0x2c]
add ebp, 8
push ebp
mov ecx, esi
call fcn.100022c0
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], 1
jmp 0x1005381f
lea ecx, [esp + 0x14]
call fcn.100129f0
mov dword [esp + 0x24], 1
mov ebx, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, 0x104
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x100537b4
push esi
lea ecx, [esp + 0x18]
call fcn.10001de0
mov edx, dword [esp + 0x14]
push esi
lea ecx, [esp + 0x18]
mov edi, edx
call fcn.10001e60
mov eax, dword [ebp + 8]
push esi
push edi
push eax
call ebx
test eax, eax
je 0x100537d5
cmp eax, esi
jbe 0x100537de
lea esi, [eax + 1]
jmp 0x10053791
push 0
push 0
call fcn.1004af90
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.10074489
add esp, 8
push eax
lea ecx, [esp + 0x18]
call fcn.10001e60
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.100022c0
mov dword [esp + 0x18], 1
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x14]
call fcn.10002320
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x100544f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10094060
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
test ecx, ecx
jne 0x1005452e
push ecx
push 0x149
push str..Registry.cpp
push 0x80004003
call fcn.10002400
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0xc]
push edx
call eax
mov dword [esp + 0x38], 0
push eax
lea ecx, [esp + 0x14]
call fcn.100111c0
mov byte [esp + 0x38], 2
lea ecx, [esp + 0xc]
call fcn.10002320
push 0
lea ecx, [esp + 0x14]
call fcn.1005d360
mov esi, eax
mov edi, edx
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.10012060
mov eax, esi
mov edx, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret

Function at 0x10054730
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10093349
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 8], 0
mov esi, dword [esp + 0x28]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x1005479b
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
push ecx
mov ecx, esi
call fcn.100022c0
mov dword [esp + 0x18], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
cmp dword [edx - 0xc], 0
jne 0x100547d6
push esi
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.100022c0
mov dword [esp + 0x18], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.100538a0
add esp, 8
mov dword [esp + 0x18], 1
push 0x5c
lea ecx, [esp + 0x2c]
call fcn.1004a450
lea ecx, [esp + 0xc]
push esi
push ecx
call fcn.10053950
add esp, 8
mov byte [esp + 0x18], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.1000d740
mov byte [esp + 0x18], 1
lea ecx, [esp + 0xc]
call fcn.10002320
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.100022c0
mov dword [esp + 8], 1
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x28]
call fcn.10002320
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x10055040
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10094270
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x34]
xor ebx, ebx
cmp esi, ebx
jne 0x10055087
push ebx
push 0x63a
push str..Registry.cpp
push 0x80004003
call fcn.10002400
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [esi]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call edx
push ebx
push 2
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call fcn.10054f50
mov byte [esp + 0x28], 1
mov edx, dword [esp + 0x14]
cmp edx, 0xffffffff
jbe 0x100550db
push ebx
push 0x291
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincNVI2Defns.h
push 0x80070057
call fcn.10002400
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x34]
jmp 0x100e88a8
Function at 0x10055490
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10094310
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
mov ebx, 1
mov byte [ebp - 4], bl
push edi
push 2
lea eax, [ebp - 0x18]
push eax
call fcn.10054f50
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.100105b0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.1000fde0
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov esi, dword [ebp - 0x14]
cmp esi, edi
jne 0x10055516
push edi
push 0x181
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincRefCounted.h
push 0x80004003
call fcn.10002400
push eax
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, edi
je 0x10055560
cmp eax, ebx
jle 0x10055541
cmp eax, 3
jg 0x10055541
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
mov dword [ebp - 0x14], edi
call fcn.1000fd90
jmp 0x100555bf
cmp eax, edi
jle 0x1005554f
and eax, 0xffff
or eax, 0x80070000
push edi
push 0x7ea
push str..Registry.cpp
push eax
call fcn.10002400
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
mov dword [ebp - 0x14], edi
call fcn.1000fd90
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10055a30
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x10094480
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor ebp, ebp
push ebp
push 1
lea eax, [esp + 0x28]
push eax
call fcn.10054f50
mov dword [esp + 0x2c], ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov byte [esp + 0x17], 0
jmp 0x10055a80
push 0x100cbb74
lea ecx, [esp + 0x1c]
call fcn.100015c0
mov byte [esp + 0x2c], 2
mov edx, 0x20
mov esi, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
mov edi, edx
jge 0x10055ac1
push edx
lea ecx, [esp + 0x1c]
call fcn.10001de0
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x1c]
call fcn.10001e60
mov eax, dword [esp + 0x20]
push 0
test eax, eax
je 0x10055b87
mov edx, dword [eax + 4]
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
push esi
push ebp
push edx
call ebx
mov esi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.10074489
add esp, 8
push eax
lea ecx, [esp + 0x1c]
call fcn.10001e60
cmp esi, 0xea
jne 0x10055b4e
mov eax, dword [esp + 0x20]
push 0
test eax, eax
je 0x10055b87
mov edx, dword [eax + 4]
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x10055c3f
mov edx, dword [esp + 0x1c]
inc edx
jmp 0x10055a98
cmp esi, 0x103
je 0x10055b9b
test esi, esi
jne 0x10055c1f
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
push edx
call eax
mov byte [esp + 0x17], 1
mov byte [esp + 0x2c], 0
lea ecx, [esp + 0x18]
call fcn.10002320
inc ebp
jmp 0x10055a80
push 0x181
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincRefCounted.h
push 0x80004003
call fcn.10002400
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10055bc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], 0xffffffff
mov esi, dword [esp + 0x20]
test esi, esi
je 0x10055c05
lea ecx, [esi + 8]
push ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jge 0x10055bf9
push 0
push 0x6e
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincRefCounted.h
push 0xe0e00000
call fcn.10002400
jne 0x10055c05
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
jle 0x10055c2d
and esi, 0xffff
or esi, 0x80070000
push 0
push 0x95a
push str..Registry.cpp
push esi
call fcn.10002400
jle 0x10055c4b
and eax, 0xffff
or eax, 0x80070000
push 0
push 0x946
push str..Registry.cpp
push eax
call fcn.10002400
int3
Function at 0x10059730
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10094c9d
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.CDevDriverSnapshot.0
call fcn.10011580
xor edi, edi
mov dword [esp + 0x18], edi
lea ecx, [esi + 0x20]
call fcn.100129f0
mov byte [esp + 0x18], 1
lea ecx, [esi + 0x24]
call fcn.100129f0
mov byte [esp + 0x18], 2
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
lea ecx, [esi + 0x48]
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.100129f0
mov byte [esp + 0x18], 3
lea ecx, [esi + 0x4c]
call fcn.100129f0
mov byte [esp + 0x18], 4
mov eax, 0xa
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], eax
mov byte [esp + 0x18], 5
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], eax
mov byte [esp + 0x18], 6
mov eax, dword [esp + 0x20]
push eax
mov ecx, esi
call fcn.1000eef0
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4