joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000af50
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002d528]
test rcx, rcx
je 0x14000af8b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000af7e
mov rcx, qword [0x14002d528]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002d528]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140031578], 0
je 0x14000b07e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x140025928]
mov qword [rsp + 0x80], rsi
lea rsi, [0x14002d550]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b05f
test al, 0x10
je 0x14000b05f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b005
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000d694
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14000d527
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000d527
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000d527
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000d527
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000d527
cmp dword [rcx + 0x84], 0xe
jbe 0x14000d527
cmp dword [rcx + 0xf8], 0
je 0x14000d527
mov ecx, ebx
call fcn.14000d5c8
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14000d3b8
cmp dword [rbp + 0x20], 0
je 0x14000d574
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000d57c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000d4c0
Function at 0x1400025b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x14000260a
mov r11b, 0x23
lea rdi, [0x140037db0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x1400025f4
cmp rdx, 2
jb 0x1400025f4
cmp byte [r10], r11b
jne 0x1400025f4
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x1400025d2
jmp 0x14000264b
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x14000264b
mov r11b, 0x23
lea rdi, [0x140037db0]
cmp dl, r11b
jne 0x14000262f
cmp byte [r10], r11b
jne 0x14000262f
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x14000261d
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x140002780
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
test r8, r8
je 0x1400027a0
and qword [r8], 0
lea rdx, [0x140037818]
call fcn.14000265c
mov rbx, rax
test rax, rax
je 0x140002891
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140002888
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 0x140002888
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140002888
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002888
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x140002888
mov rax, qword [0x1400818d0]
test rax, rax
je 0x140002825
inc dword [rax + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x140002888
mov r9, rbx
mov r8, rbp
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, rbp
je 0x140002875
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400818d0]
test rax, rax
je 0x14000286a
dec dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002891
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140002883
mov qword [rsi], rbp
mov rax, rdi
jmp 0x140002893
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000453c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
sub rsp, 0x28
movsxd rdx, dword [rcx + 0x108]
mov r9d, 4
mov rax, qword [rcx + 0x110]
mov r8d, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x38]
not r8d
movzx eax, byte [rdx]
inc rdx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x140037db0]
xor r8d, dword [rax + rcx*4]
sub r9, 1
jne 0x140004565
not r8d
mov ecx, r8d
call fcn.14000469c
mov eax, r8d
add rsp, 0x28
ret

Function at 0x14000e4b4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140081010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [0x1400818d0]
mov r10d, 4
mov dword [rsp + 0x20], ecx
mov r9, qword [rax + 0x1b90]
movsxd rcx, dword [r9 + 0x108]
mov rax, qword [r9 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x20]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x140037db0]
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x14000e4fa
not r8d
lea rdx, [rsp + 0x20]
lea rcx, [r9 + 0x108]
mov dword [rsp + 0x20], r8d
call fcn.14001c5d0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140035540
add rsp, 0x38
ret

Function at 0x140013214
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x1400818d0]
cmp byte [rbx + 0x3000], 0
je 0x1400132d5
cmp qword [rbx + 0x3008], 0
lea rbp, [rax + 0x10]
lea rdi, [rbx + 0x3010]
je 0x1400132c7
mov r9d, dword [rdi + 4]
test r9d, r9d
jns 0x14001327f
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001c900
mov rcx, qword [rsp + 0x40]
and dword [rdi], 0
mov rdx, rcx
mov rcx, rdi
mov r8, rbp
call fcn.140002ca0
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3008]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1400818c8]
movsxd r8, eax
mov rax, qword [rbx + 0x3018]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x1400132d5
mov rdx, rcx
mov r8, rbp
mov rcx, rdi
call fcn.140002ca0
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret

Function at 0x14001391c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1400818d0]
mov rbx, rcx
and dword [rax + 0x2fbc], 0
test rcx, rcx
je 0x140013985
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140013990
lea rdx, [0x14003781c]
mov rcx, rbx
mov rdi, rax
call fcn.14000265c
mov rbx, rax
test rax, rax
je 0x140013985
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400361cc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140036216
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140036216
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140036216
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140036216
cmp dword [rcx + 0x84], 0xe
jbe 0x140036216
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140036218
xor al, al
add rsp, 0x28
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 [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.14006ce00
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, [0x140071630]
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, [0x140071630]
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, [0x1400712a4]
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, [0x140071630]
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 [0x1400877a0]
mulss xmm1, dword [0x140087780]
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 [0x1400876dc]
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, [0x140071630]
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.14006ce00
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, [0x140071630]
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:
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 0x14004d969
lea rcx, [0x140097898]
call fcn.14006d0f0
cmp dword [0x140097898], 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 [0x140094078]
mov rcx, r15
call fcn.14004e500
mov qword [0x140097840], 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.14006cef0
nop
lea rcx, [0x140097898]
call fcn.14006d090
mov r8, qword [0x140097840]
test r8, r8
jne 0x14004da4b
mov dword [rbp - 0x71], 0x167f1606
mov dword [rbp - 0x6d], 0x16401602
mov dword [rbp - 0x69], 0x16031627
mov dword [rbp - 0x65], 0x1608160a
mov dword [rbp - 0x61], 0x16021600
mov dword [rbp - 0x5d], 0x161c1647
mov dword [rbp - 0x59], 0x164a1606
mov dword [rbp - 0x55], 0x1605160d
mov dword [rbp - 0x51], 0x160a1603
mov dword [rbp - 0x4d], 0x163d164f
mov dword [rbp - 0x49], 0x1633161c
mov dword [rbp - 0x45], 0x161b161f
mov dword [rbp - 0x41], 0x16171616
mov dword [rbp - 0x3d], 0x161d1603
mov dword [rbp - 0x39], 0x161b1629
mov dword [rbp - 0x35], 0x1619161c
mov dword [rbp - 0x31], 0x1638160e
mov dword [rbp - 0x2d], 0x16f21610
mov dword [rbp - 0x29], 0x16e616cc
mov dword [rbp - 0x25], 0x16ef
mov byte [rbp - 0x21], 1
mov ecx, 0x165d
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 [0x140070250]
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.14006ce00
add rsp, 0xd8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14004dcf0
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 0x14004dde0
lea rcx, [0x1400978bc]
call fcn.14006d0f0
cmp dword [0x1400978bc], 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 [0x140094078]
mov rcx, rdi
call fcn.14004e500
mov qword [0x140097880], 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.14006cef0
nop
lea rcx, [0x1400978bc]
call fcn.14006d090
mov r8, qword [0x140097880]
test r8, r8
jne 0x14004ded9
mov dword [rbp - 0x49], 0x167f1606
mov dword [rbp - 0x45], 0x16401602
mov dword [rbp - 0x41], 0x16031627
mov dword [rbp - 0x3d], 0x1608160a
mov dword [rbp - 0x39], 0x16021600
mov dword [rbp - 0x35], 0x161c1647
mov dword [rbp - 0x31], 0x164a1606
mov dword [rbp - 0x2d], 0x1605160d
mov dword [rbp - 0x29], 0x160a1603
mov dword [rbp - 0x25], 0x163d164f
mov dword [rbp - 0x21], 0x1622161c
mov dword [rbp - 0x1d], 0x161b1601
mov dword [rbp - 0x19], 0x16131601
mov dword [rbp - 0x15], 0x160c1614
mov dword [rbp - 0x11], 0x161e1634
mov dword [rbp - 0xd], 0x162f1617
mov dword [rbp - 9], 0x160d1604
mov dword [rbp - 5], 0x16e5160b
mov dword [rbp - 1], 0x16c316ec
mov dword [rbp + 3], 0x16e016e7
mov dword [rbp + 7], 0x16e316f7
mov dword [rbp + 0xb], 0x16fb16f4
mov word [rbp + 0xf], bx
mov byte [rbp + 0x11], 1
mov ecx, 0x165d
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 [0x140070250]
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.14006ce00
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret