joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140071c30
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140071c1c
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x140071baa
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x140071c30
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x140071bea
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, Ordinal_26
call fcn.14026477c
mov rcx, rbx
test rbx, rbx
jne 0x140071bd0
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.1400703a0
add rsp, 0x30
pop rdi
ret
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x140071d34
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rax + 0x10], rbx
mov rbx, r14
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
mov qword [rax - 0x20], r13
mov r13, qword [r14 + 8]
mov qword [rax - 0x28], r15
movabs rax, 0xcbf29ce484222325
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x11]
imul rcx, r8
mov qword [rsp + 0x30], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x20], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x28], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, Ordinal_26
call fcn.14026477c
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x28]
je 0x140071d40
cmp rbx, rbp
jne 0x140071ce0
cmp qword [rsp + 0x20], r14
jne 0x140071d0d
mov qword [r15], rbx
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x20], r14
jne 0x140071d4f
mov qword [r15], r12
mov rax, r12
jmp 0x140071d52
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x140071d0d
nop dword [rax + rax]
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, Ordinal_26
call fcn.14026477c
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x140071de6
cmp rbx, rbp
jne 0x140071dc0
jmp 0x140071d0a
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x140071d60
jmp 0x140071d0d
Function at 0x140073930
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov r14, rdx
mov rsi, rcx
movzx r13d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r13, rax
movabs rcx, 0x100000001b3
imul r13, rcx
movzx eax, byte [r8 + 1]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 2]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 3]
xor r13, rax
imul r13, rcx
mov rcx, qword [rsi + 0x30]
and rcx, r13
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x1400739b7
mov rbx, r15
mov rbp, r15
jmp 0x1400739fa
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x1400739d1
cmp rbx, rcx
je 0x1400739f4
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x1400739c3
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0x92492492492492
cmp qword [rsi + 0x10], rax
jne 0x140073a18
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, 0x1c0
call fcn.140264740
mov rdi, rax
mov qword [rsp + 0x28], rax
mov eax, dword [r12]
mov dword [rdi + 0x10], eax
lea rcx, [rdi + 0x18]
lea rdx, [r12 + 8]
call fcn.140073c70
nop
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x140073a62
cvtsi2ss xmm0, rcx
jmp 0x140073a77
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140073a8a
cvtsi2ss xmm1, rcx
jmp 0x140073a9f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x140073b09
mov rcx, rsi
call fcn.140071520
mov rcx, qword [rsi + 0x30]
and rcx, r13
add rcx, rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
jne 0x140073adc
mov qword [rsp + 0x28], 0
jmp 0x140073afc
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x140073af9
mov rbx, rax
cmp rax, rdx
je 0x140073b3d
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x140073ae8
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r13
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x140073b4d
mov qword [rcx + rax*8], rdi
jmp 0x140073b5f
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x140073b01
cmp r8, rbp
jne 0x140073b58
mov qword [rcx + rax*8], rdi
jmp 0x140073b64
cmp qword [rcx + rax*8 + 8], rdx
jne 0x140073b64
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x1400739d9
Function at 0x140074cf0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x25], 0
je 0x140074d13
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x61]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x24
jb 0x140074d00
mov byte [rcx + 0x25], 0
mov rax, rcx
ret

Function at 0x140074f00
Capabilities:
Hash data using fnv

Disassembly:
mov r8d, dword [rcx]
movabs r9, 0x100000001b3
movabs rax, 0xcbf29ce484222325
movzx edx, r8b
xor rdx, rax
mov eax, r8d
imul rdx, r9
shr eax, 8
movzx ecx, al
mov eax, r8d
xor rdx, rcx
shr eax, 0x10
imul rdx, r9
movzx ecx, al
mov eax, r8d
xor rdx, rcx
shr rax, 0x18
mov rcx, qword [0x14033d4e8]
imul rdx, r9
xor rdx, rax
imul rdx, r9
and rcx, rdx
mov rdx, qword [0x14033d4c0]
shl rcx, 4
add rcx, qword [0x14033d4d0]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x140074f91
mov rcx, qword [rcx]
cmp r8d, dword [rax + 0x10]
je 0x140074f93
nop
cmp rax, rcx
je 0x140074f91
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x140074f80
jmp 0x140074f93
xor eax, eax
test rax, rax
mov rcx, rdx
cmovne rcx, rax
cmp rcx, rdx
je 0x140074fa7
movzx eax, byte [rcx + 0x16]
ret
xor eax, eax
ret

Function at 0x140085ef0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
sub rsp, 0x20
mov eax, 1
mov qword [rsp + 0x38], rsi
mov r11, rcx
mov rdi, rdx
movzx ecx, byte [rdx + 0xb]
shl eax, cl
cmp byte [rdx + 0xa], 0
cdqe
lea r8, [rax + rax*2]
mov rax, qword [rdx + 0x18]
lea rsi, [rax + r8*8]
jge 0x140085f50
mov ecx, dword [rdx + 0xc]
lea eax, [rcx - 1]
test ecx, eax
je 0x140085f50
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
jmp 0x140085f53
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x140085f8e
mov qword [rsp + 0x30], rbx
xor r10d, r10d
mov ebx, eax
mov rax, qword [rdi + 0x10]
test byte [r10 + rax + 8], 0x40
je 0x140085f7f
mov rdx, qword [r10 + rax]
test byte [rdx + 9], 0x18
je 0x140085f7f
mov rcx, r11
call fcn.140085b10
add r10, 0x10
sub rbx, 1
jne 0x140085f61
mov rbx, qword [rsp + 0x30]
mov r10, qword [rdi + 0x18]
cmp r10, rsi
jae 0x140085ff0
nop word [rax + rax]
movzx eax, byte [r10 + 9]
and al, 0x40
test byte [r10 + 8], 0xf
jne 0x140085fb9
test al, al
je 0x140085fe7
mov byte [r10 + 9], reloc.WS2_32.dll_inet_addr
jmp 0x140085fe7
test al, al
je 0x140085fcf
mov rdx, qword [r10 + 0x10]
test byte [rdx + 9], 0x18
je 0x140085fcf
mov rcx, r11
call fcn.140085b10
test byte [r10 + 8], 0x40
je 0x140085fe7
mov rdx, qword [r10]
test byte [rdx + 9], 0x18
je 0x140085fe7
mov rcx, r11
call fcn.140085b10
add r10, 0x18
cmp r10, rsi
jb 0x140085fa0
movzx eax, byte [rdi + 9]
mov rsi, qword [rsp + 0x38]
movzx ecx, al
and cl, 7
cmp cl, 5
jne 0x140086027
mov rcx, rdi
call fcn.140085a80
mov rcx, qword [r11 + 0x90]
mov qword [rax], rcx
mov qword [r11 + 0x90], rdi
and byte [rdi + 9], 0xc7
add rsp, 0x20
pop rdi
ret
cmp cl, 6
jne 0x140086031
xor al, 2
mov byte [rdi + 9], al
add rsp, 0x20
pop rdi
ret
Function at 0x1400911b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x38
mov qword [rsp + 0x80], rbx
mov r13, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rdx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_localeconv]
xor esi, esi
lea r11, [0x1402fc410]
xorps xmm1, xmm1
mov r10d, esi
mov r14d, esi
mov r9d, esi
mov r8, qword [rax]
mov edi, esi
movsx r15d, byte [r8]
mov qword [r13], rbx
movzx eax, byte [rbx]
test byte [rax + r11 + 1], 8
je 0x14009121f
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbx + 1]
inc rbx
test byte [rax + r11 + 1], 8
jne 0x140091210
mov qword [rsp + 0x30], r12
lea rdx, [rbx + 1]
mov ebp, 1
cmp al, 0x2d
jne 0x140091236
mov r12d, ebp
jmp 0x14009123f
cmp al, 0x2b
mov r12d, esi
cmovne rdx, rbx
cmp byte [rdx], 0x30
mov rbx, qword [rsp + 0x80]
jne 0x140091399
movzx eax, byte [rdx + 1]
sub al, 0x58
test al, 0xdf
jne 0x140091399
movsd xmm2, qword [0x1403026b0]
lea r13, [0x1402fc410]
add rdx, 2
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [rdx]
mov r11, rdx
movsx rcx, r8b
cmp ecx, r15d
jne 0x14009129b
test edi, edi
jne 0x1400912f0
mov edi, ebp
inc rdx
jmp 0x140091280
test byte [r8 + r13 + 1], 0x10
je 0x1400912f0
test r10d, r10d
jne 0x1400912b3
cmp r8b, 0x30
jne 0x1400912b3
inc r14d
jmp 0x1400912e4
inc r10d
cmp r10d, 0x1e
jg 0x1400912e1
test byte [rcx + r13 + 1], 2
je 0x1400912c9
add ecx, 0xffffffd0
jmp 0x1400912cf
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x1400912e4
inc r9d
test edi, edi
je 0x1400912eb
dec r9d
inc rdx
jmp 0x140091280
mov r13, qword [rsp + 0x20]
lea eax, [r14 + r10]
test eax, eax
je 0x140091399
mov qword [r13], rdx
lea r9d, [r9*4]
movzx eax, byte [rdx]
sub al, 0x50
test al, 0xdf
jne 0x14009137f
movzx eax, byte [rdx + 1]
inc rdx
cmp al, 0x2d
jne 0x140091327
lea rdx, [r11 + 2]
jmp 0x140091331
cmp al, 0x2b
jne 0x14009132f
lea rdx, [r11 + 2]
mov ebp, esi
movzx r8d, byte [rdx]
lea r11, [0x1402fc410]
test byte [r8 + r11 + 1], 2
je 0x140091399
nop dword [rax]
nop dword [rax + rax]
movsx eax, r8b
lea esi, [rsi + rsi*4]
inc rdx
lea esi, [rsi - 0x18]
lea esi, [rax + rsi*2]
movzx eax, byte [rdx]
movzx r8d, al
test byte [rax + r11 + 1], 2
jne 0x140091350
mov eax, esi
mov qword [r13], rdx
neg eax
test ebp, ebp
cmove eax, esi
add r9d, eax
test r12d, r12d
je 0x14009138b
xorps xmm1, xmmword [0x140302f90]
mov edx, r9d
movaps xmm0, xmm1
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_ldexp]
jmp 0x14009139c
xorps xmm0, xmm0
mov r12, qword [rsp + 0x30]
add rsp, 0x38
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x140099df0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x140330440]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbp, rdx
mov rsi, rcx
xor edx, edx
mov r9d, 0x658
mov rcx, rbp
lea r8d, [rdx + 8]
call rsi
test rax, rax
je 0x14009a04b
mov qword [rsp + 0x80], rbx
xor ecx, ecx
lea rbx, [rax + 0xd0]
mov word [rax + 0x10], 0x808
mov byte [rbx + 0x64], 8
mov qword [rax + 0x20], rbx
mov qword [rsp + 0x88], rdi
lea rdi, [rax + 8]
mov qword [rdi + 0x50], rdi
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [fcn.140099df0]
mov qword [rbx], rsi
mov qword [rsp + 0x50], r14
xor r14d, r14d
mov dword [rdi + 0xb0], r14d
add dword [rdi + 0xb0], 0x10000
mov qword [rdi + 0x30], r14
mov qword [rdi + 0x20], r14
lea esi, [r14 + 0x18]
mov word [rdi + 0xc], r14w
mov qword [rdi + 0x58], r14
mov qword [rdi + 0xa0], r14
mov qword [rsp + 0x38], rax
mov dword [rdi + 0xc0], r14d
mov qword [rdi + 0xb8], r14
mov word [rdi + 0xa], 0x100
mov qword [rdi + 0x38], r14
mov qword [rdi + 0xa8], r14
mov dword [rdi + 0xb4], r14d
mov qword [rbx + 0x70], rdi
mov qword [rdi], r14
mov qword [rbx + 8], rbp
mov qword [rbx + 0x578], r14
mov qword [rbx + 0x580], r14
mov qword [rbx + 0x108], rdi
mov qword [rsp + 0x28], rdi
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
xor eax, esi
nop word [rax + rax]
movzx edx, byte [rsp + rsi + 0x27]
mov ecx, eax
shl ecx, 5
add edx, ecx
mov ecx, eax
shr ecx, 2
add edx, ecx
xor eax, edx
sub rsi, 1
jne 0x140099f00
mov dword [rbx + 0x60], eax
lea rdx, [0x140099930]
mov dword [rbx + 0x6a], 0x19320000
xor r8d, r8d
mov qword [rbx + 0x38], r14
mov rcx, rdi
mov qword [rbx + 0x30], r14
mov byte [rbx + 0x48], r14b
mov qword [rbx + 0x100], r14
mov dword [rbx + 0x65], 0x14000008
mov qword [rbx + 0xb8], r14
mov qword [rbx + 0xb0], r14
mov qword [rbx + 0x80], r14
mov qword [rbx + 0xd0], r14
mov qword [rbx + 0xc8], r14
mov qword [rbx + 0xc0], r14
mov qword [rbx + 0xd8], r14
mov qword [rbx + 0xf0], r14
mov qword [rbx + 0xe8], r14
mov qword [rbx + 0xe0], r14
mov qword [rbx + 0x78], r14
mov qword [rbx + 0x90], r14
mov qword [rbx + 0x88], r14
mov qword [rbx + 0xa8], r14
mov qword [rbx + 0xa0], r14
mov qword [rbx + 0x98], r14
mov qword [rbx + 0xf8], r14
mov qword [rbx + 0x10], 0x658
mov qword [rbx + 0x18], r14
mov qword [rbx + 0x28], r14
mov qword [rbx + 0x50], r14
mov byte [rbx + 0x58], 3
mov byte [rbx + 0x6e], reloc.WS2_32.dll_listen
mov byte [rbx + 0x69], Ordinal_26
mov qword [rbx + 0x1e0], r14
mov qword [rbx + 0x1e8], r14
mov qword [rbx + 0x1f0], r14
mov qword [rbx + 0x1f8], r14
mov qword [rbx + 0x200], r14
mov qword [rbx + 0x208], r14
mov qword [rbx + 0x210], r14
mov qword [rbx + 0x218], r14
mov qword [rbx + 0x220], r14
call fcn.1400834a0
mov rbx, qword [rsp + 0x80]
test eax, eax
je 0x14009a03b
mov rcx, rdi
call fcn.140099c50
mov rdi, r14
mov r14, qword [rsp + 0x50]
mov rax, rdi
mov rdi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140264720
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x14009a330
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
cmp r8, 0x28
ja 0x14009a357
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.14009a180
movabs rax, 0x7fffffffffffffdf
cmp rbp, rax
jae 0x14009a3e4
mov qword [rsp + 0x30], rbx
lea rdx, [r8 + 0x19]
mov qword [rsp + 0x38], rsi
mov r8d, 4
mov qword [rsp + 0x40], rdi
mov rdi, qword [rcx + 0x18]
mov ebx, dword [rdi + 0x60]
call fcn.14008e850
movzx ecx, byte [rdi + 0x64]
mov r8, rbp
and cl, 0x18
mov rdx, r14
mov rsi, rax
mov byte [rax + 9], cl
mov byte [rax + 8], reloc.WS2_32.dll_sendto
mov rcx, qword [rdi + 0x70]
mov qword [rax], rcx
lea rcx, [rax + 0x18]
mov qword [rdi + 0x70], rax
mov dword [rax + 0xc], ebx
mov byte [rax + 0xa], 0
mov byte [rax + rbp + 0x18], 0
mov qword [rax + 0x10], rbp
call sub.VCRUNTIME140.dll_memcpy
mov rdi, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.14008e750
int3

Function at 0x1400aa7b0
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x140330440]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov ecx, 0x101
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400aa819
movzx eax, word [rsp + 0x20]
cmp al, 1
jne 0x1400aa813
shr ax, 8
cmp al, 1
jne 0x1400aa813
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140264720
add rsp, 0x1d8
ret
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140264720
add rsp, 0x1d8
ret
Function at 0x1400ab570
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], bpl
mov dword [rsp + 0x20], 1
lea rsi, [rdx + 0x10]
mov rdx, qword [rsi]
call fcn.1400c9500
lea r15d, [rbp - 6]
cmp qword [rdi + 0x18], 0xf
jbe 0x1400ab5d4
mov r14, qword [rdi]
mov rcx, r14
mov rdi, r14
jmp 0x1400ab5da
mov r14, rdi
mov rcx, rdi
mov r13, qword [rsi]
add r13, rcx
cmp rdi, r13
je 0x1400ab6d1
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
shl ebp, 8
movzx eax, byte [r14]
add ebp, eax
add r15d, 8
js 0x1400ab676
movsxd r12, ebp
movsxd rdi, r15d
lea ecx, [r15 + 6]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
mov esi, edx
imul eax, edx, 0xfffffffa
add r15d, eax
nop dword [rax + rax]
mov rax, r12
mov rcx, rdi
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rax, rdx
jae 0x1400ab65d
lea rcx, [rax + 1]
mov qword [rbx + 0x10], rcx
mov rcx, rbx
cmp rdx, 0xf
jbe 0x1400ab652
mov rcx, qword [rbx]
mov byte [rcx + rax], r9b
mov byte [rcx + rax + 1], 0
jmp 0x1400ab66c
mov rcx, rbx
call fcn.140070a00
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
sub rdi, 6
sub rsi, 1
jne 0x1400ab620
inc r14
cmp r14, r13
jne 0x1400ab5f0
cmp r15d, 0xfffffffa
jle 0x1400ab6d1
lea ecx, [r15 + 8]
shl ebp, 8
movsxd rax, ebp
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400ab6c9
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x1400ab6be
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400ab6d1
mov rcx, rbx
call fcn.140070a00
mov rcx, qword [rbx + 0x10]
test cl, 3
je 0x1400ab719
nop word [rax + rax]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400ab705
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x1400ab6fd
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x1400ab710
mov r9b, 0x3d
mov rcx, rbx
call fcn.140070a00
mov rcx, qword [rbx + 0x10]
test cl, 3
jne 0x1400ab6e0
mov rax, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400ac7e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov r14, rcx
nop word [rax + rax]
mov r9d, edi
mov r8d, esi
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
test eax, eax
jns 0x1400ac834
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1400ac810
mov rbp, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
push rbx
push rsi
push rdi
push r14
sub rsp, 0x28
mov rdi, qword [rcx + 0x50]
mov eax, 0x7fffffff
cmp r8, rax
mov rsi, r8
mov r14, rdx
mov rbx, rcx
cmova rsi, rax
mov rax, qword [rcx + 0x48]
cmp rax, rdi
jae 0x1400b4671
mov rcx, qword [rcx + 0x30]
sub rdi, rax
lea rdx, [rax + rcx]
mov rcx, r14
cmp rsi, rdi
ja 0x1400b4658
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx + 0x48], rsi
mov rax, rsi
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx + 0x48], rdi
mov rax, rdi
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
test al, al
jne 0x1400b468c
mov rax, 0xffffffffffffffff
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
xor eax, eax
mov qword [rsp + 0x68], rbp
mov rbp, qword [rbx + 8]
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x50], rax
cmp rsi, 0x1000
jae 0x1400b4739
mov qword [rsp + 0x20], r15
mov r15, qword [rbx + 0x30]
nop word [rax + rax]
xor r9d, r9d
mov r8d, 0x1000
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
movsxd rdi, eax
test eax, eax
jns 0x1400b46e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1400b46c0
mov r15, qword [rsp + 0x20]
test rdi, rdi
jle 0x1400b4705
mov rdx, qword [rbx + 0x30]
mov rcx, r14
cmp rdi, rsi
jg 0x1400b4717
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rbp, qword [rsp + 0x68]
mov rax, rdi
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rbp, qword [rsp + 0x68]
mov rax, rsi
mov qword [rbx + 0x48], rsi
mov qword [rbx + 0x50], rdi
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
xor r9d, r9d
mov r8, rsi
mov rdx, r14
mov rcx, rbp
mov rbp, qword [rsp + 0x68]
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
jmp 0x1400ac7e0
Function at 0x1400ac860
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140330440]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov qword [rsp + 0x48], rcx
lea edi, [rcx + 1]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov ecx, edi
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x1400ac8cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1400ac8a0
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140264720
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x1400ac900
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140330440]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov qword [rsp + 0x48], rcx
lea edi, [rcx + 1]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, edi
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x1400ac96e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1400ac940
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140264720
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x1400ac9a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rdi
sub rsp, 0x30
mov rax, qword [0x140330440]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov rdi, rcx
call fcn.1400ac860
test rax, rax
jne 0x1400ac9dc
mov al, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140264720
add rsp, 0x30
pop rdi
ret
jns 0x1400ac9fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 9
jne 0x1400ac9fe
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140264720
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
lea rsi, [rsp + 0x20]
nop dword [rax]
mov r9d, 2
mov rdx, rsi
mov rcx, rdi
lea r8d, [r9 - 1]
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test eax, eax
jns 0x1400aca37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1400aca10
mov rsi, qword [rsp + 0x50]
test ebx, ebx
mov rbx, qword [rsp + 0x48]
setg al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140264720
add rsp, 0x30
pop rdi
ret