joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4503a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45044f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x004504a0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00457220
xorps xmm15, xmm15
mov r14, qword [0x005462c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00457360
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.004503a0
Function at 0x4591a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00546360]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005460a9], 0
je 0x4591d6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00546640]
aesenc xmm0, xmmword [0x00546650]
aesenc xmm0, xmmword [0x00546660]
movq rax, xmm0
ret
jmp 0x407e00

Function at 0x45ae80
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x45aeb4
mov rcx, 0x28
jmp 0x45aebf
shl rcx, 3
add rcx, 0x1480
mov qword [0x005462c0], rcx
pop rbp
ret

Function at 0x461c20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x461cea
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00402820
xorps xmm15, xmm15
mov r14, qword [0x005462c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x461ccf
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x0046f1c0]
xor ebx, ebx
mov rcx, rdx
call fcn.00442a00
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.00461f80
inc rbx
cmp rcx, rbx
jae 0x461cbe
mov edi, 1
lea rsi, [0x0046f1c0]
call fcn.00442ae0
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x00498c98]
lea rsi, [0x00498918]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00457360
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00461c20
Function at 0x5048e0
Capabilities:
Suspend thread

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x50], rcx
mov rax, qword [rbp + 0x50]
movzx rax, byte [rax + 0x1b]
mov byte [rbp + 0x3f], al
nop
mov rax, qword [rbp + 0x50]
mov byte [rax + 0x1b], 1
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x10]
call sub.kernel32.dll_SuspendThread
mov rcx, qword [rbp + 0x50]
test eax, eax
setge dl
call fcn.00503a60
jmp 0x50493b
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x504960
Capabilities:
Resume thread

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, qword [rbx + 0x10]
call sub.kernel32.dll_ResumeThread
mov esi, eax
mov rcx, rbx
test esi, esi
setge dl
call fcn.00503a60
cmp esi, 1
jne 0x50498a
mov byte [rbx + 0x1b], 0
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x52d760
Capabilities:
Get hostname

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x50], rcx
mov dword [rbp + 0x34], 0x1f
mov ecx, dword [rbp + 0x34]
call fcn.004091b0
mov qword [rbp + 0x38], rax
nop
mov rcx, qword [rbp + 0x38]
lea rdx, [rbp + 0x34]
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x52d7a4
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x38]
call fcn.0040ffe0
jmp 0x52d7b8
mov rcx, qword [rbp + 0x50]
mov edx, 1
mov r8d, 2
call fcn.0052ca10
nop
mov rcx, qword [rbp + 0x38]
call fcn.004091e0
mov rax, qword [rbp + 0x50]
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x52dfe0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x90
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rdx
mov qword [rbp + 0x50], r8
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x88], 0
nop
lea rcx, [rbp + 0x78]
mov edx, 0xd
mov r8d, 0xe
call fcn.0052ca10
lea rcx, [rbp + 0x70]
mov edx, 0xe
mov r8d, 0xf
call fcn.0052ca10
lea rcx, [rbp + 0x88]
mov edx, 6
mov r8, qword [rbp + 0x78]
mov r9, qword [rbp + 0x40]
mov rax, qword [rbp + 0x70]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [0x0052e18c]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x38], rax
call fcn.00410480
lea rcx, [rbp + 0x68]
mov edx, 0xf
mov r8d, 0x10
call fcn.0052ca10
mov rcx, qword [rbp + 0x68]
call fcn.0040ff50
mov rbx, rax
lea rcx, [rbp + 0x60]
mov edx, 0x10
mov r8d, 0x11
call fcn.0052ca10
mov rcx, qword [rbp + 0x60]
call fcn.0040ff50
mov rsi, rax
lea rcx, [rbp + 0x58]
mov edx, 0x11
mov r8d, 0x12
call fcn.0052ca10
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x88]
call fcn.00410280
mov rcx, qword [rbp + 0x58]
call fcn.0040ff50
xor ecx, ecx
mov rdx, rbx
mov r8, rsi
mov r9, rax
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
call sub.shell32.dll_ShellExecuteW
nop
lea rcx, [rbp + 0x58]
mov edx, 5
call fcn.0040ecc0
lea rcx, [rbp + 0x88]
call fcn.0040ebe0
lea rsp, [rbp + 0x90]
pop rbx
pop rsi
pop rbp
ret
Function at 0x18000e450
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
call fcn.1800f3bb0
test al, al
je 0x18000e472
mov rcx, qword [rbx]
add rsp, 0x20
pop rbx
jmp fcn.18010a9d0
add rsp, 0x20
pop rbx
ret
Function at 0x18005c3c0
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x48
mov qword [r11 - 0x38], 0xfffffffffffffffe
mov rsi, rcx
lea rax, vtable.RCThreadPoolManage.0
mov qword [rcx], rax
xor ebp, ebp
mov dword [rcx + 0x10], ebp
lea rdi, [rcx + 0x18]
mov qword [r11 + 0x10], rdi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], rdi
mov qword [rdi], rbp
mov qword [rdi + 8], rbp
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], rbp
mov qword [rdi + 0x20], rbp
lea ecx, [rbp + 0x10]
call fcn.18022a7fc
mov qword [rdi], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rax, qword [rdi]
mov qword [rax], rdi
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
lea rbx, [rsi + 0x68]
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
xor r8d, r8d
xor edx, edx
call fcn.18002ae10
mov qword [rbx], rax
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
lea rbx, [rsi + 0xa0]
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
lea ecx, [rbp + 0x10]
call fcn.18022a7fc
mov qword [rbx], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rax, qword [rbx]
mov qword [rax], rbx
lea rcx, [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov byte [rsi + 0xc], bpl
lea ecx, [rbp + 0x30]
call fcn.18022a7fc
mov rbx, rax
mov qword [rsp + 0x78], rax
mov qword [rax + 8], 0xffffffffffffffff
mov byte [rax + 0x10], bpl
mov qword [rax + 0x20], rbp
mov qword [rax + 0x28], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x18], rax
mov rdx, rbx
mov rcx, rdi
call fcn.18005cde0
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebp
mov r9, rbx
lea r8, [0x18005ced0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 8], rax
mov rax, rsi
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800ad290
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x1800ad2d4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1800ad2c0
ret
Function at 0x1800b41a0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rbx, dword [rcx + 0x10]
call fcn.18019dc90
mov edx, ebx
mov rcx, rax
mov rdi, rax
call fcn.18019dd30
mov rcx, rbx
add rcx, rcx
mov rcx, qword [rdi + rcx*8]
test rcx, rcx
je 0x1800b41de
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.18019d9e0
mov rbx, qword [rsp + 0x30]
mov eax, 2
add rsp, 0x20
pop rdi
ret
Function at 0x1800d3c80
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb8]
call qword [rax + 0x1e0]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800d3d9f
mov rax, qword [rsp + 0x30]
add rax, 0x2a8
mov rcx, rax
call fcn.180006ed0
movzx eax, al
test eax, eax
je 0x1800d3d02
mov rax, qword [rsp + 0x30]
add rax, 0xb0
mov qword [rsp + 0x38], rax
jmp 0x1800d3d12
mov rax, qword [rsp + 0x30]
add rax, 0x2a8
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.180007b10
nop
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0xb0]
call fcn.1800d3500
movzx eax, al
test eax, eax
jne 0x1800d3d95
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1800f8500
nop
lea rcx, [rsp + 0x70]
call fcn.180007a40
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
mov r9, rax
lea r8, str.explorer.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rcx, [rsp + 0x70]
call fcn.180006f10
nop
lea rcx, [rsp + 0x50]
call fcn.180006f10
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.18022a7d0
add rsp, 0xa8
ret
Function at 0x1800d3dc0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x118]
call qword [rax + 0x1e0]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800d3f65
mov rax, qword [rsp + 0x30]
add rax, 0x2a8
mov rcx, rax
call fcn.180006ed0
movzx eax, al
test eax, eax
je 0x1800d3e42
mov rax, qword [rsp + 0x30]
add rax, 0xb0
mov qword [rsp + 0x38], rax
jmp 0x1800d3e52
mov rax, qword [rsp + 0x30]
add rax, 0x2a8
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x90]
call fcn.180007b10
nop
lea rcx, [rsp + 0x70]
call fcn.180006f70
nop
mov rax, qword [rsp + 0x110]
cmp dword [rax + 0x70], 3
jne 0x1800d3ecb
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xb0]
call fcn.1800f8500
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.180007ab0
nop
lea rcx, [rsp + 0xb0]
call fcn.180006f10
jmp 0x1800d3f1d
lea rdx, str._select_
lea rcx, [rsp + 0x70]
call fcn.180007a90
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xd0]
call fcn.1800f8500
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.180007a70
nop
lea rcx, [rsp + 0xd0]
call fcn.180006f10
lea rcx, [rsp + 0x70]
call fcn.180007a40
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x180266898]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rcx, [rsp + 0x70]
call fcn.180006f10
nop
lea rcx, [rsp + 0x90]
call fcn.180006f10
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.18022a7d0
add rsp, 0x108
ret
Function at 0x1800e0e40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x10]
mov rbx, rcx
mov r11d, eax
mov r9d, eax
and r11d, 7
je 0x1800e0e74
cmp eax, r11d
jge 0x1800e0e65
call fcn.1800e04a0
mov eax, dword [rbx + 0x10]
mov ecx, r11d
shr dword [rbx + 0x14], cl
sub eax, r11d
mov dword [rbx + 0x10], eax
mov r9d, eax
xor r8d, r8d
test eax, eax
jle 0x1800e0eb0
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbx + 0x14]
inc r8d
mov byte [rdx], al
inc rdx
lea eax, [r9 - 8]
shr ecx, 8
mov dword [rbx + 0x14], ecx
mov r9d, eax
test eax, eax
jg 0x1800e0e90
mov dword [rbx + 0x10], eax
jns 0x1800e0edd
mov edx, dword [0x1803325b0]
mov rax, qword gs:[0x58]
mov ecx, 0x20
mov rax, qword [rax + rdx*8]
lea rdx, str.zlib_corrupt
mov qword [rcx + rax], rdx
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x1800e0f0f
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
nop dword [rax]
cmp rax, r8
jb 0x1800e0ef9
xor dl, dl
jmp 0x1800e0f02
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x1800e0ef0
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x1800e0eb2
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x1800e0f84
mov edx, dword [0x1803325b0]
mov rax, qword gs:[0x58]
mov ecx, 0x20
mov rax, qword [rax + rdx*8]
lea rdx, str.read_past_buffer
mov qword [rcx + rax], rdx
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x1800e0f9e
mov rcx, rbx
call fcn.1800e05f0
test eax, eax
je 0x1800e0f77
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x1800f69e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x450
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rsp + 0x440], rax
xor edi, edi
mov rbx, rcx
cmp qword [rcx + 0x18], 8
mov rax, rcx
mov qword [rcx + 0x10], rdi
jb 0x1800f6a15
mov rax, qword [rcx]
xor edx, edx
mov word [rax], di
mov r8d, 0x412
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov ecx, 0x208
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x1800f6a42
xor al, al
jmp 0x1800f6a79
cmp eax, 0x208
jae 0x1800f6a3e
mov word [rsp + 0x430], di
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], di
jne 0x1800f6a60
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.180007110
mov al, 1
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.18022a7d0
mov rbx, qword [rsp + 0x468]
add rsp, 0x450
pop rdi
ret
Function at 0x180100850
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1801008a0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, rbx
je 0x1801008a0
xor edx, edx
mov qword [rsp + 0x38], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne dil
test eax, eax
je 0x180100891
mov edx, 0x1388
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movzx eax, dil
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1801011b0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x460
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rbx, rdx
mov r14d, ecx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x30], rdx
xor esi, esi
mov qword [rdx + 0x10], rsi
mov rax, rdx
cmp qword [rdx + 0x18], 8
jb 0x1801011f4
mov rax, qword [rdx]
mov word [rax], si
call fcn.1801012d0
movzx edi, al
mov byte [rsp + 0x20], al
jmp 0x180101219
test dil, dil
jne 0x180101299
cmp r14d, 0x1a
jne 0x180101299
mov qword [rbx + 0x10], rsi
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x180101235
mov rax, qword [rbx]
mov word [rax], si
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x207
lea rdx, [rsp + 0x40]
lea rcx, str.APPDATA
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x180101270
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.180007110
movzx edi, dil
mov eax, 1
cmp qword [rbx + 0x10], 0
cmovne edi, eax
movzx eax, dil
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.18022a7d0
mov rbx, qword [rsp + 0x490]
add rsp, 0x460
pop r14
pop rdi
pop rsi
ret

