joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140097c10
Capabilities:
Hide graphical window

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1400e5028]
xor rax, rsp
mov qword [rsp + 0x140], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
call fcn.140001750
cmp byte [0x1400e6452], 0
je 0x140097d12
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rdx, str.categories.txt
lea rcx, [rsp + 0x30]
call fcn.14000bf40
nop
cmp qword [rsp + 0xc0], 0
je 0x140097cb3
lea rcx, [rsp + 0x30]
call fcn.140002770
lea rcx, [rsp + 0x40]
call fcn.14000dfa0
test rax, rax
jne 0x140097cb3
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x40]
call fcn.14000cc00
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
cmp qword [0x1400e6530], 0
jne 0x140097d12
call fcn.140003230
call fcn.140002550
cmp byte [0x1400e6451], 0
jne 0x140097d24
cmp byte [0x1400e6450], 0
je 0x140097d3d
call fcn.140006b80
cmp qword [0x1400e64f0], 0
jne 0x140097d3d
call fcn.140007460
call fcn.140007150
call fcn.14009a8d0
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14009e1d0
add rsp, 0x158
ret
Function at 0x14009d8e0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14009d964
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400a5a20]
cmp byte [rcx + rax], 0
je 0x14009d964
dec r8
sub rdx, 1
jne 0x14009d94a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14009f038
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x58]
xor r15d, r15d
mov r11, qword [rsp + 0x70]
mov r13, rdx
mov rax, qword [rsp + 0x60]
mov qword [r14], r8
mov qword [r11], rax
mov rdi, qword [r14]
cmp rdi, r9
je 0x140007a13
mov r12, qword [rsp + 0x68]
lea r8d, [r15 + 1]
mov rsi, qword [r11]
mov r9d, 0x3ff
mov r10d, 0x2400
mov ebx, 0x2800
cmp rsi, r12
je 0x140007a13
movzx edx, word [r13]
xor bpl, bpl
movzx ecx, word [rdi]
cmp r8w, dx
jae 0x140007919
lea eax, [r10 + rcx]
cmp ax, r9w
ja 0x140007a37
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x14000792f
mov eax, ecx
add cx, bx
cmp cx, r9w
ja 0x14000792f
shl eax, 0xa
mov bpl, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x140007942
movzx r9d, al
mov r10d, r15d
mov ebx, r15d
jmp 0x14000798d
mov r9d, eax
cmp eax, 0x800
jae 0x14000795c
shr r9d, 6
mov r10d, r8d
or r9b, 0xc0
mov ebx, r8d
jmp 0x14000798d
cmp eax, 0x10000
jae 0x140007976
shr r9d, 0xc
mov r10d, 2
or r9b, 0xe0
mov ebx, r10d
jmp 0x14000798d
shr r9d, 0x12
mov r10d, 3
movzx ebx, bpl
or r9b, 0xf0
xor ebx, 1
add ebx, ebx
lea r8d, [rbx + 1]
mov rdx, r12
sub rdx, rsi
mov ecx, r8d
cmp rdx, rcx
jl 0x140007a13
lea rcx, [rdi + 2]
mov qword [r14], rcx
test bpl, bpl
jne 0x1400079b1
cmp r10d, 3
jae 0x1400079bd
mov rcx, qword [r11]
mov r8d, ebx
mov byte [rcx], r9b
inc qword [r11]
mov r9, qword [r11]
test r8d, r8d
jle 0x1400079ee
lea ecx, [r10 + r10*2]
add ecx, ecx
nop dword [rax + rax]
sub ecx, 6
mov edx, eax
shr edx, cl
dec r8d
and dl, 0x3f
or dl, 0x80
mov byte [r9], dl
inc qword [r11]
mov r9, qword [r11]
test r8d, r8d
jg 0x1400079d0
shr eax, 0xa
mov r8d, 1
test bpl, bpl
mov ecx, r8d
cmovne ecx, eax
mov word [r13], cx
mov rdi, qword [r14]
cmp rdi, qword [rsp + 0x50]
jne 0x1400078ce
mov rax, qword [rsp + 0x48]
cmp rax, qword [r14]
sete r15b
mov eax, r15d
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov eax, 2
jmp 0x140007a22
Function at 0x14001a150
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rcx, qword [0x1400225e0]
call fcn.140015de0
mov rcx, qword [0x1400225e0]
call fcn.14000bee0
mov rcx, qword [0x1400225e0]
call fcn.140017bb0
mov rax, qword [0x1400225f0]
xor ebp, ebp
test rax, rax
jne 0x14001a257
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop dword [rax]
nop word [rax + rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x14001a238
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x14001a238
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0xc247aecb
lea rax, [rdi + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x14001a233
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x14001a210
cmp edx, 0xd8440253
je 0x14001a359
test r8d, r8d
jne 0x14001a1f0
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x14001a24d
cmp qword [rax + 0x30], rbp
jne 0x14001a1c0
mov rax, rbp
mov qword [0x1400225f0], rax
mov qword [rsp + 0x28], rbp
lea r8, [0x140006460]
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call rax
mov rax, qword [0x1400225e8]
test rax, rax
jne 0x14001a333
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop word [rax + rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x14001a314
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x14001a314
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x7cb48bf1
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x14001a30f
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x14001a2f0
cmp edx, 0x996deb05
je 0x14001a375
test r8d, r8d
jne 0x14001a2d0
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x14001a329
cmp qword [rax + 0x30], rbp
jne 0x14001a2a0
mov rax, rbp
mov qword [0x1400225e8], rax
mov qword [rsp + 0x28], rbp
lea r8, [0x140011f90]
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call rax
mov rcx, qword [0x1400225e0]
call fcn.1400123b0
int3
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x14001a250
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x14001a32c
Function at 0x14001a3a8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14001a42c
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14001d380]
cmp byte [rcx + rax], 0
je 0x14001a42c
dec r8
sub rdx, 1
jne 0x14001a412
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14001b288
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001b2d2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001b2d2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001b2d2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001b2d2
cmp dword [rcx + 0x84], 0xe
jbe 0x14001b2d2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001b2d4
xor al, al
add rsp, 0x28
ret
Function at 0x140002d20
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 0x140002d81
lea rbx, [0x140051d30]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002d64
cmp r10, 2
jb 0x140002d64
cmp byte [r9], r8b
jne 0x140002d64
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
mov ecx, eax
xor rdx, r8
shr ecx, 8
mov eax, dword [rbx + rdx*4]
xor eax, ecx
test r10, r10
jne 0x140002d40
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140002dc7
lea rbx, [0x140051d30]
cmp r8b, 0x23
jne 0x140002da7
cmp byte [r9], r8b
jne 0x140002da7
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
mov ecx, eax
inc r9
shr ecx, 8
mov eax, dword [rbx + rdx*4]
xor eax, ecx
test r8b, r8b
jne 0x140002d94
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002ef0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140002f0a
mov qword [r8], 0
lea rdx, [0x140051b80]
call fcn.140002dd0
mov rbx, rax
test rax, rax
jne 0x140002f2a
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 0x140003001
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 0x140003001
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003001
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 0x140003001
cmp rdi, 0xffffffffffffffff
je 0x140003001
mov rax, qword [0x140069c60]
test rax, rax
je 0x140002f9e
inc dword [rax + 0x3bc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140003001
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 0x140002fee
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140069c60]
test rax, rax
je 0x140002fe3
dec dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000300a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140002ffc
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000300c
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 0x140004d60
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
movss xmm0, dword [rdx]
lea r14, [0x140051d30]
movss xmm1, dword [rdx + 4]
subss xmm0, dword [rcx + 0x10]
subss xmm1, dword [rcx + 0x14]
mov rax, qword [rcx + 0xc8]
cvttss2si r11d, xmm0
movss xmm0, dword [rdx + 8]
subss xmm0, dword [rcx + 0x10]
cvttss2si ebx, xmm1
movss xmm1, dword [rdx + 0xc]
subss xmm1, dword [rcx + 0x14]
movsxd rcx, dword [rcx + 0xc0]
cvttss2si edi, xmm0
mov edx, dword [rax + rcx*4 - 4]
not edx
movzx eax, r11b
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov eax, r11d
shr eax, 8
cvttss2si esi, xmm1
mov r8d, dword [r14 + rcx*4]
xor r8d, edx
movzx edx, al
movzx ecx, r8b
mov eax, r11d
xor rdx, rcx
shr r8d, 8
shr eax, 0x10
mov r9d, dword [r14 + rdx*4]
xor r9d, r8d
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
movzx eax, bl
mov r10d, dword [r14 + rdx*4]
xor r10d, r9d
mov edx, r11d
shr rdx, 0x18
movzx ecx, r10b
xor rdx, rcx
shr r10d, 8
mov r8d, dword [r14 + rdx*4]
xor r8d, r10d
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
mov eax, ebx
shr eax, 8
movzx edx, al
mov eax, ebx
mov r9d, dword [r14 + rcx*4]
xor r9d, r8d
shr eax, 0x10
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov r8d, dword [r14 + rdx*4]
xor r8d, r9d
movzx edx, al
movzx ecx, r8b
xor rdx, rcx
shr r8d, 8
movzx eax, dil
mov r9d, dword [r14 + rdx*4]
xor r9d, r8d
mov edx, ebx
movzx ecx, r9b
shr r9d, 8
shr rdx, 0x18
xor rdx, rcx
mov r8d, dword [r14 + rdx*4]
xor r8d, r9d
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
mov r9d, dword [r14 + rcx*4]
xor r9d, r8d
movzx ecx, r9b
mov eax, edi
shr eax, 8
movzx edx, al
mov eax, edi
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
mov r8d, dword [r14 + rdx*4]
xor r8d, r9d
movzx edx, al
movzx ecx, r8b
xor rdx, rcx
shr r8d, 8
movzx eax, sil
mov r9d, dword [r14 + rdx*4]
xor r9d, r8d
mov edx, edi
movzx ecx, r9b
shr rdx, 0x18
xor rdx, rcx
shr r9d, 8
mov r8d, dword [r14 + rdx*4]
xor r8d, r9d
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
mov eax, esi
shr eax, 8
movzx edx, al
mov eax, esi
mov r9d, dword [r14 + rcx*4]
xor r9d, r8d
shr eax, 0x10
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov r8d, dword [r14 + rdx*4]
xor r8d, r9d
movzx edx, al
movzx ecx, r8b
xor rdx, rcx
shr r8d, 8
mov r9d, dword [r14 + rdx*4]
xor r9d, r8d
mov edx, esi
movzx ecx, r9b
shr rdx, 0x18
xor rdx, rcx
shr r9d, 8
mov rcx, qword [0x140069c60]
mov eax, dword [r14 + rdx*4]
xor eax, r9d
not eax
cmp dword [rcx + 0x1ac8], eax
jne 0x140004f66
mov dword [rcx + 0x1acc], eax
cmp dword [rcx + 0x1b08], eax
jne 0x140004f75
mov byte [rcx + 0x1b0c], 1
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
ret
Function at 0x1400073a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
xor eax, eax
lea r8, [0x140051abd]
mov dword [rsp + 0x2c], eax
lea r11, [0x140051d30]
mov qword [rsp + 0x38], rax
mov r10d, 0xffffffff
mov qword [rsp + 0x60], rax
mov rbx, rcx
lea rax, str.Window
mov edx, r10d
mov qword [rsp + 0x20], rax
mov r9b, 0x57
cmp r9b, 0x23
jne 0x1400073f6
cmp byte [r8], r9b
jne 0x1400073f6
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
mov eax, edx
inc r8
shr eax, 8
mov edx, dword [r11 + rcx*4]
xor edx, eax
test r9b, r9b
jne 0x1400073e3
mov ecx, dword [rbx + 0x302c]
lea rax, [0x140013c80]
mov edi, dword [rbx + 0x3028]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x140013d10]
mov qword [rsp + 0x40], rax
lea rax, [0x140013e10]
mov qword [rsp + 0x48], rax
lea rax, [0x140013ee0]
mov qword [rsp + 0x50], rax
lea rax, [0x140013fc0]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x140007524
inc edi
test ecx, ecx
je 0x14000747e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140007483
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x140007524
mov rax, qword [0x140069c60]
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x88], rsi
test rax, rax
je 0x1400074b2
inc dword [rax + 0x3bc]
movsxd rax, edi
lea rcx, [rax + rax*8]
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, qword [rbx + 0x3030]
mov rbp, rax
test rsi, rsi
je 0x140007507
movsxd rcx, dword [rbx + 0x3028]
mov rdx, rsi
lea r8, [rcx + rcx*8]
mov rcx, rax
shl r8, 3
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [0x140069c60]
test rcx, rcx
je 0x1400074fe
dec dword [rcx + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [rsp + 0x88]
mov qword [rbx + 0x3030], rbp
mov rbp, qword [rsp + 0x80]
mov dword [rbx + 0x302c], edi
movsxd rax, dword [rbx + 0x3028]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 0x3030]
movups xmmword [rax + rcx*8], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + rcx*8 + 0x20], xmm0
movsd xmm0, qword [rsp + 0x60]
movups xmmword [rax + rcx*8 + 0x30], xmm1
movsd qword [rax + rcx*8 + 0x40], xmm0
inc dword [rbx + 0x3028]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
Function at 0x14000db20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x140069c60]
mov r9d, ecx
mov rbx, qword [rax + 0x1a80]
add rbx, 0xc0
movzx eax, r9b
lea r9, [0x140051d30]
movsxd r10, dword [rbx]
mov r11, qword [rbx + 8]
mov r8d, dword [r11 + r10*4 - 4]
not r8d
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x31]
mov edx, dword [r9 + rcx*4]
xor edx, r8d
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x32]
mov r8d, dword [r9 + rcx*4]
xor r8d, edx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x33]
mov edx, dword [r9 + rcx*4]
xor edx, r8d
mov r8d, dword [rbx + 4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov edi, dword [r9 + rcx*4]
xor edi, edx
not edi
cmp r10d, r8d
jne 0x14000dbee
lea ecx, [r10 + 1]
test r8d, r8d
je 0x14000dbd3
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14000dbd8
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140014e50
mov r10d, dword [rbx]
mov r11, qword [rbx + 8]
movsxd rax, r10d
mov dword [r11 + rax*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000ea50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140069010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140069c60]
mov edi, edx
cmp byte [rbx + 0x1f9d], 0
jne 0x14000eab0
cmp byte [rbx + 0x1f9e], 0
jne 0x14000eab0
mov r9d, dword [rbx + 0x2fdc]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002c10
test dil, 1
je 0x14000ebd4
jmp 0x14000eb38
movss xmm1, dword [rbx + 0x1610]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x2fdc]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14005f9bc]
mulss xmm1, dword [0x14005f99c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x130]
addss xmm1, dword [rbx + 0x134]
mov qword [rbx + 0x1b38], rax
mov dword [rbx + 0x1b24], 1
movss dword [rbx + 0x1b30], xmm0
movss dword [rbx + 0x1b34], xmm1
movss xmm0, dword [rbx + 0x166c]
mulss xmm0, dword [0x14005f8bc]
or dword [rbx + 0x1b20], 0x41
movss dword [rbx + 0x1b80], xmm0
call fcn.140002c10
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x14000eb8c
lea r11, [0x140051d30]
cmp r9b, 0x23
jne 0x14000eb6b
cmp byte [r8], r9b
jne 0x14000eb6b
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
mov eax, edx
inc r8
shr eax, 8
mov edx, dword [r11 + rcx*4]
xor edx, eax
test r9b, r9b
jne 0x14000eb58
not edx
mov ecx, edx
call fcn.140008f20
test rax, rax
je 0x14000ebd4
cmp byte [rax + 0x7e], 0
je 0x14000ebd4
mov byte [rax + 0x85], 1
lea r8, str.Tooltip__02d
mov dword [rax + 0x9c], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2fdc]
mov edx, 0x10
mov r9d, dword [rbx + 0x2fdc]
call fcn.140002c10
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000ae30
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004e4c0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140013420
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x140069c60]
cmp byte [rbx + 0x3048], 0
je 0x14001350c
cmp qword [rbx + 0x3050], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x3058]
je 0x1400134f4
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x14001349b
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140014d20
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.140003690
mov eax, dword [rdi]
lea rcx, [0x140069c58]
mov r9, qword [rbx + 0x3050]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rbx + 0x3060]
cmove edx, ebp
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.140003690
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x140013b30
Capabilities:
Write file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov rbx, qword [0x140069c60]
xor r15d, r15d
mov r14, rcx
mov dword [rbx + 0x3014], r15d
test rcx, rcx
je 0x140013c6b
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
lea rdi, [rbx + 0x3018]
mov dword [rbx + 0x3014], r15d
mov r8d, dword [rdi + 4]
test r8d, r8d
jns 0x140013b9c
mov eax, r8d
mov rcx, rdi
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, r8d
test eax, eax
cmovg edx, eax
call fcn.140014d20
mov r8d, dword [rdi + 4]
mov dword [rdi], r15d
mov eax, r15d
test r8d, r8d
jne 0x140013bb5
lea edx, [r8 + 8]
mov rcx, rdi
call fcn.140014d20
mov eax, dword [rdi]
movsxd rcx, eax
mov ebp, r15d
mov rax, qword [rdi + 8]
mov byte [rcx + rax], r15b
inc dword [rdi]
mov ecx, dword [rdi]
cmp dword [rbx + 0x3028], r15d
jle 0x140013c07
mov rsi, r15
nop dword [rax]
nop word [rax + rax]
mov r9, qword [rbx + 0x3030]
mov r8, rdi
add r9, rsi
mov rcx, rbx
mov rdx, r9
call qword [r9 + 0x38]
inc ebp
add rsi, 0x48
cmp ebp, dword [rbx + 0x3028]
jl 0x140013be0
mov ecx, dword [rdi]
test ecx, ecx
lea eax, [rcx - 1]
lea rdi, [0x140069c58]
mov rcx, r14
cmove eax, r15d
lea rdx, [0x140051b84]
movsxd rsi, eax
mov rax, qword [rbx + 0x3020]
test rax, rax
cmovne rdi, rax
call fcn.140002dd0
mov rbp, qword [rsp + 0x40]
mov rbx, rax
test rax, rax
je 0x140013c61
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret