joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400308d0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.140187460
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.140189600
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 0x140030992
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x140030996
lea rdi, [rsp + 0x840]
mov rcx, rdi
call fcn.1401855e4
mov rcx, rsi
mov rdx, rdi
mov r8, rax
call fcn.1400309f0
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1401874c0
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x140030973
cmp eax, 2
jne 0x1400309e1
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.140189600
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 0x1400309e8
lea rdi, [rsp + 0x40]
jmp 0x14003095b
mov edi, 0x3f4
jmp 0x140030973
mov edi, 0xea
jmp 0x140030973

Function at 0x1400310f0
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 [0x1402ab29c]
cmp ecx, 0xffffffff
je 0x140031112
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140031117
call fcn.14001bb60
mov eax, dword [0x1402b8680]
mov ecx, dword [0x1402ab7ac]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400311c7
mov rbx, qword [0x1402b8678]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140031209
mov rax, qword [0x1402b6e68]
inc rax
xor ecx, ecx
lea rdx, [0x1402b6e70]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x140031216
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x1402b8670]
inc ecx
mov dword [0x1402b8670], ecx
mov dword [rax + 0x14], ecx
mov qword [0x1402b6e68], 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 0x140031228
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1402b8680]
call fcn.140184b80
cmp dword [0x1402b8680], 0xffffffff
jne 0x14003113c
mov ecx, 8
call fcn.140184834
mov qword [rax], 0
mov qword [0x1402b8678], rax
lea rcx, [0x1402b8680]
call fcn.140184be8
jmp 0x14003113c
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x140031154
inc rcx
cmp rcx, 0x100
jne 0x140031167
jmp 0x1400311ad
int3
Function at 0x140031e30
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
sub rsp, 0x30
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rcx, [0x1402b9480]
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140031f20
cmp byte [0x1402b9488], 0
je 0x140031ec5
mov rax, qword [0x1402b9498]
lea rcx, [0x1402b9480]
mov rdx, qword [0x1402b9490]
mov qword [0x1402b9490], 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 [0x1402b9498], rsi
add rsi, rax
shr rsi, 0x20
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401874c0
mov eax, esi
add rsp, 0x30
pop rsi
ret
movabs rsi, 0xaaaaaaaaaaaaaaaa
xorps xmm0, xmm0
movups xmmword [0x1402b9490], xmm0
lea rcx, [rsp + 0x20]
mov qword [rcx], rsi
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140031f31
lea rcx, [rsp + 0x20]
mov rax, qword [rcx]
mov qword [0x1402b9490], rax
mov qword [rcx], rsi
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140031f34
mov rax, qword [rsp + 0x20]
mov byte [0x1402b9488], 1
jmp 0x140031e69
lea rcx, [0x1402b9480]
call fcn.1400ef7c0
jmp 0x140031e59
int3
int3
Function at 0x140032240
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rdx
mov r15b, byte [rbp + 0x68]
test byte [r9 + 8], 1
jne 0x14003229d
mov dl, byte [rbp + 0x60]
movzx r8d, r15b
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov dword [rsp + 0x28], r8d
mov byte [rsp + 0x20], dl
mov rdx, rsi
mov r8, rdi
call qword [case.0x1401eda70.0]
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov rax, qword [r9 + 0x30]
lea rbx, [rbp - 0x20]
mov qword [rbx], rax
mov qword [rbp - 8], rax
lock inc dword [rax + 8]
lea rdx, [0x1402af8f0]
mov rcx, rbx
call fcn.140160ce0
mov r14, rax
mov eax, 0xffffffff
mov rcx, qword [rbp - 8]
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x1400322e5
mov rcx, qword [rbp - 8]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1401eda70.0]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rbp - 0x10], rax
movaps xmm0, xmmword [0x1402724c0]
movaps xmmword [rbp - 0x20], xmm0
mov rax, qword [r14]
xor r15b, 1
movzx ecx, r15b
mov rax, qword [rax + rcx*8 + 0x28]
mov rcx, r14
mov rdx, rbx
call qword [case.0x1401eda70.0]
mov al, byte [rbp - 9]
test al, al
mov rcx, qword [rbp - 0x20]
mov r14, rbx
cmovs r14, rcx
mov rdx, rbx
test al, al
cmovs rdx, rcx
js 0x14003235e
movzx eax, al
add rdx, rax
cmp r14, rdx
je 0x14003238f
test rdi, rdi
je 0x140032381
mov al, byte [r14]
mov rcx, qword [rdi + 0x30]
cmp rcx, qword [rdi + 0x38]
je 0x140032369
lea rdx, [rcx + 1]
mov qword [rdi + 0x30], rdx
mov byte [rcx], al
jmp 0x140032383
add rdx, qword [rbp - 0x18]
cmp r14, rdx
jne 0x140032340
jmp 0x140032397
movzx edx, al
mov rax, qword [rdi]
mov rax, qword [rax + 0x60]
mov rcx, rdi
call qword [case.0x1401eda70.0]
cmp eax, 0xffffffff
jne 0x140032383
xor edi, edi
inc r14
mov al, byte [rbp - 9]
mov rcx, qword [rbp - 0x20]
jmp 0x14003232a
mov qword [rsi], rdi
jmp 0x14003228d
mov qword [rsi], rdi
call fcn.14018482c
jmp 0x14003228d
Function at 0x140036510
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
jne 0x1400365fe
cmp qword [rsi], 0
jne 0x1400365fe
cmp dword [rsi + 0x14], 0
jne 0x1400365fe
cmp qword [rsi + 8], 0
jne 0x1400365fe
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x140036580
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400365d0
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140036578
mov qword [rsi], r14
call fcn.1400e8860
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x1400365ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400365e6
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400365b2
mov qword [rsi + 8], r14
call fcn.1400e8860
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400e8860
mov rcx, qword [rsi]
call fcn.140165880
mov qword [rsi], 0
jmp 0x140036566
call fcn.1400e8860
mov rcx, qword [rsi + 8]
call fcn.140165880
mov qword [rsi + 8], 0
jmp 0x14003659f
mov rcx, rsi
call fcn.1402144c0
mov rax, qword [rsi]
jmp 0x14003654a

Function at 0x140036ef0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
test rdx, rdx
jne 0x140036f1f
test r8d, r8d
jne 0x140036f18
lea rcx, [0x1402b6a80]
lea rdx, [0x1400be160]
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.140036f30
Function at 0x140038b50
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x48], rax
test rcx, rcx
je 0x140038c29
mov rsi, rdx
mov rdi, rcx
lea rbx, [rsp + 0x40]
mov qword [rbx], 0
mov r15, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call r15
mov r14, rax
call r15
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x30], 2
mov rcx, rax
mov rdx, rdi
mov r8, r14
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
setne bl
je 0x140038c2d
mov r14, qword [rsp + 0x40]
cmp qword [rsi], r14
je 0x140038bf8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140038c13
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140038bf0
mov qword [rsi], r14
call fcn.1400e8860
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401874c0
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400e8860
mov rcx, qword [rsi]
call fcn.140165880
mov qword [rsi], 0
jmp 0x140038bde
mov bl, 1
jmp 0x140038bf8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140038bf0
Function at 0x14003dc50
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rdx]
mov qword [rdx], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x14003dc7a
call fcn.1400e8860
cmp qword [rsi], r14
je 0x14003dca9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003dcff
cmp r15, 2
jb 0x14003dca1
mov qword [rsi], r14
call fcn.1400e8860
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 0x14003dcce
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400e8860
mov rbx, qword [rdi]
cmp qword [0x1402b0e48], 0
je 0x14003dd18
mov rcx, qword [0x1402b0e48]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x1401eda70.0]
mov qword [rdi], 0
jmp 0x14003dcbf
call fcn.1400e8860
mov rcx, qword [rsi]
call fcn.140165880
mov qword [rsi], 0
jmp 0x14003dc93
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 0x14003dd59
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14003dd53
call qword [case.0x1401eda70.0]
mov rcx, rax
xor edx, edx
call fcn.14003dd60
jmp 0x14003dce0
xor ecx, ecx
mov dl, 1
jmp 0x14003dd4c
xor ecx, ecx
jmp 0x14003dd4a
Function at 0x140041850
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ebx, 0xffffffff
cmp r8, rbx
cmovb rbx, r8
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140041918
mov r15, qword [sym.imp.KERNEL32.dll_GetFileType]
lea r14, [rsp + 0x2c]
mov r12, qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1400418e0
cmp eax, 0xffffffff
je 0x1400418f1
mov esi, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401874c0
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, rdi
call r15
cmp eax, 3
je 0x1400418f4
mov eax, dword [rsp + 0x2c]
jmp 0x1400418c0
int3
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
mov r9, r14
call r12
test eax, eax
jne 0x1400418b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x1400418c2

Function at 0x1400419e0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, qword [rdx]
mov qword [rdx], 0
lea r14, [rbx + 1]
cmp r14, 2
jb 0x140041a05
call fcn.1400e8860
cmp qword [rsi], rbx
je 0x140041a34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140041a41
cmp r14, 2
jb 0x140041a2c
mov qword [rsi], rbx
call fcn.1400e8860
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400e8860
mov rcx, qword [rsi]
call fcn.140165880
mov qword [rsi], 0
jmp 0x140041a1e

Function at 0x140043400
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, [0x1402706e0]
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 0x140043470
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 2
jae 0x14004347b
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140043468
mov qword [rsi + 0x18], rdi
call fcn.1400e8860
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.1400e8860
mov rcx, qword [rsi + 0x18]
call fcn.140165880
mov qword [rsi + 0x18], 0
jmp 0x140043455
Function at 0x1400455d0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov rbx, qword [rdx]
mov qword [rdx], rax
lea r14, [rbx + 1]
cmp r14, 2
jb 0x1400455f6
call fcn.1400e8860
cmp qword [rsi], rbx
je 0x140045625
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140045632
cmp r14, 2
jb 0x14004561d
mov qword [rsi], rbx
call fcn.1400e8860
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400e8860
mov rcx, qword [rsi]
call fcn.140165880
mov qword [rsi], 0
jmp 0x14004560f

Function at 0x1400463f0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rax, qword [rcx]
inc rax
cmp rax, 1
ja 0x14004658a
mov rbx, r9
mov edi, r8d
mov ebp, edx
mov rsi, rcx
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov r14, rax
cmp qword [rsi], rax
je 0x140046477
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140046567
mov rax, r14
inc rax
cmp rax, 2
jb 0x14004646b
mov qword [rsi], r14
call fcn.1400e8860
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi]
lea rax, [r14 + 1]
cmp rax, 1
jbe 0x140046591
xor r15d, r15d
lea rcx, [rsp + 0x30]
mov r8d, 0x90
xor edx, edx
call fcn.140189600
test ebp, ebp
jne 0x140046546
mov eax, 0xff
mov r15d, 0x408
mov dword [rsp + 0x58], 1
mov ecx, r15d
mov dword [rsp + 0x2c], eax
mov r15d, eax
test rbx, rbx
je 0x1400464d2
or ecx, 0x100
mov qword [rsp + 0xa0], rbx
or ecx, 0x2000
mov dword [rsp + 0x40], ecx
lea r8, [rsp + 0x30]
mov rcx, r14
mov edx, 9
mov r9d, 0x90
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
je 0x140046580
not edi
and r15d, edi
lea r8, [rsp + 0x2c]
mov dword [r8], r15d
mov rcx, qword [rsi]
mov edx, 4
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
xor esi, esi
test eax, eax
je 0x140046580
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401874c0
mov eax, esi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cmp ebp, 1
jne 0x14004655b
mov eax, 0xd8
mov r15d, 8
jmp 0x1400464ad
cmp ebp, 3
jne 0x1400465b8
xor ecx, ecx
jmp 0x1400464bf
call fcn.1400e8860
mov rcx, qword [rsi]
call fcn.140165880
mov qword [rsi], 0
jmp 0x140046457
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140046524
mov esi, 0x4df
jmp 0x140046524
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401874c0
nop
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0xc8
cmp ebp, 2
je 0x1400464b5
jmp 0x1400464dc
Function at 0x1400478a0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x80], rax
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movaps xmmword [rcx], xmm0
mov edx, 0x10
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14004797d
movaps xmm0, xmmword [0x1402724c0]
lea rcx, [rsp + 0x30]
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx + 0x30], xmm0
movaps xmmword [rcx + 0x20], xmm0
mov dword [rcx + 0x40], 0xaaaaaaaa
mov word [rcx], 0x401
mov dword [rcx + 2], 0
mov word [rcx + 6], 0
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [rcx + 8], xmm0
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x140047980
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetLengthSid]
test eax, eax
je 0x140047982
mov ebx, eax
mov rcx, rbx
call fcn.140184834
mov rdi, rax
lea r14, [rax + rbx]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov r8, rbx
call fcn.140188f50
mov qword [rsi], rdi
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], r14
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401874c0
mov rax, rsi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
ud2
xor r14d, r14d
xor edi, edi
jmp 0x140047952

Function at 0x140048b30
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov eax, r8d
mov rsi, rdx
mov rdx, qword [0x14029b028]
xor rdx, rsp
mov qword [rsp + 0x38], rdx
mov rcx, qword [rcx]
movabs rdx, 0xaaaaaaaaaaaaaaaa
lea r8, [rsp + 0x30]
mov qword [r8], rdx
or r9d, 8
mov qword [rsp + 0x28], r8
mov dword [rsp + 0x20], 2
mov edx, r9d
xor r8d, r8d
mov r9d, eax
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x140048bfe
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140048bfe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x140048bfa
call fcn.1400e8860
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi], 1
mov qword [rsi + 8], 0
test rbx, rbx
je 0x140048be2
cmp rbx, 0xffffffffffffffff
je 0x140048c03
call fcn.1400e8860
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsi + 8], rbx
call fcn.1400e8860
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401874c0
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
xor ebx, ebx
jmp 0x140048ba6
mov byte [rsi], 0
jmp 0x140048be2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140048bda
Function at 0x140055070
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp dword [rcx + 0x10], 0
mov rcx, qword [rcx]
je 0x1400551fa
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsi]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
movabs rbx, 0xfffffffc00000000
mov rdi, qword [rsi + 0x30]
mov qword [rsi + 0x30], 0
test rdi, rdi
je 0x140055112
mov rcx, qword [rdi + 0x20]
mov rdx, rdi
call fcn.1400554d0
test al, al
je 0x1400550e2
lea rcx, [rdi + 8]
call fcn.140055250
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400550e2
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rdi + 0x20]
mov rax, rcx
and rax, rbx
cmp rax, qword [0x1402aaec8]
je 0x140055210
mov qword [rdi + 0x20], 0
lea rcx, [rdi + 8]
call fcn.140055250
mov rcx, rdi
call fcn.14018482c
mov rdx, qword [rsi + 0x48]
mov qword [rsi + 0x48], 0
test rdx, rdx
je 0x140055132
lea rcx, fcn.1400eef30
xor r8d, r8d
call fcn.1400eaf80
mov rcx, qword [rsi + 0x38]
and rbx, rcx
cmp rbx, qword [0x1402aaec8]
je 0x14005521a
mov rdi, qword [rsi + 0x30]
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
test rdi, rdi
jne 0x140055224
mov rax, qword [rsi + 0x28]
inc rax
cmp rax, 2
jb 0x140055198
call fcn.1400e8860
mov rdi, qword [rsi + 0x28]
cmp qword [0x1402b0e48], 0
je 0x1400551b9
mov rcx, qword [0x1402b0e48]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rdi
call qword [case.0x1401eda70.0]
mov qword [rsi + 0x28], 0
lea rcx, [rsi + 0x20]
call fcn.140013df0
lea rcx, [rsi + 0x18]
call fcn.140013df0
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140045820
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 0x140055246
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400551f4
call qword [case.0x1401eda70.0]
mov rcx, rax
xor edx, edx
call fcn.14003dd60
jmp 0x14005517a
xor ecx, ecx
mov dl, 1
jmp 0x1400551ed
test rcx, rcx
jne 0x140055087
cmp dword [rsi + 0x14], 0
je 0x140055239
xor ecx, ecx
jmp 0x140055087
call fcn.1400da480
jmp 0x1400550f9
call fcn.1400da480
jmp 0x140055146
mov rcx, rdi
call fcn.140076850
mov rcx, rdi
call fcn.14018482c
jmp 0x14005515a
cmp qword [rsi + 8], 0
je 0x1400550a0
jmp 0x140055209
xor ecx, ecx
jmp 0x1400551eb
Function at 0x140055dd0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor ecx, ecx
xor eax, eax
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x140055ef2
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x140055f28
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr r10b, 4
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x140055f30
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
test edi, edi
setne cl
and cl, al
mov byte [r8 + 0x16], cl
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x140055f34
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x140055f3a
pop rdi
pop rsi
ret
xor r10d, r10d
jmp 0x140055e2c
xor eax, eax
jmp 0x140055ec1
mov dl, byte [r8 + 0x19]
jmp 0x140055f21
cmp byte [r8 + 0x1a], 0
je 0x140055f25
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x140055f25
cmp ecx, 0x666f736f
jne 0x140055f25
cmp edx, 0x76482074
jne 0x140055f25
mov byte [r8 + 0x19], 1
jmp 0x140055f25