joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4153e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453591
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x470024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
call fcn.0040d090
mov ecx, eax
test ecx, ecx
je 0x415506
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 2
mov edi, 0x104
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
nop dword [eax + eax]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x41545d
push edi
lea ecx, [ebp - 0x10]
call fcn.0040d660
mov esi, dword [ebp - 0x10]
test edi, edi
js 0x415548
cmp edi, dword [esi - 8]
jg 0x415548
push esi
xor eax, eax
mov dword [esi - 0xc], edi
push edi
mov word [esi + edi*2], ax
call ebx
test eax, eax
je 0x41555e
cmp eax, edi
je 0x41555e
jb 0x415499
mov edi, eax
test eax, eax
js 0x41551c
jmp 0x415440
cmp eax, 0x7fffffff
jae 0x415532
test eax, eax
js 0x415548
cmp eax, dword [esi - 8]
jg 0x415548
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.00408c70
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4154f2
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0xcd
push str.d:uworkspaceinstallercore_vs2017_3s_sw_toolswin32msvc141u5_vc_atlmfcinclude_atlsimpstr.h
push 0x80004005
call fcn.0040de90
push 0
push 0x325
push str.d:uworkspaceinstallercore_vs2017_3s_sw_toolswin32msvc141u5_vc_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040de90
push 0
push 0x950
push str.d:uworkspaceinstallercore_vs2017_3s_sw_relgpu_drvinstaller_coreinstaller_core_vs2017_nvi2lib_filepath.cpp
push 0x80004005
call fcn.0040de90
push 0
push 0x368
push str.d:uworkspaceinstallercore_vs2017_3s_sw_toolswin32msvc141u5_vc_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040de90
call fcn.00413140
int3
Function at 0x4157a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453591
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x470024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
call fcn.0040d090
mov ecx, eax
test ecx, ecx
je 0x4158c6
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 2
mov edi, 0x104
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
nop dword [eax + eax]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x41581d
push edi
lea ecx, [ebp - 0x10]
call fcn.0040d660
mov esi, dword [ebp - 0x10]
test edi, edi
js 0x415908
cmp edi, dword [esi - 8]
jg 0x415908
push edi
xor eax, eax
mov dword [esi - 0xc], edi
push esi
mov word [esi + edi*2], ax
call ebx
test eax, eax
je 0x41591e
cmp eax, edi
je 0x41591e
jb 0x415859
mov edi, eax
test eax, eax
js 0x4158dc
jmp 0x415800
cmp eax, 0x7fffffff
jae 0x4158f2
test eax, eax
js 0x415908
cmp eax, dword [esi - 8]
jg 0x415908
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.00408c70
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4158b2
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0xcd
push str.d:uworkspaceinstallercore_vs2017_3s_sw_toolswin32msvc141u5_vc_atlmfcinclude_atlsimpstr.h
push 0x80004005
call fcn.0040de90
push 0
push 0x325
push str.d:uworkspaceinstallercore_vs2017_3s_sw_toolswin32msvc141u5_vc_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040de90
push 0
push 0x9f0
push str.d:uworkspaceinstallercore_vs2017_3s_sw_relgpu_drvinstaller_coreinstaller_core_vs2017_nvi2lib_filepath.cpp
push 0x80004005
call fcn.0040de90
push 0
push 0x368
push str.d:uworkspaceinstallercore_vs2017_3s_sw_toolswin32msvc141u5_vc_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040de90
call fcn.00413140
int3
Function at 0x415930
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453591
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x470024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
call fcn.0040d090
mov ecx, eax
test ecx, ecx
je 0x415a56
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 2
mov edi, 0x104
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathW]
nop dword [eax + eax]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x4159ad
push edi
lea ecx, [ebp - 0x10]
call fcn.0040d660
mov esi, dword [ebp - 0x10]
test edi, edi
js 0x415a98
cmp edi, dword [esi - 8]
jg 0x415a98
push esi
xor eax, eax
mov dword [esi - 0xc], edi
push edi
mov word [esi + edi*2], ax
call ebx
test eax, eax
je 0x415aae
cmp eax, edi
je 0x415aae
jb 0x4159e9
mov edi, eax
test eax, eax
js 0x415a6c
jmp 0x415990
cmp eax, 0x7fffffff
jae 0x415a82
test eax, eax
js 0x415a98
cmp eax, dword [esi - 8]
jg 0x415a98
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.00408c70
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x415a42
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0xcd
push str.d:uworkspaceinstallercore_vs2017_3s_sw_toolswin32msvc141u5_vc_atlmfcinclude_atlsimpstr.h
push 0x80004005
call fcn.0040de90
push 0
push 0x325
push str.d:uworkspaceinstallercore_vs2017_3s_sw_toolswin32msvc141u5_vc_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040de90
push 0
push 0x9c2
push str.d:uworkspaceinstallercore_vs2017_3s_sw_relgpu_drvinstaller_coreinstaller_core_vs2017_nvi2lib_filepath.cpp
push 0x80004005
call fcn.0040de90
push 0
push 0x368
push str.d:uworkspaceinstallercore_vs2017_3s_sw_toolswin32msvc141u5_vc_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040de90
call fcn.00413140
int3
Function at 0x415c60
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4536b0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x470024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x415c98
mov ecx, esi
call fcn.00415f60
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xa
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.00415570
test al, al
jne 0x415d11
mov ecx, edi
call fcn.00414590
shr eax, 4
not al
test al, 1
jne 0x415dfd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00415f60
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
cmp dword [ebp - 0x20], 0
je 0x415dd8
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call fcn.00416160
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
call fcn.004167d0
mov byte [ebp - 4], 2
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
sete bl
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x415d6f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
jne 0x415e13
test esi, esi
je 0x415d9b
push 0
push dword [esi + 4]
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.00415e20
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x415d96
mov dword [ecx], eax
jmp 0x415d98
mov dword [esi], eax
mov dword [esi + 4], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x415dc4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x44]
push eax
call edi
cmp dword [ebp - 0x20], 0
jne 0x415d21
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00415f60
mov al, 1
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
push 0
push 0x378
push str.d:uworkspaceinstallercore_vs2017_3s_sw_relgpu_drvinstaller_coreinstaller_core_vs2017_nvi2lib_filepath.cpp
push 0x8007010b
call fcn.0040de90
call fcn.00413140
int3
Function at 0x416330
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453818
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
mov eax, dword [0x470024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx + 0x18]
cmp dword [eax - 0xc], 0
je 0x4163ce
lea eax, [ebp - 0x2c]
push eax
call fcn.0040b770
mov dword [ebp - 4], 0
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
sete bl
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4163a9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
test bl, bl
jne 0x4163e4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x95b
push str.d:uworkspaceinstallercore_vs2017_3s_sw_relgpu_drvinstaller_coreinstaller_core_vs2017_nvi2lib_filepath.cpp
push 0x80070057
call fcn.0040de90
call fcn.00413140
int3
Function at 0x41c730
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454a79
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x470024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], 0
cmp dword [edi + 4], 2
jne 0x41c878
cmp byte [edi + 0xc], 0
je 0x41c878
lea ecx, [ebp - 0x10]
call fcn.0040c880
mov dword [ebp - 4], 2
mov esi, 0x104
mov ebx, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop
mov edx, dword [ebp - 0x10]
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x41c7b0
push esi
lea ecx, [ebp - 0x10]
call fcn.0040d660
mov edx, dword [ebp - 0x10]
test esi, esi
js 0x41c8c9
cmp esi, dword [edx - 8]
jg 0x41c8c9
mov dword [edx - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x10]
push esi
push edx
mov word [eax + esi*2], cx
push dword [edi + 8]
call ebx
test eax, eax
je 0x41c8df
cmp eax, esi
jbe 0x41c7ed
lea esi, [eax + 1]
test esi, esi
js 0x41c8b3
jmp 0x41c790
mov eax, dword [ebp - 0x10]
push dword [eax - 8]
push eax
call fcn.00441a72
mov edx, eax
add esp, 8
test edx, edx
js 0x41c8c9
mov ecx, dword [ebp - 0x10]
cmp edx, dword [ecx - 8]
jg 0x41c8c9
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2], cx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.0040dba0
mov edi, dword [ebp + 8]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0
or eax, 0xffffffff
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41c862
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
call fcn.0040dba0
mov ecx, dword [ebp + 8]
add esp, 4
add eax, 0x10
mov dword [ecx], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
mov eax, ecx
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
push 0
push 0x325
push str.d:uworkspaceinstallercore_vs2017_3s_sw_toolswin32msvc141u5_vc_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040de90
push 0
push 0x368
push str.d:uworkspaceinstallercore_vs2017_3s_sw_toolswin32msvc141u5_vc_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040de90
call fcn.00413140
int3
Function at 0x41dbc0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, 0x20
mov dword [ebp - 4], 0x20
nop dword [eax]
mov edx, dword [edi]
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, esi
or ecx, eax
jge 0x41dbfd
push esi
mov ecx, edi
call fcn.0040d660
mov edx, dword [edi]
test esi, esi
js 0x41dcd0
cmp esi, dword [edx - 8]
jg 0x41dcd0
mov dword [edx - 0xc], esi
xor ecx, ecx
mov eax, dword [edi]
push ecx
mov word [eax + esi*2], cx
mov eax, dword [ebx]
test eax, eax
je 0x41dcbc
push ecx
push ecx
push ecx
lea ecx, [ebp - 4]
push ecx
push edx
push dword [ebp + 0xc]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, dword [edi]
mov esi, eax
test ecx, ecx
je 0x41dc52
push dword [ecx - 8]
push ecx
call fcn.00441a72
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x41dcd0
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x41dcd0
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi]
mov word [eax + ecx*2], dx
cmp esi, 0xea
jne 0x41dc9d
mov eax, dword [ebx]
push edx
test eax, eax
je 0x41dcbc
push edx
push edx
push edx
push edx
push edx
lea ecx, [ebp - 4]
push ecx
push edx
push edx
push edx
push edx
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x41dc9f
mov esi, dword [ebp - 4]
add esi, 1
mov dword [ebp - 4], esi
js 0x41dca6
jmp 0x41dbe0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x325
push str.d:uworkspaceinstallercore_vs2017_3s_sw_toolswin32msvc141u5_vc_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040de90
push 0x187
push str.d:uworkspaceinstallercore_vs2017_3s_sw_relgpu_drvinstaller_coreinstaller_core_vs2017inc_refcounted.h
push 0x80004003
call fcn.0040de90
push 0
push 0x368
push str.d:uworkspaceinstallercore_vs2017_3s_sw_toolswin32msvc141u5_vc_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040de90
int3
Function at 0x41ee00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4553b0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x470024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x41eefa
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
push 0
push 2
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
call fcn.0041e6c0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x41ef10
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [esi + 4]
push 0
push ecx
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41eea9
jg 0x41ef26
jmp 0x41ef2e
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x41eed0
mov dword [ebp + 0xc], 0
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
dec eax
js 0x41ef40
test eax, eax
jne 0x41eed0
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41eee7
push eax
call fcn.00440a25
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0
push 0x63c
push str.d:uworkspaceinstallercore_vs2017_3s_sw_relgpu_drvinstaller_coreinstaller_core_vs2017_nvi2lib_registry.cpp
push 0x80004003
call fcn.0040de90
push 0
push 0x181
push str.d:uworkspaceinstallercore_vs2017_3s_sw_relgpu_drvinstaller_coreinstaller_core_vs2017inc_refcounted.h
push 0x80004003
call fcn.0040de90
movzx eax, ax
or eax, 0x80070000
push 0
push 0x646
push str.d:uworkspaceinstallercore_vs2017_3s_sw_relgpu_drvinstaller_coreinstaller_core_vs2017_nvi2lib_registry.cpp
push eax
call fcn.0040de90
push 0
push 0x6e
push str.d:uworkspaceinstallercore_vs2017_3s_sw_relgpu_drvinstaller_coreinstaller_core_vs2017inc_refcounted.h
push 0xe0e00000
call fcn.0040de90
int3
Function at 0x4202f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
test edi, edi
je 0x4203b7
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push ebx
push ebx
call esi
mov ecx, edi
mov edx, eax
mov dword [ebp + 8], edx
lea ebx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420320
sub ecx, ebx
sar ecx, 1
lea eax, [ecx + edx]
lea eax, [eax*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
mov dword [ebp - 4], ebx
test ebx, ebx
jne 0x420352
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
push ebx
call esi
mov esi, eax
cmp word [ebx + esi*2 - 2], 0x5c
je 0x42036c
mov eax, 0x5c
mov word [ebx + esi*2], ax
inc esi
mov ecx, edi
xor edx, edx
lea eax, [ecx + 2]
mov dword [ebp + 8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420376
sub ecx, dword [ebp + 8]
sar ecx, 1
je 0x4203b7
lea esi, [ebx + esi*2]
nop dword [eax + eax]
mov ax, word [edi + edx*2]
lea esi, [esi + 2]
mov word [esi - 2], ax
inc edx
mov eax, edi
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4203a1
sub eax, ebx
sar eax, 1
cmp edx, eax
jb 0x420390
mov ebx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421680
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x470024]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x18], ecx
xor esi, esi
mov dword [ebp - 0x14], 0
push edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], 0x24
mov dword [ebp - 0xc], 0x26
mov dword [ebp - 8], 0x2a
cmp dword [0x472560], ebx
jne 0x421727
mov edi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push 3
push 0x20
push 3
push 1
push 3
push 2
push ebx
push ebx
call edi
push edx
push eax
call edi
push edx
push eax
call edi
push edx
push eax
push 0x23
xor ecx, ecx
mov dword [0x472560], 0x11c
push 0x472560
mov dword [0x472564], 6
mov dword [0x472568], 1
mov word [0x472674], cx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov ecx, dword [ebp - 0x18]
neg eax
sbb eax, eax
inc eax
mov dword [0x470014], eax
jmp 0x42172c
mov eax, dword [0x470014]
test eax, eax
je 0x421746
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042425a
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x42188c
push 0
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov edi, eax
test edi, edi
je 0x42188c
lea eax, [edi + edi]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42188c
push 0
push eax
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp edi, eax
jbe 0x42188c
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
xor ebx, ebx
nop dword [eax]
mov eax, dword [ebp + ebx*4 - 0x10]
cmp eax, 0x26
jne 0x4218ad
push 0
push 0
push str._ProgramW6432_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
xor esi, esi
test edi, edi
je 0x421889
lea ecx, [edi*2 + 2]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x421889
push edi
push esi
push str._ProgramW6432_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp edi, eax
jne 0x421889
push esi
push str._ProgramW6432_
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x421827
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call edi
push 0x459664
push 0x26
call fcn.004201d0
mov esi, eax
add esp, 8
test esi, esi
je 0x421889
jmp 0x421844
cmp word [esi + edi*2 - 4], 0x5c
je 0x42183e
push 0x459668
lea eax, [edi + 1]
push eax
push esi
call fcn.00421cc0
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421850
sub ecx, edx
sar ecx, 1
push ecx
push esi
push dword [ebp - 0x14]
call fcn.00441ee3
xor ecx, ecx
add esp, 0xc
test eax, eax
sete cl
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x421889
push esi
call edi
inc ebx
xor esi, esi
cmp ebx, 3
jl 0x4217a0
mov ebx, dword [ebp - 0x1c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push dword [ebp - 0x14]
call esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042425a
mov esp, ebp
pop ebp
ret
push 0x459664
push eax
jmp 0x421817
Function at 0x422230
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x472688]
push esi
test eax, eax
jne 0x422255
push eax
push str.crypt32.dll
call fcn.00421ab0
add esp, 8
mov dword [0x472688], eax
test eax, eax
je 0x422433
cmp dword [0x4726b0], 0
jne 0x42227f
push 0
push str.wintrust.dll
call fcn.00421ab0
add esp, 8
mov dword [0x4726b0], eax
test eax, eax
je 0x422433
mov eax, dword [0x472688]
cmp dword [0x472514], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x4222a8
push str.CertGetNameStringA
push eax
call esi
mov dword [0x472514], eax
test eax, eax
je 0x422433
mov eax, dword [0x472688]
cmp dword [0x472518], 0
jne 0x4222cb
push str.CryptDecodeObjectEx
push eax
call esi
mov dword [0x472518], eax
test eax, eax
je 0x422433
mov eax, dword [0x472688]
cmp dword [0x472504], 0
jne 0x4222ee
push str.CertFreeCertificateContext
push eax
call esi
mov dword [0x472504], eax
test eax, eax
je 0x422433
mov eax, dword [0x472688]
cmp dword [0x472508], 0
jne 0x422311
push str.CertFindCertificateInStore
push eax
call esi
mov dword [0x472508], eax
test eax, eax
je 0x422433
mov eax, dword [0x472688]
cmp dword [0x47251c], 0
jne 0x422334
push str.CertGetIssuerCertificateFromStore
push eax
call esi
mov dword [0x47251c], eax
test eax, eax
je 0x422433
mov eax, dword [0x472688]
cmp dword [0x47250c], 0
jne 0x422357
push str.CryptMsgGetParam
push eax
call esi
mov dword [0x47250c], eax
test eax, eax
je 0x422433
mov eax, dword [0x472688]
cmp dword [0x472510], 0
jne 0x42237a
push str.CryptQueryObject
push eax
call esi
mov dword [0x472510], eax
test eax, eax
je 0x422433
mov eax, dword [0x472688]
cmp dword [0x4724fc], 0
jne 0x42239d
push str.CryptMsgClose
push eax
call esi
mov dword [0x4724fc], eax
test eax, eax
je 0x422433
mov eax, dword [0x472688]
cmp dword [0x472500], 0
jne 0x4223b7
push str.CertCloseStore
push eax
call esi
mov dword [0x472500], eax
test eax, eax
je 0x422433
cmp dword [0x472544], 0
jne 0x4223d6
push str.WinVerifyTrust
push dword [0x4726b0]
call esi
mov dword [0x472544], eax
test eax, eax
je 0x422433
cmp dword [0x472548], 0
jne 0x4223f5
push str.WTHelperProvDataFromStateData
push dword [0x4726b0]
call esi
mov dword [0x472548], eax
test eax, eax
je 0x422433
cmp dword [0x472550], 0
jne 0x422414
push str.WTHelperGetProvCertFromChain
push dword [0x4726b0]
call esi
mov dword [0x472550], eax
test eax, eax
je 0x422433
cmp dword [0x47254c], 0
jne 0x422437
push str.WTHelperGetProvSignerFromChain
push dword [0x4726b0]
call esi
mov dword [0x47254c], eax
test eax, eax
jne 0x422437
xor eax, eax
pop esi
ret
mov eax, 1
pop esi
ret