joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004b3c0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x8f8
mov rax, qword [0x1400d0558]
xor rax, rsp
mov qword [rsp + 0x8e0], rax
xor edx, edx
lea rcx, [rsp + 0xe0]
mov r8d, 0x800
call fcn.140073f20
mov r8d, 0x400
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm1, xmm1
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
mov dword [rsp + 0xd4], eax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x74], xmm1
movups xmmword [rsp + 0x84], xmm1
movups xmmword [rsp + 0x94], xmm1
movups xmmword [rsp + 0xa4], xmm1
movups xmmword [rsp + 0xb4], xmm1
movups xmmword [rsp + 0xc4], xmm1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14004b4aa
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call fcn.140082f40
int3

Function at 0x140051140
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400d0558]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rax, qword [0x1400d2528]
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x80]
call rax
mov rbx, rax
test rax, rax
jne 0x140051278
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov byte [rsp + 0x20], 1
mov r9b, 1
lea r8d, [rdi + 0x10]
lea rcx, [rsp + 0x60]
call fcn.140050080
nop
mov r8, rax
lea rdx, [0x1400d2810]
lea rcx, [rsp + 0x40]
call fcn.14004ff30
nop
xor r9d, r9d
mov r8b, 1
lea rdx, [0x1400d25f0]
mov rcx, rax
call fcn.140041030
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140051223
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005121e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400512b3
call fcn.140071534
movdqa xmm0, xmmword [0x14009b9c0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140051274
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005126f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400512ad
call fcn.140071534
xor al, al
jmp 0x14005128c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400719c0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.1400780b4
nop
call fcn.1400780b4
nop
int3
Function at 0x1400512c0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400d0558]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rax, qword [0x1400d2528]
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x80]
call rax
mov rbx, rax
test rax, rax
jne 0x1400513f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov byte [rsp + 0x20], 1
mov r9b, 1
lea r8d, [rdi + 0x10]
lea rcx, [rsp + 0x60]
call fcn.140050080
nop
mov r8, rax
lea rdx, [0x1400d2810]
lea rcx, [rsp + 0x40]
call fcn.14004ff30
nop
xor r9d, r9d
mov r8b, 1
lea rdx, [0x1400d25f0]
mov rcx, rax
call fcn.140041030
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400513a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005139e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051441
call fcn.140071534
movdqa xmm0, xmmword [0x14009b9c0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400513f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400513ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005143b
call fcn.140071534
xor al, al
jmp 0x14005141a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400719c0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.1400780b4
nop
call fcn.1400780b4
nop
int3
Function at 0x14005c240
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov ebp, r9d
xor r8d, r8d
mov rsi, rdx
mov rbx, rcx
cmp rdi, 0xffffffffffffffff
jne 0x14005c2a4
movzx eax, byte [rdx]
mov edi, r8d
test al, al
je 0x14005c298
nop dword [rax]
nop word [rax + rax]
imul r8d, r8d, 0x1003f
inc rdi
movzx eax, al
add r8d, eax
movzx eax, byte [rdi + rdx]
test al, al
jne 0x14005c280
test rdi, rdi
jne 0x14005c2d2
xor eax, eax
jmp 0x14005c357
mov rdx, r8
test rdi, rdi
je 0x14005c29d
nop dword [rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x14005c2cc
imul r8d, r8d, 0x1003f
inc rdx
add r8d, eax
cmp rdx, rdi
jb 0x14005c2b0
jmp 0x14005c298
mov r8d, 0x11
mov eax, dword [rcx + 0x128]
mov edx, r8d
movzx ecx, byte [rcx + 0x12c]
xor edx, ebp
mov qword [rsp + 0x30], r14
mov r14d, 0xffffffff
cmp ebp, r14d
cmove edx, r8d
imul rax, rdx
shr rax, cl
imul eax, dword [rbx + 0x120]
mov rbx, qword [rbx + 0x110]
sub edx, eax
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x14005c34f
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x14005c33e
cmp dword [rbx + 0x14], ebp
jne 0x14005c33e
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x14005c32f
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call fcn.140073780
test eax, eax
je 0x14005c346
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14005c316
test rbx, rbx
je 0x14005c34f
mov r14d, dword [rbx + 0xc]
mov eax, r14d
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14005e510
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1400d0558]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [r9 + 0x10]
mov rdi, r9
mov r14, r8
mov rsi, rdx
mov r15, rcx
cmp rbx, 0x20
ja 0x14005e604
xor r12d, r12d
nop dword [rax + rax]
mov r10, qword [rdi + 8]
mov r9, r12
test rbx, rbx
je 0x14005e598
lea rax, [rsp + 0x20]
sub r10, rax
nop dword [rax]
nop dword [rax + rax]
lea r8, [rsp + 0x20]
mov ecx, 0x20
add r8, r9
movzx edx, byte [r10 + r8]
lea eax, [rdx - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r9
xor cl, dl
mov byte [r8], cl
cmp r9, rbx
jb 0x14005e570
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14005dd80
mov dword [rsi], eax
test eax, eax
jne 0x14005e5c1
mov rax, qword [r15]
lea rdx, [rsp + 0x20]
mov r8, rbx
movzx ecx, byte [rax + 0x48]
call fcn.1400672f0
mov dword [rsi], eax
cmp dword [rsi], r12d
jne 0x14005e62c
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14005e250
test eax, eax
je 0x14005e604
mov ecx, dword [r14]
test eax, ecx
jne 0x14005e625
or ecx, eax
xor r8d, r8d
mov dword [r14], ecx
mov rdx, rdi
lea rcx, [r15 + 8]
call fcn.140067880
cmp al, 2
jne 0x14005e604
mov rbx, qword [rdi + 0x10]
cmp rbx, 0x20
jbe 0x14005e550
mov eax, 0x1a
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400719c0
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, 0x37
jmp 0x14005e609
xor r8d, r8d
lea rcx, [r15 + 8]
mov rdx, rdi
call fcn.140067880
cmp al, 2
jne 0x14005e6a3
mov rdx, qword [rdi + 0x10]
cmp rdx, 0x20
ja 0x14005e6a3
mov r11, qword [rdi + 8]
mov r10, r12
test rdx, rdx
je 0x14005e68a
lea rax, [rsp + 0x20]
sub r11, rax
nop dword [rax]
lea r9, [rsp + 0x20]
mov ecx, 0x20
add r9, r10
movzx r8d, byte [r11 + r9]
lea eax, [r8 - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r10
xor cl, r8b
mov byte [r9], cl
cmp r10, rdx
jb 0x14005e660
lea rcx, [rsp + 0x20]
call fcn.14005e250
cmp eax, 0x10
jne 0x14005e6a3
or dword [r14], eax
xor eax, eax
jmp 0x14005e609
mov rax, qword [rdi + 8]
mov qword [r15 + 0x18], rax
xor eax, eax
jmp 0x14005e609
Function at 0x140072368
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400723b2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400723b2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400723b2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400723b2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400723b2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400723b4
xor al, al
add rsp, 0x28
ret

Function at 0x140082948
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14008297f
call fcn.14007855c
mov dword [rax], SafeArrayUnaccessData
call fcn.140078094
xor eax, eax
jmp 0x140082a0d
mov rdx, r9
mov rcx, r8
call fcn.1400828e4
mov rbx, rax
test rax, rax
je 0x140082a0a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140082810]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400829f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400784d0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400829de
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400829ed
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140087948
jmp 0x140082a0a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140082a07
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140082f40
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140082dab
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140082dab
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140082dab
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140082dab
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140082dab
cmp dword [rcx + 0x84], 0xe
jbe 0x140082dab
cmp dword [rcx + 0xf8], 0
je 0x140082dab
mov ecx, ebx
call fcn.140082e5c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140082c38
nop
cmp dword [rbp + 0x20], 0
je 0x140082df9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140082e04
int3
xor r8d, r8d
xor edx, edx
jmp 0x140082d3c
Function at 0x14008f804
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140087144
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14008f8a5
cmp ebx, dword [rsp + 0x30]
je 0x14008f89e
test esi, esi
je 0x14008f89e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14008f879
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14008f886
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14008f863
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14008f88a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14008f8a7
mov eax, 1
jmp 0x14008f8a7
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140090598
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 0x14009061f
mov rsi, rbx
cmp word [rax], bp
je 0x1400905de
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400905c8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400905c4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140087b88
mov rdi, rax
test rax, rax
je 0x14009060c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140073880
mov rbp, rdi
xor ecx, ecx
call fcn.140087948
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 0x140094310
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140094338
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140094338
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x100423180
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x10042318d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x10042319d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x100423185
lea eax, [rcx + 1]
jmp 0x1004231ab
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1004231be
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1004231a4
sub eax, 3
jb 0x1004231de
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x10042322d
sar eax, 1
movsxd rbp, eax
jb 0x100423214
jmp 0x1004231ec
add ebx, ebx
jne 0x1004231ea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100423214
inc ecx
add ebx, ebx
jne 0x1004231fa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100423214
call r11
adc ecx, ecx
add ebx, ebx
jne 0x10042320d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1004231fc
add ecx, 2
jmp 0x100423219
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.100423142
jmp 0x10042318d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x150e70
mov dl, 0x27
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x100423279
cmp rsi, rcx
jae 0x100423281
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x100423260
cmp al, 0x8f
ja 0x100423260
cmp byte [rsi - 2], 0xf
je 0x100423266
sub al, 0xe8
cmp al, 1
ja 0x10042324a
cmp rsi, rcx
jae 0x100423281
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x100423250
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x100423281
lodsb al, byte [rsi]
jmp 0x100423260
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x41f000]
mov eax, dword [rdi]
or eax, eax
je 0x1004232de
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x4230ac]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x10042328e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1004232d8
mov qword [rbx], rax
add rbx, 8
jmp 0x1004232ae
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.100423361], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.100423361
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x100423351
sub rsp, 0xffffffffffffff80
jmp 0x100001a40
Function at 0x140006050
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1400a2320]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rdx
lea r8, [rcx + 8]
mov rcx, rbx
mov edx, 4
call fcn.140006108
lea r8, str.desktop.ini
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14003f868
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400060c9
test al, 4
je 0x1400060c9
and eax, 0xfffffffb
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
mov edx, eax
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x20]
call fcn.1400048e8
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140063300
add rsp, 0x50
pop rbx
ret

Function at 0x140007ff0
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x1400a2320]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rax, rdx
mov rbx, rcx
xor edi, edi
mov qword [rbp - 0x29], rdi
movdqa xmm0, xmmword [0x1400889c0]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], di
lea rdx, [rbp - 0x29]
mov rcx, rax
call fcn.140006c24
test eax, eax
js 0x1400080c7
lea r8d, [rdi + 1]
lea rdx, [0x140080bc0]
lea rcx, [rbp - 0x29]
call fcn.140010350
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], di
jne 0x14000805e
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.140010350
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rcx, qword [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400080aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
cmp eax, 2
je 0x1400080aa
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
test eax, eax
js 0x1400080c7
lea r8, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae r8, qword [rbp - 0x29]
xor r9d, r9d
xor edx, edx
lea ecx, [rdx + 4]
call fcn.14004d7d8
jmp 0x14000813e
lea rcx, [0x14007da90]
mov qword [rbp + 0x2f], rcx
mov dword [rbp + 0x27], 4
cdqe
mov qword [rbp + 0x37], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x963
lea rax, [0x140080b80]
mov qword [rsp + 0x20], rax
lea r9, str.SetupUtilities::DeleteShortcut
mov r8d, 0x31c
lea rdx, [0x14007dd20]
lea rcx, [rbp - 9]
call qword [sym.imp.LoggingPlatform.DLL_public:_void___cdecl_StructuredEvent::constructor_char_const____ptr64__int__char_const____ptr64__struct__GUID_const____ptr64__unsigned_int__unsigned_int__unsigned_int__unsigned_int____ptr64]
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 9]
call qword [sym.imp.LoggingPlatform.DLL_void___cdecl_LoggingWriteStructuredEvent_struct_StructuredEvent_const____ptr64__struct_StructuredEventParameter__const___ptr64_]
call qword [sym.imp.LoggingPlatform.DLL_void___cdecl_LoggingRotateIfNeeded_void_]
nop
lea rcx, [rbp - 0x29]
call fcn.1400048e8
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140063300
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140017c20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov r14, r8
mov r15d, edx
mov rdx, r14
mov ecx, r15d
mov r8d, r9d
mov ebp, r9d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov esi, eax
test eax, eax
jns 0x140017c91
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___doserrno]
mov ebx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rsp + 0x40], edi
test r14, r14
mov dword [rsp + 0x38], ebx
mov r9d, ebp
sete cl
mov edx, dword [rax]
mov dword [rsp + 0x30], edx
mov byte [rsp + 0x28], cl
mov dword [rsp + 0x20], r15d
call fcn.140015380
lea r11, [rsp + 0x50]
mov eax, esi
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret

Function at 0x1400195f0
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
and dword [r8], 0
mov rdi, r8
mov rbx, rdx
call qword [sym.imp.UpdateRingSettings.dll_class_IUpdateRingSettingsManager____ptr64___cdecl_GetUpdateRingSettingsManager_void_]
mov r9, rax
mov edx, SHFlushSFCache
mov rcx, qword [rax]
mov rax, qword [rcx + 0xa8]
mov rcx, r9
call qword [case.0x140024ad2.8]
test al, al
je 0x140019645
mov rcx, qword [0x1400a2198]
mov rdx, rbx
mov rax, qword [rcx]
mov rax, qword [rax + 0xd8]
call qword [case.0x140024ad2.8]
jmp 0x14001964e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rdi], eax
cmp eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
setne al
add rsp, 0x20
pop rdi
ret

Function at 0x140019670
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rdi, rcx
mov rcx, rdx
mov rbx, qword [rax + 0x138]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, eax
mov rcx, rdi
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [case.0x140024ad2.8]

Function at 0x1400196d0
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rdi, rcx
mov rcx, rdx
mov rbx, qword [rax + 0x148]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, eax
mov rcx, rdi
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [case.0x140024ad2.8]

Function at 0x140019720
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rdi, rcx
mov rcx, rdx
mov rbx, qword [rax + 0x158]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, eax
mov rcx, rdi
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [case.0x140024ad2.8]