joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006c4d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x1402034d8]
test rax, rax
je 0x14006c51a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006c51a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006c51a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006c51a
cmp dword [rcx + 0x84], 0xe
jbe 0x14006c51a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14006c51c
xor al, al
add rsp, 0x28
ret

Function at 0x14007b550
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x50]
mov rbx, rcx
mov eax, dword [rbx + 0x38]
cmp eax, 0xffffffff
je 0x14007b56d
add rsp, 0x48
pop rbx
pop rbp
ret
mov dword [rsp + 0x20], 0x10
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x20]
mov rcx, rbx
mov r9d, 4
call fcn.140101fd0
mov ecx, eax
test ecx, ecx
jne 0x14007b5fa
xor eax, eax
mov ecx, 0x40000000
test byte [rbp - 0x10], 0x30
cmove eax, ecx
mov ecx, eax
or ecx, 0x80000000
test byte [rbp - 0x10], 2
cmovne eax, ecx
mov ecx, eax
or ecx, 0x10000000
test dword [rbp - 0x10], 0x800
cmovne eax, ecx
mov ecx, eax
or ecx, 0x8000000
test byte [rbp - 0x10], 4
cmovne eax, ecx
mov ecx, eax
or ecx, 0x4000000
test dword [rbp - 0x10], 0x1000
cmovne eax, ecx
mov ecx, eax
or ecx, 0x20000000
test byte [rbp - 0x10], 8
cmovne eax, ecx
mov dword [rbx + 0x38], eax
add rsp, 0x48
pop rbx
pop rbp
ret
call fcn.140101f70
mov ecx, eax
lea rdx, [0x140192338]
call fcn.1400d4ce0
mov rcx, rax
call fcn.140003630
int3

Function at 0x14013ca60
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rbx, rcx
lea rcx, [0x1401bd918]
call fcn.140002b60
mov rsi, rax
mov dword [rsi + 0x20], 0x7fffffff
lea rcx, [0x1401f9450]
mov edx, 0x10
call fcn.140002c80
lea rcx, [rsi + 8]
mov rdx, rax
call fcn.140002d70
xor edi, edi
mov ebp, dword [rbx + 8]
test ebp, ebp
jle 0x14013cac2
mov edx, edi
movzx edx, byte [rbx + rdx + 0x10]
xor edx, 0x63
movzx edx, dx
mov rcx, rsi
call fcn.1400bf900
inc edi
cmp ebp, edi
jg 0x14013caa7
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
jmp fcn.1400bf320
Function at 0x140140a40
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rcx, [0x1401f93b8]
mov edx, 0x1f3
call fcn.140002c80
mov rbx, rax
lea rdx, [0x140256f30]
lea rcx, [rbx + 0x10]
mov r8d, 0x1f3
call fcn.1400702d0
lea rcx, [0x1401bd918]
call fcn.140002b60
mov rsi, rax
mov dword [rsi + 0x20], 0x7fffffff
lea rcx, [0x1401f9450]
mov edx, 0x10
call fcn.140002c80
lea rcx, [rsi + 8]
mov rdx, rax
call fcn.140002d70
xor edi, edi
mov edx, edi
movzx edx, byte [rbx + rdx + 0x10]
xor edx, 0x36
movzx edx, dx
mov rcx, rsi
call fcn.1400bf900
inc edi
cmp edi, 0x1f3
jl 0x140140aa6
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.1400bf320
Function at 0x140001ca0
Capabilities:
Parse pe header

Disassembly:
mov edx, dword [rcx]
test edx, edx
jne 0x140001cc8
mov dword [rcx + 4], 2
lea rax, [rcx + 4]
cmp edx, 3
jne 0x140001cf1
mov dword [rax], 4
cmp edx, 0x22
jne 0x140001cfc
mov dword [rax], Ordinal_79
ret
cmp edx, 1
jne 0x140001cd2
mov dword [rcx + 4], edx
jmp 0x140001cad
cmp edx, 2
jne 0x140001cad
lea rax, [rcx + 4]
mov dword [rax], 3
cmp edx, 0x17
jne 0x140001e94
mov dword [rax], Ordinal_60
ret
cmp edx, 4
jne 0x140001d08
mov dword [rax], 5
cmp edx, 0x23
jne 0x140001d13
mov dword [rax], Ordinal_79
ret
cmp edx, 5
jne 0x140001d1f
mov dword [rax], 6
cmp edx, 0x24
jne 0x140001d2a
mov dword [rax], Ordinal_79
ret
cmp edx, 6
jne 0x140001d36
mov dword [rax], 8
cmp edx, 0x25
jne 0x140001d41
mov dword [rax], Ordinal_79
ret
cmp edx, 7
jne 0x140001d4d
mov dword [rax], 9
cmp edx, 0x26
jne 0x140001d58
mov dword [rax], Ordinal_79
ret
cmp edx, 8
jne 0x140001d64
mov dword [rax], recv
cmp edx, 0x27
jne 0x140001d6f
mov dword [rax], reloc.WLDAP32.dll_Ordinal_79
ret
cmp edx, 9
jne 0x140001d7b
mov dword [rax], reloc.WS2_32.dll_listen
cmp edx, 0x28
jne 0x140001d86
mov dword [rax], 0x50
ret
cmp edx, 0xa
jne 0x140001d92
mov dword [rax], reloc.WS2_32.dll_recv
cmp edx, 0x29
jne 0x140001d9d
mov dword [rax], 0x51
ret
cmp edx, 0xb
jne 0x140001da9
mov dword [rax], reloc.WS2_32.dll_recvfrom
cmp edx, 0x2a
jne 0x140001db4
mov dword [rax], 0x52
ret
cmp edx, 0xc
jne 0x140001dc0
mov dword [rax], reloc.WS2_32.dll_select
cmp edx, 0x2b
jne 0x140001dcb
mov dword [rax], 0x53
ret
cmp edx, 0xd
jne 0x140001dd7
mov dword [rax], reloc.WS2_32.dll_send
cmp edx, 0x2c
jne 0x140001de2
mov dword [rax], 0x54
ret
cmp edx, 0xe
jne 0x140001dee
mov dword [rax], reloc.WS2_32.dll_sendto
cmp edx, 0x2d
jne 0x140001df9
mov dword [rax], 0x55
ret
cmp edx, 0xf
jne 0x140001e05
mov dword [rax], Ordinal_50
cmp edx, 0x2e
jne 0x140001e10
mov dword [rax], 0x56
ret
cmp edx, 0x10
jne 0x140001e1c
mov dword [rax], Ordinal_50
cmp edx, 0x2f
jne 0x140001e27
mov dword [rax], 0x57
ret
cmp edx, 0x11
jne 0x140001e33
mov dword [rax], reloc.WLDAP32.dll_Ordinal_50
cmp edx, 0x30
jne 0x140001e3e
mov dword [rax], 0x58
ret
cmp edx, 0x12
jne 0x140001e4a
mov dword [rax], 0x33
cmp edx, 0x31
jne 0x140001e55
mov dword [rax], 0x59
ret
cmp edx, 0x13
jne 0x140001e61
mov dword [rax], gethostname
cmp edx, 0x32
jne 0x140001e6c
mov dword [rax], 0x5a
ret
cmp edx, 0x14
jne 0x140001e78
mov dword [rax], gethostname
cmp edx, 0x33
jne 0x140001e77
mov dword [rax], Ordinal_26
ret
cmp edx, 0x15
jne 0x140001e84
mov dword [rax], gethostname
ret
cmp edx, 0x16
jne 0x140001ce1
mov dword [rax], Ordinal_60
ret
cmp edx, 0x18
jne 0x140001ea0
mov dword [rax], reloc.WS2_32.dll_gethostname
ret
cmp edx, 0x19
jne 0x140001eac
mov dword [rax], 0x41
ret
cmp edx, 0x1a
jne 0x140001eb8
mov dword [rax], 0x42
ret
cmp edx, 0x1b
jne 0x140001ec4
mov dword [rax], 0x43
ret
cmp edx, 0x1c
jne 0x140001ed0
mov dword [rax], 0x44
ret
cmp edx, 0x1d
jne 0x140001edc
mov dword [rax], 0x45
ret
cmp edx, 0x1e
jne 0x140001ee8
mov dword [rax], 0x46
ret
cmp edx, 0x1f
jne 0x140001ef4
mov dword [rax], 0x47
ret
cmp edx, 0x20
jne 0x140001f00
mov dword [rax], 0x48
ret
cmp edx, 0x21
jne 0x140001cbc
mov dword [rax], 0x49
ret
Function at 0x1400098b0
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 0x14000990d
lea rbx, [0x1400afe20]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400098f4
cmp r10, 2
jb 0x1400098f4
cmp byte [r9], r8b
jne 0x1400098f4
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 0x1400098d0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000994f
lea rbx, [0x1400afe20]
cmp r8b, 0x23
jne 0x140009933
cmp byte [r9], r8b
jne 0x140009933
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 0x140009920
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140009a90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140009aaa
mov qword [r8], 0
lea rdx, [0x1400af9ac]
call fcn.140009960
mov rbx, rax
test rax, rax
jne 0x140009aca
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 0x140009ba3
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140009ba3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140009ba3
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 0x140009ba3
cmp rdi, 0xffffffffffffffff
je 0x140009ba3
mov rax, qword [0x1400c5020]
test rax, rax
je 0x140009b40
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140009ba3
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 0x140009b90
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400c5020]
test rax, rax
je 0x140009b85
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140009bac
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140009b9e
mov qword [r14], rdi
mov rax, rsi
jmp 0x140009bae
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 0x14000ca70
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xf0]
lea r8, [0x1400afe20]
movsxd rcx, dword [rcx + 0xe8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x1400c5020]
not ebx
cmp dword [rcx + 0x3ee8], ebx
jne 0x14000cb05
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001eee0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140018d10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400c4080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400c5020]
mov edi, ecx
cmp byte [rbx + 0x4a2d], 0
jne 0x140018d71
cmp byte [rbx + 0x4a2e], 0
jne 0x140018d71
movsx r9d, word [rbx + 0x5b32]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140009770
test dil, 1
je 0x140018e98
jmp 0x140018dfc
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b32]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400b4b7c]
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400b4b6c]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x4790], rax
mov dword [rbx + 0x477c], 1
movss dword [rbx + 0x4788], xmm0
movss dword [rbx + 0x478c], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x1400b4b04]
or dword [rbx + 0x4778], 0x41
movss dword [rbx + 0x47d8], xmm0
call fcn.140009770
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140018e50
lea r11, [0x1400afe20]
nop dword [rax]
cmp r9b, 0x23
jne 0x140018e33
cmp byte [r8], r9b
jne 0x140018e33
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 0x140018e20
not ecx
call fcn.1400106b0
test rax, rax
je 0x140018e98
cmp byte [rax + 0xae], 0
je 0x140018e98
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b32]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5b32]
call fcn.140009770
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140012df0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14009b590
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001d780
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 + 0x5c18], 0
lea rbx, [rcx + 0x5c20]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001d827
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001d7da
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.14001fb50
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140009ef0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c18]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c28]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400c5018]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001d82f
mov rcx, rbx
call fcn.140009ef0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001dda0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400c5020]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001de03
mov qword [rsp], rbx
lea rbx, [0x1400afe20]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001dde3
cmp byte [r8], r9b
jne 0x14001dde3
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 0x14001ddd0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b90]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001de37
mov r10, qword [r10 + 0x5b98]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001de3e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001de24
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 0x140038ed0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x1400c4080]
xor rax, rsp
mov qword [rsp + 0xd0], rax
xor esi, esi
lea r8, [0x140037160]
mov rbx, rcx
mov qword [rsp + 0x28], rsi
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
lea rax, [0x140036d80]
mov qword [rsp + 0x70], 0x50
mov edx, 0x7f00
mov qword [rsp + 0x78], rax
xor ecx, ecx
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rsi
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
xorps xmm0, xmm0
lea rdi, [0x1400b44c4]
mov edx, 0x7f00
mov qword [rsp + 0x98], rax
xor ecx, ecx
movdqa xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rdi
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0xb8], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rsp + 0x88]
mov r9d, 0x80000000
mov qword [rsp + 0x58], rsi
mov r8, rdi
mov qword [rsp + 0x50], rax
mov rdx, rdi
mov eax, dword [rsp + 0x6c]
xor ecx, ecx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, 0xffffffec
mov r8d, 0x80020
mov rcx, rax
mov qword [rbx + 0x50], rax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [rbx + 0x50]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x1400b4c10]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rbx + 0x50]
movdqu xmmword [rsp + 0xc0], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [rbx + 0x50]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, qword [rbx + 0x50]
mov rcx, rbx
call fcn.140036df0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call fcn.140038af0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14009b590
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140039f70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 7], dil
je 0x140039fa4
mov eax, edi
nop dword [rax]
lea ecx, [rax - 0xb]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x140039f90
mov byte [r8 + 7], dil
lea rax, [r8 + 6]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x140039fd4
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x140039fee
mov qword [rsp + 0x30], 6
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
movzx eax, word [r8 + 4]
mov word [rsp + 0x24], ax
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140039ffc
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400368f0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14003a076
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a071
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003a071
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009b714
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14003a090
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 9], dil
je 0x14003a0c4
mov eax, edi
nop dword [rax]
lea ecx, [rax - 0xb]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x14003a0b0
mov byte [r8 + 9], dil
lea rax, [r8 + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x14003a0f4
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x14003a105
mov qword [rsp + 0x30], 8
mov rax, qword [r8]
mov qword [rsp + 0x20], rax
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14003a113
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400368f0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14003a18d
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a188
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003a188
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009b714
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14003a1a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
mov qword [rbp - 0x10], rcx
xor r9d, r9d
cmp byte [r8 + 6], r9b
je 0x14003a1e4
mov ecx, r9d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0xb]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x14003a1d0
mov byte [r8 + 6], r9b
lea rax, [r8 + 5]
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r9
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x14003a20e
mov qword [rbp - 0x28], r9
mov byte [rbp - 0x38], r9b
jmp 0x14003a224
mov qword [rbp - 0x28], 5
mov eax, dword [r8]
mov dword [rbp - 0x38], eax
movzx eax, byte [r8 + 4]
mov byte [rbp - 0x34], al
cmp byte [rdx + 0xa], 0
je 0x14003a243
mov rcx, r9
nop dword [rax]
lea eax, [rcx - 0xb]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 9
jb 0x14003a230
mov byte [rdx + 0xa], 0
lea rax, [rdx + 9]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r9
mov qword [rbp - 0x40], r9
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
cmp rdx, rax
jne 0x14003a26d
mov qword [rbp - 0x48], r9
mov byte [rbp - 0x58], 0
jmp 0x14003a285
mov qword [rbp - 0x48], 9
movsd xmm0, qword [rdx]
movsd qword [rbp - 0x58], xmm0
movzx eax, byte [rdx + 8]
mov byte [rbp - 0x50], al
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x58]
movzx edx, byte [rbp - 0x60]
mov rcx, rbx
call fcn.140040180
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14003a2d9
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a2d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003a2d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009b714
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14003a317
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a312
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003a312
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009b714
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret
Function at 0x14003a330
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 0xa], dil
je 0x14003a364
mov eax, edi
nop dword [rax]
lea ecx, [rax - 0xb]
xor byte [r8 + rax], cl
inc rax
cmp rax, 9
jb 0x14003a350
mov byte [r8 + 0xa], dil
lea rax, [r8 + 9]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x14003a394
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x14003a3b1
mov qword [rsp + 0x30], 9
movsd xmm0, qword [r8]
movsd qword [rsp + 0x20], xmm0
movzx eax, byte [r8 + 8]
mov byte [rsp + 0x28], al
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14003a3bf
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400368f0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14003a439
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a434
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003a434
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009b714
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret