joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006a10
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov rbx, rdx
mov rsi, rcx
and dword [rbp - 0x20], 0
call fcn.140005e30
mov rcx, rax
test rax, rax
je 0x140006b7c
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi], rax
mov dword [rbp - 0x20], 1
lea rdx, [rbp + 0x40]
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r14, rax
test rax, rax
je 0x140006b6e
xor ebx, ebx
cmp dword [rbp + 0x40], ebx
jle 0x140006b65
mov rdi, rax
mov rdx, qword [rdi]
lea rcx, [rbp + 0x48]
call fcn.1400052f0
nop
lea rcx, [rbp + 0x48]
call fcn.1400072b0
mov rdx, qword [str.4__v]
test rdx, rdx
je 0x140006ac1
mov rcx, qword [rbp + 0x48]
cmp dword [rcx - 0x10], 0
jl 0x140006ac1
call fcn.1400111d4
test rax, rax
je 0x140006ac1
sub rax, qword [rbp + 0x48]
sar rax, 1
test eax, eax
je 0x140006aec
mov rdx, qword [rbp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140006adf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
inc ebx
add rdi, 8
cmp ebx, dword [rbp + 0x40]
jge 0x140006b65
jmp 0x140006a80
mov rax, qword [str.4__v]
mov r8d, dword [rax - 0x10]
mov rax, qword [rbp + 0x48]
mov r9d, dword [rax - 0x10]
sub r9d, r8d
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x48]
call fcn.140007410
mov ebx, 3
mov dword [rbp - 0x20], ebx
mov rdx, rax
mov rcx, rsi
call fcn.140007328
and ebx, 0xfffffffd
mov dword [rbp - 0x20], ebx
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140006b47
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140006b65
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, rsi
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005bc4
int3
Function at 0x140006b88
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov r14, rdx
mov rsi, rcx
mov rax, qword [rcx]
cmp dword [rax - 0x10], 0
je 0x140006be6
mov rax, qword [rdx]
cmp dword [rax - 0x10], 0
je 0x140006be6
mov ecx, 0x2000
call fcn.1400166b8
mov rbx, rax
test rax, rax
je 0x140006be6
mov ebp, 0x1000
mov r8d, ebp
mov rdx, rax
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test eax, eax
jne 0x140006bf3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
add rsp, 0x30
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp edi, ebp
jbe 0x140006c2d
mov rbp, rbx
mov rdx, rdi
add rdx, rdx
mov rcx, rbx
call fcn.1400166c0
mov rbx, rax
test rax, rax
jne 0x140006c1a
mov rcx, rbp
call fcn.1400139ac
jmp 0x140006be6
mov r8d, edi
mov rdx, rax
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x140006be0
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.1400052f0
nop
lea r8, [0x14002c6a4]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x78]
call fcn.1400070ac
nop
mov r8, r14
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140007170
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140007328
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140006c94
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140006cb3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x140006ccf
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
jmp 0x140006cd9
mov rcx, rbx
call fcn.1400139ac
mov bl, 1
mov rax, qword [rsp + 0x60]
lea rdx, [rax - 0x18]
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x140006cf9
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov al, bl
jmp 0x140006be8
Function at 0x1400077a0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 0x2f], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x140035010]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rdx
mov rdi, rcx
lea rcx, [rbp + 0x37]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.140005e30
mov rcx, rax
test rax, rax
je 0x140007962
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0xf], rax
movzx eax, word [rbp + 0x43]
movzx ecx, word [rbp + 0x41]
movzx edx, word [rbp + 0x3f]
movzx r10d, word [rbp + 0x3d]
movzx r9d, word [rbp + 0x39]
movzx r8d, word [rbp + 0x37]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r10d
lea rdx, str._04d__02d__02d__02d:_02d:_02d
lea rcx, [rbp + 0xf]
call fcn.14000d16c
call fcn.140005e30
mov rcx, rax
test rax, rax
je 0x140007957
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 7], rax
mov r8, rbx
lea rdx, [rbp + 0xf]
lea rcx, [rbp + 0x1f]
call fcn.140007170
nop
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.140007328
nop
mov rdx, qword [rbp + 0x1f]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007893
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rbp + 7]
call fcn.14000cef0
and qword [rbp + 0x27], 0
mov r9d, 2
lea r8, [rbp + 0x2b]
xor edx, edx
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1400078c0
call fcn.140007678
mov rbx, qword [rbp + 7]
mov r8d, dword [rbx - 0x10]
add r8d, r8d
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x17]
mov rdx, rbx
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400078ea
call fcn.140007678
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x1400078fd
call fcn.140007678
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007918
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0xf]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007936
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14000f3d0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005bc4
nop
mov ecx, 0x80004005
call fcn.140005bc4
int3
Function at 0x140009a44
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov rdi, rcx
mov rax, qword [rcx]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140009b04
lea rdx, [rbx + 0x20]
lea r8, str..bak
lea rcx, [rsp + 0x40]
call fcn.1400070ac
nop
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
sete sil
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140009ab3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test sil, sil
jne 0x140009b16
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], sil
je 0x140009ae0
mov rax, qword [rbx + 8]
jmp 0x140009ad5
cmp rbx, qword [rax + 0x10]
jne 0x140009adb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140009ac8
mov rbx, rax
jmp 0x140009afb
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x140009afb
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140009aec
cmp rbx, qword [rdi]
jne 0x140009a6f
mov al, 1
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
xor al, al
jmp 0x140009b06
Function at 0x140009b1c
Capabilities:
Check if file exists
Copy file

Disassembly:
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 8], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov r14, rcx
xor edi, edi
mov dword [rbp - 0x10], edi
mov rax, qword [rcx]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140009c5c
lea rsi, [rbx + 0x20]
lea r8, str..bak
mov rdx, rsi
lea rcx, [rbp + 0x28]
call fcn.1400070ac
nop
or edi, 1
mov dword [rbp - 0x10], edi
mov rcx, qword [rax]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140009bae
lea r8, str..bak
mov rdx, rsi
lea rcx, [rbp + 0x20]
call fcn.1400070ac
nop
or edi, 2
mov dword [rbp - 0x10], edi
xor r8d, r8d
mov rdx, qword [rsi]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140009bae
mov sil, 1
jmp 0x140009bb1
xor sil, sil
test dil, 2
je 0x140009bde
and edi, 0xfffffffd
mov dword [rbp - 0x10], edi
mov rdx, qword [rbp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140009bdb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov edi, dword [rbp - 0x10]
test dil, 1
je 0x140009c0b
and edi, 0xfffffffe
mov dword [rbp - 0x10], edi
mov rdx, qword [rbp + 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140009c08
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov edi, dword [rbp - 0x10]
test sil, sil
jne 0x140009c71
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], sil
je 0x140009c38
mov rax, qword [rbx + 8]
jmp 0x140009c2d
cmp rbx, qword [rax + 0x10]
jne 0x140009c33
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140009c20
mov rbx, rax
jmp 0x140009c53
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x140009c53
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140009c44
cmp rbx, qword [r14]
jne 0x140009b51
mov al, 1
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rbp
ret
xor al, al
jmp 0x140009c5e
Function at 0x140009c78
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 0x2f], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x140035010]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rdx
mov rdi, rcx
lea rcx, [rbp + 0x37]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.140005e30
mov rcx, rax
test rax, rax
je 0x140009e3a
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0xf], rax
movzx eax, word [rbp + 0x43]
movzx ecx, word [rbp + 0x41]
movzx edx, word [rbp + 0x3f]
movzx r10d, word [rbp + 0x3d]
movzx r9d, word [rbp + 0x39]
movzx r8d, word [rbp + 0x37]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r10d
lea rdx, str._04d__02d__02d__02d:_02d:_02d_
lea rcx, [rbp + 0xf]
call fcn.14000d16c
call fcn.140005e30
mov rcx, rax
test rax, rax
je 0x140009e2f
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 7], rax
mov r8, rbx
lea rdx, [rbp + 0xf]
lea rcx, [rbp + 0x1f]
call fcn.140007170
nop
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.140007328
nop
mov rdx, qword [rbp + 0x1f]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140009d6b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rbp + 7]
call fcn.14000cef0
and qword [rbp + 0x27], 0
mov r9d, 2
lea r8, [rbp + 0x2b]
xor edx, edx
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
push qword [rbp + 5]
mov ecx, 0x80004005
call fcn.140005bc4
nop
mov ecx, 0x80004005
call fcn.140005bc4
int3
Function at 0x14000a214
Capabilities:
Get token membership

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140035010]
xor rax, rsp
mov qword [rbp - 8], rax
and dword [rbp - 0x10], 0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x10]
and dword [rsp + 0x48], 0
mov r9d, 0x220
and dword [rsp + 0x40], 0
mov r8d, 0x20
and dword [rsp + 0x38], 0
mov dl, 2
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov word [rbp - 0xc], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp - 0x20], eax
test eax, eax
je 0x14000a2a2
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp - 0x20], ecx
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp - 0x20]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14000f3d0
add rsp, 0x80
pop rbp
ret

Function at 0x14000a2b8
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x48]
sub rsp, 0x140
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x140035010]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rbx, rcx
mov qword [rsp + 0x58], rcx
and dword [rsp + 0x30], 0
lea rcx, [rsp + 0x38]
call fcn.1400061c0
nop
xor edx, edx
mov r8d, 0xc8
lea rcx, [rsp + 0x60]
call fcn.140010f90
lea r8, str.__..__AliWorkbench.ini
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.1400070ac
nop
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x64
lea r9, [rsp + 0x60]
lea r8, [0x14002c7b4]
lea rdx, str.Version
lea rcx, str.Common
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000a373
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.1400052f0
nop
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400052f0
mov dword [rsp + 0x30], 1
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000a3b8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14000a3d8
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov rax, rbx
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14000f3d0
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rbp
ret
Function at 0x14000a3fc
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x48]
sub rsp, 0x140
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x140035010]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rbx, rcx
mov qword [rsp + 0x58], rcx
and dword [rsp + 0x30], 0
lea rcx, [rsp + 0x38]
call fcn.1400061c0
nop
xor edx, edx
mov r8d, 0xc8
lea rcx, [rsp + 0x60]
call fcn.140010f90
lea r8, str.__new_AliWorkbench.ini
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.1400070ac
nop
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x64
lea r9, [rsp + 0x60]
lea r8, [0x14002c7b4]
lea rdx, str.Version
lea rcx, str.Common
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000a4b7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.1400052f0
nop
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400052f0
mov dword [rsp + 0x30], 1
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000a4fc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14000a51c
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov rax, rbx
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14000f3d0
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rbp
ret
Function at 0x14000b680
Capabilities:
Check os version
Create process on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x108]
sub rsp, 0x200
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x140035010]
xor rax, rsp
mov qword [rbp + 0xf0], rax
call fcn.14000a214
test eax, eax
je 0x14000b6c0
xor al, al
jmp 0x14000b7c4
lea rcx, [rsp + 0x28]
call fcn.140005fdc
nop
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp - 0x4c]
call fcn.140010f90
mov dword [rbp - 0x50], 0x11c
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14000b6fe
cmp dword [rbp - 0x4c], 6
lea r8, str.runas
jae 0x14000b705
lea r8, str.open
mov edx, 0x10
lea rcx, [rbp + 0xd0]
call fcn.140017904
lea r8, str.UpdateReplaceState_RunShell
lea rdx, [0x140036f90]
lea rcx, [rsp + 0x20]
call fcn.1400070ac
nop
mov ebx, 0x70
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140010f90
mov dword [rsp + 0x40], ebx
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x60], rax
and dword [rsp + 0x70], 0
and dword [rsp + 0x44], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
sete bl
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000b7a2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x28]
lea rdx, [rax - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14000b7c2
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov al, bl
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.14000f3d0
mov rbx, qword [rsp + 0x210]
add rsp, 0x200
pop rbp
ret
Function at 0x140017e20
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140017b84
Function at 0x140015340
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400154cb
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x1403dcc58]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.140034ca0
xorps xmm15, xmm15
mov r14, qword [0x14073eb60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x1400153a5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x1400153b4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x1400153d3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x1400153e3
cmp rbx, 0x1000
jae 0x1400153ab
jmp 0x14001544d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x1400153f5
xor edx, edx
jmp 0x140015444
mov rcx, qword [0x1403dcc58]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.140034ca0
xorps xmm15, xmm15
mov r14, qword [0x14073eb60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x1400153d9
jmp 0x1400153c8
call fcn.140075c80
xorps xmm15, xmm15
mov r14, qword [0x14073eb60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.1400399a0
lea rax, [0x140485772]
mov ebx, 0x18
nop dword [rax]
call fcn.14003a220
mov rax, qword [rsp + 0x38]
call fcn.140039f60
lea rax, [0x140486106]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.14003a220
mov rax, qword [rsp + 0x30]
call fcn.140039f60
call fcn.140039be0
call fcn.140039a00
lea rax, [0x14048af0a]
mov ebx, 0x21
call fcn.14006c120
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140072520
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.140015340
Function at 0x140015500
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140015726
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x1403dcc50]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.140034d20
xorps xmm15, xmm15
mov r14, qword [0x14073eb60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x140015573
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x140015582
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x1400155a5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x1400155b5
cmp rbx, 0x1000
jae 0x140015579
nop
jmp 0x140015638
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x1400155cd
xor esi, esi
jmp 0x14001562a
mov rax, qword [0x1403dcc50]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.140034d20
xorps xmm15, xmm15
mov r14, qword [0x14073eb60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x1400155ab
jmp 0x140015596
call fcn.140075c80
xorps xmm15, xmm15
mov r14, qword [0x14073eb60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x1400156c0
nop dword [rax + rax]
call fcn.1400399a0
lea rax, [0x14048611f]
mov ebx, 0x19
call fcn.14003a220
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.140039f60
lea rax, [0x140486106]
mov ebx, 0x19
call fcn.14003a220
mov eax, dword [rsp + 0x34]
call fcn.140039f60
nop
call fcn.140039be0
call fcn.140039a00
lea rax, [0x14047fa63]
mov ebx, 0xd
call fcn.14006c120
nop dword [rax + rax]
cmp eax, 0x5af
je 0x140015660
call fcn.1400399a0
lea rax, [0x14048611f]
mov ebx, 0x19
call fcn.14003a220
mov rax, qword [rsp + 0x38]
call fcn.140039f60
lea rax, [0x140486106]
mov ebx, 0x19
call fcn.14003a220
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.140039f60
call fcn.140039be0
call fcn.140039a00
lea rax, [0x140489c96]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.14006c120
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140072520
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.140015500