joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400185c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [r9 - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [r10 - 1]
vmovups xmm15, xmmword [r9 - 0x70]
lea r12, [r9 - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x1400186e0
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x140018620
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x140018620
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rcx]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rcx + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rcx + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rcx + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rcx + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rcx + 0x50]
lea rcx, [rcx + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rdx], xmm9
vmovups xmmword [rdx + 0x10], xmm10
vmovups xmmword [rdx + 0x20], xmm11
vmovups xmmword [rdx + 0x30], xmm12
vmovups xmmword [rdx + 0x40], xmm13
vmovups xmmword [rdx + 0x50], xmm14
lea rdx, [rdx + 0x60]
repz ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x140018620
Function at 0x140040882
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x1403ac028]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
movdqa xmm0, xmmword [0x14026fe30]
movdqa xmmword [rax], xmm0
movdqa xmmword [rax - 0x10], xmm0
mov r8, qword [rdx]
mov ecx, 0x38
lea r9, str.000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
mov r10, r8
shr r10, cl
movzx r10d, r10b
movzx r10d, word [r9 + r10*2]
mov word [rax], r10w
add rcx, 0xfffffffffffffff8
add rax, 2
cmp rcx, 0xfffffffffffffff8
jne 0x1400408bf
lea rax, [rsp + 0x60]
or r8, 1
bsr rcx, r8
xor ecx, 0x3c
shr ecx, 2
mov r8d, reloc.WS2_32.dll_recv
sub r8d, ecx
movzx r9d, byte [rdx + 8]
cmp r8, r9
jae 0x14004093f
movzx ecx, byte [rdx + 9]
movd xmm0, ecx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
movdqa xmmword [rsp + 0x40], xmm0
neg r8
movdqu xmmword [rax + r8 - 0x10], xmm0
sub rax, r9
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov rdx, rax
mov r8, r9
jmp 0x14004094d
sub rax, r8
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov rdx, rax
call fcn.14003db1a
mov rcx, rsi
mov rdx, rdi
call fcn.14004047c
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140203460
nop
add rsp, 0x68
pop rdi
pop rsi
ret

Function at 0x1400420b8
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov edi, edx
mov rsi, rcx
mov rax, qword [0x1403ac028]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor ebx, ebx
xor edx, edx
call fcn.14003faec
mov dword [rsi + 0x120], ebx
mov dword [rsi + 0x124], edi
movaps xmm0, xmmword [0x14026fe30]
lea rdi, [rsp + 0x20]
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rdi + 4]
mov ecx, dword [rdi + 0x28]
cmp eax, ecx
cmova ecx, eax
mov qword [rsi + 0x128], rcx
mov qword [rsi + 0x130], 0x20
mov qword [rsi + 0x138], 0x40
mov dword [rsi + 0x140], ebx
lea rax, [rsi + 8]
mov qword [rsi + 8], 0
xor rax, 0xffffffffb37cc16a
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rsi
mov dword [rsi + 0x28], ebx
lea rcx, [rsi + 0x30]
mov r8d, 0xf0
xor edx, edx
call fcn.1402055c0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140203460
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
Function at 0x140042b71
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rsi
rdtsc
mov r11, qword [0x1403ace80]
mov rcx, qword [0x1403ace90]
mov r9, qword [0x1403ace98]
mov r8, qword [0x1403acea0]
mov r10, qword [0x1403acea8]
mov rsi, qword [0x1403ace80]
test r11b, 1
jne 0x140042bc8
cmp r11, rsi
jne 0x140042bc8
shl rdx, 0x20
or rdx, rax
sub rdx, r9
cmp rdx, r10
jae 0x140042bc8
imul rdx, r8
shr rdx, 0x1e
add rdx, rcx
mov rax, rdx
pop rsi
ret
pop rsi
jmp fcn.14024490b
Function at 0x1400440af
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov qword [rsp + 0x28], r8
mov rsi, rcx
mov r13, qword [rcx]
mov rbp, qword [rcx + 8]
mov r12, qword [rcx + 0x18]
lea rax, [r12 + r13]
test r12, r12
jle 0x14004410f
movdqa xmm0, xmmword [0x140277e10]
movdqa xmm1, xmmword [0x140277e20]
mov rcx, r13
movdqu xmm2, xmmword [rcx]
pxor xmm3, xmm3
pcmpgtb xmm3, xmm2
pand xmm3, xmm0
pxor xmm3, xmm1
movdqu xmmword [rcx], xmm3
add rcx, 0x10
cmp rcx, rax
jb 0x1400440ee
mov rcx, qword [r13]
mov r8, qword [r13 + 7]
mov qword [rax + 8], r8
mov qword [rax + 1], rcx
mov byte [r13 + r12], 0xff
test r12, r12
je 0x1400442b6
mov r14, qword [rdx]
mov rbx, qword [rdx + 8]
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x20], rax
xor edi, edi
mov r15, rbp
cmp byte [r13 + rdi], 0xfe
jne 0x1400441f6
mov rcx, rsi
mov rdx, r15
mov rax, rbx
call qword [case.0x1400f45b0.0]
mov rcx, qword [rsi]
mov rdx, qword [rsi + 0x18]
mov r9, rax
shr r9, 7
mov r8, rcx
shr r8, 0xc
xor r8, r9
and r8, rdx
movdqu xmm0, xmmword [rcx + r8]
pcmpeqd xmm1, xmm1
pcmpgtb xmm1, xmm0
pmovmskb r9d, xmm1
mov r10, r8
test r9d, r9d
jne 0x1400441bf
mov r11d, reloc.WS2_32.dll_recv
mov r10, r8
add r10, r11
and r10, rdx
movdqu xmm0, xmmword [rcx + r10]
pcmpeqd xmm1, xmm1
pcmpgtb xmm1, xmm0
pmovmskb r9d, xmm1
add r11, 0x10
test r9d, r9d
je 0x14004419d
bsf r9d, r9d
add r9, r10
and r9, rdx
mov r10, r9
sub r10, r8
mov r11, rdi
sub r11, r8
xor r11, r10
and r11, r12
cmp r11, 0xf
ja 0x14004420a
and al, 0x7f
mov byte [rcx + rdi], al
lea r8, [rdi - 0xf]
and r8, rdx
and edx, 0xf
add rdx, r8
mov byte [rcx + rdx], al
inc rdi
add r15, r14
cmp rdi, r12
jne 0x140044143
jmp 0x1400442b6
mov r10, r9
imul r10, r14
add r10, rbp
and al, 0x7f
lea r8, [r9 - 0xf]
and r8, rdx
and edx, 0xf
add rdx, r8
cmp byte [r13 + r9], 0x80
mov byte [rcx + r9], al
mov byte [rcx + rdx], al
mov rcx, rsi
jne 0x140044267
mov rdx, r10
mov r8, r15
mov rax, qword [rsp + 0x20]
call qword [case.0x1400f45b0.0]
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x18]
mov r8b, 0x80
mov byte [rax + rdi], r8b
lea rdx, [rdi - 0xf]
and rdx, rcx
and ecx, 0xf
add rcx, rdx
mov byte [rax + rcx], r8b
jmp 0x1400441f6
mov rdx, qword [rsp + 0x28]
mov r8, r10
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], r10
call qword [case.0x1400f45b0.0]
mov rcx, rsi
mov rdx, qword [rsp + 0x30]
mov r8, r15
mov rax, qword [rsp + 0x20]
call qword [case.0x1400f45b0.0]
mov rcx, rsi
mov rdx, r15
mov r8, qword [rsp + 0x28]
mov rax, qword [rsp + 0x20]
call qword [case.0x1400f45b0.0]
dec rdi
sub r15, r14
jmp 0x1400441f6
mov rax, qword [rsi + 0x18]
mov rcx, rax
shr rcx, 3
add rcx, qword [rsi + 0x10]
sub rax, rcx
mov qword [rsi + 0x20], rax
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14004eed0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov qword [rcx], 0
mov rbx, qword [rdx]
mov qword [rdx], 0
lea r14, [rbx + 1]
cmp r14, 2
jae 0x14004eefe
cmp qword [rsi], rbx
jne 0x14004ef08
jmp 0x14004ef2a
call fcn.14011dc90
cmp qword [rsi], rbx
je 0x14004ef2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14004ef37
cmp r14, 2
jae 0x14004ef51
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.14011dc90
mov rcx, qword [rsi]
call fcn.1400f41d0
mov qword [rsi], 0
cmp r14, 2
jb 0x14004ef22
mov qword [rsi], rbx
call fcn.14011dc90
jmp 0x14004ef22

Function at 0x140063090
Capabilities:
Access peb ldr_data

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
movaps xmmword [rsp + 0x20], xmm6
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov rsi, rcx
movzx ebp, byte [rsp + 0x80]
xor edx, edx
call fcn.140061760
lea rax, [0x1402744b8]
mov qword [rsi], rax
lea rax, [0x140273410]
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], r14
lea rcx, [rsi + 0x20]
mov rdx, rdi
call fcn.1400f80c0
xorps xmm6, xmm6
movups xmmword [rsi + 0x30], xmm6
mov dword [rsi + 0x3f], 0
mov byte [rsi + 0x43], bpl
lea rcx, [rsi + 0x48]
mov rdx, rbx
call fcn.1401434fa
lea rcx, [rsi + 0x58]
call fcn.140057430
movups xmmword [rsi + 0x60], xmm6
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x80], 0
mov eax, dword [0x1403c0838]
mov ecx, dword [0x1403bcfc0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14006318c
mov rax, qword [0x1403c0830]
mov qword [rsi + 0x88], rax
test rax, rax
je 0x14006315f
mov ecx, 1
lock xadd dword [rax + 8], ecx
cmp ecx, 0x7fffffff
je 0x1400631ba
xorps xmm0, xmm0
movups xmmword [rsi + 0x90], xmm0
mov rcx, rbx
call fcn.140143524
mov rcx, rdi
call fcn.140055c40
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1403c0838]
call fcn.1402021ec
cmp dword [0x1403c0838], 0xffffffff
jne 0x14006313a
mov qword [0x1403c0830], 0
lea rcx, [0x1403c0838]
call fcn.1402022a0
jmp 0x14006313a
int3
Function at 0x1400786c0
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
lea rdx, [0x140279043]
call fcn.1401380b0
lea rax, fcn.140079a50
mov qword [rsi], rax
mov qword [rsi + 0x10], rbx
and dil, 1
xorps xmm0, xmm0
movups xmmword [rsi + 0x18], xmm0
movups xmmword [rsi + 0x28], xmm0
mov byte [rsi + 0x38], dil
mov word [rsi + 0x39], 0
movups xmmword [rsi + 0x40], xmm0
movups xmmword [rsi + 0x50], xmm0
movups xmmword [rsi + 0x60], xmm0
mov qword [rsi + 0x70], 0
movups xmm0, xmmword [0x140289c28]
movups xmmword [rsi + 0x78], xmm0
mov eax, dword [0x1403c0858]
mov ecx, dword [0x1403bcfc0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140078755
lock inc dword [0x1403c084c]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1403c0858]
call fcn.1402021ec
cmp dword [0x1403c0858], 0xffffffff
jne 0x140078743
lea rax, [0x140272ef8]
mov qword [0x1403c0850], rax
lea rdi, [0x1403c0850]
call fcn.1400f1bb0
lea r8, str.MojoMessages
mov rcx, rax
mov rdx, rdi
xor r9d, r9d
call fcn.1400f1d30
lea rcx, [0x1403c0858]
call fcn.1402022a0
jmp 0x140078743

Function at 0x140079220
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
movaps xmmword [rsp + 0x20], xmm6
mov rbx, r9
mov rdi, r8
mov r14, rdx
mov rsi, rcx
mov r15, qword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0x80]
lea rdx, [0x140279043]
call fcn.1401380b0
lea rax, fcn.140079a50
mov qword [rsi], rax
mov qword [rsi + 0x10], r14
xorps xmm0, xmm0
movups xmmword [rsi + 0x18], xmm0
mov qword [rsi + 0x28], 0
mov rax, qword [rdi]
mov qword [rdi], 0
mov qword [rsi + 0x30], rax
mov word [rsi + 0x38], 0x100
mov byte [rsi + 0x3a], 1
mov qword [rsi + 0x40], rbx
movups xmmword [rsi + 0x48], xmm6
mov qword [rsi + 0x58], r15
movups xmmword [rsi + 0x60], xmm0
mov qword [rsi + 0x70], 0
movups xmm0, xmmword [0x140289c28]
movups xmmword [rsi + 0x78], xmm0
mov eax, dword [0x1403c0858]
mov ecx, dword [0x1403bcfc0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007930c
lock inc dword [0x1403c084c]
mov rcx, qword [rdi]
mov qword [rdi], 0
test rcx, rcx
je 0x1400792f8
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [case.0x1400f45b0.0]
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [0x1403c0858]
call fcn.1402021ec
cmp dword [0x1403c0858], 0xffffffff
jne 0x1400792d1
lea rax, [0x140272ef8]
mov qword [0x1403c0850], rax
lea rbx, [0x1403c0850]
call fcn.1400f1bb0
lea r8, str.MojoMessages
mov rcx, rax
mov rdx, rbx
xor r9d, r9d
call fcn.1400f1d30
lea rcx, [0x1403c0858]
call fcn.1402022a0
jmp 0x1400792d1
Function at 0x14007d9c0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x288
mov edi, r8d
mov rax, rdx
mov rsi, rcx
mov rcx, qword [0x1403ac028]
xor rcx, rsp
mov qword [rsp + 0x280], rcx
movaps xmm0, xmmword [0x14026fe30]
movaps xmmword [rsp + 0x270], xmm0
movaps xmmword [rsp + 0x260], xmm0
movaps xmmword [rsp + 0x250], xmm0
movaps xmmword [rsp + 0x240], xmm0
movaps xmmword [rsp + 0x230], xmm0
movaps xmmword [rsp + 0x220], xmm0
movaps xmmword [rsp + 0x210], xmm0
movaps xmmword [rsp + 0x200], xmm0
movaps xmmword [rsp + 0x1f0], xmm0
movaps xmmword [rsp + 0x1e0], xmm0
movaps xmmword [rsp + 0x1d0], xmm0
movaps xmmword [rsp + 0x1c0], xmm0
movaps xmmword [rsp + 0x1b0], xmm0
movaps xmmword [rsp + 0x1a0], xmm0
movaps xmmword [rsp + 0x190], xmm0
movaps xmmword [rsp + 0x180], xmm0
mov dword [rsp + 0x17c], 0
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x180]
lea r9, [rsp + 0x17c]
mov rcx, rax
mov r8d, 0x100
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14007db10
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x30], rax
mov r8d, dword [rsp + 0x17c]
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x180]
xor r9d, r9d
call fcn.14004a020
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14007db88
call fcn.14004a780
cmp rax, 7
jbe 0x14007db88
mov rcx, qword [rsp + 0x30]
call fcn.14004a710
cmp dword [rax], edi
jne 0x14007dbf2
mov rax, qword [rsp + 0x30]
mov qword [rsi], rax
jmp 0x14007db6d
mov ecx, 2
call fcn.140038580
test al, al
je 0x14007db66
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....mojocore_broker_win.cc
lea rdi, [rsp + 0x38]
mov rcx, rdi
mov r8d, 0x38
mov r9d, 2
call fcn.14011c1f0
lea rcx, [rsp + 0x48]
lea rdx, str.Error_reading_broker_pipe
mov r8d, 0x19
call fcn.14003e8f6
mov rcx, rdi
call fcn.14011c2e0
mov qword [rsi], 0
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140203460
nop
add rsp, 0x288
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140038580
test al, al
je 0x14007dbd5
lea rdx, str.....mojocore_broker_win.cc
lea rsi, [rsp + 0x38]
mov rcx, rsi
mov r8d, 0x40
mov r9d, 2
call fcn.14011b350
lea rcx, [rsp + 0x48]
lea rdx, str.Invalid_broker_message
mov r8d, reloc.WS2_32.dll_shutdown
call fcn.14003e8f6
mov rcx, rsi
call fcn.14011b830
lea rcx, [rsp + 0x180]
call sym.nacl64.exe__ovly_debug_event
lea rcx, [rsp + 0x17c]
call sym.nacl64.exe__ovly_debug_event
int3
mov ecx, 2
call fcn.140038580
test al, al
je 0x14007dc3f
lea rdx, str.....mojocore_broker_win.cc
lea rsi, [rsp + 0x38]
mov rcx, rsi
mov r8d, 0x4b
mov r9d, 2
call fcn.14011b350
lea rcx, [rsp + 0x48]
lea rdx, str.Unexpected_broker_message_type
mov r8d, 0x1e
call fcn.14003e8f6
mov rcx, rsi
call fcn.14011b830
lea rcx, [rsp + 0x180]
call sym.nacl64.exe__ovly_debug_event
lea rcx, [rsp + 0x17c]
call sym.nacl64.exe__ovly_debug_event
int3
Function at 0x14007e370
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
jae 0x14007e397
cmp qword [rsi], rbx
jne 0x14007e3a1
jmp 0x14007e3c3
call fcn.14011dc90
cmp qword [rsi], rbx
je 0x14007e3c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14007e3d0
cmp r14, 2
jae 0x14007e3ea
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.14011dc90
mov rcx, qword [rsi]
call fcn.1400f41d0
mov qword [rsi], 0
cmp r14, 2
jb 0x14007e3bb
mov qword [rsi], rbx
call fcn.14011dc90
jmp 0x14007e3bb

Function at 0x14007f150
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1403ac028]
xor rax, rsp
mov qword [rsp + 0x50], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [0x14026fe30]
movaps xmmword [rsp + 0x30], xmm0
mov rax, qword [rdx]
mov rax, qword [rax + 0x38]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [case.0x1400f45b0.0]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
cmp rbx, r14
je 0x14007f1c1
nop dword [rax]
mov rcx, rbx
call fcn.140075630
add rbx, 0x28
cmp rbx, r14
jne 0x14007f1b0
lea r14, [rsi + 0xd0]
mov ebx, dword [rdi + 8]
mov rax, qword [rdi]
mov rax, qword [rax + 0x10]
mov rcx, rdi
call qword [case.0x1400f45b0.0]
mov rcx, qword [rsi + 0x90]
mov qword [rsp + 0x20], r14
mov rdx, rax
mov r8d, ebx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14007f207
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14007f279
mov byte [rsi + 0x112], 1
mov eax, 1
lock xadd dword [rsi + 8], eax
mov sil, 1
cmp eax, 0x7fffffff
je 0x14007f27d
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14007f260
mov rdi, qword [rsp + 0x38]
mov rcx, rbx
cmp rdi, rbx
je 0x14007f256
nop dword [rax]
add rdi, 0xffffffffffffffd8
mov rcx, rdi
call fcn.140075580
cmp rdi, rbx
jne 0x14007f240
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rbx
call fcn.1402021a8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140203460
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
xor esi, esi
jmp 0x14007f222
int3
Function at 0x1400a727c
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x1400a72c0
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call fcn.140055c40
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400a72b0
mov qword [rdi], rsi
call fcn.14011dc90
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400b1923
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov edi, r8d
mov ebp, edx
mov r8, rcx
mov rax, qword [0x1403ac028]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, qword [rcx + 0xc8]
mov dword [rsp + 0x20], edi
lea rdx, str.Entered_NaClSysSysconf__08I64xx___d__0x_08I32x__n
mov ecx, 3
mov r9d, ebp
call fcn.14014fd13
mov ebx, 0xffffffea
cmp ebp, 0xffffff
jg 0x1400b19b6
cmp ebp, 1
je 0x1400b19da
cmp ebp, 2
je 0x1400b1a0f
cmp ebp, 0x10000
jne 0x1400b1a60
cmp dword [rsi + 0x620], 0
jne 0x1400b1a60
mov rax, qword [rsi + 0x600]
movsx ecx, byte [rax + 0x25]
movsx edx, byte [rax + 0x1c]
add edx, edx
or edx, ecx
movsx eax, byte [rax + 4]
shl eax, 2
or eax, edx
jmp 0x1400b1a3b
cmp ebp, 0x1000000
je 0x1400b1a19
cmp ebp, 0x1000001
je 0x1400b1a35
cmp ebp, 0x1000002
jne 0x1400b1a60
mov eax, dword [rsi + 0x620]
jmp 0x1400b1a3b
mov eax, dword [0x1403d8ae0]
test eax, eax
jne 0x1400b1a3b
movaps xmm0, xmmword [0x14026fe30]
lea rbx, [rsp + 0x30]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbx + 0x20]
mov dword [0x1403d8ae0], eax
jmp 0x1400b1a3b
mov dword [rsp + 0x30], 0x10000
jmp 0x1400b1a3f
cmp dword [0x1403d8ac8], 0
setne al
cmp qword [0x1403d8ad0], 0
setne cl
or cl, al
movzx eax, cl
jmp 0x1400b1a3b
mov eax, dword [rsi + 0x61c]
mov dword [rsp + 0x30], eax
mov edx, edi
lea r8, [rsp + 0x30]
mov r9d, 4
mov rcx, rsi
call fcn.1400b0394
xor ecx, ecx
test eax, eax
mov ebx, 0xfffffff2
cmovne ebx, ecx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140203460
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x1400be6b6
Capabilities:
Suspend thread

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r14, r9
mov rsi, rdx
mov rbx, rcx
mov rax, qword [0x1403ac028]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, dword [r9 + 0x70c]
inc ecx
lea rax, [rsp + 0x44]
mov dword [rax], ecx
lea rdx, [r8 + 0x70c]
mov r9d, 4
mov rcx, rbx
mov r8, rax
call fcn.1400be7c0
xor edi, edi
test eax, eax
je 0x1400be7a5
mov rdx, qword [rsp + 0xa0]
add rdx, 0x100
lea r8, [rsp + 0xa8]
mov r9d, 4
mov rcx, rbx
call fcn.1400be7c0
test eax, eax
je 0x1400be7a5
cmp qword [r14 + 0x710], 0xffffffffffffffff
je 0x1400be7a5
mov r15, qword [rsp + 0xb0]
mov rcx, qword [r15]
cmp rcx, 0xffffffffffffffff
jne 0x1400be784
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [r14 + 0x710]
xor edi, edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 2
mov rcx, rbx
mov r8, rax
mov r9, r15
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1400be7a5
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edi, 0
test eax, eax
je 0x1400be7a5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
xor edi, edi
cmp eax, 0xffffffff
setne dil
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140203460
mov eax, edi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret