joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001aa0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400070b4]
mov rbx, rcx
test esi, esi
jle 0x140001bd0
mov rax, qword [0x1400070b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001aeb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001b75
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001ad0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140001bf2
mov rax, qword [0x1400070b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400070b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001bd7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140001b6e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001b80
add dword [0x1400070b4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400070b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001b6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140001af8
mov rax, qword [0x1400070b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x1400022a0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp edx, 2
je 0x1400023d0
ja 0x1400022e8
test edx, edx
je 0x140002368
mov eax, dword [0x140007108]
test eax, eax
je 0x140002450
mov dword [0x140007108], 1
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp edx, 3
jne 0x1400022d5
mov eax, dword [0x140007108]
test eax, eax
je 0x1400022d5
lea r12, [0x140007120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140007100]
test rbx, rbx
je 0x140002354
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140002478
test eax, eax
jne 0x140002478
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002328
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1400022d5
mov eax, dword [0x140007108]
test eax, eax
jne 0x1400023e8
mov eax, dword [0x140007108]
cmp eax, 1
jne 0x1400022d5
mov rbx, qword [0x140007100]
test rbx, rbx
je 0x1400023a1
nop dword [rax]
mov rcx, rbx
mov rbx, qword [rbx + 0x10]
call sym.free
test rbx, rbx
jne 0x140002390
lea rcx, [0x140007120]
mov qword [0x140007100], 0
mov dword [0x140007108], 0
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x1400022d5
call sym._fpreset
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea r12, [0x140007120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140007100]
test rbx, rbx
je 0x14000243c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop word [rax + rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140002468
test rsi, rsi
je 0x140002468
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002418
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140002372
lea rcx, [0x140007120]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x1400022cb
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002418
jmp 0x14000243c
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002328
jmp 0x140002354

Function at 0x140002490
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400024a8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400024b0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400024c0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000250d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140002504
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000250f
add rax, 0x28
cmp rax, r9
jne 0x1400024f0
xor eax, eax
ret
Function at 0x140002510
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400025a0
mov rdx, qword [0x1400043d0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000258e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000258e
cmp word [rax + 0x18], 0x20b
jne 0x14000258e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400025a0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002579
add rbx, 0x28
cmp rbx, rdi
je 0x1400025a0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002570
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400025b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r8, qword [0x1400043d0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400025d0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400025d8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400025d0
movzx eax, word [rdx + 0x14]
sub rcx, r8
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002625
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000261c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400025d0
add rax, 0x28
cmp rax, r9
jne 0x140002608
xor eax, eax
ret

Function at 0x140002630
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043d0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000264f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002658
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000264f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002670
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400043d0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002690
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002698
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002690
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400026e0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400026d7
test rcx, rcx
je 0x140002690
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x1400026c8
xor eax, eax
ret

Function at 0x1400026f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043d0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000270f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002718
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140002730
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400043d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002750
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002758
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002750
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002750
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400027a4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400027b0
add rdx, 0x28
cmp r9, rdx
jne 0x140002790
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1400027c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400043d0]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x1400027e4
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
cmp dword [rcx], 0x4550
je 0x1400027f0
mov rax, r9
ret
cmp word [rcx + 0x18], 0x20b
jne 0x1400027e4
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x1400027e4
movzx edx, word [rcx + 0x14]
movzx r10d, word [rcx + 6]
lea rdx, [rcx + rdx + 0x18]
test r10w, r10w
je 0x1400027e4
lea ecx, [r10 - 1]
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x14000283c
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x140002850
add rdx, 0x28
cmp rdx, r10
jne 0x140002828
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002860
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x14000286e
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002845
test r8d, r8d
jg 0x140002858
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1400033f0
Capabilities:
Hash data using djb2

Disassembly:
movzx eax, byte [rcx]
lea r9, [rcx + 1]
mov r8d, 0x1505
test eax, eax
je 0x140003430
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x41]
cmp ecx, 0x1a
lea edx, [rax + 0x20]
lea r9, [r9 + 1]
cmovb eax, edx
imul r8d, r8d, 0x21
add r8d, eax
movzx eax, byte [r9 - 1]
test eax, eax
jne 0x140003410
test r8d, r8d
mov eax, 1
cmovne eax, r8d
ret
Function at 0x14000e340
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rbx
push rsi
push r15
sub rsp, 0x2d0
mov r15, rcx
mov rbx, r8
lea rcx, [rsp + 0x308]
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14000e5b7
mov rax, qword [rsp + 0x308]
xor edx, edx
sub rax, qword [0x140099f88]
mov rcx, qword [rbx + 8]
imul rax, rax, 0xf4240
mov qword [rsp + 0x2f0], rbp
div qword [0x140099f80]
mov edx, dword [rcx + 0xa4]
mov qword [rsp + 0x2f8], rdi
mov rbp, rax
add rbp, qword [0x140099f90]
shr edx, 0xd
mov qword [rsp + 0x300], r14
movaps xmmword [rsp + 0x2c0], xmm6
test dl, 1
je 0x14000e3cc
mov rax, qword [rbx + 0x48]
jmp 0x14000e3d0
lea rax, [rbx + 0x20]
movups xmm6, xmmword [rax]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
movaps xmmword [rsp + 0x50], xmm6
call fcn.14002de90
mov rcx, qword [r15 + 0x120]
lea r8, str._s__s_out
add rcx, 0x9c
xor edi, edi
mov eax, edi
mov edx, 0x200
sub eax, dword [rcx]
movsxd r9, dword [rcx]
add r9, rcx
lea rcx, [rsp + 0xc0]
neg eax
sbb rax, rax
and r9, rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.140003390
mov rax, qword [rbx + 8]
lea rcx, [rsp + 0xc0]
mov rdx, qword [r15 + 0x1d0]
mov r9, rsi
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rax
lea r8, [rax + 0x38]
movdqa xmmword [rsp + 0x60], xmm6
mov dword [rsp + 0x20], edi
call fcn.1400131a0
lea rcx, [rsp + 0x308]
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14000e5c4
mov rax, qword [rsp + 0x308]
xor edx, edx
sub rax, qword [0x140099f88]
xorps xmm6, xmm6
imul rax, rax, 0xf4240
div qword [0x140099f80]
mov rcx, rax
sub rcx, rbp
add rcx, qword [0x140099f90]
js 0x14000e4ba
cvtsi2sd xmm6, rcx
jmp 0x14000e4cf
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm6, rax
addsd xmm6, xmm6
divsd xmm6, qword [0x14008df68]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x98]
call fcn.14002de90
mov ecx, r14d
test r14d, r14d
je 0x14000e589
sub ecx, 1
je 0x14000e54f
sub ecx, 1
je 0x14000e538
cmp ecx, 1
jne 0x14000e5d1
mov r8, rbx
mov rdx, rsi
mov rcx, r15
call fcn.1400452b0
lea rax, [rsp + 0xc0]
mov r9, rbx
movaps xmm2, xmm6
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, r15
call fcn.14003df40
mov al, 1
jmp 0x14000e58b
xor r9d, r9d
lea r8, str.cachemiss
mov rdx, rbx
mov rcx, rsi
call fcn.14003cdd0
jmp 0x14000e589
mov rax, qword [rbx + 8]
lea r8, str._s__CacheRead__s_
add rax, 0xc
mov ecx, 2
cvttsd2si edx, xmm6
movsxd r9, dword [rax]
sub edi, dword [rax]
add r9, rax
neg edi
sbb rax, rax
and r9, rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
call fcn.14003c360
xor al, al
mov r14, qword [rsp + 0x300]
mov rdi, qword [rsp + 0x2f8]
mov rbp, qword [rsp + 0x2f0]
movaps xmm6, xmmword [rsp + 0x2c0]
add rsp, 0x2d0
pop r15
pop rsi
pop rbx
ret
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140013a60
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140013a60
int3
mov edx, r14d
lea rcx, str.Unexpected_cache_read_result__d
call fcn.1400139e0
int3
Function at 0x1400145f0
Capabilities:
Delete directory
Delete file

Disassembly:
push rbx
sub rsp, 0x70
mov rbx, rcx
mov rdx, rcx
lea rcx, [rsp + 0x38]
call fcn.140027500
movups xmm1, xmmword [rax]
movd eax, xmm1
movups xmmword [rsp + 0x20], xmm1
test al, 1
jne 0x14001461e
mov al, 1
add rsp, 0x70
pop rbx
ret
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140013d00
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140014000
mov eax, dword [rsp + 0x20]
lea rcx, [rsp + 0x50]
shr eax, 3
test al, 1
je 0x14001465b
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14001466d
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rsp + 0x68]
cmp eax, 1
sete bl
cmp rdx, 8
jb 0x1400146b1
mov rcx, qword [rsp + 0x50]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400146ac
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400146ba
mov rcx, r8
call fcn.14004ba4c
movzx eax, bl
add rsp, 0x70
pop rbx
ret
call fcn.14005689c
int3

Function at 0x1400146c0
Capabilities:
Move file

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rdx
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.140013d00
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140013d00
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140014000
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140014000
cmp qword [rsp + 0x38], 8
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
mov r8d, 1
cmovae rdx, qword [rsp + 0x20]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov rdx, qword [rsp + 0x38]
test eax, eax
setne bl
cmp rdx, 8
jb 0x14001476c
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140014767
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400147c8
mov rcx, r8
call fcn.14004ba4c
mov rdx, qword [rsp + 0x58]
xor eax, eax
movdqa xmm0, xmmword [0x14008df80]
mov word [rsp + 0x20], ax
movdqu xmmword [rsp + 0x30], xmm0
cmp rdx, 8
jb 0x1400147bf
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400147ba
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400147c8
mov rcx, r8
call fcn.14004ba4c
movzx eax, bl
add rsp, 0x60
pop rbx
ret
call fcn.14005689c
int3
Function at 0x1400156c0
Capabilities:
Hash data using djb2

Disassembly:
push rbx
push r12
push r15
sub rsp, 0x4c0
mov r12, r9
mov rbx, r8
mov r15, rcx
call fcn.140015f60
cmp eax, 0xffffffff
je 0x14001572d
movsxd rdx, eax
mov rax, qword [r15 + 0x28]
lea r9, [rax + rdx*4]
test r9, r9
je 0x14001572d
mov rax, qword [r15 + 0x60]
xor r8d, r8d
add rax, 0x10
sub r8d, dword [rax]
movsxd rdx, dword [rax]
add rdx, rax
neg r8d
sbb rax, rax
and rdx, rax
movsxd rax, dword [r9]
imul rcx, rax, 0xb0
mov al, 1
add rdx, rcx
mov qword [r12], rdx
add rsp, 0x4c0
pop r15
pop r12
pop rbx
ret
mov qword [rsp + 0x4e0], rbp
lea rcx, [rsp + 0x220]
mov qword [rsp + 0x4e8], rsi
mov rdx, rbx
mov qword [rsp + 0x4f0], rdi
mov qword [rsp + 0x4b8], r13
mov qword [rsp + 0x4b0], r14
call fcn.140040600
mov r13d, 0xffff
nop dword [rax + rax]
movzx eax, word [rsp + 0x224]
movzx ecx, word [rsp + 0x226]
shr ax, 1
and ax, 1
cmp cx, ax
jbe 0x1400158ae
add cx, r13w
lea rdx, [rsp + 0x220]
mov word [rsp + 0x226], cx
lea rcx, [rsp + 0x20]
call fcn.140040970
movzx edx, byte [rsp + 0x20]
lea r9, [rsp + 0x21]
mov r8d, 0x1505
test edx, edx
je 0x1400157f0
nop dword [rax]
nop word [rax + rax]
lea eax, [rdx - 0x41]
cmp eax, 0x1a
lea ecx, [rdx + 0x20]
lea r9, [r9 + 1]
cmovb edx, ecx
imul r8d, r8d, 0x21
add r8d, edx
movzx edx, byte [r9 - 1]
test edx, edx
jne 0x1400157d0
mov edx, dword [r15 + 0x40]
test r8d, r8d
mov edi, 1
cmovne edi, r8d
test edx, edx
je 0x140015770
mov rsi, qword [r15 + 0x30]
lea ebx, [rdx - 1]
mov r14, qword [r15 + 0x38]
and ebx, edi
mov ecx, dword [rsi + rbx*4]
test ecx, ecx
je 0x140015770
mov eax, ebx
lea ebp, [rdx - 1]
cmp edi, ecx
jne 0x140015845
mov rcx, qword [r14 + rax*8]
lea rax, [rsp + 0x20]
cmp rcx, rax
je 0x140015857
lea rdx, [rsp + 0x20]
call fcn.140007fe0
test eax, eax
je 0x140015857
inc ebx
and ebx, ebp
mov eax, ebx
mov ecx, dword [rsi + rbx*4]
test ecx, ecx
jne 0x140015825
jmp 0x140015770
cmp ebx, 0xffffffff
je 0x140015770
mov rax, qword [r15 + 0x58]
movsxd rcx, ebx
lea rdx, [rax + rcx*4]
test rdx, rdx
je 0x140015770
xor r8d, r8d
cmp dword [rdx], 0xffffffff
je 0x1400158a6
mov rax, qword [r15 + 0x60]
add rax, 0x10
sub r8d, dword [rax]
movsxd rcx, dword [rax]
add rcx, rax
neg r8d
mov r8, rcx
sbb rax, rax
and r8, rax
movsxd rax, dword [rdx]
imul rcx, rax, 0xb0
add r8, rcx
mov qword [r12], r8
mov al, 1
jmp 0x1400158b0
xor al, al
mov r13, qword [rsp + 0x4b8]
mov rdi, qword [rsp + 0x4f0]
mov rsi, qword [rsp + 0x4e8]
mov rbp, qword [rsp + 0x4e0]
mov r14, qword [rsp + 0x4b0]
add rsp, 0x4c0
pop r15
pop r12
pop rbx
ret
Function at 0x1400158f0
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push r14
sub rsp, 0x20
mov rsi, rdx
mov r14, rcx
mov ebx, 1
mov rcx, r9
mov rbp, r9
lea edx, [rbx + 0x2d]
call fcn.14004c96c
test rax, rax
jne 0x14001592b
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rsi
pop rbp
ret
movzx edx, byte [rax]
lea r9, [rax + 1]
mov qword [rsp + 0x40], rdi
mov r8d, 0x1505
test edx, edx
je 0x140015970
nop dword [rax]
nop word [rax + rax]
lea eax, [rdx - 0x41]
cmp eax, 0x1a
lea ecx, [rdx + 0x20]
lea r9, [r9 + 1]
cmovb edx, ecx
imul r8d, r8d, 0x21
add r8d, edx
movzx edx, byte [r9 - 1]
test edx, edx
jne 0x140015950
test r8d, r8d
mov r10d, ebx
mov edi, 2
cmovne r10d, r8d
mov r8, qword [r14 + 0x60]
movsxd r9, dword [r8 + 0x60]
lea rcx, [r8 + 0x60]
movsxd rdx, dword [r8 + 0x60]
xor eax, eax
sub eax, dword [rcx]
add r9, rcx
neg eax
lea rcx, [r8 + 0x60]
sbb rax, rax
add rdx, rcx
and r9, rax
xor eax, eax
sub eax, dword [rcx]
neg eax
sbb rax, rax
and rdx, rax
movsxd rax, dword [r8 + 0x5c]
lea rcx, [rdx + rax*4]
cmp r9, rcx
je 0x1400159d2
nop
cmp dword [r9], r10d
je 0x1400159d0
add r9, 4
cmp r9, rcx
jne 0x1400159c0
jmp 0x1400159d2
mov ebx, edi
test dword [rsi + 0xa4], 0x1000
jne 0x140015a71
test dword [rsi + 0xa4], 0x4000
jne 0x1400159f9
mov edi, ebx
cmp ebx, 2
jne 0x140015a76
movsxd rbx, dword [r8 + 0x68]
lea rcx, [r8 + 0x68]
movsxd rdx, dword [r8 + 0x68]
xor eax, eax
sub eax, dword [rcx]
add rbx, rcx
neg eax
lea rcx, [r8 + 0x68]
sbb rax, rax
add rdx, rcx
and rbx, rax
xor eax, eax
sub eax, dword [rcx]
neg eax
sbb rax, rax
and rdx, rax
movsxd rax, dword [r8 + 0x64]
lea rsi, [rdx + rax*4]
cmp rbx, rsi
je 0x140015a76
movsxd rcx, dword [rbx]
xor eax, eax
sub eax, dword [rbx]
add rcx, rbx
neg eax
mov r8, 0xffffffffffffffff
sbb rax, rax
and rcx, rax
nop dword [rax]
inc r8
cmp byte [rcx + r8], 0
jne 0x140015a50
mov rdx, rbp
call fcn.140058690
test eax, eax
je 0x140015a71
add rbx, 4
cmp rbx, rsi
jne 0x140015a34
jmp 0x140015a76
mov edi, 1
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
pop rsi
pop rbp
ret
Function at 0x140019290
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x4d0
mov rbp, r9
mov r15, r8
mov r14, rdx
mov rsi, rcx
test r9, r9
je 0x140019454
cmp qword [r9 + 8], 0
je 0x140019454
mov rdx, qword [rsi + 0x10]
add rcx, 0x18
mov qword [rsp + 0x4f0], rbx
mov r8d, 4
mov ebx, dword [r9 + 8]
call fcn.140007f10
lea rdx, [rsp + 0x20]
mov rcx, rsi
mov dword [rax], ebx
mov eax, dword [r14]
mov dword [rsp + 0x20], eax
mov rax, qword [r14 + 0x20]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
call fcn.140007980
mov rsi, qword [rbp + 8]
xor edi, edi
test rsi, rsi
je 0x14001942d
nop
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + rdi*8]
cmp dword [rdx], 4
jne 0x140019450
mov rdx, qword [rdx + 8]
lea rcx, [rsp + 0x240]
call fcn.140040600
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x40]
call fcn.140040970
mov eax, dword [r15]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov rcx, r14
mov rax, qword [r15 + 0x20]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.140007980
lea rax, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
cmp byte [rax + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x140019390
mov rdx, qword [r15 + 0x10]
lea rcx, [r15 + 0x18]
lea r8, [rbx + 1]
call fcn.140007f10
mov rcx, rax
lea r8, [rbx + 1]
lea rdx, [rsp + 0x40]
call fcn.14004dd10
movzx eax, byte [rsp + 0x40]
lea r9, [rsp + 0x41]
mov r8d, 0x1505
test eax, eax
je 0x140019400
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x41]
cmp ecx, 0x1a
lea edx, [rax + 0x20]
lea r9, [r9 + 1]
cmovb eax, edx
imul r8d, r8d, 0x21
add r8d, eax
movzx eax, byte [r9 - 1]
test eax, eax
jne 0x1400193e0
mov rdx, qword [r14 + 0x10]
lea rcx, [r14 + 0x18]
test r8d, r8d
mov ebx, 1
cmovne ebx, r8d
mov r8d, 4
call fcn.140007f10
inc rdi
mov dword [rax], ebx
cmp rdi, rsi
jb 0x140019320
mov al, 1
mov rbx, qword [rsp + 0x4f0]
lea r11, [rsp + 0x4d0]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
xor al, al
jmp 0x14001942f
mov rdx, qword [rsi + 0x10]
add rcx, 0x18
mov r8d, 4
call fcn.140007f10
xor edi, edi
lea rcx, [rsi + 0x18]
mov dword [rax], edi
mov rdx, qword [rsi + 0x10]
lea r8d, [rdi + 4]
call fcn.140007f10
mov dword [rax], edi
mov al, 1
jmp 0x140019437