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

Disassembly:
test r8, r8
je 0x1401a4729
xor r9d, r9d
xor eax, eax
nop word [rax + rax]
movzx r10d, byte [rdx + r9]
xor r10b, byte [rcx + r9]
movzx r10d, r10b
or eax, r10d
inc r9
cmp r8, r9
jne 0x1401a4710
ret
xor eax, eax
ret

Function at 0x1401a4a00
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x1400fbc00]
lea r8, [rsp + 0x20]
mov qword [r8], rax
lea rcx, [0x1403bf9e0]
lea rdx, [0x1400fba70]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1401a4a92
cmp dword [0x1403bf9e8], 0
jne 0x1401a4a8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x1403bf9ec]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x1401a4a8e
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401d1390
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x1401a4a76
call fcn.1401e9f10
int3

Function at 0x1401a4c30
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x1403bfa78]
cmp rsi, 1
jbe 0x1401a4c53
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14019c190
lea rcx, [0x1403bfa78]
call fcn.14007cbc0
test al, al
je 0x1401a4c99
mov qword [0x1403bfa80], 0
lea rdi, [0x1403bfa78]
lea rsi, [0x1403bfa80]
mov rcx, rsi
xor edx, edx
call fcn.1400ed1f0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.14007cc60
jmp 0x1401a4c43
mov rsi, qword [0x1403bfa78]
jmp 0x1401a4c43
Function at 0x1401b7190
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x1403bfed8]
mov ecx, dword [0x1403b24e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401b71cd
lea rcx, [0x1403bfed0]
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.14019c190
lea rcx, [0x1403bfed8]
call fcn.1401cfee0
cmp dword [0x1403bfed8], 0xffffffff
jne 0x1401b71b9
mov qword [0x1403bfed0], 0
lea rcx, [0x1403bfed0]
xor edx, edx
call fcn.1400ed1f0
lea rcx, [0x1403bfed8]
call fcn.1401cff78
jmp 0x1401b71b9

Function at 0x1401bc000
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x1403bff20]
cmp rsi, 1
jbe 0x1401bc023
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14019c190
lea rcx, [0x1403bff20]
call fcn.14007cbc0
test al, al
je 0x1401bc069
mov qword [0x1403bff28], 0
lea rdi, [0x1403bff20]
lea rsi, [0x1403bff28]
mov rcx, rsi
xor edx, edx
call fcn.1400ed1f0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.14007cc60
jmp 0x1401bc013
mov rsi, qword [0x1403bff20]
jmp 0x1401bc013

