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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x170
mov rax, qword [0x1401e00a8]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x50], rcx
mov r15, r8
mov rcx, rdx
mov r12, rdx
xor esi, esi
xor edi, edi
call fcn.140191984
mov rbp, rax
test rax, rax
jne 0x140142493
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.14013d758
lea rdx, str.schannel:_invalid_path_name_for_CA_file__s:__s
mov r8, r12
mov r9, rax
mov rcx, r15
call fcn.14012a8d0
mov ebx, 0x4d
jmp 0x1401425da
and qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, rbp
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1401424e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.14013d758
lea rdx, str.schannel:_failed_to_open_CA_file__s:__s
jmp 0x14014247b
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x140142530
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.14013d758
lea rdx, str.schannel:_failed_to_determine_size_of_CA_file__s:__s
mov r8, r12
mov r9, rax
mov rcx, r15
call fcn.14012a8d0
mov ebx, 0x4d
jmp 0x1401425d1
mov rbx, qword [rsp + 0x48]
mov eax, 0x100000
cmp rbx, rax
jle 0x140142553
mov r8d, eax
lea rdx, str.schannel:_CA_file_exceeds_max_size_of__u_bytes
mov rcx, r15
call fcn.14012a8d0
jmp 0x140142526
lea rcx, [rbx + 1]
call qword [fcn.140158320]
mov rsi, rax
test rax, rax
jne 0x14014256a
lea ebx, [rax + 0x1b]
jmp 0x1401425d1
test rbx, rbx
je 0x1401425b3
and dword [rsp + 0x40], 0
lea rdx, [rsi + rdi]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, ebx
mov r13d, edi
sub r8d, edi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14014261d
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x1401425aa
mov ebx, r13d
jmp 0x1401425ac
add edi, eax
mov eax, edi
cmp rax, rbx
jb 0x14014256f
mov rcx, qword [rsp + 0x50]
mov r9, r12
mov r8, rbx
mov byte [rbx + rsi], 0
mov rdx, rsi
mov qword [rsp + 0x20], r15
call fcn.140142234
mov ebx, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [fcn.140158318]
test rbp, rbp
je 0x1401425f0
mov rcx, rbp
call fcn.140158318
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140146a00
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.14013d758
lea rdx, str.schannel:_failed_to_read_from_CA_file__s:__s
jmp 0x140142518
Function at 0x1401442fc
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov r8, rdx
xor edx, edx
mov rdi, rcx
call fcn.140149310
mov r9d, 2
mov r8d, ebx
mov rdx, rdi
xor ecx, ecx
call sub.bcrypt.dll_BCryptGenRandom
mov rbx, qword [rsp + 0x30]
neg eax
sbb eax, eax
and eax, 2
add rsp, 0x20
pop rdi
ret

Function at 0x140144650
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ecx, dword [rcx + 0x20]
mov r14, rdx
add rcx, 0x18
mov ebp, r8d
lea r9d, [rax + rax]
add rcx, r9
call qword [fcn.140158320]
xor esi, esi
mov rdi, rax
test rax, rax
je 0x140144759
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1401446d2
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + ioctlsocket]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
test rbp, rbp
je 0x14014474e
mov rsi, rbp
mov al, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + ioctlsocket]
mov al, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
mov r8d, 1
mov byte [rsp + 0x40], al
inc r14
mov rcx, qword [rdi + 0x10]
call qword [rbx + ioctlsocket]
sub rbp, 1
jne 0x1401446e2
jmp 0x14014474e
mov rcx, qword [rdi + 8]
lea rdx, [0x1401c21f9]
mov r8d, 1
call qword [rbx + ioctlsocket]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1401c21fa]
mov r8d, 1
call qword [rbx + ioctlsocket]
inc rsi
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jb 0x140144723
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140158738
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140158470
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140158470
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140158470
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140158470
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140158470
cmp dword [rcx + 0x84], 0xe
jbe 0x140158470
cmp dword [rcx + 0xf8], esi
je 0x140158470
mov ecx, r14d
call fcn.140158640
mov ecx, 2
call fcn.140194614
nop
cmp byte [0x1401e1bc8], 0
jne 0x14015853a
mov r15d, 1
mov eax, r15d
xchg dword [0x1401e1bb8], eax
test ebx, ebx
jne 0x1401584e3
mov rdi, qword [0x1401e00a8]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1401e1bc0]
cmp rcx, rax
je 0x1401584da
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [0x1401b5688]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1401e1f30]
jmp 0x1401584ef
cmp ebx, r15d
jne 0x1401584f5
lea rcx, [0x1401e1f48]
call fcn.14018f384
nop
test ebx, ebx
jne 0x14015850c
lea rdx, [0x1401b58d8]
lea rcx, [0x1401b58b8]
call fcn.14018fa08
lea rdx, [0x1401b58e8]
lea rcx, [0x1401b58e0]
call fcn.14018fa08
movzx eax, byte [0x1401e1bc8]
test esi, esi
cmove eax, r15d
mov byte [0x1401e1bc8], al
jmp 0x14015853a
mov ecx, 2
call fcn.140194668
test esi, esi
jne 0x140158551
mov ecx, r14d
call fcn.14015856c
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140158400
Function at 0x140199bac
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1401997d4
call fcn.140157188
mov dword [rax], socket
call fcn.140156fdc
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1401997bc
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1401997bc
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x140199806
lock or dword [rax + 0x14], 0x10
jmp 0x1401997bc
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x140199823
mov rcx, qword [rbp + 0x10]
call fcn.1401a8790
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14019753c
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1401921c0
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14019987a
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x1401997bc
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1401998e6
mov rcx, qword [rbp + 0x10]
call fcn.14019753c
cmp eax, 0xffffffff
je 0x1401998cd
mov rcx, qword [rbp + 0x10]
call fcn.14019753c
cmp eax, 0xfffffffe
je 0x1401998cd
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14019753c
movsxd rdi, eax
lea rsi, [0x1401e29d0]
mov rcx, rbx
sar rdi, 6
call fcn.14019753c
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1401998d4
lea rax, [0x1401e04b0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1401998e6
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14019991c
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x140199918
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x140199918
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x1401997bf
jmp 0x14019978c
Function at 0x14001cc20
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 0x14001cc7d
lea rbx, [0x140070f40]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14001cc64
cmp r10, 2
jb 0x14001cc64
cmp byte [r9], r8b
jne 0x14001cc64
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 0x14001cc40
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001ccbf
lea rbx, [0x140070f40]
cmp r8b, 0x23
jne 0x14001cca3
cmp byte [r9], r8b
jne 0x14001cca3
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 0x14001cc90
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14001ce00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14001ce1a
mov qword [r8], 0
lea rdx, [0x140070bcc]
call fcn.14001ccd0
mov rbx, rax
test rax, rax
jne 0x14001ce3a
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 0x14001cf25
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 0x14001cf25
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14001cf25
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 0x14001cf25
cmp rdi, 0xffffffffffffffff
je 0x14001cf25
mov rax, qword [0x1400c3e70]
test rax, rax
je 0x14001ceb6
inc dword [rax + 0xec]
mov rdx, qword [0x1400c3e60]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x14001cf25
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 0x14001cf12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400c3e70]
test rax, rax
je 0x14001cf01
dec dword [rax + 0xec]
mov rdx, qword [0x1400c3e60]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x14001cf2e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14001cf20
mov qword [r14], rdi
mov rax, rsi
jmp 0x14001cf30
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 0x14001f010
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xc8]
mov rax, qword [rcx + 0xd0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x140070f40]
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
mov rax, qword [0x1400c3e70]
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rax + 0x3ef4], ebx
jne 0x14001f09d
mov dword [rax + 0x3ef8], ebx
cmp dword [rax + 0x3f40], ebx
jne 0x14001f0ac
mov byte [rax + 0x3f44], 1
cmp dword [rax + 0x3edc], ebx
jne 0x14001f0c3
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140031730
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14001f0d0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm2, dword [rcx + 0xe8]
lea r8, [0x140070f40]
movss xmm3, dword [rcx + 0xec]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0xd0]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0xc8]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
movss dword [rsp + 4], xmm1
subss xmm0, xmm2
movss xmm1, dword [rdx + 0xc]
mov edx, dword [rax + rcx*4 - 4]
subss xmm1, xmm3
movzx eax, byte [rsp]
not edx
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 1]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 2]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 3]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 4]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 5]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 6]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 7]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 8]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 9]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xa]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xb]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xc]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xd]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xe]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xf]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1400c3e70]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x3ef4], edx
jne 0x14001f26f
mov dword [rax + 0x3ef8], edx
cmp dword [rax + 0x3f40], edx
jne 0x14001f27e
mov byte [rax + 0x3f44], 1
mov eax, edx
add rsp, 0x18
ret
Function at 0x1400299d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r8, qword [0x1400c3e70]
lea r11, [0x140070f40]
movsxd r10, ecx
mov rbx, qword [r8 + 0x3ea8]
add rbx, 0xc8
mov rax, qword [rbx + 8]
movsxd r9, dword [rbx]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r10b
movzx ecx, dil
xor rcx, rax
shr edi, 8
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor edi, dword [r11 + rcx*4]
movzx ecx, dil
xor rdx, rcx
shr edi, 8
shr eax, 0x10
xor edi, dword [r11 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
xor rdx, rcx
xor edi, dword [r11 + rdx*4]
movzx ecx, dil
shr edi, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
xor edi, dword [r11 + rdx*4]
not edi
cmp dword [r8 + 0x3edc], edi
jne 0x140029a79
mov r8, r10
mov edx, 4
mov ecx, edi
call fcn.140031730
mov r9d, dword [rbx]
mov ecx, dword [rbx + 4]
cmp r9d, ecx
jne 0x140029aad
inc r9d
test ecx, ecx
je 0x140029a93
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140029a98
mov eax, 8
cmp eax, r9d
mov rcx, rbx
cmovg r9d, eax
mov edx, r9d
call fcn.1400326a0
mov r9d, dword [rbx]
mov rax, qword [rbx + 8]
movsxd rcx, r9d
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14002b5c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140080010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400c3e70]
mov edi, ecx
cmp byte [rbx + 0x424d], 0
jne 0x14002b621
cmp byte [rbx + 0x424e], 0
jne 0x14002b621
movsx r9d, word [rbx + 0x532e]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14001cb10
test dil, 1
je 0x14002b748
jmp 0x14002b6aa
movss xmm1, dword [rbx + 0x38b0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x532e]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140076610]
mulss xmm1, dword [0x1400765fc]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd94]
addss xmm1, dword [rbx + 0xd98]
mov qword [rbx + 0x3fc8], rax
mov dword [rbx + 0x3fb4], 1
movss dword [rbx + 0x3fc0], xmm0
movss dword [rbx + 0x3fc4], xmm1
movss xmm0, dword [rbx + 0x390c]
mulss xmm0, dword [0x14007651c]
or dword [rbx + 0x3fb0], 0x41
movss dword [rbx + 0x4010], xmm0
call fcn.14001cb10
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14002b700
lea r11, [0x140070f40]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x14002b6e3
cmp byte [r8], r9b
jne 0x14002b6e3
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 0x14002b6d0
not ecx
call fcn.140024430
test rax, rax
je 0x14002b748
cmp byte [rax + 0x8e], 0
je 0x14002b748
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x532e]
mov edx, 0x10
movsx r9d, word [rbx + 0x532e]
call fcn.14001cb10
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140026bc0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14006cbc0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140030550
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 + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400305f7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400305aa
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.140032410
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14001d630
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400c3e68]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400305ff
mov rcx, rbx
call fcn.14001d630
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140030a90
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400c3e70]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140030af3
mov qword [rsp], rbx
lea rbx, [0x140070f40]
nop dword [rax]
cmp r9b, 0x23
jne 0x140030ad3
cmp byte [r8], r9b
jne 0x140030ad3
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 0x140030ac0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5390]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140030b27
mov r10, qword [r10 + 0x5398]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140030b2e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140030b14
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 0x140059c60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140080010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r8, rcx
mov ebx, edx
movzx ecx, byte [rcx]
test cl, cl
je 0x140059cc6
lea rax, [r8 + 1]
cmp cl, 0x25
jne 0x140059c96
cmp byte [rax], cl
jne 0x140059cc2
cmp cl, cl
cmovne rax, r8
movzx ecx, byte [rax + 1]
lea r8, [rax + 1]
test cl, cl
jne 0x140059c87
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14006cbc0
add rsp, 0x90
pop rbx
ret
movzx ecx, byte [r8]
cmp cl, 0x25
jne 0x140059ca6
cmp byte [r8 + 1], cl
je 0x140059ca6
lea r11, [rsp + 0x20]
mov r9, r8
movzx edx, cl
nop dword [rax]
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x140059cfd
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x140059d25
sub dl, 0x61
cmp dl, 0x19
ja 0x140059d17
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x140059d25
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140059ce0
jmp 0x140059d28
inc r9
cmp r8, r9
jae 0x140059d5f
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x140059d54
bt rdx, rax
jb 0x140059d5a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x140059d40
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.14001cb10
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x140059d98
nop
inc rcx
cmp byte [rcx], 0x20
je 0x140059d90
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x140059e1b
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x140059dba
movzx r8d, byte [rcx + 1]
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, r8b
cmp r8b, 0x2b
jne 0x140059dc8
movzx eax, byte [rcx + 1]
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
cmp al, 0x30
jl 0x140059e06
movss xmm2, dword [0x140076600]
nop
cmp al, 0x39
ja 0x140059e06
movzx eax, al
inc rdx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x140059de0
cmp r9b, 0x2d
jne 0x140059e28
xorps xmm1, xmmword [0x140076d10]
movaps xmm0, xmm1
jmp 0x140059ca9
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x140059ca9