joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400075b0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
test rdx, rdx
je 0x1400075d8
imul r8d, r8d, 0x91651
lea rcx, [rcx + 1]
add r8d, 0x654a6
mov eax, r8d
shr eax, 0x10
and al, 0xbe
xor byte [rcx - 1], al
sub rdx, 1
jne 0x1400075b5
ret

Function at 0x140007670
Capabilities:
Connect socket
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x140047f38]
mov esi, edx
mov rdx, rbx
mov ecx, 0x202
movzx edi, r8w
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1400076b0
xor al, al
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov edx, 1
mov qword [rsp + 0x30], rbp
mov ebp, 2
mov ecx, ebp
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbx + 0x1a8], rax
cmp rax, 0xffffffffffffffff
je 0x140007701
lea rdx, [rbx + 0x198]
mov word [rbx + 0x19a], di
lea r8d, [rbp + 0xe]
mov word [rdx], bp
mov rcx, rax
mov dword [rbx + 0x19c], esi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140007734
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rbx + 0x1a8]
mov dword [rbx + 0x1b0], eax
test rcx, rcx
je 0x14000772a
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rbx + 0x1a8], 0
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
jmp 0x140007736
mov al, 1
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000c9c0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x1400167c4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400165f0
Function at 0x140012050
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
mov dword [rsp + 0x28], r9d
xorps xmm0, xmm0
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x3c], eax
xor r9d, r9d
mov dword [rsp + 0x4c], eax
mov rbx, rcx
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x38], edx
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x40], r8
lea r8d, [r9 + 0x30]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x20], 0x7f244536
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x140012109
xor r9d, r9d
lea rdx, [rsp + 0x50]
mov rcx, rbx
lea r8d, [r9 + 0x30]
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 8
jb 0x140012109
cmp dword [rsp + 0x50], 0x7f244536
jne 0x140012109
cmp dword [rsp + 0x54], 3
jne 0x140012109
mov eax, dword [rsp + 0x58]
jmp 0x14001210b
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14006c910
add rsp, 0x90
pop rbx
ret

Function at 0x140013c30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140013c8d
lea rbx, [0x140071640]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140013c74
cmp r10, 2
jb 0x140013c74
cmp byte [r9], r8b
jne 0x140013c74
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140013c50
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140013ccf
lea rbx, [0x140071640]
cmp r8b, 0x23
jne 0x140013cb3
cmp byte [r9], r8b
jne 0x140013cb3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140013ca0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140013e10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140013e2a
mov qword [r8], 0
lea rdx, [0x1400712b4]
call fcn.140013ce0
mov rbx, rax
test rax, rax
jne 0x140013e4a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140013f35
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140013f35
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140013f35
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140013f35
cmp rdi, 0xffffffffffffffff
je 0x140013f35
mov rax, qword [0x140094060]
test rax, rax
je 0x140013ec6
inc dword [rax + 0xec]
mov rdx, qword [0x140094050]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x140013f35
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140013f22
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140094060]
test rax, rax
je 0x140013f11
dec dword [rax + 0xec]
mov rdx, qword [0x140094050]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x140013f3e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140013f30
mov qword [r14], rdi
mov rax, rsi
jmp 0x140013f40
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140016060
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x140071640]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x140094060]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3edc], ebx
jne 0x1400160f6
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.1400289a0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140022460
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140094060]
mov edi, ecx
cmp byte [rbx + 0x424d], 0
jne 0x1400224c1
cmp byte [rbx + 0x424e], 0
jne 0x1400224c1
movsx r9d, word [rbx + 0x5332]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140013ac0
test dil, 1
je 0x1400225e8
jmp 0x14002254a
movss xmm1, dword [rbx + 0x38b0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5332]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400877b8]
mulss xmm1, dword [0x140087798]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd94]
addss xmm1, dword [rbx + 0xd98]
mov qword [rbx + 0x3fc8], rax
mov dword [rbx + 0x3fb4], 1
movss dword [rbx + 0x3fc0], xmm0
movss dword [rbx + 0x3fc4], xmm1
movss xmm0, dword [rbx + 0x390c]
mulss xmm0, dword [0x1400876f4]
or dword [rbx + 0x3fb0], 0x41
movss dword [rbx + 0x4010], xmm0
call fcn.140013ac0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400225a0
lea r11, [0x140071640]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140022583
cmp byte [r8], r9b
jne 0x140022583
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140022570
not ecx
call fcn.14001b390
test rax, rax
je 0x1400225e8
cmp byte [rax + 0x96], 0
je 0x1400225e8
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5332]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5332]
call fcn.140013ac0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14001db60
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14006c910
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140027710
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400277b7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14002776a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140029680
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140014640
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140094058]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400277bf
mov rcx, rbx
call fcn.140014640
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140027c50
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140094060]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140027cb3
mov qword [rsp], rbx
lea rbx, [0x140071640]
nop dword [rax]
cmp r9b, 0x23
jne 0x140027c93
cmp byte [r8], r9b
jne 0x140027c93
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140027c80
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5390]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140027ce7
mov r10, qword [r10 + 0x5398]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140027cee
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140027cd4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14004d8c0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd8
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r15, rcx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor r14d, r14d
mov eax, dword [rdx + rcx]
cmp dword [0x140097898], eax
jle 0x14004d9b9
lea rcx, [0x140097898]
call fcn.14006cc00
cmp dword [0x140097898], 0xffffffff
jne 0x14004d9b9
mov qword [rbp - 0x11], r14
mov qword [rbp - 1], r14
mov qword [rbp + 7], recv
mov byte [rbp - 0x11], r14b
lea r8d, [r14 + 0x15]
lea rdx, str.MmAllocatePagesForMdl
lea rcx, [rbp - 0x11]
call fcn.140054980
nop
lea r8, [rbp - 0x11]
mov rdx, qword [0x140094078]
mov rcx, r15
call fcn.14004e550
mov qword [0x140097840], rax
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x14004d9ad
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d9a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d9a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ca00
nop
lea rcx, [0x140097898]
call fcn.14006cba0
mov r8, qword [0x140097840]
test r8, r8
jne 0x14004da9e
mov dword [rbp - 0x71], 0xc24dc230
mov dword [rbp - 0x6d], 0xc24ec230
mov dword [rbp - 0x69], 0xc211c229
mov dword [rbp - 0x65], 0xc21ec218
mov dword [rbp - 0x61], 0xc210c216
mov dword [rbp - 0x5d], 0xc202c255
mov dword [rbp - 0x59], 0xc258c218
mov dword [rbp - 0x55], 0xc213c21f
mov dword [rbp - 0x51], 0xc218c215
mov dword [rbp - 0x4d], 0xc233c25d
mov dword [rbp - 0x49], 0xc2c1c212
mov dword [rbp - 0x45], 0xc2edc2ed
mov dword [rbp - 0x41], 0xc2e5c2e0
mov dword [rbp - 0x3d], 0xc2e3c2f1
mov dword [rbp - 0x39], 0xc2e9c2d7
mov dword [rbp - 0x35], 0xc2efc2ee
mov dword [rbp - 0x31], 0xc2cac2f8
mov dword [rbp - 0x2d], 0xc2fcc2e2
mov dword [rbp - 0x29], 0xc2f4c2c2
mov dword [rbp - 0x25], 0xc2fd
mov byte [rbp - 0x21], 1
mov ecx, 0x3d95
nop
movzx eax, r14w
sub ax, cx
xor word [rbp + r14*2 - 0x71], ax
inc r14
cmp r14, 0x27
jb 0x14004da60
mov byte [rbp - 0x21], 0
lea rdx, [rbp - 0x71]
mov rcx, qword [0x140070250]
call fcn.140054b30
lea rdx, [0x140054d10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor eax, eax
jmp 0x14004dad1
mov qword [rbp + 0xf], r14
mov rax, qword [rbp + 0x7f]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
mov r9, rbx
lea rdx, [rbp + 0xf]
mov rcx, r15
call fcn.140054d70
mov rcx, qword [rbp + 0xf]
test al, al
cmove rcx, r14
mov rax, rcx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14006c910
add rsp, 0xd8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14004dd40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, rdx
mov rdi, rcx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor ebx, ebx
mov eax, dword [rdx + rcx]
cmp dword [0x1400978bc], eax
jle 0x14004de30
lea rcx, [0x1400978bc]
call fcn.14006cc00
cmp dword [0x1400978bc], 0xffffffff
jne 0x14004de30
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x2f], recv
mov byte [rbp + 0x17], bl
lea r8d, [rbx + 0x19]
lea rdx, str.MmProtectMdlSystemAddress
lea rcx, [rbp + 0x17]
call fcn.140054980
nop
lea r8, [rbp + 0x17]
mov rdx, qword [0x140094078]
mov rcx, rdi
call fcn.14004e550
mov qword [0x140097880], rax
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x14004de24
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004de1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004de1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ca00
nop
lea rcx, [0x1400978bc]
call fcn.14006cba0
mov r8, qword [0x140097880]
test r8, r8
jne 0x14004df2c
mov dword [rbp - 0x49], 0xc24dc230
mov dword [rbp - 0x45], 0xc24ec230
mov dword [rbp - 0x41], 0xc211c229
mov dword [rbp - 0x3d], 0xc21ec218
mov dword [rbp - 0x39], 0xc210c216
mov dword [rbp - 0x35], 0xc202c255
mov dword [rbp - 0x31], 0xc258c218
mov dword [rbp - 0x2d], 0xc213c21f
mov dword [rbp - 0x29], 0xc218c215
mov dword [rbp - 0x25], 0xc233c25d
mov dword [rbp - 0x21], 0xc2d0c212
mov dword [rbp - 0x1d], 0xc2edc2f3
mov dword [rbp - 0x19], 0xc2e1c2f7
mov dword [rbp - 0x15], 0xc2f2c2e6
mov dword [rbp - 0x11], 0xc2ecc2ca
mov dword [rbp - 0xd], 0xc2d9c2e5
mov dword [rbp - 9], 0xc2ffc2f2
mov dword [rbp - 5], 0xc2ebc2f9
mov dword [rbp - 1], 0xc2d1c2e2
mov dword [rbp + 3], 0xc2f6c2f5
mov dword [rbp + 7], 0xc2f1c2e1
mov dword [rbp + 0xb], 0xc2e5c2e6
mov word [rbp + 0xf], bx
mov byte [rbp + 0x11], 1
mov ecx, 0x3d95
nop word [rax + rax]
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x49], ax
inc rbx
cmp rbx, 0x2c
jb 0x14004def0
mov byte [rbp + 0x11], 0
lea rdx, [rbp - 0x49]
mov rcx, qword [0x140070250]
call fcn.140054b30
lea rdx, [0x140054d10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
jmp 0x14004df4e
mov dword [rsp + 0x20], 0x40
mov r9, rsi
lea rdx, [rbp + 0x37]
mov rcx, rdi
call fcn.140055b20
test al, al
je 0x14004df28
cmp dword [rbp + 0x37], 0
setge al
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14006c910
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004df70
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor ebx, ebx
mov eax, dword [rdx + rcx]
cmp dword [0x140097828], eax
jle 0x14004e062
lea rcx, [0x140097828]
call fcn.14006cc00
cmp dword [0x140097828], 0xffffffff
jne 0x14004e062
mov qword [rbp + 7], rbx
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x1f], recv
mov byte [rbp + 7], bl
lea r8d, [rbx + 0x12]
lea rdx, str.MmUnmapLockedPages
lea rcx, [rbp + 7]
call fcn.140054980
nop
lea r8, [rbp + 7]
mov rdx, qword [0x140094078]
mov rcx, rdi
call fcn.14004e550
mov qword [0x1400978e8], rax
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14004e056
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e050
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e050
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ca00
nop
lea rcx, [0x140097828]
call fcn.14006cba0
mov r8, qword [0x1400978e8]
test r8, r8
jne 0x14004e13c
mov dword [rbp - 0x49], 0xc24dc230
mov dword [rbp - 0x45], 0xc24ec230
mov dword [rbp - 0x41], 0xc211c229
mov dword [rbp - 0x3d], 0xc21ec218
mov dword [rbp - 0x39], 0xc210c216
mov dword [rbp - 0x35], 0xc202c255
mov dword [rbp - 0x31], 0xc258c218
mov dword [rbp - 0x2d], 0xc213c21f
mov dword [rbp - 0x29], 0xc218c215
mov dword [rbp - 0x25], 0xc233c25d
mov dword [rbp - 0x21], 0xc2d5c212
mov dword [rbp - 0x1d], 0xc2efc2ef
mov dword [rbp - 0x19], 0xc2f4c2e2
mov dword [rbp - 0x15], 0xc2e9c2c9
mov dword [rbp - 0x11], 0xc2e3c2e4
mov dword [rbp - 0xd], 0xc2eec2ec
mov dword [rbp - 9], 0xc2edc2db
mov dword [rbp - 5], 0xc2ebc2ea
mov dword [rbp - 1], 0xc2fc
mov byte [rbp + 3], 1
mov ecx, 0x3d95
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x49], ax
inc rbx
cmp rbx, 0x25
jb 0x14004e100
mov byte [rbp + 3], 0
lea rdx, [rbp - 0x49]
mov rcx, qword [0x140070250]
call fcn.140054b30
lea rdx, [0x140054d10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
jmp 0x14004e150
mov qword [rsp + 0x20], r14
mov r9, rsi
lea rdx, [rbp + 0x27]
mov rcx, rdi
call fcn.1400561f0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14006c910
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14004e170
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, rdx
mov rdi, rcx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor ebx, ebx
mov eax, dword [rdx + rcx]
cmp dword [0x140097800], eax
jle 0x14004e260
lea rcx, [0x140097800]
call fcn.14006cc00
cmp dword [0x140097800], 0xffffffff
jne 0x14004e260
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x2f], recv
mov byte [rbp + 0x17], bl
lea r8d, [rbx + 0x12]
lea rdx, str.MmFreePagesFromMdl
lea rcx, [rbp + 0x17]
call fcn.140054980
nop
lea r8, [rbp + 0x17]
mov rdx, qword [0x140094078]
mov rcx, rdi
call fcn.14004e550
mov qword [0x1400978c0], rax
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x14004e254
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e24e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e24e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ca00
nop
lea rcx, [0x140097800]
call fcn.14006cba0
mov r8, qword [0x1400978c0]
test r8, r8
jne 0x14004e33c
mov dword [rbp - 0x39], 0xc24dc230
mov dword [rbp - 0x35], 0xc24ec230
mov dword [rbp - 0x31], 0xc211c229
mov dword [rbp - 0x2d], 0xc21ec218
mov dword [rbp - 0x29], 0xc210c216
mov dword [rbp - 0x25], 0xc202c255
mov dword [rbp - 0x21], 0xc258c218
mov dword [rbp - 0x1d], 0xc213c21f
mov dword [rbp - 0x19], 0xc218c215
mov dword [rbp - 0x15], 0xc233c25d
mov dword [rbp - 0x11], 0xc2c6c212
mov dword [rbp - 0xd], 0xc2e7c2f3
mov dword [rbp - 9], 0xc2d4c2e6
mov dword [rbp - 5], 0xc2e1c2e4
mov dword [rbp - 1], 0xc2fbc2e2
mov dword [rbp + 3], 0xc2f8c2cf
mov dword [rbp + 7], 0xc2e1c2e4
mov dword [rbp + 0xb], 0xc2eac2c0
mov dword [rbp + 0xf], 0xc2e3
mov byte [rbp + 0x13], 1
mov ecx, 0x3d95
nop
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x39], ax
inc rbx
cmp rbx, 0x25
jb 0x14004e300
mov byte [rbp + 0x13], 0
lea rdx, [rbp - 0x39]
mov rcx, qword [0x140070250]
call fcn.140054b30
lea rdx, [0x140054d10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
jmp 0x14004e34b
mov r9, rsi
lea rdx, [rbp + 0x37]
mov rcx, rdi
call fcn.1400568d0
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14006c910
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret