joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1033d9d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
push 0xe
pop ecx
push 0x10
push dword [ebp + 8]
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x20], 1
call fcn.0101b5d3
test eax, eax
pop edi
jne 0x1033e06
test byte [ebp + 0x10], 8
je 0x1033ddf
mov dword [ebp - 0x30], 0x1039b30
push 0
push dword [ebp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHCloneSpecialIDList]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x1033e06
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp - 0x18]
call dword [sym.imp.SHELL32.dll_ILFree]
leave
ret 0xc

Function at 0x1033e47
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push esi
push edi
push 6
pop ecx
xor eax, eax
mov esi, 0x103a53c
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push eax
push eax
push eax
push eax
push eax
push eax
lea ecx, [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x40], eax
mov word [ebp - 0x3a], ax
mov dword [ebp - 0x38], eax
mov word [ebp - 0x3c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1033eab
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
leave
ret
Function at 0x1033f92
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x720
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x310]
push 0x103a5a8
xor esi, esi
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20019
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.SHLWAPI.dll_SHRegOpenUSKeyW]
test eax, eax
jne 0x10340cb
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHRegQueryUSValueW]
push esi
push esi
push esi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push 0x103a588
push dword [ebp - 4]
mov dword [ebp + 8], 0x208
mov word [ebp - 0x210], si
call ebx
test eax, eax
je 0x10340a3
push edi
push esi
push esi
push esi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x518]
push eax
push esi
push 0x103a570
push dword [ebp - 4]
mov edi, 0x104
mov dword [ebp + 8], edi
call ebx
test eax, eax
mov dword [ebp + 8], edi
lea eax, [ebp + 8]
jne 0x1034057
push eax
lea eax, [ebp - 0x210]
push eax
push esi
lea eax, [ebp - 0x518]
push eax
push 2
push 0x40
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
jmp 0x10340a2
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x518]
push eax
push esi
push 0x103a554
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x10340a2
push edi
lea eax, [ebp - 0x720]
push eax
lea eax, [ebp - 0x518]
push eax
call dword [sym.imp.SHLWAPI.dll_SHUnicodeToUnicode]
lea eax, [ebp - 0x720]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHRunIndirectRegClientCommand]
mov word [ebp - 0x210], si
mov dword [ebp - 8], 1
pop edi
cmp word [ebp - 0x210], si
pop ebx
je 0x10340c2
push 9
lea eax, [ebp - 0x210]
push eax
call fcn.0100e31d
mov dword [ebp - 8], 1
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHRegCloseUSKey]
mov eax, dword [ebp - 8]
pop esi
leave
ret 4

