joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18059bcc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x718
movdqa xmmword [rsp + 0x700], xmm8
movaps xmmword [rsp + 0x6f0], xmm7
movdqa xmmword [rsp + 0x6e0], xmm6
mov r14, r8
mov r13, rdx
mov r12, rcx
mov rcx, qword [rdx + 0x140]
test rcx, rcx
je 0x18059bd13
mov rdx, r14
call fcn.18063b610
test al, al
je 0x18059d530
mov rcx, qword [r13 + 0x148]
test rcx, rcx
je 0x18059bd2f
mov rdx, r14
call fcn.18063b610
test al, al
je 0x18059d530
lea rdx, [r13 + 0x128]
lea rax, [r13 + 0x20]
mov qword [rsp + 0x248], rax
lea rax, [r13 + 0x28]
mov qword [rsp + 0x140], rax
lea rax, [r13 + 0x108]
mov qword [rsp + 0x1e8], rax
lea rbp, [r13 + 0x88]
lea rdi, [r13 + 0xc8]
lea rax, [0x1806e8340]
movq xmm0, rax
movaps xmm7, xmmword [0x1806e43a0]
movdqa xmm6, xmmword [0x1806ca500]
punpcklqdq xmm6, xmm0
lea rax, [r13 + 0xe0]
mov qword [rsp + 0x390], rax
lea rax, [r13 + 0x109]
mov qword [rsp + 0x388], rax
lea r15, [rsp + 0x40]
lea rbx, [rsp + 0x600]
mov qword [rsp + 0x3b0], rdi
mov qword [rsp + 0x398], rdx
mov qword [rsp + 0x3c0], r12
mov qword [rsp + 0x3b8], r13
mov qword [rsp + 0x3a8], rbp
mov qword [rsp + 0x3a0], r14
movzx eax, byte [0x1807afe04]
mov ecx, 0x70
mov edx, 8
call fcn.1804caf90
test rax, rax
je 0x18059deef
mov rsi, rax
mov qword [rax + 0x58], 1
lea rax, [0x1806e7f08]
mov qword [rsi + 0x60], rax
mov word [rsi + 0x68], 1
lea rdx, [r13 + 0x88]
lea rcx, [rsp + 0x40]
call fcn.180688140
movzx eax, byte [r13 + 0xd8]
mov byte [rsp + 0x90], al
movups xmm0, xmmword [r13 + 0xc8]
movups xmmword [rsp + 0x80], xmm0
mov eax, dword [r13 + 0xb0]
mov ecx, dword [r13 + 0xc4]
movups xmm1, xmmword [r13 + 0xa0]
movups xmm2, xmmword [r13 + 0xb4]
movups xmmword [rsp + 0x6c], xmm2
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x7c], ecx
movups xmmword [rsp + 0x58], xmm1
mov rax, qword [rsp + 0x90]
mov qword [rsi + 0x50], rax
movups xmmword [rsi + 0x40], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0x30], rax
mov eax, dword [rsp + 0x78]
mov dword [rsi + 0x38], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsi + 0x3c], eax
movdqu xmm0, xmmword [rsp + 0x50]
movdqu xmmword [rsi + 0x10], xmm0
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x20], rax
mov eax, dword [rsp + 0x68]
mov dword [rsi + 0x28], eax
mov eax, dword [rsp + 0x6c]
Function at 0x1805beb20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x1805bebb6
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x1806c8f60]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1804cda90
test rdi, rdi
je 0x1805bec45
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x1805bec5e
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x1805bed56
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x1805bedd8
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x1805bed63
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x1805bec20
cmp r9, 8
jae 0x1805bed6c
jmp 0x1805bedd8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1804cda90
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, r9
mov r8, qword [rsp + 0x30]
add r8, rax
mov rdx, qword [rsp + 0x38]
add rdx, rcx
rol rax, 0xd
xor rax, r8
rol rcx, 0x10
rol r8, 0x20
xor rcx, rdx
add rdx, rax
rol rax, 0x11
add r8, rcx
xor rax, rdx
rol rcx, 0x15
xor rcx, r8
rol rdx, 0x20
xor r8, r9
xor rdx, 0xff
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
shl rcx, 0x10
xor rcx, rdx
add rdx, rax
shr rax, 0x2f
shr rcx, 0x2b
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x1805bedd8
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x1805bedd8
mov r8, rcx
cmp r9, 8
jb 0x1805bedd8
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x1805bed70
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1805c1f50
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
call fcn.18066a300
mov rsi, rax
cmp qword [rax], 0
je 0x1805c1f87
mov rax, rsi
add rax, 8
mov rbx, qword [rsi + 8]
mov r14, qword [rsi + 0x10]
jmp 0x1805c1fbb
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
call qword [sym.imp.bcryptprimitives.dll_ProcessPrng]
mov rbx, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rax, rsi
add rax, 8
mov qword [rsi], 1
mov qword [rsi + 0x10], r14
lea rcx, [rbx + 1]
mov qword [rax], rcx
movabs r15, 0x736f6d6570736575
xor r15, rbx
movabs r12, 0x646f72616e646f6d
xor r12, r14
movabs r13, 0x6c7967656e657261
xor r13, rbx
movabs rbp, 0x7465646279746573
xor rbp, r14
mov esi, 1
lea rdi, [rsp + 0x50]
xorps xmm6, xmm6
nop word cs:[rax + rax]
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r14
movups xmmword [rdi], xmm6
mov qword [rdi + 0x10], 0
mov qword [rsp + 0x68], rsi
mov r8d, 8
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x68]
call fcn.1804cda90
mov r9, qword [rsp + 0x50]
shl r9, 0x38
or r9, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
xor rcx, r9
mov rax, qword [rsp + 0x20]
add rax, rdx
mov r8, qword [rsp + 0x28]
rol rdx, 0xd
add r8, rcx
xor rdx, rax
rol rcx, 0x10
xor rcx, r8
rol rax, 0x20
add r8, rdx
add rax, rcx
rol rdx, 0x11
xor rdx, r8
rol rcx, 0x15
rol r8, 0x20
xor rcx, rax
xor rax, r9
xor r8, 0xff
add rax, rdx
add r8, rcx
rol rdx, 0xd
xor rdx, rax
rol rcx, 0x10
rol rax, 0x20
xor rcx, r8
add r8, rdx
rol rdx, 0x11
add rax, rcx
xor rdx, r8
rol rcx, 0x15
xor rcx, rax
rol r8, 0x20
add rax, rdx
add r8, rcx
rol rdx, 0xd
xor rdx, rax
rol rcx, 0x10
rol rax, 0x20
xor rcx, r8
add r8, rdx
rol rdx, 0x11
add rax, rcx
xor rdx, r8
rol rcx, 0x15
xor rcx, rax
rol r8, 0x20
add rax, rdx
add r8, rcx
rol rdx, 0xd
xor rdx, rax
rol rcx, 0x10
xor rcx, r8
add r8, rdx
rol rdx, 0x11
rol rcx, 0x15
mov rax, r8
rol rax, 0x20
xor rax, rdx
xor rax, rcx
inc rsi
xor rax, r8
je 0x1805c2010
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1805d8550
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rbp, r8
mov r12, rdx
mov rdi, rcx
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.1805d8af0
mov eax, dword [rsp + 0x30]
cmp eax, 2
jne 0x1805d8591
mov rdx, qword [rsp + 0x38]
mov esi, 1
jmp 0x1805d87a4
mov esi, 1
test eax, eax
je 0x1805d86f1
mov r9, qword [rdi + 0x90]
mov r15, qword [rdi + 0x98]
cmp r15, r9
jne 0x1805d8737
mov rbx, qword [rsp + 0x38]
mov r13d, ebx
shr rbx, 0x20
cmp rbx, rbp
cmovae rbx, rbp
mov r14d, dword [rsp + 0x34]
lea rbp, [rbx + r14]
add r13, rbp
sub r13, r15
jbe 0x1805d8628
mov rax, qword [rdi + 0x80]
sub rax, r15
cmp rax, r13
jb 0x1805d87bb
mov rax, qword [rdi + 0x88]
lea rcx, [rax + r15]
cmp r13, 2
jb 0x1805d861b
lea r8, [r13 - 1]
xor edx, edx
mov qword [rsp + 0x70], rax
call fcn.1806a7aa0
add r15, r13
dec r15
mov rcx, qword [rsp + 0x70]
add rcx, r15
mov byte [rcx], 0
inc r15
mov qword [rdi + 0x90], r15
cmp rbp, r15
ja 0x1805d87fd
mov rcx, qword [rdi + 0x88]
add rcx, r14
mov rdx, r12
mov r8, rbx
call fcn.1806a7400
mov rax, qword [rdi + 0x90]
cmp rax, r14
jb 0x1805d87fd
cmp rax, rbp
jb 0x1805d87fd
mov rcx, qword [rdi + 0x88]
lea rdx, [rcx + r14]
sub eax, ebp
add rbp, rcx
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x34], 7
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x44], 1
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], 6
mov qword [rsp + 0x58], rbp
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movabs rax, 0x400000000
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x80], rax
lea rcx, [rdi + 0xf0]
lea r8, [rsp + 0x78]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x1805d8700
mov edx, eax
shl rdx, 0x20
or rdx, 2
jmp 0x1805d87a4
movabs rdx, 0x8009031700000002
jmp 0x1805d87a4
mov eax, dword [rsp + 0x40]
add eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x50]
mov r9, qword [rdi + 0x90]
cmp r9, rax
jb 0x1805d8722
mov qword [rdi + 0x90], rax
mov r9, rax
mov qword [rdi + 0x98], 0
mov qword [rdi + 0x118], rbx
xor r15d, r15d
cmp r15, r9
je 0x1805d879b
lea rbx, [rdi + 0x10]
movabs r14, 0xd00000003
nop word [rax + rax]
sub r9, r15
jb 0x1805d87fd
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x1805d87fd
mov r8, qword [rdi + 0x88]
add r8, r15
mov rcx, rbx
call fcn.18063ac90
cmp rax, 2
cmove rdx, r14
test rax, rax
jne 0x1805d87a4
add r15, rdx
mov qword [rdi + 0x98], r15
mov r9, qword [rdi + 0x90]
cmp r15, r9
jne 0x1805d8750
mov rdx, qword [rdi + 0x118]
xor esi, esi
mov rax, rsi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rdi + 0x80]
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rdx, r15
mov r8, r13
call fcn.1806a7f20
mov r15, qword [rdi + 0x90]
mov rax, qword [rdi + 0x88]
lea rcx, [rax + r15]
cmp r13, 2
jae 0x1805d85fd
jmp 0x1805d861b
ud2
Function at 0x1805d8800
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rbp, r8
mov r12, rdx
mov rdi, rcx
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.1805d9d00
mov eax, dword [rsp + 0x30]
cmp eax, 2
jne 0x1805d8841
mov rdx, qword [rsp + 0x38]
mov esi, 1
jmp 0x1805d8a91
mov esi, 1
test eax, eax
je 0x1805d89a2
mov r9, qword [rdi + 0x190]
mov rbx, qword [rdi + 0x198]
cmp rbx, r9
jne 0x1805d89e7
mov r14, qword [rsp + 0x38]
mov r13d, r14d
shr r14, 0x20
cmp r14, rbp
cmovae r14, rbp
mov r15d, dword [rsp + 0x34]
lea rbp, [r14 + r15]
add r13, rbp
sub r13, rbx
jbe 0x1805d88d8
mov rax, qword [rdi + 0x180]
sub rax, rbx
cmp rax, r13
jb 0x1805d8aa8
mov rax, qword [rdi + 0x188]
lea rcx, [rax + rbx]
cmp r13, 2
jb 0x1805d88cb
lea r8, [r13 - 1]
xor edx, edx
mov qword [rsp + 0x70], rax
call fcn.1806a7aa0
add rbx, r13
dec rbx
mov rcx, qword [rsp + 0x70]
add rcx, rbx
mov byte [rcx], 0
inc rbx
mov qword [rdi + 0x190], rbx
cmp rbp, rbx
ja 0x1805d8aea
mov rcx, qword [rdi + 0x188]
add rcx, r15
mov rdx, r12
mov r8, r14
call fcn.1806a7400
mov rax, qword [rdi + 0x190]
cmp rax, r15
jb 0x1805d8aea
cmp rax, rbp
jb 0x1805d8aea
mov rcx, qword [rdi + 0x188]
lea rdx, [rcx + r15]
sub eax, ebp
add rbp, rcx
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x34], 7
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x44], 1
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], 6
mov qword [rsp + 0x58], rbp
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movabs rax, 0x400000000
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x80], rax
lea rcx, [rdi + 0x1f0]
lea r8, [rsp + 0x78]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x1805d89b1
mov edx, eax
shl rdx, 0x20
or rdx, 2
jmp 0x1805d8a91
movabs rdx, 0x8009031700000002
jmp 0x1805d8a91
mov eax, dword [rsp + 0x40]
add eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x50]
mov r9, qword [rdi + 0x190]
cmp r9, rax
jb 0x1805d89d3
mov qword [rdi + 0x190], rax
mov r9, rax
mov qword [rdi + 0x198], 0
mov qword [rdi + 0x218], r14
xor ebx, ebx
cmp rbx, r9
je 0x1805d8a88
lea r14, [rdi + 0x10]
lea r15, [rdi + 0x18]
movabs r13, 0xd00000003
lea r12, [rsp + 0x30]
nop word [rax + rax]
sub r9, rbx
jb 0x1805d8aea
mov rdx, qword [rdi + 0x138]
test rdx, rdx
je 0x1805d8aea
mov r8, qword [rdi + 0x188]
add r8, rbx
cmp dword [r14], 2
jne 0x1805d8a50
mov rcx, r15
call fcn.18063ac90
cmp rax, 2
cmove rdx, r13
test rax, rax
je 0x1805d8a72
jmp 0x1805d8a91
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
mov rcx, r14
mov r8, r12
call fcn.1805ccdb0
cmp rax, 2
cmove rdx, r13
test rax, rax
jne 0x1805d8a91
add rbx, rdx
mov qword [rdi + 0x198], rbx
mov r9, qword [rdi + 0x190]
cmp rbx, r9
jne 0x1805d8a10
mov rdx, qword [rdi + 0x218]
xor esi, esi
mov rax, rsi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rdi + 0x180]
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rdx, rbx
mov r8, r13
call fcn.1806a7f20
mov rbx, qword [rdi + 0x190]
mov rax, qword [rdi + 0x188]
lea rcx, [rax + rbx]
cmp r13, 2
jae 0x1805d88ad
jmp 0x1805d88cb
ud2
Function at 0x140002d70
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 0x140002dcd
lea rbx, [0x140046820]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002db4
cmp r10, 2
jb 0x140002db4
cmp byte [r9], r8b
jne 0x140002db4
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 0x140002d90
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140002e0f
lea rbx, [0x140046820]
cmp r8b, 0x23
jne 0x140002df3
cmp byte [r9], r8b
jne 0x140002df3
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 0x140002de0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002f50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140002f6a
mov qword [r8], 0
lea rdx, [0x14004ab54]
call fcn.140002e20
mov rbx, rax
test rax, rax
jne 0x140002f8a
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 0x140003063
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003063
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003063
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 0x140003063
cmp rdi, 0xffffffffffffffff
je 0x140003063
mov rax, qword [0x1400536e0]
test rax, rax
je 0x140003000
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 0x140003063
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 0x140003050
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400536e0]
test rax, rax
je 0x140003045
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000306c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000305e
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000306e
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 0x140005d10
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x110]
lea r8, [0x140046820]
movsxd rcx, dword [rcx + 0x108]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x1400536e0]
not ebx
cmp dword [rcx + 0x401c], ebx
jne 0x140005da5
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.1400247e0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140012dd0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140053040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400536e0]
mov edi, ecx
cmp byte [rbx + 0x43fd], 0
jne 0x140012e31
cmp byte [rbx + 0x43fe], 0
jne 0x140012e31
movsx r9d, word [rbx + 0x54de]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002cf0
test dil, 1
je 0x140012f5b
jmp 0x140012ec3
movss xmm1, dword [rbx + 0x39c0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x54de]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14004ba30]
mov edx, 0x10
mulss xmm1, dword [0x14004ba24]
addss xmm0, dword [rbx + 0xd9c]
addss xmm1, dword [rbx + 0xda0]
mov qword [rbx + 0x410c], rax
mov dword [rbx + 0x40f4], 1
movss dword [rbx + 0x4104], xmm0
mov byte [rbx + 0x412c], 1
movss dword [rbx + 0x4108], xmm1
movss xmm0, dword [rbx + 0x3a1c]
mulss xmm0, dword [0x14004b994]
or dword [rbx + 0x40f0], 0x41
movss dword [rbx + 0x4150], xmm0
call fcn.140002cf0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140012f13
lea r11, [0x140046820]
cmp r9b, 0x23
jne 0x140012ef6
cmp byte [r8], r9b
jne 0x140012ef6
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 0x140012ee3
not ecx
call fcn.14000b430
test rax, rax
je 0x140012f5b
cmp byte [rax + 0xcb], 0
je 0x140012f5b
mov byte [rax + 0xd2], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xec], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x54de]
mov edx, 0x10
movsx r9d, word [rbx + 0x54de]
call fcn.140002cf0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000e250
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140044420
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140018290
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 + 0x55d0], 0
lea rbx, [rcx + 0x55d8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140018333
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test ecx, ecx
jns 0x1400182e6
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140025ae0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003490
mov eax, dword [rbx]
lea rcx, [0x1400536d4]
mov r9, qword [rdi + 0x55d0]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rdi + 0x55e0]
cmove edx, r14d
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 r14, qword [rsp + 0x30]
jmp 0x14001833b
mov rcx, rbx
call fcn.140003490
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140018770
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x1400187c2
lea r11, [0x140046820]
cmp r9b, 0x23
jne 0x1400187a5
cmp byte [r8], r9b
jne 0x1400187a5
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140018792
mov r11, qword [0x1400536e0]
xor r9d, r9d
not eax
mov r10, qword [r11 + 0x5598]
test r10, r10
lea rcx, [r10 + 4]
cmovne r9, rcx
test r9, r9
je 0x14001880e
cmp dword [r9], eax
je 0x140018817
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x5590]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x1400187e5
mov rcx, rbx
pop rbx
jmp fcn.140018680
test r9, r9
je 0x14001880e
mov rax, r9
pop rbx
ret

Function at 0x140018830
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400536e0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140018893
mov qword [rsp], rbx
lea rbx, [0x140046820]
nop dword [rax]
cmp r9b, 0x23
jne 0x140018873
cmp byte [r8], r9b
jne 0x140018873
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 0x140018860
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5580]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x1400188c7
mov r10, qword [r10 + 0x5588]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x1400188ce
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x1400188b4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret