joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009a988
Capabilities:
Read http header

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rbx, rdx
mov rdi, rcx
xor ebp, ebp
mov dword [rax - 0x28], ebp
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], 7
mov word [rcx], bp
mov dword [rax - 0x28], 1
mov dword [rax + 0x18], ebp
mov qword [rax - 0x30], rbp
lea rax, [rax + 0x18]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea esi, [rbp + 0x14]
mov edx, esi
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov edx, dword [rsp + 0x70]
mov rcx, rdi
call fcn.1400263d8
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x14009a9f8
mov r9, qword [rdi]
mov qword [rsp + 0x28], rbp
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov r8, qword [rdi + 0x10]
test r8, r8
je 0x14009aabc
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14009aa34
mov rax, qword [rdi]
mov r9, rax
jmp 0x14009aa3a
mov rax, rdi
mov r9, rdi
lea rcx, [rax + r8*2]
cmp word [r9], bp
je 0x14009aad2
sub rcx, 2
cmp word [rcx], bp
jne 0x14009aabc
mov rax, rcx
sub rcx, 2
cmp word [rcx], bp
je 0x14009aa51
mov rcx, rdi
cmp rdx, 8
jb 0x14009aa69
mov rcx, qword [rdi]
lea r9, [rcx + r8*2]
mov rcx, rdi
jb 0x14009aa75
mov rcx, qword [rdi]
mov r10, rax
sub r10, rcx
sar r10, 1
sub r9, rax
sar r9, 1
mov rax, r8
sub rax, r10
cmp rax, r9
cmovb r9, rax
mov rax, rdi
cmp rdx, 8
jb 0x14009aa9d
mov rax, qword [rdi]
lea rcx, [rax + r10*2]
sub r8, r9
mov qword [rdi + 0x10], r8
sub r8, r10
lea r8, [r8*2 + 2]
lea rdx, [rcx + r9*2]
call fcn.1401d78b0
mov rax, rdi
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
cmp word [r9], bp
jne 0x14009aaf0
add r9, 2
cmp r9, rcx
jne 0x14009aacc
mov rax, rdi
cmp rdx, 8
jb 0x14009aae7
mov rax, qword [rdi]
mov qword [rdi + 0x10], rbp
mov word [rax], bp
jmp 0x14009aabc
sub rcx, 2
cmp word [rcx], bp
je 0x14009aaf0
sub rcx, r9
add rcx, 2
sar rcx, 1
cmp rcx, rdx
ja 0x14009ab30
mov rsi, rdi
cmp rdx, 8
jb 0x14009ab14
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rcx
lea rbx, [rcx + rcx]
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call fcn.1401d78b0
mov word [rbx + rsi], bp
jmp 0x14009aabc
mov rdx, rcx
mov rcx, rdi
call fcn.14001e728
jmp 0x14009aabc
Function at 0x14009ab44
Capabilities:
Read http header

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14023ab58]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14, r8
mov r13, rdx
mov r12, rcx
mov rsi, qword [r8]
mov r15, qword [rsi + 0x58]
mov rdi, qword [r15 + 8]
jmp 0x14009abac
mov r8, qword [rdi + 0x10]
lea rdx, [rsi + 0x58]
lea rcx, [rsi + 0x58]
call fcn.14007512c
mov rbx, rdi
mov rdi, qword [rdi]
lea rcx, [rbx + 0x20]
call fcn.140029090
mov edx, 0x60
mov rcx, rbx
call fcn.1400131d4
cmp byte [rdi + 0x19], 0
je 0x14009ab7f
mov qword [r15 + 8], r15
mov qword [r15], r15
mov qword [r15 + 0x10], r15
xor r15d, r15d
mov qword [rsi + 0x60], r15
mov dword [rbp - 0x40], r15d
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea ebx, [r15 + 0x13]
mov edx, ebx
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r15w
mov edx, dword [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.1400263d8
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae r9, qword [rbp - 0x30]
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, ebx
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rbx, qword [rbp - 0x30]
mov qword [rbp - 0x38], r15
mov dword [rax], r15d
lea r8d, [r15 + 0xa]
lea rdx, [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
mov esi, eax
cmp rbx, qword [rbp - 0x38]
je 0x14009ad09
cmp dword [rdi], 0x22
je 0x14009ad16
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14009ac91
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
call fcn.1400131d4
mov rax, qword [r14]
mov word [rax + 0x88], si
mov rdx, r12
lea rcx, [rbp - 0x30]
call fcn.14009a988
nop
mov rcx, qword [r14]
add rcx, 0x90
mov rdx, rax
call fcn.140095d7c
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14009acd6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
call fcn.1400131d4
mov rdx, qword [r14]
add rdx, 0x58
mov rcx, r13
call fcn.1400a8408
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401d2140
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.invalid_stoi_argument
call fcn.140056c24
int3
lea rcx, str.stoi_argument_out_of_range
call fcn.140056ce4
int3
Function at 0x1400a7ac8
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov r15, rdx
mov rsi, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
lea ecx, [rbp + 0x20]
call fcn.1401d2778
mov rbx, rax
mov qword [rsp + 0x80], rax
mov r9, qword [rsi + 0x20]
mov rdx, qword [rsi + 0x28]
sub rdx, r9
shr rdx, 1
lea r14, [rax + 0x10]
mov qword [r14], rbp
mov qword [rax + 0x18], 7
mov word [rax], bp
mov rcx, rax
cmp rdx, 7
ja 0x1400a7b3d
mov qword [r14], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
mov rdx, r9
call fcn.1401d78b0
mov word [rdi + rbx], bp
jmp 0x1400a7b43
call fcn.14001e728
nop
mov qword [r15], rbx
mov dword [rsp + 0x20], 2
mov rax, qword [rsi + 0x28]
cmp qword [rsi + 0x20], rax
je 0x1400a7bb1
sub rax, qword [rsi + 0x20]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400a7b69
mov rcx, qword [rbx]
xor r8d, r8d
mov edx, eax
call qword [sym.imp.CRYPT32.dll_CryptUnprotectMemory]
test eax, eax
je 0x1400a7bce
mov rdx, qword [rsi + 0x38]
mov rcx, qword [r14]
sub rcx, rdx
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400a7b8f
mov rax, qword [rbx]
lea rdi, [rax + rdx*2]
xor eax, eax
rep stosb byte [rdi], al
mov rax, qword [rsi + 0x38]
cmp qword [r14], rax
jb 0x1400a7bc8
cmp qword [rbx + 0x18], 8
jb 0x1400a7baa
mov rbx, qword [rbx]
mov qword [r14], rax
mov word [rbx + rax*2], bp
mov rax, r15
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140019ed4
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.1400c189c
lea rdx, [0x14022fe68]
lea rcx, [rsp + 0x28]
call fcn.1401d43a0
int3
Function at 0x1400b11e4
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x14023ab58]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, r8
mov rdi, rcx
mov qword [rbp - 9], rcx
xor esi, esi
mov dword [rbp - 0x11], esi
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x21], rsi
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov dword [rbp - 0x11], 1
mov dword [rbp - 0x29], esi
mov dword [rbp - 0xd], esi
lea rcx, [rbp + 0x1f]
call fcn.140066c24
nop
mov rdx, rbx
lea rcx, [rbp - 1]
call fcn.140066c24
nop
lea r9d, [rsi + 8]
xor r8d, r8d
lea rdx, str.SHA1
lea rcx, [rbp - 0x19]
call qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
js 0x1400b130e
mov dword [rsp + 0x28], esi
lea rax, [rbp - 0xd]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 4]
lea r8, [rbp - 0x29]
lea rdx, [0x140201728]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.bcrypt.dll_BCryptGetProperty]
test eax, eax
js 0x1400b130e
mov edx, dword [rbp - 0x29]
mov rcx, rdi
call fcn.1400781a4
lea rcx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0x10
cmovae rcx, qword [rbp + 0x1f]
mov dword [rsp + 0x30], esi
mov eax, dword [rbp + 0x2f]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x21]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.bcrypt.dll_BCryptCreateHash]
test eax, eax
js 0x1400b130e
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae rdx, qword [rbp - 1]
xor r9d, r9d
mov r8d, dword [rbp + 0xf]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.bcrypt.dll_BCryptHashData]
test eax, eax
js 0x1400b130e
xor r9d, r9d
mov r8d, dword [rbp - 0x29]
mov rdx, qword [rdi]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.bcrypt.dll_BCryptFinishHash]
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x1400b131d
call qword [sym.imp.bcrypt.dll_BCryptDestroyHash]
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1400b132f
xor edx, edx
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x1400b1345
inc rdx
mov rcx, qword [rbp - 1]
call fcn.1400131d4
mov qword [rbp + 0xf], rsi
mov qword [rbp + 0x17], reloc.WS2_32.dll_ntohs
mov byte [rbp - 1], sil
mov rdx, qword [rbp + 0x37]
cmp rdx, 0x10
jb 0x1400b136b
inc rdx
mov rcx, qword [rbp + 0x1f]
call fcn.1400131d4
mov rax, rdi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1401d2140
mov rbx, qword [rsp + 0xe8]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400c25c0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x14023ab58]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor esi, esi
mov qword [rsp + 0x30], rcx
mov rdi, rdx
mov rbx, rcx
cmp qword [rdx + 0x10], rsi
je 0x1400c271a
xor edx, edx
lea rcx, [rbp]
mov r8d, 0xaa
call fcn.1401d4210
cmp qword [rdi + 0x18], 8
jb 0x1400c261a
mov rdi, qword [rdi]
mov r9d, 0x55
lea r8, [rbp]
mov rcx, rdi
lea edx, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400c2642
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
test eax, eax
jne 0x1400c269a
lea rdx, [rbp]
lea rcx, [rsp + 0x50]
call fcn.14001e81c
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rax, rbx
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1401d2140
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1c0
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x20], sil
lea rcx, [rsp + 0x40]
call fcn.1400c2c94
call fcn.14001ea04
movzx edx, r9w
lea rcx, [rsp + 0x50]
or edx, 0x80070000
mov r8, rax
test r9d, r9d
cmovle edx, r9d
call fcn.14000cdc0
lea r9, [rsp + 0x40]
mov dl, 1
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x38]
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x30], xmm0
call fcn.14001f854
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.14001fa60
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14001f34c
lea rdx, [0x1402300f0]
lea rcx, [rsp + 0x70]
call fcn.1401d43a0
int3
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x20], sil
lea rcx, [rsp + 0x30]
call fcn.1400c2c80
call fcn.14000d2c4
mov r8, rax
lea rcx, [rsp + 0x50]
mov edx, 0x16
call fcn.14000cdc0
lea r9, [rsp + 0x30]
mov dl, 1
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x38]
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x40], xmm0
call fcn.14001f854
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.14001fa60
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14001f34c
lea rdx, [0x1402300f0]
lea rcx, [rsp + 0x70]
call fcn.1401d43a0
int3
Function at 0x1400d2b08
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rbp, r9
mov r14d, r8d
mov rbx, rdx
mov r15, rcx
mov rax, qword gs:[0x58]
mov ecx, 8
mov r10, qword [rax]
mov eax, dword [rcx + r10]
cmp dword [0x14024a4a0], eax
jg 0x1400d2c22
mov rax, qword [0x14024a4c0]
mov r8d, dword [rax]
xor edx, edx
mov rax, rbp
div r8
mov rsi, rbp
sub rsi, rdx
mov rcx, qword [r15 + 0x38]
sub rcx, rsi
xor edx, edx
mov rax, rbp
div r8
mov rdi, qword [rsp + 0xa0]
add rdi, rdx
cmp rcx, rdi
cmovb rdi, rcx
mov rcx, qword [r15 + 0x30]
xor r15d, r15d
test rcx, rcx
je 0x1400d2bd7
mov r8, rsi
shr r8, 0x20
mov qword [rsp + 0x20], rdi
mov r9d, esi
mov edx, r14d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdx, rax
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x1400d2bff
mov rcx, rax
sub rcx, rsi
add rcx, rbp
sub rdi, rbp
lea rax, [rdi + rsi]
mov qword [rbx], rdx
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rcx
jmp 0x1400d2be2
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov rax, rbx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea rdx, [0x1402041a8]
lea rcx, [rsp + 0x30]
call fcn.14001e898
lea rdx, [0x140230128]
lea rcx, [rsp + 0x30]
call fcn.1401d43a0
nop
lea rcx, [0x14024a4a0]
call fcn.1401d2980
cmp dword [0x14024a4a0], 0xffffffff
jne 0x1400d2b4d
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x58]
mov dword [0x14024aa74], eax
lea rax, [0x14024aa74]
mov qword [0x14024a4c0], rax
lea rcx, [0x14024a4a0]
call fcn.1401d2910
jmp 0x1400d2b4d
Function at 0x1400d2d5c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rbp, r9
mov r14d, r8d
mov rbx, rdx
mov r15, rcx
mov rax, qword gs:[0x58]
mov ecx, 8
mov r10, qword [rax]
mov eax, dword [rcx + r10]
cmp dword [0x14024a490], eax
jg 0x1400d2e76
mov rax, qword [0x14024a4b8]
mov r8d, dword [rax]
xor edx, edx
mov rax, rbp
div r8
mov rsi, rbp
sub rsi, rdx
mov rcx, qword [r15 + 0x38]
sub rcx, rsi
xor edx, edx
mov rax, rbp
div r8
mov rdi, qword [rsp + 0xa0]
add rdi, rdx
cmp rcx, rdi
cmovb rdi, rcx
mov rcx, qword [r15 + 0x30]
xor r15d, r15d
test rcx, rcx
je 0x1400d2e2b
mov r8, rsi
shr r8, 0x20
mov qword [rsp + 0x20], rdi
mov r9d, esi
mov edx, r14d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdx, rax
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x1400d2e53
mov rcx, rax
sub rcx, rsi
add rcx, rbp
sub rdi, rbp
lea rax, [rdi + rsi]
mov qword [rbx], rdx
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rcx
jmp 0x1400d2e36
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov rax, rbx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea rdx, [0x1402041a8]
lea rcx, [rsp + 0x30]
call fcn.14001e898
lea rdx, [0x140230128]
lea rcx, [rsp + 0x30]
call fcn.1401d43a0
nop
lea rcx, [0x14024a490]
call fcn.1401d2980
cmp dword [0x14024a490], 0xffffffff
jne 0x1400d2da1
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x58]
mov dword [0x14024aa78], eax
lea rax, [0x14024aa78]
mov qword [0x14024a4b8], rax
lea rcx, [0x14024a490]
call fcn.1401d2910
jmp 0x1400d2da1

Function at 0x1400d3038
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14023ab58]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400d30cf
cmp byte [rcx + 0x71], 0
je 0x1400d30cf
mov rax, qword [rcx]
movabs r10, 0x85e0a7255cd10370
mov rax, qword [rax + 0x18]
or edx, 0xffffffff
call qword [case.0x14003356e.0]
cmp eax, 0xffffffff
je 0x1400d3124
mov rcx, qword [rbx + 0x68]
lea rdx, [rbx + 0x74]
and qword [rsp + 0x30], 0
mov rax, qword [rcx]
movabs r10, 0xd275361c54538b70
mov rax, qword [rax + 0x40]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [case.0x14003356e.0]
test eax, eax
je 0x1400d30e9
sub eax, 1
je 0x1400d30ed
cmp eax, 2
jne 0x1400d3124
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401d2140
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400d311b
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400d3124
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400d30d1
xor al, al
jmp 0x1400d30d1
Function at 0x1400d4564
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rbx, r8
mov r14, rdx
movabs r8, 0xcbf29ce484222325
mov r10, rcx
xor r9d, r9d
movzx eax, byte [rbx + r9 + 0x10]
movabs rcx, 0x100000001b3
xor r8, rax
inc r9
imul r8, rcx
cmp r9, 8
jb 0x1400d458f
mov rcx, qword [r10 + 0x30]
mov rdx, qword [r10 + 0x18]
and rcx, r8
add rcx, rcx
cmp qword [rdx + rcx*8 + 8], rbx
jne 0x1400d45df
cmp qword [rdx + rcx*8], rbx
jne 0x1400d45d4
mov rax, qword [r10 + 8]
mov qword [rdx + rcx*8], rax
jmp 0x1400d45d8
mov rax, qword [rbx + 8]
mov qword [rdx + rcx*8 + 8], rax
jmp 0x1400d45ec
cmp qword [rdx + rcx*8], rbx
jne 0x1400d45ec
mov rax, qword [rbx]
mov qword [rdx + rcx*8], rax
mov rsi, qword [rbx]
lea rdi, [rbx + 0x48]
dec qword [r10 + 0x10]
mov rdx, rdi
mov rax, qword [rbx + 8]
mov rcx, rdi
mov qword [rax], rsi
mov rax, qword [rbx + 8]
mov qword [rsi + 8], rax
mov r8, qword [rdi]
mov r8, qword [r8 + 8]
call fcn.1400daa0c
mov rcx, qword [rdi]
mov edx, 0xb8
call fcn.1400131d4
lea rdi, [rbx + 0x30]
mov r8, qword [rdi]
mov rdx, rdi
mov rcx, rdi
mov r8, qword [r8 + 8]
call fcn.1400daa0c
mov rcx, qword [rdi]
mov edx, 0xb8
call fcn.1400131d4
mov edx, 0x58
mov rcx, rbx
call fcn.1400131d4
mov rbx, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x40]
mov qword [r14], rsi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x1400d4904
Capabilities:
Encode data using xor
Hash data using fnv

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
sub rsp, 0x30
mov r15, r8
mov rdi, rdx
mov rsi, rcx
xor ecx, ecx
movabs r14, 0xcbf29ce484222325
movzx eax, byte [rcx + r8]
xor r14, rax
movabs rdx, 0x100000001b3
imul r14, rdx
inc rcx
cmp rcx, 8
jb 0x1400d4936
mov rcx, qword [rsi + 0x30]
and rcx, r14
add rcx, rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
lea r12, [rsi + 8]
mov rbp, qword [r12]
cmp rax, rbp
je 0x1400d49a8
mov r8, qword [rdx + rcx*8]
mov rcx, qword [r15]
jmp 0x1400d4987
cmp rax, r8
je 0x1400d49a1
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x1400d497e
mov rbp, qword [rax]
test rax, rax
je 0x1400d49a8
mov qword [rdi], rax
mov byte [rdi + 8], 0
jmp 0x1400d4b14
mov rbp, rax
xor eax, eax
jmp 0x1400d4990
movabs rax, 0x11a7b9611a7b961
cmp qword [rsi + 0x10], rax
je 0x1400d4b36
mov qword [rsp + 0x20], r12
and qword [rsp + 0x28], 0
mov ecx, 0xe8
call fcn.1401d2778
mov rbx, rax
mov qword [rsp + 0x28], rax
mov rcx, qword [r15]
mov qword [rax + 0x10], rcx
mov byte [rax + 0xe0], 0
mov r8, qword [rsi + 0x10]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1400d49fe
cvtsi2ss xmm0, rcx
jmp 0x1400d4a13
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x1400d4a26
cvtsi2ss xmm1, rcx
jmp 0x1400d4a3b
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x1400d4ab4
mov rcx, rsi
call fcn.1400d7cc0
mov rax, qword [rsi + 0x30]
and rax, r14
add rax, rax
mov r8, qword [rsi + 0x18]
mov rcx, qword [r8 + rax*8 + 8]
mov rdx, qword [r12]
cmp rcx, rdx
jne 0x1400d4a7a
mov qword [rsp + 0x20], rdx
and qword [rsp + 0x28], 0
jmp 0x1400d4aa0
mov rdx, qword [r8 + rax*8]
mov rax, qword [rbx + 0x10]
jmp 0x1400d4a8d
cmp rcx, rdx
je 0x1400d4aec
mov rcx, qword [rcx + 8]
cmp rax, qword [rcx + 0x10]
jne 0x1400d4a84
mov rax, qword [rcx]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rcx
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov r8, qword [rsi + 0x10]
mov rbp, qword [rsp + 0x20]
mov rdx, qword [rbp + 8]
lea rax, [r8 + 1]
mov qword [rsi + 0x10], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rdx
mov qword [rdx], rbx
mov qword [rbp + 8], rbx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r14
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [r12]
jne 0x1400d4af6
mov qword [rcx + rax*8], rbx
jmp 0x1400d4b08
mov qword [rsp + 0x20], rcx
jmp 0x1400d4a72
cmp r8, rbp
jne 0x1400d4b01
mov qword [rcx + rax*8], rbx
jmp 0x1400d4b0d
cmp qword [rcx + rax*8 + 8], rdx
jne 0x1400d4b0d
mov qword [rcx + rax*8 + 8], rbx
mov qword [rdi], rbx
mov byte [rdi + 8], 1
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
lea rcx, str.unordered_map_set_too_long
call fcn.140056c84
int3
Function at 0x1400d7cc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rsi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x1400d7cf0
cvtsi2ss xmm0, rdx
jmp 0x1400d7d05
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x140207868]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x1400d7d33
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1400d7d33
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 0x1400d7d61
cmp rbx, 0x200
jae 0x1400d7d5e
shl rbx, 3
cmp rbx, rcx
jae 0x1400d7d61
mov rbx, rcx
and dword [rsp + 0x30], 0
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
ja 0x1400d7ef1
and dword [rsp + 0x30], 0
lea rax, [rbx - 1]
mov rbx, qword [rsi + 8]
or rax, 1
bsr rcx, rax
mov edi, 1
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140093a90
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 0x1400d7ea5
mov rcx, qword [rcx]
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx edx, byte [r9 + rax + 0x10]
movabs r10, 0x100000001b3
xor r8, rdx
inc r9
imul r8, r10
cmp r9, 8
jb 0x1400d7de3
mov r10, qword [rsi + 0x30]
mov r11, qword [rsi + 0x18]
and r10, r8
add r10, r10
cmp qword [r11 + r10*8], rbx
jne 0x1400d7e22
mov qword [r11 + r10*8], rax
mov qword [r11 + r10*8 + 8], rax
jmp 0x1400d7e99
mov rdx, qword [r11 + r10*8 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1400d7e5c
mov rdi, qword [rdx]
cmp rdi, rax
je 0x1400d7e1b
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], rdi
mov rdx, qword [rdi + 8]
mov qword [rdx], rax
mov qword [rdi + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400d7e1b
mov rdi, rdx
jmp 0x1400d7e6e
mov rdx, qword [rdx + 8]
mov rdi, rdx
cmp r8, qword [rdx + 0x10]
je 0x1400d7ecb
cmp qword [r11 + r10*8], rdx
jne 0x1400d7e61
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], rdi
mov rdx, qword [rdi + 8]
mov qword [rdx], rax
mov qword [rdi + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + r10*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x1400d7dd3
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.1400d89a4
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
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 0x1400d7e99
lea rcx, str.invalid_hash_bucket_count
call fcn.140056c84
int3