joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140035880
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400d8080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140035953
cmp byte [rcx + 0x71], 0
je 0x140035953
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14003594f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140035914
sub eax, 1
je 0x140035918
cmp eax, 2
jne 0x14003594f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400ab020
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140035946
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14003594f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400358fc
xor al, al
jmp 0x1400358fc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400ab020
add rsp, 0x60
pop rbx
ret
Function at 0x140038590
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14003864d
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x1400385ca
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp fcn.140039000
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x50], rsi
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rsi, qword [rcx]
test rsi, rsi
je 0x140038616
mov qword [rsp + 0x48], rbx
nop dword [rax + rax]
mov rbx, qword [rsi]
lea rcx, [rsi + 0x10]
call fcn.14003c000
mov edx, 0x98
mov rcx, rsi
call fcn.1400ab3ec
mov rsi, rbx
test rbx, rbx
jne 0x1400385f0
mov rbx, qword [rsp + 0x48]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.140039d70
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140038e00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
sub rsp, 0x50
mov rbp, r8
mov r15, rdx
mov r14, rcx
cmp rdx, r8
je 0x140038fdb
cmp qword [rdx + 0x28], 0x10
lea r8, [rdx + 0x10]
mov r10, qword [rcx + 0x18]
mov r9, qword [r8 + 0x10]
mov qword [rax + 0x10], rbx
mov rbx, rdx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
mov rax, qword [rcx + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], r10
jb 0x140038e62
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
test r9, r9
je 0x140038e94
nop dword [rax]
movzx eax, byte [rcx + r8]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r9
jb 0x140038e80
mov r12, qword [r14 + 0x30]
and r12, rdx
shl r12, 4
add r12, r10
mov rax, qword [r12 + 8]
mov r13, qword [r12]
mov qword [rsp + 0x30], rax
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x10]
call fcn.14003c080
mov edx, reloc.WLDAP32.dll_Ordinal_200
mov rcx, rdi
call fcn.1400ab3ec
dec qword [r14 + 0x10]
cmp rdi, qword [rsp + 0x30]
je 0x140038ef1
cmp rbx, rbp
jne 0x140038eb0
cmp r13, r15
jne 0x140038fb0
mov qword [r12], rbx
jmp 0x140038fb0
cmp r13, r15
mov r13, qword [rsp + 0x28]
jne 0x140038f04
mov qword [r12], r13
mov rax, r13
jmp 0x140038f09
mov rax, qword [rsp + 0x20]
mov qword [r12 + 8], rax
cmp rbx, rbp
je 0x140038fb0
nop word [rax + rax]
cmp qword [rbx + 0x28], 0x10
lea r8, [rbx + 0x10]
mov r9, qword [r8 + 0x10]
jb 0x140038f32
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x140038f69
movabs r13, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, r9
jb 0x140038f50
mov r13, qword [rsp + 0x28]
and rcx, qword [r14 + 0x30]
mov r15, qword [rsp + 0x38]
shl rcx, 4
add r15, rcx
mov r12, qword [r15 + 8]
nop dword [rax]
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x10]
call fcn.14003c080
mov edx, reloc.WLDAP32.dll_Ordinal_200
mov rcx, rdi
call fcn.1400ab3ec
dec qword [r14 + 0x10]
cmp rdi, r12
je 0x140038fe8
cmp rbx, rbp
jne 0x140038f80
mov qword [r15], rbx
mov rax, qword [rsp + 0x20]
mov r12, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov r13, qword [rsp + 0x40]
mov qword [rax], rbx
mov qword [rbx + 8], rax
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r15
pop r14
pop rbp
ret
mov qword [r15], r13
mov qword [r15 + 8], r13
cmp rbx, rbp
jne 0x140038f20
jmp 0x140038fb0
Function at 0x140039000
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
sub rsp, 0x50
mov rbp, r8
mov r15, rdx
mov r14, rcx
cmp rdx, r8
je 0x1400391db
cmp qword [rdx + 0x28], 0x10
lea r8, [rdx + 0x10]
mov r10, qword [rcx + 0x18]
mov r9, qword [r8 + 0x10]
mov qword [rax + 0x10], rbx
mov rbx, rdx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
mov rax, qword [rcx + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], r10
jb 0x140039062
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
test r9, r9
je 0x140039094
nop dword [rax]
movzx eax, byte [rcx + r8]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r9
jb 0x140039080
mov r12, qword [r14 + 0x30]
and r12, rdx
shl r12, 4
add r12, r10
mov rax, qword [r12 + 8]
mov r13, qword [r12]
mov qword [rsp + 0x30], rax
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x10]
call fcn.14003c000
mov edx, 0x98
mov rcx, rdi
call fcn.1400ab3ec
dec qword [r14 + 0x10]
cmp rdi, qword [rsp + 0x30]
je 0x1400390f1
cmp rbx, rbp
jne 0x1400390b0
cmp r13, r15
jne 0x1400391b0
mov qword [r12], rbx
jmp 0x1400391b0
cmp r13, r15
mov r13, qword [rsp + 0x28]
jne 0x140039104
mov qword [r12], r13
mov rax, r13
jmp 0x140039109
mov rax, qword [rsp + 0x20]
mov qword [r12 + 8], rax
cmp rbx, rbp
je 0x1400391b0
nop word [rax + rax]
cmp qword [rbx + 0x28], 0x10
lea r8, [rbx + 0x10]
mov r9, qword [r8 + 0x10]
jb 0x140039132
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x140039169
movabs r13, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, r9
jb 0x140039150
mov r13, qword [rsp + 0x28]
and rcx, qword [r14 + 0x30]
mov r15, qword [rsp + 0x38]
shl rcx, 4
add r15, rcx
mov r12, qword [r15 + 8]
nop dword [rax]
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x10]
call fcn.14003c000
mov edx, 0x98
mov rcx, rdi
call fcn.1400ab3ec
dec qword [r14 + 0x10]
cmp rdi, r12
je 0x1400391e8
cmp rbx, rbp
jne 0x140039180
mov qword [r15], rbx
mov rax, qword [rsp + 0x20]
mov r12, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov r13, qword [rsp + 0x40]
mov qword [rax], rbx
mov qword [rbx + 8], rax
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r15
pop r14
pop rbp
ret
mov qword [r15], r13
mov qword [r15 + 8], r13
cmp rbx, rbp
jne 0x140039120
jmp 0x1400391b0
Function at 0x14003d900
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x14003d925
cvtsi2ss xmm0, rdx
jmp 0x14003d93a
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x1400c6f5c]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14003d968
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14003d968
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14003d99a
cmp rbx, 0x200
jae 0x14003d997
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14003d99a
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14003acd0
Function at 0x14003de50
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x1400d8080]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r13, rcx
call fcn.140038590
mov rax, qword gs:[0x60]
test rax, rax
je 0x14003e042
mov r12, qword [rax + 0x18]
add r12, 0x20
mov r14, qword [r12]
test r14, r14
je 0x14003e042
cmp r14, r12
je 0x14003e02a
xor ebx, ebx
nop dword [rax]
lea r15, [r14 - 0x10]
test r15, r15
je 0x14003e01e
mov rdx, qword [r15 + 0x60]
lea rcx, [rsp + 0x20]
call fcn.14003cfa0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0xf]
call fcn.14003dcc0
nop
mov rdx, qword [rbp - 0x71]
cmp rdx, 8
jb 0x14003df2c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003df27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e034
call fcn.1400ab3ec
mov qword [rbp - 0x79], rbx
mov qword [rbp - 0x71], 7
mov word [rsp + 0x20], bx
lea rdi, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
setae cl
mov rbx, qword [rbp + 0xf]
cmovae rdi, rbx
lea rdx, [rbp + 0xf]
mov rsi, qword [rbp + 0x1f]
test cl, cl
je 0x14003df62
add rsi, rbx
jmp 0x14003df69
add rsi, rdx
lea rbx, [rbp + 0xf]
cmp rbx, rsi
je 0x14003df85
sub rdi, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rdi + rbx], al
inc rbx
cmp rbx, rsi
jne 0x14003df71
mov rbx, qword [r15 + 0x30]
lea rcx, [rbp - 0x69]
call fcn.14003cf20
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov qword [rbp - 9], rbx
movsxd rax, dword [rbx + 0x3c]
add rax, rbx
mov qword [rbp - 0x11], rax
lea r8, [rbp + 0xf]
lea rdx, [rbp - 1]
mov rcx, r13
call fcn.14003e080
mov rcx, qword [rax]
add rcx, 0x30
lea rdx, [rbp - 0x69]
call fcn.14003c780
nop
lea rcx, [rbp - 0x29]
call fcn.140039280
lea rcx, [rbp - 0x69]
call fcn.140037140
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x14003e01c
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e017
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e03b
call fcn.1400ab3ec
xor ebx, ebx
mov r14, qword [r14]
cmp r14, r12
jne 0x14003dec0
cmp qword [r13 + 0x10], 0
setne al
jmp 0x14003e044
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor al, al
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400ab020
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140049b80
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 0x140049bb4
mov eax, edi
nop dword [rax]
lea ecx, [rax - 0xb]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x140049ba0
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 0x140049be4
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x140049bfe
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 0x140049c0c
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400567c0
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 0x140049c86
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049c81
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049c81
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ab3ec
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140049ca0
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 0x140049cd4
mov eax, edi
nop dword [rax]
lea ecx, [rax - 0xb]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x140049cc0
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 0x140049d04
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x140049d15
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 0x140049d23
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400567c0
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 0x140049d9d
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049d98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049d98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ab3ec
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140049db0
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 0x140049df4
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 0x140049de0
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 0x140049e1e
mov qword [rbp - 0x28], r9
mov byte [rbp - 0x38], r9b
jmp 0x140049e34
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 0x140049e53
mov rcx, r9
nop dword [rax]
lea eax, [rcx - 0xb]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 9
jb 0x140049e40
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 0x140049e7d
mov qword [rbp - 0x48], r9
mov byte [rbp - 0x58], 0
jmp 0x140049e95
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.14004fe50
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140049ee9
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049ee3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049ee3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ab3ec
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x140049f27
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049f22
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049f22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ab3ec
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret
Function at 0x140049f40
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 0x140049f74
mov eax, edi
nop dword [rax]
lea ecx, [rax - 0xb]
xor byte [r8 + rax], cl
inc rax
cmp rax, 9
jb 0x140049f60
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 0x140049fa4
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x140049fc1
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 0x140049fcf
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400567c0
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 0x14004a049
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a044
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a044
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ab3ec
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14004a060
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 + 0xc], dil
je 0x14004a094
mov eax, edi
nop dword [rax]
lea ecx, [rax - 0xb]
xor byte [r8 + rax], cl
inc rax
cmp rax, 0xb
jb 0x14004a080
mov byte [r8 + 0xc], dil
lea rax, [r8 + 0xb]
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 0x14004a0c4
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x14004a0eb
mov qword [rsp + 0x30], send
movsd xmm0, qword [r8]
movsd qword [rsp + 0x20], xmm0
movzx eax, word [r8 + 8]
mov word [rsp + 0x28], ax
movzx eax, byte [r8 + 0xa]
mov byte [rsp + 0x2a], al
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14004a0f9
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400567c0
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 0x14004a173
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a16e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a16e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ab3ec
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14004a190
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 0x14004a1d4
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 0x14004a1c0
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 0x14004a1fe
mov qword [rbp - 0x28], r9
mov byte [rbp - 0x38], r9b
jmp 0x14004a214
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 + 0xd], 0
je 0x14004a233
mov rcx, r9
nop dword [rax]
lea eax, [rcx - 0xb]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0xc
jb 0x14004a220
mov byte [rdx + 0xd], 0
lea rax, [rdx + 0xc]
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 0x14004a25d
mov qword [rbp - 0x48], r9
mov byte [rbp - 0x58], 0
jmp 0x14004a274
mov qword [rbp - 0x48], send
movsd xmm0, qword [rdx]
movsd qword [rbp - 0x58], xmm0
mov eax, dword [rdx + 8]
mov dword [rbp - 0x50], eax
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x58]
movzx edx, byte [rbp - 0x60]
mov rcx, rbx
call fcn.14004fe50
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14004a2c8
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a2c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a2c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ab3ec
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14004a306
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a301
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a301
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ab3ec
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret

Function at 0x140050f60
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 0x10], al
je 0x140050f83
lea edx, [rax - 0xb]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xf
jb 0x140050f70
mov byte [rcx + 0x10], 0
lea r8, [rcx + 0xf]
mov rdx, rcx
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.140049600
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140052120
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x140052143
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0xb]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x140052130
mov byte [rcx + 0x47], 0
mov rax, rcx
ret