joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801337f8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x180133818
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180122400
or eax, 0xffffffff
jmp 0x18013381a
xor eax, eax
add rsp, 0x28
ret

Function at 0x140007530
Capabilities:
Decrypt data using tea

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov r14, rcx
movsxd rsi, edx
add rsi, 0xfffffffffffffff0
mov ecx, 0x10
call fcn.1400101d0
mov rdi, rax
mov rcx, rax
mov rdx, r14
mov r8d, 0x10
call fcn.14000fb80
mov rcx, rsi
call fcn.1400101d0
mov rbp, rax
lea rdx, [r14 + 0x10]
mov rcx, rax
mov r8d, esi
call fcn.14000fb80
shr rsi, 3
mov qword [rsp + 0x30], rsi
je 0x14000764e
mov r11d, dword [rdi]
xor r10d, r10d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbp
nop word cs:[rax + rax]
nop dword [rax + rax]
lea r8d, [r10*8]
mov r9d, dword [rbp + r8]
mov ebx, dword [rbp + r8 + 4]
mov r14d, dword [rdi + 4]
mov r13d, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
mov eax, 0xc6ef3720
mov ecx, 0x20
mov edi, r9d
nop word [rax + rax]
mov ebp, edi
shl ebp, 4
add ebp, r13d
lea r15d, [rdi + rax]
mov r12d, edi
shr r12d, 5
add r12d, edx
xor r12d, ebp
xor r12d, r15d
sub ebx, r12d
mov ebp, ebx
shl ebp, 4
add ebp, r11d
lea esi, [rax + rbx]
xor esi, ebp
mov ebp, ebx
shr ebp, 5
add ebp, r14d
xor ebp, esi
sub edi, ebp
add eax, 0x61c88647
add ecx, 0xffffffff
jne 0x1400075e0
mov rbp, qword [rsp + 0x20]
mov dword [rbp + r8], edi
mov dword [rbp + r8 + 4], ebx
mov rdi, qword [rsp + 0x28]
xor r9d, dword [rdi]
mov dword [rdi], r9d
add r10, 1
mov r11d, r9d
cmp r10, qword [rsp + 0x30]
jne 0x1400075b0
mov rax, rbp
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14000a670
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140003f10]
lea r9, [rsp + 0x38]
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
add rsp, 0x48
ret

Function at 0x14000e9ac
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140006f74

Function at 0x140001980
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400019ca
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400019ca
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400019ca
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400019ca
cmp dword [rcx + 0x84], 0xe
jbe 0x1400019ca
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400019cc
xor al, al
add rsp, 0x28
ret
Function at 0x1411a0058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1411a01df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1411a0089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1411a006f
add dl, dl
jne 0x1411a0096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1411a00f6
xor eax, eax
add dl, dl
jne 0x1411a00a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1411a01ad
add dl, dl
jne 0x1411a00b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1411a00c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1411a00d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1411a00dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1411a00ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1411a007e
mov eax, 1
add dl, dl
jne 0x1411a0106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1411a0113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1411a00fb
sub eax, ebx
mov ebx, 1
jne 0x1411a014c
mov ecx, 1
add dl, dl
jne 0x1411a012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1411a013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1411a0123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1411a007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1411a0168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1411a0175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1411a015d
cmp eax, 0x7d00
jae 0x1411a019b
cmp eax, 0x500
jb 0x1411a0196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1411a007e
cmp eax, 0x7f
ja 0x1411a019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1411a007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1411a01d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1411a007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000d5a0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x14000d5dc
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14000d5e6
add rdi, rbx
sub rsi, rbx
jne 0x14000d5ba
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
Function at 0x14000fd70
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rbx, rcx
xor ebp, ebp
test rcx, rcx
setne bpl
mov r12d, dword [rsp + 0xb0]
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x48], rax
shl ebp, 0x10
mov ecx, 0x18
call fcn.1400910bc
mov rsi, rax
mov rax, qword [0x1401155a0]
and rax, r15
cmp rax, qword [0x140115588]
jne 0x14000fdd5
mov rcx, r15
call fcn.140055410
mov qword [rsi], r15
test r14, r14
setne byte [rsi + 8]
mov dword [rsi + 0xc], edi
mov dword [rsi + 0x10], r12d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x140003870]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x14000fe47
test r14, r14
je 0x14000fe3c
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400931d0
mov eax, ebx
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000fe18
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0x27a
jle 0x14000fe6c
cmp ebp, 0x5af
je 0x14000fee7
cmp ebp, 0x27b
jne 0x14000fe76
jmp 0x14000fee7
cmp ebp, 8
je 0x14000fee7
cmp ebp, 0xe
je 0x14000fee7
mov eax, dword [0x140124784]
mov ecx, dword [0x140121718]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000feef
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov edx, ebp
call fcn.14004a410
cmp byte [rbx + 0x17], 0
jns 0x14000feb6
mov rcx, qword [rsp + 0x30]
call fcn.1400910b4
test rsi, rsi
je 0x14000fe18
mov rcx, qword [rsi]
mov rax, qword [0x1401155a0]
and rax, rcx
cmp rax, qword [0x140115588]
jne 0x14000feda
call fcn.140055960
mov rcx, rsi
call fcn.1400910b4
jmp 0x14000fe18
mov rcx, rbx
call fcn.1400e18b0
lea rcx, [0x140124784]
call fcn.140091164
cmp dword [0x140124784], 0xffffffff
jne 0x14000fe97
lea rcx, [0x140124784]
call fcn.1400910f8
jmp 0x14000fe97
Function at 0x140010f20
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rdi, r8
mov rsi, rdx
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x48], rax
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov qword [rdx], rcx
mov qword [rdx + 8], r8
mov byte [rdx + 0x10], r9b
mov qword [rdx + 0x18], 0
lea rcx, [rsp + 0x20]
mov qword [rcx], rbx
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14001106a
lea rcx, [rsp + 0x20]
mov rax, qword [rcx]
mov qword [rsi + 0x20], rax
mov qword [rcx], rbx
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14001106d
mov rax, qword [rsp + 0x20]
mov qword [rsi + 0x28], rax
mov eax, dword [0x14012ac00]
mov ecx, dword [0x140121718]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140011002
mov rdx, rdi
shl rdx, 4
lea rcx, [0x140129200]
xor r8d, r8d
call fcn.140011080
mov qword [rsi + 0x30], rax
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsi + 0x38], xmm0
test rdi, rdi
je 0x140011070
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400931d0
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x14012ac00]
call fcn.140091164
cmp dword [0x14012ac00], 0xffffffff
jne 0x140010fbe
mov al, 0xaa
lea rdx, [rsp + 0x20]
mov byte [rdx + 7], al
mov cx, 0xaaaa
mov word [rdx + 5], cx
mov word [rdx + 0x19], cx
mov dword [rdx + 0x1b], 0xaaaa00aa
mov byte [rdx + 0x1f], al
xor eax, eax
mov dword [rdx], eax
mov byte [rdx + 4], al
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rdx + 8], xmm0
mov byte [rdx + 0x18], al
mov dword [rdx + 0x20], eax
lea rcx, [0x140129200]
call fcn.14001bec0
lea rcx, [0x14012ac00]
call fcn.1400910f8
jmp 0x140010fbe
int3
int3
int3

