joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14013ecf0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14013edbc
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14013edbc
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14013edd5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14013edac
cmp byte [rax], 0x5c
jne 0x14013eda6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x14013eda6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14013ed92
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x14013eda3
test r8b, 0x10
jne 0x14013eda6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x14013eda6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1401393f0
test edi, edi
jne 0x14013ed10
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1401393e0
int3

Function at 0x140140fc0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
sub rsp, 0x3c8
movzx eax, byte [rcx]
lea r9, [rcx + 1]
xor r8d, r8d
mov r11, rdx
mov dword [rdx], r8d
cmp al, 0x2d
jne 0x140141037
movzx ecx, byte [r9]
test cl, cl
je 0x14014102f
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1401410c8
movsx r10d, cl
mov eax, 0x66666667
sub r10d, 0x30
lea ecx, [r10 - 0x80000000]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r8d, edx
jl 0x1401410c2
lea r8d, [r8 + r8*4]
inc r9
add r8d, r8d
sub r8d, r10d
mov dword [r11], r8d
movzx ecx, byte [r9]
test cl, cl
jne 0x140140fe3
add rsp, 0x3c8
ret
cmp al, 0x2b
cmovne r9, rcx
movzx ecx, byte [r9]
test cl, cl
je 0x14014102f
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140141094
movsx r10d, cl
mov eax, 0x66666667
mov ecx, 0x8000002f
sub ecx, r10d
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r8d, edx
jg 0x1401410f6
lea r8d, [r8 + r8*4]
inc r9
lea r8d, [r8 - 0x18]
lea r8d, [r10 + r8*2]
mov dword [r11], r8d
movzx ecx, byte [r9]
test cl, cl
jne 0x140141045
add rsp, 0x3c8
ret
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x3a0
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call fcn.140140440
lea rdx, [0x1403d2f50]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140140f80
int3
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x3a0
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call fcn.140140440
lea rdx, [0x1403d2f50]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1401416c0
int3
Function at 0x14015ff00
Capabilities:
Set thread local storage value

Disassembly:
mov eax, 0x28
call fcn.140261900
sub rsp, rax
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x14017d970
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov eax, 0x20
call fcn.140261900
sub rsp, rax
mov rbx, rcx
mov rsi, rdx
mov rcx, rdx
call fcn.14017c510
test eax, eax
je 0x14017d9af
xor edx, edx
mov rcx, rbx
call fcn.14017c9c0
mov eax, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rbp
mov ebp, dword [rsi + 8]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], r14
mov r14, qword [rsi]
lea eax, [rbp - 1]
movsxd rdi, eax
xor eax, eax
mov rcx, qword [r14 + rdi*8]
cmp rcx, 1
sete al
sub ebp, eax
cmp rsi, rbx
je 0x14017d9f7
mov edx, ebp
mov rcx, rbx
call fcn.14017cf30
test rax, rax
je 0x14017da5d
mov eax, dword [rsi + 0x10]
mov dword [rbx + 0x10], eax
mov rcx, qword [r14 + rdi*8]
mov rax, qword [rbx]
mov rdx, rcx
xor rdx, 1
inc rdx
neg rdx
shl rdx, 0x3f
lea r8, [rax + rdi*8]
shr rcx, 1
je 0x14017da17
mov qword [r8], rcx
test rdi, rdi
jle 0x14017da4e
sub r14, rax
nop
mov rcx, qword [r14 + r8 - 8]
lea r8, [r8 - 8]
mov rax, rcx
dec rdi
shr rax, 1
or rax, rdx
mov rdx, rcx
xor rdx, 1
mov qword [r8], rax
inc rdx
neg rdx
shl rdx, 0x3f
test rdi, rdi
jg 0x14017da20
mov dword [rbx + 8], ebp
test ebp, ebp
jne 0x14017da58
mov dword [rbx + 0x10], ebp
mov eax, 1
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret

Function at 0x14018fea0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, 0x28
call fcn.140261900
sub rsp, rax
lea rcx, [0x1403e6020]
add rsp, 0x28
jmp fcn.14015fd60
Function at 0x1401b23b0
Capabilities:
Query environment variable

Disassembly:
push rbx
mov eax, 0x20
call fcn.140261900
sub rsp, rax
mov rbx, rcx
call fcn.140122a00
test eax, eax
je 0x1401b23d3
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]

Function at 0x1401ccf30
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x38
call fcn.140261900
sub rsp, rax
mov r10, rdx
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
add rdx, 0xf
lea rax, [r8 + 0xf]
mov r11, rcx
cmp r10, rax
ja 0x1401ccf60
xor r9d, r9d
cmp rdx, r8
jae 0x1401ccf79
movdqu xmm1, xmmword [r10]
movdqu xmm0, xmmword [r8]
pxor xmm1, xmm0
movdqu xmmword [r10], xmm1
mov r9d, reloc.WS2_32.dll_recv
cmp r9, 0x10
jae 0x1401ccfa1
sub r8, r10
lea rax, [r9 + r10]
mov edx, reloc.WS2_32.dll_recv
sub rdx, r9
nop
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x1401ccf90
mov rcx, qword [r11 + 8]
lea r8, [rsp + 0x40]
mov r9, r10
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov rdx, r10
call fcn.1401c0de0
test eax, eax
je 0x1401ccfd2
cmp dword [rsp + 0x40], 0x10
jne 0x1401ccfd2
mov eax, 1
add rsp, 0x38
ret
xor eax, eax
add rsp, 0x38
ret

Function at 0x1401cd180
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x1401cd208
test r8, r8
je 0x1401cd208
mov rax, qword [rcx + 0x18]
cmp r8, rax
mov r9, rax
cmovb r9, r8
test r9, r9
je 0x1401cd1c6
add rcx, 0x20
mov r11, rdx
sub r11, r10
nop
movzx eax, byte [r11 + rcx - 0x20]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r9, 1
jne 0x1401cd1b0
mov rax, qword [r10 + 0x18]
cmp r8, rax
jbe 0x1401cd208
sub r8, rax
mov eax, reloc.WS2_32.dll_recv
cmp r8, rax
cmova r8, rax
xor ecx, ecx
test r8, r8
je 0x1401cd208
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r10 + 0x18]
add rax, rcx
movzx eax, byte [rax + rdx]
xor byte [r10 + rcx + 0x40], al
inc rcx
cmp rcx, r8
jb 0x1401cd1f0
ret
Function at 0x1402098e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x38
call fcn.140261900
sub rsp, rax
cmp dword [rsp + 0x68], 0
je 0x140209909
lea rax, [0x140207f50]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.140201130
lea rax, [0x140207110]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.140200e80
Function at 0x140253880
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov eax, 0x20
call fcn.140261900
sub rsp, rax
mov rax, qword [rcx + 8]
lea rsi, [r9 + 1]
mov rbx, rdx
mov rdx, qword [rdx + 8]
mov r9, qword [rax + 0xc0]
test byte [r9 + 0x60], 1
je 0x140253909
lea rax, [rsi + r8]
cmp rax, rdx
ja 0x14025390e
add qword [rbx + 0x20], r8
sub rdx, r8
add qword [rbx + 0x28], r8
sub qword [rbx + 0x10], r8
mov qword [rbx + 8], rdx
mov rax, qword [rbx + 0x20]
mov rcx, qword [rcx + 0x430]
mov qword [rsp + 0x40], rdi
movzx edi, byte [rax + rdx - 1]
call fcn.1401499c0
mov rcx, rax
call fcn.1401460c0
mov r8, qword [rbx + 8]
and eax, 0x200000
je 0x14025391b
sub r8, rdi
mov eax, 1
dec r8
jmp 0x1402539d6
cmp rsi, rdx
jbe 0x1402538cc
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
lea rcx, [rdi + rsi]
mov qword [rsp + 0x38], rbp
mov ebp, 0x100
mov r9, r8
sub r9, rcx
mov rax, r8
xor r9, rcx
xor rax, rcx
or r9, rax
xor r9, r8
shr r9, 0x3f
dec r9
cmp r8, rbp
cmovb rbp, r8
xor r10d, r10d
test rbp, rbp
je 0x1402539ad
mov r11, qword [rbx + 0x20]
mov rsi, rdi
shr rsi, 0x3f
dec r11
add r11, r8
nop word [rax + rax]
mov rax, r10
lea r11, [r11 - 1]
shr rax, 0x3f
mov rcx, rdi
sub rcx, r10
inc r10
shr rcx, 0x3f
xor cl, al
xor al, sil
or cl, al
movzx eax, byte [r11 + 1]
dec cl
movzx edx, cl
mov rcx, rdi
xor rcx, rax
and rdx, rcx
not rdx
and r9, rdx
cmp r10, rbp
jb 0x140253970
mov rbp, qword [rsp + 0x38]
lea rax, [rdi + 1]
not r9
movzx ecx, r9b
dec rcx
shr rcx, 0x3f
neg rcx
and rax, rcx
sub r8, rax
mov eax, ecx
and eax, 1
not ecx
or eax, ecx
mov rdi, qword [rsp + 0x40]
mov qword [rbx + 8], r8
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
Function at 0x140261cd4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140261d1e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140261d1e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140261d1e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140261d1e
cmp dword [rcx + 0x84], 0xe
jbe 0x140261d1e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140261d20
xor al, al
add rsp, 0x28
ret
Function at 0x1417dc1b8
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1417dc33f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1417dc1e9
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417dc1cf
add dl, dl
jne 0x1417dc1f6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417dc256
xor eax, eax
add dl, dl
jne 0x1417dc205
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417dc30d
add dl, dl
jne 0x1417dc216
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417dc223
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417dc230
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417dc23d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1417dc24a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1417dc1de
mov eax, 1
add dl, dl
jne 0x1417dc266
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417dc273
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417dc25b
sub eax, ebx
mov ebx, 1
jne 0x1417dc2ac
mov ecx, 1
add dl, dl
jne 0x1417dc28e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1417dc29b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417dc283
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417dc1de
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1417dc2c8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1417dc2d5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417dc2bd
cmp eax, 0x7d00
jae 0x1417dc2fb
cmp eax, 0x500
jb 0x1417dc2f6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417dc1de
cmp eax, 0x7f
ja 0x1417dc2fe
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417dc1de
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1417dc332
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1417dc1de
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140003030
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 0x14000308d
lea rbx, [0x140084b80]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003074
cmp r10, 2
jb 0x140003074
cmp byte [r9], r8b
jne 0x140003074
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 0x140003050
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400030cf
lea rbx, [0x140084b80]
cmp r8b, 0x23
jne 0x1400030b3
cmp byte [r9], r8b
jne 0x1400030b3
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 0x1400030a0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003210
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000322a
mov qword [r8], 0
lea rdx, [0x1400846fc]
call fcn.1400030e0
mov rbx, rax
test rax, rax
jne 0x14000324a
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 0x140003321
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 0x140003321
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003321
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 0x140003321
cmp rdi, 0xffffffffffffffff
je 0x140003321
mov rax, qword [0x1400dc040]
test rax, rax
je 0x1400032be
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 0x140003321
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 0x14000330e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400dc040]
test rax, rax
je 0x140003303
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000332a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000331c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000332c
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 0x140008130
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xf0]
lea r9, [0x140084b80]
mov r8, rdx
movsxd rdx, dword [rcx + 0xe8]
mov ebx, dword [rax + rdx*4 - 4]
not ebx
movzx eax, r8b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov rax, r8
shr rax, 8
movzx edx, al
mov rax, r8
xor ebx, dword [r9 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr rax, 0x10
xor ebx, dword [r9 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x18
xor ebx, dword [r9 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x20
xor ebx, dword [r9 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x28
xor ebx, dword [r9 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x30
xor ebx, dword [r9 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x38
xor ebx, dword [r9 + rdx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r9 + rcx*4]
mov rcx, qword [0x1400dc040]
not ebx
cmp dword [rcx + 0x3ee8], ebx
jne 0x140008220
mov edx, 0xc
mov ecx, ebx
call fcn.14001c180
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140008230
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xe8]
mov rax, qword [rcx + 0xf0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x140084b80]
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 [0x1400dc040]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ee8], ebx
jne 0x1400082c6
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.14001c180
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400082d0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf0]
lea r9, [0x140084b80]
movss xmm2, dword [rcx + 0x108]
movss xmm3, dword [rcx + 0x10c]
movsxd rcx, dword [rcx + 0xe8]
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 0x1400152f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400db010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400dc040]
mov edi, ecx
cmp byte [rbx + 0x4a2d], 0
jne 0x140015351
cmp byte [rbx + 0x4a2e], 0
jne 0x140015351
movsx r9d, word [rbx + 0x5b2a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002ef0
test dil, 1
je 0x140015478
jmp 0x1400153da
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b2a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400cbc98]
mulss xmm1, dword [0x1400cbc7c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x4790], rax
mov dword [rbx + 0x477c], 1
movss dword [rbx + 0x4788], xmm0
movss dword [rbx + 0x478c], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x1400cbbc4]
or dword [rbx + 0x4778], 0x41
movss dword [rbx + 0x47d8], xmm0
call fcn.140002ef0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140015430
lea r11, [0x140084b80]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140015413
cmp byte [r8], r9b
jne 0x140015413
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 0x140015400
not ecx
call fcn.14000c320
test rax, rax
je 0x140015478
cmp byte [rax + 0xae], 0
je 0x140015478
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b2a]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b2a]
call fcn.140002ef0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000eaf0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14007fba0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001ab20
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 + 0x5c10], 0
lea rbx, [rcx + 0x5c18]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001abc7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001ab7a
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.14001ce80
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003a70
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c10]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c20]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400dc038]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001abcf
mov rcx, rbx
call fcn.140003a70
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001b140
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400dc040]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001b1a3
mov qword [rsp], rbx
lea rbx, [0x140084b80]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001b183
cmp byte [r8], r9b
jne 0x14001b183
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 0x14001b170
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b88]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001b1d7
mov r10, qword [r10 + 0x5b90]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001b1de
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001b1c4
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 0x14001eb60
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400db010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rdx
xor dil, dil
cmp qword [rdx + 0x10], 0
je 0x14001ec4a
mov rax, qword [rcx]
call qword [rax + 0x10]
test al, al
jne 0x14001ec4a
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140020480
nop
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14001ebc8
mov dil, 1
jmp 0x14001ec05
lea rdx, str.Error_creating_directory
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140034c90
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14001ebe9
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140038550
lea rdx, [0x140034e60]
mov rcx, rax
call qword [sym.imp.MSVCP140.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]
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14001ec4a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ec45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ec45
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007fe0c
movzx eax, dil
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14007fba0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret