joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b390
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push r14
sub rsp, 0x60
mov rcx, qword [rcx + 0x10]
mov rsi, r9
mov r14d, r8d
mov rbp, rdx
test rcx, rcx
je 0x14000b473
test rdx, rdx
je 0x14000b473
test r9, r9
je 0x14000b473
mov qword [r11 + 0x10], rbx
xor ebx, ebx
mov qword [r11 - 0x18], rcx
cmp qword [rsp + 0x98], rbx
je 0x14000b434
mov rdx, qword [rsp + 0x98]
lea rax, [r11 + 8]
xor r9d, r9d
mov qword [r11 - 0x28], rax
lea rax, [r11 - 0x18]
xor r8d, r8d
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x38], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x14000b42f
xor eax, eax
mov rbx, qword [rsp + 0x78]
lea r11, [rsp + 0x60]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov rcx, qword [rsp + 0x50]
mov eax, dword [rsp + 0x90]
mov r9d, r14d
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
cmp qword [rsp + 0x98], rbx
je 0x14000b46a
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete bl
mov eax, ebx
jmp 0x14000b417
lea r11, [rsp + 0x60]
xor eax, eax
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
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 [0x140092010]
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.14006c790
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, [0x140070630]
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, [0x140070630]
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, [0x1400702a4]
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 [0x140093060]
test rax, rax
je 0x140013ec6
inc dword [rax + 0xec]
mov rdx, qword [0x140093050]
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 [0x140093060]
test rax, rax
je 0x140013f11
dec dword [rax + 0xec]
mov rdx, qword [0x140093050]
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, [0x140070630]
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 [0x140093060]
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 [0x140092010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140093060]
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 [0x140086788]
mulss xmm1, dword [0x140086768]
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 [0x1400866c4]
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, [0x140070630]
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.14006c790
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, [0x140093058]
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 [0x140093060]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140027cb3
mov qword [rsp], rbx
lea rbx, [0x140070630]
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 0x14004d870
Capabilities:
Contain obfuscated stackstrings
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 [0x140092010]
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 [0x140096898], eax
jle 0x14004d969
lea rcx, [0x140096898]
call fcn.14006ca80
cmp dword [0x140096898], 0xffffffff
jne 0x14004d969
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.140054910
nop
lea r8, [rbp - 0x11]
mov rdx, qword [0x140093078]
mov rcx, r15
call fcn.14004e500
mov qword [0x140096840], rax
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x14004d95d
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d957
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d957
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c880
nop
lea rcx, [0x140096898]
call fcn.14006ca20
mov r8, qword [0x140096840]
test r8, r8
jne 0x14004da4b
mov dword [rbp - 0x71], 0x4ec34eba
mov dword [rbp - 0x6d], 0x4ec44ebe
mov dword [rbp - 0x69], 0x4e874ea3
mov dword [rbp - 0x65], 0x4e844e8e
mov dword [rbp - 0x61], 0x4e8e4e8c
mov dword [rbp - 0x5d], 0x4e984ecb
mov dword [rbp - 0x59], 0x4ece4e82
mov dword [rbp - 0x55], 0x4e994e89
mov dword [rbp - 0x51], 0x4e964e9f
mov dword [rbp - 0x4d], 0x4eb94ed3
mov dword [rbp - 0x49], 0x4eb74e98
mov dword [rbp - 0x45], 0x4e974e9b
mov dword [rbp - 0x41], 0x4e9b4e9a
mov dword [rbp - 0x3d], 0x4e994e8f
mov dword [rbp - 0x39], 0x4e9f4ead
mov dword [rbp - 0x35], 0x4f654e98
mov dword [rbp - 0x31], 0x4f444f72
mov dword [rbp - 0x2d], 0x4f764f6c
mov dword [rbp - 0x29], 0x4f624f48
mov dword [rbp - 0x25], 0x4f6b
mov byte [rbp - 0x21], 1
mov ecx, 0x4ee1
nop
lea eax, [rcx + r14]
xor word [rbp + r14*2 - 0x71], ax
inc r14
cmp r14, 0x27
jb 0x14004da10
mov byte [rbp - 0x21], 0
lea rdx, [rbp - 0x71]
mov rcx, qword [0x14006f250]
call fcn.140054ac0
lea rdx, [0x140054ca0]
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 0x14004da7e
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.140054d00
mov rcx, qword [rbp + 0xf]
test al, al
cmove rcx, r14
mov rax, rcx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14006c790
add rsp, 0xd8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14004dcf0
Capabilities:
Contain obfuscated stackstrings
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 [0x140092010]
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 [0x1400968bc], eax
jle 0x14004dde0
lea rcx, [0x1400968bc]
call fcn.14006ca80
cmp dword [0x1400968bc], 0xffffffff
jne 0x14004dde0
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.140054910
nop
lea r8, [rbp + 0x17]
mov rdx, qword [0x140093078]
mov rcx, rdi
call fcn.14004e500
mov qword [0x140096880], rax
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x14004ddd4
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ddce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ddce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c880
nop
lea rcx, [0x1400968bc]
call fcn.14006ca20
mov r8, qword [0x140096880]
test r8, r8
jne 0x14004ded9
mov dword [rbp - 0x49], 0x4ec34eba
mov dword [rbp - 0x45], 0x4ec44ebe
mov dword [rbp - 0x41], 0x4e874ea3
mov dword [rbp - 0x3d], 0x4e844e8e
mov dword [rbp - 0x39], 0x4e8e4e8c
mov dword [rbp - 0x35], 0x4e984ecb
mov dword [rbp - 0x31], 0x4ece4e82
mov dword [rbp - 0x2d], 0x4e994e89
mov dword [rbp - 0x29], 0x4e964e9f
mov dword [rbp - 0x25], 0x4eb94ed3
mov dword [rbp - 0x21], 0x4ea64e98
mov dword [rbp - 0x1d], 0x4e974e85
mov dword [rbp - 0x19], 0x4e9f4e8d
mov dword [rbp - 0x15], 0x4e884e98
mov dword [rbp - 0x11], 0x4e9a4eb0
mov dword [rbp - 0xd], 0x4f534e93
mov dword [rbp - 9], 0x4f714f78
mov dword [rbp - 5], 0x4f614f77
mov dword [rbp - 1], 0x4f474f68
mov dword [rbp + 3], 0x4f6c4f63
mov dword [rbp + 7], 0x4f6f4f7b
mov dword [rbp + 0xb], 0x4f7f4f78
mov word [rbp + 0xf], bx
mov byte [rbp + 0x11], 1
mov ecx, 0x4ee1
nop word [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x49], ax
inc rbx
cmp rbx, 0x2c
jb 0x14004dea0
mov byte [rbp + 0x11], 0
lea rdx, [rbp - 0x49]
mov rcx, qword [0x14006f250]
call fcn.140054ac0
lea rdx, [0x140054ca0]
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 0x14004defb
mov dword [rsp + 0x20], 0x40
mov r9, rsi
lea rdx, [rbp + 0x37]
mov rcx, rdi
call fcn.140055a90
test al, al
je 0x14004ded5
cmp dword [rbp + 0x37], 0
setge al
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14006c790
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004df20
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 [0x140092010]
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 [0x140096828], eax
jle 0x14004e012
lea rcx, [0x140096828]
call fcn.14006ca80
cmp dword [0x140096828], 0xffffffff
jne 0x14004e012
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.140054910
nop
lea r8, [rbp + 7]
mov rdx, qword [0x140093078]
mov rcx, rdi
call fcn.14004e500
mov qword [0x1400968e8], rax
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14004e006
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e000
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e000
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c880
nop
lea rcx, [0x140096828]
call fcn.14006ca20
mov r8, qword [0x1400968e8]
test r8, r8
jne 0x14004e0e9
mov dword [rbp - 0x49], 0x4ec34eba
mov dword [rbp - 0x45], 0x4ec44ebe
mov dword [rbp - 0x41], 0x4e874ea3
mov dword [rbp - 0x3d], 0x4e844e8e
mov dword [rbp - 0x39], 0x4e8e4e8c
mov dword [rbp - 0x35], 0x4e984ecb
mov dword [rbp - 0x31], 0x4ece4e82
mov dword [rbp - 0x2d], 0x4e994e89
mov dword [rbp - 0x29], 0x4e964e9f
mov dword [rbp - 0x25], 0x4eb94ed3
mov dword [rbp - 0x21], 0x4ea34e98
mov dword [rbp - 0x1d], 0x4e954e99
mov dword [rbp - 0x19], 0x4e8a4e98
mov dword [rbp - 0x15], 0x4e934eb7
mov dword [rbp - 0x11], 0x4e954e9e
mov dword [rbp - 0xd], 0x4f644e9a
mov dword [rbp - 9], 0x4f634f51
mov dword [rbp - 5], 0x4f614f64
mov dword [rbp - 1], 0x4f76
mov byte [rbp + 3], 1
mov ecx, 0x4ee1
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x49], ax
inc rbx
cmp rbx, 0x25
jb 0x14004e0b0
mov byte [rbp + 3], 0
lea rdx, [rbp - 0x49]
mov rcx, qword [0x14006f250]
call fcn.140054ac0
lea rdx, [0x140054ca0]
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 0x14004e0fd
mov qword [rsp + 0x20], r14
mov r9, rsi
lea rdx, [rbp + 0x27]
mov rcx, rdi
call fcn.140056150
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14006c790
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14004e120
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 [0x140092010]
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 [0x140096800], eax
jle 0x14004e210
lea rcx, [0x140096800]
call fcn.14006ca80
cmp dword [0x140096800], 0xffffffff
jne 0x14004e210
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.140054910
nop
lea r8, [rbp + 0x17]
mov rdx, qword [0x140093078]
mov rcx, rdi
call fcn.14004e500
mov qword [0x1400968c0], rax
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x14004e204
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e1fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e1fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c880
nop
lea rcx, [0x140096800]
call fcn.14006ca20
mov r8, qword [0x1400968c0]
test r8, r8
jne 0x14004e2e9
mov dword [rbp - 0x39], 0x4ec34eba
mov dword [rbp - 0x35], 0x4ec44ebe
mov dword [rbp - 0x31], 0x4e874ea3
mov dword [rbp - 0x2d], 0x4e844e8e
mov dword [rbp - 0x29], 0x4e8e4e8c
mov dword [rbp - 0x25], 0x4e984ecb
mov dword [rbp - 0x21], 0x4ece4e82
mov dword [rbp - 0x1d], 0x4e994e89
mov dword [rbp - 0x19], 0x4e964e9f
mov dword [rbp - 0x15], 0x4eb94ed3
mov dword [rbp - 0x11], 0x4eb04e98
mov dword [rbp - 0xd], 0x4e9d4e85
mov dword [rbp - 9], 0x4eaa4e9c
mov dword [rbp - 5], 0x4e9b4e9a
mov dword [rbp - 1], 0x4e8d4e98
mov dword [rbp + 3], 0x4f724eb9
mov dword [rbp + 7], 0x4f6f4f6e
mov dword [rbp + 0xb], 0x4f604f4e
mov dword [rbp + 0xf], 0x4f69
mov byte [rbp + 0x13], 1
mov ecx, 0x4ee1
nop
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x39], ax
inc rbx
cmp rbx, 0x25
jb 0x14004e2b0
mov byte [rbp + 0x13], 0
lea rdx, [rbp - 0x39]
mov rcx, qword [0x14006f250]
call fcn.140054ac0
lea rdx, [0x140054ca0]
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 0x14004e2f8
mov r9, rsi
lea rdx, [rbp + 0x37]
mov rcx, rdi
call fcn.140056820
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14006c790
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004e320
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x14004e4d5
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor ebx, ebx
mov eax, dword [rdx + rcx]
cmp dword [0x1400968a0], eax
jle 0x14004e40b
lea rcx, [0x1400968a0]
call fcn.14006ca80
cmp dword [0x1400968a0], 0xffffffff
jne 0x14004e40b
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x37], rbx
mov qword [rbp + 0x3f], recv
mov byte [rbp + 0x27], bl
lea r8d, [rbx + 0xa]
lea rdx, str.ExFreePool
lea rcx, [rbp + 0x27]
call fcn.140054910
nop
lea r8, [rbp + 0x27]
mov rdx, qword [0x140093078]
mov rcx, rsi
call fcn.14004e500
mov qword [0x140096870], rax
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x14004e3ff
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e3f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e3f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c880
nop
lea rcx, [0x1400968a0]
call fcn.14006ca20
mov r8, qword [0x140096870]
test r8, r8
jne 0x14004e4d9
mov dword [rbp - 0x29], 0x4ec34eba
mov dword [rbp - 0x25], 0x4ec44ebe
mov dword [rbp - 0x21], 0x4e874ea3
mov dword [rbp - 0x1d], 0x4e844e8e
mov dword [rbp - 0x19], 0x4e8e4e8c
mov dword [rbp - 0x15], 0x4e984ecb
mov dword [rbp - 0x11], 0x4ece4e82
mov dword [rbp - 0xd], 0x4e994e89
mov dword [rbp - 9], 0x4e964e9f
mov dword [rbp - 5], 0x4eb14ed3
mov dword [rbp - 1], 0x4eb74e8d
mov dword [rbp + 3], 0x4e944e9b
mov dword [rbp + 7], 0x4e994e96
mov dword [rbp + 0xb], 0x4e884e9a
mov dword [rbp + 0xf], 0x4eae4e98
mov dword [rbp + 0x13], 0x4f6f4e90
mov dword [rbp + 0x17], 0x4f6d
mov byte [rbp + 0x1b], 1
mov ecx, 0x4ee1
nop dword [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x29], ax
inc rbx
cmp rbx, 0x21
jb 0x14004e4a0
mov byte [rbp + 0x1b], 0
lea rdx, [rbp - 0x29]
mov rcx, qword [0x14006f250]
call fcn.140054ac0
lea rdx, [0x140054ca0]
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 0x14004e4e6
mov r9, rdi
xor edx, edx
mov rcx, rsi
call fcn.140056ee0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret