joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140025840
Capabilities:
Compare security identifiers

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x80], rbp
mov esi, 0xffffffff
xor ebp, ebp
cmp qword [rcx + 0x18], 8
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x50], rbp
jb 0x140025878
mov rcx, qword [rcx]
xor r9d, r9d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rax
lea edx, [r9 + 1]
mov qword [rsp + 0x20], rbp
lea r8d, [r9 + 4]
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
jne 0x140025939
mov qword [rsp + 0x78], rbx
xor ecx, ecx
mov qword [rsp + 0x88], rdi
call fcn.140025790
mov rcx, qword [rsp + 0x40]
mov rdi, rax
mov ebx, ebp
cmp bp, word [rcx + 4]
jae 0x14002591e
lea r8, [rsp + 0x48]
mov qword [rsp + 0x48], rbp
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_GetAce]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140025905
cmp byte [rdx], bpl
jne 0x140025905
add rdx, 8
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x140025916
mov rcx, qword [rsp + 0x40]
inc ebx
movzx eax, word [rcx + 4]
cmp ebx, eax
jl 0x1400258d3
jmp 0x14002591e
mov rax, qword [rsp + 0x48]
mov esi, dword [rax + 4]
mov rbx, qword [rsp + 0x78]
test rdi, rdi
je 0x140025931
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rdi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x80]
test rcx, rcx
je 0x140025951
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400f9560
add rsp, 0x60
pop rsi
ret
Function at 0x140025970
Capabilities:
Set file attributes

Disassembly:
push rbx
push rbp
push rdi
push r15
sub rsp, 0xa8
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor dil, dil
mov r15d, r8d
mov ebp, edx
mov rbx, rcx
cmp edx, 0xffffffff
je 0x140025b45
test edx, 0xffff0000
jne 0x1400259c9
cmp qword [rcx + 0x18], 8
jb 0x1400259b5
mov rbx, qword [rcx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp eax, 1
sete al
jmp 0x140025b49
mov qword [rsp + 0xe8], rsi
mov qword [rsp + 0xa0], r12
xor r12d, r12d
cmp qword [rcx + 0x18], 8
mov qword [rsp + 0x98], r13
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
jb 0x1400259fd
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x38], rax
xor r9d, r9d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov r13d, 4
mov r8d, r13d
mov qword [rsp + 0x20], r12
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
mov esi, eax
test eax, eax
jne 0x140025afa
mov ecx, r15d
and ecx, 0xf
call fcn.140025790
mov r14, rax
test rax, rax
je 0x140025b05
mov r8, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov ecx, 1
mov qword [rsp + 0x78], 5
xorps xmm0, xmm0
mov dword [rsp + 0x58], ebp
bt r15d, 8
mov dword [rsp + 0x60], 3
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x74], r12d
cmovb ecx, r13d
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x5c], ecx
lea ecx, [rsi + 1]
movdqu xmmword [rsp + 0x64], xmm0
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x140025aed
cmp qword [rbx + 0x18], 8
jb 0x140025ac3
mov rbx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov r8d, r13d
mov rcx, rbx
mov qword [rsp + 0x20], r12
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
test eax, eax
mov esi, eax
sete dil
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_FreeSid]
test esi, esi
je 0x140025b05
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor dil, dil
mov rcx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x90]
mov r13, qword [rsp + 0x98]
mov r12, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xe8]
test rcx, rcx
je 0x140025b35
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140025b45
call qword [sym.imp.KERNEL32.dll_LocalFree]
movzx eax, dil
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400f9560
add rsp, 0xa8
pop r15
pop rdi
pop rbp
pop rbx
ret
Function at 0x140025e70
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 8
mov rbx, rcx
jb 0x140025e83
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140025ec1
xor r8d, r8d
mov edx, 0x80
mov rcx, rbx
call fcn.140025970
mov edx, dword [0x14018acc0]
xor r8d, r8d
mov rcx, rbx
call fcn.140025970
cmp qword [rbx + 0x18], 8
jb 0x140025eb8
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
sete al
add rsp, 0x20
pop rbx
ret