Function at 0x10346ba
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
push esi
push edi
push 0x10
pop ecx
xor eax, eax
mov esi, 0x208
push esi
push dword [ebp + 8]
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x454]
push eax
mov dword [ebp - 0x44], 0x44
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
mov edi, dword [sym.imp.SHLWAPI.dll_StrCatBuffW]
push esi
push 0x103a624
lea eax, [ebp - 0x454]
push eax
call edi
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x454]
push eax
call edi
push dword [ebp + 0x14]
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0x10]
xor eax, eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x454]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
pop esi
leave
ret 0x10
Function at 0x10352ad
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [ebp + 0xc]
push eax
push 1
xor edi, edi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
call esi
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jne 0x103530c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0x14]
mov dword [ebp - 8], 4
push dword [ebp + 0xc]
call ebx
test eax, eax
jne 0x1035303
cmp dword [ebp - 0xc], 4
je 0x1035303
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0xc]
push eax
push 1
push edi
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x103534f
push 4
pop esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0x14]
mov dword [ebp - 8], esi
push dword [ebp + 0xc]
call ebx
test eax, eax
jne 0x1035346
cmp dword [ebp - 0xc], esi
je 0x1035346
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x1035359
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
lea eax, [ebp + 0xc]
push eax
push 1
xor esi, esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10353af
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 0x10]
mov dword [ebp + 8], 0x104
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0xc]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x1035cb2
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x650
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_Ordinal_460]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov esi, 0x104
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
cmp eax, dword [ebp + 0x10]
jae 0x1035e0d
push eax
push dword [ebp + 0xc]
lea edx, [eax + 1]
lea eax, [ebp - 0x38]
push 0x14
push eax
mov dword [ecx], edx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
push esi
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x38]
push eax
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_Ordinal_439]
test eax, eax
jl 0x1035ccf
push esi
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x448]
push eax
call ebx
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
test eax, eax
mov dword [ebp - 8], eax
je 0x1035daa
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 4]
push ecx
push 0x10166d4
push eax
call fcn.01007a1a
test eax, eax
jl 0x1035da1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push 0
push 0x1016918
lea edx, [ebp - 0xc]
push edx
push 1
push 0
push eax
call dword [ecx + 0x28]
test eax, eax
jl 0x1035d98
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 4
push 0
push esi
lea edx, [ebp - 0x448]
push edx
push eax
call dword [ecx + 0xc]
push esi
lea eax, [ebp - 0x650]
push eax
lea eax, [ebp - 0x448]
push eax
call ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ILFree]
mov eax, dword [edi + 4]
test eax, eax
je 0x1035dc7
push eax
lea eax, [ebp - 0x650]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1035ccf
mov eax, dword [edi + 8]
test eax, eax
je 0x1035de4
push eax
lea eax, [ebp - 0x650]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1035ccf
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1035ccf
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
pop edi
pop esi
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x1035e06
Function at 0x1035e11
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push 0x103aa68
push dword [0x103e820]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push 0x1018090
push 0x1039738
push dword [0x103e820]
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x1035e4b
call fcn.010309e2
lea eax, [ebp - 0x10]
push eax
push 0x20019
push ebx
push 0x103aa08
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1035f82
push esi
push edi
push 0x1017ac8
call fcn.01035c34
push 0x1017a68
mov dword [ebp - 0xc], eax
call fcn.01035c34
mov dword [ebp - 8], eax
mov dword [ebp - 0x40], ebx
xor eax, eax
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 3
stosd dword es:[edi], eax
mov dword [ebp + 8], ebx
pop esi
push 4
push 0x103a9f8
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.01035cb2
mov dword [ebp + esi*4 - 0x40], eax
inc esi
cmp esi, 6
jb 0x1035e9c
mov dword [ebp + 8], ebx
xor edi, edi
lea esi, [ebp + edi*4 - 0x40]
cmp dword [esi], ebx
jne 0x1035edb
push 0xa
push 0x103a9e8
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.01035cb2
mov dword [esi], eax
inc edi
cmp edi, 6
jb 0x1035ebe
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x28], 0x18
mov dword [ebp - 0x24], 3
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push ebx
push 0x40000000
lea eax, [ebp - 0x18]
push eax
call fcn.01008b5c
push 0x13
xor esi, esi
pop edi
mov eax, dword [ebp + esi*4 - 0x40]
cmp eax, ebx
je 0x1035f4e
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp + 8]
push ecx
push 0x10166d4
push eax
mov dword [ebp - 0x20], edi
call fcn.01007a1a
test eax, eax
jl 0x1035f4e
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
push 0x12
push 0x1016804
call fcn.01027dd5
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
dec edi
cmp esi, 6
jb 0x1035f0d
xor esi, esi
push dword [ebp + esi*4 - 0x40]
call dword [sym.imp.SHELL32.dll_ILFree]
inc esi
cmp esi, 6
jb 0x1035f57
push dword [ebp - 0xc]
mov esi, dword [sym.imp.SHELL32.dll_SHFree]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x103628e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ecx + 0x74], 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 2
push 8
lea eax, [ebp - 8]
push eax
push 3
push 0x103aa98
push 0x1017998
call dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
leave
ret

Function at 0x10366a9
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
push 0
push dword [esp + 0xc]
push 0x1016938
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
ret 4
Function at 0x103678f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov esi, ecx
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x48]
xor ebx, ebx
cmp eax, ebx
je 0x10367b6
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
push 1
push ebx
push eax
call dword [ecx + 0x24]
push ebx
push ebx
push ebx
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x103aa98
push 0x1017998
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp + 8], 8
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
add edi, 0xc
push edi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x10367ff
mov ecx, esi
mov dword [esi + 0x74], 3
call fcn.0101bcbc
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 4

Function at 0x1036c60
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
push 0
push dword [esp + 0xc]
push 0x103ab40
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
ret 4

Function at 0x103707d
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
lea eax, [ebp + 8]
push eax
xor eax, eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jl 0x10370da
push edi
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], 0x101690c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ILFree]
pop edi
leave
ret 4
Function at 0x10f67c9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea edi, [edi]
pop eax
cld
cmp byte [edi], 1
nop
lea esi, [esi]
mov cl, cl
ja 0x10f6887
xor eax, 0x42fb6ab0
sbb eax, dword [esp + 4]
jmp 0x10f67ea
cmp ecx, dword [edx + 0x18]
lea edi, [eax + ebx]
mov ebx, ebx
cld
je 0x10fb466
nop
mov ebx, ebx
push 0
and esp, 0xffffffff
pop eax
jmp 0x10f6882
mov edx, ebx
jmp 0x10f6833
lea ebx, [ebx]
jne 0x10fb417
xchg ah, ah
lea esi, [ebx]
lea edi, [ebx]
jmp 0x10f68af
mov esi, ebx
inc edi
lea eax, [esp - 0x7f]
mov eax, ebx
test cl, 0x2f
adc ecx, ebp
add eax, dword [ebx + 0x3c]
add edx, dword [eax + 0x78]
jmp 0x10fb409
cmc
nop
sub bh, 0
imul eax, eax, 0xf
push eax
movzx eax, byte [edi]
lea edi, [edi + 1]
sub dword [esp], eax
jmp 0x10f6600
pop esi
mov dl, 0xda
add esi, dword [edi + eax*4]
add cl, bl
mov cl, cl
ret 4
add edi, dword [edx + 0x1c]
xor eax, ebp
add esi, dword [edx + 0x24]
lea esi, [esi + ecx*2]
add dl, ah
lea edx, [eax + ebp*8]
push ebx
add edx, 0x4b1828
movzx eax, word [esi]
jmp 0x10f6899
sbb ecx, esi
xor ch, cl
push 0xffffffffffffffff
add esi, dword [edx + 0x20]
not ecx
pop ecx
not edi
inc ecx
lodsd eax, dword [esi]
jmp 0x10f6684
ret

Function at 0x10fb426
Capabilities:
Encode data using xor

Disassembly:
xor edi, eax
rdtsc
ret
inc dword [ebp + 0x4d30]
and ecx, 0x3fb2b670
dec eax
call esi
dec edx
xor eax, edi
je fcn.010fb426
jmp 0x10fb37b
Function at 0x10001550
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10001569
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100015a4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x100015a0
lea ebx, [ebx]
cmp esi, eax
jae 0x100015a4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10001590
cmp esi, eax
jb 0x100015aa
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x10012c70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100bf190
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push str.SOFTWARENVIDIA_RemoveOptimusFilters069F7102_A666_45F1_8762_BF8DBD9584ED
lea ecx, [esp + 0x14]
call fcn.100242c0
mov dword [esp + 0x30], 0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x20]
call fcn.10024050
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0xc]
call fcn.100244e0
mov byte [esp + 0x30], 3
lea ecx, [esp + 0x1c]
call fcn.10024250
mov byte [esp + 0x30], 4
lea ecx, [esp + 0x10]
call fcn.10024250
push 1
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0xc]
call fcn.100241e0
mov byte [esp + 0x30], 5
push eax
lea ecx, [esp + 8]
call fcn.10020280
mov byte [esp + 0x30], 4
lea ecx, [esp + 0x1c]
call fcn.10024250
push 0
push 1
lea ecx, [esp + 0xc]
call fcn.1006c350
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 4]
call fcn.10024250
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
add esp, 0x30
ret

Function at 0x10012d50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100bf190
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push str.SOFTWARENVIDIA_RemoveOptimusFilters069F7102_A666_45F1_8762_BF8DBD9584ED
lea ecx, [esp + 0x14]
call fcn.100242c0
mov dword [esp + 0x30], 0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x20]
call fcn.10024050
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0xc]
call fcn.100244e0
mov byte [esp + 0x30], 3
lea ecx, [esp + 0x1c]
call fcn.10024250
mov byte [esp + 0x30], 4
lea ecx, [esp + 0x10]
call fcn.10024250
push 1
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0xc]
call fcn.100241e0
mov byte [esp + 0x30], 5
push eax
lea ecx, [esp + 8]
call fcn.10020280
mov byte [esp + 0x30], 4
lea ecx, [esp + 0x1c]
call fcn.10024250
push 0
lea ecx, [esp + 8]
call fcn.1006c610
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 4]
call fcn.10024250
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
add esp, 0x30
ret
Function at 0x10015c00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100bb068
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [esi + 4], ebx
setne al
cmp al, bl
jne 0x10015c4c
push ebx
push 0x1fb
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincNVProp.h
push 0xe0e00062
call fcn.10001ed0
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0xc]
push eax
call edi
mov dword [esp + 0x38], ebx
mov eax, dword [esi + 4]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, ebx
jge 0x10015c82
push ebx
push 0x1fd
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincNVProp.h
push eax
call fcn.10001ed0
cmp word [esp + 0xc], bx
je 0x10015cb1
lea ecx, [esp + 0x1c]
push ecx
call edi
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.10066930
mov edx, dword [ebp + 8]
add esp, 8
cmp word [esp + 0x24], bx
mov bl, 1
setne cl
mov byte [edx], cl
mov dword [esp + 0x38], 0xffffffff
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10016680
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100bb068
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
cmp dword [edi + 4], 0
setne al
test al, al
jne 0x100166cb
push 0
push 0x1dd
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincNVProp.h
push 0xe0e00062
call fcn.10001ed0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0xc]
push eax
call esi
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x1c]
push ecx
call esi
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], edx
push ecx
lea edx, [esp + 0x10]
mov eax, 3
push edx
mov word [esp + 0x24], ax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x1001671b
push 0
push 0
push 0x100d1152
push eax
call fcn.10001ed0
mov esi, dword [esp + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x20]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x24]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x28]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x20]
push ecx
call eax
test eax, eax
jge 0x1001675c
push 0
push 0x1e0
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincNVProp.h
push eax
call fcn.10001ed0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10016790
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100bb068
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
test ebx, ebx
jne 0x100167d3
push ebx
push 0x1eb
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincNVProp.h
push 0x80004003
call fcn.10001ed0
cmp dword [edi + 4], 0
setne al
test al, al
jne 0x100167f4
push 0
push 0x1ec
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincNVProp.h
push 0xe0e00062
call fcn.10001ed0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0xc]
push eax
call esi
mov dword [esp + 0x38], 0
mov eax, dword [edi + 4]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jge 0x1001682f
push 0
push 0x1ee
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincNVProp.h
push eax
call fcn.10001ed0
lea ecx, [esp + 0x1c]
push ecx
call esi
push 3
push 0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jge 0x1001685d
push 0
push 0
push 0x100d1152
push eax
call fcn.10001ed0
mov ecx, dword [esp + 0x24]
mov dword [ebx], ecx
mov dword [esp + 0x38], 0xffffffff
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10016890
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100bb068
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [esi + 4], ebx
setne al
cmp al, bl
jne 0x100168dc
push ebx
push 0x1fb
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincNVProp.h
push 0xe0e00062
call fcn.10001ed0
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0xc]
push eax
call edi
mov dword [esp + 0x38], ebx
mov eax, dword [esi + 4]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, ebx
jge 0x10016912
push ebx
push 0x1fd
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincNVProp.h
push eax
call fcn.10001ed0
cmp word [esp + 0xc], bx
je 0x1001694f
lea ecx, [esp + 0x1c]
push ecx
call edi
push 3
push ebx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
cmp eax, ebx
jge 0x10016944
push ebx
push ebx
push 0x100d1152
push eax
call fcn.10001ed0
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov bl, 1
mov dword [esp + 0x38], 0xffffffff
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4