Function at 0x180101580
Capabilities:
Query environment variable

Disassembly:
mov rdx, rcx
mov ecx, 0x1a
jmp fcn.1801011b0

Function at 0x180101bc0
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x20
mov qword [rcx], 0
mov rbx, rcx
mov word [rcx + 8], 0
cmp qword [rdx + 0x10], 0
je 0x180101be9
cmp qword [rdx + 0x18], 8
jb 0x180101beb
mov rdx, qword [rdx]
jmp 0x180101beb
xor edx, edx
mov r8, rdx
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx], rax
test rax, rax
je 0x180101c1a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov rax, rbx
jne 0x180101c1d
mov byte [rbx + 9], 1
add rsp, 0x20
pop rbx
ret
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x180101c70
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, rdx
mov rdi, rcx
mov rcx, qword [rcx]
xor ebp, ebp
test rcx, rcx
je 0x180101cae
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], rbp
mov word [rdi + 8], bp
mov qword [rsp + 0x28], rbp
lea rcx, [rsp + 0x28]
call fcn.180110eb0
nop
mov rbx, qword [rsp + 0x28]
cmp qword [rbx], 0
lea rcx, [rbx + 0x10]
jne 0x180101cd4
mov rcx, rbp
cmp qword [rsi + 0x10], 0
je 0x180101ce7
cmp qword [rsi + 0x18], 8
jb 0x180101cea
mov rsi, qword [rsi]
jmp 0x180101cea
mov rsi, rbp
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi], rax
test rax, rax
je 0x180101d0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x180101d0e
mov byte [rdi + 9], 1
cmp qword [rdi], 0
setne sil
mov rdi, qword [rbx]
test rdi, rdi
je 0x180101d35
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], rbp
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180101d48
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbx + 8], rbp
mov edx, 0x58
mov rcx, rbx
call fcn.18022acec
mov qword [rsp + 0x28], rbp
movzx eax, sil
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18022a7d0
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x180101d80
Capabilities:
Check mutex on windows

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, rdx
mov rdi, rcx
mov rcx, qword [rcx]
xor r14d, r14d
test rcx, rcx
je 0x180101dc5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], r14
mov word [rdi + 8], r14w
mov qword [rsp + 0x28], r14
lea rcx, [rsp + 0x28]
call fcn.180110fd0
nop
mov rbx, qword [rsp + 0x28]
cmp qword [rbx], 0
lea rbp, [rbx + 0x10]
jne 0x180101dec
mov rbp, r14
cmp qword [rsi + 0x10], 0
je 0x180101e02
mov r8, rsi
cmp qword [rsi + 0x18], 8
jb 0x180101e05
mov r8, qword [rsi]
jmp 0x180101e05
mov r8, r14
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi], rax
test rax, rax
jne 0x180101e53
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x180101e53
lea ecx, [rax + 5]
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [rsi + 0x10], 0
je 0x180101e3f
cmp qword [rsi + 0x18], 8
jb 0x180101e42
mov rsi, qword [rsi]
jmp 0x180101e42
mov rsi, r14
mov r8, rsi
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi], rax
mov rax, qword [rdi]
test rax, rax
je 0x180101e7a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x180101e6c
mov byte [rdi + 9], 1
mov rcx, qword [rdi]
call fcn.18010f9e0
mov rax, qword [rdi]
test rax, rax
setne sil
mov rdi, qword [rbx]
test rdi, rdi
je 0x180101e9d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180101eb0
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbx + 8], r14
mov edx, 0x58
mov rcx, rbx
call fcn.18022acec
mov qword [rsp + 0x28], r14
movzx eax, sil
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18022a7d0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret