joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140132fa0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rcx
lea rdx, str.CBaseInfoPrinterEx::IsExistRestoreFile
lea rcx, [rsp + 0x40]
call fcn.14001abe0
nop
lea rsi, [0x1402a8360]
lea rdi, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, rsi
je 0x140133021
test byte [rcx + 0x1c], 1
je 0x140133021
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, send
lea r8, [0x140261f68]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
mov dword [rsp + 0x30], 0
lea rcx, [rbx + 8]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
test eax, eax
je 0x140133087
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x68]
call qword [case.0x1400136d6.0]
mov r8, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x88]
lea rdx, [rsp + 0x30]
mov rcx, r8
call qword [case.0x1400136d6.0]
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140133085
cmp eax, 0x3e8
je 0x140133085
cmp eax, 0x270f
je 0x140133085
mov ebx, 1
jmp 0x140133087
xor ebx, ebx
mov al, 1
mov byte [rsp + 0x48], al
mov rcx, qword [0x1402a8360]
cmp rcx, rsi
je 0x1401330d6
test byte [rcx + 0x1c], al
je 0x1401330d6
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, reloc.WSOCK32.dll_send
mov dword [rsp + 0x20], ebx
lea r8, [0x140261f68]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
movzx eax, byte [rsp + 0x48]
mov rcx, qword [0x1402a8360]
lea rdx, vtable.WppTrace.0
mov qword [rsp + 0x40], rdx
test al, al
jne 0x14013312f
cmp rcx, rsi
je 0x14013312f
test byte [rcx + 0x1c], 1
je 0x14013312f
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rax, qword [rsp + 0x50]
cmp qword [0x1402bbdc8], 8
cmovae rdi, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, [0x140252818]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rsp + 0x70]
call fcn.1400048a0
lea rcx, [rsp + 0x50]
call fcn.1400048a0
mov eax, ebx
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140144da0
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rcx
lea rdx, str.CBaseInfoProperty::DeletePropertyInfoFile
lea rcx, [rsp + 0x30]
call fcn.14001abe0
nop
lea rsi, [0x1402a8360]
lea rdi, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, rsi
je 0x140144e21
test byte [rcx + 0x1c], 1
je 0x140144e21
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x18
lea r8, [0x1402634c0]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x58]
call qword [case.0x1400136d6.0]
add rbx, 0x18
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140144e59
mov edx, 0x20
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, 1
mov byte [rsp + 0x38], al
mov rcx, qword [0x1402a8360]
cmp rcx, rsi
je 0x140144eac
test byte [rcx + 0x1c], al
je 0x140144eac
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x19
mov dword [rsp + 0x20], 0
lea r8, [0x1402634c0]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
movzx eax, byte [rsp + 0x38]
mov rcx, qword [0x1402a8360]
lea rdx, vtable.WppTrace.0
mov qword [rsp + 0x30], rdx
test al, al
jne 0x140144f05
cmp rcx, rsi
je 0x140144f05
test byte [rcx + 0x1c], 1
je 0x140144f05
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rax, qword [rsp + 0x40]
cmp qword [0x1402bbdc8], 8
cmovae rdi, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, [0x140252818]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rsp + 0x60]
call fcn.1400048a0
lea rcx, [rsp + 0x40]
call fcn.1400048a0
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140151060
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x490
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rbx, rdx
mov rdi, rcx
xor r15d, r15d
mov rax, qword [rcx]
mov rax, qword [rax + 0x98]
call qword [case.0x1400136d6.0]
test al, al
jne 0x140151274
mov rax, qword [rdi]
mov rdx, rbx
mov rcx, rdi
mov rax, qword [rax + 0xa0]
call qword [case.0x1400136d6.0]
nop
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x38]
call qword [case.0x1400136d6.0]
mov rbx, qword [rdi]
test al, al
je 0x1401510ef
mov edx, 4
mov rcx, rdi
mov rax, qword [rbx + 0x80]
call qword [case.0x1400136d6.0]
jmp 0x140151256
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.1401e7e40
mov r9d, 0x104
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, rdi
mov rax, qword [rbx + 0x70]
call qword [case.0x1400136d6.0]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r15
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0xb0]
call qword [case.0x1400136d6.0]
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.140150cb0
mov r14, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
cmp r14, rsi
sete r12b
je 0x1401511cc
mov rbx, r14
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x270]
call fcn.1401e7e40
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140151182
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x1402528f8]
mov edx, 0x104
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x270]
call fcn.140051530
lea rcx, [rsp + 0x270]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1401511df
add rbx, 0x20
cmp rbx, rsi
jne 0x140151160
mov rax, qword [rdi]
sub rax, 0xffffffffffffff80
test r12b, r12b
je 0x1401511ed
mov edx, 2
jmp 0x1401511f2
mov rax, qword [rdi]
sub rax, 0xffffffffffffff80
mov edx, 2
jmp 0x1401511f2
mov edx, 1
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x1400136d6.0]
nop
test r14, r14
je 0x140151256
mov rbx, r14
cmp r14, rsi
je 0x140151221
nop dword [rax]
mov rcx, rbx
call fcn.1400048a0
add rbx, 0x20
cmp rbx, rsi
jne 0x140151210
mov rdx, qword [rsp + 0x48]
sub rdx, r14
and rdx, 0xffffffffffffffe0
mov rax, r14
cmp rdx, 0x1000
jb 0x14015124e
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401512af
mov rcx, r14
call fcn.1400079c0
mov rax, qword [rdi]
mov dl, 1
mov rcx, rdi
mov rax, qword [rax + 0x90]
call qword [case.0x1400136d6.0]
jmp 0x140151284
mov r15d, 0x80010004
mov dword [0x1402bbd98], 4
mov eax, r15d
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1401e2900
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x490
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.1401ec41c
int3
Function at 0x140151680
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1060
call fcn.1401e33b0
sub rsp, rax
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rbx, rcx
xor ebp, ebp
mov edi, ebp
mov rax, qword [rcx]
mov rax, qword [rax + 0x98]
call qword [case.0x1400136d6.0]
test al, al
jne 0x1401516de
mov dword [0x1402bbd98], 4
mov eax, 0x80010004
jmp 0x1401518af
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x850]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x50]
call fcn.1401e7e40
lea rcx, [rsp + 0x30]
call fcn.140091e00
nop
mov rax, qword [rbx]
mov r9d, 0x400
lea r8, [rsp + 0x850]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 0x70]
call qword [case.0x1400136d6.0]
test eax, eax
je 0x140151758
mov rax, qword [rbx]
mov r9d, 0x400
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, rbx
mov rax, qword [rax + 0x70]
call qword [case.0x1400136d6.0]
test eax, eax
jne 0x140151767
mov dword [0x1402bbd98], 0xc
mov edi, 0x8001000c
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140151785
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140098690
test edi, edi
jne 0x1401518a3
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbp
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0xb0]
call qword [case.0x1400136d6.0]
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.140150cb0
test eax, eax
je 0x1401517ea
mov rax, qword [rbx]
mov byte [rsp + 0x20], dil
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x850]
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov rax, qword [rax + 0x78]
call qword [case.0x1400136d6.0]
mov edi, eax
jmp 0x1401517f9
mov edi, 0x80010002
mov dword [0x1402bbd98], 2
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1401518a3
mov rsi, qword [rsp + 0x40]
cmp rbx, rsi
je 0x14015186d
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140151850
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14015184b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401518d8
mov rcx, r8
call fcn.1400079c0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
add rbx, 0x20
cmp rbx, rsi
jne 0x140151811
mov rbx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x14015189a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401518d8
mov rcx, rbx
call fcn.1400079c0
nop
lea rcx, [rsp + 0x30]
call fcn.140091f70
mov eax, edi
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0x1060]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1401ec41c
nop
int3
Function at 0x1401521f0
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0xa50
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rsp + 0xa40], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x800
call fcn.1401e7e40
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.1401e7e40
mov rax, qword [rbx]
lea r8, [rsp + 0x240]
mov r9d, 0x400
xor edx, edx
mov rcx, rbx
mov rax, qword [rax + 0x70]
call qword [case.0x1400136d6.0]
test eax, eax
je 0x1401522ae
mov r8d, 0x104
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea rcx, str.MFNP_ALRDY_INST.ini
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x30]
movsxd rbx, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
add rcx, rbx
cmp rcx, 0x104
jae 0x1401522ae
lea rdx, str.MFNP_ALRDY_INST.ini
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
mov rcx, qword [rsp + 0xa40]
xor rcx, rsp
call fcn.1401e2900
add rsp, 0xa50
pop rbx
ret
Function at 0x1401522e0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1060
call fcn.1401e33b0
sub rsp, rax
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rbx, rcx
xor ebp, ebp
mov edi, ebp
lea rcx, [rsp + 0x30]
call fcn.140091e00
nop
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x50]
call fcn.1401e7e40
mov rax, qword [rbx]
mov r9d, 0x400
lea r8, [rsp + 0x50]
lea edx, [rbp + 1]
mov rcx, rbx
mov rax, qword [rax + 0x70]
call qword [case.0x1400136d6.0]
test eax, eax
je 0x140152375
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140152375
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140098690
jmp 0x140152384
mov dword [0x1402bbd98], 9
mov edi, 0x80010009
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x850]
call fcn.1401e7e40
test edi, edi
jne 0x1401524f2
mov rax, qword [rbx]
mov r9d, 0x400
lea r8, [rsp + 0x850]
lea edx, [rdi + 2]
mov rcx, rbx
mov rax, qword [rax + 0x70]
call qword [case.0x1400136d6.0]
test eax, eax
jne 0x1401523da
mov edi, 0x80010009
mov dword [0x1402bbd98], 9
jmp 0x1401524f2
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbp
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0xb0]
call qword [case.0x1400136d6.0]
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.140150d70
test eax, eax
je 0x140152437
mov rax, qword [rbx]
mov byte [rsp + 0x20], 0
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x850]
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov rax, qword [rax + 0x78]
call qword [case.0x1400136d6.0]
mov edi, eax
jmp 0x140152446
mov edi, 0x80010002
mov dword [0x1402bbd98], 2
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1401524f2
mov rsi, qword [rsp + 0x40]
cmp rbx, rsi
je 0x1401524bc
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14015249f
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14015249a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140152527
mov rcx, r8
call fcn.1400079c0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
add rbx, 0x20
cmp rbx, rsi
jne 0x140152460
mov rbx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1401524e9
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140152527
mov rcx, rbx
call fcn.1400079c0
nop
lea rcx, [rsp + 0x30]
call fcn.140091f70
mov eax, edi
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0x1060]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1401ec41c
nop
int3
Function at 0x140153150
Capabilities:
Check if file exists
Copy file
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x470
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rsi, r9
mov r14, r8
mov rbp, rdx
xor edi, edi
test rdx, rdx
je 0x14015330c
test r8, r8
je 0x14015330c
mov rax, qword [r9 + 8]
cmp qword [r9], rax
je 0x14015330c
mov rcx, r8
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14015330c
lea rcx, [rsp + 0x30]
call fcn.140091e00
nop
cmp byte [rsp + 0x4b0], dil
je 0x1401531e1
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1401531e1
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.140098690
mov rbx, qword [rsi]
cmp rbx, qword [rsi + 8]
je 0x1401532fe
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x40]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x250]
call fcn.1401e7e40
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140153224
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [0x1402528f8]
mov edx, 0x104
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x40]
call fcn.140051530
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140153258
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
lea r9, [0x1402528f8]
mov edx, 0x104
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x250]
call fcn.140051530
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1401532e1
mov r9d, 1
lea r8, [rsp + 0x250]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.1400948e0
test eax, eax
jle 0x1401532f0
xor r8d, r8d
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1401532e1
mov edx, 0x20
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x1401532f0
mov dword [0x1402bbd98], 0xc
mov edi, 0x8001000c
add rbx, 0x20
cmp rbx, qword [rsi + 8]
jne 0x1401531f0
lea rcx, [rsp + 0x30]
call fcn.140091f70
mov eax, edi
jmp 0x14015331b
mov dword [0x1402bbd98], 1
mov eax, 0x80010001
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14015d7a0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x4b0
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov r14d, r8d
mov rbp, rdx
mov r15, rcx
lea rdx, str.CBaseOSSpec::GetSpoolerFileName
lea rcx, [rsp + 0x30]
call fcn.14001abe0
nop
lea r12, [0x1402a8360]
lea rsi, [0x1402bbdb0]
mov rbx, qword [0x1402a8360]
cmp rbx, r12
je 0x14015d86d
test byte [rbx + 0x1c], 1
je 0x14015d82e
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, reloc.OLEAUT32.dll_SysAllocStringByteLen
lea r8, [0x1402646c0]
mov rcx, qword [rbx + 0x10]
call fcn.140001ad0
mov rbx, qword [0x1402a8360]
cmp rbx, r12
je 0x14015d86d
test byte [rbx + 0x1c], 1
je 0x14015d86d
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, reloc.OLEAUT32.dll_DllRegisterServer
mov dword [rsp + 0x20], r14d
lea r8, [0x1402646c0]
mov rcx, qword [rbx + 0x10]
call fcn.140001b40
mov rbx, qword [0x1402a8360]
mov edi, 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x290]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x80]
call fcn.1401e7e40
cmp qword [r15 + 0x10], 0
je 0x14015d94c
test rbp, rbp
jne 0x14015d8b3
xor edi, edi
jmp 0x14015d94c
lea r8, [r14 + r14]
xor edx, edx
mov rcx, rbp
call fcn.1401e7e40
mov rcx, qword [r15 + 0x10]
mov rax, qword [rcx]
mov r8d, 0x104
lea rdx, [rsp + 0x290]
mov rax, qword [rax + 0x120]
call qword [case.0x1400136d6.0]
mov edi, eax
test eax, eax
je 0x14015d945
mov edx, 0x104
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14015d943
lea rcx, [rsp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rax, [rsp + 0x290]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [0x1402528f8]
mov r8, 0xffffffffffffffff
mov rdx, r14
mov rcx, rbp
call fcn.140051530
jmp 0x14015d945
xor edi, edi
mov rbx, qword [0x1402a8360]
mov al, 1
mov byte [rsp + 0x38], al
cmp rbx, r12
je 0x14015d999
test byte [rbx + 0x1c], al
je 0x14015d999
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x97
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbp
lea r8, [0x1402646c0]
mov rcx, qword [rbx + 0x10]
call fcn.140047db0
movzx eax, byte [rsp + 0x38]
mov rbx, qword [0x1402a8360]
lea rcx, vtable.WppTrace.0
mov qword [rsp + 0x30], rcx
test al, al
jne 0x14015d9f2
cmp rbx, r12
je 0x14015d9f2
test byte [rbx + 0x1c], 1
je 0x14015d9f2
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rax, qword [rsp + 0x40]
cmp qword [0x1402bbdc8], 8
cmovae rsi, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, [0x140252818]
mov rcx, qword [rbx + 0x10]
call fcn.140006c90
lea rcx, [rsp + 0x60]
call fcn.1400048a0
lea rcx, [rsp + 0x40]
call fcn.1400048a0
mov eax, edi
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.1401e2900
add rsp, 0x4b0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140165050
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov esi, edx
lea rcx, [rsp + 0x30]
lea rdx, str.CBaseOSSpecTypeWin2K::DeleteOldUnInstall
mov rbx, r8
call fcn.14001abe0
mov rax, qword [0x1402a8360]
lea rbp, [0x1402a8360]
lea rdi, [0x1402bbdb0]
cmp rax, rbp
je 0x140165121
test byte [rax + 0x1c], 1
je 0x1401650de
cmp qword [0x1402bbdc8], 8
lea r8, [0x140265800]
mov rcx, qword [rax + 0x10]
mov r9, rdi
cmovae r9, qword [0x1402bbdb0]
mov edx, 0xa8
call fcn.140001ad0
mov rax, qword [0x1402a8360]
cmp rax, rbp
je 0x140165121
test byte [rax + 0x1c], 1
je 0x140165121
cmp qword [0x1402bbdc8], 8
lea r8, [0x140265800]
mov rcx, qword [rax + 0x10]
mov r9, rdi
cmovae r9, qword [0x1402bbdb0]
mov edx, 0xa9
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
call fcn.14001d1d0
mov rax, qword [0x1402a8360]
test esi, esi
je 0x140165141
mov byte [rsp + 0x38], 1
mov ebx, reloc.WSOCK32.dll_socket
cmp rax, rbp
je 0x1401651b2
test byte [rax + 0x1c], 1
je 0x1401651b2
mov edx, 0xaa
jmp 0x140165184
lea r9, str.UNINSTAL.tmp
mov r8, rbx
lea rdx, [0x140252608]
mov rcx, rbx
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [rsp + 0x38], 1
mov rax, qword [0x1402a8360]
mov ebx, 1
cmp rax, rbp
je 0x1401651b2
test byte [rax + 0x1c], bl
je 0x1401651b2
mov edx, 0xab
cmp qword [0x1402bbdc8], 8
lea r8, [0x140265800]
mov rcx, qword [rax + 0x10]
mov r9, rdi
cmovae r9, qword [0x1402bbdb0]
mov dword [rsp + 0x20], ebx
call fcn.140001b40
mov rax, qword [0x1402a8360]
cmp byte [rsp + 0x38], 0
lea rcx, vtable.WppTrace.0
mov qword [rsp + 0x30], rcx
jne 0x14016520e
cmp rax, rbp
je 0x14016520e
test byte [rax + 0x1c], 1
je 0x14016520e
cmp qword [rsp + 0x58], 8
lea rcx, [rsp + 0x40]
mov edx, 0xa
lea r8, [0x140252818]
cmovae rcx, qword [rsp + 0x40]
cmp qword [0x1402bbdc8], 8
mov qword [rsp + 0x20], rcx
cmovae rdi, qword [0x1402bbdb0]
mov rcx, qword [rax + 0x10]
mov r9, rdi
call fcn.140006c90
lea rcx, [rsp + 0x60]
call fcn.1400048a0
lea rcx, [rsp + 0x40]
call fcn.1400048a0
mov eax, ebx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret