joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400422b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1400893e8]
xor rax, rsp
mov qword [rsp + 0x250], rax
cmp qword [0x140089970], 0
jne 0x14004251a
mov rbx, qword [0x140089968]
xor esi, esi
lea rdi, [rsi - 1]
test rbx, rbx
jne 0x1400423db
lea ecx, [rsi + 0x20]
call fcn.140070710
mov rbx, rax
test rax, rax
je 0x1400423d1
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rax, [rsp + 0x40]
mov qword [rbx + 0x10], rsi
mov r8, rdi
mov qword [rbx + 0x18], 7
mov word [rbx], si
inc r8
cmp word [rax + r8*2], si
jne 0x140042336
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14001e290
mov r9, qword [rbx + 0x18]
mov rdx, rbx
mov r8, qword [rbx + 0x10]
cmp r9, 8
jb 0x140042361
mov rdx, qword [rbx]
test r8, r8
je 0x1400423ba
lea rcx, [r8 - 1]
mov rax, r8
cmp rcx, r8
cmovb rax, rcx
cmp word [rdx + rax*2], 0x5c
lea rcx, [rdx + rax*2]
je 0x14004238f
nop
cmp rcx, rdx
je 0x1400423ba
sub rcx, 2
cmp word [rcx], 0x5c
jne 0x140042380
sub rcx, rdx
sar rcx, 1
cmp rcx, rdi
je 0x1400423ba
inc rcx
cmp r8, rcx
jb 0x140042541
mov qword [rbx + 0x10], rcx
mov rax, rbx
cmp r9, 8
jb 0x1400423b6
mov rax, qword [rbx]
mov word [rax + rcx*2], si
mov r8d, 9
lea rdx, str.debug.log
mov rcx, rbx
call fcn.14002df78
jmp 0x1400423d4
mov rbx, rsi
mov qword [0x140089968], rbx
test byte [0x140088054], 1
je 0x14004251a
cmp qword [rbx + 0x18], 8
jb 0x1400423f2
mov rbx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov rcx, rbx
mov dword [rsp + 0x20], 4
lea edx, [r9 + 4]
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140089970], rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x14004251a
lea rdx, [rsp + 0x40]
mov word [rsp + 0x40], si
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x103
ja 0x140042516
lea rax, [rsp + 0x40]
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], si
jne 0x140042460
mov rcx, qword [0x140089968]
lea rdx, [rsp + 0x40]
mov r8, rdi
call fcn.14001e290
mov rcx, qword [0x140089968]
mov rdx, rcx
cmp qword [rcx + 0x18], 8
jb 0x140042491
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
cmp word [rdx + rax*2 - 2], 0x5c
je 0x1400424b6
mov r8d, 1
lea rdx, [0x1400732d8]
call fcn.14002df78
mov rcx, qword [0x140089968]
mov r8d, 9
lea rdx, str.debug.log
call fcn.14002df78
mov rcx, qword [0x140089968]
cmp qword [rcx + 0x18], 8
jb 0x1400424d9
mov rcx, qword [rcx]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
lea edx, [r9 + 4]
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140089970], rax
dec rax
cmp rax, 0xfffffffffffffffd
jbe 0x14004251a
mov qword [0x140089970], rsi
xor al, al
jmp 0x14004251c
mov al, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400707e0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.140020a68
int3
Function at 0x140046a80
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
test rdx, rdx
je 0x140046ae5
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov qword [rsp + 0x30], rbp
mov rbx, rdx
mov qword [rsp + 0x38], rsi
mov ebp, 0xffffffff
mov rdi, rcx
nop dword [rax]
nop dword [rax + rax]
cmp rbx, rbp
mov esi, ebx
mov rcx, rdi
cmova esi, ebp
mov edx, esi
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x140046ac7
int3
mov eax, esi
add rdi, rax
sub rbx, rax
jne 0x140046ab0
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14004cc50
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
sub rsp, 0x38
movsd xmm0, qword [0x140089a30]
movaps xmmword [rsp + 0x20], xmm6
xorps xmm6, xmm6
ucomisd xmm0, xmm6
jp 0x14004cdaf
jne 0x14004cdaf
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x30], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword gs:[0x58]
mov edx, dword [0x14008c630]
mov ebp, 4
mov rbx, qword [rcx + rdx*8]
mov ecx, dword [rbx + rbp]
cmp dword [0x140089a40], ecx
jg 0x14004cdb9
mov eax, dword [rbx + rbp]
cmp dword [0x140089a50], eax
mov rbp, qword [rsp + 0x58]
jg 0x14004cdf3
rdtsc
shl rdx, 0x20
lea rcx, [rsp + 0x40]
or rax, rdx
mov qword [rsp + 0x40], 0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rcx, qword [rsp + 0x40]
xorps xmm2, xmm2
sub rcx, qword [0x140089a48]
mov rdi, qword [rsp + 0x30]
js 0x14004cd45
cvtsi2sd xmm2, rcx
jmp 0x14004cd5a
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm2, rax
addsd xmm2, xmm2
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm1, qword [rsp + 0x48]
divsd xmm2, xmm1
movsd xmm1, qword [0x1400754b0]
comisd xmm1, xmm2
ja 0x14004cdaa
sub rbx, qword [0x140089a38]
js 0x14004cd89
cvtsi2sd xmm0, rbx
jmp 0x14004cd9e
mov rax, rbx
and ebx, 1
shr rax, 1
or rax, rbx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [0x140089a30], xmm0
mov rbx, qword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
ret
lea rcx, [0x140089a40]
call fcn.140070964
cmp dword [0x140089a40], 0xffffffff
jne 0x14004cccf
rdtsc
shl rdx, 0x20
lea rcx, [0x140089a40]
or rax, rdx
mov qword [0x140089a38], rax
call fcn.140070904
jmp 0x14004cccf
lea rcx, [0x140089a50]
call fcn.140070964
cmp dword [0x140089a50], 0xffffffff
jne 0x14004cce3
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x40]
lea rcx, [0x140089a50]
mov qword [0x140089a48], rax
call fcn.140070904
jmp 0x14004cce3
Function at 0x14004d280
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
mov eax, 0x1050
call fcn.140070b10
sub rsp, rax
mov rax, qword [0x1400893e8]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rcx, qword [rcx]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], 1
mov rdi, r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x34], 0x800
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14004d38b
mov ecx, dword [rsp + 0x30]
cmp ecx, 1
jne 0x14004d31c
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14004d300
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14001e290
mov eax, ebx
jmp 0x14004d38b
cmp ecx, 2
jne 0x14004d386
mov r8d, 0x400
lea rdx, [rsp + 0x840]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x34], eax
dec eax
cmp eax, 0x3ff
ja 0x14004d37f
lea rax, [rsp + 0x840]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14004d360
lea rdx, [rsp + 0x840]
mov rcx, rdi
call fcn.14001e290
mov eax, ebx
jmp 0x14004d38b
mov eax, 0xea
jmp 0x14004d38b
mov eax, 0x3f4
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400707e0
mov rbx, qword [rsp + 0x1078]
add rsp, 0x1050
pop rdi
ret

Function at 0x14004d3b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
mov rcx, qword [rcx]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x50], 4
mov rbx, r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x68], 4
mov dword [rsp + 0x30], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14004d41e
mov ecx, dword [rsp + 0x50]
add ecx, 0xfffffffd
cmp ecx, 1
ja 0x14004d419
cmp dword [rsp + 0x68], 4
jne 0x14004d419
mov ecx, dword [rsp + 0x30]
mov dword [rbx], ecx
add rsp, 0x40
pop rbx
ret
mov eax, 0x3f4
add rsp, 0x40
pop rbx
ret
Function at 0x14004fbe0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
lea rax, [0x140075520]
mov rsi, rcx
mov qword [rcx], rax
lea rax, [0x140075530]
mov qword [rcx + 8], rax
lea rcx, [rsp + 0x48]
call fcn.14005a430
mov rcx, rax
mov rdx, rsi
call fcn.14005a470
call fcn.14005ac60
mov rcx, rax
lea rdx, [rsi + 8]
call fcn.14005b000
mov rbx, qword [rsi + 0x10]
lea rcx, [rbx + 8]
call fcn.1400435b0
xor ebp, ebp
cmp qword [rsi + 0x18], rbp
je 0x14004fc75
mov rax, qword [rsi + 0x10]
mov ecx, dword [rsi + 0x28]
mov rax, qword [rax + 0x438]
cmp ecx, eax
jne 0x14004fc75
mov rax, qword [rsi + 0x10]
lea r8, [rsp + 0x40]
mov rcx, qword [rax + 0x20]
mov rax, qword [rsi + 0x18]
mov qword [rsi + 0x18], rbp
mov rdx, qword [rsi + 0x20]
mov qword [rsp + 0x40], rax
mov rax, qword [rcx]
call qword [rax + 0x10]
call sub.KERNEL32.dll_GetCurrentThreadId
mov r10, qword [rsi + 0x10]
movabs r11, 0x100000001b3
mov r9d, eax
movzx r8d, al
mov ecx, r9d
sar ecx, 8
movabs rax, 0xcbf29ce484222325
xor r8, rax
movzx edx, cl
imul r8, r11
mov eax, r9d
xor r8, rdx
sar eax, 0x10
mov rdx, qword [r10 + 0x3d0]
imul r8, r11
movzx ecx, al
mov eax, r9d
xor r8, rcx
sar eax, 0x18
imul r8, r11
movzx ecx, al
xor r8, rcx
mov rcx, qword [r10 + 0x3f8]
imul r8, r11
mov r11, qword [r10 + 0x3e0]
and rcx, r8
mov r8, rcx
shl r8, 4
add r8, r11
mov rdi, qword [r8 + 8]
cmp rdi, rdx
je 0x14004fdae
mov rax, qword [r8]
cmp r9d, dword [rdi + 0x10]
je 0x14004fd23
nop dword [rax + rax]
cmp rdi, rax
je 0x14004fdae
mov rdi, qword [rdi + 8]
cmp r9d, dword [rdi + 0x10]
jne 0x14004fd10
test rdi, rdi
je 0x14004fdae
add rcx, rcx
mov rax, qword [r11 + rcx*8]
cmp qword [r8 + 8], rdi
jne 0x14004fd52
cmp rax, rdi
jne 0x14004fd48
mov qword [r11 + rcx*8], rdx
mov qword [r8 + 8], rdx
jmp 0x14004fd5e
mov rdx, qword [rdi + 8]
mov qword [r8 + 8], rdx
jmp 0x14004fd5e
cmp rax, rdi
jne 0x14004fd5e
mov rax, qword [rdi]
mov qword [r11 + rcx*8], rax
mov rcx, qword [rdi]
dec qword [r10 + 0x3d8]
mov rax, qword [rdi + 8]
mov qword [rax], rcx
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x14004fda1
lea rdx, [r8 + 8]
mov eax, 0xffffffff
lock xadd dword [rdx], eax
cmp eax, 1
jne 0x14004fda1
test rdx, rdx
cmovne rbp, r8
mov rcx, rbp
call fcn.140057200
mov edx, 0x20
mov rcx, rdi
call fcn.140064280
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsi + 0x10]
xor edx, edx
add rcx, 0x3b0
call fcn.1400563b0
mov rbx, qword [rsi + 0x18]
test rbx, rbx
je 0x14004fde3
mov rcx, rbx
call fcn.14005b500
mov rcx, rbx
call fcn.140070804
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x140053350
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140053501
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400478e0
mov rcx, qword [rsi + 8]
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rdi
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x1400534c6
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140053440
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x1400534b5
mov rax, qword [r11 + 8]
mov r8d, dword [rcx + 0x10]
cmp r8d, dword [rax + 0x10]
jne 0x14005347d
mov r8, qword [rax]
cmp r8, rcx
je 0x140053477
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x1400534b5
cmp r9, rax
je 0x140053491
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
je 0x1400534db
cmp r9, rax
jne 0x140053482
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x1400533f0
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x1400534b5
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x140055ed0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov dword [rcx], 0xffffffff
mov dword [rcx + 4], edi
mov rsi, rcx
mov ecx, dword [0x140089378]
mov rbp, rdx
cmp ecx, 0xffffffff
je 0x140055f0a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140055f0f
call fcn.140056020
call fcn.140056170
mov rcx, rax
mov rbx, rax
call fcn.1400435b0
mov r8, qword [0x14008b740]
lea r9, [0x140089f40]
nop dword [rax]
mov eax, edi
lea rcx, [r8 + 1]
add rcx, rax
movzx edx, cl
lea rax, [rdx + rdx*2]
cmp dword [r9 + rax*8], 0
je 0x140055f53
inc edi
cmp edi, 0x100
jl 0x140055f30
jmp 0x140055f75
lea rax, [rdx + rdx*2]
mov qword [0x14008b740], rdx
mov dword [r9 + rax*8], 1
mov qword [r9 + rax*8 + 8], rbp
mov dword [rsi], edx
mov eax, dword [r9 + rax*8 + 0x10]
mov dword [rsi + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [rsi]
cmp eax, 0xffffffff
jne 0x140055f86
int3
cmp eax, 0x100
jl 0x140055f8e
int3
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
push rbx
mov eax, 0x1040
call fcn.140070b10
sub rsp, rax
mov rax, qword [0x1400893e8]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov eax, dword [0x140089378]
mov ecx, eax
mov dword [rsp + 0x20], eax
cmp eax, 0xffffffff
jne 0x1400560b3
lea rcx, [rsp + 0x20]
call fcn.140064230
test al, al
jne 0x140056061
int3
mov ecx, dword [rsp + 0x20]
cmp ecx, 0xffffffff
jne 0x14005608e
lea rcx, [rsp + 0x20]
call fcn.140064230
test al, al
je 0x14005607f
cmp dword [rsp + 0x20], 0xffffffff
jne 0x140056080
int3
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x20]
mov eax, 0xffffffff
lock cmpxchg dword [0x140089378], ecx
mov ecx, dword [rsp + 0x20]
cmp eax, 0xffffffff
je 0x1400560b3
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x140089378]
mov dword [rsp + 0x20], ecx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x1400560be
int3
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x1000
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [rsp + 0x20]
lea rdx, [rsp + 0x30]
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.140070708
mov r8d, 0x1000
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rsp + 0x20]
mov rdx, rbx
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rax, rbx
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400707e0
add rsp, 0x1040
pop rbx
ret

Function at 0x140056130
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x140089378]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140056164
movsxd rdx, dword [rbx]
mov ecx, dword [rbx + 4]
add rdx, rdx
cmp dword [rax + rdx*8 + 8], ecx
jne 0x140056164
mov rax, qword [rax + rdx*8]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140056210
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140089378]
cmp ecx, 0xffffffff
jne 0x140056226
xor al, al
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 1
setbe al
add rsp, 0x28
ret

Function at 0x1400563b0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov ecx, dword [0x140089378]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
jne 0x1400563dc
test rdi, rdi
je 0x1400563f3
call fcn.140056020
movsxd rcx, dword [rbx]
add rcx, rcx
mov qword [rax + rcx*8], rdi
movsxd rdx, dword [rbx]
mov ecx, dword [rbx + 4]
add rdx, rdx
mov dword [rax + rdx*8 + 8], ecx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14005dcb0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x2d0
mov rax, qword [0x1400893e8]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rdi, rcx
lea r8, str..._.._3rdparty_chromium_base_files_file_util_win.cc
lea rcx, [rsp + 0x68]
mov r9d, 0x382
lea rdx, [0x140077218]
call fcn.14003e740
mov rdx, rax
lea rcx, [rsp + 0x30]
xor r8d, r8d
call fcn.14004ba40
xor ebx, ebx
lea rdx, [rsp + 0xb0]
mov ecx, 0x104
mov word [rsp + 0xb0], bx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x103
ja 0x14005ddbc
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0xb0]
cmp word [rsp + 0xb0], bx
je 0x14005dd5d
nop dword [rax]
inc rbx
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x14005dd50
mov qword [rsp + 0x28], rbx
lea rdx, [rsp + 0x20]
movaps xmm0, xmmword [rsp + 0x20]
lea rcx, [rsp + 0x68]
movdqa xmmword [rsp + 0x20], xmm0
call fcn.14003ea10
mov rcx, rax
lea rdx, [rsp + 0x88]
call fcn.14003f530
mov rdx, rax
mov rcx, rdi
call fcn.14003eaf0
lea rcx, [rsp + 0x88]
call fcn.14003eae0
lea rcx, [rsp + 0x68]
call fcn.14003eae0
lea rcx, [rsp + 0x30]
call fcn.14004bca0
mov al, 1
jmp 0x14005ddc8
lea rcx, [rsp + 0x30]
call fcn.14004bca0
xor al, al
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1400707e0
mov rbx, qword [rsp + 0x2e8]
add rsp, 0x2d0
pop rdi
ret

Function at 0x14005ddf0
Capabilities:
Set current directory

Disassembly:
push rbx
sub rsp, 0x80
mov rbx, rcx
lea r8, str..._.._3rdparty_chromium_base_files_file_util_win.cc
lea rcx, [rsp + 0x20]
mov r9d, 0x392
lea rdx, [0x140077230]
call fcn.14003e740
mov rdx, rax
lea rcx, [rsp + 0x40]
xor r8d, r8d
call fcn.14004ba40
cmp qword [rbx + 0x18], 8
jb 0x14005de34
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
lea rcx, [rsp + 0x40]
setne bl
call fcn.14004bca0
movzx eax, bl
add rsp, 0x80
pop rbx
ret

Function at 0x140064230
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14006424e
mov dword [rbx], eax
mov al, 1
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140065df0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.140065e10
mov rcx, rax
add rsp, 0x28
jmp fcn.140056130
Function at 0x140069b60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, qword [0x14008b888]
mov rdi, rdx
mov rsi, rcx
test rbx, 0xfffffffffffffffe
jne 0x140069bc9
lea rcx, [0x14008b888]
call fcn.1400576c0
test al, al
je 0x140069bc2
lea rbx, [0x14008b890]
mov rcx, rbx
call fcn.1400435a0
lea r9, [0x14008b888]
xor r8d, r8d
mov rdx, rbx
lea rcx, [0x14008b888]
call fcn.1400576a0
jmp 0x140069bc9
mov rbx, qword [0x14008b888]
mov rcx, rbx
call fcn.1400435b0
call fcn.140069ae0
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
mov rbp, qword [0x14008b898]
jb 0x140069bea
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x140069c23
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r10
cmp rcx, r8
jb 0x140069c10
mov r8, rdi
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x40]
call fcn.14004e330
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x140069c41
mov rdx, qword [rbp + 0x48]
cmp rdx, qword [rbp + 0x48]
je 0x140069c6d
add rdx, 0x30
lea rcx, [rsp + 0x50]
call fcn.14004d470
mov rax, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
mov qword [rsi], rax
mov qword [rsp + 0x50], 0
jmp 0x140069c82
mov qword [rsi], 0
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], 0
call fcn.14004d4d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rbx, qword [rsp + 0x60]
mov rax, rsi
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14006bd20
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
call fcn.14006d490
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14006d120
push rbx
sub rsp, 0x90
mov rax, qword [0x1400893e8]
xor rax, rsp
mov qword [rsp + 0x80], rax
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x67452301
xor eax, eax
mov dword [rsp + 0x24], 0xefcdab89
mov rbx, r8
mov qword [rsp + 0x74], rax
mov r8, rdx
mov dword [rsp + 0x7c], eax
mov rdx, rcx
mov dword [rsp + 0x28], 0x98badcfe
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x2c], 0x10325476
movups xmmword [rsp + 0x34], xmm0
mov dword [rsp + 0x30], 0xc3d2e1f0
movups xmmword [rsp + 0x44], xmm0
movups xmmword [rsp + 0x54], xmm0
movups xmmword [rsp + 0x64], xmm0
call fcn.14006d360
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14006d1d0
mov edx, 0x60
lea rcx, [rsp + 0x20]
call fcn.14006d4c0
mov rax, rbx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400707e0
add rsp, 0x90
pop rbx
ret

Function at 0x14006c2a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
xor r11d, r11d
test r8, r8
je 0x14006c2e3
mov qword [rsp], rbx
lea rbx, [0x14007c3d0]
nop word [rax + rax]
movzx r10d, byte [r11 + rdx]
mov eax, ecx
movzx r9d, cl
inc r11
xor r10, r9
shr eax, 8
mov ecx, dword [rbx + r10*4]
xor ecx, eax
cmp r11, r8
jb 0x14006c2c0
mov rbx, qword [rsp]
mov eax, ecx
add rsp, 8
ret

Function at 0x14006cb50
Capabilities:
Hash data with md5

Disassembly:
jmp 0x14006cde0
push rbx
sub rsp, 0x90
mov rax, qword [0x1400893e8]
xor rax, rsp
mov qword [rsp + 0x80], rax
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x67452301
xor eax, eax
mov dword [rsp + 0x24], 0xefcdab89
mov rbx, r8
mov qword [rsp + 0x70], rax
mov r8, rdx
mov dword [rsp + 0x78], eax
mov rdx, rcx
mov dword [rsp + 0x28], 0x98badcfe
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x2c], 0x10325476
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
call fcn.14006cff0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14006ce80
mov rax, rbx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400707e0
add rsp, 0x90
pop rbx
ret

Function at 0x14006cd98
Capabilities:
Parse pe header

Disassembly:
mov rdx, qword [rcx + 8]
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14006cdce
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14006cdce
mov ecx, 0xf0
cmp word [rax + rdx + 0x14], cx
jne 0x14006cdce
mov ecx, 0x20b
cmp word [rax + rdx + 0x18], cx
jne 0x14006cdce
mov al, 1
ret
xor al, al
ret