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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x10], rdx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov edi, dword [0x1401eb0a4]
movsxd rax, dword [reloc.WS2_32.dll_accept]
xor edx, edx
cmp eax, 0x7b
ja 0x1400021f6
lea rdx, [0x1401e9c40]
mov rdx, qword [rdx + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x1401628c0]
movdqu xmmword [rbp - 0x18], xmm1
mov byte [rbp - 0x28], 0
test rdx, rdx
jne 0x140002262
mov dword [rbp - 0x40], 0xe6eee4d3
mov dword [rbp - 0x3c], 0xcca6f1e7
mov dword [rbp - 0x38], 0x100f0ed
xor ecx, ecx
nop word [rax + rax]
lea eax, [rcx - 0x80]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0xa
jb 0x140002230
mov byte [rbp - 0x35], 0
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140002252
lea rdx, [rbp - 0x40]
jmp 0x14000227a
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140002270
lea rcx, [rbp - 0x28]
call fcn.140017860
cmp edi, 1
jne 0x1400022e9
movdqa xmm0, xmmword [0x140162bb0]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x30], 0xf4
mov byte [rbp - 0x2e], dil
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x80]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0x11
jb 0x1400022b0
mov byte [rbp - 0x2e], 0
lea rax, [rbp - 0x40]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400022d0
mov r8, rbx
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x28]
call fcn.140017860
mov dword [rbp + 0x18], 0x42f00000
mov dword [rbp + 0x1c], 0x41a00000
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
lea rdx, [rbp + 0x18]
call fcn.140050b30
test al, al
je 0x140002338
test edi, edi
jne 0x140002338
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x140002170]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140002376
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002371
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002371
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012c2c4
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140004260
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 4], 0
je 0x140004283
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x80]
xor byte [rcx + rax], dl
inc rax
cmp rax, 3
jb 0x140004270
mov byte [rcx + 4], 0
mov rax, rcx
ret

Function at 0x140004dc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xfd0]
mov eax, 0x10d0
call fcn.14012cc20
sub rsp, rax
mov eax, dword [0x1401eb028]
lea r8, [rsp + 0x48]
xor esi, esi
mov dword [rsp + 0x4c], eax
mov qword [rsp + 0x38], rsi
lea rax, [rbp + 0xff0]
mov ebx, edx
mov rdi, rcx
mov rcx, qword [0x1401eb020]
mov edx, 0x271c44
mov qword [rsp + 0x30], rsi
lea r9d, [rsi + 0x10]
mov dword [rsp + 0x28], esi
mov qword [rbp + 0xff0], rsi
mov dword [rsp + 0x48], 0xac15711
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov qword [rsp + 0x38], rsi
lea r9d, [rsi + 0x28]
mov eax, ebx
mov qword [rsp + 0x30], rsi
sar eax, 0x10
lea r8, [rsp + 0x58]
mov dword [rsp + 0x28], esi
mov edx, 0x26dc44
mov qword [rbp + 0x1000], rsi
mov dword [rsp + 0x79], esi
lea ecx, [rax*8 + 0x10]
mov word [rsp + 0x7d], si
mov rax, qword [rbp + 0xff0]
add rax, 0xaa371c0
mov byte [rsp + 0x7f], sil
add rcx, rax
mov dword [rsp + 0x58], 0xac15711
lea rax, [rbp + 0x1000]
mov qword [rsp + 0x60], rcx
mov rcx, qword [0x1401eb020]
mov qword [rsp + 0x68], rax
mov eax, dword [0x1401eb028]
mov dword [rsp + 0x5c], eax
mov qword [rsp + 0x70], 8
mov byte [rsp + 0x78], sil
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor edx, edx
lea rcx, [rbp + 0x7c0]
mov r8d, 0x808
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rbp + 0x1000]
lea r9d, [rsi + 0x28]
mov qword [rsp + 0x38], rsi
lea r8, [rbp - 0x80]
mov qword [rsp + 0x30], rsi
mov edx, 0x26dc44
movzx ecx, bx
mov dword [rsp + 0x28], esi
mov dword [rbp - 0x5f], esi
mov word [rbp - 0x5b], si
lea rcx, [rax + rcx*4]
mov byte [rbp - 0x59], sil
lea rax, [rbp + 0x7c0]
mov qword [rbp - 0x78], rcx
mov rcx, qword [0x1401eb020]
mov qword [rbp - 0x70], rax
mov eax, dword [0x1401eb028]
mov dword [rbp - 0x7c], eax
mov dword [rbp - 0x80], 0xac15711
mov qword [rbp - 0x68], 0x808
mov byte [rbp - 0x60], sil
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rcx, [rbp - 0x50]
mov r8d, 0x808
lea rdx, [rbp + 0x7c0]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [0x1401eb080]
call fcn.140017d20
mov qword [rbp + 0xff0], rax
movzx r8d, si
movzx eax, word [rbp + 0x7c4]
shr ax, 1
cmp si, ax
jae 0x140004fbc
nop dword [rax]
movzx ecx, r8w
lea rdx, [rbp - 0x4a]
add rdx, rcx
movzx ecx, r8b
and ecx, 3
inc r8w
xor al, byte [rbp + rcx + 0xff0]
xor byte [rdx], al
movzx eax, word [rbp - 0x4c]
shr ax, 1
cmp r8w, ax
jb 0x140004f90
xorps xmm0, xmm0
lea rax, [rbp - 0x4a]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov r8, 0xffffffffffffffff
mov qword [rdi + 0x18], rsi
inc r8
cmp byte [rax + r8], sil
jne 0x140004fd5
lea rdx, [rbp - 0x4a]
mov rcx, rdi
call fcn.140018510
mov rbx, qword [rsp + 0x10f8]
mov rax, rdi
add rsp, 0x10d0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140014fb0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rbx, rdx
mov r15, rcx
xor r13d, r13d
mov edx, 0x100
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140015010
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.1400183d0
nop
mov r8d, Ordinal_33
lea rdx, str.SoftwareDistributionDownload_
lea rcx, [rsp + 0x28]
call fcn.140016e40
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x1400150b9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400150b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400150b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012c2c4
movdqa xmm0, xmmword [0x140162890]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
lea rdi, [rbx + 0x10]
mov rdx, rbx
lea r14, [rbx + 0x18]
cmp qword [rbx + 0x18], 7
jbe 0x1400150e8
mov rdx, qword [rbx]
lea rbp, [rbx + 0x10]
jmp 0x1400150eb
mov rbp, rdi
mov r8, qword [rdi]
lea rcx, [rsp + 0x48]
call fcn.140016e40
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], r13
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 0x10], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
lea r12, [rbx + 0x18]
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140015176
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001516b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001516b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012c2c4
mov rdi, rbp
mov r12, r14
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x1400151b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400151ac
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400151e4
mov rcx, r8
call fcn.14012c2c4
mov qword [rdi], r13
mov qword [r12], 7
mov word [rbx], r13w
mov rax, r15
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400151f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor r15d, r15d
lea r14, [rcx + 0x18]
cmp qword [r14], 7
mov rdi, rcx
mov dword [rsp + 0x60], r15d
jbe 0x140015221
mov rcx, qword [rcx]
lea rsi, [rdi + 0x18]
jmp 0x140015224
mov rsi, r14
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], 2
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x1400152a5
mov rdx, qword [r14]
cmp rdx, 7
jbe 0x140015299
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140015291
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001539b
mov rcx, r8
call fcn.14012c2c4
mov r14, rsi
mov qword [r14], 7
jmp 0x14001537d
cmp rbp, 0xffffffffffffffff
jne 0x1400152fb
mov rdx, qword [r14]
cmp rdx, 7
jbe 0x1400152ed
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400152e8
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001539b
mov rcx, r8
lea rsi, [rdi + 0x18]
call fcn.14012c2c4
mov qword [rsi], 7
xor al, al
jmp 0x14001537f
lea r9, [rsp + 0x60]
mov qword [rsp + 0x68], rbx
mov r8d, 0x2200
mov qword [rsp + 0x20], r15
lea rdx, [0x14019bb30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [r14]
test bl, bl
mov rbx, qword [rsp + 0x68]
je 0x1400152ae
cmp rdx, 7
jbe 0x140015376
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140015371
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001539b
mov rcx, r8
lea rsi, [rdi + 0x18]
call fcn.14012c2c4
mov qword [rsi], 7
mov al, 1
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov word [rdi], r15w
mov qword [rdi + 0x10], r15
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400153b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor r15d, r15d
lea r14, [rcx + 0x18]
cmp qword [r14], 7
mov rdi, rcx
mov dword [rsp + 0x60], r15d
jbe 0x1400153e1
mov rcx, qword [rcx]
lea rsi, [rdi + 0x18]
jmp 0x1400153e4
mov rsi, r14
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], 2
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140015465
mov rdx, qword [r14]
cmp rdx, 7
jbe 0x140015459
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140015451
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001555b
mov rcx, r8
call fcn.14012c2c4
mov r14, rsi
mov qword [r14], 7
jmp 0x14001553d
cmp rbp, 0xffffffffffffffff
jne 0x1400154bb
mov rdx, qword [r14]
cmp rdx, 7
jbe 0x1400154ad
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400154a8
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001555b
mov rcx, r8
lea rsi, [rdi + 0x18]
call fcn.14012c2c4
mov qword [rsi], 7
xor al, al
jmp 0x14001553f
lea r9, [rsp + 0x60]
mov qword [rsp + 0x68], rbx
mov r8d, 0x21a00
mov qword [rsp + 0x20], r15
lea rdx, [0x14017a130]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [r14]
test bl, bl
mov rbx, qword [rsp + 0x68]
je 0x14001546e
cmp rdx, 7
jbe 0x140015536
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140015531
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001555b
mov rcx, r8
lea rsi, [rdi + 0x18]
call fcn.14012c2c4
mov qword [rsi], 7
mov al, 1
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov word [rdi], r15w
mov qword [rdi + 0x10], r15
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14001c5e0
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 0x14001c63d
lea rbx, [0x14015c190]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14001c624
cmp r10, 2
jb 0x14001c624
cmp byte [r9], r8b
jne 0x14001c624
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 0x14001c600
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001c67f
lea rbx, [0x14015c190]
cmp r8b, 0x23
jne 0x14001c663
cmp byte [r9], r8b
jne 0x14001c663
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 0x14001c650
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14001c7c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14001c7da
mov qword [r8], 0
lea rdx, [0x1401618c0]
call fcn.14001c690
mov rbx, rax
test rax, rax
jne 0x14001c7fa
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 0x14001c8d1
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 0x14001c8d1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14001c8d1
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 0x14001c8d1
cmp rdi, 0xffffffffffffffff
je 0x14001c8d1
mov rax, qword [0x1401eb178]
test rax, rax
je 0x14001c86e
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 0x14001c8d1
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 0x14001c8be
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401eb178]
test rax, rax
je 0x14001c8b3
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14001c8da
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14001c8cc
mov qword [r14], rdi
mov rax, rsi
jmp 0x14001c8dc
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 0x14001ffe0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r10, [0x14015c190]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dl
movzx r8d, bl
shr ebx, 8
xor r8, rax
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f40], ebx
jne 0x14002006b
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140034d90
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140020080
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x14015c190]
movss xmm2, dword [rcx + 0x110]
movss xmm3, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x14002dbb0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1401eb178]
mov edi, ecx
cmp byte [rbx + 0x4a7d], 0
jne 0x14002dc02
cmp byte [rbx + 0x4a7e], 0
jne 0x14002dc02
movsx r9d, word [rbx + 0x5ba2]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14001c440
test dil, 1
je 0x14002dd2f
jmp 0x14002dc8b
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5ba2]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14016270c]
mulss xmm1, dword [0x1401626e8]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47e8], rax
mov dword [rbx + 0x47d4], 1
movss dword [rbx + 0x47e0], xmm0
movss dword [rbx + 0x47e4], xmm1
movss xmm0, dword [rbx + 0x3904]
mulss xmm0, dword [0x1401625e4]
or dword [rbx + 0x47d0], 0x41
movss dword [rbx + 0x4830], xmm0
call fcn.14001c440
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14002dce0
lea r11, [0x14015c190]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x14002dcc3
cmp byte [r8], r9b
jne 0x14002dcc3
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 0x14002dcb0
not ecx
call fcn.1400246f0
test rax, rax
je 0x14002dd2f
cmp byte [rax + 0xb6], 0
je 0x14002dd2f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5ba2]
movsx r9d, word [rbx + 0x5ba2]
call fcn.14001c440
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140026e80
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x140033710
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 + 0x5c88], 0
lea rbx, [rcx + 0x5c90]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400337b7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14003376a
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.140035a50
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14001cf60
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c88]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c98]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1401eb02e]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400337bf
mov rcx, rbx
call fcn.14001cf60
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140033b50
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401eb178]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140033bb3
mov qword [rsp], rbx
lea rbx, [0x14015c190]
nop dword [rax]
cmp r9b, 0x23
jne 0x140033b93
cmp byte [r8], r9b
jne 0x140033b93
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 0x140033b80
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c00]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140033be7
mov r10, qword [r10 + 0x5c08]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140033bee
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140033bd4
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 0x140063ee0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x140063f14
mov eax, esi
lea ecx, [rax + 0x2a]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x140063f00
mov byte [r8 + 7], sil
lea rax, [r8 + 6]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r9, rax
je 0x140063f49
mov r8d, 6
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.140017860
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140063f57
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140018fa0
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140063fce
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140063fc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140063fc9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012c2c4
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret