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

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, rcx
mov rax, qword [0x140297028]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, qword [0x1402acbd0]
test rdi, rdi
je 0x140004830
lea rbx, [0x140277ab3]
mov rcx, rdi
mov rdx, rbx
call fcn.1400e7a70
test al, al
jne 0x140004859
lea rdx, str.vmodule
mov rcx, rdi
call fcn.1400e7a70
test al, al
jne 0x140004859
mov eax, dword [rsi]
mov dword [0x14029ae10], eax
test al, 1
jne 0x140004912
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401830b0
mov al, 1
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rax, str.vmodule
lea r8, [rsp + 0x48]
mov qword [r8], rax
mov qword [r8 + 8], 7
lea r14, [rsp + 0x58]
mov rcx, rdi
mov rdx, r14
call fcn.140145be0
lea r8, [rsp + 0x20]
mov qword [r8], rbx
mov qword [r8 + 8], 1
lea rbx, [rsp + 0x30]
mov rcx, rdi
mov rdx, rbx
call fcn.140145be0
mov ecx, 0x20
call fcn.1401803a4
mov rdi, rax
lea r9, [0x1402acb48]
mov rcx, rax
mov rdx, rbx
mov r8, r14
call fcn.1401f8be0
cmp byte [rbx + 0x17], 0
jns 0x1400048d2
mov rcx, qword [rsp + 0x30]
call fcn.14018039c
cmp byte [rsp + 0x6f], 0
jns 0x1400048e3
mov rcx, qword [rsp + 0x58]
call fcn.14018039c
test rdi, rdi
je 0x140004830
xor eax, eax
lock cmpxchg qword [0x1402acb58], rdi
je 0x140004830
mov rcx, rdi
call fcn.1401f8c90
mov rcx, rdi
call fcn.14018039c
jmp 0x140004830
mov rcx, qword [0x1402acb50]
test rcx, rcx
jne 0x14000492c
mov rcx, qword [0x1402acb40]
test rcx, rcx
je 0x140004950
jmp 0x140004972
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1402acb50], 0
mov rcx, qword [0x1402acb40]
test rcx, rcx
jne 0x140004972
and byte [0x14029ae10], 0xfe
mov ecx, 0x18
call fcn.1401803a4
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1402acb40], rax
mov rdx, qword [rsi + 8]
call fcn.140070ff0
cmp dword [rsi + 0x14], 0
jne 0x140004997
mov rcx, qword [0x1402acb40]
cmp byte [rcx + 0x17], 0
jns 0x140004991
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401830b0
nop
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1401ed270
Function at 0x14000d040
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov esi, 2
cmp rcx, 1
jne 0x14000d072
mov rdi, qword [0x1402ac6e8]
cmp rsi, rdi
jbe 0x14000d0a5
lea rcx, [0x1402ac6e0]
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140117a20
lea rax, [rcx - 1]
test rcx, rax
jne 0x14000d080
mov rsi, rcx
jmp 0x14000d051
call fcn.140149520
mov rsi, rax
jmp 0x14000d051
mov rcx, rdx
call fcn.140149520
cmp rsi, rax
cmovbe rsi, rax
cmp rsi, rdi
jb 0x14000d05d
add rsp, 0x28
pop rdi
pop rsi
ret
jae 0x14000d09e
mov rax, qword [0x1402ac6f8]
test rax, rax
jns 0x14000d0ca
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14000d0cf
cvtsi2ss xmm0, rax
divss xmm0, dword [0x1402ac700]
call fcn.14019ee84
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x14025c048]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rdi, 3
jb 0x14000d08a
mov rax, rdi
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, rdi
sub rax, rcx
movabs rcx, 0x3333333333333333
mov r8, rax
shr r8, 2
and rax, rcx
and r8, rcx
add r8, rax
mov rax, r8
shr rax, 4
add rax, r8
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rax
movabs rax, 0x101010101010101
imul rax, rcx
shr rax, 0x38
cmp eax, 1
ja 0x14000d08a
lea rax, [rdx - 1]
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
cmp rdx, 2
cmovb rax, rdx
jmp 0x14000d092

Function at 0x14000e120
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140297028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1402ac908]
mov ecx, dword [0x1402a76e4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000e180
lea rsi, [0x1402ac900]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401830b0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1402ac908]
call fcn.1401805cc
cmp dword [0x1402ac908], 0xffffffff
jne 0x14000e15c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1401851f0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.1401803a4
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1402ac950]
mov ecx, dword [0x1402a76e4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000e240
lea r8, [0x1402ac920]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14002ab60
mov qword [0x1402ac900], rsi
lea rcx, [0x1402ac908]
call fcn.140180634
jmp 0x14000e15c
lea rcx, [0x1402ac950]
call fcn.1401805cc
cmp dword [0x1402ac950], 0xffffffff
jne 0x14000e211
xorps xmm0, xmm0
movups xmmword [0x1402ac940], xmm0
movups xmmword [0x1402ac930], xmm0
movups xmmword [0x1402ac920], xmm0
lea rcx, [0x1402ac920]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1402ac950]
call fcn.140180634
jmp 0x14000e211
Function at 0x140014f60
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x140014fac
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140014fb7
lea rax, [rsi + 1]
cmp rax, 2
jb 0x140014f9a
mov qword [rdi], rsi
call fcn.1400e62c0
mov ecx, ebx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400e62c0
mov r14, qword [rdi]
cmp qword [0x1402accf8], 0
je 0x140014fe8
mov rcx, qword [0x1402accf8]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x1401e9be0.0]
mov qword [rdi], 0
jmp 0x140014f88
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetHandleVerifier
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140015029
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140015023
call qword [case.0x1401e9be0.0]
mov rcx, rax
xor edx, edx
call fcn.14003b960
jmp 0x140014fc9
xor ecx, ecx
mov dl, 1
jmp 0x14001501c
xor ecx, ecx
jmp 0x14001501a

Function at 0x140019d10
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1028
call fcn.140183050
sub rsp, rax
mov rax, qword [0x140297028]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov esi, dword [0x1402a71dc]
cmp esi, 0xffffffff
je 0x140019dc3
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140019df5
lea rdi, [rsp + 0x20]
mov r8d, 0x1000
mov rcx, rdi
xor edx, edx
call fcn.1401851f0
lea rdx, [rsp + 0x23]
mov r14, qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, esi
call r14
mov ecx, 0x1000
call fcn.140180694
mov rbx, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rdi
call fcn.140184b40
mov rdx, rbx
or rdx, 3
mov ecx, esi
call r14
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1401830b0
mov rax, rbx
add rsp, 0x1028
pop rbx
pop rdi
pop rsi
pop r14
ret
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140019df8
mov esi, eax
mov eax, 0xffffffff
lock cmpxchg dword [0x1402a71dc], esi
je 0x140019d43
mov ecx, esi
call sub.KERNEL32.dll_TlsFree
mov esi, dword [0x1402a71dc]
jmp 0x140019d43
int3
int3
Function at 0x140019e00
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rbx, rcx
xor ebp, ebp
test rcx, rcx
setne bpl
mov r13d, dword [rsp + 0xd0]
mov rax, qword [0x140297028]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xfffffffc00000000
shl ebp, 0x10
mov ecx, 0x18
call fcn.1401803a4
mov rsi, rax
mov rax, r15
and rax, r12
cmp rax, qword [0x1402a6e88]
je 0x140019ece
mov qword [rsi], r15
test r14, r14
setne byte [rsi + 8]
mov dword [rsi + 0xc], edi
mov dword [rsi + 0x10], r13d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x14002ddb0]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x140019ee3
test r14, r14
je 0x140019ed8
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401830b0
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r15
call fcn.1400d8270
jmp 0x140019e65
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140019ea8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x140019efc
mov ebp, eax
cmp eax, 0x5af
je 0x140019efc
cmp ebp, 0xe
jne 0x140019f27
mov rcx, rbx
call fcn.1401efa40
test rsi, rsi
je 0x140019ea8
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x1402a6e88]
jne 0x140019f1d
call fcn.1400d83a0
mov rcx, rsi
call fcn.14018039c
jmp 0x140019ea8
mov eax, dword [0x1402ac9e8]
mov ecx, dword [0x1402a76e4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140019f9f
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.1400b4dc0
movzx eax, byte [rbx + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rbx]
cmovns rax, rbx
cmovs rcx, qword [rbx + 8]
lea rdx, [rsp + 0x50]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
mov rcx, qword [0x1402ac9e0]
call fcn.140006910
cmp byte [rbx + 0x17], 0
jns 0x140019f04
mov rcx, qword [rsp + 0x38]
call fcn.14018039c
jmp 0x140019f04
lea rcx, [0x1402ac9e8]
call fcn.1401805cc
cmp dword [0x1402ac9e8], 0xffffffff
jne 0x140019f48
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.140005340
mov qword [0x1402ac9e0], rax
lea rcx, [0x1402ac9e8]
call fcn.140180634
jmp 0x140019f48
Function at 0x14001b6c0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov byte [rcx + 8], 0
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
lea rax, [0x14026b768]
mov qword [rcx], rax
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp qword [rsi + 0x18], rax
je 0x14001b730
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 2
jae 0x14001b73b
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14001b728
mov qword [rsi + 0x18], rdi
call fcn.1400e62c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400e62c0
mov rcx, qword [rsi + 0x18]
call fcn.140161150
mov qword [rsi + 0x18], 0
jmp 0x14001b715
Function at 0x140022ae0
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x338
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140297028]
xor rax, rsp
mov qword [rsp + 0x330], rax
lea r14, [rsp + 0x68]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.1401851f0
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rsi
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.140022e50
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x50]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [0x140268c70]
movaps xmmword [rsi], xmm0
mov rcx, r14
mov rdx, rsi
call fcn.140023210
movzx eax, byte [rsi + 0x17]
test al, al
js 0x140022b7a
mov ecx, eax
and ecx, 0x7f
jmp 0x140022b7f
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140022c48
xor ebp, ebp
mov r15, qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r12, qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdi, [rsp + 0x68]
lea r14, [rsp + 0x38]
xor r13d, r13d
cmp byte [rsp + 0x68], 0
je 0x140022c8d
mov edx, dword [rsp + 0x6c]
test dl, 1
jne 0x140022c97
test dl, 0x10
jne 0x140022c86
cmp byte [rsp + 0x67], 0
mov rcx, rsi
jns 0x140022bd5
mov rcx, qword [rsp + 0x50]
call r15
test eax, eax
jne 0x140022c86
call r12
mov ebx, eax
and eax, 0xfffffffe
cmp eax, 2
cmove ebx, ebp
test r13d, r13d
cmovne ebx, r13d
mov rcx, rdi
mov rdx, r14
call fcn.140023210
cmp byte [rsp + 0x67], 0
js 0x140022c2b
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rsp + 0x50], xmm0
movzx eax, byte [rsp + 0x67]
test al, al
js 0x140022c37
mov ecx, eax
and ecx, 0x7f
jmp 0x140022c3c
mov rcx, qword [rsp + 0x50]
call fcn.14018039c
jmp 0x140022c07
mov rcx, qword [rsp + 0x58]
mov r13d, ebx
test rcx, rcx
jne 0x140022ba5
test al, al
jns 0x140022c56
mov rcx, qword [rsp + 0x50]
call fcn.14018039c
lea rcx, [rsp + 0x68]
call fcn.140022cc0
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.1401830b0
mov eax, ebx
add rsp, 0x338
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x140022bee
call fcn.1401c0570
jmp 0x140022bc6
xor ebx, ebx
test dl, 0x10
jne 0x140022bee
test al, al
js 0x140022cad
lea rcx, [rsp + 0x50]
jmp 0x140022cb2
mov rcx, qword [rsp + 0x50]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x140022bc6
Function at 0x140027c70
Capabilities:
Get file size

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140297028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], r15
movaps xmm0, xmmword [0x140268c70]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.GetLength
lea r8, str....._base_files_file_win.cc
lea r14, [rsp + 0x20]
mov rcx, r14
mov r9d, 0xac
call fcn.1400e92c0
xor ebx, ebx
mov rcx, rsi
mov rdx, r14
xor r8d, r8d
call fcn.14011f810
mov qword [r14], r15
mov rcx, qword [rdi]
lea rdi, [rsp + 0x20]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp eax, 1
sbb rbx, rbx
or rbx, qword [rdi]
mov rcx, rsi
call fcn.14011f330
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401830b0
mov rax, rbx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140029e90
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov eax, dword [0x1402b4548]
mov ecx, dword [0x1402a76e4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140029fba
mov ecx, dword [0x1402a71dc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140029eef
mov rcx, qword [0x1402b4538]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1402b4540]
jne 0x140029eef
cmp qword [rax + rcx], 0
jne 0x140029f76
mov ecx, 4
call fcn.1401803a4
mov rsi, rax
mov dword [rax], 0
mov ecx, dword [0x1402a71dc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14002a011
mov rcx, qword [0x1402b4538]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1402b4540]
jne 0x14002a011
mov rdi, qword [rax + rcx]
mov ecx, dword [0x1402a71dc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140029fae
mov rcx, qword [0x1402b4538]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [0x1402b4540]
mov rdx, qword [0x1402b4538]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
test rdi, rdi
jne 0x14002a018
mov ecx, dword [0x1402a71dc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14002a00d
mov rcx, qword [0x1402b4538]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1402b4540]
jne 0x14002a00d
mov rax, qword [rax + rcx]
add rsp, 0x28
pop rdi
pop rsi
ret
test rsi, rsi
je 0x140029f6d
call fcn.140019d10
jmp 0x140029f49
lea rcx, [0x1402b4548]
call fcn.1401805cc
cmp dword [0x1402b4548], 0xffffffff
jne 0x140029ebb
mov qword [0x1402b4540], 0
lea rcx, [0x1402b4538]
mov qword [0x1402b4538], 0xffffffffffffffff
lea rdx, [0x14006dc30]
call fcn.14002dc60
lea rcx, [0x1402b4548]
call fcn.140180634
jmp 0x140029ebb
xor eax, eax
jmp 0x140029fa7
xor edi, edi
jmp 0x140029f37
mov rcx, rdi
call fcn.14018039c
jmp 0x140029f76
Function at 0x14002b2a0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.140183050
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140297028]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.1401851f0
lea r9, [rsp + 0x3c]
mov dword [r9], 1
lea rax, [rsp + 0x38]
mov dword [rax], 0x800
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002b362
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x14002b366
lea rdi, [rsp + 0x840]
mov rcx, rdi
call fcn.140180ff4
mov rcx, rsi
mov rdx, rdi
mov r8, rax
call fcn.14002b3c0
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1401830b0
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x14002b343
cmp eax, 2
jne 0x14002b3b1
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.1401851f0
lea rcx, [rsp + 0x840]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x14002b3b8
lea rdi, [rsp + 0x40]
jmp 0x14002b32b
mov edi, 0x3f4
jmp 0x14002b343
mov edi, 0xea
jmp 0x14002b343

Function at 0x14002bb00
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
sub rsp, 0x30
mov rax, qword [0x140297028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rcx, [0x1402b5300]
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14002bbf0
cmp byte [0x1402b5308], 0
je 0x14002bb95
mov rax, qword [0x1402b5318]
lea rcx, [0x1402b5300]
mov rdx, qword [0x1402b5310]
mov qword [0x1402b5310], rax
mov rsi, rdx
shl rsi, 0x17
xor rsi, rdx
mov rdx, rax
shr rdx, 0x1a
xor rdx, rax
xor rdx, rsi
shr rsi, 0x11
xor rsi, rdx
mov qword [0x1402b5318], rsi
add rsi, rax
shr rsi, 0x20
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401830b0
mov eax, esi
add rsp, 0x30
pop rsi
ret
movabs rsi, 0xaaaaaaaaaaaaaaaa
xorps xmm0, xmm0
movups xmmword [0x1402b5310], xmm0
lea rcx, [rsp + 0x20]
mov qword [rcx], rsi
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14002bc01
lea rcx, [rsp + 0x20]
mov rax, qword [rcx]
mov qword [0x1402b5310], rax
mov qword [rcx], rsi
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14002bc04
mov rax, qword [rsp + 0x20]
mov byte [0x1402b5308], 1
jmp 0x14002bb39
lea rcx, [0x1402b5300]
call fcn.1400ee8b0
jmp 0x14002bb29
int3
int3
Function at 0x14002dc60
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1402a71dc]
cmp ecx, 0xffffffff
je 0x14002dd3a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x14002dd3a
mov eax, dword [0x1402b4500]
mov ecx, dword [0x1402a76e4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002dd44
mov rbx, qword [0x1402b44f8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14002dd86
mov rax, qword [0x1402b2ce8]
inc rax
xor ecx, ecx
lea rdx, [0x1402b2cf0]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x14002dd93
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x1402b44f0]
inc ecx
mov dword [0x1402b44f0], ecx
mov dword [rax + 0x14], ecx
mov qword [0x1402b2ce8], r8
mov qword [rsi], r8
mov eax, dword [rax + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsi], 0x100
jae 0x14002dda8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140019d10
jmp 0x14002dc8a
lea rcx, [0x1402b4500]
call fcn.1401805cc
cmp dword [0x1402b4500], 0xffffffff
jne 0x14002dcaf
mov ecx, 8
call fcn.1401803a4
mov qword [rax], 0
mov qword [0x1402b44f8], rax
lea rcx, [0x1402b4500]
call fcn.140180634
jmp 0x14002dcaf
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14002dcc7
inc rcx
cmp rcx, 0x100
jne 0x14002dcda
jmp 0x14002dd20
int3
Function at 0x1400314b0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rdx]
mov qword [rdx], 0
lea r12, [r15 + 1]
cmp r12, 2
jb 0x1400314dc
call fcn.1400e62c0
mov qword [rsi], 0
test r15, r15
je 0x140031512
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003156a
cmp r12, 2
jb 0x14003150a
mov qword [rsi], r15
call fcn.1400e62c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [rdi + 8]
mov byte [rsi + 8], al
mov byte [rdi + 8], 0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140031539
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400e62c0
mov rbx, qword [rdi]
cmp qword [0x1402accf8], 0
je 0x14003159e
mov rcx, qword [0x1402accf8]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x1401e9be0.0]
mov qword [rdi], 0
jmp 0x140031528
call fcn.1400e62c0
mov r14, qword [rsi]
cmp qword [0x1402accf8], 0
je 0x1400315e2
mov rcx, qword [0x1402accf8]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x1401e9be0.0]
mov qword [rsi], 0
jmp 0x1400314fc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetHandleVerifier
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140031626
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400315dc
call qword [case.0x1401e9be0.0]
mov rcx, rax
xor edx, edx
call fcn.14003b960
jmp 0x14003154b
xor ecx, ecx
mov dl, 1
jmp 0x1400315d2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetHandleVerifier
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003162a
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140031620
call qword [case.0x1401e9be0.0]
mov rcx, rax
xor edx, edx
call fcn.14003b960
jmp 0x14003157c
xor ecx, ecx
mov dl, 1
jmp 0x140031616
xor ecx, ecx
jmp 0x1400315d0
xor ecx, ecx
jmp 0x140031614

Function at 0x140033910
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
test rdx, rdx
jne 0x14003393f
test r8d, r8d
jne 0x140033938
lea rcx, [0x1402b0fb8]
lea rdx, [0x1400bc3a0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
xor eax, eax
add rsp, 0x28
ret
mov r8d, r8d
add rsp, 0x28
jmp fcn.14015ebc0