joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008d60
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x2d8]
sub rsp, 0x3d0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x140036038]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
call fcn.140001a80
test eax, eax
je 0x140008fd7
movdqa xmm0, xmmword [0x140030c50]
movdqu xmmword [rbp + 0x90], xmm0
mov byte [rbp + 0x80], 0
mov r8d, 0xd
lea rdx, str.DCSHelper.exe
lea rcx, [rbp + 0x80]
call fcn.140004420
nop
movdqa xmm0, xmmword [0x140030c50]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov dword [rsp + 0x30], 0x130
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0xa0]
call fcn.14000f580
lea r8, [rbp + 0x80]
cmp qword [rbp + 0x98], 0x10
cmovae r8, qword [rbp + 0x80]
mov edx, 0x104
lea rcx, [rbp + 0xa0]
call fcn.140011a34
lea rcx, [rbp + 0xa0]
call fcn.1400156b0
lea rdx, [rbp + 0xa0]
lea rcx, str.The_Monitor1_Name_is_:_s
call fcn.14000a500
test rdi, rdi
je 0x140008f52
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140008f48
nop dword [rax]
nop word [rax + rax]
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x1b0]
call fcn.14000f580
lea r8, [rsp + 0x5c]
mov edx, 0x104
lea rcx, [rbp + 0x1b0]
call fcn.140011a34
lea rcx, [rbp + 0x1b0]
call fcn.1400156b0
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0xa0]
call fcn.140012030
test eax, eax
je 0x140008ef9
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0xa0]
call fcn.14000eeec
test rax, rax
jne 0x140008ef9
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140008e80
jmp 0x140008f48
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae rdx, qword [rbp + 0x60]
lea rcx, str.The_monitor_name2_is__s
call fcn.14000a500
lea rcx, str.get_same_process
call fcn.14000a500
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x1f0fff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x140008f89
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008f84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009001
call fcn.14000d4b4
movdqa xmm0, xmmword [0x140030c50]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x140008fd7
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008fd2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008ffb
call fcn.14000d4b4
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.14000d490
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.14001179c
nop
call fcn.14001179c
nop
int3
Function at 0x140009050
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x140036038]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov esi, r8d
lea rcx, [rsp + 0x40]
mov r14, rdx
mov r8d, 0x104
xor edx, edx
call fcn.14000f580
lea r8, str.SOFTWAREAutoRunInstallCount
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.140011a34
lea rax, [rsp + 0x38]
mov dword [rsp + 0x34], 4
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x30], 0
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
je 0x140009150
cmp esi, 1
jne 0x14000920d
cmp eax, 2
jne 0x140009103
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000002
lea rdx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov ebx, eax
test ebx, ebx
jne 0x14000921d
mov eax, dword [rsp + 0x34]
lea r9d, [rbx + 4]
mov rcx, qword [rsp + 0x38]
lea rdx, str.value
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000920d
lea rax, [rsp + 0x34]
mov qword [rsp + 0x180], rdi
mov rdi, qword [rsp + 0x38]
lea rdx, str.value
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
jne 0x1400091c2
mov eax, dword [rsp + 0x30]
cmp esi, 1
jne 0x1400091ad
test eax, eax
je 0x1400091a2
inc eax
mov dword [rsp + 0x30], eax
jmp 0x1400091cf
mov eax, 1
mov dword [rsp + 0x30], eax
jmp 0x1400091cf
cmp eax, 1
jbe 0x1400091ba
dec eax
mov dword [rsp + 0x30], eax
jmp 0x1400091cf
xor eax, eax
mov dword [rsp + 0x30], eax
jmp 0x1400091cf
cmp eax, 2
jne 0x1400091fc
mov dword [rsp + 0x30], 1
mov eax, dword [rsp + 0x34]
lea rdx, str.value
mov dword [rsp + 0x28], eax
mov r9d, 4
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x180]
test ebx, ebx
jne 0x14000921d
mov ecx, dword [rsp + 0x30]
lea eax, [rbx + 1]
mov dword [r14], ecx
jmp 0x140009226
mov dword [r14], 0
xor eax, eax
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14000d490
mov rbx, qword [rsp + 0x190]
add rsp, 0x160
pop r14
pop rsi
pop rbp
ret
Function at 0x140009b50
Capabilities:
Get session user name

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x80
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [0x140036038]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbp, r8
mov rsi, rdx
movdqa xmm0, xmmword [0x140030c50]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
xor r8d, r8d
lea rdx, [0x14002e610]
lea rcx, [rsp + 0x50]
call fcn.140004420
mov dword [rsp + 0x20], 0x104
mov ecx, 0x104
call fcn.14000d960
mov rdi, rax
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x140009bf1
mov rcx, rdi
call fcn.14000d4b4
mov ecx, dword [rsp + 0x20]
call fcn.14000d960
mov rdi, rax
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x140009c00
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140004420
mov rcx, rdi
call fcn.14000d4b4
test rsi, rsi
jne 0x140009c40
lea r8d, [rsi + 6]
lea rdx, str.Noname
lea rcx, [0x140036dc0]
call fcn.140004420
jmp 0x140009c5b
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140009c40
mov r8, rbx
mov rdx, rsi
lea rcx, [0x140036dc0]
call fcn.140004570
mov r8d, 1
lea rdx, [0x1400301b8]
lea rcx, [0x140036dc0]
call fcn.140004570
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rcx, [0x140036dc0]
call fcn.140004570
mov rdx, rbp
call fcn.140009f20
lea rcx, [0x140036de0]
cmp qword [0x140036df8], 0x10
cmovae rcx, qword [0x140036de0]
lea rdx, [0x14002f264]
call fcn.14001505c
mov qword [0x140036e20], rax
test rax, rax
jne 0x140009d02
movaps xmm0, xmmword [0x140036de0]
movaps xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [0x140036df0]
movaps xmmword [rsp + 0x40], xmm1
call fcn.1400118e0
mov r8d, dword [rax]
lea rdx, [rsp + 0x30]
lea rcx, str.open_a_new_log_file_failed__name____s___errno___d
call fcn.14000a590
xor bl, bl
jmp 0x140009d04
mov bl, 1
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140009d3d
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009d38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009d60
call fcn.14000d4b4
movzx eax, bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14000d490
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
call fcn.14001179c
int3
Function at 0x14000a300
Capabilities:
Create directory
Get common file path

Disassembly:
sub rsp, 0x158
mov rax, qword [0x140036038]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x802a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x14000a411
lea rdx, str.HonorSuiteHandSetService
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x14000a372
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000a4a2
lea rcx, str.CreatePCFolder_successfully.
call fcn.14000a500
lea rdx, [0x14002f004]
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x14000a3b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000a4a2
lea rcx, str.CreatePCFolder_successfully.
call fcn.14000a500
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000a3d0
lea rdx, [rsp + 0x30]
lea rcx, [0x140036e00]
call fcn.140004570
lea rcx, str.GetPCFolderPath_successfully.
call fcn.14000a500
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14000d490
add rsp, 0x158
ret
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x8026
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x14000a4d2
lea rdx, str.HonorSuiteHandSetService
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x14000a466
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000a4a2
lea rcx, str.CreatePCFolder_successfully.
call fcn.14000a500
lea rdx, [0x14002f004]
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x14000a4ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000a4ab
lea rcx, str.CreatePCFolder_failed.
jmp 0x14000a4d9
lea rcx, str.CreatePCFolder_successfully.
call fcn.14000a500
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14000a4c3
jmp 0x14000a3da
lea rcx, str.GetPCFolderPath_failed.
call fcn.14000a590
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14000d490
add rsp, 0x158
ret
Function at 0x14000bd70
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x140036038]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov r14, r9
mov r12, r8
mov r15, rdx
mov rsi, qword [rbp + 0x3f0]
xor edi, edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], dil
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x80]
call fcn.14000f580
test rsi, rsi
je 0x14000bf30
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rsi + r8], 0
jne 0x14000bdf0
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.140004420
test r15, r15
je 0x14000bf23
cmp qword [rsp + 0x48], 0
je 0x14000bf23
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp - 0x80]
xor r8d, r8d
mov rdx, r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
lea rax, [rbp - 0x80]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14000be64
mov r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.140004420
nop
mov r8, qword [rsp + 0x68]
test r8, r8
jne 0x14000bec0
lea r8, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae r8, qword [rsp + 0x38]
mov rdx, r12
lea rcx, str.Err:_Read_parameter__s__from__s_Failed
call fcn.140006a20
mov r8d, 0x13
lea rdx, str.DEFAULT_READ_STRING
mov rcx, r14
call fcn.140004420
jmp 0x14000bee8
lea rax, [rsp + 0x58]
cmp r14, rax
je 0x14000bee3
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdx, qword [rsp + 0x58]
mov rcx, r14
call fcn.140004420
mov edi, 1
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14000bf30
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bf1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000bf92
call fcn.14000d4b4
jmp 0x14000bf30
lea rcx, str.Err:_The_cfg_buffer_is_null
call fcn.140006a20
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14000bf69
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bf64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000bf8c
call fcn.14000d4b4
mov eax, edi
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.14000d490
add rsp, 0x490
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14001179c
nop
call fcn.14001179c
nop
int3
Function at 0x14000cae0
Capabilities:
Read .ini file

Disassembly:
push rdi
sub rsp, 0x180
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x190], rbx
mov rax, qword [0x140036038]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea rcx, [0x140030900]
call fcn.14000a500
lea rcx, str.Run_RunMiniPopW_start
call fcn.140006a20
call fcn.14000c3c0
lea r8, str.Setting.ini
lea rdx, [0x140036e48]
lea rcx, [rsp + 0x38]
call fcn.140006ff0
nop
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x60]
call fcn.14000f580
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x60]
lea r8, [0x14002e610]
lea rdx, str.autolaunch
lea rcx, str.system
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movzx eax, byte [rsp + 0x60]
cmp al, byte [0x14002effc]
jne 0x14000cc6e
movzx eax, byte [rsp + 0x61]
cmp al, byte [0x14002effd]
jne 0x14000cc6e
lea r9, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae r9, qword [rsp + 0x38]
lea r8, [0x140036e68]
cmp qword [0x140036e80], 0x10
cmovae r8, qword [0x140036e68]
lea rdx, [0x140036ec8]
cmp qword [0x140036ee0], 0x10
cmovae rdx, qword [0x140036ec8]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rcx, str._autolaunch1_donot_start_up_hisuite_g_strMiniPopPath_s_as_user._error_g_strHisuitePath_s_pathname_s_value_s
call fcn.140006a20
mov ebx, 1
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14000cc4b
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cc46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ccff
call fcn.14000d4b4
mov eax, ebx
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14000d490
mov rbx, qword [rsp + 0x190]
add rsp, 0x180
pop rdi
ret
lea rbx, [0x140036e68]
mov rcx, rbx
cmp qword [0x140036e80], 0x10
cmovae rcx, qword [0x140036e68]
lea rdx, str.StartupfromeHonorSuiteService
call fcn.1400015d0
test eax, eax
jne 0x14000cc09
lea rdi, [0x140036ec8]
mov rcx, rdi
cmp qword [0x140036ee0], 0x10
cmovae rcx, qword [0x140036ec8]
lea rdx, str.StartupfromeHonorSuiteService
call fcn.1400015d0
test eax, eax
jne 0x14000ccf8
cmp qword [0x140036e80], 0x10
cmovae rbx, qword [0x140036e68]
cmp qword [0x140036ee0], 0x10
cmovae rdi, qword [0x140036ec8]
mov r8, rbx
mov rdx, rdi
lea rcx, str.Run_program_g_strMiniPopPath_s_as_user._error_g_strHisuitePath_s
call fcn.140006a20
xor ebx, ebx
jmp 0x14000cc0e
call fcn.14001179c
int3
Function at 0x140002074
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400020be
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400020be
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400020be
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400020be
cmp dword [rcx + 0x84], 0xe
jbe 0x1400020be
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400020c0
xor al, al
add rsp, 0x28
ret
Function at 0x140002f50
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
xor r8, r8
push r8
push rax
pushfq
push r8
push rdx
sub rsp, 0xa8
push r8
push r15
push r14
push r13
push r12
push rbx
push r8
push rsi
push rdi
push rbp
push rax
push rdx
sub rsp, 0x290
movdqa xmmword [rsp + 0x2f0], xmm6
movdqa xmmword [rsp + 0x300], xmm7
movdqa xmmword [rsp + 0x310], xmm8
movdqa xmmword [rsp + 0x320], xmm9
movdqa xmmword [rsp + 0x330], xmm10
movdqa xmmword [rsp + 0x340], xmm11
movdqa xmmword [rsp + 0x350], xmm12
movdqa xmmword [rsp + 0x360], xmm13
movdqa xmmword [rsp + 0x370], xmm14
movdqa xmmword [rsp + 0x380], xmm15
mov eax, dword [0x140172e6c]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
lea rdx, [rsp + 0x20]
xor r8, r8
mov qword [rdx + 0x10], r8
mov byte [rdx + 0x19], 1
mov dword [rdx + 0x1c], 0xffffffff
mov byte [rdx + 0x18], 2
mov r8, qword [rax + 0x80]
mov qword [rdx], r8
mov qword [rax + 0x80], rdx
lea r8, [rsp + 0x290]
mov qword [rdx + 8], r8
call fcn.1400924f0
int3
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xd8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x130], r8
mov qword [rsp + 0x138], r9
mov eax, dword [0x140172e6c]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
mov qword [rsp + 0xc0], rax
cmp rcx, qword [rax + 0x88]
sete byte [rsp + 0xd0]
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [r8 + 0x18]
mov rbx, qword [rax]
mov rax, qword [r8 + 0x20]
mov rbp, qword [rax]
mov rax, qword [r8 + 0x28]
mov rsi, qword [rax]
mov rax, qword [r8 + 0x30]
mov rdi, qword [rax]
mov rax, qword [r8 + 0x58]
mov r12, qword [rax]
mov rax, qword [r8 + 0x60]
mov r13, qword [rax]
mov rax, qword [r8 + 0x68]
mov r14, qword [rax]
mov rax, qword [r8 + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [r8 + 0x90]
movdqa xmm7, xmmword [r8 + 0xa0]
movdqa xmm8, xmmword [r8 + 0xb0]
movdqa xmm9, xmmword [r8 + 0xc0]
movdqa xmm10, xmmword [r8 + 0xd0]
movdqa xmm11, xmmword [r8 + 0xe0]
movdqa xmm12, xmmword [r8 + 0xf0]
movdqa xmm13, xmmword [r8 + 0x100]
movdqa xmm14, xmmword [r8 + 0x110]
movdqa xmm15, xmmword [r8 + 0x120]
mov rcx, qword [r8 + 0x78]
mov rdx, qword [rsp + 0x120]
call qword [rsp + 0x128]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rdx + 0x70]
cmp rcx, 0
je 0x1400030e0
mov r9, qword [rdx + 0x68]
mov qword [r9], rcx
mov qword [rdx + 0x68], 0
mov qword [rdx + 0x70], 0
mov rcx, qword [rsp + 0x138]
mov r8, qword [r8 + 0x78]
xor r9d, r9d
mov rcx, qword [rcx]
cmp rcx, r9
je 0x1400030fc
cmp rcx, r8
jl 0x1400030ef
mov qword [rdx + 0x80], rcx
test dword [0x14016a988], 1
je 0x14000312b
cmp byte [rsp + 0xd0], 0
je 0x14000312b
mov rcx, 0x43
mov rdx, rax
mov rsp, r8
jmp 0x140002c50
mov rsp, r8
jmp rax
Function at 0x140003130
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xc8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x110], rcx
mov qword [rsp + 0x118], rdx
mov eax, dword [0x140172e6c]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
mov qword [rsp + 0xc0], rax
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [rdx + 0x18]
mov rbx, qword [rax]
mov rax, qword [rdx + 0x20]
mov rbp, qword [rax]
mov rax, qword [rdx + 0x28]
mov rsi, qword [rax]
mov rax, qword [rdx + 0x30]
mov rdi, qword [rax]
mov rax, qword [rdx + 0x58]
mov r12, qword [rax]
mov rax, qword [rdx + 0x60]
mov r13, qword [rax]
mov rax, qword [rdx + 0x68]
mov r14, qword [rax]
mov rax, qword [rdx + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [rdx + 0x90]
movdqa xmm7, xmmword [rdx + 0xa0]
movdqa xmm8, xmmword [rdx + 0xb0]
movdqa xmm9, xmmword [rdx + 0xc0]
movdqa xmm10, xmmword [rdx + 0xd0]
movdqa xmm11, xmmword [rdx + 0xe0]
movdqa xmm12, xmmword [rdx + 0xf0]
movdqa xmm13, xmmword [rdx + 0x100]
movdqa xmm14, xmmword [rdx + 0x110]
movdqa xmm15, xmmword [rdx + 0x120]
mov rcx, qword [rdx + 0x78]
call qword [rsp + 0x110]
mov rdx, qword [rsp + 0x118]
mov rax, qword [rdx + 0x18]
mov qword [rax], rbx
mov rax, qword [rdx + 0x20]
mov qword [rax], rbp
mov rax, qword [rdx + 0x28]
mov qword [rax], rsi
mov rax, qword [rdx + 0x30]
mov qword [rax], rdi
mov rax, qword [rdx + 0x58]
mov qword [rax], r12
mov rax, qword [rdx + 0x60]
mov qword [rax], r13
mov rax, qword [rdx + 0x68]
mov qword [rax], r14
mov rax, qword [rdx + 0x70]
mov qword [rax], r15
movdqa xmmword [rdx + 0x90], xmm6
movdqa xmmword [rdx + 0xa0], xmm7
movdqa xmmword [rdx + 0xb0], xmm8
movdqa xmmword [rdx + 0xc0], xmm9
movdqa xmmword [rdx + 0xd0], xmm10
movdqa xmmword [rdx + 0xe0], xmm11
movdqa xmmword [rdx + 0xf0], xmm12
movdqa xmmword [rdx + 0x100], xmm13
movdqa xmmword [rdx + 0x110], xmm14
movdqa xmmword [rdx + 0x120], xmm15
mov rax, qword [rsp + 0xc0]
lock or dword [rax + 0x38], 0x10
movdqa xmm6, xmmword [rsp + 0x20]
movdqa xmm7, xmmword [rsp + 0x30]
movdqa xmm8, xmmword [rsp + 0x40]
movdqa xmm9, xmmword [rsp + 0x50]
movdqa xmm10, xmmword [rsp + 0x60]
movdqa xmm11, xmmword [rsp + 0x70]
movdqa xmm12, xmmword [rsp + 0x80]
movdqa xmm13, xmmword [rsp + 0x90]
movdqa xmm14, xmmword [rsp + 0xa0]
movdqa xmm15, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbp
pop rdi
pop rsi
pop rbx
pop r12
pop r13
pop r14
pop r15
ret