joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015670
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp + 8]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetServices
push 0x80000002
call edi
mov esi, eax
test esi, esi
jne 0x10015701
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push eax
mov eax, dword [esp + 0x1c]
push edx
push eax
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x100156fa
mov eax, dword [esp + 0xc]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x18]
push 0
push edx
push 0
push str.ImagePath
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
cmp esi, 0x7a
jne 0x100156f3
mov eax, dword [esp + 8]
test eax, eax
jbe 0x100156f3
xor esi, esi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
call edi
xor eax, eax
pop edi
test esi, esi
sete al
pop esi
add esp, 0x10
ret
Function at 0x1001a9cf
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10023030
cmp edx, dword [eax]
je 0x1001a9f1
add eax, 8
inc ecx
cmp eax, 0x100230c0
jl 0x1001a9e2
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10023030]
jne 0x1001ab1f
mov eax, dword [0x1002367c]
cmp eax, 1
je 0x1001aaf9
test eax, eax
jne 0x1001aa22
cmp dword [0x10023680], 1
je 0x1001aaf9
cmp edx, 0xfc
je 0x1001ab1f
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1001aa59
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.1001b2d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.1001b250
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1001aa9c
lea eax, [ebp - 0x1a4]
push eax
call fcn.1001b250
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1001de7c
push edi
call fcn.10017700
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.1001b2d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.1001b2e0
lea eax, [ebp - 0xa0]
push 0x1001de5c
push eax
call fcn.1001b2e0
push dword [esi + 0x10023034]
lea eax, [ebp - 0xa0]
push eax
call fcn.1001b2e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.1001ba5f
add esp, 0x2c
pop edi
jmp 0x1001ab1f
lea eax, [ebp + 8]
lea esi, [esi + 0x10023034]
push 0
push eax
push dword [esi]
call fcn.1001b250
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4025c8
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes
Move file

Disassembly:
push 0x70
mov eax, 0x454b1d
call fcn.00436245
mov edi, ecx
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor ebx, ebx
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [ebp - 4], ebx
mov dword [edi + 8], ebx
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 1
push eax
push ebx
push ebx
push 0x458a80
mov dword [ebp - 0x74], ebx
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x4027ae
mov esi, dword [ebp - 0x74]
mov dword [ebp - 0x7c], esi
push esi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.004059e5
push 0x466af4
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00407d34
push eax
lea ecx, [ebp - 0x40]
call fcn.004059b2
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.00407c3e
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ebx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40266f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40279b
push str.NvNode
lea ecx, [ebp - 0x40]
call fcn.00407d34
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ebx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4026a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40279b
push str.launcher.log
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.004090f8
mov byte [ebp - 4], 6
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
mov dword [esp], str..bak
call fcn.004090f8
mov dword [esp], str.67DF32C5_5AAE_4C02_BAA0_9DE41E8E9FE2
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [edi + 4]
mov dword [edi + 4], eax
test ecx, ecx
je 0x4026ef
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 4]
test eax, eax
je 0x40278b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x402718
push 0x1388
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40274f
jmp 0x40278b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40274f
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
push 1
cmovae ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push 0x80
push 4
push ebx
push 3
push 0x100004
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [edi + 8]
mov dword [edi + 8], eax
test ecx, ecx
je 0x40278b
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x58]
call fcn.00407c3e
lea ecx, [ebp - 0x28]
call fcn.00407c3e
lea ecx, [ebp - 0x40]
call fcn.00407c3e
test esi, esi
je 0x4027ae
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, edi
call fcn.004361ef
ret
Function at 0x402891
Capabilities:
Write file on windows

Disassembly:
push 0x54
mov eax, 0x454b52
call fcn.00436245
mov edi, ecx
mov al, byte [ebp + 8]
mov esi, dword [ebp + 0xc]
mov byte [ebp - 0x60], al
lea eax, [ebp - 0x5c]
push dword [ebp - 0x60]
push eax
call fcn.004027b6
and dword [ebp - 4], 0
mov ecx, eax
push esi
call fcn.00405aa6
push eax
lea ecx, [ebp - 0x44]
call fcn.00405acc
push 2
push 0x466be0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00407f6c
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405acc
lea ecx, [ebp - 0x44]
call fcn.00407dc4
lea ecx, [ebp - 0x5c]
call fcn.00407dc4
and dword [ebp - 0x60], 0
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push ecx
push dword [ebp - 0x1c]
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x2c]
call fcn.00407dc4
call fcn.004361ef
ret 8

Function at 0x402927
Capabilities:
Check if file exists

Disassembly:
push esi
push edi
push str.23FC14F6_CBB0_400C_AB0D_D94A864ED2B7
xor edi, edi
push edi
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
test esi, esi
je 0x40296e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40298c
cmp eax, 0x102
je 0x402969
cmp eax, 0xffffffff
je 0x402961
mov edi, 0x8000ffff
jmp 0x40298c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x402979
push 2
pop edi
jmp 0x40298c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x402989
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x40298c
xor edi, edi
inc edi
test esi, esi
je 0x402997
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret
Function at 0x40299c
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x454b7f
call fcn.00436211
mov ebx, ecx
xor edi, edi
cmp dword [ebx + 8], edi
je 0x4029bd
push str.Shutdown_requested.
push 0x49
call fcn.00402891
mov dword [ebp - 0x10], edi
push str.Global1E6C4F0F_8ABF_4709_AAAD_0341CF2D44A7
push edi
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], edi
test esi, esi
je 0x402a28
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x402a20
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
or dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, 0x96
jb 0x4029c0
cmp dword [ebx + 8], edi
je 0x402a19
push str.Exiting_with_timeout
push 0x45
mov ecx, ebx
call fcn.00402891
mov eax, 0x800705b4
jmp 0x402a7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x402a4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x10], eax
cmp eax, 2
je 0x402a5e
test ecx, ecx
je 0x402a4e
push str.Cannot_open_existing_event.
push 0x49
mov ecx, ebx
call fcn.00402891
mov eax, dword [ebp - 0x10]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x402a70
test ecx, ecx
je 0x402a70
push str.No_event_to_wait_for__exiting_with_S_OK
push 0x49
mov ecx, ebx
call fcn.00402891
test esi, esi
je 0x402a7b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
call fcn.004361da
ret
Function at 0x402a83
Capabilities:
Enumerate processes

Disassembly:
push 0x46c
mov eax, 0x454bb0
call fcn.00436245
mov esi, edx
mov ebx, ecx
mov eax, dword [esi]
mov dword [esi + 4], eax
cmp dword [ebx + 0x10], 0
je 0x402ad4
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
test edi, edi
je 0x402ad4
lea eax, [ebp - 0x474]
mov dword [ebp - 0x474], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x402adc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
call fcn.004361ef
ret
and dword [ebp - 0x238], 0
lea ecx, [ebp - 0x248]
and dword [ebp - 0x234], 0
push ebx
call fcn.00407d5b
and dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
lea edx, [ebp - 0x248]
mov eax, dword [ebp - 0x238]
cmovae ecx, dword [ebp - 0x248]
cmovae edx, dword [ebp - 0x248]
push edx
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x248]
push eax
push ecx
lea ecx, [ebp - 0x478]
call fcn.00409180
add esp, 0xc
push dword [ebp - 0x46c]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x402c83
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00437bd0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x402c83
and dword [ebp - 0x220], 0
lea ecx, [ebp - 0x230]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x218]
push eax
call fcn.00407cbb
push 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x230]
pop ebx
cmp dword [ebp - 0x21c], ebx
cmovae ecx, dword [ebp - 0x230]
cmovae edx, dword [ebp - 0x230]
push edx
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
push eax
push ecx
lea ecx, [ebp - 0x478]
call fcn.00409180
mov edx, dword [ebp - 0x238]
lea eax, [ebp - 0x230]
add esp, 0xc
lea ecx, [ebp - 0x248]
cmp dword [ebp - 0x21c], ebx
cmovae eax, dword [ebp - 0x230]
cmp dword [ebp - 0x234], ebx
cmovae ecx, dword [ebp - 0x248]
cmp edx, dword [ebp - 0x220]
jne 0x402c74
push edx
push eax
push ecx
call fcn.00401130
add esp, 0xc
test eax, eax
jne 0x402c74
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x402c65
mov eax, dword [ebp - 0x46c]
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x402c74
lea eax, [ebp - 0x46c]
push eax
push ecx
mov ecx, esi
call fcn.004095f5
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00407c3e
lea eax, [ebp - 0x474]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x402b42
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esi + 4]
lea ecx, [ebp - 0x248]
mov esi, dword [esi]
call fcn.00407c3e
sub edi, esi
cmp edi, 4
sbb al, al
inc al
jmp 0x402ad6
Function at 0x403c83
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xd8
mov eax, 0x454dea
call fcn.00436245
mov ebx, ecx
mov dword [ebp - 0xc4], ebx
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc4], ebx
push eax
xor edi, edi
lea eax, [ebp - 0xc4]
push edi
push eax
push 0x10002
push str.version
push str.SoftwareNVIDIA_CorporationGlobalGFExperience
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc8], edi
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x403dfc
mov esi, dword [ebp - 0xc8]
mov eax, SysReAllocString
shr esi, 1
inc esi
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xcc], edi
cmp esi, eax
ja 0x403e39
push esi
lea ecx, [ebp - 0xd4]
lfence
call fcn.004080e3
mov edi, eax
lea eax, [esi + esi]
push eax
push 0
push edi
lea esi, [eax + edi]
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xcc], esi
call fcn.00437bd0
add esp, 0xc
mov dword [ebp - 0xd0], esi
lea eax, [ebp - 0xc8]
mov dword [ebp - 4], 2
push eax
push edi
lea eax, [ebp - 0xc4]
push eax
push 0x10002
push str.version
push str.SoftwareNVIDIA_CorporationGlobalGFExperience
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x403dad
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00401261
push eax
mov edx, str.RegGetValue_failed_with
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.004093ec
pop ecx
push eax
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 4
call fcn.004012c8
push 0x473170
lea eax, [ebp - 0xe4]
jmp 0x403e33
lea ecx, [ebp - 0xc0]
call fcn.0040543a
xor ecx, ecx
mov byte [ebp - 4], 5
mov eax, edi
cmp word [edi], cx
je 0x403dcd
add eax, 2
cmp word [eax], cx
jne 0x403dc5
push eax
push edi
push ebx
lea ecx, [ebp - 0xc0]
call fcn.004072b8
lea ecx, [ebp - 0xc0]
call fcn.00405418
sub esi, edi
and esi, 0xfffffffe
push esi
push edi
call fcn.00409d69
pop ecx
pop ecx
mov eax, ebx
call fcn.004361ef
ret
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.00401261
push eax
mov edx, str.RegGetValue_failed_with
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x40]
call fcn.004093ec
pop ecx
push eax
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 1
call fcn.004012c8
push 0x473170
lea eax, [ebp - 0xd4]
push eax
call fcn.00437055
call fcn.0040a0f2
int3
Function at 0x403f42
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454e6d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x47406c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], edx
mov esi, ecx
push 5
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x403f9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, ecx
jmp 0x404143
cmp dword [esi + 0x14], 8
jb 0x403fa4
mov esi, dword [esi]
push 5
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x403fd4
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov dword [ebp - 4], 2
jmp 0x404117
push dword [ebp - 0x14]
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x404010
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
push edi
mov dword [ebp - 4], 3
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 4], 4
jmp 0x404117
xor ecx, ecx
lea eax, [ebp - 0x10]
push eax
push ecx
push ecx
push edi
mov dword [ebp - 0x10], ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
jne 0x404122
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4040ee
mov eax, dword [ebp - 0x10]
push 0x475c91
push eax
mov dword [ebp - 0x18], eax
call fcn.0043582a
mov esi, eax
mov dword [ebp - 0x1c], esi
pop ecx
pop ecx
test esi, esi
jne 0x404074
push edi
mov dword [ebp - 4], 5
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 4], 6
mov esi, 0x8007000e
jmp 0x404117
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
je 0x4040ba
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi + 4]
push esi
mov dword [ecx + 0x1c], eax
call fcn.004357e7
pop ecx
push edi
mov dword [ebp - 4], 0xd
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
mov dword [ebp - 4], 0xe
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x404143
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x1c]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
call fcn.004357e7
pop ecx
push edi
mov dword [ebp - 4], 7
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 4], 8
jmp 0x404117
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
push edi
mov dword [ebp - 4], 9
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 4], 0xa
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
jmp 0x404143
push edi
mov dword [ebp - 4], 0xb
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
mov dword [ebp - 4], 0xc
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 0x8000ffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40be83
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0x2f0
mov eax, 0x4556e4
call fcn.00436245
mov esi, ecx
mov dword [ebp - 0x238], esi
xor edi, edi
lea eax, [ebp - 0x21c]
push 0x20a
mov dword [ebp - 4], edi
push edi
mov dword [ebp - 0x240], esi
push eax
mov dword [ebp - 0x23c], edi
call fcn.00437bd0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push 0x26
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x40bf1d
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.004059e5
mov dword [ebp - 4], edi
mov ecx, esi
push str.NVIDIA_CorporationNvTelemetryNvTelemetryAPI
mov dword [ebp - 0x23c], 1
call fcn.00407d34
push 0x467b98
mov ecx, esi
call fcn.00407d34
push str..dll
mov ecx, esi
call fcn.00407d34
mov eax, esi
call fcn.004361ef
ret
push 0xb0
lea eax, [ebp - 0x2fc]
mov dword [ebp - 0x238], 0xc4
push edi
push eax
call fcn.00437bd0
add esp, 0xc
lea ecx, [ebp - 0x2fc]
call fcn.0040be68
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 1
push ecx
push 0x467c30
lea ecx, [ebp - 0x238]
push ecx
push 0x467c2c
push str..._common_NvTelemetryClient.cpp
sub esp, 0xc
mov ecx, eax
call fcn.0041c71d
mov ecx, eax
call fcn.0041c733
mov ecx, eax
call fcn.0041c749
mov ecx, eax
call fcn.0041c6eb
mov ecx, eax
call fcn.0041c6eb
mov ecx, eax
call fcn.0041c75f
mov ecx, eax
call fcn.0041c6eb
mov ecx, eax
call fcn.0040bbff
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x24c]
call fcn.004012c8
push 0x473170
lea eax, [ebp - 0x24c]
push eax
call fcn.00437055
int3
Function at 0x41e23a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, ebx
mov edi, eax
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, si
jne 0x41e258
sub edx, ecx
sar edx, 1
lea eax, [edx + edi]
lea eax, [eax*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x41e2e8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
push 0x5c
pop eax
cmp word [esi + edx*2 - 2], ax
je 0x41e299
mov word [esi + edx*2], ax
inc edx
mov ecx, ebx
xor eax, eax
mov edi, eax
lea eax, [ecx + 2]
mov dword [ebp - 8], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 4]
jne 0x41e2a5
sub ecx, dword [ebp - 8]
sar ecx, 1
je 0x41e2e6
lfence
lea edx, [esi + edx*2]
mov ax, word [ebx + edi*2]
mov ecx, ebx
mov word [edx], ax
inc edi
lea edx, [edx + 2]
lea eax, [ecx + 2]
mov dword [ebp - 8], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 4]
jne 0x41e2d1
sub ecx, dword [ebp - 8]
sar ecx, 1
cmp edi, ecx
jb 0x41e2be
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41e45f
test al, 0x50
jne 0x41e45f
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x44a4e8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x44a50f
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0044a221
inc ebx
cmpsd dword [esi], dword es:[edi]
jecxz 0x44a5a7
lea eax, [ebp - 0x40]
push eax
call fcn.0044a231
push eax
push esi
push dword [ebp + 8]
call fcn.0044a1e6
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.0044a221
mov eax, 0x8dd07e58
inc ebp
call 0x512d0317
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0044a231
push eax
push esi
push dword [ebp + 8]
call fcn.0044a1e6
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0044a231
push eax
push esi
push dword [ebp + 8]
call fcn.0044a1e6
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
out dx, eax
retf

Function at 0x44a656
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0044a231
push eax
push esi
push dword [ebp + 8]
call fcn.0044a1e6
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0044a221
push edx
inc eax
inc ebx
sbb cl, byte [eax - 0x8363]
dec dword [eax - 0x8263]
inc esi
test dword [esi - 1], edi
invalid