Function at 0x1401c2dc0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1403c0ab0]
mov ecx, dword [0x1403b24e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401c2e26
lea rcx, [0x1403c0aa8]
xor edx, edx
call fcn.14019c190
mov eax, dword [0x1403c0ac0]
mov ecx, dword [0x1403b24e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401c2e62
lea rcx, [0x1403c0ab8]
xor edx, edx
add rsp, 0x28
jmp fcn.14019c190
lea rcx, [0x1403c0ab0]
call fcn.1401cfee0
cmp dword [0x1403c0ab0], 0xffffffff
jne 0x1401c2de5
mov qword [0x1403c0aa8], 0
lea rcx, [0x1403c0aa8]
xor edx, edx
call fcn.1400ed1f0
lea rcx, [0x1403c0ab0]
call fcn.1401cff78
jmp 0x1401c2de5
lea rcx, [0x1403c0ac0]
call fcn.1401cfee0
cmp dword [0x1403c0ac0], 0xffffffff
jne 0x1401c2e14
mov qword [0x1403c0ab8], 0
lea rcx, [0x1403c0ab8]
xor edx, edx
call fcn.1400ed1f0
lea rcx, [0x1403c0ac0]
call fcn.1401cff78
jmp 0x1401c2e14
Function at 0x1401e3714
Capabilities:
Parse pe header

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

Function at 0x1401e3ba0
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1401e8ed0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1401e8ed0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1401e3cf0
cmp rax, 0xffffffffffffffff
je 0x1401e3cf0
xor edi, edi
test rbp, rbp
jle 0x1401e3c9b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140189570
mov rbx, rax
test rax, rax
jne 0x1401e3c28
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1401e3c91
mov edx, 0x8000
mov ecx, r14d
call fcn.1401e9fe8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1401ee184
cmp eax, 0xffffffff
je 0x1401e3c71
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1401e3c38
mov edx, r15d
mov ecx, r14d
call fcn.1401e9fe8
jmp 0x1401e3c91
cmp byte [rsi + 0x38], dil
je 0x1401e3c88
cmp dword [rsi + 0x34], 5
jne 0x1401e3c88
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], ntohl
cmp byte [rsi + 0x30], dil
je 0x1401e3c91
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1401894d0
jmp 0x1401e3d04
jns 0x1401e3d04
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1401e8ed0
cmp rax, 0xffffffffffffffff
jne 0x1401e3cbc
cmp byte [rsi + 0x30], dil
je 0x1401e3d04
mov edi, dword [rsi + 0x2c]
jmp 0x1401e3d04
mov ecx, r14d
call fcn.1401e795c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1401e3d04
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, ntohl
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], ntohl
jmp 0x1401e3d04
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1401e3cfd
mov eax, dword [rsi + 0x2c]
jmp 0x1401e3d02
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1401e8ed0
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1401e71ec
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x240
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdx, [0x140325580]
mov rbp, rcx
call fcn.1401fa41c
xor edi, edi
test rax, rax
je 0x1401e72d2
mov ebx, edi
call fcn.1401e6a8c
mov r14d, dword [rax]
call fcn.1401e6a8c
mov r8d, 0x104
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov dword [rax], edi
call fcn.1401ede08
mov rsi, rax
test rax, rax
je 0x1401e7263
call fcn.1401e6a8c
mov dword [rax], r14d
jmp 0x1401e728d
call fcn.1401e6a8c
cmp dword [rax], 0x22
jne 0x1401e72ca
call fcn.1401e6a8c
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.1401ede08
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1401e72ca
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1401e7291
cmp rax, 3
je 0x1401e72ac
mov rcx, rsi
call fcn.1401e7148
test al, al
je 0x1401e72bd
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1401e72bd
mov dil, 1
mov rcx, rbx
call fcn.1401894d0
mov al, dil
jmp 0x1401e72d4
mov rcx, rbx
call fcn.1401894d0
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1401d1390
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1401e9ba8
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1403b34a0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x1401e9c06
cmp word [rdx], r12w
jne 0x1401e9c06
or byte [rax + r8*8 + 0x38], cl
jmp 0x1401e9c0c
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x1401e9d67
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x1401e9d42
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1401e9c45
mov rcx, r9
jmp 0x1401e9c68
cmp r9, rdx
jae 0x1401e9c7f
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x1401e9c29
jmp 0x1401e9d67
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401e9d3c
cmp dword [rsp + 0x80], edi
je 0x1401e9d3c
mov rdx, r14
lea r11, [0x1403b34a0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x1401e9d15
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1401e9ce8
mov word [rbx], r12w
jmp 0x1401e9d63
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x1401e9cf1
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x1401e9d63
cmp word [rsp + 0x70], r12w
jne 0x1401e9d22
cmp rbx, rsi
je 0x1401e9ce2
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.1401e8ed0
cmp word [rsp + 0x70], r12w
je 0x1401e9d67
mov word [rbx], r13w
jmp 0x1401e9d63
lea r11, [0x1403b34a0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1401e9d5f
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1401e9d67
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401f2324
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1401d1330
sub rsp, rax
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1401e6ea0
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1401f2373
mov rax, rbp
jmp 0x1401f247b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, sym.setup.exe_Ordinal_0
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x3b34a0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1401e8f74
mov r13, rax
lea rax, sym.setup.exe_Ordinal_0
mov rcx, qword [rax + rbx*8 + 0x3b34a0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1401f2477
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401f2477
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1401e8f74
test rax, rax
js 0x1401f2477
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1401f2477
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1401f2469
lea r8, sym.setup.exe_Ordinal_0
cmp rcx, rdx
jae 0x1401f2469
cmp byte [rcx], 0xd
jne 0x1401f244f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1401f245e
cmp byte [rcx + 1], 0xa
jne 0x1401f245e
inc rcx
jmp 0x1401f245e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x3a7320]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1401f2431
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1401f247b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1401d1390
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1402053dc
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14020540c
xor eax, eax
jmp 0x1402054cf
mov rbp, rbx
cmp word [rax], si
je 0x140205431
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140205418
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140205414
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14020532c
movsxd r14, eax
test eax, eax
jne 0x14020546f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140205405
mov rcx, r14
call fcn.14008d590
mov rdi, rax
test rax, rax
jne 0x140205488
xor ecx, ecx
call fcn.1401894d0
jmp 0x140205464
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14020532c
test eax, eax
jne 0x1402054b9
mov rcx, rdi
call fcn.1401894d0
jmp 0x1402054c3
xor ecx, ecx
call fcn.1401894d0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1402054ec
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140205573
mov rsi, rbx
cmp word [rax], bp
je 0x140205532
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14020551c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140205518
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14008d590
mov rdi, rax
test rax, rax
je 0x140205560
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1401d2e10
mov rbp, rdi
xor ecx, ecx
call fcn.1401894d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140207b14
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1401ddd9c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140207b9e
cmp byte [rbp - 0x21], r15b
je 0x140207b99
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140207bd4
call fcn.1401fe8f4
test eax, eax
jne 0x140207bc0
cmp byte [rbp - 0x21], r15b
je 0x140207bb8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140207bd4
cmp byte [rbp - 0x21], r15b
je 0x140207bd1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1401e3378
test eax, eax
jne 0x140207c74
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1401ddd9c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140207c13
cmp byte [rbp - 0x21], r15b
je 0x140207c48
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140207c48
call fcn.1401fe8f4
test eax, eax
jne 0x140207c34
cmp byte [rbp - 0x21], r15b
je 0x140207c2d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140207c48
cmp byte [rbp - 0x21], r15b
je 0x140207c45
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1401e3378
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140207c74
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140207c77
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140207c85
mov rcx, rdi
call fcn.1401894d0
cmp byte [rbp + 0x3f], r15b
je 0x140207c94
mov rcx, qword [rbp + 0x27]
call fcn.1401894d0
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1402168a0
Capabilities:
Move file

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x198], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x180], xmm0
movaps xmmword [rsp + 0x170], xmm0
mov dword [rsp + 0x190], 0
cmp byte [rcx + 0x17], 0
jns 0x1402168e6
mov rcx, qword [rsi]
lea r8, [rsp + 0x170]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x140216989
mov rcx, rsi
call fcn.140086ad0
movzx r8d, al
xor r8d, 5
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14021691a
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, eax
test eax, eax
je 0x14021699b
lea rcx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
mov edx, 0x3a
call fcn.14017e610
test eax, eax
jle 0x1402169a9
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x5e
mov r9d, 0xffffffff
call fcn.14007d0b0
lea rcx, [rsp + 0x40]
lea rdx, str.Scheduled_for_deletion:
mov r8d, 0x18
call fcn.14020f8f0
mov rcx, rax
mov rdx, rsi
call fcn.14007d9a0
mov rcx, rbx
call fcn.14007d550
jmp 0x1402169a9
mov ecx, 1
call fcn.14017e5e0
test al, al
jne 0x1402169cc
xor esi, esi
jmp 0x1402169af
mov ecx, 2
call fcn.14017e5e0
test al, al
jne 0x140216a24
test edi, edi
setne sil
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1401d1390
mov eax, esi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x3f
mov r9d, 1
call fcn.14023e670
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.14007d9a0
lea rdx, str._does_not_exist.
mov r8d, 0x10
mov rcx, rax
call fcn.14020f8f0
mov rcx, rdi
call fcn.14023e6f0
jmp 0x140216997
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x4a
mov r9d, 2
call fcn.14023e670
lea rcx, [rsp + 0x40]
lea rdx, str.Could_not_schedule
mov r8d, 0x13
call fcn.14020f8f0
mov rcx, rax
mov rdx, rsi
call fcn.14007d9a0
lea rdx, str._for_deletion.
mov r8d, reloc.WS2_32.dll_ntohl
mov rcx, rax
call fcn.14020f8f0
mov rcx, rbx
call fcn.14023e6f0
jmp 0x1402169a9
Function at 0x14021bea0
Capabilities:
Delete service

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x190
mov rbx, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov rcx, qword [rdx]
test rcx, rcx
je 0x14021bef8
mov rsi, rdx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov dil, 1
test eax, eax
je 0x14021bf1b
cmp qword [rsi], 0
je 0x14021befa
call fcn.14017e5d0
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov qword [rsi], 0
jmp 0x14021befa
xor edi, edi
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.1401d1390
mov eax, edi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, 1
call fcn.14017e5e0
test al, al
jne 0x14021bf3d
cmp edi, 0x430
sete dil
jmp 0x14021bedb
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_util_install_service_work_item_impl.cc
lea rcx, [rsp + 0x48]
mov r8d, reloc.SHELL32.dll_IsUserAnAdmin
mov r9d, 1
call fcn.14023e670
lea rcx, [rsp + 0x58]
lea rdx, str.DeleteService_failed
mov r8d, 0x15
call fcn.14020f8f0
mov r14, rax
lea r15, [rsp + 0x30]
mov rcx, rbx
mov rdx, r15
call fcn.14021bb40
cmp byte [r15 + 0x17], 0
jns 0x14021bf99
mov r15, qword [rsp + 0x30]
mov rcx, r14
mov rdx, r15
call fcn.14023e7a0
cmp byte [rsp + 0x47], 0
jns 0x14021bfb5
mov rcx, qword [rsp + 0x30]
call fcn.1401cfdbc
lea rcx, [rsp + 0x48]
call fcn.14023e6f0
jmp 0x14021bf31
Function at 0x14023d7e0
Capabilities:
Move file

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.14017de90
test al, al
jne 0x14023d801
mov rcx, rsi
call fcn.14017de90
test al, al
je 0x14023d80a
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x140244340
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa0
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x50], rax
movaps xmm0, xmmword [0x14033b990]
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
lea rdx, str.MoveUnsafe
lea r8, str..._.._base_files_file_util_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r9d, 0x409
call fcn.14017e5b0
xor ebx, ebx
mov rcx, rbp
mov rdx, rsi
xor r8d, r8d
call fcn.140186270
mov al, byte [rdi + 0x17]
test al, al
jns 0x1402443ff
cmp qword [rdi + 8], 0x103
jbe 0x1402443ff
lea rcx, [rsp + 0x40]
call fcn.1401862d0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401d1390
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov cl, byte [r14 + 0x17]
test cl, cl
jns 0x140244415
cmp qword [r14 + 8], 0x103
jbe 0x140244415
xor ebx, ebx
jmp 0x1402443d5
mov rdx, r14
test cl, cl
jns 0x14024441f
mov rdx, qword [r14]
mov rcx, rdi
test al, al
jns 0x140244429
mov rcx, qword [rdi]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov bl, 1
test eax, eax
jne 0x1402443d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, rdi
call fcn.140086ad0
test al, al
jne 0x140244459
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140244411
mov rcx, rdi
mov rdx, r14
call fcn.140244470
test al, al
jne 0x1402443d5
jmp 0x14024444f