joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010a1c0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x88
movdqa xmmword [rsp + 0x70], xmm13
movdqa xmmword [rsp + 0x60], xmm12
movdqa xmmword [rsp + 0x50], xmm11
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
movdqu xmm0, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm4, r8d
pxor xmm4, xmm0
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x40
jb 0x14010a2f5
movabs rax, 0x154442bd4
movq xmm9, rax
movdqa xmm8, xmmword [0x1401f5070]
nop word cs:[rax + rax]
movdqa xmm6, xmm4
pclmulqdq xmm6, xmm9, 0
movdqa xmm12, xmm3
pclmulqdq xmm12, xmm9, 0
movdqa xmm11, xmm2
pclmulqdq xmm11, xmm9, 0
movdqa xmm10, xmm1
pclmulqdq xmm10, xmm9, 0
movdqa xmm0, xmm4
pclmulqdq xmm0, xmm8, 0x11
movdqa xmm5, xmm3
pclmulqdq xmm5, xmm8, 0x11
movdqa xmm7, xmm2
pclmulqdq xmm7, xmm8, 0x11
movdqa xmm13, xmm1
pclmulqdq xmm13, xmm8, 0x11
movdqu xmm4, xmmword [rcx]
pxor xmm4, xmm6
pxor xmm4, xmm0
movdqu xmm3, xmmword [rcx + 0x10]
pxor xmm3, xmm12
pxor xmm3, xmm5
movdqu xmm2, xmmword [rcx + 0x20]
pxor xmm2, xmm11
pxor xmm2, xmm7
movdqu xmm1, xmmword [rcx + 0x30]
pxor xmm1, xmm10
pxor xmm1, xmm13
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x3f
ja 0x14010a250
movabs rax, 0x1751997d0
movq xmm0, rax
movdqa xmm5, xmm4
pclmulqdq xmm5, xmm0, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x1401f5080]
pclmulqdq xmm4, xmm3, 0x11
pxor xmm4, xmm5
movdqa xmm5, xmm4
pclmulqdq xmm5, xmm0, 0
pxor xmm5, xmm2
pclmulqdq xmm4, xmm3, 0x11
pxor xmm4, xmm5
movdqa xmm2, xmm4
pclmulqdq xmm2, xmm0, 0
pxor xmm2, xmm1
pclmulqdq xmm4, xmm3, 0x11
pxor xmm4, xmm2
cmp rdx, 0x10
jb 0x14010a384
movdqu xmm1, xmmword [rcx]
movdqa xmm2, xmm4
pclmulqdq xmm2, xmm0, 0
pxor xmm2, xmm1
pclmulqdq xmm4, xmm3, 0x11
pxor xmm4, xmm2
add rcx, 0x10
add rdx, 0xfffffffffffffff0
cmp rdx, 0xf
ja 0x14010a35a
movdqa xmm0, xmmword [0x1401f5080]
pclmulqdq xmm0, xmm4, 1
psrldq xmm4, 8
pxor xmm4, xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
pblendw xmm1, xmm4, 3
psrldq xmm4, 4
movabs rax, 0x163cd6124
movq xmm2, rax
pclmulqdq xmm2, xmm1, 0
pxor xmm2, xmm4
pxor xmm1, xmm1
pblendw xmm1, xmm2, 3
pclmulqdq xmm1, xmmword [0x1401f5090], 0x10
pblendw xmm1, xmm0, 0xfc
movabs rax, 0x1db710641
movq xmm0, rax
pclmulqdq xmm0, xmm1, 0
pxor xmm0, xmm2
pextrd eax, xmm0, 1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
add rsp, 0x88
ret
Function at 0x14010dfc0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x14010dff8
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
mov rbx, rsi
cmp rsi, r14
jae 0x14010e005
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14010e002
add rdi, rbx
sub rsi, rbx
jne 0x14010dfda
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
mov ebx, 0xffffffff
jmp 0x14010dfe2

