joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14018ec64
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14017ff9c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14017ff9c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14018edb4
cmp rax, 0xffffffffffffffff
je 0x14018edb4
xor edi, edi
test rbp, rbp
jle 0x14018ed5f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14017ce38
mov rbx, rax
test rax, rax
jne 0x14018ecec
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14018ed55
mov edx, 0x8000
mov ecx, r14d
call fcn.14017ac2c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14017ece8
cmp eax, 0xffffffff
je 0x14018ed35
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14018ecfc
mov edx, r15d
mov ecx, r14d
call fcn.14017ac2c
jmp 0x14018ed55
cmp byte [rsi + 0x38], dil
je 0x14018ed4c
cmp dword [rsi + 0x34], 5
jne 0x14018ed4c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14018ed55
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14017ceb0
jmp 0x14018edc8
jns 0x14018edc8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14017ff9c
cmp rax, 0xffffffffffffffff
jne 0x14018ed80
cmp byte [rsi + 0x30], dil
je 0x14018edc8
mov edi, dword [rsi + 0x2c]
jmp 0x14018edc8
mov ecx, r14d
call fcn.1401881a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14018edc8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14018edc8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14018edc1
mov eax, dword [rsi + 0x2c]
jmp 0x14018edc6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14017ff9c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1401a1be0
Capabilities:
Check os version

Disassembly:
sub rsp, 0xc8
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1401a1c18
cmp dword [rsp + 0x24], 6
jb 0x1401a1c18
jne 0x1401a1c0e
cmp dword [rsp + 0x28], 2
jb 0x1401a1c18
xor al, al
add rsp, 0xc8
ret
mov al, 1
add rsp, 0xc8
ret
Function at 0x14024a720
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x38
call fcn.140150200
sub rsp, rax
mov r10, rcx
test r9, r9
jne 0x14024a75c
mov edx, 0xe2
mov dword [rsp + 0x20], 0x9a
lea r9, str.crypto_asn1_a_int.c
lea ecx, [rax - 0x2b]
lea r8d, [rdx - 4]
call fcn.14023d590
xor eax, eax
add rsp, 0x38
ret
movzx r11d, byte [r8]
and r11d, 0x80
test rdx, rdx
je 0x14024a76f
mov dword [rdx], r11d
cmp r9, 1
jne 0x14024a791
test r10, r10
je 0x14024a787
movzx eax, byte [r8]
test r11d, r11d
je 0x14024a785
neg al
mov byte [rcx], al
mov eax, 1
add rsp, 0x38
ret
movzx ecx, byte [r8]
test cl, cl
jne 0x14024a7a3
mov eax, 1
jmp 0x14024a85a
xor eax, eax
cmp cl, 0xff
jne 0x14024a893
xor edx, edx
lea rcx, [r9 - 1]
mov eax, 1
cmp r9, rax
jbe 0x14024a84f
cmp rcx, 8
jb 0x14024a840
and ecx, 7
mov rdx, r9
sub rdx, rcx
xorps xmm3, xmm3
xorps xmm2, xmm2
nop word [rax + rax]
movd xmm1, dword [rax + r8]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
orps xmm3, xmm1
movd xmm1, dword [r8 + rax + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
orps xmm2, xmm1
cmp rax, rdx
jb 0x14024a7e0
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd edx, xmm2
cmp rax, r9
jae 0x14024a84f
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rax + r8]
inc rax
or edx, ecx
cmp rax, r9
jb 0x14024a840
xor eax, eax
test edx, edx
setne al
test edx, edx
je 0x14024a893
movzx ecx, byte [r8 + 1]
and ecx, 0x80
cmp r11d, ecx
jne 0x14024a893
mov edx, 0xe2
mov dword [rsp + 0x20], 0xbb
lea r9, str.crypto_asn1_a_int.c
mov ecx, 0xd
lea r8d, [rdx - 5]
call fcn.14023d590
xor eax, eax
add rsp, 0x38
ret
mov qword [rsp + 0x30], rbx
mov rbx, r9
sub rbx, rax
test r10, r10
je 0x14024a8dd
neg r11d
sbb r11d, r11d
add r9, r8
movzx r11d, r11b
mov edx, r11d
and edx, 1
test rbx, rbx
je 0x14024a8dd
mov r8, rbx
nop
movzx ecx, byte [r9 - 1]
lea r9, [r9 - 1]
dec r8
xor ecx, r11d
add edx, ecx
mov byte [r8 + r10], dl
shr edx, 8
test r8, r8
jne 0x14024a8c0
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret

Function at 0x140254420
Capabilities:
Set thread local storage value

Disassembly:
mov eax, 0x28
call fcn.140150200
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 0x140256330
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor eax, eax
mov r10, rcx
test rcx, rcx
je 0x14025639c
movzx ecx, byte [rcx]
test cl, cl
je 0x14025639c
mov r11d, 0x100
nop word [rax + rax]
movsx r9d, cl
lea r10, [r10 + 1]
or r9d, r11d
mov r8d, eax
mov edx, r9d
mov ecx, 0x20
shr edx, 2
add r11d, 0x100
xor edx, r9d
imul r9d, r9d
and edx, 0xf
sub ecx, edx
shr r8, cl
mov ecx, edx
mov edx, eax
mov eax, r8d
shl edx, cl
movzx ecx, byte [r10]
or eax, edx
xor eax, r9d
test cl, cl
jne 0x140256350
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
ret
Function at 0x140256450
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x20
call fcn.140150200
sub rsp, rax
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
je 0x1402564e3
movzx eax, byte [rcx]
test al, al
je 0x1402564e3
mov qword [rsp + 0x30], rsi
mov esi, 0x100
nop
movsx ecx, al
call fcn.140281c00
mov r9d, eax
mov edx, ebx
or r9d, esi
lea rdi, [rdi + 1]
mov eax, ebx
mov r8d, r9d
shr r8d, 2
mov ecx, 0x20
xor r8d, r9d
add esi, 0x100
and r8d, 0xf
imul r9d, r9d
sub ecx, r8d
shr rdx, cl
mov ecx, r8d
shl eax, cl
mov ebx, edx
or ebx, eax
movzx eax, byte [rdi]
xor ebx, r9d
test al, al
jne 0x140256480
mov rsi, qword [rsp + 0x30]
mov eax, ebx
shr eax, 0x10
xor eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x140259960
Capabilities:
Get thread local storage value

Disassembly:
mov eax, 0x28
call fcn.140150200
sub rsp, rax
lea rcx, [0x14059a010]
add rsp, 0x28
jmp fcn.140254280
Function at 0x140281510
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor r10d, r10d
movsxd rbx, r8d
mov r11, rdx
mov rdi, rcx
test r8d, r8d
jle 0x14028154f
mov r9, rdx
mov rdx, rcx
sub rdx, r9
movzx eax, byte [r9]
cmp byte [rdx + r9], al
jne 0x14028154f
inc r9
inc r10d
mov rax, r9
sub rax, r11
cmp rax, rbx
jl 0x140281534
lea edx, [r8 - 1]
movsxd rax, edx
test edx, edx
js 0x14028157a
mov r8, rdi
lea rcx, [rax + r11]
sub r8, r11
cmp byte [rcx + r8], 0
jne 0x14028157a
cmp byte [rcx], 0xff
jne 0x14028157a
dec edx
dec rcx
cmp rcx, r11
jns 0x140281564
cmp r10d, edx
jl case.0x1402815d3.2
jle 0x140281598
lea eax, [r10*8]
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
movsxd rax, r10d
movzx r8d, byte [rax + r11]
movzx r9d, byte [rax + rdi]
movzx edx, r8b
xor dl, r9b
movzx eax, dl
dec eax
cmp eax, 0x7e
ja case.0x1402815d3.2
lea r11, [0x140000000]
cdqe
movzx eax, byte [r11 + rax + 0x281648]
mov ecx, dword [r11 + rax*4 + 0x281628]
add rcx, r11
jmp rcx
mov eax, 7
jmp 0x140281604
mov eax, 6
jmp 0x140281604
mov eax, 5
jmp 0x140281604
mov eax, 4
jmp 0x140281604
mov eax, 3
jmp 0x140281604
mov eax, 2
jmp 0x140281604
mov eax, 1
test dl, r9b
jne case.0x1402815d3.2
and r8b, dl
lea eax, [rax + r10*8]
cmp r8b, dl
je 0x14028161a
mov eax, 0xffffffff
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret

Function at 0x14031cc30
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14031cc58
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14031cc58
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400111f4
Capabilities:
Terminate process

Disassembly:
jmp 0x140013070
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011280
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400143c0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400143e0
xor al, al
jmp 0x140014461
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400143f3
xor al, al
jmp 0x140014461
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001441d
xor al, al
jmp 0x140014461
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014431
xor al, al
jmp 0x140014461
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014443
xor al, al
jmp 0x140014461
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001445f
xor al, al
jmp 0x140014461
mov al, 1
add rsp, 0x38
ret
Function at 0x140011348
Capabilities:
Write file on windows

Disassembly:
jmp 0x140011850
push rbp
push rdi
sub rsp, 0x428
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x9a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001d018]
xor rax, rbp
mov qword [rbp + 0x3d8], rax
lea rcx, [0x1400220f5]
call fcn.14001137a
lea rax, [rbp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x200
rep stosb byte [rdi], al
mov r8d, 0xa
lea rdx, section..data
lea rcx, [rbp + 0x30]
call fcn.1400111b8
mov eax, 1
imul rax, rax, 0x1fe
mov byte [rbp + rax + 0x30], 0x55
mov eax, 1
imul rax, rax, 0x1ff
mov byte [rbp + rax + 0x30], 0xaa
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0xc0000000
lea rcx, str..PhysicalDrive0
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp + 0x248], rax
cmp qword [rbp + 0x248], 0xffffffffffffffff
jne 0x140011930
lea rcx, str.createfile_failed...
call fcn.14001119a
mov eax, 0xffffffff
jmp 0x1400119cc
mov qword [rsp + 0x38], 0
lea rax, [rbp + 4]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x90018
mov rcx, qword [rbp + 0x248]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov qword [rsp + 0x20], 0
lea r9, [rbp + 4]
mov r8d, 0x200
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 0x248]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x38], 0
lea rax, [rbp + 4]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x9001c
mov rcx, qword [rbp + 0x248]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001acd0]
call fcn.140011311
mov rax, rdi
mov rcx, qword [rbp + 0x3d8]
xor rcx, rbp
call fcn.1400111b3
lea rsp, [rbp + 0x3e8]
pop rdi
pop rbp
ret
Function at 0x1400056a0
Capabilities:
Parse pe header

Disassembly:
mov edx, dword [rcx]
test edx, edx
jne 0x1400056c8
mov dword [rcx + 4], 2
lea rax, [rcx + 4]
cmp edx, 3
jne 0x1400056f1
mov dword [rax], 4
cmp edx, 0x22
jne 0x1400056fc
mov dword [rax], 0x4a
ret
cmp edx, 1
jne 0x1400056d2
mov dword [rcx + 4], edx
jmp 0x1400056ad
cmp edx, 2
jne 0x1400056ad
lea rax, [rcx + 4]
mov dword [rax], 3
cmp edx, 0x17
jne 0x140005894
mov dword [rax], 0x38
ret
cmp edx, 4
jne 0x140005708
mov dword [rax], 5
cmp edx, 0x23
jne 0x140005713
mov dword [rax], 0x4b
ret
cmp edx, 5
jne 0x14000571f
mov dword [rax], 6
cmp edx, 0x24
jne 0x14000572a
mov dword [rax], 0x4c
ret
cmp edx, 6
jne 0x140005736
mov dword [rax], 8
cmp edx, 0x25
jne 0x140005741
mov dword [rax], 0x4d
ret
cmp edx, 7
jne 0x14000574d
mov dword [rax], 9
cmp edx, 0x26
jne 0x140005758
mov dword [rax], 0x4e
ret
cmp edx, 8
jne 0x140005764
mov dword [rax], 0xc
cmp edx, 0x27
jne 0x14000576f
mov dword [rax], 0x4f
ret
cmp edx, 9
jne 0x14000577b
mov dword [rax], 0xd
cmp edx, 0x28
jne 0x140005786
mov dword [rax], 0x50
ret
cmp edx, 0xa
jne 0x140005792
mov dword [rax], 0x10
cmp edx, 0x29
jne 0x14000579d
mov dword [rax], 0x51
ret
cmp edx, 0xb
jne 0x1400057a9
mov dword [rax], 0x11
cmp edx, 0x2a
jne 0x1400057b4
mov dword [rax], 0x52
ret
cmp edx, 0xc
jne 0x1400057c0
mov dword [rax], 0x12
cmp edx, 0x2b
jne 0x1400057cb
mov dword [rax], 0x53
ret
cmp edx, 0xd
jne 0x1400057d7
mov dword [rax], 0x13
cmp edx, 0x2c
jne 0x1400057e2
mov dword [rax], 0x54
ret
cmp edx, 0xe
jne 0x1400057ee
mov dword [rax], 0x14
cmp edx, 0x2d
jne 0x1400057f9
mov dword [rax], 0x55
ret
cmp edx, 0xf
jne 0x140005805
mov dword [rax], 0x30
cmp edx, 0x2e
jne 0x140005810
mov dword [rax], 0x56
ret
cmp edx, 0x10
jne 0x14000581c
mov dword [rax], 0x31
cmp edx, 0x2f
jne 0x140005827
mov dword [rax], 0x57
ret
cmp edx, 0x11
jne 0x140005833
mov dword [rax], 0x32
cmp edx, 0x30
jne 0x14000583e
mov dword [rax], 0x58
ret
cmp edx, 0x12
jne 0x14000584a
mov dword [rax], 0x33
cmp edx, 0x31
jne 0x140005855
mov dword [rax], 0x59
ret
cmp edx, 0x13
jne 0x140005861
mov dword [rax], 0x34
cmp edx, 0x32
jne 0x14000586c
mov dword [rax], 0x5a
ret
cmp edx, 0x14
jne 0x140005878
mov dword [rax], 0x35
cmp edx, 0x33
jne 0x140005877
mov dword [rax], 0x18
ret
cmp edx, 0x15
jne 0x140005884
mov dword [rax], 0x36
ret
cmp edx, 0x16
jne 0x1400056e1
mov dword [rax], 0x37
ret
cmp edx, 0x18
jne 0x1400058a0
mov dword [rax], 0x39
ret
cmp edx, 0x19
jne 0x1400058ac
mov dword [rax], 0x41
ret
cmp edx, 0x1a
jne 0x1400058b8
mov dword [rax], 0x42
ret
cmp edx, 0x1b
jne 0x1400058c4
mov dword [rax], 0x43
ret
cmp edx, 0x1c
jne 0x1400058d0
mov dword [rax], 0x44
ret
cmp edx, 0x1d
jne 0x1400058dc
mov dword [rax], 0x45
ret
cmp edx, 0x1e
jne 0x1400058e8
mov dword [rax], 0x46
ret
cmp edx, 0x1f
jne 0x1400058f4
mov dword [rax], 0x47
ret
cmp edx, 0x20
jne 0x140005900
mov dword [rax], 0x48
ret
cmp edx, 0x21
jne 0x1400056bc
mov dword [rax], 0x49
ret
Function at 0x140009820
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 0x14000987d
lea rbx, [0x140055eb0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140009864
cmp r10, 2
jb 0x140009864
cmp byte [r9], r8b
jne 0x140009864
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 0x140009840
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400098bf
lea rbx, [0x140055eb0]
cmp r8b, 0x23
jne 0x1400098a3
cmp byte [r9], r8b
jne 0x1400098a3
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 0x140009890
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140009a00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140009a1a
mov qword [r8], 0
lea rdx, [0x14005b32c]
call fcn.1400098d0
mov rbx, rax
test rax, rax
jne 0x140009a3a
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 0x140009b11
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 0x140009b11
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140009b11
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 0x140009b11
cmp rdi, 0xffffffffffffffff
je 0x140009b11
mov rax, qword [0x14007d190]
test rax, rax
je 0x140009aae
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 0x140009b11
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 0x140009afe
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14007d190]
test rax, rax
je 0x140009af3
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140009b1a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140009b0c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140009b1c
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 0x14000d170
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, [0x140055eb0]
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 [0x14007d190]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ee8], ebx
jne 0x14000d206
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140020a90
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14000d210
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf0]
lea r9, [0x140055eb0]
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 0x140019cf0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140065040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14007d190]
mov edi, ecx
cmp byte [rbx + 0x4a2d], 0
jne 0x140019d51
cmp byte [rbx + 0x4a2e], 0
jne 0x140019d51
movsx r9d, word [rbx + 0x5b32]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400096e0
test dil, 1
je 0x140019e78
jmp 0x140019dda
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b32]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14005c19c]
mulss xmm1, dword [0x14005c17c]
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 [0x14005c0a8]
or dword [rbx + 0x4778], 0x41
movss dword [rbx + 0x47d8], xmm0
call fcn.1400096e0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140019e30
lea r11, [0x140055eb0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140019e13
cmp byte [r8], r9b
jne 0x140019e13
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 0x140019e00
not ecx
call fcn.140010fa0
test rax, rax
je 0x140019e78
cmp byte [rax + 0xae], 0
je 0x140019e78
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b32]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b32]
call fcn.1400096e0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1400136f0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140052590
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001f340
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 + 0x5c18], 0
lea rbx, [rcx + 0x5c20]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001f3e7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001f39a
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.1400217e0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14000a190
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c18]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c28]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14007d188]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001f3ef
mov rcx, rbx
call fcn.14000a190
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001f960
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14007d190]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001f9c3
mov qword [rsp], rbx
lea rbx, [0x140055eb0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001f9a3
cmp byte [r8], r9b
jne 0x14001f9a3
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 0x14001f990
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b90]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001f9f7
mov r10, qword [r10 + 0x5b98]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001f9fe
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001f9e4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret