joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002bd0
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14002d010]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp eax, 0xffffffff
jne 0x140002c97
mov qword [rsp + 0x70], rsi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [0x14002d088]
lea rsi, [0x14002d080]
mov ebx, eax
mov dword [rsp + 0x3c], 0
movabs rax, 0x4d54ee85da812030
add rdx, rax
cmp rdx, 1
jbe 0x140002c42
mov r8, qword [0x14002d080]
mov edx, ebx
mov rcx, rsi
call qword [r8 + 0x30]
jmp 0x140002c47
test ebx, ebx
setne al
lea rcx, str.C:_boost_1_82_0_boost_asiodetailimplwin_tss_ptr.ipp
movzx eax, al
add rax, 2
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x40], rsi
lea rcx, str.win_tss_ptr_create
mov rsi, qword [rsp + 0x70]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], 0x2e
mov dword [rsp + 0x34], 0x1a
test al, 1
je 0x140002c97
cmp rax, 1
jne 0x140002cb1
test ebx, ebx
jne 0x140002cb1
mov eax, edi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140017fd0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
lea r8, [rsp + 0x20]
lea rdx, [0x140020b10]
lea rcx, [rsp + 0x38]
call fcn.140002b90
int3

Function at 0x140003260
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x14002d010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 8]
mov rbx, rcx
mov r9d, 0xffffffff
mov qword [rsp + 0x28], rax
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lock xadd dword [0x14002f670], eax
mov rcx, qword [rbx + 8]
test eax, eax
je 0x1400032d9
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140017fd0
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
xor r8d, r8d
lea rcx, [fcn.140002f10]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rbx + 8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140017fd0
add rsp, 0x40
pop rbx
ret
Function at 0x140003f00
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x14002d010]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor eax, eax
lea rbx, [rcx + 0x28]
test rcx, rcx
mov ecx, dword [0x14002f944]
cmove rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140004075
nop word [rax + rax]
cmp qword [rax], rbx
je 0x140003f53
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140003f40
jmp 0x140004075
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x140004075
mov ecx, dword [rbx + 0x50]
test ecx, ecx
je 0x140004036
cmp ecx, 1
jne 0x140004075
lea rdx, [rbx + 0x58]
mov dword [rbx + 0x50], 2
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCopy_void____ptr64__void_const____ptr64_]
xorps xmm0, xmm0
lea rax, vtable.boost::asio::multiple_exceptions.0
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCopy_void____ptr64__void_const____ptr64_]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_]
xorps xmm0, xmm0
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x68], xmm0
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCreate_void____ptr64_]
lea r8, [0x1400281a8]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCopyException_void____ptr64__void_const____ptr64__void_const____ptr64_]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCopy_void____ptr64__void_const____ptr64_]
lea rcx, [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_]
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_]
lea rax, vtable.std::exception.0
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x40], rax
call qword [sym.imp.VCRUNTIME140.dll___std_exception_destroy]
lea rdx, [rsp + 0x30]
lea rcx, [rbx + 0x58]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrAssign_void____ptr64__void_const____ptr64_]
lea rcx, [rsp + 0x30]
jmp 0x14000406f
xorps xmm0, xmm0
mov dword [rbx + 0x50], 1
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x68], xmm0
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCreate_void____ptr64_]
lea rcx, [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCurrentException_void____ptr64_]
lea rcx, [rbx + 0x58]
lea rdx, [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrAssign_void____ptr64__void_const____ptr64_]
lea rcx, [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140017fd0
add rsp, 0x80
pop rbx
ret
Function at 0x140004990
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rsi
push rdi
push r12
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14002d010]
xor rax, rsp
mov qword [rbp - 0x18], rax
xor r12d, r12d
mov r15, r9
mov rsi, rdx
mov rdi, rcx
cmp rcx, 0xffffffffffffffff
je 0x140004b75
movzx eax, byte [rdx]
mov qword [rsp + 0xc0], rbx
test al, 8
je 0x140004a08
or al, 8
mov dword [rbp - 0x20], r12d
mov byte [rdx], al
lea r9, [rbp - 0x20]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x80
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
lea rcx, [rbp - 0x38]
setne dl
call fcn.1400048d0
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
mov rcx, r15
mov ebx, eax
setne dl
call fcn.1400048d0
test ebx, ebx
je 0x140004b71
mov qword [rsp + 0x78], r13
movabs rcx, 0x4d54ee85da812030
mov qword [rsp + 0x70], r14
lea r13, [0x14002d080]
mov r14, qword [0x14002d088]
add rcx, r14
mov dword [rbp - 0x4c], r12d
cmp rcx, 1
jbe 0x140004a72
mov rax, qword [0x14002d080]
mov edx, 0x2733
mov rcx, r13
call qword [rax + 0x30]
mov r14, qword [0x14002d088]
jmp 0x140004a74
mov al, 1
movzx eax, al
lea rdx, [rbp - 0x38]
add rax, 2
mov dword [rbp - 0x50], 0x2733
mov qword [rbp - 0x40], rax
mov rcx, r15
movsd xmm1, qword [rbp - 0x40]
mov qword [rbp - 0x48], r13
movups xmm0, xmmword [rbp - 0x50]
movsd qword [rbp - 0x28], xmm1
movups xmmword [rbp - 0x38], xmm0
call fcn.140002100
test al, al
jne 0x140004b11
movabs rax, 0x4d54ee85da812030
mov dword [rbp - 0x4c], r12d
add rax, r14
cmp rax, 1
jbe 0x140004ad7
mov rax, qword [0x14002d080]
mov edx, 0x4d5
mov rcx, r13
call qword [rax + 0x30]
jmp 0x140004ad9
mov al, 1
movzx eax, al
lea rdx, [rbp - 0x38]
add rax, 2
mov dword [rbp - 0x50], 0x4d5
mov qword [rbp - 0x40], rax
mov rcx, r15
movsd xmm1, qword [rbp - 0x40]
mov qword [rbp - 0x48], r13
movups xmm0, xmmword [rbp - 0x50]
movsd qword [rbp - 0x28], xmm1
movups xmmword [rbp - 0x38], xmm0
call fcn.140002100
test al, al
je 0x140004b42
lea r8, [rbp - 0x20]
mov dword [rbp - 0x20], r12d
mov edx, 0x8004667e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [rsi], 0xfc
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
mov rcx, r15
mov ebx, eax
setne dl
call fcn.1400048d0
mov r13, qword [rsp + 0x78]
mov eax, ebx
mov r14, qword [rsp + 0x70]
mov rbx, qword [rsp + 0xc0]
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.140017fd0
add rsp, 0x80
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, ebx
jmp 0x140004b4e
mov eax, r12d
jmp 0x140004b56
Function at 0x140004b80
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14002d010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, qword [rbp + 0x50]
lea r9, [rbp - 0x18]
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov dword [rbp - 0x18], r15d
lea r8d, [r15 + 1]
mov dword [rsp + 0x20], r15d
call qword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rdx, qword [0x14002d088]
lea r14, [0x14002d080]
movabs r12, 0x4d54ee85da812030
mov dword [rbp - 0x2c], r15d
add rdx, r12
mov edi, eax
cmp rdx, 1
jbe 0x140004c10
mov r8, qword [0x14002d080]
mov edx, eax
mov rcx, r14
call qword [r8 + 0x30]
jmp 0x140004c15
test edi, edi
setne al
movzx eax, al
movabs r10, 0x4800144005b3
add rax, 2
mov dword [rbp - 0x30], edi
mov qword [rbp - 0x28], r14
movups xmm0, xmmword [rbp - 0x30]
mov qword [rbp - 0x20], rax
movsd xmm1, qword [rbp - 0x20]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
mov r9, qword [rbx + 0x10]
cmp r9, 1
je 0x140004c53
mov eax, dword [rbx]
mov r8d, eax
jmp 0x140004c83
mov rcx, qword [rbx + 8]
mov rax, r10
mov r8d, dword [rbx]
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
imul eax, ecx, 0x3e8
add eax, r8d
cmp eax, 0x40
jne 0x140004cc2
mov rcx, qword [0x14002d088]
add rcx, r12
mov dword [rbp - 0x2c], r15d
cmp rcx, 1
jbe 0x140004cb7
mov rax, qword [0x14002d080]
mov edx, 0x2746
mov rcx, r14
call qword [rax + 0x30]
mov dword [rbp - 0x30], 0x2746
jmp 0x140004d2f
mov al, 1
mov dword [rbp - 0x30], 0x2746
jmp 0x140004d2f
cmp r9, 1
jne 0x140004cf5
mov rcx, qword [rbx + 8]
mov rax, r10
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
imul eax, ecx, 0x3e8
add r8d, eax
cmp r8d, 0x4d2
jne 0x140004d4f
mov rcx, qword [0x14002d088]
add rcx, r12
mov dword [rbp - 0x2c], r15d
cmp rcx, 1
jbe 0x140004d26
mov rax, qword [0x14002d080]
mov edx, 0x274d
mov rcx, r14
call qword [rax + 0x30]
jmp 0x140004d28
mov al, 1
mov dword [rbp - 0x30], 0x274d
movzx eax, al
mov qword [rbp - 0x28], r14
add rax, 2
movups xmm0, xmmword [rbp - 0x30]
mov qword [rbp - 0x20], rax
movsd xmm1, qword [rbp - 0x20]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
test esi, esi
je 0x140004d5a
mov eax, 0xffffffff
jmp 0x140004d71
mov eax, dword [rbp - 0x18]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbp - 0x20], r15
movsd xmm0, qword [rbp - 0x20]
movsd qword [rbx + 0x10], xmm0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140017fd0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140005ba0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x200
mov rax, qword [0x14002d010]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
movzx ebx, dl
mov rdi, rcx
mov eax, 1
lock xadd dword [0x14002f678], eax
inc eax
cmp eax, 1
jne 0x140005bed
lea ecx, [rax + 1]
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x14002f67c], eax
test bl, bl
je 0x140005c91
xor ebx, ebx
lock xadd dword [0x14002f67c], ebx
test ebx, ebx
je 0x140005c91
movabs rcx, 0x4d54ee85da812030
mov qword [rsp + 0x210], rsi
add rcx, qword [0x14002d088]
lea rsi, [0x14002d080]
mov dword [rsp + 0x3c], 0
cmp rcx, 1
jbe 0x140005c46
mov rax, qword [0x14002d080]
mov edx, ebx
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x140005c48
mov al, 1
lea rcx, str.C:_boost_1_82_0_boost_asiodetailimplwinsock_init.ipp
movzx eax, al
add rax, 2
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x40], rsi
lea rcx, str.throw_on_error
mov rsi, qword [rsp + 0x210]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], 0x48
mov dword [rsp + 0x34], 0x1a
test al, 1
jne 0x140005cb5
mov rax, rdi
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.140017fd0
mov rbx, qword [rsp + 0x218]
add rsp, 0x200
pop rdi
ret
lea r8, [rsp + 0x20]
lea rdx, str.winsock
lea rcx, [rsp + 0x38]
call fcn.140002b90
int3
Function at 0x140007400
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xd0
mov rax, qword [0x14002d010]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor edi, edi
mov qword [rsp + 0x30], rdi
mov rbx, qword [rcx + 0x18]
mov eax, edi
lock xadd dword [rbx + 0x30], eax
test eax, eax
jne 0x14000744a
mov rcx, rbx
call fcn.140003de0
jmp 0x140007539
mov dword [rsp + 0xa0], edi
lea rcx, [rsp + 0xa8]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCreate_void____ptr64_]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
xor eax, eax
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rax
lea rax, [rbx + 0x28]
test rbx, rbx
cmove rax, rdi
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov ecx, dword [0x14002f944]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x38]
mov ecx, dword [0x14002f944]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.140004180
test rax, rax
je 0x1400074f8
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.140004180
test rax, rax
jne 0x1400074e1
mov rdx, qword [rsp + 0x48]
mov ecx, dword [0x14002f944]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rbx, [rsp + 0x50]
mov edi, 0xa
mov rcx, qword [rbx]
test rcx, rcx
je 0x140007521
call fcn.14001827c
add rbx, 8
sub rdi, 1
jne 0x140007514
lea rcx, [rsp + 0xa8]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140017fd0
mov rbx, qword [rsp + 0xe8]
add rsp, 0xd0
pop rdi
ret

Function at 0x140008670
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x14000869f
mov rax, qword [rax + 0x38]
test rax, rax
je 0x140008697
xor edx, edx
mov rcx, rax
call qword [rax]
nop
mov qword [rbx + 0x10], 0
mov rdi, qword [rbx + 8]
test rdi, rdi
je 0x1400086e8
mov ecx, dword [0x14002f944]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400086d8
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400086d8
xor ecx, ecx
xor eax, eax
cmp qword [rdx + rax*8], 0
je 0x1400086f3
inc ecx
inc rax
cmp rax, 2
jl 0x1400086c6
mov rcx, rdi
call fcn.14001827c
mov qword [rbx + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rdi + 0x48]
mov byte [rdi], al
movsxd rax, ecx
mov qword [rdx + rax*8], rdi
mov qword [rbx + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140008f30
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x40
mov dword [rsp + 0x30], 0x202f3e27
mov dword [rsp + 0x34], 0x3c2b6021
mov word [rsp + 0x38], 0x3d
mov byte [rsp + 0x3a], 1
xor ebx, ebx
mov ecx, ebx
nop word [rax + rax]
lea eax, [rcx + 0x49]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x140008f60
mov byte [rsp + 0x3a], bl
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
mov dword [rsp + 0x20], 0x20083e07
mov dword [rsp + 0x24], 0x2a3d22
mov byte [rsp + 0x28], 1
nop word [rax + rax]
lea eax, [rbx + 0x49]
xor byte [rsp + rbx + 0x20], al
inc rbx
cmp rbx, 7
jb 0x140008fa0
mov byte [rsp + 0x28], 0
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
mov ecx, 0x99999999
call rax
nop
xor eax, eax
add rsp, 0x40
pop rbx
ret

Function at 0x140009050
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14002d010]
xor rax, rsp
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x58], 0
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x2c]
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140009118
movabs rax, 0xc3c3c3c3c3c3c3c3
mov byte [rbx], al
mov edx, dword [rsp + 0x2c]
lea r9, [rsp + 0x58]
mov r8d, 0x140
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140009118
call rbx
nop
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140017fd0
add rsp, 0x70
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140017fd0
add rsp, 0x70
pop rbx
ret
Function at 0x140009130
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xfa0]
mov eax, 0x10a0
call fcn.14001be30
sub rsp, rax
mov rax, qword [0x14002d010]
xor rax, rsp
mov qword [rbp + 0xf90], rax
xor edi, edi
mov dword [rsp + 0x60], 0x30
xorps xmm0, xmm0
mov qword [rsp + 0x68], rdi
xor edx, edx
mov dword [rsp + 0x78], edi
mov r8d, 0x1000
mov qword [rsp + 0x70], rdi
lea rcx, [rbp - 0x70]
movdqu xmmword [rbp - 0x80], xmm0
call sub.VCRUNTIME140.dll_memset
mov ecx, edi
mov dword [rsp + 0x30], 0x202f3e27
mov dword [rsp + 0x34], 0x3c2b6021
mov word [rsp + 0x38], 0x3d
mov byte [rsp + 0x3a], 1
lea eax, [rcx + 0x49]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x1400091b0
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x3a], dil
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
movdqa xmm0, xmmword [0x140021e30]
mov rdx, rdi
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x2f393c
mov byte [rsp + 0x54], 1
nop
lea ecx, [rdx + 0x49]
xor byte [rsp + rdx + 0x40], cl
inc rdx
cmp rdx, 0x13
jb 0x1400091f0
lea rdx, [rsp + 0x40]
mov byte [rsp + 0x54], dil
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rbx, rax
lea rcx, [rsp + 0x58]
mov edx, 0x1f000f
call rbx
test rbx, rbx
je 0x14000930b
mov dword [rsp + 0x30], 0x202f3e27
mov rcx, rdi
mov dword [rsp + 0x34], 0x3c2b6021
mov word [rsp + 0x38], 0x3d
mov byte [rsp + 0x3a], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x49]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x140009260
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x3a], dil
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [rsp + 0x40], 0x391a3e07
mov rcx, rdi
mov r8, rax
mov dword [rsp + 0x44], 0x1f363c28
mov dword [rsp + 0x48], 0x37363833
mov word [rsp + 0x4c], 0x21
mov byte [rsp + 0x4e], 1
nop word [rax + rax]
lea eax, [rcx + 0x49]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0xd
jb 0x1400092b0
lea rdx, [rsp + 0x40]
mov byte [rsp + 0x4e], dil
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x58]
lea r8, [rbp - 0x70]
mov r9d, 0x1000
mov qword [rsp + 0x20], rdi
mov edx, 2
call rax
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
js 0x14000930b
cmp dword [rbp - 0x5c], edi
jne 0x14000930b
mov eax, 1
jmp 0x14000930d
xor eax, eax
mov rcx, qword [rbp + 0xf90]
xor rcx, rsp
call fcn.140017fd0
lea r11, [rsp + 0x10a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140009340
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov dword [rsp + 0x20], 0x28252b1b
mov dword [rsp + 0x24], 0x3e6f2322
mov dword [rsp + 0x28], 0x363f30
mov byte [rsp + 0x2c], 1
xor eax, eax
nop word [rax + rax]
lea ecx, [rax + 0x49]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp rax, 0xb
jb 0x140009370
mov byte [rsp + 0x2c], 0
lea r8, [rsp + 0x20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rbx, rax
mov edx, 2
mov r8d, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x14000dad0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x31], 0
je 0x14000daf3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x49]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x30
jb 0x14000dae0
mov byte [rcx + 0x31], 0
mov rax, rcx
ret

Function at 0x14000db00
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 6], 0
je 0x14000db23
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x49]
xor byte [rax + rcx], dl
inc rax
cmp rax, 5
jb 0x14000db10
mov byte [rcx + 6], 0
mov rax, rcx
ret

Function at 0x14000df00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x14000df37
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x14000df58
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000df5a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14000dfb3
test ecx, ecx
jle 0x14000df93
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14000dfb3
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000dfb3
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 + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14000dfe0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14000e002
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14000e018
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 rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000e034
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000e036
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x14000e070
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
sub rbx, rdi
add r14, rdi
mov r8, rbx
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000e117
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x14000e0ab
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x14000e0f1
nop word [rax + rax]
mov r9, qword [rsi + 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 0x14000e130
cmp rbx, rax
ja 0x14000e0c0
mov r8, rdi
test rdi, rdi
je 0x14000e117
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, rdi
sub r8, rax
sub rbp, r8
mov rdi, qword [rsp + 0x20]
mov rax, rbp
mov rbx, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rbx
jmp 0x14000e11a