Function at 0x14010e4c0
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [0x140229f80]
cmp rbx, 1
jbe 0x14010e514
mov ecx, dword [0x14021aed0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14010e55a
movsxd rcx, dword [rbx]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rbx + 4]
movsxd rdx, dword [rbx]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x140229f80]
call fcn.1400f5aa0
test al, al
je 0x14010e566
mov qword [0x140229f88], 0
lea r14, [0x140229f80]
lea rbx, [0x140229f88]
mov rcx, rbx
xor edx, edx
call fcn.140012fc0
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
mov r9, r14
call fcn.140014c00
jmp 0x14010e4dc
test rdi, rdi
je 0x14010e507
call fcn.140013120
jmp 0x14010e4ee
mov rbx, qword [0x140229f80]
jmp 0x14010e4dc

Function at 0x14010e580
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x14021aed0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14010e5b4
movsxd rcx, dword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 4]
jne 0x14010e5b4
mov rax, qword [rax + rcx]
add rsp, 0x20
pop rsi
ret
xor eax, eax
jmp 0x14010e5ae
Function at 0x14010e7e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
test r8, r8
je 0x14010e8e0
mov r11, qword [rcx + 8]
movsxd rcx, dword [r11 + 0x3c]
cmp dword [r11 + rcx + 0x84], 0
je 0x14010e8e0
add rcx, r11
xor eax, eax
cmp word [rcx + 0x14], 0x78
jb 0x14010e908
add rcx, 0x88
je 0x14010e908
mov r10d, dword [rcx]
test r10, r10
je 0x14010e8e0
add r10, r11
je 0x14010e8e0
cmp rdx, 0xffff
jbe 0x14010e902
mov eax, dword [r10 + 0x18]
mov ecx, dword [r10 + 0x20]
lea r9, [r11 + rcx]
test rcx, rcx
cmove r9, rcx
lea rcx, [rax*4]
test rcx, rcx
je 0x14010e8e0
lea rax, [r9 + rax*4]
mov r14b, byte [rdx]
inc rdx
mov rsi, r9
mov rdi, rax
sub rdi, rsi
mov rcx, rdi
sar rcx, 2
shr rdi, 0x3f
add rdi, rcx
and rdi, 0xfffffffffffffffe
mov ecx, dword [rsi + rdi*2]
lea rbx, [r11 + rcx]
test rcx, rcx
cmove rbx, rcx
test r14b, r14b
je 0x14010e8b8
mov rcx, rdx
mov ebp, r14d
cmp bpl, byte [rbx]
jne 0x14010e8ba
inc rbx
mov bpl, byte [rcx]
inc rcx
test bpl, bpl
jne 0x14010e8a5
xor ebp, ebp
lea rdi, [rsi + rdi*2]
movzx ecx, bpl
movzx ebx, byte [rbx]
mov ebp, ecx
sub ebp, ebx
lea r15, [rdi + 4]
test ebp, ebp
cmovg rsi, r15
cmp ecx, ebx
cmovs rax, rdi
je 0x14010e8e4
cmp rsi, rax
jne 0x14010e874
xor eax, eax
jmp 0x14010e908
mov eax, dword [r10 + 0x24]
add r11, rax
test rax, rax
cmove r11, rax
sub rdi, r9
sar rdi, 1
movzx edx, word [r11 + rdi]
add dx, word [r10 + 0x10]
mov word [r8], dx
mov al, 1
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14010f940
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1402270d0]
mov ecx, dword [0x140222a94]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14010f9a1
mov rax, qword [0x1402270c8]
mov esi, dword [rax]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14011fe20
mov eax, esi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1402270d0]
call fcn.14011d638
cmp dword [0x1402270d0], 0xffffffff
jne 0x14010f97c
lea rsi, [rsp + 0x34]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140122050
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
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.14011d790
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140227118]
mov ecx, dword [0x140222a94]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14010fa5a
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r8d, edi
call fcn.140032eb0
mov qword [0x1402270c8], rsi
lea rcx, [0x1402270d0]
call fcn.14011d5d8
jmp 0x14010f97c
lea rcx, [0x140227118]
call fcn.14011d638
cmp dword [0x140227118], 0xffffffff
jne 0x14010fa32
xorps xmm0, xmm0
movups xmmword [0x140227108], xmm0
movups xmmword [0x1402270f8], xmm0
movups xmmword [0x1402270e8], xmm0
lea rcx, [0x1402270e8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140227118]
call fcn.14011d5d8
jmp 0x14010fa32

Function at 0x14010fe40
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x140227020]
cmp rsi, 1
jbe 0x14010fe85
mov ecx, dword [0x14021aed0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14010fecb
movsxd rcx, dword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 4]
jne 0x14010fecb
mov rax, qword [rax + rcx]
test rax, rax
je 0x14010fecb
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140227020]
call fcn.1400f5aa0
test al, al
je 0x14010fece
mov qword [0x140227028], 0
lea rdi, [0x140227020]
lea rsi, [0x140227028]
mov rcx, rsi
xor edx, edx
call fcn.140012fc0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.140014c00
jmp 0x14010fe53
int3
mov rsi, qword [0x140227020]
jmp 0x14010fe53
Function at 0x14010fee0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x14022b800]
mov ecx, dword [0x140222a94]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14010ff45
mov ecx, dword [0x14021aed0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14010ff81
movsxd rcx, dword [0x14022b7f8]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [0x14022b7fc]
movsxd rdx, dword [0x14022b7f8]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x20
pop rsi
ret
lea rcx, [0x14022b800]
call fcn.14011d638
cmp dword [0x14022b800], 0xffffffff
jne 0x14010ff09
mov qword [0x14022b7f8], 0
lea rcx, [0x14022b7f8]
xor edx, edx
call fcn.140012fc0
lea rcx, [0x14022b800]
call fcn.14011d5d8
jmp 0x14010ff09
test rsi, rsi
je 0x14010ff3f
call fcn.140013120
jmp 0x14010ff1b
Function at 0x140110130
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r12, rdx
mov r13, rcx
mov rsi, qword [rdx + 0x2c8]
mov rcx, qword [rdx + 0x2d0]
mov rbx, rcx
mov rdi, rsi
sub rbx, rsi
je 0x140110194
mov rbp, rbx
sar rbp, 3
mov rdi, rsi
mov rax, rbp
shr rax, 1
mov rdx, rax
not rdx
add rdx, rbp
lea rbp, [rdi + rax*8]
add rbp, 8
cmp qword [rbp - 8], r13
cmovae rdx, rax
cmovb rdi, rbp
mov rbp, rdx
test rdx, rdx
jne 0x140110169
cmp rdi, rcx
jne 0x1401101d4
mov rdx, qword [r12 + 0x2d8]
cmp rcx, rdx
jae 0x1401101dd
cmp rdi, rcx
jne 0x1401102de
mov qword [rcx], r13
add rcx, 8
mov qword [r12 + 0x2d0], rcx
mov sil, 1
mov eax, esi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp qword [rdi], r13
jne 0x140110199
xor esi, esi
jmp 0x1401101c1
lea rcx, [r12 + 0x2c8]
sar rbx, 3
inc rbx
mov rax, rbx
shr rax, 0x3d
jne 0x140110335
movabs rbp, 0x1fffffffffffffff
sub rdx, rsi
mov r14, rdx
sar r14, 2
cmp r14, rbx
cmovb r14, rbx
movabs rax, 0x7ffffffffffffff8
cmp rdx, rax
cmovae r14, rbp
test r14, r14
je 0x14011033a
cmp r14, rbp
ja 0x1401103bd
mov rbx, rcx
lea rcx, [r14*8]
call fcn.14011d790
mov r15, rax
mov rax, rdi
sub rax, rsi
mov rcx, rax
sar rcx, 3
lea rsi, [r15 + rcx*8]
lea rbp, [r15 + r14*8]
cmp rcx, r14
je 0x140110345
mov qword [rsi], r13
mov rdx, qword [rbx]
mov r8, rdi
sub r8, rdx
mov rbx, rsi
sub rbx, r8
test r8, r8
jle 0x140110287
mov rcx, rbx
call fcn.140121c40
add rsi, 8
mov rax, qword [r12 + 0x2d0]
cmp rdi, rax
je 0x1401102a8
mov rcx, qword [rdi]
mov qword [rsi], rcx
add rdi, 8
add rsi, 8
jmp 0x140110293
mov rcx, qword [r12 + 0x2c8]
mov qword [r12 + 0x2c8], rbx
mov qword [r12 + 0x2d0], rsi
mov qword [r12 + 0x2d8], rbp
mov sil, 1
test rcx, rcx
je 0x1401101c1
call fcn.14011d780
jmp 0x1401101c1
mov r8, rcx
sub r8, rdi
add r8, 0xfffffffffffffff8
lea rax, [rcx - 8]
mov rdx, rcx
cmp rax, rcx
jae 0x14011030a
mov rdx, rcx
mov rbp, qword [rax]
mov qword [rdx], rbp
add rax, 8
add rdx, 8
cmp rax, rcx
jb 0x1401102f7
mov qword [r12 + 0x2d0], rdx
test r8, r8
je 0x14011032d
mov rax, r8
sar rax, 3
shl rax, 3
sub rcx, rax
mov rdx, rdi
call fcn.140121c40
mov qword [rdi], r13
jmp 0x1401101be
call fcn.140152a60
mov rbx, rcx
xor r15d, r15d
jmp 0x14011024a
test rax, rax
jle 0x140110368
lea rax, [rcx + 1]
shr rax, 0x3f
add rax, rcx
inc rax
shl rax, 2
and rax, 0xfffffffffffffff8
sub rsi, rax
jmp 0x140110268
mov rcx, rax
sar rcx, 2
test rax, rax
mov r14d, 1
cmovne r14, rcx
movabs rax, 0x1fffffffffffffff
cmp r14, rax
ja 0x1401103bd
mov rsi, r14
and rsi, 0xfffffffffffffffc
lea rcx, [r14*8]
call fcn.14011d790
lea rsi, [rax + rsi*2]
lea rbp, [rax + r14*8]
test r15, r15
je 0x140110268
mov rcx, r15
call fcn.14011d780
jmp 0x140110268
call fcn.14011d580
int3
Function at 0x1401127f0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x140229f80]
cmp rsi, 1
jbe 0x140112839
mov ecx, dword [0x14021aed0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140112832
movsxd rcx, dword [rsi]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [rsi + 4]
movsxd rdx, dword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140229f80]
call fcn.1400f5aa0
test al, al
je 0x14011287f
mov qword [0x140229f88], 0
lea rdi, [0x140229f80]
lea rsi, [0x140229f88]
mov rcx, rsi
xor edx, edx
call fcn.140012fc0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.140014c00
jmp 0x140112803
mov rsi, qword [0x140229f80]
jmp 0x140112803

Function at 0x140112e40
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rcx
mov eax, dword [0x14022b7e0]
mov ecx, dword [0x140222a94]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140112eb1
mov ecx, dword [0x14021aed0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, 0xffffffff
and rax, 0xfffffffffffffffc
je 0x140112ea1
movsxd rdx, dword [0x14022b7d8]
shl rdx, 4
mov esi, dword [rax + rdx + 8]
cmp esi, dword [0x14022b7dc]
jne 0x140112ea1
mov rax, qword [rax + rdx]
test rax, rax
jne 0x140112ead
mov dword [rdi], ecx
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
mov ecx, dword [rax]
jmp 0x140112ea1
lea rcx, [0x14022b7e0]
call fcn.14011d638
cmp dword [0x14022b7e0], 0xffffffff
jne 0x140112e6a
mov qword [0x14022b7d8], 0
lea rcx, [0x14022b7d8]
xor edx, edx
call fcn.140012fc0
lea rcx, [0x14022b7e0]
call fcn.14011d5d8
jmp 0x140112e6a
Function at 0x140113290
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rdx]
mov qword [rdx], 0
lea rbp, [rbx + 1]
cmp rbp, 2
jae 0x14011330d
cmp qword [rsi], rbx
je 0x1401132e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140113314
cmp rbp, 2
jb 0x1401132de
mov qword [rsi], rbx
call fcn.1400d3890
mov ecx, r15d
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 0x140113345
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400d3890
jmp 0x1401132b6
call fcn.1400d3890
mov r14, qword [rsi]
cmp qword [0x140227818], 0
je 0x140113376
mov rcx, qword [0x140227818]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x14023a010]
mov qword [rsi], 0
jmp 0x1401132d0
call fcn.1400d3890
mov rbx, qword [rdi]
cmp qword [0x140227818], 0
je 0x1401133ba
mov rcx, qword [0x140227818]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [0x14023a010]
mov qword [rdi], 0
jmp 0x1401132fd
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1401fcfb0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401133fe
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1401133b4
call qword [0x14023a010]
mov rcx, rax
xor edx, edx
call fcn.140019730
jmp 0x140113326
xor ecx, ecx
mov dl, 1
jmp 0x1401133aa
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1401fcfb0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140113402
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1401133f8
call qword [0x14023a010]
mov rcx, rax
xor edx, edx
call fcn.140019730
jmp 0x140113357
xor ecx, ecx
mov dl, 1
jmp 0x1401133ee
xor ecx, ecx
jmp 0x1401133a8
xor ecx, ecx
jmp 0x1401133ec
Function at 0x140114340
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x140114389
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1401143a5
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140114381
mov qword [rsi], rdi
call fcn.1400d3890
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, rdi
je 0x140114417
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400d3890
mov r14, qword [rsi]
cmp qword [0x140227818], 0
je 0x1401143d6
mov rcx, qword [0x140227818]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x14023a010]
mov qword [rsi], 0
jmp 0x14011436f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1401fcfb0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14011441a
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140114411
call qword [0x14023a010]
mov rcx, rax
xor edx, edx
call fcn.140019730
jmp 0x1401143b7
xor ecx, ecx
mov dl, 1
jmp 0x14011440a
int3
xor ecx, ecx
jmp 0x140114408

Function at 0x140117400
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x140227020]
cmp rsi, 1
jbe 0x140117444
mov ecx, dword [0x14021aed0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14011748a
movsxd rcx, dword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 4]
jne 0x14011748a
cmp qword [rax + rcx], 0
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140227020]
call fcn.1400f5aa0
test al, al
je 0x14011748e
mov qword [0x140227028], 0
lea rdi, [0x140227020]
lea rsi, [0x140227028]
mov rcx, rsi
xor edx, edx
call fcn.140012fc0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.140014c00
jmp 0x140117413
xor eax, eax
jmp 0x14011743d
mov rsi, qword [0x140227020]
jmp 0x140117413
Function at 0x140117640
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xf0
movaps xmmword [rsp + 0xe0], xmm6
mov esi, r9d
mov r14, r8
mov r12, rdx
mov r15, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0xd8], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x80]
mov qword [rdi + 0x50], r13
movaps xmm6, xmmword [0x1401efb80]
movaps xmmword [rdi + 0x40], xmm6
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.Read
lea r8, str..._.._base_files_file_win.cc
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r9d, 0x3e
call fcn.1400ddbb0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
xor r9d, r9d
call fcn.1400f4dd0
test byte [0x14021afd0], 0x19
jne 0x14011777f
test esi, esi
js 0x140117798
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
lea r9, [rsp + 0x68]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [r15]
mov qword [rsp + 0x20], rbx
mov rdx, r14
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14011776c
mov esi, dword [rsp + 0x68]
test byte [0x14021afd0], 0x19
jne 0x14011779f
lea rcx, [rsp + 0x80]
call fcn.1400f5610
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.14011fe20
mov eax, esi
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x140117729
lea rdx, [rsp + 0x68]
mov qword [rdx], rbx
lea rcx, str.ScopedBlockingCall
call fcn.140171970
jmp 0x1401176e7
mov esi, 0xffffffff
jmp 0x140117729
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], r13
movaps xmmword [rdi], xmm6
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x30], 0
lea r8, [0x14021afd0]
lea r9, [0x1401f52ba]
mov rcx, rdi
mov dl, 0x45
call fcn.1400d32d0
mov rbx, qword [rdi]
test rbx, rbx
je 0x1401177fc
mov r14, qword [rsp + 0x48]
lea rdi, [rsp + 0x68]
mov rcx, rdi
xor edx, edx
call fcn.1400dead0
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], r14
mov rcx, rdi
call fcn.1401033f0
lea rcx, [rsp + 0x40]
call fcn.1401033d0
jmp 0x140117732
Function at 0x14011a340
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov byte [rcx], dl
mov rdi, qword [0x14022a130]
cmp rdi, 1
jbe 0x14011a38f
mov ecx, dword [0x14021aed0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14011a3d5
movsxd rcx, dword [rdi]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [rdi + 4]
movsxd rdx, dword [rdi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x14022a130]
call fcn.1400f5aa0
test al, al
je 0x14011a3e1
mov qword [0x14022a138], 0
lea rbx, [0x14022a130]
lea rdi, [0x14022a138]
mov rcx, rdi
xor edx, edx
call fcn.140012fc0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.140014c00
jmp 0x14011a359
test rsi, rsi
je 0x14011a384
call fcn.140013120
jmp 0x14011a36b
mov rdi, qword [0x14022a130]
jmp 0x14011a359

Function at 0x14011a3f0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x14022a130]
cmp rsi, 1
jbe 0x14011a439
mov ecx, dword [0x14021aed0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14011a432
movsxd rcx, dword [rsi]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [rsi + 4]
movsxd rdx, dword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x14022a130]
call fcn.1400f5aa0
test al, al
je 0x14011a47f
mov qword [0x14022a138], 0
lea rdi, [0x14022a130]
lea rsi, [0x14022a138]
mov rcx, rsi
xor edx, edx
call fcn.140012fc0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.140014c00
jmp 0x14011a403
mov rsi, qword [0x14022a130]
jmp 0x14011a403
Function at 0x14011ae30
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov eax, dword [rdx]
mov dword [rcx], eax
mov eax, 1
lock xadd dword [0x14022b7e4], eax
mov dword [rcx + 4], eax
mov eax, dword [0x14022b7e0]
mov ecx, dword [0x140222a94]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14011af19
mov ecx, dword [0x14021aed0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14011af9f
movsxd rcx, dword [0x14022b7d8]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [0x14022b7dc]
movsxd rdx, dword [0x14022b7d8]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov eax, dword [0x14022b7f0]
mov ecx, dword [0x140222a94]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14011af5c
lea rdi, [rsi + 4]
mov ecx, dword [0x14021aed0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14011afb2
movsxd rcx, dword [0x14022b7e8]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [0x14022b7ec]
movsxd rdx, dword [0x14022b7e8]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x14022b7e0]
call fcn.14011d638
cmp dword [0x14022b7e0], 0xffffffff
jne 0x14011ae72
mov qword [0x14022b7d8], 0
lea rcx, [0x14022b7d8]
xor edx, edx
call fcn.140012fc0
lea rcx, [0x14022b7e0]
call fcn.14011d5d8
jmp 0x14011ae72
lea rcx, [0x14022b7f0]
call fcn.14011d638
cmp dword [0x14022b7f0], 0xffffffff
jne 0x14011aed1
mov qword [0x14022b7e8], 0
lea rcx, [0x14022b7e8]
xor edx, edx
call fcn.140012fc0
lea rcx, [0x14022b7f0]
call fcn.14011d5d8
jmp 0x14011aed1
test rsi, rsi
je 0x14011aeac
call fcn.140013120
jmp 0x14011ae88
test rdi, rdi
je 0x14011af0f
call fcn.140013120
jmp 0x14011aeeb