Function at 0x140026100
Capabilities:
Check if file exists
Create directory
Get file attributes
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
movzx edi, r8b
mov rbx, rdx
mov rsi, rcx
call fcn.1400220d0
test eax, eax
jne 0x140026134
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
test dil, dil
je 0x14002615c
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140026146
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14002615c
movzx edx, al
mov rcx, rbx
call fcn.140021b80
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140024330
mov rdi, rax
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x140026179
mov rcx, qword [rax]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov rcx, qword [rdi + 0x18]
cmp eax, 1
jne 0x14002619c
cmp rcx, 8
jb 0x140026191
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x1400261c9
mov rdx, rdi
cmp rcx, 8
jb 0x1400261a8
mov rdx, qword [rdi]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
jne 0x1400261c9
xor r8d, r8d
mov edx, dword [0x14018acc0]
mov rcx, rdi
call fcn.140025970
nop
lea rcx, [rsp + 0x20]
call fcn.140008e70
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400261e0
mov rdx, qword [rbx]
cmp qword [rsi + 0x18], 8
jb 0x1400261ea
mov rsi, qword [rsi]
mov r8d, 2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne dil
test eax, eax
je 0x140026214
xor r8d, r8d
mov edx, dword [0x14018acc0]
mov rcx, rbx
call fcn.140025970
movzx eax, dil
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140026230
Capabilities:
Check if file exists
Copy file
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
call fcn.1400220d0
test eax, eax
jne 0x140026260
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14002626d
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x14002628a
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140024330
mov rbx, rax
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x1400262a7
mov rcx, qword [rax]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov rcx, qword [rbx + 0x18]
cmp eax, 1
jne 0x1400262ca
cmp rcx, 8
jb 0x1400262bf
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x1400262f7
mov rdx, rbx
cmp rcx, 8
jb 0x1400262d6
mov rdx, qword [rbx]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
jne 0x1400262f7
xor r8d, r8d
mov edx, dword [0x14018acc0]
mov rcx, rbx
call fcn.140025970
nop
lea rcx, [rsp + 0x20]
call fcn.140008e70
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14002630e
mov rdx, qword [rsi]
cmp qword [rdi + 0x18], 8
jb 0x140026318
mov rdi, qword [rdi]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne bl
test eax, eax
je 0x14002633e
xor r8d, r8d
mov edx, dword [0x14018acc0]
mov rcx, rsi
call fcn.140025970
movzx eax, bl
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140026510
Capabilities:
Get file version info

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edi, edi
mov rsi, rcx
cmp qword [rcx + 0x18], 8
mov dword [rsp + 0x28], edi
jb 0x14002653b
mov rcx, qword [rcx]
lea rdx, [rsp + 0x28]
mov qword [rsp + 0x80], rbp
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov r14d, eax
test eax, eax
je 0x140026672
mov qword [rsp + 0x40], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
cmp r14, 0x1000
jb 0x14002659c
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x140026699
call fcn.1400f9588
mov rcx, rax
test rax, rax
je 0x140026693
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400265a4
mov rcx, r14
call fcn.1400f9588
mov qword [rsp + 0x78], rbx
mov r8, r14
lea rbx, [rax + r14]
mov qword [rsp + 0x30], rax
xor edx, edx
mov qword [rsp + 0x40], rbx
mov rcx, rax
call fcn.1400fc160
cmp qword [rsi + 0x18], 8
mov qword [rsp + 0x38], rbx
mov rbx, qword [rsp + 0x78]
jb 0x1400265d8
mov rsi, qword [rsi]
mov r9, qword [rsp + 0x30]
mov r8d, r14d
mov edx, dword [rsp + 0x28]
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14002663a
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x2c]
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
lea rdx, str..1
mov dword [rsp + 0x2c], edi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14002663a
cmp dword [rsp + 0x2c], edi
je 0x14002663a
mov rax, qword [rsp + 0x20]
cmp dword [rax], 0xfeef04bd
jne 0x14002663a
mov edi, dword [rax + 8]
mov eax, dword [rax + 0xc]
shl rdi, 0x20
or rdi, rax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140026672
mov rdx, qword [rsp + 0x40]
mov rax, rcx
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14002666d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140026693
call fcn.1400f9580
mov rbp, qword [rsp + 0x80]
mov rax, rdi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400f9560
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
call fcn.14010402c
int3
call fcn.1400012e0
int3
Function at 0x14002a390
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
test rcx, rcx
jg 0x14002a3a0
xor al, al
add rsp, 0x28
ret
xor edx, edx
mov qword [rsp + 0x20], rdi
mov r8d, ecx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x14002a3d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [rsp + 0x20]
xor al, al
add rsp, 0x28
ret
mov edx, 1
mov qword [rsp + 0x30], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
mov rcx, rdi
setne bl
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x20]
movzx eax, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x14002a670
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov qword [rcx], r14
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 7
mov word [rcx], r14w
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.1400fc160
mov word [rsp + 0x60], r14w
mov r8d, esi
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x14002a74a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x14002a7b5
mov r8d, esi
xor edx, edx
mov ecx, 0x1010
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x14002a74a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x14002a7b5
mov r8d, esi
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14002a7b5
mov r9d, 0x104
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
mov dword [rsp + 0x50], eax
test eax, eax
jne 0x14002a7ac
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
mov dword [rsp + 0x50], eax
test eax, eax
jne 0x14002a7ac
mov dword [rsp + 0x50], 0x104
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x60]
lea edx, [rax + 1]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
lea rcx, [rsp + 0x60]
call fcn.140028a70
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r14w
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14002a7e0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.140008ee0
nop
lea rax, [rsp + 0x28]
cmp rdi, rax
je 0x14002a824
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
mov rcx, rdi
call fcn.140008ee0
nop
lea rcx, [rsp + 0x28]
call fcn.140008e70
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400f9560
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14002bb40
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
mov dword [rsp + 0x6c], 0
lea rax, [rsp + 0x60]
mov word [rsp + 0x70], 0x500
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x6c]
mov dword [rsp + 0x48], ebx
mov r9d, 0x220
mov dword [rsp + 0x40], ebx
lea r8d, [rbx + 0x20]
mov dword [rsp + 0x38], ebx
mov dl, 2
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x60], rbx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x68], eax
test eax, eax
je 0x14002bbdf
mov rdx, qword [rsp + 0x60]
lea r8, [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [rsp + 0x68]
test eax, eax
cmove ecx, ebx
mov dword [rsp + 0x68], ecx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x68]
test eax, eax
setne al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400f9560
add rsp, 0x80
pop rbx
ret

Function at 0x14002bc00
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
mov dword [rsp + 0x6c], 0
lea rax, [rsp + 0x60]
mov word [rsp + 0x70], 0x500
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x6c]
mov dword [rsp + 0x48], ebx
xor r9d, r9d
mov dword [rsp + 0x40], ebx
lea r8d, [rbx + 0x12]
mov dword [rsp + 0x38], ebx
mov dl, 1
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x60], rbx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x68], eax
test eax, eax
je 0x14002bc9c
mov rdx, qword [rsp + 0x60]
lea r8, [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [rsp + 0x68]
test eax, eax
cmove ecx, ebx
mov dword [rsp + 0x68], ecx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x68]
test eax, eax
setne al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400f9560
add rsp, 0x80
pop rbx
ret
Function at 0x14002ce60
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x28]
test rcx, rcx
je 0x14002ce92
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rbx + 0x28]
mov byte [rbx + 0x20], 0
test rcx, rcx
je 0x14002ce92
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov rax, rbx
mov qword [rbx + 0x28], rcx
cmp qword [rbx + 0x18], 8
jb 0x14002cea5
mov rax, qword [rbx]
mov qword [rbx + 0x10], rcx
mov word [rax], cx
cmp rbx, rdi
je 0x14002ceca
cmp qword [rdi + 0x18], 8
mov rdx, rdi
jb 0x14002cebe
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rbx
call fcn.140008ee0
cmp qword [rdi + 0x18], 8
mov r8, rdi
jb 0x14002ced7
mov r8, qword [rdi]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14002cf61
cmp eax, 5
je 0x14002cf11
cmp eax, 0xb7
je 0x14002cf2f
cmp qword [rbx + 0x28], 0
setne al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp qword [rdi + 0x18], 8
jb 0x14002cf1b
mov rdi, qword [rdi]
mov r8, rdi
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov qword [rbx + 0x28], rax
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x14002cf6c
cmp byte [rbx + 0x20], 0
jne 0x14002cf6c
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete al
cmp qword [rbx + 0x28], 0
mov byte [rbx + 0x20], al
setne al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp qword [rbx + 0x28], 0
je 0x14002cf71
mov byte [rbx + 0x20], 1
cmp qword [rbx + 0x28], 0
mov rbx, qword [rsp + 0x30]
setne al
add rsp, 0x20
pop rdi
ret
Function at 0x14002d650
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x30], rdx
mov rsi, qword [rdx]
mov rbp, qword [rcx + 8]
test rsi, rsi
jne 0x14002d69f
xor ebx, ebx
mov qword [rdx], rbx
mov qword [rdx + 8], rbx
mov dword [rdx + 0x10], ebx
jmp 0x14002d7f9
test rbp, rbp
je 0x14002d6b5
xor ebx, ebx
cmp dword [rdx + 0x10], 3
jne 0x14002d7ef
jmp 0x14002d7c8
mov qword [rcx + 8], 0xffffffffffffffff
mov ecx, 0x30
call fcn.1400f9588
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
mov qword [rax], rbx
mov qword [rax + 0x18], rbx
mov qword [rax + 0x28], rbx
mov qword [r14 + 0x10], rax
mov qword [rax + 0x20], r14
mov rdx, rdi
mov rcx, qword [r14 + 0x10]
call fcn.14002e020
mov rax, qword [r14 + 0x10]
mov qword [rax + 0x18], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x70], xmm1
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x88], rbx
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x98], rbx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_InitializeConditionVariable]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rax, qword [r14 + 0x10]
lea rcx, [rsp + 0x50]
mov qword [rax + 0x28], rcx
mov dword [rsp + 0x40], ebx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov r9, qword [r14 + 0x10]
lea r8, [0x14002d830]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r14 + 0x18], rax
mov ebp, dword [rsp + 0x40]
mov qword [r14 + 8], rbp
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14002d7b2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x80], rbx
cmp dword [rdi + 0x10], 3
jne 0x14002d7ef
mov rsi, qword [rdi]
test rsi, rsi
je 0x14002d7ef
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x14002d7e2
cmp rcx, rsi
mov r8, qword [rcx]
setne dl
call qword [r8 + 0x20]
mov qword [rsi + 0x38], rbx
mov edx, 0x40
mov rcx, rsi
call fcn.1400f9580
mov dword [rdi + 0x10], ebx
mov qword [rdi + 8], rbx
mov qword [rdi], rbx
mov rax, rbp
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400f9560
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140050670
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x20], edi
test dl, dl
je 0x1400507f0
mov qword [rsp + 0x28], rdi
movdqa xmm0, xmmword [0x140167e40]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], di
mov qword [rbp + 0xc0], rdi
movdqa xmm0, xmmword [0x140167e50]
movdqu xmmword [rbp + 0xd0], xmm0
mov byte [rbp + 0xc0], dil
lea r8d, [rdi + 0xe]
lea rdx, str.AdpSDKUtil.exe
lea rcx, [rbp + 0xc0]
call fcn.1400090e0
nop
lea rdx, [rsp + 0x28]
lea rcx, [rbp + 0xc0]
call fcn.14001b490
nop
lea rcx, [rbp + 0xc0]
call fcn.140009080
nop
lea r8, [rsp + 0x28]
lea rdx, [rbp + 0xa0]
lea rcx, [rsi + 0x50]
call fcn.140024500
nop
lea rcx, [rsp + 0x28]
call fcn.140008e70
lea rcx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 8
cmovae rcx, qword [rbp + 0xa0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x140050793
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0xa0]
call fcn.140024330
nop
mov edi, 1
mov dword [rsp + 0x20], edi
mov rdx, rax
lea rcx, [rsi + 0x30]
call fcn.140022730
test al, al
je 0x140050793
movzx ebx, dil
jmp 0x140050795
xor bl, bl
test dil, 1
je 0x1400507a7
lea rcx, [rbp + 0xc0]
call fcn.140008e70
test bl, bl
je 0x1400507df
lea rcx, [rsi + 0x30]
lea rax, [rbp + 0xa0]
cmp rcx, rax
je 0x1400507df
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 8
cmovae rdx, qword [rbp + 0xa0]
mov r8, qword [rbp + 0xb0]
call fcn.140008ee0
nop
lea rcx, [rbp + 0xa0]
call fcn.140008e70
jmp 0x1400508e5
lea rbx, [rcx + 0x30]
cmp byte [rcx + 0x70], dil
je 0x140050817
add rcx, 0x50
call fcn.140025b70
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140050810
mov rax, qword [rbx]
mov qword [rbx + 0x10], rdi
mov word [rax], di
lea rax, [rsi + 0x50]
cmp qword [rsi + 0x68], 8
jb 0x140050826
mov rax, qword [rsi + 0x50]
mov qword [rsi + 0x60], rdi
mov word [rax], di
lea rdx, str.AdpSDKUtil.exe
lea rcx, [rsp + 0x50]
call fcn.14009cfb0
nop
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.14009e010
nop
cmp rbx, rax
je 0x14005086c
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140050860
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140008ee0
nop
lea rcx, [rsp + 0x28]
call fcn.140008e70
nop
lea rcx, [rsp + 0x50]
call fcn.14009e310
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x140050893
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x88], rdi
lea rcx, [rbp + 0x30]
call fcn.140008e70
lea rcx, [rbp + 0x10]
call fcn.140008e70
lea rcx, [rbp - 0x10]
call fcn.140009080
lea rcx, [rbp - 0x30]
call fcn.140009080
lea rcx, [rbp - 0x50]
call fcn.140009080
lea rcx, [rbp - 0x70]
call fcn.140009080
lea rcx, [rsp + 0x70]
call fcn.140009080
lea rcx, [rsp + 0x50]
call fcn.140009080
nop
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400f9560
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14005aa80
Capabilities:
Check if file exists

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rax, r8
mov rdi, rdx
mov rbp, rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
cmp qword [r8 + 0x10], rbx
je 0x14005abad
mov r8, rdx
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14005af60
nop
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete sil
jne 0x14005ab9d
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
cmp dword [rax + 0x40], 6
jl 0x14005ab7d
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
mov r14, rax
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.1400219c0
nop
mov ebx, 1
mov dword [rsp + 0x30], ebx
cmp qword [rax + 0x18], 0x10
jb 0x14005ab65
mov rax, qword [rax]
mov r9, rax
lea r8, str.DuplicateHandler:_IsProcessed_true_for__s
mov edx, 6
mov rcx, r14
call fcn.14001e890
nop
test bl, 1
je 0x14005ab8c
lea rcx, [rsp + 0x38]
call fcn.140009080
lea r8, [rsp + 0x58]
mov rdx, rdi
mov rcx, rbp
call fcn.14005b2b0
nop
lea rcx, [rsp + 0x58]
call fcn.140008e70
movzx eax, sil
jmp 0x14005abaf
xor al, al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400f9560
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret