joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011d40
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
sub rsp, 0x98
mov rbx, r9
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x50], rbx
mov byte [rcx], 0
call fcn.140011c80
mov r9, qword [rsp + 0x40]
mov r10, rax
mov qword [rsp + 0x38], rax
movzx ecx, byte [rax]
mov byte [r9 + 0xc], cl
movzx ecx, byte [rax + 1]
mov byte [r9 + 0xd], cl
movzx ecx, byte [rax + 2]
mov byte [r9 + 0xe], cl
movzx eax, byte [rax + 3]
mov byte [r9 + 0xf], al
movzx eax, byte [r10 + 4]
mov byte [r9 + 0x10], al
movzx eax, byte [r10 + 5]
mov byte [r9 + 0x11], al
movzx eax, byte [r10 + 6]
mov byte [r9 + 0x12], al
movzx eax, byte [r10 + 7]
mov byte [r9 + 0x13], al
mov eax, 8
movsxd r11, dword [rbx]
mov dword [rsp + 0x30], eax
cmp r11d, eax
jle 0x140011eeb
mov qword [rsp + 0x90], rbp
lea rcx, [r10 + 0xa]
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x48], rcx
nop dword [rax]
nop dword [rax + rax]
movzx ebx, byte [rcx - 2]
mov r8d, eax
movzx edi, byte [rcx - 1]
mov rdx, r10
movzx esi, byte [rcx]
movzx ebp, byte [rcx + 1]
movzx r14d, byte [rcx + 2]
movzx r15d, byte [rcx + 3]
movzx r12d, byte [rcx + 4]
movzx r13d, byte [rcx + 5]
mov rcx, r9
call fcn.140011f70
mov r9, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov r10, qword [rsp + 0x38]
movzx eax, byte [r9 + 0xc]
xor byte [rcx - 2], al
mov byte [r9 + 0xc], bl
movzx eax, byte [r9 + 0xd]
xor byte [rcx - 1], al
mov rbx, qword [rsp + 0x50]
mov byte [r9 + 0xd], dil
movzx eax, byte [r9 + 0xe]
xor byte [rcx], al
mov byte [r9 + 0xe], sil
movzx eax, byte [r9 + 0xf]
xor byte [rcx + 1], al
mov byte [r9 + 0xf], bpl
movzx eax, byte [r9 + 0x10]
xor byte [rcx + 2], al
mov byte [r9 + 0x10], r14b
movzx eax, byte [r9 + 0x11]
xor byte [rcx + 3], al
mov byte [r9 + 0x11], r15b
movzx eax, byte [r9 + 0x12]
xor byte [rcx + 4], al
mov byte [r9 + 0x12], r12b
movzx eax, byte [r9 + 0x13]
xor byte [rcx + 5], al
add rcx, 8
mov eax, dword [rsp + 0x30]
add eax, 8
mov byte [r9 + 0x13], r13b
movsxd r11, dword [rbx]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x48], rcx
cmp eax, r11d
jl 0x140011e00
mov r15, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x90]
movzx r8d, byte [r11 + r10 - 1]
lea rcx, [r10 - 1]
movsxd rax, r11d
mov edx, r11d
add rcx, rax
nop
dec edx
lea rcx, [rcx - 1]
cmp byte [rcx], r8b
je 0x140011f00
movsxd rcx, edx
lea eax, [rdx - 8]
sub rcx, 8
mov dword [rbx], eax
call fcn.1400e44f4
xor r8d, r8d
mov rdi, rax
mov rax, qword [rsp + 0x38]
cmp dword [rbx], r8d
jle 0x140011f54
mov r9, rax
mov rcx, rdi
sub r9, rdi
nop word [rax + rax]
movzx edx, byte [r9 + rcx + 8]
inc r8d
mov byte [rcx], dl
lea rcx, [rcx + 1]
cmp r8d, dword [rbx]
jl 0x140011f40
mov rcx, rax
call fcn.1400e44b0
mov rax, rdi
add rsp, 0x98
pop rdi
pop rbx
ret
Function at 0x140012530
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r10d, dword [0x1401150c0]
lea rsi, [0x140000000]
xor r10d, dword [rcx + 4]
mov ebx, 2
mov eax, dword [rcx + 8]
mov r11, rcx
lea edi, [rbx + 6]
nop
mov ecx, r10d
shr rcx, 0x10
movzx edx, cl
mov ecx, r10d
shr rcx, 0x18
mov r9d, dword [rsi + rdx*4 + 0x1158f0]
add r9d, dword [rsi + rcx*4 + 0x1154f0]
mov ecx, r10d
shr rcx, 8
movzx edx, cl
movzx ecx, r10b
xor r9d, dword [rsi + rdx*4 + 0x1160f0]
add r9d, dword [rsi + rcx*4 + 0x115cf0]
lea ecx, [rbx - 1]
xor r9d, dword [rsi + rcx*4 + 0x1150c0]
xor eax, r9d
mov ecx, eax
shr rcx, 0x10
movzx edx, cl
mov ecx, eax
shr rcx, 0x18
mov r8d, dword [rsi + rdx*4 + 0x1158f0]
add r8d, dword [rsi + rcx*4 + 0x1154f0]
mov ecx, eax
shr rcx, 8
movzx edx, cl
movzx ecx, al
xor r8d, dword [rsi + rdx*4 + 0x1160f0]
add r8d, dword [rsi + rcx*4 + 0x115cf0]
mov ecx, ebx
add ebx, 2
xor r8d, dword [rsi + rcx*4 + 0x1150c0]
xor r10d, r8d
sub rdi, 1
jne 0x140012560
xor eax, dword [0x140115104]
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov dword [r11 + 4], eax
mov dword [r11 + 8], r10d
ret

Function at 0x140014880
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 0x1400148dd
lea rbx, [0x1400fa140]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400148c4
cmp r10, 2
jb 0x1400148c4
cmp byte [r9], r8b
jne 0x1400148c4
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 0x1400148a0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001491f
lea rbx, [0x1400fa140]
cmp r8b, 0x23
jne 0x140014903
cmp byte [r9], r8b
jne 0x140014903
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 0x1400148f0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140014a60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140014a7a
mov qword [r8], 0
lea rdx, [0x1400f9b84]
call fcn.140014930
mov rbx, rax
test rax, rax
jne 0x140014a9a
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 0x140014b71
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 0x140014b71
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140014b71
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 0x140014b71
cmp rdi, 0xffffffffffffffff
je 0x140014b71
mov rax, qword [0x140117be0]
test rax, rax
je 0x140014b0e
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140014b71
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 0x140014b5e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140117be0]
test rax, rax
je 0x140014b53
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140014b7a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140014b6c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140014b7c
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 0x140023020
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [0x140117be0]
lea rdx, [0x1400fa140]
mov r8, rcx
mov rbx, qword [rax + 0x1d18]
add rbx, 0x108
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 9]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xa]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xb]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xc]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xd]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xe]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xf]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x140023121
lea ecx, [r9 + 1]
test r8d, r8d
je 0x14002310d
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140023112
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.1400357f0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140023140
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x140117be0]
lea rdx, [0x1400fa140]
mov r8d, ecx
mov rbx, qword [rax + 0x1d18]
add rbx, 0x108
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x1400231f7
lea ecx, [r9 + 1]
test r8d, r8d
je 0x1400231e3
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400231e8
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.1400357f0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140024050
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140115080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140117be0]
mov edi, edx
cmp byte [rbx + 0x20d5], 0
jne 0x1400240b0
cmp byte [rbx + 0x20d6], 0
jne 0x1400240b0
mov r9d, dword [rbx + 0x3178]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140014800
test dil, 1
je 0x1400241d6
jmp 0x14002413f
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3178]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140100360]
mulss xmm1, dword [0x140100350]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1ddc], rax
mov dword [rbx + 0x1dc4], 1
movss dword [rbx + 0x1dd4], xmm0
mov byte [rbx + 0x1dfc], 1
movss dword [rbx + 0x1dd8], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x1401002ac]
or dword [rbx + 0x1dc0], 0x41
movss dword [rbx + 0x1e20], xmm0
call fcn.140014800
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140024190
lea r11, [0x1400fa140]
nop
cmp r9b, 0x23
jne 0x140024173
cmp byte [r8], r9b
jne 0x140024173
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 0x140024160
not ecx
call fcn.14001ca10
test rax, rax
je 0x1400241d6
cmp byte [rax + 0xcf], 0
je 0x1400241d6
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3178]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x3178]
call fcn.140014800
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14001f4c0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400e4490
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140028ed0
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 + 0x3260], 0
lea rbx, [rcx + 0x3268]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140028f77
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140028f2a
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.1400354e0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140015130
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3260]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3270]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140117bd8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140028f7f
mov rcx, rbx
call fcn.140015130
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400293c0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140029412
lea r11, [0x1400fa140]
cmp r9b, 0x23
jne 0x1400293f5
cmp byte [r8], r9b
jne 0x1400293f5
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400293e2
mov r11, qword [0x140117be0]
mov r10, qword [r11 + 0x3228]
test r10, r10
je 0x140029459
lea r9, [r10 + 4]
test r9, r9
je 0x140029459
not eax
cmp dword [r9], eax
je 0x140029462
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x3220]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140029430
mov rcx, rbx
pop rbx
jmp fcn.1400292d0
mov rax, r9
pop rbx
ret
Function at 0x14002c8b0
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14002caee
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x140115080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1400fa140]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x14002cab6
mov rcx, rbp
call fcn.14002bf40
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x14002c981
movsxd rdx, dword [rbp + 0x31c0]
mov r8, qword [rbp + 0x31c8]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x14002c971
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x14002c969
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x14002c96c
mov rdx, rcx
test rdx, rdx
jne 0x14002c940
cmp r8, r10
je 0x14002c981
cmp dword [r8], r9d
jne 0x14002c981
mov rcx, qword [r8 + 8]
jmp 0x14002c983
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb8]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x14002ca17
cmp qword [rcx + 0x18], 0
jne 0x14002ca0c
mov qword [rcx + 0x18], rbx
jmp 0x14002ca17
cmp qword [rcx + 0x20], 0
jne 0x14002ca17
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xe]
mov rcx, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 6]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14002ca4c
nop
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14002ca40
mov r9d, dword [rcx]
lea r8, str.DockNode__02X
lea rcx, [rsp + 0x20]
mov edx, reloc.WS2_32.dll_sendto
call fcn.140014800
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x14002caa8
cmp r9b, 0x23
jne 0x14002ca8b
cmp byte [r8], r9b
jne 0x14002ca8b
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x14002ca78
not ecx
call fcn.14001ca10
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x14002c900
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400e4490
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x14005c3d0
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x290
mov rax, qword [0x140115080]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov dword [rsp + 0x60], 0x101
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14005c420
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.14005fdf0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14005c1b0
mov rbx, rax
lea rax, [0x140117c78]
cmp rax, rbx
je 0x14005c4d5
mov rdx, qword [0x140117c90]
cmp rdx, 0x10
jb 0x14005c496
mov rcx, qword [0x140117c78]
inc rdx
cmp rdx, 0x1000
jb 0x14005c491
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005c509
mov rcx, r8
call fcn.1400e44b0
movdqa xmm0, xmmword [0x140100440]
movdqu xmmword [0x140117c88], xmm0
mov byte [0x140117c78], 0
movups xmm0, xmmword [rbx]
movups xmmword [0x140117c78], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140117c88], xmm1
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14005c515
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c510
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c510
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e44b0
movdqa xmm0, xmmword [0x140100440]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14005c56d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c568
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c568
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e44b0
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400e4490
add rsp, 0x290
pop rbx
ret
Function at 0x14005da00
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x14005da28
add rsp, 0x20
pop r15
pop rdi
pop rbx
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 + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14005da4e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14005da50
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14005daa9
test ecx, ecx
jle 0x14005da89
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14005daa9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14005daa9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x14005dad0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14005daf2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14005db08
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14005db24
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14005db26
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14005db62
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14005dbfe
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14005db9d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14005dbde
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14005dbfe
cmp rbx, rax
ja 0x14005dbb0
test rbx, rbx
je 0x14005dbfe
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret