joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c1a40
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x20
call fcn.14024eae0
sub rsp, rax
mov eax, dword [0x14037cb6c]
xor ebx, ebx
mov rdi, rcx
test eax, eax
je 0x1400c1a7a
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14037cb6c]
cmp dword [0x14037cb70], ebx
mov esi, 1
je 0x1400c1a8b
mov ebx, esi
jmp 0x1400c1aad
test eax, eax
jne 0x1400c1a98
call fcn.1400c1878
test eax, eax
je 0x1400c1aad
mov rcx, qword [0x140367970]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
cmovne ebx, esi
test ebx, ebx
jne 0x1400c1ad4
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, esi
jbe 0x1400c1acc
cmp eax, 0x78
je 0x1400c1acc
cmp eax, esi
je 0x1400c1acc
cmp eax, 0x32
jne 0x1400c1ad4
mov dword [0x14037cb70], esi
mov ebx, esi
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c1b08
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
mov eax, 0x40
call fcn.14024eae0
sub rsp, rax
and qword [rbp - 0x10], 0
lea rax, [rbp - 0x10]
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000000
lea rdx, [0x14028b670]
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400c1bde
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x28]
and qword [rbp + 0x28], 0
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400c1bcf
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea rdx, str.InsecureQI
lea rax, [rbp + 0x20]
mov dword [rbp + 0x18], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400c1bcf
cmp dword [rbp + 0x18], 4
jne 0x1400c1bcf
mov ebx, dword [rbp + 0x20]
cmp ebx, 3
ja 0x1400c1bcf
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x1400c1be0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400c1be0
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x1400c1bde
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1400c1bef
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
Function at 0x1400c1fa8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
mov rbp, rsp
mov eax, 0x30
call fcn.14024eae0
sub rsp, rax
cmp byte [0x14037d19c], 0
je 0x1400c1fd7
mov eax, dword [0x14037d1a0]
jmp 0x1400c20dc
and qword [rbp + 0x18], 0
lea rax, [rbp + 0x18]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwarePoliciesMicrosoftSecurity
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, 4
lea rsi, [0x14037d1a0]
test eax, eax
jne 0x1400c2043
mov rcx, qword [rbp + 0x18]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rdx, str.CLSIDInterfaceTest
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov dword [rbp + 0x10], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400c2043
cmp dword [rbp + 0x10], ebx
je 0x1400c20b2
mov rcx, qword [rbp + 0x18]
and qword [rbp + 0x18], 0
test rcx, rcx
je 0x1400c2057
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp + 0x18]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftSecurity
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400c20ba
mov rcx, qword [rbp + 0x18]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rdx, str.CLSIDInterfaceTest
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov dword [rbp + 0x10], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400c20ba
cmp dword [rbp + 0x10], ebx
jne 0x1400c20ba
mov ebx, dword [0x14037d1a0]
jmp 0x1400c20c3
and dword [0x14037d1a0], 0
xor ebx, ebx
mov rcx, qword [rbp + 0x18]
mov al, 1
mov byte [0x14037d19c], al
test rcx, rcx
je 0x1400c20da
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret
Function at 0x1400c9574
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x20
call fcn.14024eae0
sub rsp, rax
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x1400c9709
cmp ecx, 0x7c
je 0x1400c9709
cmp ecx, 0x29
jne 0x1400c95c0
cmp dword [rbx + 0x1c], 0
jne 0x1400c9709
test dword [rbx + 0x80], 0x10000000
je 0x1400c9735
cmp ecx, 0x2e
jne 0x1400c95e0
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.1400c98ac
mov rcx, rbx
call fcn.1400c9530
jmp 0x1400c96f7
cmp ecx, 0x5c
jne 0x1400c9644
mov rcx, rbx
call fcn.1400c9530
test byte [rbx + 0x80], 0x80
je 0x1400c9637
cmp word [rbx + 0x78], 0x62
jne 0x1400c9618
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.1400c98ac
mov rcx, rbx
call fcn.1400c9530
jmp 0x1400c96ff
cmp word [rbx + 0x78], 0x42
jne 0x1400c9637
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.1400c98ac
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x1400c960b
mov rcx, rbx
call fcn.1400ca4ac
jmp 0x1400c96f7
cmp ecx, 0x5b
jne 0x1400c9668
mov rcx, rbx
call fcn.1400c9530
mov rcx, rbx
call fcn.1400ca354
cmp dword [rbx + 0x7c], 0x5d
jne 0x1400c971f
jmp 0x1400c95d3
cmp ecx, 0x28
jne 0x1400c968c
mov rcx, rbx
call fcn.1400c9530
mov rcx, rbx
call fcn.1400ca600
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x1400c972a
jmp 0x1400c96ea
cmp ecx, 0x5e
jne 0x1400c9699
lea edx, [rcx - 0x5c]
jmp 0x1400c9602
cmp ecx, 0x24
jne 0x1400c96a6
lea edx, [rcx - 0x21]
jmp 0x1400c9602
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x1400c9714
cmp ecx, 0x3f
je 0x1400c9714
cmp ecx, 0x7b
je 0x1400c9714
cmp ecx, 0x7d
jne 0x1400c96c9
test dword [rbx + 0x80], 0x10000000
je 0x1400c9740
cmp ecx, 0x5d
jne 0x1400c96da
test dword [rbx + 0x80], 0x10000000
je 0x1400c974b
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.1400ca844
mov dil, 1
mov rcx, rbx
call fcn.1400c9530
test dil, dil
je 0x1400c96ff
mov rcx, rbx
call fcn.1400ca704
mov ecx, dword [rbx + 0x7c]
mov al, 1
jmp 0x1400c958f
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0xa
call fcn.1400c84bc
int3
mov edx, 4
call fcn.1400c84bc
int3
mov edx, 5
call fcn.1400c84bc
int3
mov edx, 5
call fcn.1400c84bc
int3
mov edx, 6
call fcn.1400c84bc
int3
mov edx, 4
call fcn.1400c84bc
int3
Function at 0x1400d04d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
mov eax, 0x20
call fcn.14024eae0
sub rsp, rax
mov rdx, qword [rcx + 0x10]
mov rsi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x1400d0506
cvtsi2ss xmm0, rdx
jmp 0x1400d051b
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 [0x14031bb90]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x1400d0549
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1400d0549
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 0x1400d0577
cmp rbx, 0x200
jae 0x1400d0574
shl rbx, 3
cmp rbx, rcx
jae 0x1400d0577
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
jbe 0x1400d05a0
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rbx - 1]
mov edi, 1
mov rbx, qword [rsi + 8]
or rax, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400b57b4
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 0x1400d06b6
mov ebp, dword [rax + 0x10]
movabs r8, 0xcbf29ce484222325
mov rcx, qword [rcx]
xor r9d, r9d
mov dword [rsp + 0x40], ebp
movzx edx, byte [rsp + r9 + 0x40]
movabs r10, 0x100000001b3
xor r8, rdx
inc r9
imul r8, r10
cmp r9, 4
jb 0x1400d0600
mov r11, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x18]
and r11, r8
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x1400d063f
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x1400d06aa
mov r10, qword [rdi + r11*8 + 8]
cmp ebp, dword [r10 + 0x10]
jne 0x1400d067f
mov r10, qword [r10]
cmp r10, rax
je 0x1400d0638
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 0x1400d0638
mov r10, qword [r10 + 8]
cmp ebp, dword [r10 + 0x10]
je 0x1400d06c9
cmp qword [rdi + r11*8], r10
jne 0x1400d0675
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 0x1400d05e9
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
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 0x1400d06aa
Function at 0x1400d17e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x30
call fcn.14024eae0
sub rsp, rax
mov rsi, rdx
mov rdi, rcx
lea rdx, [rcx + 0x50]
lea rcx, [rsp + 0x20]
call fcn.1400b5034
xor ecx, ecx
mov qword [rsp + 0x40], rsi
movabs r8, 0xcbf29ce484222325
movzx eax, byte [rsp + rcx + 0x40]
movabs rdx, 0x100000001b3
xor r8, rax
inc rcx
imul r8, rdx
cmp rcx, 8
jb 0x1400d181d
mov rcx, qword [rdi + 0x40]
mov rdx, qword [rdi + 0x28]
and rcx, r8
mov rax, qword [rdi + 0x18]
add rcx, rcx
mov rbx, qword [rdx + rcx*8 + 8]
cmp rbx, rax
jne 0x1400d187c
xor ebx, ebx
test rbx, rbx
je 0x1400d18d6
cmp qword [rdx + rcx*8 + 8], rbx
jne 0x1400d188f
cmp qword [rdx + rcx*8], rbx
jne 0x1400d1884
mov qword [rdx + rcx*8], rax
jmp 0x1400d1888
cmp rbx, qword [rdx + rcx*8]
je 0x1400d1858
mov rbx, qword [rbx + 8]
cmp rsi, qword [rbx + 0x10]
jne 0x1400d1872
jmp 0x1400d185a
mov rax, qword [rbx + 8]
mov qword [rdx + rcx*8 + 8], rax
jmp 0x1400d189c
cmp qword [rdx + rcx*8], rbx
jne 0x1400d189c
mov rax, qword [rbx]
mov qword [rdx + rcx*8], rax
mov rcx, qword [rbx]
dec qword [rdi + 0x20]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400d18cd
and qword [rbx + 0x18], 0
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004a846.0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp qword [rdi + 0x20], 0
jne 0x1400d18ea
mov rcx, qword [rdi + 0xa0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea rcx, [rsp + 0x20]
call fcn.1400b4fc0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400d1a10
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
mov eax, 0x20
call fcn.14024eae0
sub rsp, rax
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x1400d1a5a
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbx, qword [rsi + 8]
lea rax, [rdx - 1]
or rax, 1
mov edi, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400b57b4
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 0x1400d1b6a
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [r8 + rax + 0x10]
movabs r9, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r9
cmp r8, 8
jb 0x1400d1ab3
and r11, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x18]
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x1400d1aef
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x1400d1b5e
mov r10, qword [rdi + r11*8 + 8]
mov rdx, qword [rax + 0x10]
cmp rdx, qword [r10 + 0x10]
jne 0x1400d1b33
mov r10, qword [r10]
cmp r10, rax
je 0x1400d1ae8
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 0x1400d1ae8
mov r10, qword [r10 + 8]
cmp rdx, qword [r10 + 0x10]
je 0x1400d1b80
cmp qword [rdi + r11*8], r10
jne 0x1400d1b29
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 0x1400d1aa3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
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 0x1400d1b5e
Function at 0x1400ee45c
Capabilities:
Set http header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
mov eax, 0x40
call fcn.14024eae0
sub rsp, rax
mov rcx, qword [rcx + 0x78]
xor r12d, r12d
mov dword [rbp - 0x10], r12d
mov ebx, r12d
mov qword [rbp - 0x18], rbx
mov r15, rdx
test rcx, rcx
je 0x1400ee4ae
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r12w
jne 0x1400ee4a2
jmp 0x1400ee4b1
mov rax, r12
movsxd rdx, eax
xor r8d, r8d
call fcn.1400c2ca0
mov qword [rbp - 0x20], rax
mov rdi, rax
test rax, rax
je 0x1400ee629
mov dl, 1
lea rcx, [rbp - 0x20]
call fcn.1400f176c
test al, al
jne 0x1400ee51a
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.1400f176c
test al, al
jne 0x1400ee51a
mov rbx, qword [rbp - 0x18]
test rbx, rbx
je 0x1400ee512
mov eax, dword [rbp - 0x10]
test eax, eax
je 0x1400ee512
mov ecx, eax
mov rdi, rbx
add rcx, rcx
xor eax, eax
rep stosb byte [rdi], al
mov rcx, rbx
mov rbx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edi, r12d
jmp 0x1400ee604
mov rbx, qword [rbp - 0x18]
test rbx, rbx
je 0x1400ee625
mov edi, dword [rbp - 0x10]
cmp edi, 1
jbe 0x1400ee604
lea r14d, [rdi + 0xb]
mov ecx, r14d
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400ee604
test r14d, r14d
jle 0x1400ee56b
movsxd rdx, r14d
lea r8, str.Cookie:
or r9, 0xffffffffffffffff
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov r8d, r14d
mov rdx, rsi
mov rcx, rbx
call fcn.1400c49c4
mov r8d, r14d
lea rcx, [0x14028d01c]
mov rdx, rsi
call fcn.1400c49c4
mov r9d, 0xa0000000
or r8d, 0xffffffff
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x1400ee5fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov r14d, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x1400ee5e7
test edi, edi
je 0x1400ee5d9
mov rcx, rdi
xor eax, eax
add rcx, rcx
mov rdi, rbx
rep stosb byte [rdi], al
mov rcx, rbx
mov rbx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x1400ee5e7
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400ee5f6
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, r14d
jmp 0x1400ee647
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x1400ee625
test edi, edi
je 0x1400ee625
mov ecx, edi
xor eax, eax
add rcx, rcx
mov rdi, rbx
rep stosb byte [rdi], al
mov rcx, rbx
mov rbx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdi, qword [rbp - 0x20]
test rbx, rbx
je 0x1400ee637
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rdi, rdi
je 0x1400ee645
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
Function at 0x1400fe8c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
mov eax, 0x50
call fcn.14024eae0
sub rsp, rax
mov rbx, rdx
mov rdi, rcx
lea rcx, [0x140377da0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400fe8f8
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov rax, qword [0x140377df0]
test rax, rax
jne 0x1400fe90c
and qword [rdi], rax
jmp 0x1400fea5d
lea rsi, [rax + 8]
mov qword [rbp + 0x38], rbx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rbp + rdx + 0x38]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 8
jb 0x1400fe920
mov rdx, qword [rsi + 0x30]
and rdx, rcx
add rdx, rdx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx + rdx*8 + 8]
cmp rax, qword [rsi + 8]
je 0x1400fe96f
mov rcx, qword [rcx + rdx*8]
jmp 0x1400fe967
cmp rax, rcx
je 0x1400fe96f
mov rax, qword [rax + 8]
cmp rbx, qword [rax + 0x10]
jne 0x1400fe95e
jmp 0x1400fe971
xor eax, eax
test rax, rax
cmove rax, qword [rsi + 8]
xor edx, edx
cmp rax, qword [rsi + 8]
jne 0x1400fea85
xor r8d, r8d
mov rcx, rbx
call fcn.1400fb680
mov qword [rbp - 0x20], rbx
neg rbx
sbb rdx, rdx
and rdx, rax
mov qword [rbp - 0x18], rdx
je 0x1400fe9a7
lock inc dword [rdx + 0xc]
and qword [rbp - 0x10], 0
lea r9, [rbp - 0x20]
lea r8, [rbp + 0x38]
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.1400fec80
or esi, 0xffffffff
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1400fe9f6
mov eax, esi
lock xadd dword [rcx + 8], eax
add eax, esi
jne 0x1400fe9f6
mov rbx, qword [rbp - 0x10]
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x14004a846.0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1400fea1b
mov eax, esi
lock xadd dword [rcx + 0xc], eax
add eax, esi
jne 0x1400fea1b
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14004a846.0]
mov rbx, qword [0x140377df0]
test rbx, rbx
je 0x1400fea2a
lock inc dword [rbx]
mov ecx, 0x20
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
test rax, rax
je 0x1400fea7a
mov dword [rax + 8], 1
lea rax, [0x14027af50]
mov qword [rcx], rax
mov qword [rcx + 0x10], rbx
mov rax, qword [rbp + 0x38]
mov qword [rcx + 0x18], rax
mov qword [rdi], rcx
lea rcx, [0x140377da0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rax, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x131f462
call fcn.1400b39d8
int3
mov ecx, 0x285e80e
call fcn.1400b3928
int3
Function at 0x1400fef30
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
mov eax, 0x20
call fcn.14024eae0
sub rsp, rax
mov rdx, qword [rcx + 0x10]
mov rsi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x1400fef69
cvtsi2ss xmm0, rdx
jmp 0x1400fef7e
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 [0x14031bb90]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x1400fefac
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1400fefac
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 0x1400fefda
cmp rbx, 0x200
jae 0x1400fefd7
shl rbx, 3
cmp rbx, rcx
jae 0x1400fefda
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
jbe 0x1400ff003
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rbx - 1]
mov edi, 1
mov rbx, qword [rsi + 8]
or rax, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400b57b4
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 0x1400ff113
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [r8 + rax + 0x10]
movabs r9, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r9
cmp r8, 8
jb 0x1400ff05c
and r11, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x18]
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x1400ff098
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x1400ff107
mov r10, qword [rdi + r11*8 + 8]
mov rdx, qword [rax + 0x10]
cmp rdx, qword [r10 + 0x10]
jne 0x1400ff0dc
mov r10, qword [r10]
cmp r10, rax
je 0x1400ff091
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 0x1400ff091
mov r10, qword [r10 + 8]
cmp rdx, qword [r10 + 0x10]
je 0x1400ff129
cmp qword [rdi + r11*8], r10
jne 0x1400ff0d2
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 0x1400ff04c
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
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 0x1400ff107
Function at 0x140107444
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
mov eax, 0x30
call fcn.14024eae0
sub rsp, rax
movzx r15d, r8w
mov rsi, r9
mov ebp, r8d
mov r14, rdx
mov rbx, rcx
cmp r15d, 4
jae 0x140107495
mov ecx, 0x7f0000
mov eax, r8d
and eax, 0xffff0000
or eax, ecx
cmp eax, ecx
jne 0x140107495
mov eax, 1
jmp 0x140107497
xor eax, eax
test eax, eax
jne 0x1401074a5
mov edi, 0x80070057
jmp 0x140107569
lea rdx, [rsp + 0x20]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1401074d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jne 0x140107569
mov rax, qword [rsp + 0x20]
test rax, rax
jns 0x1401074e7
mov edi, 0x8000ffff
jmp 0x140107569
xor ecx, ecx
mov qword [rbx + 0x98], rax
xor edi, edi
test r15d, r15d
setne cl
and dword [rbx + 0x34], edi
mov dword [rbx + 0x30], ecx
mov rcx, qword [rbx + 0x28]
cmp rcx, 0xffffffffffffffff
je 0x140107513
or qword [rbx + 0x28], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x28], r14
cmp qword [rbx + 0xe8], rsi
je 0x14010755c
test rsi, rsi
je 0x140107535
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x14004a846.0]
mov rcx, qword [rbx + 0xe8]
test rcx, rcx
je 0x140107555
and qword [rbx + 0xe8], rdi
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14004a846.0]
mov qword [rbx + 0xe8], rsi
bt ebp, 0x11
jb 0x140107569
mov byte [rbx + 0x90], 1
mov rbx, qword [rsp + 0x50]
mov eax, edi
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret