joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5304e0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rbp, rcx
mov rdi, rdx
mov esi, r8d
jmp 0x530508
call r12
cmp dword [rax], 4
jne 0x530526
mov rcx, rbp
call fcn.00530350
mov r8d, esi
mov rdx, rdi
mov ecx, eax
call sub.msvcrt.dll__read
movsxd rbx, eax
cmp rbx, 0xffffffffffffffff
je 0x530500
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x586200
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x0058fc20]
jmp 0x4b5a30

Function at 0x5874e0
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x00401540]
jmp fcn.00401510
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.004c5590
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.004c5590
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x401530
Function at 0x140002400
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140126240]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x50]
call fcn.1400f77a0
lea rdx, [rbp - 0x50]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x1400024c0
lea rcx, [rbp - 0x50]
mov r8, 0xffffffffffffffff
mov rax, r8
lea rax, [rax + 1]
cmp word [rcx + rax*2], si
jne 0x140002471
cmp word [rbp + rax*2 - 0x52], 0x5c
jne 0x14000249c
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x1400025c6
mov word [rbp + rax - 0x50], si
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
lea rax, [rbp - 0x50]
nop
inc r8
cmp word [rax + r8*2], si
jne 0x1400024b0
lea rdx, [rbp - 0x50]
jmp 0x1400024d9
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
xor r8d, r8d
lea rdx, [0x1401057e0]
lea rcx, [rbp - 0x70]
call fcn.14000dee0
nop
mov rdi, qword [rbp - 0x60]
test rdi, rdi
jne 0x14000250e
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
xor r8d, r8d
lea rdx, [0x1401057e0]
mov rcx, rbx
call fcn.14000dee0
jmp 0x14000258c
lea rcx, [rsp + 0x70]
call fcn.140002220
mov rsi, rax
movabs rcx, 0x7ffffffffffffffe
sub rcx, rdi
cmp rcx, 1
jb 0x1400025c0
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova r9, qword [rbp - 0x70]
mov qword [rsp + 0x30], 1
lea rax, [0x1401057e4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x50]
call fcn.14000e980
nop
mov r9, rsi
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.14000e760
nop
lea rcx, [rsp + 0x50]
call fcn.14000a150
nop
lea rcx, [rsp + 0x70]
call fcn.14000a150
nop
lea rcx, [rbp - 0x70]
call fcn.14000a150
mov rax, rbx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400ccc80
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140001480
nop
call fcn.1400ccf40
int3
Function at 0x140007f40
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1030
call fcn.1400cd980
sub rsp, rax
mov rax, qword [0x140126240]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov r13, r9
mov r15, r8
mov rbp, rdx
test r8, r8
je 0x140008006
mov r9d, 0x1000
lea rdx, [rsp + 0x20]
call fcn.140004680
test al, al
je 0x140008006
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rbx + rbp], 0
jne 0x140007fa0
movsxd rax, dword [rsp + 0x5c]
lea rcx, [rsp + 0x20]
add rcx, rax
xor esi, esi
movzx eax, word [rcx + 0x14]
lea r12, [rcx + 0x18]
movzx r14d, word [rcx + 6]
add r12, rax
test r14d, r14d
je 0x140008006
nop dword [rax]
lea rcx, [rsi + rsi*4]
mov r8, rbx
lea rdi, [r12 + rcx*8]
mov rdx, rbp
mov rcx, rdi
call fcn.1400f7be0
test eax, eax
jne 0x140007fff
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x140007ff1
cmp rbx, rax
je 0x140008033
inc esi
cmp esi, r14d
jb 0x140007fd0
xor eax, eax
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400ccc80
mov rbx, qword [rsp + 0x1078]
add rsp, 0x1030
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rdi + 0xc]
test eax, eax
je 0x140008006
mov ecx, dword [rdi + 8]
lea rax, [rsp + rax + 0x20]
test rax, rax
je 0x140008006
test ecx, ecx
je 0x140008006
test r13, r13
je 0x140008054
mov dword [r13], ecx
lea rcx, [rsp + 0x20]
sub rax, rcx
add rax, r15
jmp 0x140008008
Function at 0x140009240
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140009262
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x1400092dc
mov rdi, r14
mov rcx, rbx
call fcn.14000ab40
test rax, rax
jle 0x1400092b4
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1400f7100
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400092cc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400092d4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140009276
sub r14, rdi
jmp 0x1400093bf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400092f3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400092f5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140009327
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400f7100
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400093bc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140009362
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14000939d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400d5468
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x1400093bc
cmp rbp, rax
ja 0x140009370
test rbp, rbp
je 0x1400093bc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400d5468
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x140010910
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword gs:[0x60]
xor r15d, r15d
mov r14d, 0x30a77ee2
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov rbx, qword [rax + 0x30]
test rbx, rbx
je 0x140010b4c
cmp word [rax + 0x48], 0
je 0x140010b4c
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
sub cx, 8
test r15d, r15d
je 0x1400109d3
psrldq xmm0, 8
mov r10d, 0x6ba84611
movq r9, xmm0
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
cmp r9, r11
je 0x1400109ca
nop dword [rax + rax]
movsx ecx, byte [r9]
mov edx, ecx
sub cl, 0x41
mov r8d, edx
or r8d, 0x20
cmp cl, 0x19
cmova r8d, edx
add r9, 2
xor r8d, r10d
imul r10d, r8d, 0x1000193
cmp r9, r11
jne 0x1400109a0
cmp r10d, r15d
jne 0x140010b4c
movsxd rcx, dword [rbx + 0x3c]
mov rdx, qword [rcx + rbx + 0x88]
mov r12, rdx
mov esi, edx
shr r12, 0x20
add rsi, rbx
cmp rsi, rbx
je 0x140010b4c
mov edi, dword [rsi + 0x18]
test edi, edi
je 0x140010b4c
mov r13d, dword [rsi + 0x24]
mov r9d, dword [rsi + 0x1c]
mov r10d, dword [rsi + 0x20]
nop dword [rax + rax]
dec edi
lea rcx, [rdi*2]
add rcx, r13
movzx edx, word [rcx + rbx]
lea rcx, [r9 + rdx*4]
mov edx, dword [rcx + rbx]
lea rcx, [r10 + rdi*4]
mov r10d, dword [rcx + rbx]
add rdx, rbx
add r10, rbx
cmp rdx, rsi
jbe 0x140010a49
lea rcx, [r12 + rsi]
cmp rdx, rcx
jae 0x140010a49
mov bpl, 1
jmp 0x140010a4c
xor bpl, bpl
movzx r9d, byte [r10]
mov r11d, 0x6ba84611
inc r10
test r9b, r9b
je 0x140010a8f
nop
movsx ecx, r9b
lea r10, [r10 + 1]
sub r9b, 0x41
mov r8d, ecx
or r8d, 0x20
cmp r9b, 0x19
movzx r9d, byte [r10 - 1]
cmova r8d, ecx
xor r8d, r11d
imul r11d, r8d, 0x1000193
test r9b, r9b
jne 0x140010a60
cmp r11d, r14d
je 0x140010aac
mov r9d, dword [rsi + 0x1c]
mov r10d, dword [rsi + 0x20]
test edi, edi
jne 0x140010a10
mov rax, qword [rax]
jmp 0x140010950
test bpl, bpl
je 0x140010b54
movzx r8d, byte [rdx]
mov r15d, 0x6ba84611
mov r14d, r15d
cmp r8b, 0x2e
je 0x140010afc
nop dword [rax + rax]
movsx eax, r8b
sub r8b, 0x41
mov ecx, eax
or ecx, 0x20
cmp r8b, 0x19
movzx r8d, byte [rdx + 1]
cmova ecx, eax
inc rdx
xor ecx, r15d
imul r15d, ecx, 0x1000193
cmp r8b, 0x2e
jne 0x140010ad0
movzx r8d, byte [rdx + 1]
inc rdx
test r8b, r8b
je 0x140010b3b
nop dword [rax]
movsx eax, r8b
lea rdx, [rdx + 1]
sub r8b, 0x41
mov ecx, eax
or ecx, 0x20
cmp r8b, 0x19
movzx r8d, byte [rdx]
cmova ecx, eax
xor ecx, r14d
imul r14d, ecx, 0x1000193
test r8b, r8b
jne 0x140010b10
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x140010950
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rbx]
call rdx
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov qword [rbx], 0
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140010b90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140126240]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor ebx, ebx
lea r9, [rsp + 0x20]
mov rsi, rcx
mov dword [rsp + 0x20], ebx
xor r8d, r8d
xor edx, edx
mov edi, ebx
lea ecx, [rbx + 0xb]
call fcn.14005be20
cmp eax, 0xc0000004
jne 0x140010c1f
test rdi, rdi
je 0x140010be8
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
mov rdi, rax
call fcn.14005be20
cmp eax, 0xc0000004
je 0x140010bd2
test eax, eax
jns 0x140010c40
test rdi, rdi
je 0x140010c45
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x140010cd3
test rdi, rdi
jne 0x140010c4c
xor eax, eax
jmp 0x140010cd3
mov r10d, dword [rdi]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], r14
test r10d, r10d
je 0x140010cb6
lea r9, [rdi + 0x2e]
movabs rbp, 0x100000001b3
movabs r14, 0xcbf29ce484222325
movzx r8d, word [r9]
mov eax, ebx
add r8, 0x30
imul r11, rax, 0x128
mov rax, r14
add r8, r11
add r8, rdi
movsx rdx, byte [r8]
lea r8, [r8 + 1]
xor rax, rdx
imul rax, rbp
test dl, dl
jne 0x140010c90
cmp rax, rsi
je 0x140010cf0
inc ebx
add r9, 0x128
cmp ebx, r10d
jb 0x140010c76
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400ccc80
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [r11 + rdi + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rbx
jmp 0x140010cc9
Function at 0x140010d10
Capabilities:
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx]
xor ebp, ebp
mov rsi, rdx
mov edi, ebp
movsxd rax, dword [rbx + 0x3c]
mov r10d, dword [rax + rbx + 0x88]
add r10, rbx
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x140010dc6
mov qword [rsp + 0x40], r12
movabs r12, 0xcbf29ce484222325
mov qword [rsp + 0x48], r14
mov r14d, dword [r10 + 0x20]
mov qword [rsp + 0x50], r15
movabs r15, 0x100000001b3
nop dword [rax]
dec r9d
lea rax, [r14 + r9*4]
mov r8d, dword [rax + rbx]
mov rax, r12
add r8, rbx
movsx rdx, byte [r8]
lea r8, [r8 + 1]
xor rax, rdx
imul rax, r15
test dl, dl
jne 0x140010d81
cmp rax, rsi
jne 0x140010db2
mov ecx, dword [r10 + 0x24]
add rcx, rbx
movzx edx, word [rcx + r9*2]
mov ecx, dword [r10 + 0x1c]
add rcx, rbx
mov edi, dword [rcx + rdx*4]
add rdi, rbx
test r9d, r9d
jne 0x140010d70
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x48]
mov r12, qword [rsp + 0x40]
movabs rcx, 0xdf04a75e8a5eb8d0
call fcn.140010b90
sub rax, rbx
mov rbx, qword [rsp + 0x58]
add rax, rdi
test rdi, rdi
cmovne rbp, rax
mov rax, rbp
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x140017490
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14001763e
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1401dfa88]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1401dfa98]
lea rdx, [rdi + rdi]
call fcn.140017060
mov rax, qword [0x1401dfa88]
lea r9, [rdi - 1]
mov qword [0x1401dfab0], r9
mov qword [0x1401dfab8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140017633
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1401dfa98]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14001757f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400175f4
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400175bc
mov r10, qword [rdx]
cmp r10, rax
je 0x1400175b6
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400175f4
cmp r9, rdx
je 0x1400175d0
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140017608
cmp r9, rdx
jne 0x1400175c1
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x14001762e
mov r9, qword [0x1401dfab0]
jmp 0x140017530
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400175f4
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1400ca1d0
int3

Function at 0x1400217c0
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 0x14002181d
lea rbx, [0x140105ae0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140021804
cmp r10, 2
jb 0x140021804
cmp byte [r9], r8b
jne 0x140021804
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 0x1400217e0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14002185f
lea rbx, [0x140105ae0]
cmp r8b, 0x23
jne 0x140021843
cmp byte [r9], r8b
jne 0x140021843
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 0x140021830
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x1400219a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400219ba
mov qword [r8], 0
lea rdx, [0x14010dc0c]
call fcn.140021870
mov rbx, rax
test rax, rax
jne 0x1400219da
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 fcn.1400d656c
mov esi, eax
cmp eax, 0xffffffff
je 0x140021aa8
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1400d5838
test eax, eax
jne 0x140021aa8
mov rcx, rbx
call fcn.1400d656c
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140021aa8
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1400d5838
test eax, eax
jne 0x140021aa8
cmp rdi, 0xffffffffffffffff
je 0x140021aa8
mov rax, qword [0x1401c8220]
test rax, rax
je 0x140021a4a
inc dword [rax + 0x3bc]
mov rcx, rdi
call fcn.1400d5cf0
mov rsi, rax
test rax, rax
je 0x140021aa8
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1400d5468
mov rcx, rbx
cmp rax, rdi
je 0x140021a96
call fcn.1400d4388
mov rax, qword [0x1401c8220]
test rax, rax
je 0x140021a8c
dec dword [rax + 0x3bc]
mov rcx, rsi
call fcn.1400d5044
jmp 0x140021ab0
call fcn.1400d4388
test r14, r14
je 0x140021aa3
mov qword [r14], rdi
mov rax, rsi
jmp 0x140021ab2
mov rcx, rbx
call fcn.1400d4388
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 0x14002c510
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x1401c8220]
lea rdx, [0x140105ae0]
mov r8d, ecx
mov rbx, qword [rax + 0x1a90]
add rbx, 0xc8
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x14002c5c7
lea ecx, [r9 + 1]
test r8d, r8d
je 0x14002c5b3
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14002c5b8
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140033fb0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14002d400
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140126240]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401c8220]
cmp byte [rbx + 0x1fb5], 0
jne 0x14002d42e
cmp byte [rbx + 0x1fb6], 0
je 0x14002d49b
movss xmm1, dword [rbx + 0x1614]
xor eax, eax
movaps xmm0, xmm1
mulss xmm1, dword [0x1401101e4]
mulss xmm0, dword [0x1401101f4]
addss xmm1, dword [rbx + 0x134]
addss xmm0, dword [rbx + 0x130]
mov qword [rbx + 0x1b50], rax
mov dword [rbx + 0x1b3c], 1
movss dword [rbx + 0x1b4c], xmm1
movss dword [rbx + 0x1b48], xmm0
movss xmm0, dword [rbx + 0x1670]
mulss xmm0, dword [0x140110140]
or dword [rbx + 0x1b38], 0x41
movss dword [rbx + 0x1b98], xmm0
mov r9d, dword [rbx + 0x2ff8]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140021740
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14002d508
lea r11, [0x140105ae0]
cmp r9b, 0x23
jne 0x14002d4eb
cmp byte [r8], r9b
jne 0x14002d4eb
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 0x14002d4d8
not ecx
call fcn.1400273a0
test rax, rax
je 0x14002d551
cmp byte [rax + 0x86], 0
je 0x14002d551
mov byte [rax + 0x8d], 1
lea r8, str.Tooltip__02d
mov dword [rax + 0xa4], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2ff8]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x2ff8]
call fcn.140021740
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1400299f0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400ccc80
add rsp, 0x40
pop rbx
ret
Function at 0x14003e060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x14003e1f1
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x14003e0d0
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.14003da20
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.14003d070
mov dword [rbx + 0x80], 0
jmp 0x14003e1dd
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.14003bd50
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rsi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rsi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], edi
movsd xmm0, qword [rsi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], edi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret