joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407590
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x4d57fc]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
push str.Container_is_starting
push 3
mov edi, ecx
mov dword [esp + 0x14], 0x63764e5c
push 0x4ad
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 0x74736f48
push eax
push dword [edi + 4]
mov bl, 1
mov dword [esp + 0x28], 0x7070632e
mov byte [esp + 0x2c], 0
call fcn.0041e8a0
mov esi, dword [edi + 0x14]
add esp, 0x14
test esi, esi
je 0x4076ac
nop dword [eax]
mov eax, dword [esi + 0x9c]
cmp eax, 1
je 0x407687
mov ecx, dword [edi + 4]
mov dword [esp + 0xc], 0x63764e5c
mov dword [esp + 0x10], 0x74736f48
mov dword [esp + 0x14], 0x7070632e
mov byte [esp + 0x18], 0
mov dword [esp + 0x1c], 0x4b9cf4
mov dword [esp + 0x20], str.Active
mov dword [esp + 0x24], str.Unverified
mov dword [esp + 0x28], str.Done
mov dword [esp + 0x2c], str.Error
mov dword [esp + 0x30], str.Disabled
test eax, eax
js 0x407661
cmp eax, 6
jae 0x407661
lfence
mov eax, dword [esp + eax*4 + 0x1c]
jmp 0x407666
mov eax, str.Invalid
push eax
lea eax, [esi + 0x58]
push eax
push str.Skip_plugin__s._Status__s
push 5
push 0x4b4
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.0041e8a0
add esp, 0x1c
jmp 0x40769a
push dword [edi + 0x11c]
mov ecx, esi
call fcn.0040c290
mov bl, al
test bl, bl
je 0x4076b9
mov esi, dword [esi + 0xa4]
test esi, esi
jne 0x4075f0
test bl, bl
je 0x4076b9
push 0
push 4
mov ecx, edi
call fcn.00404520
mov bl, al
movzx eax, bl
push eax
push str.Container_is_started_with__d
push edi
call fcn.00404df0
add esp, 0xc
test bl, bl
jne 0x4076df
push 0
mov ecx, edi
mov byte [edi + 0x124], 1
call fcn.00407700
mov ecx, dword [esp + 0x34]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00461564
add esp, 0x2c
ret
Function at 0x407700
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b474d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4d57fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x30], ebx
mov esi, dword [ebp + 8]
lea edi, [ebx + 4]
push edi
push ebx
push dword [ebx + 0x27c]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], edi
call fcn.0040d200
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0x63764e5c
mov dword [ebp - 0x1c], 0x74736f48
mov dword [ebp - 0x18], 0x7070632e
mov byte [ebp - 0x14], 0
cmp esi, 1
jne 0x40778d
push str.Container_is_stopping
push 3
push 0x514
lea eax, [ebp - 0x20]
push eax
push dword [edi]
call fcn.0041e8a0
add esp, 0x14
jmp 0x4077b7
mov esi, dword [edi]
mov edi, dword [ebp - 0x24]
push edi
call fcn.00406090
push eax
push str.Stopping_plugins_with_status__s
push 3
push 0x518
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.0041e8a0
mov esi, edi
add esp, 0x1c
lea edi, [ebx + 4]
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x40783d
nop
cmp dword [ebx + 0xa0], 1
mov eax, dword [ebx + 0x9c]
mov dword [ebp - 0x28], eax
jne 0x40782d
test esi, esi
je 0x407826
cmp esi, eax
je 0x407826
mov edi, dword [edi]
push esi
mov dword [ebp - 0x20], 0x63764e5c
mov dword [ebp - 0x1c], 0x74736f48
mov dword [ebp - 0x18], 0x7070632e
mov byte [ebp - 0x14], 0
call fcn.00406090
push dword [ebp - 0x28]
mov esi, eax
call fcn.00406090
push esi
push eax
lea eax, [ebx + 0x58]
push eax
push str.Skip_plugin__s._Status__s____s
push 5
push 0x52a
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.0041e8a0
add esp, 0x28
jmp 0x40782d
mov ecx, ebx
call fcn.0040c740
mov ebx, dword [ebx + 0xa8]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x2c]
test ebx, ebx
jne 0x4077c0
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x30]
mov ecx, esi
push edi
push 8
call fcn.00404520
mov ecx, str.Plugins_are_stopped
cmp edi, 1
mov eax, str.Container_is_stopped
cmovne eax, ecx
push eax
push esi
call fcn.00404df0
add esp, 8
lea ecx, [ebp - 0x44]
call fcn.0040d330
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461564
mov esp, ebp
pop ebp
ret 4
Function at 0x407b40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b480d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4d57fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x30], ebx
mov esi, dword [ebp + 8]
lea edi, [ebx + 4]
push edi
push ebx
push dword [ebx + 0x27c]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], edi
call fcn.0040d200
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0x63764e5c
mov dword [ebp - 0x1c], 0x74736f48
mov dword [ebp - 0x18], 0x7070632e
mov byte [ebp - 0x14], 0
cmp esi, 1
jne 0x407bcd
push str.Container_is_uninitializing
push 3
push 0x489
lea eax, [ebp - 0x20]
push eax
push dword [edi]
call fcn.0041e8a0
add esp, 0x14
jmp 0x407bf7
mov esi, dword [edi]
mov edi, dword [ebp - 0x24]
push edi
call fcn.00406090
push eax
push str.Uninitializing_plugins_with_status__s
push 3
push 0x48d
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.0041e8a0
mov esi, edi
add esp, 0x1c
lea edi, [ebx + 4]
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x407c7d
nop
cmp dword [ebx + 0xa0], 1
mov eax, dword [ebx + 0x9c]
mov dword [ebp - 0x28], eax
jne 0x407c6d
test esi, esi
je 0x407c66
cmp esi, eax
je 0x407c66
mov edi, dword [edi]
push esi
mov dword [ebp - 0x20], 0x63764e5c
mov dword [ebp - 0x1c], 0x74736f48
mov dword [ebp - 0x18], 0x7070632e
mov byte [ebp - 0x14], 0
call fcn.00406090
push dword [ebp - 0x28]
mov esi, eax
call fcn.00406090
push esi
push eax
lea eax, [ebx + 0x58]
push eax
push str.Skip_plugin__s._Status__s____s
push 5
push 0x49f
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.0041e8a0
add esp, 0x28
jmp 0x407c6d
mov ecx, ebx
call fcn.0040ca50
mov ebx, dword [ebx + 0xa8]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x2c]
test ebx, ebx
jne 0x407c00
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x30]
mov ecx, esi
push edi
push 0
call fcn.00404520
mov ecx, str.Plugins_are_uninitialized
cmp edi, 1
mov eax, str.Container_is_uninitialized
cmovne eax, ecx
push eax
push esi
call fcn.00404df0
add esp, 8
lea ecx, [ebp - 0x44]
call fcn.0040d330
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461564
mov esp, ebp
pop ebp
ret 4
Function at 0x40d970
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4b5b
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4d57fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edi
push eax
mov dword [ebp - 0x30], esi
call fcn.00408ec0
mov dword [esi], vtable.nvc::ServiceHost.0
mov dword [esi + 0x4c0], 0
mov edi, dword [edi]
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov esi, dword [eax + 0x38]
mov ecx, esi
mov eax, dword [ebp - 0x28]
add eax, 0x4c4
push eax
call dword [0x4b9328]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
movaps xmm0, xmmword [str.NvcServiceHost..]
push str.Service_host
push 4
push 0x28
push eax
push dword [edi + 4]
mov byte [ebp - 4], 1
mov dword [edi + 0x4dc], 0
mov dword [edi + 0x4e0], 0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x707063
call fcn.0041e8a0
add esp, 0x14
xorps xmm0, xmm0
movups xmmword [edi + 0x4a4], xmm0
movq qword [edi + 0x4b4], xmm0
push 0
push 0
push 1
mov dword [edi + 0x4bc], 0
push 0
mov dword [edi + 0x4a4], 0x10
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0x40f080
push 0
push 0
mov dword [edi + 0x4dc], eax
mov dword [0x4d7768], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x40daf1
movaps xmm0, xmmword [str.NvcServiceHost..]
mov esi, dword [edi + 4]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x707063
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Service_host:_failed_to_create_ServiceThread._Error__u
push 1
push 0x38
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.0041e8a0
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.00407340
add esp, 0xc
lea ecx, [edi + 0x4c4]
cmp dword [edi + 0x4d8], 8
jb 0x40dae0
mov ecx, dword [edi + 0x4c4]
xor eax, eax
mov dword [edi + 0x4d4], 0
mov word [ecx], ax
jmp 0x40daf8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x4dc]
test eax, eax
je 0x40db3b
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movaps xmm0, xmmword [str.NvcServiceHost..]
push eax
push str.Service_host:_wait_completed_with__u
push 3
push 0x4d
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 0x707063
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x24], xmm0
call fcn.0041e8a0
add esp, 0x18
jmp 0x40db71
movaps xmm0, xmmword [str.NvcServiceHost..]
lea eax, [ebp - 0x24]
push str.Service_host_failed
push 1
push 0x53
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x707063
call fcn.0041e8a0
push str.Service_host_failed
push 0x12
call fcn.00407340
add esp, 0x1c
mov ecx, edi
call fcn.0040f0c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461564
mov esp, ebp
pop ebp
ret 8
Function at 0x40ee10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4c0d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4d57fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
movups xmm0, xmmword [str.ServiceAutoStart]
mov edi, dword [ecx + 0xc]
mov ax, word [0x4bc61c]
movups xmmword [ebp - 0x34], xmm0
mov word [ebp - 0x14], ax
movups xmm0, xmmword [0x4bc60c]
mov dword [ebp - 0x6c], 0
movups xmmword [ebp - 0x24], xmm0
mov eax, dword [edi]
mov esi, dword [eax + 0x50]
lea eax, [ebp - 0x60]
push eax
mov ecx, esi
call dword [0x4b9328]
mov ecx, edi
call esi
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0
push ecx
push 0x20019
push eax
call fcn.004270e0
mov edx, dword [ebp - 0x4c]
add esp, 0xc
test eax, eax
mov dword [ebp - 4], 0xffffffff
sete al
mov byte [ebp - 0x61], al
cmp edx, 8
jb 0x40eee1
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40eed4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40efda
push edx
push ecx
call fcn.00461556
mov al, byte [ebp - 0x61]
add esp, 8
mov esi, dword [ebp - 0x68]
test al, al
je 0x40ef27
cmp dword [esi + 0x4d8], 8
lea ecx, [esi + 0x4c4]
jb 0x40eef9
mov ecx, dword [ecx]
push 0
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp + 8]
push 0
or eax, 0x20006
push eax
push 0
push 0
push 0
push ecx
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push dword [ebp - 0x6c]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40ef2c
mov edi, 5
test edi, edi
jne 0x40ef5c
push 4
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 1
push eax
push 4
push edi
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x70]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x40efbd
mov ecx, dword [esi + 4]
add esi, 0x4c4
movaps xmm0, xmmword [str.NvcServiceHost..]
mov eax, esi
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0x707063
cmp dword [esi + 0x14], 8
jb 0x40ef81
mov eax, dword [esi]
push edi
push eax
lea eax, [ebp - 0x34]
push eax
push str.Failed_to_save_auto_start_flag__ls_to_registry_for_service__ls._Error__ld
push 1
push 0x140
lea eax, [ebp - 0x48]
push eax
push ecx
call fcn.0041eb00
add esp, 0x20
cmp dword [esi + 0x14], 8
jb 0x40efa8
mov esi, dword [esi]
push edi
push esi
lea eax, [ebp - 0x34]
push eax
push str.Failed_to_save_auto_start_flag__ls_to_registry_for_service__ls._Error__ld
push 0x13
call fcn.004073d0
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461564
mov esp, ebp
pop ebp
ret 4
call fcn.0046d841
int3
Function at 0x4113a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
lea ebp, [esp - 0x7c]
sub esp, 0x7c
push 0xffffffffffffffff
push 0x4b4d0d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4d57fc]
xor eax, ebp
mov dword [ebp + 0x78], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, dword [esi + 0x10]
mov ebx, dword [ebp + 0x84]
mov ecx, ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], ebx
mov eax, dword [edi]
mov dword [ebp + 0x3c], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 7
mov word [ebp + 0x3c], ax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411420
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp + 0x3c]
call fcn.00408a50
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp]
mov byte [ebp - 4], 1
push eax
call dword [0x4b9328]
mov ecx, edi
call dword [ebp - 0x14]
mov edx, dword [ebp + 0x50]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x411491
mov ecx, dword [ebp + 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411487
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4116c4
push edx
push ecx
call fcn.00461556
add esp, 8
xor eax, eax
mov dword [ebp + 0x4c], 0
cmp dword [ebp + 0x14], 8
mov ecx, esi
mov word [ebp + 0x3c], ax
lea eax, [ebp]
cmovae eax, dword [ebp]
push 0
push eax
mov dword [ebp + 0x50], 7
call fcn.004116d0
movaps xmm0, xmmword [str.NvcPluginLoadHeP]
mov edi, eax
mov dword [ebp - 0x1c], edi
mov dword [ebp + 0x68], 0x7265706c
mov dword [ebp + 0x6c], 0x336e6957
mov dword [ebp + 0x70], 0x70632e32
mov word [ebp + 0x74], 0x70
movups xmmword [ebp + 0x58], xmm0
test edi, edi
je 0x411506
push ebx
push str.Loaded_dependency_module__ls
push 3
push 0x8c
lea eax, [ebp + 0x58]
push eax
push dword [esi]
call fcn.0041eb00
add esp, 0x18
jmp 0x411556
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0x14], 8
lea ecx, [ebp]
push eax
cmovae ecx, dword [ebp]
lea eax, [ebp + 0x58]
push ecx
push str.Failed_to_load_dependency__ls._Error__u
push 1
push 0x90
push eax
push esi
call fcn.0041eb00
add esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0x14], 8
lea ecx, [ebp]
push eax
cmovae ecx, dword [ebp]
push ecx
push str.Failed_to_load_dependency__ls._Error__u
push 0x1d
call fcn.004073d0
add esp, 0x10
mov edx, dword [ebp + 0x14]
cmp edx, 8
jb 0x4116a3
mov ecx, dword [ebp]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41158a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4116c9
push edx
push ecx
call fcn.00461556
add esp, 8
jmp 0x4116a3
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x78]
xor ecx, ebp
call fcn.00461564
lea esp, [ebp + 0x7c]
pop ebp
ret 4
call fcn.0046d841
call fcn.0046d841
int3
Function at 0x4116d0
Capabilities:
Contain obfuscated stackstrings
Get file version info

Disassembly:
sub esp, 0xb4
mov eax, dword [0x4d57fc]
xor eax, esp
mov dword [esp + 0xb0], eax
movups xmm0, xmmword [str.Unknown]
push ebx
mov ebx, dword [esp + 0xbc]
lea eax, [esp + 0x44]
push ebp
push esi
push edi
push 0x70
mov edi, ecx
push 0
push eax
mov dword [esp + 0x1c], edi
movups xmmword [esp + 0x4c], xmm0
call fcn.004638a0
add esp, 0xc
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
test ebp, ebp
je 0x4117e2
push 0x4c35d8
push ebp
call fcn.00462050
mov edi, eax
add esp, 8
test edi, edi
je 0x4117de
push 0x4c35d8
push 4
call fcn.004619fa
add esp, 8
mov esi, eax
push edi
test esi, esi
je 0x4117d6
push ebp
push 0
push ebx
mov dword [esi], 1
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4117be
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 0
push eax
push 0x4bcc74
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4117be
mov ecx, dword [esp + 0x14]
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 0x4bcc78
lea eax, [esp + 0x54]
push 0x40
push eax
call fcn.00409ef0
add esp, 0x1c
add dword [esi], 0xffffffff
jne 0x4117de
push edi
call fcn.0046204b
push 4
push esi
call fcn.00461556
add esp, 0xc
jmp 0x4117de
call fcn.0046204b
add esp, 4
mov edi, dword [esp + 0x10]
call fcn.0041aa10
push 1
push 0x800
push ebx
mov ebp, eax
call fcn.00418ba0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x411854
movaps xmm0, xmmword [str.NvcPluginLoadHeP]
mov esi, dword [edi]
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0x7265706c
mov dword [esp + 0x34], 0x336e6957
mov dword [esp + 0x38], 0x70632e32
mov word [esp + 0x3c], 0x70
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.Failed_to_load_module__ls:__u._NVCInternal_override:_attempting_to_load_module_without_signature_check_
push 1
push 0x6d
lea eax, [esp + 0x34]
push eax
push esi
call fcn.0041eb00
add esp, 0x1c
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
call fcn.0041aa10
movaps xmm0, xmmword [str.NvcPluginLoadHeP]
mov edi, eax
sub edi, ebp
mov dword [esp + 0x30], 0x7265706c
push edi
push esi
lea eax, [esp + 0x48]
mov dword [esp + 0x3c], 0x336e6957
push eax
push ebx
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x30]
push str.Secure_loading__ls____ls_at__p_took__lu_microseconds
push 3
push 0x73
push eax
push dword [ebx]
movups xmmword [esp + 0x44], xmm0
mov dword [esp + 0x5c], 0x70632e32
mov word [esp + 0x60], 0x70
call fcn.0041eb00
add esp, 0x24
test esi, esi
je 0x4118c4
cmp byte [esp + 0xcc], 0
je 0x4118c4
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x4118c4
mov dword [eax + 0x40], edi
mov ecx, dword [esp + 0xc0]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00461564
add esp, 0xb4
ret 8
Function at 0x413160
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 0x413215
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 0x413181
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 0x4131ae
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 0x4131cb
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 0x4131d3
sub ecx, ebx
sar ecx, 1
je 0x413214
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 0x413201
sub eax, ebx
sar eax, 1
cmp edx, eax
jb 0x4131f0
pop ebx
pop edi
pop esi
mov eax, ebp
pop ebp
pop ecx
ret
Function at 0x415e90
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x18
mov eax, dword [0x4d57fc]
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 [0x4d7848], esi
jne 0x415f3d
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 [0x4d7848], 0x11c
push 0x4d7848
mov dword [0x4d784c], 6
mov dword [0x4d7850], 1
mov word [0x4d795c], cx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov ecx, dword [esp + 0xc]
neg eax
sbb eax, eax
inc eax
mov dword [0x4d503c], eax
jmp 0x415f42
mov eax, dword [0x4d503c]
test eax, eax
je 0x415f5d
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00461564
add esp, 0x18
ret
test ecx, ecx
je 0x4160a1
push ebx
push 0
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov ebx, eax
test ebx, ebx
je 0x4160a0
lea eax, [ebx + ebx]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebp, eax
test ebp, ebp
je 0x4160a0
push 0
push ebp
push ebx
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp ebx, eax
jbe 0x4160a0
lfence
xor ebx, ebx
nop
mov eax, dword [esp + ebx*4 + 0x18]
cmp eax, 0x26
jne 0x416040
push 0
push 0
push str._ProgramW6432_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
xor esi, esi
test edi, edi
je 0x41609c
lea ecx, [edi*2 + 2]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x41609c
push edi
push esi
push str._ProgramW6432_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp edi, eax
jne 0x41609c
push esi
push str._ProgramW6432_
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x416027
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x4bc934
push 0x26
jmp 0x416046
cmp word [esi + edi*2 - 4], 0x5c
je 0x416054
push 0x4bcc74
lea eax, [edi + 1]
push eax
push esi
call fcn.00416940
jmp 0x416054
push 0x4bc934
push eax
call fcn.00413020
mov esi, eax
add esp, 8
test esi, esi
je 0x41609c
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416060
sub ecx, edx
sar ecx, 1
push ecx
push esi
push ebp
call fcn.0048143a
xor ecx, ecx
add esp, 0xc
test eax, eax
sete cl
mov dword [esp + 0x14], ecx
test eax, eax
je 0x41609c
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
inc ebx
xor esi, esi
cmp ebx, 3
jl 0x415fb0
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.00461564
add esp, 0x18
ret