Function at 0x140012d10
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x140121718]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp byte [rax + 0x120], 0
je 0x140012dcd
mov eax, dword [0x140121718]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x160], 1
je 0x140012dc9
mov ecx, dword [rsi + 0x1928]
test ecx, ecx
jne 0x140012dc9
mov ecx, 1
lock xadd dword [rsi + 0x1928], ecx
cmp ecx, 0x7fffffff
je 0x140012dd7
test rsi, rsi
je 0x140012dda
lea rbx, [rax + 0x160]
call fcn.140083380
mov edx, 0x568
mov rcx, rax
xor r8d, r8d
call fcn.140011080
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.140012de0
mov ecx, dword [0x1401251e8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov qword [rbx], rdi
lock dec dword [rsi + 0x1928]
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
xor edi, edi
jmp 0x140012dbe
call fcn.140092488
jmp 0x140012d3a
int3
int3
Function at 0x140016420
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
sub rsp, 0x30
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rcx, [0x14012ac78]
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140016519
cmp byte [0x14012ac80], 0
je 0x1400164b5
lea rcx, [0x14012ac78]
mov rax, qword [0x14012ac88]
mov rdx, qword [0x14012ac90]
mov qword [0x14012ac88], rdx
mov rsi, rax
shl rsi, 0x17
xor rsi, rax
mov rax, rdx
shr rax, 0x1a
xor rax, rdx
xor rax, rsi
shr rsi, 0x11
xor rsi, rax
mov qword [0x14012ac90], rsi
add rsi, rdx
shr rsi, 0x20
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400931d0
mov eax, esi
add rsp, 0x30
pop rsi
ret
movabs rsi, 0xaaaaaaaaaaaaaaaa
vxorps xmm0, xmm0, xmm0
vmovups xmmword [0x14012ac88], xmm0
lea rcx, [rsp + 0x20]
mov qword [rcx], rsi
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14001652a
lea rcx, [rsp + 0x20]
mov rax, qword [rcx]
mov qword [0x14012ac88], rax
mov qword [rcx], rsi
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14001652d
mov rax, qword [rsp + 0x20]
mov qword [0x14012ac90], rax
mov byte [0x14012ac80], 1
jmp 0x140016452
lea rcx, [0x14012ac78]
call fcn.140074790
jmp 0x140016449
int3
int3
Function at 0x140017db0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.140093170
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.1400c3300
lea r9, [rsp + 0x3c]
mov dword [r9], 1
lea rax, [rsp + 0x38]
mov dword [rax], 0x800
mov rcx, qword [rbx]
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 0x140017e63
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x140017e67
lea rdx, [rsp + 0x840]
mov rcx, rsi
call fcn.140017ec0
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400931d0
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x140017e44
cmp eax, 2
jne 0x140017eaf
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.1400c3300
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 0x140017eb6
lea rdx, [rsp + 0x40]
jmp 0x140017e3a
mov edi, 0x3f4
jmp 0x140017e44
mov edi, 0xea
jmp 0x140017e44
Function at 0x14001c910
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 0x14001c9fe
cmp qword [rsi], 0
jne 0x14001c9fe
cmp dword [rsi + 0x14], 0
jne 0x14001c9fe
cmp qword [rsi + 8], 0
jne 0x14001c9fe
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x14001c980
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14001c9d0
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14001c978
mov qword [rsi], r14
call fcn.140067800
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x14001c9ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x14001c9e6
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14001c9b2
mov qword [rsi + 8], r14
call fcn.140067800
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.140067800
mov rcx, qword [rsi]
call fcn.140086f50
mov qword [rsi], 0
jmp 0x14001c966
call fcn.140067800
mov rcx, qword [rsi + 8]
call fcn.140086f50
mov qword [rsi + 8], 0
jmp 0x14001c99f
mov rcx, rsi
call fcn.1400e1c60
mov rax, qword [rsi]
jmp 0x14001c94a
Function at 0x14001e8c0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1400c3300
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14001e97f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.140091674
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140087260
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.14001e9b0
cmp byte [rsi + 0x17], 0
jns 0x14001e94f
mov rcx, qword [rsi]
call fcn.1400910b4
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x10], rax
vmovups xmm0, xmmword [rsp + 0x48]
vmovups xmmword [rsi], xmm0
mov byte [rsp + 0x5f], 0
mov word [rsp + 0x48], 0
cmp byte [rsp + 0x47], 0
jns 0x14001e97f
mov rcx, qword [rsp + 0x30]
call fcn.1400910b4
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400931d0
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14001eb10
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x290
vmovaps xmmword [rsp + 0x280], xmm6
mov rsi, rcx
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400c3300
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14001ebb7
cmp word [rsp + 0x70], 0
je 0x14001ebb7
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.140091674
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140087260
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1400931d0
mov rax, rsi
vmovaps xmm6, xmmword [rsp + 0x280]
add rsp, 0x290
pop rbx
pop rdi
pop rsi
ret
vxorps xmm6, xmm6, xmm6
lea rcx, [rsp + 0x40]
vmovaps xmmword [rcx], xmm6
mov qword [rcx + 0x10], 0
call fcn.14001e8c0
test al, al
jne 0x14001ebf6
lea rax, [0x140104908]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.140087260
jmp 0x14001ec18
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
vmovaps xmm0, xmmword [rsp + 0x40]
vmovups xmmword [rsi], xmm0
vmovaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x50], 0
cmp byte [rsp + 0x57], 0
jns 0x14001eb90
mov rcx, qword [rsp + 0x40]
call fcn.1400910b4
jmp 0x14001eb90
Function at 0x14001ecc0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor eax, eax
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x14001ede1
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 0x14001ee1d
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr edi, 5
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 0x14001ee25
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
and al, dil
mov byte [r8 + 0x16], al
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x14001ee17
xor ecx, ecx
mov eax, 0x80000007
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x14001ee29
pop rdi
pop rsi
ret
mov dl, byte [r8 + 0x19]
jmp 0x14001ee10
xor r10d, r10d
jmp 0x14001ed1f
xor eax, eax
jmp 0x14001edb4
cmp byte [r8 + 0x1a], 0
je 0x14001ee14
xor ecx, ecx
mov eax, 0x40000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x14001ee14
cmp ecx, 0x666f736f
jne 0x14001ee14
cmp edx, 0x76482074
jne 0x14001ee14
mov byte [r8 + 0x19], 1
jmp 0x14001ee14
Function at 0x1400235a0
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x248
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x240], rax
vbroadcastss xmm0, dword [0x1400f27f0]
lea rcx, [rsp + 0x20]
vmovaps xmmword [rcx], xmm0
call sub.ntdll.dll_RtlFormatCurrentUserKeyPath
mov esi, eax
test eax, eax
js 0x14002371f
lea rdi, [rsp + 0x20]
mov rdx, qword [rdi + 8]
lea rbx, [0x140124fe0]
mov r14d, 0xff
mov r8d, 0xff
mov rcx, rbx
call fcn.140091fe4
mov rcx, rbx
call fcn.140091674
sub r14, rax
lea rdx, [0x14010490c]
mov rcx, rbx
mov r8, r14
call fcn.140091fe4
mov rcx, rdi
call sub.ntdll.dll_RtlFreeUnicodeString
lea rbx, [rsp + 0x30]
mov r8d, 0x208
mov rcx, rbx
xor edx, edx
call fcn.1400c3300
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdi, rax
lea rcx, str.PROGRAMFILES
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14002367f
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140091fb8
test eax, eax
je 0x140023743
lea rcx, str.PROGRAMFILES_X86_
lea rdx, [rsp + 0x30]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x1400236ba
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140091fb8
test eax, eax
je 0x140023743
xor eax, eax
mov byte [0x140124bd5], al
mov dword [rsp + 0x30], 0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1401010ac]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002374a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rax, rdi
call qword [0x1401093a8]
test eax, eax
je 0x14002374a
cmp dword [rsp + 0x30], 0
setne al
mov byte [0x1401251e0], al
mov byte [0x140124bd4], 1
test esi, esi
setns bl
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400931d0
mov eax, ebx
add rsp, 0x248
pop rbx
pop rdi
pop rsi
pop r14
ret
mov al, 1
jmp 0x1400236bc
xor eax, eax
jmp 0x140023712
Function at 0x140028bd0
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 0x140028c19
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140028c35
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140028c11
mov qword [rsi], rdi
call fcn.140067800
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 0x140028ca7
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140067800
mov r14, qword [rsi]
cmp qword [0x1401248c8], 0
je 0x140028c66
mov rcx, qword [0x1401248c8]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1401093a8]
mov qword [rsi], 0
jmp 0x140028bff
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1401016f5]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140028caa
lea rcx, [sym.chrome_pwa_launcher.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140028ca1
call qword [0x1401093a8]
mov rcx, rax
xor edx, edx
call fcn.140006620
jmp 0x140028c47
xor ecx, ecx
mov dl, 1
jmp 0x140028c9a
int3
xor ecx, ecx
jmp 0x140028c98

Function at 0x140028cb0
Capabilities:
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, rcx
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x88], rax
vbroadcastss ymm0, dword [0x1400f27f0]
lea rdi, [rsp + 0x40]
vmovups ymmword [rdi + 0x20], ymm0
vmovups ymmword [rdi], ymm0
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x20b
vzeroupper
call fcn.140056ee0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140074800
cmp byte [rsi + 0x17], 0
jns 0x140028d21
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov qword [rsp + 0x80], 0xa
mov al, byte [0x14012460a]
test al, al
jne 0x140028d6f
cmp esi, 0xffffffff
setne bl
lea rcx, [rsp + 0x40]
call fcn.1400756a0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400931d0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
movzx ecx, al
lea r8, [rsp + 0x20]
mov qword [r8], 0
lea rdx, [rsp + 0x80]
mov r9d, 2
call fcn.140056f00
jmp 0x140028d42
Function at 0x140028da0
Capabilities:
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, rcx
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x88], rax
vbroadcastss ymm0, dword [0x1400f27f0]
lea rdi, [rsp + 0x40]
vmovups ymmword [rdi + 0x20], ymm0
vmovups ymmword [rdi], ymm0
lea rdx, str.DirectoryExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x233
vzeroupper
call fcn.140056ee0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140074800
cmp byte [rsi + 0x17], 0
jns 0x140028e11
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov qword [rsp + 0x80], 0xa
mov al, byte [0x14012460a]
test al, al
jne 0x140028e68
cmp esi, 0xffffffff
setne al
and esi, 0x10
shr esi, 4
and sil, al
lea rcx, [rsp + 0x40]
call fcn.1400756a0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400931d0
mov eax, esi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
movzx ecx, al
lea r8, [rsp + 0x20]
mov qword [r8], 0
lea rdx, [rsp + 0x80]
mov r9d, 2
call fcn.140056f00
jmp 0x140028e32