joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140b98058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140b981df
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 0x140b98089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b9806f
add dl, dl
jne 0x140b98096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b980f6
xor eax, eax
add dl, dl
jne 0x140b980a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b981ad
add dl, dl
jne 0x140b980b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b980c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b980d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b980dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b980ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b9807e
mov eax, 1
add dl, dl
jne 0x140b98106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b98113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b980fb
sub eax, ebx
mov ebx, 1
jne 0x140b9814c
mov ecx, 1
add dl, dl
jne 0x140b9812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b9813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b98123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b9807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b98168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b98175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b9815d
cmp eax, 0x7d00
jae 0x140b9819b
cmp eax, 0x500
jb 0x140b98196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b9807e
cmp eax, 0x7f
ja 0x140b9819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b9807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b981d2
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 0x140b9807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001000
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
lea rcx, str.C:WindowsSystem32driversetchosts
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
test eax, eax
je 0x140001037
lea rcx, str.Error_Signiture_Checksum
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
add rsp, 0x28
ret
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001060
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x28
ret

Function at 0x140001b58
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ba2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ba2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001ba2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ba2
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ba2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ba4
xor al, al
add rsp, 0x28
ret
Function at 0x1400026f0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov r14, rcx
mov rax, qword [0x140098028]
xor rax, rsp
mov qword [rsp + 0x38], rax
call fcn.140005da0
mov rbx, rax
call fcn.140005db0
mov r15, rax
call fcn.140005de0
mov rsi, rax
call fcn.140005df0
mov rdi, rax
mov rcx, rbx
mov rdx, r15
call fcn.1400043d0
mov rbx, rax
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.140002570
test eax, eax
je 0x14000276f
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140015300
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, r14
call fcn.14004092c
mov rdx, qword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0
xor ecx, ecx
mov r8d, 3
mov r9d, 1
call fcn.140005ae0
cmp rax, 0xffffffffffffffff
je 0x1400027e4
mov r14, rax
xor ecx, ecx
call fcn.140005e30
cdqe
sub rbx, rsi
add rbx, r14
add rax, rbx
add rax, 0x58
mov qword [0x1400fe360], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140015300
mov rcx, rsi
mov rdx, rdi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp 0x140004150
call fcn.14003fe08
mov ecx, dword [rax]
call fcn.140049344
mov rsi, rax
mov ecx, 2
call fcn.140018548
lea rdx, str.LLVM_Profile_Error:_Unable_to_mmap_profile:__s_n
mov rcx, rax
mov r8, rsi
call fcn.140001540
jmp 0x140002755
push rsi
push rdi
sub rsp, 0x58
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140098028]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edx, dword [rsp + 0x24]
lea rcx, [rdi + rdx]
dec rcx
neg rdx
and rcx, rdx
and rdx, rsi
xor esi, esi
sub rdx, rcx
jbe 0x14000419e
mov r8d, 4
call fcn.140005c20
mov esi, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140015300
mov eax, esi
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x140003dc0
Capabilities:
Get hostname

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov edi, edx
mov rsi, rcx
mov rax, qword [0x140098028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x4c], 0x80
lea rdx, [rsp + 0x50]
lea r8, [rsp + 0x4c]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x140003e33
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
xor esi, esi
lea r8, [rsp + 0x50]
mov ecx, 0xfde9
xor edx, edx
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 1
sbb esi, esi
jmp 0x140003e38
mov esi, 0xffffffff
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140015300
mov eax, esi
add rsp, 0x158
pop rdi
pop rsi
ret

Function at 0x140004150
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov r14, rcx
mov rax, qword [0x140098028]
xor rax, rsp
mov qword [rsp + 0x38], rax
call fcn.140005da0
mov rbx, rax
call fcn.140005db0
mov r15, rax
call fcn.140005de0
mov rsi, rax
call fcn.140005df0
mov rdi, rax
mov rcx, rbx
mov rdx, r15
call fcn.1400043d0
mov rbx, rax
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.140002570
test eax, eax
je 0x14000276f
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140015300
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, r14
call fcn.14004092c
mov rdx, qword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0
xor ecx, ecx
mov r8d, 3
mov r9d, 1
call fcn.140005ae0
cmp rax, 0xffffffffffffffff
je 0x1400027e4
mov r14, rax
xor ecx, ecx
call fcn.140005e30
cdqe
sub rbx, rsi
add rbx, r14
add rax, rbx
add rax, 0x58
mov qword [0x1400fe360], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140015300
mov rcx, rsi
mov rdx, rdi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp 0x140004150
call fcn.14003fe08
mov ecx, dword [rax]
call fcn.140049344
mov rsi, rax
mov ecx, 2
call fcn.140018548
lea rdx, str.LLVM_Profile_Error:_Unable_to_mmap_profile:__s_n
mov rcx, rax
mov r8, rsi
call fcn.140001540
jmp 0x140002755
push rsi
push rdi
sub rsp, 0x58
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140098028]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edx, dword [rsp + 0x24]
lea rcx, [rdi + rdx]
dec rcx
neg rdx
and rcx, rdx
and rdx, rsi
xor esi, esi
sub rdx, rcx
jbe 0x14000419e
mov r8d, 4
call fcn.140005c20
mov esi, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140015300
mov eax, esi
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x140042298
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
test rcx, rcx
jne 0x1400422b7
call fcn.140066b18
jmp 0x14004236c
and qword [rbp - 0x30], 0
lea rcx, [rbp - 0x50]
and qword [rbp - 0x28], 0
xor edx, edx
and qword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
mov byte [rbp - 8], 0
call fcn.1400421e0
mov rax, qword [rbp - 0x48]
mov r9d, 0xfde9
cmp dword [rax + 0xc], r9d
jne 0x140042302
cmp byte [rbp - 0x38], 0
je 0x140042337
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140042337
call fcn.140057018
test eax, eax
jne 0x140042323
cmp byte [rbp - 0x38], al
je 0x14004231b
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140042337
cmp byte [rbp - 0x38], 0
je 0x140042334
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
xor r9d, r9d
lea r8, [rbp + 0x10]
mov rcx, rbx
lea rdx, [rbp - 0x30]
call fcn.14004254c
test eax, eax
je 0x140042350
or ebx, 0xffffffff
jmp 0x14004235b
mov rcx, qword [rbp - 0x20]
call fcn.140066b18
mov ebx, eax
cmp byte [rbp - 8], 0
je 0x14004236a
mov rcx, qword [rbp - 0x20]
call fcn.14005ab3c
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret

Function at 0x140047af4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140015330
sub rsp, rax
mov rax, qword [0x140098028]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14004092c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140047b43
mov rax, rbp
jmp 0x140047c4b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x102240]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14005f6d8
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x102240]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140047c47
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140047c47
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14005f6d8
test rax, rax
js 0x140047c47
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140047c47
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140047c39
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140047c39
cmp byte [rcx], 0xd
jne 0x140047c1f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140047c2e
cmp byte [rcx + 1], 0xa
jne 0x140047c2e
inc rcx
jmp 0x140047c2e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x989c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140047c01
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140047c4b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140015300
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140068460
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140102240]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400684b7
cmp word [rdx], r13w
jne 0x1400684b7
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400684bc
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400685e1
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140068602
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400684f5
mov rdx, r9
mov word [rbx], cx
jmp 0x14006851c
cmp r9, r8
jae 0x14006852c
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400684d6
jmp 0x1400685e1
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400685d6
cmp dword [rsp + 0x80], esi
je 0x1400685d6
lea r8, [0x140102240]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400685ae
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14006857e
mov word [rbx], r13w
jmp 0x1400685de
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14006858b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400685de
cmp word [rsp + 0x70], r13w
jne 0x1400685bb
cmp rbx, r14
je 0x140068578
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14005f62c
cmp word [rsp + 0x70], r13w
je 0x1400685e1
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140102240]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400685db
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400685e1

Function at 0x1400687b8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400687ce
mov al, 1
jmp 0x14006882e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400687df
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14006882c
mov ecx, dword [rcx + 0x18]
nop
call fcn.140041484
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14006882c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14006882c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14006882c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14006882e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400032f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x70
mov rbp, qword [0x1401a67c0]
mov rbx, rcx
movaps xmmword [rsp + 0x60], xmm6
mov r14, rbp
movaps xmmword [rsp + 0x50], xmm7
movaps xmm6, xmm1
movaps xmm7, xmm2
lea rax, [rbp + 8]
cmp rax, rcx
je 0x140003347
mov r8d, 0x58e
lea rdx, [0x1400c6850]
lea rcx, str.g.IO__this___Can_only_add_events_to_current_context._
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbp, qword [0x1401a67c0]
cmp byte [rbx + 0x37a1], 0
je 0x1400034f1
movss xmm1, dword [0x1400d5770]
xorps xmm2, xmm2
comiss xmm7, xmm1
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rdi
jbe 0x140003394
comiss xmm7, xmm2
cvttss2si eax, xmm7
jae 0x14000338d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm7
jp 0x14000338b
je 0x14000338d
dec eax
movd xmm7, eax
cvtdq2ps xmm7, xmm7
comiss xmm6, xmm1
jbe 0x1400033b9
comiss xmm6, xmm2
cvttss2si eax, xmm6
jae 0x1400033b2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
jp 0x1400033b0
je 0x1400033b2
dec eax
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mov esi, dword [rbp + 0x37c0]
sub esi, 1
movsxd rdi, esi
js 0x14000340f
lea rbx, [rdi + rdi*2]
shl rbx, 3
nop
cmp esi, dword [rbp + 0x37c0]
jl 0x1400033f2
mov r8d, 0x6fe
lea rdx, [0x1400c6650]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbp + 0x37c8]
cmp dword [rbx + rax], 1
je 0x140003499
dec esi
sub rbx, 0x18
sub rdi, 1
jns 0x1400033d0
movsd xmm0, qword [r14 + 0xdfc]
lea rax, [rsp + 0x28]
movsd qword [rsp + 0x28], xmm0
movss xmm0, dword [rax]
ucomiss xmm0, xmm6
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
movss xmm1, dword [rax + 4]
jp 0x14000344e
jne 0x14000344e
ucomiss xmm1, xmm7
jp 0x14000344e
je 0x1400034f1
lea rbx, [r14 + 0x37c0]
movss dword [rsp + 0x38], xmm6
mov ecx, dword [rbx]
mov r8d, dword [rbx + 4]
movss dword [rsp + 0x3c], xmm7
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 1
cmp ecx, r8d
jne 0x1400034cf
inc ecx
test r8d, r8d
je 0x1400034bb
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400034c0
movss xmm0, dword [rbx + rax + 8]
movss xmm1, dword [rbx + rax + 0xc]
lea rax, [rsp + 0x20]
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x24], xmm1
jmp 0x140003423
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.14001e240
movsxd rax, dword [rbx]
movups xmm0, xmmword [rsp + 0x30]
movsd xmm1, qword [rsp + 0x40]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
movups xmmword [rax + rcx*8], xmm0
movsd qword [rax + rcx*8 + 0x10], xmm1
inc dword [rbx]
movaps xmm6, xmmword [rsp + 0x60]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
movaps xmm7, xmmword [rsp + 0x50]
mov rsp, r11
pop r14
ret
Function at 0x1400038f0
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 0x14000394d
lea rbx, [0x1400cbba0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003934
cmp r10, 2
jb 0x140003934
cmp byte [r9], r8b
jne 0x140003934
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 0x140003910
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000398f
lea rbx, [0x1400cbba0]
cmp r8b, 0x23
jne 0x140003973
cmp byte [r9], r8b
jne 0x140003973
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 0x140003960
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003b50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x140003b7f
mov r8d, 0x783
lea rdx, [0x1400c6850]
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x140003b8b
mov qword [rdi], 0
lea rdx, [0x1400cb3e8]
mov rcx, rbx
call fcn.1400039a0
mov rbx, rax
test rax, rax
jne 0x140003bad
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
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 0x140003c84
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 0x140003c84
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140003c84
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003c84
cmp rsi, 0xffffffffffffffff
je 0x140003c84
mov rax, qword [0x1401a67c0]
test rax, rax
je 0x140003c21
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x140003c84
mov r9, rbx
mov r8, rsi
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, rsi
je 0x140003c71
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401a67c0]
test rax, rax
je 0x140003c66
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003c8d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140003c7f
mov qword [rdi], rsi
mov rax, rbp
jmp 0x140003c8f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140007400
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xe8], 0
mov rbx, rcx
movsxd rdi, edx
jg 0x140007437
mov r8d, 0x707
lea rdx, [0x1400c6650]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0xf0]
lea rdx, [0x1400cbba0]
movsxd r8, dword [rbx + 0xe8]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [0x1401a67c0]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x1400074b6
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001d000
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140016100
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1401a67c0]
mov edi, ecx
cmp byte [rbx + 0x4a5d], 0
jne 0x140016152
cmp byte [rbx + 0x4a5e], 0
jne 0x140016152
movsx r9d, word [rbx + 0x5b5a]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1400037b0
test dil, 1
je 0x140016278
jmp 0x1400161db
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400d5680]
xor eax, eax
mulss xmm1, dword [0x1400d5670]
addss xmm0, dword [rbx + 0xdfc]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x47c0], rax
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47b8], xmm0
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x3900]
mulss xmm0, dword [0x1400d55f0]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
movsx r9d, word [rbx + 0x5b5a]
call fcn.1400037b0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140016230
lea r11, [0x1400cbba0]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140016213
cmp byte [r8], r9b
jne 0x140016213
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 0x140016200
not ecx
call fcn.14000b7c0
test rax, rax
je 0x140016278
cmp byte [rax + 0xae], 0
je 0x140016278
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b5a]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5b5a]
call fcn.1400037b0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000e1d0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret