joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140019350
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140019380
xor eax, eax
jmp 0x140019443
mov rbp, rbx
cmp word [rax], si
je 0x1400193a5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001938c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140019388
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140017acc
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x1400193e6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140019379
call fcn.140015d10
mov rdi, rax
test rax, rax
jne 0x1400193fc
xor ecx, ecx
call fcn.140012590
jmp 0x1400193db
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140017acc
test eax, eax
jne 0x14001942d
mov rcx, rdi
call fcn.140012590
jmp 0x140019437
xor ecx, ecx
call fcn.140012590
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14001c0b0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x14001c123
cmp word [rcx], si
je 0x14001c123
lea rdx, [0x1400254c8]
call fcn.14001db48
test eax, eax
je 0x14001c123
lea rdx, [0x1400254e0]
mov rcx, rbx
call fcn.14001db48
test eax, eax
jne 0x14001c119
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14001c140
mov eax, dword [rsp + 0x30]
jmp 0x14001c152
mov rcx, rbx
call fcn.140011cec
jmp 0x14001c152
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x14001c144
xor eax, eax
jmp 0x14001c152
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x14001c152
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001c164
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.1400122f8
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14001c207
cmp edi, dword [rsp + 0x30]
je 0x14001c200
test ebp, ebp
je 0x14001c200
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x14001c1dc
sub dx, 0x61
cmp dx, 0x19
ja 0x14001c1e8
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x14001c1c9
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x14001c1ec
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x14001c209
mov eax, 1
jmp 0x14001c209
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001d660
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000b378
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001d6ea
cmp byte [rbp - 0x21], r15b
je 0x14001d6e5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14001d720
call fcn.1400128a8
test eax, eax
jne 0x14001d70c
cmp byte [rbp - 0x21], r15b
je 0x14001d704
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14001d720
cmp byte [rbp - 0x21], r15b
je 0x14001d71d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000e360
test eax, eax
jne 0x14001d7c0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000b378
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001d75f
cmp byte [rbp - 0x21], r15b
je 0x14001d794
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14001d794
call fcn.1400128a8
test eax, eax
jne 0x14001d780
cmp byte [rbp - 0x21], r15b
je 0x14001d779
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14001d794
cmp byte [rbp - 0x21], r15b
je 0x14001d791
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000e360
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14001d7c0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001d7c3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001d7d1
mov rcx, rdi
call fcn.140012590
cmp byte [rbp + 0x3f], r15b
je 0x14001d7e0
mov rcx, qword [rbp + 0x27]
call fcn.140012590
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14001e3e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001e408
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001e408
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400025a0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x490
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rsp + 0x480], rax
xor edx, edx
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140002617
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140002610
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000260b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000272e
mov rcx, r8
call fcn.140007900
xor eax, eax
jmp 0x1400026fa
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14000263c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400025d6
cmp qword [rbx + 0x18], 0xf
mov r8, rbx
jbe 0x140002649
mov r8, qword [rbx]
xor edx, edx
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0x270]
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop dword [rax]
lea rax, [rsp + 0x5c]
lea r8, [rsp + 0x270]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140002694
add rax, 2
test ecx, ecx
jne 0x140002680
mov rcx, rdi
test edx, edx
je 0x1400026b8
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002670
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400025d6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
mov edi, dword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1400026f8
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400026f3
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000272e
mov rcx, r8
call fcn.140007900
mov eax, edi
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], 0
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1400078e0
mov rbx, qword [rsp + 0x4a8]
add rsp, 0x490
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140007248
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140007282
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140007287
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400072d0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140009470]
cmp byte [rcx + rax], 0
je 0x1400072d0
dec r8
sub rdx, 1
jne 0x1400072b6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400083d4
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x180116100]
xor rax, rsp
mov qword [rsp + 0x50], rax
xorps xmm1, xmm1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor eax, eax
mov rbx, rcx
mov qword [rcx + 0x10], rax
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm1
movups xmmword [rsp + 0x30], xmm1
movups xmmword [rsp + 0x40], xmm1
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
mov dword [rbx], eax
mov eax, dword [rsp + 0x48]
mov dword [rbx + 4], eax
mov rax, qword [rsp + 0x28]
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x10], rax
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180058130
add rsp, 0x60
pop rbx
ret
Function at 0x1800038f4
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov rax, qword [0x180116100]
xor rax, rsp
mov qword [rbp + 0x420], rax
mov r13, rdx
mov r15, rcx
mov r14b, 1
xor edi, edi
xor ebx, ebx
and qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r9d, r9d
mov r8d, 0x81a
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
call qword [sym.imp.ntdll.dll_NtGetNextThread]
mov esi, eax
test rbx, rbx
je 0x180003973
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
js 0x180003a33
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov esi, eax
test eax, eax
je 0x180003933
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, eax
je 0x180003933
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x180003933
test eax, eax
je 0x1800039be
test r14b, r14b
jne 0x1800039be
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x180003933
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x4d0
call fcn.180083270
lea rdx, [rsp + 0x50]
mov dword [rbp - 0x80], 0x10000b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x180003933
mov rcx, qword [r13 + 0x38]
test rcx, rcx
je 0x180003a1e
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x38]
mov dword [rsp + 0x48], esi
lea r8, [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax + 0x10]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
inc edi
jmp 0x180003933
xor r14b, r14b
test edi, edi
jne 0x18000392f
mov rcx, qword [r15 + 0x38]
test rcx, rcx
je 0x180003a4d
mov rax, qword [rcx]
call qword [rax + 0x10]
xor ebx, ebx
and qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r9d, r9d
mov r8d, 0x81a
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
call qword [sym.imp.ntdll.dll_NtGetNextThread]
mov edi, eax
test rbx, rbx
je 0x180003a8f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
js 0x180003abc
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov edi, eax
test eax, eax
je 0x180003a4f
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x180003a4f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x180003a4f
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.180058130
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x18000f8a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
xor r10d, r10d
movzx r14d, cx
mov edi, r14d
mov r15, r9
shr edi, 8
mov rbp, r8
mov r12, rdx
mov esi, r14d
mov ebx, r10d
mov r11d, r10d
test r8, r8
je 0x18000f927
movzx eax, word [r12 + r11*2]
mov edx, eax
movzx ecx, al
shr edx, 8
add edx, ebx
cmp edi, ecx
jb 0x18000f927
jne 0x18000f91d
movsxd rcx, ebx
movsxd r9, edx
cmp rcx, r9
jge 0x18000f91d
mov eax, 0xff
movzx r8d, r14w
and r8w, ax
movzx eax, byte [rcx + r15]
cmp ax, r8w
je 0x18000f950
inc rcx
cmp rcx, r9
jl 0x18000f90a
inc r11
mov ebx, edx
cmp r11, rbp
jb 0x18000f8dd
mov cl, 1
cmp qword [rsp + 0x48], r10
jbe 0x18000f967
mov r8, qword [rsp + 0x40]
movzx eax, byte [r10 + r8]
test al, al
jns 0x18000f954
inc r10
and eax, 0x7f
shl eax, 8
movzx edx, byte [r10 + r8]
or edx, eax
jmp 0x18000f956
xor al, al
jmp 0x18000f969
mov edx, eax
sub esi, edx
js 0x18000f967
xor cl, 1
inc r10
cmp r10, qword [rsp + 0x48]
jb 0x18000f935
mov al, cl
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret
Function at 0x180016404
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18001643a
and qword [rsp + 0x28], 0
lea r8, [0x1800163dc]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18001643a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180016790
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1800167b0
xor eax, eax
jmp 0x180016896
cmp qword [rcx + 0x68], 0
je 0x1800167c1
call fcn.180018d7c
jmp 0x180016896
mov rax, qword [rcx + 0x38]
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1800167d8
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1800167da
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18001680c
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.180082b30
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x180016890
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x180016843
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x18001686c
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1800689c8
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x180016890
cmp rdi, rbx
ja 0x18001684a
test rdi, rdi
je 0x180016890
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call fcn.1800689c8
sub rdi, rax
sub rbp, rdi
mov rax, rbp
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18001e740
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], r8
mov rsi, rdx
mov rbp, rcx
movzx eax, byte [r8]
mov r13d, eax
movabs rcx, 0xcbf29ce484222325
xor r13, rcx
movabs rcx, 0x100000001b3
imul r13, rcx
mov rcx, qword [rbp + 0x30]
and rcx, r13
add rcx, rcx
mov rdx, qword [rbp + 0x18]
mov rbx, qword [rdx + rcx*8 + 8]
lea r8, [rbp + 8]
mov r12, qword [r8]
cmp rbx, r12
jne 0x18001e7a3
mov rbx, r12
mov r14, r12
jmp 0x18001e7d6
mov rdx, qword [rdx + rcx*8]
jmp 0x18001e7b2
cmp rbx, rdx
je 0x18001e7d0
mov rbx, qword [rbx + 8]
cmp al, byte [rbx + 0x10]
jne 0x18001e7a9
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov r12, rbx
mov r14, rbx
movabs rax, 0x7ffffffffffffff
cmp qword [rbp + 0x10], rax
je 0x18001e91d
mov qword [rsp + 0x30], r8
and qword [rsp + 0x38], 0
mov ecx, 0x20
call fcn.180058270
mov rdi, rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x20]
mov al, byte [rax]
mov byte [rdi + 0x10], al
and qword [rdi + 0x18], 0
mov rcx, qword [rbp + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x18001e82a
cvtsi2ss xmm0, rcx
jmp 0x18001e83f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x18001e852
cvtsi2ss xmm1, rcx
jmp 0x18001e867
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
jbe 0x18001e8bf
mov rcx, rbp
call fcn.180022e28
mov rcx, qword [rbp + 0x30]
and rcx, r13
add rcx, rcx
mov rdx, qword [rbp + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rbp + 8]
cmp rax, rbx
je 0x18001e8b2
mov r8, qword [rdx + rcx*8]
mov cl, byte [rdi + 0x10]
jmp 0x18001e8aa
mov rbx, rax
cmp rax, r8
je 0x18001e8f3
mov rax, qword [rax + 8]
cmp cl, byte [rax + 0x10]
jne 0x18001e89e
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov r14, rbx
mov r12, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rbp + 0x10]
mov qword [rdi], r12
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r13
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rbp + 8]
jne 0x18001e8fa
mov qword [rcx + rax*8], rdi
jmp 0x18001e90c
mov qword [rsp + 0x20], rax
jmp 0x18001e8b7
cmp r8, r14
jne 0x18001e905
mov qword [rcx + rax*8], rdi
jmp 0x18001e911
cmp qword [rcx + rax*8 + 8], rdx
jne 0x18001e911
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x18001e7be
lea rcx, str.unordered_map_set_too_long
call fcn.18003472c
int3
Function at 0x180022e28
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rdx, qword [rcx + 0x10]
mov edi, 1
add rdx, rdi
mov rbx, qword [rcx + 0x38]
mov rsi, rcx
xorps xmm0, xmm0
js 0x180022e5c
cvtsi2ss xmm0, rdx
jmp 0x180022e71
mov rax, rdx
and rdx, rdi
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.180082a34
movss xmm1, dword [0x180106000]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x180022e9f
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x180022e9f
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x180022ecd
cmp rbx, 0x200
jae 0x180022eca
shl rbx, 3
cmp rbx, rcx
jae 0x180022ecd
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov rax, rdi
shl rax, cl
cmp rbx, rax
ja 0x180023035
lea rax, [rbx - 1]
mov rbx, qword [rsi + 8]
or rax, rdi
mov r8, rbx
bsr rcx, rax
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180019e9c
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180022fe9
movzx r8d, byte [rax + 0x10]
movabs r9, 0xcbf29ce484222325
mov r11, qword [rsi + 0x30]
mov edx, r8d
mov rdi, qword [rsi + 0x18]
xor rdx, r9
mov rcx, qword [rcx]
movabs r9, 0x100000001b3
imul rdx, r9
and r11, rdx
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x180022f72
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x180022fdd
mov r10, qword [rdi + r11*8 + 8]
cmp r8b, byte [r10 + 0x10]
jne 0x180022fb2
mov r10, qword [r10]
cmp r10, rax
je 0x180022f6b
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 0x180022f6b
mov r10, qword [r10 + 8]
cmp r8b, byte [r10 + 0x10]
je 0x18002300f
cmp qword [rdi + r11*8], r10
jne 0x180022fa8
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 [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x180022f2d
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.18002402c
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov r10, qword [r10]
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 0x180022fdd
lea rcx, str.invalid_hash_bucket_count
call fcn.18003472c
int3
Function at 0x1800241a0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, r8
mov r14, rdx
mov r13, rcx
cmp rdx, r8
je 0x18002430a
mov rbp, qword [rcx + 0x18]
movabs rax, 0xcbf29ce484222325
movzx r15d, byte [rdx + 0x10]
mov rbx, rdx
mov r12, qword [rcx + 8]
xor r15, rax
mov rsi, qword [rdx + 8]
movabs rax, 0x100000001b3
imul r15, rax
and r15, qword [rcx + 0x30]
add r15, r15
mov rax, qword [rbp + r15*8]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + r15*8 + 8]
mov qword [rsp + 0x20], rax
mov rax, rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x38], rbx
mov rbx, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x180024240
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rax, qword [rsp + 0x38]
mov edx, 0x20
mov rcx, rax
call fcn.180058624
mov rax, qword [rsp + 0x20]
dec qword [r13 + 0x10]
cmp qword [rsp + 0x28], rax
je 0x180024277
cmp rbx, rdi
jne 0x180024218
cmp qword [rsp + 0x30], r14
jne 0x180024303
mov qword [rbp + r15*8], rbx
jmp 0x180024303
cmp qword [rsp + 0x30], r14
jne 0x180024288
mov qword [rbp + r15*8], r12
mov rax, r12
jmp 0x18002428b
mov rax, rsi
mov qword [rbp + r15*8 + 8], rax
jmp 0x180024335
movzx eax, byte [rbx + 0x10]
movabs rcx, 0xcbf29ce484222325
mov r14, qword [r13 + 0x30]
xor rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
and r14, rax
add r14, r14
mov rax, qword [rbp + r14*8 + 8]
mov qword [rsp + 0x28], rax
mov r15, rbx
mov rbx, qword [rbx]
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x1800242e1
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov edx, 0x20
mov rcx, r15
call fcn.180058624
dec qword [r13 + 0x10]
cmp r15, qword [rsp + 0x28]
je 0x18002432b
cmp rbx, rdi
jne 0x1800242c8
mov qword [rbp + r14*8], rbx
mov qword [rsi], rbx
mov qword [rbx + 8], rsi
lea r11, [rsp + 0x40]
mov rax, rdi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov qword [rbp + r14*8], r12
mov qword [rbp + r14*8 + 8], r12
cmp rbx, rdi
jne 0x180024295
jmp 0x180024303