joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003680
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140003753
cmp byte [rcx + 0x71], 0
je 0x140003753
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000374f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140003714
sub eax, 1
je 0x140003718
cmp eax, 2
jne 0x14000374f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140004360
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140003746
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000374f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400036fc
xor al, al
jmp 0x1400036fc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140004360
add rsp, 0x60
pop rbx
ret

Function at 0x140004ce0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004d2a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004d2a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004d2a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004d2a
cmp dword [rcx + 0x84], 0xe
jbe 0x140004d2a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004d2c
xor al, al
add rsp, 0x28
ret
Function at 0x140004ce0
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 case.default.0x140004d10
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 0x140004d38
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140004d3a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140004d93
test ecx, ecx
jle 0x140004d73
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 0x140004d93
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140004d93
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
pop rsp
and al, 8
push rdi
sub rsp, 0x20
lea rax, [0x1400362e0]
mov rdi, rcx
mov qword [rcx], rax
mov ebx, edx
add rcx, 8
call qword [fcn.140036138]
test bl, 1
je 0x140031765
mov edx, 0x18
mov rcx, rdi
call fcn.14003473c
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x140004dc0
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 0x140004de2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140004df1
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 0x140004e14
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140004e16
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x140004e50
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 0x140004ef7
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x140004e8b
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 0x140004ed1
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 0x140004f10
cmp rbx, rax
ja 0x140004ea0
mov r8, rdi
test rdi, rdi
je 0x140004ef7
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 0x140004efa
add byte [rdi], cl
push rdi
ror byte [rax - 0x73], 0x53
or byte [rax - 0x77], cl
or ecx, dword [rax - 0x73]
or byte [rdi], cl
adc dword [rdx], eax
call qword [fcn.140036130]
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140001458
Capabilities:
Encode data using xor

Disassembly:
xor r11d, r11d
mov word [rsp + 0x10], r8w
movsxd r10, edx
mov r9, rcx
movzx r8d, r11w
test edx, edx
jle 0x14000149f
lea edx, [r11 + 1]
mov cl, byte [r9]
cmp dx, r8w
mov eax, r11d
cmovne ax, r8w
add cl, 9
movzx r8d, ax
mov al, byte [rsp + r8*2 + 0x10]
add r8w, dx
xor al, cl
mov byte [r9], al
add r9, rdx
sub r10, rdx
jne 0x140001473
ret

Function at 0x140001d98
Capabilities:
Capture screenshot

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x50
mov rsi, rcx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
xor ebx, ebx
lea r8, [0x140000000]
mov rdi, rax
mov eax, 0x30c30c31
xor ebp, ebp
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
movsxd r14, edx
mov eax, 0x30c30c31
imul ebp
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cdqe
lea rcx, [rax + rax*2]
lea rax, [r14 + rcx*4]
mov rcx, rdi
mov eax, dword [r8 + rax*4 + 0x1503ed0]
dec eax
movsxd rdx, eax
mov rdx, qword [r8 + rdx*8 + 0x1505140]
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
lea r8d, [rbx + 0x10]
and dword [rsp + 0x38], 0
lea edx, [rbp + 0x10]
and dword [rsp + 0x30], 0
mov r9d, 0x15
mov qword [rsp + 0x28], rdi
mov rcx, rsi
mov dword [rsp + 0x20], 0x15
call qword [sym.imp.GDI32.dll_BitBlt]
add ebp, 0x15
lea r8, [0x140000000]
cmp ebp, 0xfc
jl 0x140001ddc
add ebx, 0x15
lea r8, [0x140000000]
cmp ebx, 0xfc
jl case.default.0x140001e8f
mov rcx, rdi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
jmp qword [sym.imp.GDI32.dll_DeleteDC]
invalid
invalid
xlatb
wait
jp 0x1400229dc
invalid
movabs eax, dword [0x1e109e1e1c74a419]
je 0x14002297f
stosd dword [rdi], eax
mov dl, 0x1e
invalid
or ebx, esp
ffree st(4)
invalid
stosd dword [rdi], eax
mov dl, 0x1e
invalid

Function at 0x140002cac
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1415035e0]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.140004830
mov r9d, 1
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 0x22]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, str.ckq
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rsp + 0x20]
call fcn.140002d60
mov edx, 0x1dba00
lea rcx, section..data
call fcn.140002e40
mov rbx, rax
test rax, rax
je 0x140002d43
lea rdx, [0x141056074]
mov rcx, rax
call fcn.1400032b8
test rax, rax
je 0x140002d3b
call rax
mov rcx, rbx
call fcn.140002de4
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140003440
add rsp, 0x240
pop rbx
ret
Function at 0x140002d60
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
xor r9d, r9d
mov qword [rax - 0x18], rbp
mov edx, 0x40000000
mov dword [rax - 0x20], ebp
mov dword [rax - 0x28], 2
lea esi, [rbp + 1]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], rbp
mov rcx, rax
lea rdx, [0x1401f1a00]
mov r8d, 0xe64672
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
movzx ebx, bpl
mov rcx, rdi
test eax, eax
cmovne ebx, esi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x60]
mov al, bl
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140005cec
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140005ac0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005ac0
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005ac0
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005ac0
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005ac0
cmp dword [rcx + 0x84], 0xe
jbe 0x140005ac0
cmp dword [rcx + 0xf8], esi
je 0x140005ac0
mov ecx, r14d
call fcn.140005c08
mov ecx, 2
call fcn.1400087d0
nop
cmp byte [0x141505ad8], 0
jne 0x140005b8a
mov r15d, 1
mov eax, r15d
xchg dword [0x141505acc], eax
test ebx, ebx
jne 0x140005b33
mov rdi, qword [0x1415035e0]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x141505ad0]
cmp rcx, rax
je 0x140005b2a
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140004aa4]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x141505ae8]
jmp 0x140005b3f
cmp ebx, r15d
jne 0x140005b45
lea rcx, [0x141505b00]
call fcn.1400061fc
nop
test ebx, ebx
jne 0x140005b5c
lea rdx, [0x14000d420]
lea rcx, [0x14000d400]
call fcn.140005980
lea rdx, [0x14000d430]
lea rcx, [0x14000d428]
call fcn.140005980
movzx eax, byte [0x141505ad8]
test esi, esi
cmove eax, r15d
mov byte [0x141505ad8], al
jmp 0x140005b8a
mov ecx, 2
call fcn.140008824
test esi, esi
jne 0x140005ba1
mov ecx, r14d
call fcn.140005bbc
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140005a50
Function at 0x141694414
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14169441e
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x141694447
pop rbp
sub rbp, 0x33
sub rbp, 0x1694414
sub rsp, 0x20
jmp 0x141694466
mov rax, 0x1694414
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0xffffffffe5cfa31a
xor byte [rax], dl
inc rax
dec rcx
jne 0x141694485
jmp 0x14169449c
push rdx
xchg ebx, eax
xchg ecx, eax
xchg ebx, eax
sbb bl, byte es:[rdx]
sbb dl, byte [rdx - 0x65]
fist dword [rdx]
sbb ebx, dword [rdx]
sbb dl, byte [rdx + 0x1b]
push rdx
fstp st(2)
adc bl, byte [rdx]
sbb bl, byte [rdx]
push rdx
fstp st(0)
xor bl, byte [rdx]
sbb bl, byte [rdx]
push rdx
in eax, dx
clc
push rdx
sbb ebx, ebx
xchg ecx, eax
wait
invalid
Function at 0x1400035e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x300
mov rbx, rcx
xor edi, edi
lea rcx, [rsp + 0x40]
call fcn.140005870
nop
mov r8, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140003612
mov r8, qword [rbx]
mov r9, qword [rbx + 0x10]
add r9, r8
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140006910
nop
lea rcx, [rsp + 0x40]
call fcn.140005780
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140003670
mov dword [rsp + 0xc0], 0x238
lea rdx, [rsp + 0xc0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1400036ba
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x14000377b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003776
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400037e9
jmp 0x140003776
mov rbp, qword [rsp + 0x38]
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x20]
nop dword [rax]
lea rcx, [rsp + 0xec]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400036e0
lea r8, [rsp + 0x20]
cmp rbp, 7
cmova r8, rbx
cmp r14, rax
jne 0x140003798
mov rdx, r14
lea rcx, [rsp + 0xec]
test r14, r14
je 0x140003734
lea rax, [rsp + 0xec]
sub r8, rax
nop dword [rax + rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140003798
add rcx, 2
sub rdx, 1
jne 0x140003720
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rsp + 0xc8]
cmp rbp, 7
jbe 0x14000377b
lea rdx, [rbp*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140003773
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400037e9
mov rcx, rbx
call fcn.140069f70
test edi, edi
setne al
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
lea rdx, [rsp + 0xc0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400036d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rbp, 7
jbe 0x14000377b
lea rdx, [rbp*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140003773
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003773
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140005190
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 4], 0
je 0x1400051b3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 1]
xor byte [rax + rcx], dl
inc rax
cmp rax, 3
jb 0x1400051a0
mov byte [rcx + 4], 0
mov rax, rcx
ret

Function at 0x1400072a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rbx, rdx
mov ecx, Ordinal_26
call fcn.140069c1c
mov r14, rax
mov qword [rsp + 0xc0], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct_std::atomic_bool__.0
mov qword [r14], rax
lea rcx, [r14 + 0x10]
mov byte [rcx], 1
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], r14
lea rcx, [0x1400892f8]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140007316
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [0x140089344]
cmp eax, 0x7fffffff
jne 0x140007337
dec eax
mov dword [0x140089344], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rsi, qword [0x1400892b8]
sub rsi, qword [0x1400892b0]
sar rsi, 4
lea rcx, [0x1400892f8]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea rax, [rsp + 0x30]
mov qword [rsp + 0xd0], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
lock inc dword [r14 + 8]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r14
mov ebx, dword [rbx]
lea rbp, [0x140002dd0]
mov qword [rsp + 0x60], rbp
lock inc dword [r14 + 8]
mov rdi, qword [rsp + 0x50]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], rsi
mov dword [rsp + 0x80], ebx
mov ecx, Ordinal_41
call fcn.140069c1c
mov qword [rax], rbp
mov qword [rax + 8], rdi
mov qword [rax + 0x10], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rax + 0x18], rsi
mov dword [rax + 0x20], ebx
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140008ed0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140007465
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
call fcn.140002870
nop
cmp dword [rsp + 0x48], 0
je 0x140007429
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x140007457
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
lock xadd dword [r14 + 0xc], ebx
cmp ebx, 1
jne 0x140007457
mov rax, qword [r14]
mov rcx, r14
call qword [rax + reloc.WS2_32.dll_htonl]
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rsp + 0x48], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140007480
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rbp, rcx
mov ecx, Ordinal_26
call fcn.140069c1c
mov rsi, rax
mov qword [rsp + 0xb8], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct_std::atomic_bool__.0
mov qword [rsi], rax
lea rcx, [rsi + 0x10]
mov byte [rcx], 1
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rsi
lea rcx, [0x1400892f8]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400074f3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [0x140089344]
cmp eax, 0x7fffffff
jne 0x140007514
dec eax
mov dword [0x140089344], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rdi, qword [0x1400892b8]
sub rdi, qword [0x1400892b0]
sar rdi, 4
lea rcx, [0x1400892f8]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea rax, [rsp + 0x30]
mov qword [rsp + 0xb8], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
lock inc dword [rsi + 8]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x60], rbp
lock inc dword [rsi + 8]
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov ecx, Ordinal_41
call fcn.140069c1c
mov qword [rax], rbp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rax + 0x18], rdi
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140008f70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140007630
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
call fcn.140002870
nop
cmp dword [rsp + 0x48], 0
je 0x1400075f1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14000761d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
lock xadd dword [rsi + 0xc], ebx
cmp ebx, 1
jne 0x14000761d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x48], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140009540
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x140009574
mov eax, esi
lea ecx, [rax + 0x2a]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x140009560
mov byte [r8 + 7], sil
lea rax, [r8 + 6]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r9, rax
je 0x1400095a9
mov r8d, 6
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.140006fd0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400095b7
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400157e0
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14000962e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009629
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009629
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069f70
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x140009640
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x140009674
mov ecx, esi
lea eax, [rcx + 0x2a]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x140009660
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x1400096a9
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.140006fd0
nop
cmp byte [rbx + 0xa], 0
je 0x1400096d3
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x2a]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 9
jb 0x1400096c0
mov byte [rbx + 0xa], 0
lea rax, [rbx + 9]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x140009708
mov r8d, 9
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140006fd0
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.14000f740
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140009761
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000975b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000975b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069f70
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400097a1
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000979c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000979c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069f70
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret