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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483d6d
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x49a134]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004099e0
push str.Service_host
push 4
push 0x25
push str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
push dword [edi + 4]
mov dword [ebp - 4], 0
mov dword [edi], vtable.nvc::ServiceHost.0
mov dword [edi + 0x6c4], 0
mov dword [edi + 0x748], 0
mov dword [edi + 0x74c], 0
call fcn.00418480
add esp, 0x14
xorps xmm0, xmm0
movups xmmword [edi + 0x6a8], xmm0
movq qword [edi + 0x6b8], xmm0
push 0
push 0
push 1
mov dword [edi + 0x6c0], 0
push 0
mov dword [edi + 0x6a8], 0x10
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push dword [ebp + 8]
mov dword [edi + 0x748], eax
lea eax, [edi + 0x6c8]
push 0x40
push eax
call fcn.004590f4
add esp, 0xc
mov ecx, edi
push 0x200
call fcn.00408d70
test al, al
je 0x4080ab
call fcn.0041b790
or eax, 4
push eax
call fcn.0041b7f0
add esp, 4
push 0x100
mov ecx, edi
call fcn.00408d70
test al, al
je 0x4080cc
call fcn.0041b790
or eax, 4
push eax
call fcn.0041b7f0
add esp, 4
push 0
push 0
push 0
push 0x409310
push 0
push 0
mov dword [0x49b6f4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x408137
mov esi, dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Service_host:_failed_to_create_ServiceThread._Error__u
push 1
push 0x42
push str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
push esi
call fcn.00418480
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Service_host:_failed_to_create_ServiceThread._Error__u
push 0x11
call fcn.00404a10
push 0x80
lea eax, [edi + 0x6c8]
push 0
push eax
call fcn.0042fc00
add esp, 0x18
jmp 0x40813e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x748]
test eax, eax
je 0x408170
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push eax
push str.Service_host:_wait_completed_with__u
push 3
push 0x56
push str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
push dword [edi + 4]
call fcn.00418480
add esp, 0x18
jmp 0x408195
push str.Service_host_failed
push 1
push 0x5c
push str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
push dword [edi + 4]
call fcn.00418480
push str.Service_host_failed
push 0x12
call fcn.00404a10
add esp, 0x1c
mov ecx, edi
call fcn.00409350
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x408d70
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
sub esp, 0x24
mov eax, dword [0x49a134]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push edi
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push 0x20019
mov edi, ecx
xor bl, bl
call fcn.0041f960
add esp, 8
test eax, eax
jne 0x408e7c
push esi
push eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x3c]
push 0
or eax, 0x2001f
push eax
push 0
push 0
push 0
lea eax, [edi + 0x6c8]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push dword [esp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x408e7c
mov ax, word [0x487fac]
movups xmm0, xmmword [str.Recovery]
mov word [esp + 0x24], ax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0
push 0x10
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 4
push eax
push 0
push dword [esp + 0x24]
movups xmmword [esp + 0x30], xmm0
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 8], 0
je 0x408e7c
push str.Safe_mode_is_ON._Optional_plugins_will_not_be_loaded
push 2
push 0x145
push str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
push dword [edi + 4]
call fcn.00418480
add esp, 0x14
mov al, 1
pop edi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0042e063
add esp, 0x24
ret 4
mov ecx, dword [esp + 0x28]
mov al, bl
pop edi
pop ebx
xor ecx, esp
call fcn.0042e063
add esp, 0x24
ret 4
Function at 0x409180
Capabilities:
Set registry value

Disassembly:
sub esp, 0x30
mov eax, dword [0x49a134]
xor eax, esp
mov dword [esp + 0x2c], eax
movups xmm0, xmmword [str.ServiceAutoStart]
mov ax, word [0x488008]
push ebx
push esi
push edi
mov word [esp + 0x34], ax
mov ebx, ecx
movups xmmword [esp + 0x14], xmm0
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
movups xmm0, xmmword [0x487ff8]
push eax
push 0x20019
movups xmmword [esp + 0x2c], xmm0
lea edi, [ebx + 0x6c8]
call fcn.0041f960
add esp, 8
test eax, eax
jne 0x409240
push eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x48]
push 0
or eax, 0x20006
push eax
push 0
push 0
push 0
push edi
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push dword [esp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x409245
push 4
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 1
push eax
push 4
push esi
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x40927b
jmp 0x409245
mov esi, 5
push esi
push edi
lea eax, [esp + 0x1c]
push eax
push str.Failed_to_save_auto_start_flag__ls_to_registry_for_service__ls._Error__ld
push 1
push 0x169
push str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
push dword [ebx + 4]
call fcn.00418480
push esi
push edi
lea eax, [esp + 0x3c]
push eax
push str.Failed_to_save_auto_start_flag__ls_to_registry_for_service__ls._Error__ld
push 0x13
call fcn.00404a10
add esp, 0x34
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042e063
add esp, 0x30
ret 4

Function at 0x40b500
Capabilities:
Get common file path

Disassembly:
push ecx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
je 0x40b5b5
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, edi
mov esi, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b521
sub ecx, edx
sar ecx, 1
lea eax, [ecx + esi]
lea eax, [eax*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x40b54e
pop edi
pop esi
pop ebp
pop ecx
ret
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, eax
cmp word [ebp + esi*2 - 2], 0x5c
je 0x40b56b
mov eax, 0x5c
mov word [ebp + esi*2], ax
inc esi
mov ecx, edi
xor edx, edx
push ebx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b573
sub ecx, ebx
sar ecx, 1
je 0x40b5b4
lea esi, [esi*2]
lfence
add esi, ebp
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 0x40b5a1
sub eax, ebx
sar eax, 1
cmp edx, eax
jb 0x40b590
pop ebx
pop edi
pop esi
mov eax, ebp
pop ebp
pop ecx
ret
Function at 0x40e230
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x18
mov eax, dword [0x49a134]
xor eax, esp
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x1c]
push ebp
push esi
push edi
xor esi, esi
mov dword [esp + 0xc], ecx
xor edi, edi
mov dword [esp + 0x14], 0x24
xor ebp, ebp
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x26
mov dword [esp + 0x1c], 0x2a
cmp dword [0x49c5d0], esi
jne 0x40e2dd
push 3
push 0x20
push 3
push 1
push 3
push 2
push edi
push edi
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 0x23
xor ecx, ecx
mov dword [0x49c5d0], 0x11c
push 0x49c5d0
mov dword [0x49c5d4], 6
mov dword [0x49c5d8], 1
mov word [0x49c6e4], cx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov ecx, dword [esp + 0xc]
neg eax
sbb eax, eax
inc eax
mov dword [0x4991a0], eax
jmp 0x40e2e2
mov eax, dword [0x4991a0]
test eax, eax
je 0x40e2fd
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0042e063
add esp, 0x18
ret
test ecx, ecx
je 0x40e441
push ebx
push 0
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov ebx, eax
test ebx, ebx
je 0x40e440
lea eax, [ebx + ebx]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebp, eax
test ebp, ebp
je 0x40e440
push 0
push ebp
push ebx
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp ebx, eax
jbe 0x40e440
lfence
xor ebx, ebx
nop
mov eax, dword [esp + ebx*4 + 0x18]
cmp eax, 0x26
jne 0x40e3e0
push 0
push 0
push 0x4890a0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
xor esi, esi
test edi, edi
je 0x40e43c
lea ecx, [edi*2 + 2]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x40e43c
push edi
push esi
push 0x4890a0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp edi, eax
jne 0x40e43c
push esi
push 0x4890a0
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x40e3c7
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x4881ac
push 0x26
jmp 0x40e3e6
cmp word [esi + edi*2 - 4], 0x5c
je 0x40e3f4
push 0x48909c
lea eax, [edi + 1]
push eax
push esi
call fcn.0040f4c0
jmp 0x40e3f4
push 0x4881ac
push eax
call fcn.0040b3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x40e43c
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e400
sub ecx, edx
sar ecx, 1
push ecx
push esi
push ebp
call fcn.0045a8ca
xor ecx, ecx
add esp, 0xc
test eax, eax
sete cl
mov dword [esp + 0x14], ecx
test eax, eax
je 0x40e43c
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
inc ebx
xor esi, esi
cmp ebx, 3
jl 0x40e350
mov edi, dword [esp + 0x14]
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x20]
mov eax, edi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0042e063
add esp, 0x18
ret
Function at 0x411780
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
push esi
push edi
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4118b6
movzx eax, word [esi]
cmp eax, 0x5c
je 0x4117d3
cmp eax, 0x2f
je 0x4117d3
push eax
call fcn.0045a070
add esp, 4
test eax, eax
je 0x4118b6
cmp word [esi + 2], 0x3a
jne 0x4118b6
movzx eax, word [esi + 4]
cmp eax, 0x5c
je 0x4117d3
cmp eax, 0x2f
jne 0x4118b6
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4118a8
test al, 0x50
jne 0x4118a8
push ebx
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x411818
push 0x20
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret
xor ecx, ecx
mov dword [esp + 0xc], edi
cmp dword [esp + 0x1c], ecx
lea eax, [esp + 0xc]
cmove eax, ecx
push eax
push esi
call fcn.00412060
add esp, 8
test eax, eax
je 0x41184e
cmp dword [esp + 0x1c], edi
je 0x411862
cmp dword [esp + 0xc], edi
jne 0x411862
push 0x80092009
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
call fcn.0040e790
add esp, 8
test eax, eax
je 0x411877
mov eax, dword [esp + 0x18]
and eax, 0xffffe8f7
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test ebx, ebx
je 0x411891
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x411811
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
pop ecx
ret
push 0xa0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x412c20
Capabilities:
Query environment variable

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x412c7a
push ebx
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebx, eax
test ebx, ebx
je 0x412c75
xor ecx, ecx
mov edx, 2
mul edx
lfence
push edi
push 0x48aa54
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042eb5a
mov edi, eax
add esp, 8
test edi, edi
je 0x412c71
push ebx
push edi
push esi
lfence
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
pop ebx
xor eax, eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x412f40
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x49a134]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push esi
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x412fc3
push 0x228
lea eax, [esp + 0x10]
push ebx
push eax
call fcn.0042fc00
add esp, 0xc
mov dword [esp + 8], 0x22c
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x412fbc
push edi
mov edi, dword [esp + 0x240]
nop dword [eax]
cmp dword [esp + 0x14], edi
je 0x412fb7
lea eax, [esp + 0xc]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x412fa0
jmp 0x412fbb
mov ebx, dword [esp + 0x24]
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x234]
mov eax, ebx
pop esi
pop ebx
xor ecx, esp
call fcn.0042e063
add esp, 0x230
ret

Function at 0x413050
Capabilities:
Get session user name

Disassembly:
push ecx
mov eax, dword [esp + 8]
test eax, eax
je 0x413077
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x413077
mov dword [esp], ecx
lea ecx, [esp]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp eax, 1
sete al
pop ecx
ret
xor al, al
pop ecx
ret

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

Disassembly:
push ebx
push esi
push dword [esp + 0xc]
xor bl, bl
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41309f
mov ebx, eax
shr ebx, 4
and bl, 1
jmp 0x4130a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, dword [esp + 0x10]
mov al, bl
test ecx, ecx
je 0x4130b3
mov dword [ecx], esi
pop esi
pop ebx
ret
Function at 0x417880
Capabilities:
Create directory

Disassembly:
sub esp, 0x20
mov eax, dword [0x49a134]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
mov esi, 1
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x14], esi
push ebp
push eax
call fcn.004188d0
add esp, 0xc
lea eax, [esp + 0x14]
cmp dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4178da
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x417974
cmp dword [ebp + 0x14], 8
mov eax, ebp
jb 0x4178e5
mov eax, dword [ebp]
cmp dword [esp + 0x28], 8
lea edi, [esp + 0x14]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
cmovae edi, ebx
cmp ecx, dword [ebp + 0x10]
jne 0x417936
test ecx, ecx
je 0x4179c1
movzx edx, word [edi]
movzx esi, word [eax]
cmp dx, si
jb 0x417932
sub edi, eax
cmp dx, si
ja 0x417932
cmp ecx, 1
je 0x4179c1
movzx edx, word [edi + eax + 2]
add eax, 2
dec ecx
movzx esi, word [eax]
cmp dx, si
jae 0x417916
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
cmp eax, 8
jb 0x41796e
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x417964
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417a0a
push ecx
push ebx
call fcn.0042e050
add esp, 8
inc esi
jmp 0x41789b
mov edx, dword [esp + 0x28]
cmp edx, 8
jb 0x4179ac
mov ecx, dword [esp + 0x14]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4179a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417a0a
push edx
push ecx
call fcn.0042e050
add esp, 8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0042e063
add esp, 0x20
ret
mov eax, dword [esp + 0x28]
cmp eax, 8
jb 0x4179f5
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x4179eb
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417a0a
push ecx
push ebx
call fcn.0042e050
add esp, 8
mov ecx, dword [esp + 0x2c]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042e063
add esp, 0x20
ret
call fcn.0045c39b
int3
Function at 0x41cc60
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x108], 0
jne 0x41cc8f
push str.Directory_listener_has_not_been_configured.
push 1
push 0xb0
push str.C:dvsp4_build_swgcompdev_srcNvContainercommonwindowsDirectoryListenerWin32.cpp
push dword [esi + 0x10c]
call fcn.00418480
add esp, 0x14
xor al, al
pop esi
ret
cmp dword [esi + 0x118], 0
je 0x41cca6
push str.Directory_listener_is_already_running.
push 1
push 0xb6
jmp 0x41cc78
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x118], eax
test eax, eax
jne 0x41cccc
push str.Failed_to_start_directory_listener__no_start_event_.
push 1
push 0xbd
jmp 0x41cc78
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 4], eax
test eax, eax
jne 0x41ccef
push str.Failed_to_start_directory_listener__no_quit_event_.
push 1
push 0xc4
jmp 0x41cc78
push 0
push 0
push esi
push 0x41cf20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x114], eax
test eax, eax
jne 0x41cd1e
push str.Failed_to_create_directory_listener_thread.
push 1
push 0xcb
jmp 0x41cc78
push 0x2710
push dword [esi + 0x118]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x10c]
test eax, eax
je 0x41cd57
push str.Failed_to_start_directory_listener_thread.
push 1
push 0xd1
push str.C:dvsp4_build_swgcompdev_srcNvContainercommonwindowsDirectoryListenerWin32.cpp
push ecx
call fcn.00418480
add esp, 0x14
xor al, al
pop esi
ret
push str.Directory_listener_thread_started.
push 4
push 0xd5
push str.C:dvsp4_build_swgcompdev_srcNvContainercommonwindowsDirectoryListenerWin32.cpp
push ecx
call fcn.00418480
add esp, 0x14
mov al, 1
pop esi
ret
Function at 0x41e900
Capabilities:
Get file version info

Disassembly:
sub esp, 0x94
mov eax, dword [0x49a134]
xor eax, esp
mov dword [esp + 0x90], eax
movups xmm0, xmmword [str.Unknown]
push ebx
push ebp
mov ebp, dword [esp + 0xa0]
lea eax, [esp + 0x28]
push esi
push edi
push 0x70
push 0
push eax
mov dword [esp + 0x20], ecx
movups xmmword [esp + 0x2c], xmm0
call fcn.0042fc00
add esp, 0xc
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x41ea0c
push 0x48aa54
push ebx
call fcn.0042eb5a
mov edi, eax
add esp, 8
test edi, edi
je 0x41ea0c
push 0x48aa54
push 4
call fcn.0042e236
add esp, 8
mov esi, eax
push edi
test esi, esi
je 0x41ea04
push ebx
push 0
push ebp
mov dword [esi], 1
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41e9ec
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 0
push eax
push 0x48909c
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41e9ec
mov ecx, dword [esp + 0x10]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._u._u._u._u
lea eax, [esp + 0x34]
push 0x40
push eax
call fcn.0040aba0
add esp, 0x1c
add dword [esi], 0xffffffff
jne 0x41ea0c
push edi
call fcn.0042e05e
push 4
push esi
call fcn.0042e050
add esp, 0xc
jmp 0x41ea0c
call fcn.0042e05e
add esp, 4
call fcn.00412fe0
push 1
push 0x800
push ebp
mov esi, eax
call fcn.00411780
mov edi, eax
call fcn.00412fe0
mov ebx, eax
lea eax, [esp + 0x2c]
sub ebx, esi
mov esi, dword [esp + 0x20]
push ebx
push edi
push eax
push ebp
push str.Secure_loading__ls____ls_at__p_took__lu_microseconds
push 3
push 0x51
push str.C:dvsp4_build_swgcompdev_srcNvContainercommonwindowsNvcPluginLoadHelperWin32.cpp
push dword [esi]
call fcn.00418480
add esp, 0x30
test edi, edi
je 0x41ea67
cmp byte [esp + 0xac], 0
je 0x41ea67
mov eax, dword [esi + 8]
test eax, eax
je 0x41ea67
mov dword [eax + 0x40], ebx
mov ecx, dword [esp + 0xa0]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042e063
add esp, 0x94
ret 8
Function at 0x41f960
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x58
mov eax, dword [0x49a134]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x49cdc4]
push ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 8], ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x49cd4c]
cmp eax, dword [ecx + 0x1d0]
jg 0x41fa6c
jmp 0x41fa44
mov si, word [eax]
cmp si, word [ecx]
jne 0x41fad4
test si, si
je 0x41fad0
mov si, word [eax + 2]
cmp si, word [ecx + 2]
jne 0x41fad4
add eax, 4
add ecx, 4
test si, si
je 0x41fad0
jmp 0x41f9a0
mov si, word [eax]
cmp si, word [ecx]
jne 0x41faed
test si, si
je 0x41fae9
mov si, word [eax + 2]
cmp si, word [ecx + 2]
jne 0x41faed
add eax, 4
add ecx, 4
test si, si
je 0x41fae9
jmp 0x41f9d4
mov cx, word [edx]
cmp cx, word [eax]
jne 0x41fb04
test cx, cx
je 0x41fb00
mov cx, word [edx + 2]
cmp cx, word [eax + 2]
jne 0x41fb04
add edx, 4
add eax, 4
test cx, cx
je 0x41fb00
jmp 0x41fa10
push ebx
push dword [esp + 0x64]
push 0
push dword [0x49cd48]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x58]
pop ebx
xor ecx, esp
call fcn.0042e063
add esp, 0x58
ret
push 0x49cd4c
call fcn.0042e7aa
add esp, 4
cmp dword [0x49cd4c], 0xffffffff
jne 0x41fa44
push ebp
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebp, eax
test ebp, ebp
je 0x41fb4b
mov ebx, dword [esp + 8]
push edi
xor edi, edi
test ebx, ebx
jle 0x41fb3d
push esi
jmp 0x41fac0
mov edx, dword [ebp + edi*4]
mov ecx, 0x485f54
mov eax, edx
jmp 0x41f9a0
xor eax, eax
jmp 0x41fad9
sbb eax, eax
or eax, 1
test eax, eax
je 0x41fb0f
mov ecx, str._cfg
mov eax, edx
jmp 0x41f9d4
xor eax, eax
jmp 0x41faf2
sbb eax, eax
or eax, 1
test eax, eax
je 0x41fb0f
mov eax, str.__configuration
jmp 0x41fa10
xor eax, eax
jmp 0x41fb09
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41fb35
jmp 0x41fb0f
lea eax, [ebx - 1]
cmp edi, eax
jge 0x41fb35
inc edi
push 0xffffffffffffffff
push dword [ebp + edi*4]
push 0x104
push 0x49cb40
call fcn.0045ac69
mov ebx, dword [esp + 0x20]
add esp, 0x10
jmp 0x41fb35
inc edi
cmp edi, ebx
jl 0x41fac0
pop esi
jmp 0x41fb3d
push ebp
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [esp + 0x10]
pop edi
jmp 0x41fb4b
cmp word [0x49cb40], 0
pop ebp
je 0x41fbbb
movups xmm0, xmmword [str.SYSTEMCurrentControlSetServices_ls]
mov eax, dword [0x48a4f0]
mov dword [esp + 0x54], eax
lea eax, [esp + 0xc]
movups xmmword [esp + 0xc], xmm0
push 0x49cb40
movups xmm0, xmmword [0x48a4b8]
push eax
push 0x104
movups xmmword [esp + 0x28], xmm0
push 0x4991c8
movups xmm0, xmmword [0x48a4c8]
movups xmmword [esp + 0x3c], xmm0
movups xmm0, xmmword [0x48a4d8]
movups xmmword [esp + 0x4c], xmm0
movq xmm0, qword [0x48a4e8]
movq qword [esp + 0x5c], xmm0
call fcn.0040aba0
add esp, 0x10
jmp 0x41fbbb
push 0x49cd4c
mov dword [0x49cd48], 0x4991c8
call fcn.0042e760
add esp, 4
jmp 0x41fa44