joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006c4f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14006c50a
mov qword [r8], 0
lea rdx, [0x1402a5f28]
call fcn.14006c3c0
mov rbx, rax
test rax, rax
jne 0x14006c52a
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 0x14006c601
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 0x14006c601
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14006c601
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 0x14006c601
cmp rdi, 0xffffffffffffffff
je 0x14006c601
mov rax, qword [0x140317610]
test rax, rax
je 0x14006c59e
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 0x14006c601
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 0x14006c5ee
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140317610]
test rax, rax
je 0x14006c5e3
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14006c60a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14006c5fc
mov qword [r14], rdi
mov rax, rsi
jmp 0x14006c60c
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 0x14006f8e0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
mov rax, qword [rcx + 0x110]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x140297110]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x140317610]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x401c], ebx
jne 0x14006f976
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.14008f890
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400758d0
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140075920
lea r11, [0x140297110]
nop dword [rax]
cmp r9b, 0x23
jne 0x140075903
cmp byte [r8], r9b
jne 0x140075903
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x1400758f0
mov rcx, qword [0x140317610]
not edx
add rcx, 0x3fc0
jmp fcn.14006c950
Function at 0x14007de90
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1402ca088]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140317610]
mov edi, ecx
cmp byte [rbx + 0x43fd], 0
jne 0x14007def1
cmp byte [rbx + 0x43fe], 0
jne 0x14007def1
movsx r9d, word [rbx + 0x54e2]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14006c1d0
test dil, 1
je 0x14007e027
jmp 0x14007df81
movss xmm1, dword [rbx + 0x39c0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x54e2]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1402a92e4]
mulss xmm1, dword [0x1402a92b0]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd9c]
addss xmm1, dword [rbx + 0xda0]
mov qword [rbx + 0x410c], rax
mov dword [rbx + 0x40f4], 1
movss dword [rbx + 0x4104], xmm0
mov byte [rbx + 0x412c], 1
movss dword [rbx + 0x4108], xmm1
movss xmm0, dword [rbx + 0x3a1c]
mulss xmm0, dword [0x1402a9180]
or dword [rbx + 0x40f0], 0x41
movss dword [rbx + 0x4150], xmm0
call fcn.14006c1d0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x14007dfd1
lea r11, [0x140297110]
cmp r9b, 0x23
jne 0x14007dfb4
cmp byte [r8], r9b
jne 0x14007dfb4
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x14007dfa1
mov rcx, qword [0x140317610]
not edx
add rcx, 0x3fc0
call fcn.14006c950
test rax, rax
je 0x14007e027
cmp byte [rax + 0xcb], 0
je 0x14007e027
mov byte [rax + 0xd2], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xec], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x54e2]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x54e2]
call fcn.14006c1d0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.140078640
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140157bf0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140083b90
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 + 0x55d0], 0
lea rbx, [rcx + 0x55d8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140083c37
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140083bea
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.140090990
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14006cc90
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x55d0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x55e0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140317532]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140083c3f
mov rcx, rbx
call fcn.14006cc90
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140084080
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 0x1400840d2
lea r11, [0x140297110]
cmp r9b, 0x23
jne 0x1400840b5
cmp byte [r8], r9b
jne 0x1400840b5
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 0x1400840a2
mov r11, qword [0x140317610]
mov r10, qword [r11 + 0x5598]
test r10, r10
je 0x140084119
lea r9, [r10 + 4]
test r9, r9
je 0x140084119
not eax
cmp dword [r9], eax
je 0x140084122
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x5590]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x1400840f0
mov rcx, rbx
pop rbx
jmp fcn.140083f90
mov rax, r9
pop rbx
ret

Function at 0x140084130
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140317610]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140084193
mov qword [rsp], rbx
lea rbx, [0x140297110]
nop dword [rax]
cmp r9b, 0x23
jne 0x140084173
cmp byte [r8], r9b
jne 0x140084173
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 0x140084160
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5580]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x1400841c7
mov r10, qword [r10 + 0x5588]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x1400841ce
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x1400841b4
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 0x1400879f0
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x140087bfc
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x1402ca088]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x18]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x140297110]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x18]
test edx, edx
je 0x140087bc4
mov rcx, rbp
call fcn.1400870e0
mov edx, dword [rdi - 0x14]
mov rbx, rax
test edx, edx
je 0x140087a6e
lea rcx, [rbp + 0x5530]
call fcn.14006c950
mov r11, rax
jmp 0x140087a71
xor r11d, r11d
mov qword [rbx + 0x18], r11
movsx eax, word [rdi]
movd xmm1, eax
movsx eax, word [rdi + 2]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 4]
movd xmm1, eax
movsx eax, word [rdi + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 8]
movd xmm1, eax
movsx eax, word [rdi + 0xa]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xc4]
and eax, 0xfffffe49
movss dword [rbx + 0x58], xmm1
or eax, 0x49
mov dword [rbx + 0xc4], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test r11, r11
je 0x140087b05
cmp qword [r11 + 0x20], 0
jne 0x140087afa
mov qword [r11 + 0x20], rbx
jmp 0x140087b05
cmp qword [r11 + 0x28], 0
jne 0x140087b05
mov qword [r11 + 0x28], rbx
mov eax, dword [rdi - 0xc]
mov dword [rbx + 0xbc], eax
movsx eax, byte [rdi - 8]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 4]
mov eax, dword [rbx + 0xc]
and ecx, 0xc1fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rcx, rbx
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x140087b4c
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140087b40
mov r9d, dword [rcx]
lea r8, str.DockNode__02X
lea rcx, [rsp + 0x20]
mov edx, reloc.WS2_32.dll_sendto
call fcn.14006c1d0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov edx, r14d
test r9b, r9b
je 0x140087ba8
cmp r9b, 0x23
jne 0x140087b8b
cmp byte [r8], r9b
jne 0x140087b8b
cmp byte [r8 + 1], r9b
cmove edx, r14d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r15 + rcx*4]
test r9b, r9b
jne 0x140087b78
mov rcx, qword [0x140317610]
not edx
add rcx, 0x3fc0
call fcn.14006c950
mov qword [rbx + 0x88], rax
add rdi, 0x24
sub rsi, 1
jne 0x140087a40
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.140157bf0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x14008efe0
Capabilities:
Resolve function by parsing pe exports

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, 0x50
mov edi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
mov word [rsp + 0x32], r14w
test rax, rax
je 0x14008f02d
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x14008f032
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x14008f05d
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x14008f05d
mov rcx, qword [rax + 0x390]
test rcx, rcx
je 0x14008f05d
mov eax, dword [rcx + 8]
mov dword [rsp + 0x28], eax
jmp 0x14008f062
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x14008f07c
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x14008f081
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
mov r8d, dword [rbp + 0x24]
and eax, 0xc1fc20
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x31], dil
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
mov ecx, dword [rbp + 0x20]
mov word [rsp + 0x42], ax
cmp ecx, r8d
jne 0x14008f103
inc ecx
test r8d, r8d
je 0x14008f0ee
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14008f0f3
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x20]
call fcn.140090580
movsxd rax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rax + rax*8]
mov eax, dword [rsp + 0x40]
movups xmmword [rcx + rdx*4], xmm0
movups xmmword [rcx + rdx*4 + 0x10], xmm1
mov dword [rcx + rdx*4 + 0x20], eax
inc dword [rbp + 0x20]
mov rdx, qword [rbx + 0x20]
inc edi
test rdx, rdx
je 0x14008f143
mov r8d, edi
mov rcx, rbp
call fcn.14008efe0
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14008f010
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x1400a9130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r8, qword [rcx + 0x188]
mov r9, rcx
movsxd rax, edx
imul rbx, rax, 0x68
add rbx, qword [rcx + 0x18]
mov dword [rcx + 0x7c], edx
test dword [rbx], 0x10000
movss xmm0, dword [rbx + 0x34]
je 0x1400a916c
addss xmm0, dword [rcx + 0x94]
lea rsi, [r8 + 0x118]
movss dword [rsi], xmm0
movss xmm1, dword [rcx + 0xc8]
addss xmm1, dword [rcx + 0x84]
movss dword [r8 + 0x130], xmm0
subss xmm0, dword [r8 + 0x48]
movss dword [r8 + 0x11c], xmm1
subss xmm0, dword [r8 + 0x15c]
movss dword [r8 + 0x160], xmm0
mov eax, dword [rcx + 0x90]
mov dword [r8 + 0x150], eax
movsx eax, byte [rbx + 0x62]
mov dword [r8 + 0x170], eax
movss dword [r8 + 0x23c], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r8 + 0x238], eax
mov eax, dword [rbx + 0x38]
mov dword [r8 + 0x240], eax
mov eax, dword [rbx + 0x3c]
mov dword [r8 + 0x1dc], eax
cmp byte [rbx + 0x5a], 0
jne 0x1400a9207
maxss xmm1, dword [rcx + 0x88]
movss dword [r8 + 0x11c], xmm1
movzx eax, byte [rbx + 0x60]
mov byte [r8 + 0xd0], al
cmp byte [rbx + 0x60], 0
je 0x1400a922d
mov rax, qword [0x140317610]
xor ecx, ecx
mov dword [rax + 0x40b0], ecx
mov dword [rax + 0x40b8], ecx
test dword [r9 + 4], 0x100000
je 0x1400a923e
mov eax, 2
jmp 0x1400a92bd
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r8 + 0x2c0]
movss xmm4, dword [rbx + 0x20]
movss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rbx + 0x28]
movss xmm1, dword [rbx + 0x2c]
movups xmmword [r8 + 0x258], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r8 + 0x2c0]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x58]
mov rcx, qword [rax + 0x60]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx eax, byte [rbx + 0x57]
mov rdx, qword [r8 + 0x2c0]
mov r8d, eax
mov rcx, qword [r9 + 0x1a0]
call fcn.14009c7d0
mov rdi, qword [0x140317610]
cmp byte [rdi + 0x55c4], 0
je 0x1400a9305
cmp byte [rbx + 0x60], 0
jne 0x1400a9305
xor r8d, r8d
lea rdx, [0x14029f110]
mov rcx, rsi
call fcn.140083ca0
mov dword [rdi + 0x55f8], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400aa780
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x140317610]
mov rdx, qword [rax + 0x44b8]
cmp ecx, 0xffffffff
jne 0x1400aa79a
cmp dword [rdx + 0x7c], ecx
cmovne ecx, dword [rdx + 0x7c]
cmp ecx, dword [rdx + 0x74]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x1400aa817
mov r10d, dword [rdx]
lea r8, [0x1402a6ae1]
movzx eax, word [rdx + 0x80]
lea r11, [0x140297110]
not r10d
mov byte [rdx + 0x200], cl
mov ecx, r10d
mov byte [rdx + 0x20e], 1
mov word [rdx + 0x82], ax
mov r9b, reloc.WLDAP32.dll_Ordinal_35
cmp r9b, 0x23
jne 0x1400aa7f3
cmp byte [r8], r9b
jne 0x1400aa7f3
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 0x1400aa7e0
not ecx
jmp fcn.14007e230
ret
Function at 0x1400ce5c0
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 0x1400ce620
mov ecx, dword [rdx + 0xc]
lea eax, [rcx - 1]
test ecx, eax
je 0x1400ce620
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 0x1400ce623
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x1400ce65e
mov qword [rsp + 0x30], rbx
xor r10d, r10d
mov ebx, eax
mov rax, qword [rdi + 0x10]
test byte [r10 + rax + 8], 0x40
je 0x1400ce64f
mov rdx, qword [r10 + rax]
test byte [rdx + 9], 0x18
je 0x1400ce64f
mov rcx, r11
call fcn.1400ce1e0
add r10, 0x10
sub rbx, 1
jne 0x1400ce631
mov rbx, qword [rsp + 0x30]
mov r10, qword [rdi + 0x18]
cmp r10, rsi
jae 0x1400ce6be
nop word [rax + rax]
test byte [r10 + 8], 0xf
movzx eax, byte [r10 + 9]
jne 0x1400ce687
test al, 0x40
je 0x1400ce6b5
mov byte [r10 + 9], ntohl
jmp 0x1400ce6b5
test al, 0x40
je 0x1400ce69d
mov rdx, qword [r10 + 0x10]
test byte [rdx + 9], 0x18
je 0x1400ce69d
mov rcx, r11
call fcn.1400ce1e0
test byte [r10 + 8], 0x40
je 0x1400ce6b5
mov rdx, qword [r10]
test byte [rdx + 9], 0x18
je 0x1400ce6b5
mov rcx, r11
call fcn.1400ce1e0
add r10, 0x18
cmp r10, rsi
jb 0x1400ce670
movzx eax, byte [rdi + 9]
mov rsi, qword [rsp + 0x38]
movzx ecx, al
and cl, 7
cmp cl, 5
jne 0x1400ce6f5
mov rcx, rdi
call fcn.1400ce150
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 0x1400ce6ff
xor al, 2
mov byte [rdi + 9], al
add rsp, 0x20
pop rdi
ret
Function at 0x1400d99a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov qword [rdx], rcx
movzx eax, byte [rcx]
lea r15, [0x14029b630]
mov r14, rdx
xorps xmm1, xmm1
mov r10d, ebx
mov edi, ebx
mov r9d, ebx
mov r11d, ebx
test byte [rax + r15 + 1], 8
je 0x1400d99ef
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 1]
inc rcx
test byte [rax + r15 + 1], 8
jne 0x1400d99e0
mov qword [rsp + 0x60], rbp
lea rdx, [rcx + 1]
mov esi, 1
cmp al, 0x2d
jne 0x1400d9a05
mov ebp, esi
jmp 0x1400d9a0d
cmp al, 0x2b
mov ebp, ebx
cmovne rdx, rcx
cmp byte [rdx], 0x30
jne 0x1400d9b45
movzx eax, byte [rdx + 1]
sub al, 0x58
test al, 0xdf
jne 0x1400d9b45
movsd xmm2, qword [0x1402a9260]
add rdx, 2
movzx r8d, byte [rdx]
movsx rcx, r8b
cmp ecx, 0x2e
jne 0x1400d9a4a
test r11d, r11d
jne 0x1400d9a9f
mov r11d, esi
inc rdx
jmp 0x1400d9a30
test byte [r8 + r15 + 1], 0x10
je 0x1400d9a9f
test r10d, r10d
jne 0x1400d9a61
cmp r8b, 0x30
jne 0x1400d9a61
inc edi
jmp 0x1400d9a92
inc r10d
cmp r10d, 0x1e
jg 0x1400d9a8f
test byte [rcx + r15 + 1], 2
je 0x1400d9a77
add ecx, 0xffffffd0
jmp 0x1400d9a7d
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x1400d9a92
inc r9d
test r11d, r11d
je 0x1400d9a9a
dec r9d
inc rdx
jmp 0x1400d9a30
lea eax, [rdi + r10]
test eax, eax
je 0x1400d9b45
mov qword [r14], rdx
lea r9d, [r9*4]
movzx eax, byte [rdx]
sub al, 0x50
test al, 0xdf
jne 0x1400d9b1d
movzx ecx, byte [rdx + 1]
cmp cl, 0x2d
jne 0x1400d9acf
mov eax, 2
jmp 0x1400d9add
cmp cl, 0x2b
mov rax, rbx
mov esi, ebx
sete al
inc rax
lea r8, [rdx + rax]
movzx edx, byte [rdx + rax]
test byte [rdx + r15 + 1], 2
je 0x1400d9b45
nop dword [rax]
movsx eax, dl
lea ebx, [rbx + rbx*4]
inc r8
lea ebx, [rbx - 0x18]
lea ebx, [rax + rbx*2]
movzx eax, byte [r8]
movzx edx, al
test byte [rax + r15 + 1], 2
jne 0x1400d9af0
mov eax, ebx
mov qword [r14], r8
neg eax
test esi, esi
cmove eax, ebx
add r9d, eax
test ebp, ebp
je 0x1400d9b28
xorps xmm1, xmmword [0x1402a99b0]
mov edx, r9d
movaps xmm0, xmm1
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbx
jmp qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_ldexp]
mov rbp, qword [rsp + 0x60]
xorps xmm0, xmm0
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400e25c0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x1402ca088]
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 0x1400e281b
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.1400e25c0]
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 0x1400e26d0
mov dword [rbx + 0x60], eax
lea rdx, [0x1400e2000]
mov dword [rbx + 0x6a], 0x19320002
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.1400cb7c0
mov rbx, qword [rsp + 0x80]
test eax, eax
je 0x1400e280b
mov rcx, rdi
call fcn.1400e2290
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.140157bf0
add rsp, 0x58
pop rsi
pop rbp
ret