joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140089500
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x1401b6b28]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x1401bc8e8]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x14008966f
jp 0x14008966f
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ebp, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1401bc8f8]
mov ecx, dword [0x1401bc798]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14008968e
mov eax, dword [0x1401bc908]
mov ecx, dword [0x1401bc798]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400896c8
rdtsc
mov rdi, rax
mov rbx, rdx
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rsi, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub rsi, qword [0x1401bc900]
movq xmm1, rsi
punpckldq xmm1, xmmword [0x14017c0a0]
subpd xmm1, xmmword [0x14017c0b0]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rsp + 0x20]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x140184958]
ucomisd xmm1, xmm0
ja 0x14008966f
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x1401bc8f0]
movq xmm1, rdi
punpckldq xmm1, xmmword [0x14017c0a0]
subpd xmm1, xmmword [0x14017c0b0]
movapd xmm6, xmm1
unpckhpd xmm6, xmm1
addsd xmm6, xmm1
divsd xmm6, xmm0
movsd qword [0x1401bc8e8], xmm6
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140147fd0
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x1401bc8f8]
call fcn.140147d80
cmp dword [0x1401bc8f8], 0xffffffff
jne 0x140089581
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1401bc8f0], rdx
lea rcx, [0x1401bc8f8]
call fcn.140147e18
jmp 0x140089581
lea rcx, [0x1401bc908]
call fcn.140147d80
cmp dword [0x1401bc908], 0xffffffff
jne 0x1400895a6
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x20]
mov qword [0x1401bc900], rax
lea rcx, [0x1401bc908]
call fcn.140147e18
jmp 0x1400895a6
Function at 0x140090810
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
mov rsi, rcx
mov rax, qword [0x1401b6b28]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rax, [0x140185dc0]
mov qword [rcx], rax
add rcx, 8
call fcn.14008b0a0
lea rcx, [rsi + 0x10]
call fcn.14008b0a0
mov byte [rsi + 0x18], 0
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], 0
call fcn.14008b0a0
mov byte [rsi + 0x48], 0
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], 0
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov dword [rsi + 0xd0], 0x3f800000
mov dword [rsi + 0xd8], 0
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], 0x3f800000
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], 0x3f800000
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov qword [rsi + 0x150], 0
mov dword [rsi + 0x158], 0x3f800000
movups xmmword [rsi + 0x160], xmm6
movups xmmword [rsi + 0x170], xmm6
mov dword [rsi + 0x180], 0x3f800000
mov qword [rsi + 0x1a0], 0
movups xmmword [rsi + 0x188], xmm6
mov dword [rsi + 0x198], 0
mov eax, dword [0x14018d3d8]
mov qword [rsi + 0x1a8], rax
lea rcx, [rsi + 0x1b0]
call fcn.1400c2430
movups xmmword [rsi + 0x2e0], xmm6
mov qword [rsi + 0x2f0], 0
lea rcx, [rsi + 0x2f8]
xor edx, edx
call fcn.1400beff0
lea rcx, [rsi + 0x300]
xor edx, edx
call fcn.1400beff0
lea rcx, [rsi + 0x308]
xor edx, edx
call fcn.1400beff0
movups xmmword [rsi + 0x310], xmm6
movups xmmword [rsi + 0x320], xmm6
mov dword [rsi + 0x330], 0x3f800000
movups xmmword [rsi + 0x338], xmm6
movups xmmword [rsi + 0x348], xmm6
movups xmmword [rsi + 0x358], xmm6
movups xmmword [rsi + 0x361], xmm6
movups xmmword [rsi + 0x378], xmm6
movups xmmword [rsi + 0x388], xmm6
call fcn.14000e300
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x198], eax
cdqe
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x190], rax
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.14005a560
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14005a6a0
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x130], rax
mov rcx, rdi
call fcn.14005a3a0
mov rcx, rsi
call fcn.140090ab0
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
je 0x140090a5a
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
call fcn.1400c0390
mov qword [rsp + 0x28], 0
lea r8, str.TraceLog
lea r9, [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call fcn.1400c0500
mov qword [0x1401bccf8], rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140147fd0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x14009fcb0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, rdx
mov r13, rcx
mov rdi, qword [rcx + 0x10]
mov rax, qword [rcx + 0x18]
cmp rdi, rax
jne 0x14009fe84
mov r15, qword [r13]
mov rbx, qword [r13 + 8]
mov rcx, rbx
sub rcx, r15
jbe 0x14009fd42
sar rcx, 3
lea rax, [rcx + 1]
shr rax, 0x3f
add rax, rcx
add rax, 1
sar rax, 1
mov r12, rax
neg r12
shl rax, 3
mov r15, rbx
sub r15, rax
sub rdi, rbx
mov rsi, rdi
sar rsi, 3
test rdi, rdi
je 0x14009fd2d
mov rcx, r15
mov rdx, rbx
mov r8, rdi
call fcn.14014a9e0
mov rbx, qword [r13 + 8]
lea rdi, [r15 + rsi*8]
mov qword [r13 + 0x10], rdi
lea rax, [rbx + r12*8]
mov qword [r13 + 8], rax
jmp 0x14009fe84
sub rax, r15
mov rcx, rax
sar rcx, 2
test rax, rax
mov esi, 1
cmovne rsi, rcx
mov rax, rsi
shr rax, 0x3d
jne 0x14009fe9f
mov r12, rsi
shr r12, 2
lea rcx, [rsi*8]
call fcn.140147c20
lea r11, [rax + r12*8]
mov r9, r11
lea r8, [rax + rsi*8]
sub rdi, rbx
je 0x14009fe5e
lea r10, [rdi - 8]
mov ecx, r10d
shr ecx, 3
add ecx, 1
and rcx, 7
je 0x14009fdc8
neg rcx
mov rdx, r9
nop word cs:[rax + rax]
mov rsi, qword [rbx]
mov qword [rdx], rsi
add rdx, 8
add rbx, 8
inc rcx
jne 0x14009fdb0
mov rcx, rdx
jmp 0x14009fdce
mov rdx, r9
mov rcx, r9
add r11, rdi
cmp r10, 0x38
jb 0x14009fe5a
sar rdi, 3
shl r12, 3
lea rsi, [r12 + rdi*8]
sub rsi, rdx
mov r15, rax
add r15, rsi
lea r10, [rdx + 0x40]
xor esi, esi
nop word cs:[rax + rax]
mov rdi, qword [rbx + rsi]
mov qword [rcx], rdi
mov rcx, qword [rbx + rsi + 8]
mov qword [rdx + rsi + 8], rcx
mov rcx, qword [rbx + rsi + 0x10]
mov qword [rdx + rsi + 0x10], rcx
mov rcx, qword [rbx + rsi + 0x18]
mov qword [rdx + rsi + 0x18], rcx
mov rcx, qword [rbx + rsi + 0x20]
mov qword [rdx + rsi + 0x20], rcx
mov rcx, qword [rbx + rsi + 0x28]
mov qword [rdx + rsi + 0x28], rcx
mov rcx, qword [rbx + rsi + 0x30]
mov qword [rdx + rsi + 0x30], rcx
mov rcx, qword [rbx + rsi + 0x38]
mov qword [rdx + rsi + 0x38], rcx
lea rcx, [r10 + rsi]
add rsi, 0x40
cmp r15, rsi
jne 0x14009fe00
mov r15, qword [r13]
mov qword [r13], rax
mov qword [r13 + 8], r9
mov qword [r13 + 0x10], r11
mov qword [r13 + 0x18], r8
test r15, r15
je 0x14009fe81
mov rcx, r15
call fcn.140147c5c
mov rdi, qword [r13 + 0x10]
jmp 0x14009fe84
mov rdi, r11
mov rax, qword [r14]
mov qword [rdi], rax
add qword [r13 + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14015acbc
int3
Function at 0x1400a5d71
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r12, r8
mov ebx, edx
mov edi, ecx
mov rax, qword [0x1401b6b28]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx eax, byte [r8 + 0x17]
test al, al
jns 0x1400a5da5
mov rax, qword [r12 + 8]
test rax, rax
je 0x1400a5dd4
bt ebx, 8
jae 0x1400a5db9
mov eax, ebx
and eax, 0x200
jne 0x1400a5dd4
cmp edi, 2
lea rax, [0x1401bd130]
lea rcx, [0x1401bd330]
cmove rcx, rax
cmp word [rcx], 0
je 0x1400a5df3
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140147fd0
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xorps xmm0, xmm0
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsi], 0
je 0x1400a5dd4
cmp byte [0x1401bd120], 0
setne al
bt ebx, 8
jb 0x1400a5dd4
shr ebx, 9
and ebx, 1
or bl, al
je 0x1400a5dd4
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea rsi, str.SOFTWARE
cmove rsi, rax
movzx ebp, byte [r12 + 0x17]
test bpl, bpl
js 0x1400a5e54
mov rdi, r12
jmp 0x1400a5e5d
mov rdi, qword [r12]
mov rbp, qword [r12 + 8]
mov r14d, 1
xor r15d, r15d
xor eax, eax
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x2c], 0
mov rbx, qword [rsi + 8]
mov r13, rbp
sub r13, rbx
jb 0x1400a5e9a
mov rdx, qword [rsi]
mov rcx, rdi
mov r8, rbx
call fcn.14015d070
test eax, eax
je 0x1400a5ea8
add rsi, 0x28
inc r15
cmp r15, r14
jb 0x1400a5e7c
jmp 0x1400a5f1a
movzx edx, word [rdi + rbx*2]
cmp dx, 0x5c
je 0x1400a5eb7
test dx, dx
jne 0x1400a5e9a
lea rax, [rdi + rbx*2]
mov ebp, dword [rsi + 0x10]
lea rcx, str.WOW6432Node_
cmp ebp, 1
je 0x1400a5ee5
cmp ebp, 2
jne 0x1400a5edb
mov rdi, rax
lea rcx, str.WOW6432Node
jmp 0x1400a5ee5
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
cmp dx, 0x5c
mov dword [rsp + 0x2c], ebp
jne 0x1400a5efd
dec r13
cmp word [rax + 2], 0x5c
lea rax, [rax + 2]
je 0x1400a5eef
mov r14, qword [rsi + 0x20]
mov rsi, qword [rsi + 0x18]
mov rbp, r13
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rcx
xor r15d, r15d
mov rdi, rax
jmp 0x1400a5ea1
cmp dword [rsp + 0x2c], 0
je 0x1400a5dd4
cmp byte [r12 + 0x17], 0
js 0x1400a5f32
mov rax, r12
jmp 0x1400a5f36
mov rax, qword [r12]
mov rdx, qword [rsp + 0x30]
sub rdx, rax
sar rdx, 1
mov rcx, r12
mov r8, qword [rsp + 0x38]
call fcn.14002b38e
jmp 0x1400a5dd4
Function at 0x1400a6a70
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401b6b28]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x40], xmm0
lea rbx, [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400521d0
cmp byte [rsp + 0x67], 0
jns 0x1400a6ab5
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebp, eax
cmp byte [rsp + 0x67], 0
js 0x1400a6b5e
test ebp, ebp
je 0x1400a6b70
mov r14b, 1
test rsi, rsi
je 0x1400a6bd7
mov ecx, ebp
add rcx, rcx
call fcn.140147c9c
mov rbx, rax
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x30], xmm0
lea rdi, [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400521d0
cmp byte [rsp + 0x67], 0
jns 0x1400a6b17
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
mov rdx, rbx
mov r8d, ebp
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x67], 0
jns 0x1400a6b37
mov rcx, qword [rsp + 0x50]
call fcn.140147c5c
mov qword [rsp + 0x20], rbx
cmp word [rbx], 0
je 0x1400a6b75
xor eax, eax
nop word cs:[rax + rax]
nop
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x1400a6b50
jmp 0x1400a6b77
mov rcx, qword [rsp + 0x50]
call fcn.140147c5c
test ebp, ebp
jne 0x1400a6ad8
xor r14d, r14d
jmp 0x1400a6bd7
xor eax, eax
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x20]
call fcn.140052740
cmp byte [rsi + 0x17], 0
js 0x1400a6b9a
mov byte [rsi], 0
mov byte [rsi + 0x17], 0
jmp 0x1400a6bbe
mov rax, qword [rsi]
mov byte [rax], 0
mov qword [rsi + 8], 0
cmp byte [rsi + 0x17], 0
jns 0x1400a6bbe
mov rcx, qword [rsi]
call fcn.140147c5c
mov qword [rsi + 0x10], 0
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.140147ca4
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140147fd0
mov eax, r14d
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x1400ad906
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov r14, r8
mov r15, rdx
mov rdi, rcx
lea rbx, [rcx + 0x38]
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x1400ad934
mov qword [rbx], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rsi, [rdi + 0x30]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x1400ad94e
mov qword [rsi], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x20], rsi
lea rcx, [0x14018f8d8]
lea r9, [0x140189400]
xor edx, edx
mov r8d, 0x17
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [rsi]
test eax, eax
js 0x1400ad9a4
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x90]
test eax, eax
js 0x1400ad9b2
mov rcx, rdi
mov rdx, r15
call fcn.14002aa2a
add rdi, 0x18
mov rcx, rdi
mov rdx, r14
call fcn.140043db0
mov al, 1
jmp 0x1400ad9c9
test rcx, rcx
je 0x1400ad9c7
mov qword [rsi], 0
jmp 0x1400ad9c1
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400ad9c7
mov qword [rbx], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400b3694
Capabilities:
Check os version
Create pipe

Disassembly:
push rsi
push rbx
sub rsp, 0x68
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x1401b6b28]
xor rax, rsp
mov qword [rsp + 0x60], rax
test dl, dl
je 0x1400b36e8
call qword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xfe
cmp eax, 6
jb 0x1400b36e8
xorps xmm0, xmm0
lea rax, [rsp + 0x40]
movaps xmmword [rax], xmm0
mov qword [rax + 0x10], 1
mov dword [rax], 0x18
lea rcx, [0x140189d74]
mov qword [rax + 8], rcx
jmp 0x1400b36ea
xor eax, eax
movzx edx, bl
shl edx, 0x13
or edx, 3
cmp byte [rsi + 0x17], 0
jns 0x1400b36fc
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rax
mov eax, 0x200
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 0
mov rcx, rsi
mov r8d, 6
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rsi, rax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140147fd0
mov rax, rsi
add rsp, 0x68
pop rbx
pop rsi
ret

Function at 0x1400b3748
Capabilities:
Check os version

Disassembly:
push rsi
sub rsp, 0x170
mov rsi, rcx
mov rax, qword [0x1401b6b28]
xor rax, rsp
mov qword [rsp + 0x168], rax
call qword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
and ecx, 0xfe
cmp ecx, 6
jb 0x1400b3821
and eax, 0xfeff
cmp eax, 6
je 0x1400b3821
mov eax, dword [0x1401bd7b8]
mov ecx, dword [0x1401bc798]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400b3848
mov rcx, rsi
xor edx, edx
mov r8d, 0x10000000
call qword [0x1401bd7b0]
mov sil, 1
test eax, eax
jne 0x1400b382d
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x1400b381d
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_critical_section_with_debug_info.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x21
mov r9d, 2
call fcn.140048f30
lea rcx, [rsp + 0x38]
lea rdx, [0x140189e13]
mov r8d, 0x1b
call fcn.140006489
mov rcx, rsi
call fcn.140049000
xor esi, esi
jmp 0x1400b382d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov sil, 1
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140147fd0
mov eax, esi
add rsp, 0x170
pop rsi
ret
lea rcx, [0x1401bd7b8]
call fcn.140147d80
cmp dword [0x1401bd7b8], 0xffffffff
jne 0x1400b37af
lea rcx, [0x14017ac96]
lea rdx, str.::InitializeCriticalSectionEx
mov r8b, 1
call fcn.1400b3e1c
mov qword [0x1401bd7b0], rax
lea rcx, [0x1401bd7b8]
call fcn.140147e18
jmp 0x1400b37af
Function at 0x1400b4a4a
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1401b6b28]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x1401bd7c8]
mov ecx, dword [0x1401bc798]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400b4cab
mov rax, qword [0x1401bd7c0]
test rax, rax
je 0x1400b4b2b
lea rdx, [rsp + 0x174]
mov rcx, rdi
call rax
test eax, eax
je 0x1400b4ad5
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x1400b4b32
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x1400b4b55
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x1400b4b2b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x4b
mov r9d, 2
call fcn.140048f30
lea rcx, [rsp + 0x40]
lea rdx, [0x140186a30]
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.140006489
mov rcx, rbx
call fcn.140049000
mov byte [rsi + 0x81], 0
lea rbx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rbx], 9
sete byte [rsi + 0x80]
cmp byte [rsi + 0x81], 0
setne dl
lea rax, [rsi + 0x30]
lea r9, [rsi + 0x28]
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov r8, rsi
call fcn.1400b4cf2
test al, al
je 0x1400b4b8b
cmp byte [rsi + 0x80], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
je 0x1400b4bd4
call fcn.1400b4ef5
jmp 0x1400b4bd9
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x1400b4c8c
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x21e
mov r9d, 2
call fcn.140048290
lea rcx, [rsp + 0x38]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
jmp 0x1400b4c7f
call fcn.1400b55c9
test al, al
je 0x1400b4c3f
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.1400b3e78
mov sil, 1
test al, al
jne 0x1400b4c8e
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x1400b4c8c
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22c
mov r9d, 2
call fcn.140048290
lea rcx, [rsp + 0x38]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x1400b4c7f
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x1400b4c8c
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x227
mov r9d, 2
call fcn.140048290
lea rcx, [rsp + 0x38]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
call fcn.140006489
mov rcx, rsi
call fcn.1400486f0
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140147fd0
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401bd7c8]
call fcn.140147d80
cmp dword [0x1401bd7c8], 0xffffffff
jne 0x1400b4a95
lea rcx, [0x14017ac96]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.1400b3e1c
mov qword [0x1401bd7c0], rax
lea rcx, [0x1401bd7c8]
call fcn.140147e18
jmp 0x1400b4a95
Function at 0x1400b98ff
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 [0x1401b6b28]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, 0xffffffff
cmp r8, rax
mov ebx, 0xffffffff
cmovb ebx, r8d
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x2c]
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400b998f
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
jne 0x1400b99a3
mov rcx, rdi
call r15
cmp eax, 3
jne 0x1400b99c8
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
mov r9, r14
call r12
test eax, eax
jne 0x1400b9960
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x1400b99aa
cmp eax, 0xffffffff
je 0x1400b99ce
mov esi, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140147fd0
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov eax, dword [rsp + 0x2c]
jmp 0x1400b99a8
int3

Function at 0x1400b9fdf
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rdi, rcx
mov rax, qword [0x1401b6b28]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor esi, esi
xor edx, edx
xor r8d, r8d
call fcn.1400b9f1b
test rax, rax
jne 0x1400ba076
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
jne 0x1400ba076
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x1400ba074
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0xf3
mov r9d, 2
call fcn.140048f30
lea rcx, [rsp + 0x40]
lea rdx, [0x14018b55e]
mov r8d, ntohl
call fcn.140006489
mov rcx, rsi
call fcn.140049000
xor esi, esi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140147fd0
mov eax, esi
add rsp, 0x178
pop rdi
pop rsi
ret

Function at 0x1400ba490
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x1400ba4d2
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
nop word [rax + rax]
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1400ba4dc
add rdi, rbx
sub rsi, rbx
jne 0x1400ba4b0
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3

Function at 0x1400bec00
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1401b7e88]
cmp ecx, 0xffffffff
je 0x1400bec23
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
add eax, 0xffffffff
cmp eax, 2
setb al
jmp 0x1400bec25
xor eax, eax
add rsp, 0x28
ret