joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001527c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400152fa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400152f1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400152f1
mov rax, qword [rbp - 8]
jmp 0x14001530f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400152c4
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001cf0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001d3a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001d3a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001d3a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001d3a
cmp dword [rcx + 0x84], 0xe
jbe 0x140001d3a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001d3c
xor al, al
add rsp, 0x28
ret

Function at 0x100411cb0
Capabilities:
Encode data using xor

Disassembly:
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
Function at 0x1400112d0
Capabilities:
Terminate process

Disassembly:
jmp 0x1400186e0
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 0x14001137f
Capabilities:
Parse pe header

Disassembly:
jmp 0x140017400
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140017420
xor al, al
jmp 0x1400174a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140017433
xor al, al
jmp 0x1400174a1
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 0x14001745d
xor al, al
jmp 0x1400174a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140017471
xor al, al
jmp 0x1400174a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140017483
xor al, al
jmp 0x1400174a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001749f
xor al, al
jmp 0x1400174a1
mov al, 1
add rsp, 0x38
ret
Function at 0x140013bf0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x140024040]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x14002a0e2]
call fcn.1400114d3
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140014f00
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x108]
call fcn.1400141c0
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.140012ec0
nop
lea rcx, [rbp + 0x108]
call fcn.1400146a0
lea rax, [0x1400139d0]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.1400150f0
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x140013cf0
lea rcx, [rbp + 8]
call fcn.1400153d0
jmp 0x140013d09
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.14001114f
nop
lea rcx, [rbp + 8]
call fcn.1400146a0
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ffe0]
call fcn.140011438
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.140011280
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x140013d90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x140024040]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x14002a0e2]
call fcn.1400114d3
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140014f40
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x108]
call fcn.1400142c0
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.140013030
nop
lea rcx, [rbp + 0x108]
call fcn.140014710
lea rax, [0x140013ae0]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.140015130
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x140013e90
lea rcx, [rbp + 8]
call fcn.140015430
jmp 0x140013ea9
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.14001114f
nop
lea rcx, [rbp + 8]
call fcn.140014710
lea rcx, [rbp - 0x30]
lea rdx, [0x140020060]
call fcn.140011438
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.140011280
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x1406e8058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406e81df
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 0x1406e8089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406e806f
add dl, dl
jne 0x1406e8096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406e80f6
xor eax, eax
add dl, dl
jne 0x1406e80a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406e81ad
add dl, dl
jne 0x1406e80b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406e80c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406e80d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406e80dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406e80ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406e807e
mov eax, 1
add dl, dl
jne 0x1406e8106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406e8113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406e80fb
sub eax, ebx
mov ebx, 1
jne 0x1406e814c
mov ecx, 1
add dl, dl
jne 0x1406e812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406e813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406e8123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406e807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406e8168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406e8175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406e815d
cmp eax, 0x7d00
jae 0x1406e819b
cmp eax, 0x500
jb 0x1406e8196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406e807e
cmp eax, 0x7f
ja 0x1406e819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406e807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406e81d2
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 0x1406e807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180604058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1806041df
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 0x180604089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18060406f
add dl, dl
jne 0x180604096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1806040f6
xor eax, eax
add dl, dl
jne 0x1806040a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1806041ad
add dl, dl
jne 0x1806040b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806040c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806040d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806040dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1806040ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18060407e
mov eax, 1
add dl, dl
jne 0x180604106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180604113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1806040fb
sub eax, ebx
mov ebx, 1
jne 0x18060414c
mov ecx, 1
add dl, dl
jne 0x18060412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18060413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180604123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18060407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180604168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180604175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18060415d
cmp eax, 0x7d00
jae 0x18060419b
cmp eax, 0x500
jb 0x180604196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18060407e
cmp eax, 0x7f
ja 0x18060419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18060407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1806041d2
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 0x18060407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140007f10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140ae95a8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140b1f3d8]
mov esi, edx
mov edi, ecx
cmp byte [rbx + 0x20d5], 0
jne 0x140007f77
cmp byte [rbx + 0x20d6], 0
jne 0x140007f77
mov r9d, dword [rbx + 0x3178]
lea r8, [0x1400a9468]
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140014a80
test sil, 1
je 0x1400080ba
jmp 0x140008016
movss xmm1, dword [rbx + 0x16ec]
lea r8, [0x1400a9468]
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400a99fc]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400a99f4]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
or dword [rbx + 0x1dc0], 1
mov qword [rbx + 0x1ddc], rax
movss dword [rbx + 0x1dd4], xmm0
mov dword [rbx + 0x1dc4], 1
movss dword [rbx + 0x1dd8], xmm1
mov byte [rbx + 0x1dfc], 1
movss xmm0, dword [rbx + 0x1748]
mov rax, qword [0x140b1f3d8]
mulss xmm0, dword [0x1400a998c]
or dword [rax + 0x1dc0], 0x40
movss dword [rax + 0x1e20], xmm0
mov r9d, dword [rbx + 0x3178]
call fcn.140014a80
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140008066
lea r11, [0x1400a8db0]
cmp r9b, 0x23
jne 0x140008049
cmp byte [r8], r9b
jne 0x140008049
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140008036
mov rcx, qword [0x140b1f3d8]
not edx
add rcx, 0x1cf8
call fcn.1400145b0
test rax, rax
je 0x1400080ba
cmp byte [rax + 0xdf], 0
je 0x1400080ba
mov byte [rax + 0xe6], 1
lea r8, [0x1400a9468]
mov byte [rax + 0x100], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3178]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x3178]
call fcn.140014a80
or edi, 0x22c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.140004680
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400a4e30
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140010720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rbx, rcx
mov rbp, qword [0x140b1f3d8]
test rax, rax
je 0x140010748
mov eax, dword [rax + 4]
mov dword [rcx + 4], eax
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x140010756
call fcn.140010720
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140010764
call fcn.140010720
mov r8d, dword [rbx + 0x28]
xor esi, esi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], r14
test r8d, r8d
jle 0x140010846
mov r14d, esi
mov rax, qword [rbx + 0x30]
mov r9d, dword [rbx + 0xa4]
mov ecx, dword [rbp + 0x1c90]
inc r9d
mov rdi, qword [r14 + rax]
cmp r9d, ecx
jne 0x1400107ad
mov eax, dword [rdi + 0x2c8]
inc eax
cmp eax, ecx
jge 0x1400107ad
mov dl, 1
jmp 0x1400107b4
xor dl, dl
cmp r9d, ecx
jne 0x1400107dc
test byte [rbx + 0xbc], 0x10
jne 0x1400107c8
mov eax, dword [rdi + 0x18]
cmp dword [rbx + 0xb4], eax
jne 0x1400107dc
cmp byte [rdi + 0xe8], 0
je 0x1400107dc
test dword [rdi + 0x1c], 0x100000
jne 0x1400107dc
mov dl, 1
movzx ecx, byte [rdi + 0x439]
movzx eax, cl
shr al, 2
and al, 1
or al, dl
je 0x140010826
and cl, 0xfb
mov byte [rdi + 0x439], cl
cmp dword [rbx + 0x28], 1
jne 0x14001080c
mov eax, dword [rbx + 8]
shr eax, 0xb
test al, 1
je 0x1400108b1
mov r8d, dword [rbx]
mov rdx, rdi
mov rcx, rbx
call fcn.14000d650
mov r8d, dword [rbx + 0x28]
dec esi
sub r14, 8
jmp 0x140010837
mov eax, dword [rdi + 0x3c]
not eax
and dword [rbx + 8], eax
mov eax, dword [rbx + 8]
or eax, dword [rdi + 0x38]
mov dword [rbx + 8], eax
inc esi
add r14, 8
cmp esi, r8d
jl 0x140010780
movzx edx, byte [rbx + 0xbc]
test dl, dl
jns 0x140010872
cmp r8d, 1
jne 0x140010872
mov ecx, dword [rbx + 8]
mov eax, ecx
or eax, dword [rbx + 4]
test al, 0x40
je 0x140010872
shr ecx, 0xd
test r8b, cl
jne 0x140010872
or byte [rbx + 0xbd], r8b
movzx ecx, byte [rbx + 0xbd]
and dl, 0x7f
mov byte [rbx + 0xbc], dl
movzx eax, cl
test cl, 1
je 0x1400108a2
mov r9, qword [rbx + 0x88]
test r9, r9
je 0x1400108a2
test dword [r9 + 0x38], 0x2000
je 0x1400108a2
and al, 0xfe
cmp r8d, 1
jle 0x1400108d0
and dword [rbx + 8], 0xffffdfff
jmp 0x1400108db
mov rcx, rbx
call fcn.14000c4f0
mov r8d, dword [rbx]
mov rdx, rdi
mov rcx, rbx
mov dword [rbx + 0xc], 1
call fcn.14000d650
jmp 0x140010943
test al, 1
je 0x1400108db
xor dword [rbx + 8], 0x2000
mov ecx, dword [rbx + 8]
and al, 0xfe
mov byte [rbx + 0xbd], al
mov eax, ecx
shr eax, 0xb
shr ecx, 0xa
cmp qword [rbx + 0x10], 0
movzx eax, al
movzx r9d, cl
cmovne r9d, eax
test r8d, r8d
setg al
or r9b, al
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14001091c
test byte [rax + 0xbc], 1
je 0x14001091c
mov r9b, 1
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x140010932
test byte [rax + 0xbc], 1
je 0x140010932
mov al, 1
jmp 0x140010934
xor al, al
or al, r9b
xor al, dl
and al, 1
xor al, dl
mov byte [rbx + 0xbc], al
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
Function at 0x1400131c0
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 0x140013212
lea r11, [0x1400a8db0]
cmp r9b, 0x23
jne 0x1400131f5
cmp byte [r8], r9b
jne 0x1400131f5
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 0x1400131e2
mov r11, qword [0x140b1f3d8]
mov r10, qword [r11 + 0x3228]
test r10, r10
je 0x140013259
lea r9, [r10 + 4]
test r9, r9
je 0x140013259
not eax
cmp dword [r9], eax
je 0x140013262
movsxd r8, dword [r9 - 4]
lea rdx, [r10 + 4]
movsxd rcx, dword [r11 + 0x3220]
add r8, r9
xor r9d, r9d
add rdx, rcx
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140013230
mov rcx, rbx
pop rbx
jmp fcn.140009cd0
mov rax, r9
pop rbx
ret

Function at 0x140013340
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140013390
lea r11, [0x1400a8db0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140013373
cmp byte [r8], r9b
jne 0x140013373
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140013360
mov rcx, qword [0x140b1f3d8]
not edx
add rcx, 0x1cf8
jmp fcn.1400145b0

Function at 0x140013cf0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [rcx + 0x120]
mov r9, r8
movsxd r8, dword [rcx + 0x118]
mov r10, rdx
xor ecx, ecx
mov rdx, r9
sub rdx, r10
test r9, r9
mov r8d, dword [rax + r8*4 - 4]
cmove rdx, rcx
mov rcx, r10
jmp fcn.140014bd0
Function at 0x1400147d0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x1400147eb
mov qword [r8], 0
call fcn.140014930
mov rbx, rax
test rax, rax
jne 0x140014801
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140014909
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 0x140014909
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140014909
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 0x140014909
cmp rdi, 0xffffffffffffffff
je 0x140014909
mov rax, qword [0x140b1f3d8]
test rax, rax
je 0x140014882
inc dword [rax + 0x3b0]
mov rdx, qword [0x140b1f3f8]
lea rcx, [rdi + rbp]
call qword [0x1401133e0]
mov rsi, rax
test rax, rax
je 0x140014909
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]
cmp rax, rdi
je 0x1400148e1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140b1f3d8]
test rax, rax
je 0x1400148cf
dec dword [rax + 0x3b0]
mov rdx, qword [0x140b1f3f8]
mov rcx, rsi
call qword [0x1401133e8]
jmp 0x140014912
test ebp, ebp
jle 0x1400148f3
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140014904
mov qword [r14], rdi
mov rax, rsi
jmp 0x140014914
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret

Function at 0x140014bd0
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 0x140014c2d
lea rbx, [0x1400a8db0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140014c14
cmp r10, 2
jb 0x140014c14
cmp byte [r9], r8b
jne 0x140014c14
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 0x140014bf0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140014c6f
lea rbx, [0x1400a8db0]
cmp r8b, 0x23
jne 0x140014c53
cmp byte [r9], r8b
jne 0x140014c53
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 0x140014c40
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140016230
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 + 0x3260], 0
lea rbx, [rcx + 0x3268]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400162d7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001628a
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.140024450
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140023ea0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3260]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3270]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140b1f3e0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400162df
mov rcx, rbx
call fcn.140023ea0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001eae0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x140b1f3d8]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x31fc], ecx
test rbx, rbx
je 0x14001eb4f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.14001eb60
lea rdx, [0x1400a9520]
mov rcx, rbx
mov rdi, rax
call fcn.140014930
mov rbx, rax
test rax, rax
je 0x14001eb4a
mov r8, qword [rsp + 0x30]
mov r9, rax
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 rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret

Function at 0x140021ec0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x140b1f3d8]
cmp byte [rbx + 0x31f8], 0
jne 0x140022013
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14002200c
lea rdx, [0x1400a951c]
mov qword [rsp + 0x40], rdi
call fcn.140014930
mov rdi, rax
test rax, rax
je 0x140022007
mov qword [rsp + 0x30], rbp
mov rcx, rax
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140021ff4
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140021ff4
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140021ff4
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140021ff4
mov rbp, rsi
cmp rsi, 0xffffffffffffffff
je 0x140021ff4
mov rax, qword [0x140b1f3d8]
test rax, rax
je 0x140021f83
inc dword [rax + 0x3b0]
mov rdx, qword [0x140b1f3f8]
mov rcx, rbp
call qword [0x1401133e0]
mov rsi, rax
test rax, rax
je 0x140021ff4
mov r9, rdi
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rbp
je 0x140021fbf
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140021fd0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, rbp
mov rcx, rsi
call fcn.140015c70
mov rax, qword [0x140b1f3d8]
test rax, rax
je 0x140021fe2
dec dword [rax + 0x3b0]
mov rdx, qword [0x140b1f3f8]
mov rcx, rsi
call qword [0x1401133e8]
jmp 0x140021ffd
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov byte [rbx + 0x31f8], 1
movss xmm0, dword [rbx + 0x31fc]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x140022064
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x31fc], xmm0
jb 0x140022064
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140022053
call fcn.14001eae0
mov dword [rbx + 0x31fc], 0
add rsp, 0x20
pop rbx
ret
mov byte [rbx + 0x398], 1
mov dword [rbx + 0x31fc], 0
add rsp, 0x20
pop rbx
ret