joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18007b3d0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18007b960
mov qword [rsp + 0x28], 0
cmp qword [0x1800a94f8], 0
jne 0x18007b418
cmp qword [0x1800a94f0], 0
je 0x18007b418
mov rax, qword [0x1800a94f0]
mov qword [0x1800a94f8], rax
cmp qword [0x1800a94f8], 0
je 0x18007b4be
mov rax, qword [0x1800a94f8]
cmp qword [rax + 0x10], 0
je 0x18007b4be
mov rax, qword [0x1800a94f8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18007b4be
mov rax, qword [0x1800a94f8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18007b4be
mov rax, qword [0x1800a94f8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x18007b484
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18007b48b
xor eax, eax
jmp 0x18007b639
mov rax, qword [0x1800a94f8]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x18007b639
mov rax, qword [0x1800a94f0]
mov qword [0x1800a94f8], rax
jmp 0x18007b4e0
mov rax, qword [0x1800a94f8]
mov rax, qword [rax + 8]
mov qword [0x1800a94f8], rax
cmp qword [0x1800a94f8], 0
je 0x18007b52d
cmp qword [0x1800a94f8], 0
je 0x18007b52b
mov rax, qword [0x1800a94f8]
cmp qword [rax + 0x10], 0
je 0x18007b52b
mov rax, qword [0x1800a94f8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18007b52b
mov rax, qword [0x1800a94f8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18007b52b
jmp 0x18007b45c
jmp 0x18007b4ce
mov rcx, qword [rsp + 0x60]
call fcn.18007d590
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18007b640
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x18007b637
mov rax, qword [rsp + 0x48]
mov qword [0x1800a94f8], rax
mov rax, qword [0x1800a94f8]
mov dword [rax], 0x52727464
mov rax, qword [0x1800a94f8]
mov qword [rax + 0x10], 0
mov rax, qword [0x1800a94f8]
mov rcx, qword [0x1800a94f0]
mov qword [rax + 8], rcx
mov rax, qword [0x1800a94f8]
mov qword [0x1800a94f0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1800a94f8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x18007b5e8
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x18007b622
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18007b5de
mov rax, qword [0x1800a94f8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18007b45c
xor eax, eax
add rsp, 0x58
ret
Function at 0x140001130
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov dword [rsp + 0x38], 0
mov rcx, qword [rcx]
xor r8d, r8d
xor edx, edx
call fcn.14000b0d0
mov r9, qword [rbx]
lea rcx, [rsp + 0x30]
mov edx, 1
lea r8d, [rdx + 1]
call fcn.14000ad94
cmp byte [rsp + 0x30], 0x4d
jne 0x140001220
cmp byte [rsp + 0x31], 0x5a
jne 0x140001220
mov rcx, qword [rbx]
xor r8d, r8d
lea edx, [r8 + 0x3c]
call fcn.14000b0d0
mov r9, qword [rbx]
lea rcx, [rsp + 0x38]
mov edx, 4
lea r8d, [rdx - 3]
call fcn.14000ad94
mov edx, dword [rsp + 0x38]
xor r8d, r8d
mov rcx, qword [rbx]
add edx, 0x18
call fcn.14000b0d0
mov r9, qword [rbx]
lea rcx, [rsp + 0x30]
mov edx, 2
lea r8d, [rdx - 1]
call fcn.14000ad94
cmp byte [rsp + 0x30], 0xb
jne 0x140001220
movzx eax, byte [rsp + 0x31]
cmp al, 1
jne 0x1400011de
mov ecx, 0x98
jmp 0x1400011e7
cmp al, 2
jne 0x140001220
mov ecx, 0xa8
mov edx, dword [rsp + 0x38]
xor r8d, r8d
add edx, ecx
mov rcx, qword [rbx]
call fcn.14000b0d0
mov r9, qword [rbx]
lea rcx, [rsp + 0x38]
mov edx, 4
lea r8d, [rdx - 3]
call fcn.14000ad94
mov eax, dword [rsp + 0x38]
or ecx, 0xffffffff
test eax, eax
cmove eax, ecx
add rsp, 0x20
pop rbx
ret
or eax, 0xffffffff
add rsp, 0x20
pop rbx
ret

Function at 0x140001230
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbp, rdx
mov rdi, rcx
jne 0x140001277
add rcx, 0x78
lea rdx, [0x1400233f0]
call fcn.1400029d0
mov qword [rdi], rax
test rax, rax
jne 0x140001277
lea rcx, [0x140023468]
call fcn.140001a20
xor eax, eax
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov ecx, dword [rbp + 4]
mov qword [rsp + 0x38], rsi
call sub.WS2_32.dll_ntohl
add eax, dword [rdi + 8]
xor r8d, r8d
mov rcx, qword [rdi]
mov edx, eax
call fcn.14000b0d0
mov ecx, dword [rbp + 8]
call sub.WS2_32.dll_ntohl
mov ecx, eax
call fcn.14000a9c4
mov rsi, rax
test rax, rax
jne 0x1400012c9
lea rcx, [0x140023488]
call fcn.140001a20
mov rsi, qword [rsp + 0x38]
xor eax, eax
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov ecx, dword [rbp + 8]
call sub.WS2_32.dll_ntohl
mov r9, qword [rdi]
mov r8d, 1
mov edx, eax
mov rcx, rsi
call fcn.14000ad94
cmp rax, 1
jae 0x140001310
lea rcx, [0x1400234a8]
call fcn.140001a20
mov rcx, rsi
call fcn.14000a9bc
mov rsi, qword [rsp + 0x38]
xor eax, eax
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
cmp byte [rbp + 0x10], 1
jne 0x140001360
mov rdx, rbp
mov qword [rsp + 0x30], rbx
mov rcx, rsi
call fcn.140001040
mov rcx, rsi
mov rbx, rax
call fcn.14000a9bc
test rbx, rbx
mov rsi, rbx
mov rbx, qword [rsp + 0x30]
jne 0x140001360
lea rdx, [rbp + 0x12]
lea rcx, [0x1400234c8]
call fcn.140001a20
mov rsi, qword [rsp + 0x38]
xor eax, eax
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rdi]
test rcx, rcx
je 0x140001374
call fcn.14000aa50
mov qword [rdi], 0
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001390
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
call fcn.140001230
mov rcx, rdi
mov rbp, rax
call fcn.1400042c0
cmp eax, 0xffffffff
jne 0x1400013cc
or eax, eax
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
lea rcx, [rdi + 0x2078]
lea rbx, [rsi + 0x12]
mov rdx, rbx
call fcn.140004610
mov ecx, dword [rsi + 0xc]
mov rdi, rax
call sub.WS2_32.dll_ntohl
mov esi, eax
test rdi, rdi
jne 0x140001411
mov r8, rbx
lea rdx, [0x1400234e0]
lea rcx, [0x1400234fc]
call fcn.1400019e0
or eax, 0xffffffff
jmp 0x14000145d
mov r9, rdi
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call fcn.14000b7fc
cmp rax, 1
je 0x14000144b
test rsi, rsi
je 0x14000144b
mov r8, rbx
lea rdx, [0x140023508]
lea rcx, [0x14002352c]
call fcn.1400019e0
or eax, 0xffffffff
jmp 0x14000145d
mov rcx, rdi
call fcn.14000aa50
mov rcx, rbp
call fcn.14000a9bc
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140001480
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x140033010]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea esi, [rdx - 0x60]
mov rdi, rcx
mov rcx, qword [rcx]
lea rbx, [rsp + 0x28]
mov edx, esi
xor r8d, r8d
call fcn.14000b0d0
test eax, eax
jne 0x140001506
mov r9, qword [rdi]
lea edx, [rax + 0x60]
lea r8d, [rax + 1]
lea rcx, [rsp + 0x20]
call fcn.14000ad94
cmp rax, 1
jb 0x140001506
nop word [rax + rax]
mov r8d, 8
lea rcx, [0x140023538]
mov rdx, rbx
call fcn.14000a5f0
test eax, eax
je 0x14000150b
dec rbx
lea rax, [rsp + 0x20]
cmp rbx, rax
jae 0x1400014e0
or eax, 0xffffffff
jmp 0x140001557
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x20], xmm0
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rdi + 0x30], xmm1
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rdi + 0x40], xmm0
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rdi + 0x50], xmm1
movsd xmm1, qword [rbx + 0x50]
movups xmmword [rdi + 0x60], xmm0
movsd qword [rdi + 0x70], xmm1
mov ecx, dword [rdi + 0x28]
call sub.WS2_32.dll_ntohl
lea rcx, [rsp + 0x20]
sub ebx, ecx
add ebx, esi
sub ebx, eax
add ebx, 0x58
mov dword [rdi + 8], ebx
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140008820
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140001670
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
jne 0x14000169b
add rcx, 0x78
lea rdx, [0x1400233f0]
call fcn.1400029d0
mov qword [rbx], rax
test rax, rax
je 0x140001728
mov rcx, rbx
call fcn.140001130
cmp eax, 1
jge 0x1400016be
mov rcx, qword [rbx]
xor edx, edx
lea r8d, [rdx + 2]
call fcn.14000b0d0
mov rcx, qword [rbx]
call fcn.14000b5b4
mov edx, eax
mov rcx, rbx
call fcn.140001480
cmp eax, 0xffffffff
je 0x140001728
mov ecx, dword [rbx + 0x34]
mov dword [rbx + 0x407c], 0
call sub.WS2_32.dll_ntohl
mov dword [0x140033b14], eax
mov ecx, dword [rbx + 0x2c]
call sub.WS2_32.dll_ntohl
add eax, dword [rbx + 8]
xor r8d, r8d
mov rcx, qword [rbx]
mov edx, eax
call fcn.14000b0d0
mov ecx, dword [rbx + 0x30]
call sub.WS2_32.dll_ntohl
mov ecx, eax
call fcn.14000a9c4
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x140001731
lea rdx, [0x140023548]
lea rcx, [0x14002356c]
call fcn.1400019e0
or eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
mov ecx, dword [rbx + 0x30]
call sub.WS2_32.dll_ntohl
mov r9, qword [rbx]
mov r8d, 1
mov rcx, qword [rbx + 0x10]
mov edx, eax
call fcn.14000ad94
cmp rax, 1
jae 0x14000176f
lea rdx, [0x140023578]
lea rcx, [0x140023594]
call fcn.1400019e0
or eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
mov ecx, dword [rbx + 0x30]
call sub.WS2_32.dll_ntohl
mov ecx, eax
add rcx, qword [rbx + 0x10]
mov qword [rbx + 0x18], rcx
mov rcx, qword [rbx]
call fcn.14000aae8
test eax, eax
je 0x1400017a2
lea rcx, [0x1400235a0]
call fcn.140001a20
or eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400017b6
call fcn.14000aa50
mov qword [rbx], 0
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140004320
Capabilities:
Get common file path
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
mov eax, 0x3070
call fcn.140008860
sub rsp, rax
mov rax, qword [0x140033010]
xor rax, rsp
mov qword [rsp + 0x3060], rax
mov rbp, rdx
mov r14, rcx
test rdx, rdx
je 0x1400043bc
lea rcx, [0x140024860]
call fcn.140004560
mov r8, rbp
lea rcx, [rsp + 0x50]
mov edx, 0x1000
mov rsi, rax
call fcn.140002a40
xor r8d, r8d
lea rdx, [0x140024860]
xor ecx, ecx
call fcn.1400056c0
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
mov rdi, rax
call fcn.1400056c0
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.140010664
mov rcx, rdi
call fcn.14000a9bc
mov rcx, rbx
call fcn.14000a9bc
jmp 0x1400043c1
mov rsi, qword [rsp + 0x20]
lea rdx, [rsp + 0x1060]
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
call sub.KERNEL32.dll_GetCurrentProcessId
mov r9d, eax
lea r8, [0x140024868]
mov edx, 0x10
lea rcx, [rsp + 0x28]
call fcn.140004f40
xor ebx, ebx
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x1060]
call fcn.140011908
mov rcx, rax
mov rdi, rax
call fcn.1400054d0
test eax, eax
je 0x1400044a9
mov rcx, rdi
call fcn.14000a9bc
inc ebx
cmp ebx, 5
jl 0x140004400
test rbp, rbp
je 0x1400044a2
xor r8d, r8d
lea rdx, [0x140024860]
xor ecx, ecx
call fcn.1400056c0
test rsi, rsi
je 0x14000448c
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
mov rdi, rax
call fcn.1400056c0
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.140010664
mov rcx, rdi
call fcn.14000a9bc
mov rcx, rbx
call fcn.14000a9bc
mov rcx, rsi
call fcn.14000a9bc
xor eax, eax
jmp 0x14000452b
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rbx
call fcn.14000a9bc
xor eax, eax
jmp 0x14000452b
mov r8d, 0x1000
mov rdx, rdi
mov rcx, r14
call fcn.1400057a0
mov rcx, rdi
call fcn.14000a9bc
test rbp, rbp
je 0x140004526
xor r8d, r8d
lea rdx, [0x140024860]
xor ecx, ecx
call fcn.1400056c0
test rsi, rsi
je 0x140004510
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
mov rdi, rax
call fcn.1400056c0
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.140010664
mov rcx, rdi
call fcn.14000a9bc
mov rcx, rbx
call fcn.14000a9bc
mov rcx, rsi
jmp 0x140004521
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rbx
call fcn.14000a9bc
mov eax, 1
mov rcx, qword [rsp + 0x3060]
xor rcx, rsp
call fcn.140008820
lea r11, [rsp + 0x3070]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140004c20
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x2110
call fcn.140008860
sub rsp, rax
mov rax, qword [0x140033010]
xor rax, rsp
mov qword [rsp + 0x2100], rax
mov rdx, rcx
xor edi, edi
lea rcx, [rsp + 0x100]
mov dword [rsp + 0x50], edi
mov r8d, 0x1000
call fcn.1400056c0
mov ebx, 1
lea ecx, [rdi + 0x16]
mov edx, ebx
call fcn.140011320
mov edx, ebx
lea ecx, [rdi + 2]
call fcn.140011320
mov edx, ebx
lea ecx, [rdi + 0xf]
call fcn.140011320
mov edx, ebx
lea ecx, [rdi + 0x15]
call fcn.140011320
lea rcx, [rsp + 0x90]
mov dword [rsp + 0x58], 0x18
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x68], ebx
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xorps xmm0, xmm0
mov qword [rsp + 0x98], rdi
xor ecx, ecx
movdqa xmmword [rsp + 0xa0], xmm0
mov dword [rsp + 0xcc], 0x101
mov word [rsp + 0xd0], bx
call fcn.14000b9a0
mov rcx, rax
call fcn.1400102c8
mov ecx, eax
call fcn.140010e90
mov ecx, ebx
mov qword [rsp + 0xe0], rax
call fcn.14000b9a0
mov rcx, rax
call fcn.1400102c8
mov ecx, eax
call fcn.140010e90
lea ecx, [rdi + 2]
mov qword [rsp + 0xe8], rax
call fcn.14000b9a0
mov rcx, rax
call fcn.1400102c8
mov ecx, eax
call fcn.140010e90
mov qword [rsp + 0xf0], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0x100]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140004d9f
mov rcx, qword [rsp + 0x70]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [rsp + 0x50]
jmp 0x140004db5
lea rdx, [0x140024910]
lea rcx, [0x140024930]
call fcn.140001a80
or eax, 0xffffffff
mov rcx, qword [rsp + 0x2100]
xor rcx, rsp
call fcn.140008820
mov rbx, qword [rsp + 0x2128]
add rsp, 0x2110
pop rdi
ret

Function at 0x1400054d0
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140033010]
xor rax, rsp
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [0x140024b18]
xor r9d, r9d
mov rbx, rcx
movups xmm1, xmmword [0x140024b28]
lea r8, [rsp + 0x28]
mov dword [rsp + 0x20], 0x18
movups xmmword [rsp + 0x38], xmm0
lea edx, [r9 + 1]
mov dword [rsp + 0x30], 0
movsd xmm0, qword [0x140024b38]
lea rcx, [rsp + 0x38]
movsd qword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x48], xmm1
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
jne 0x14000554e
or eax, 0xffffffff
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140008820
add rsp, 0x70
pop rbx
ret
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
neg eax
sbb eax, eax
neg eax
dec eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140008820
add rsp, 0x70
pop rbx
ret
Function at 0x7ff743e94540
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x7ff743eb0ca8], rbx
je 0x7ff743e9458c
cmp rax, rbx
jne 0x7ff743e9457f
mov ebx, 1
mov esi, ebx
jmp 0x7ff743e94591
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x7ff743e94564
mov ebx, 1
mov eax, dword [reloc.OLEAUT32.dll_SysReAllocString]
cmp eax, ebx
jne 0x7ff743e945a7
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x7ff743e9460c
mov eax, dword [reloc.OLEAUT32.dll_SysReAllocString]
test eax, eax
jne 0x7ff743e94606
mov dword [reloc.OLEAUT32.dll_SysReAllocString], ebx
lea r15, [0x7ff743ea5fa8]
lea rdi, [0x7ff743ea5f90]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x7ff743e945f8
test eax, eax
jne 0x7ff743e945fc
cmp qword [rdi], 0
je 0x7ff743e945ed
mov rax, qword [rdi]
mov rcx, qword [0x7ff743ea5f00]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x7ff743e945ce
test eax, eax
je 0x7ff743e9460c
mov eax, 0xff
jmp 0x7ff743e946e8
mov dword [0x7ff743eb06e0], ebx
mov eax, dword [reloc.OLEAUT32.dll_SysReAllocString]
cmp eax, ebx
jne 0x7ff743e94633
lea rdx, [0x7ff743ea5f88]
lea rcx, [0x7ff743ea5f08]
call sub.msvcrt.dll__initterm
mov dword [reloc.OLEAUT32.dll_SysReAllocString], 2
test esi, esi
jne 0x7ff743e94640
xor eax, eax
xchg qword [0x7ff743eb0ca8], rax
cmp qword [0x7ff743eb0cc8], 0
je 0x7ff743e94674
lea rcx, [0x7ff743eb0cc8]
call fcn.7ff743e94e50
test eax, eax
je 0x7ff743e94674
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x7ff743eb0cc8]
mov r9, qword [0x7ff743ea5f00]
call r9
mov r8, qword [0x7ff743eb06f8]
mov rdx, qword [0x7ff743eb06f0]
mov ecx, dword [0x7ff743eb06e8]
call fcn.7ff743e91fd0
mov dword [0x7ff743eb06dc], eax
cmp dword [0x7ff743eb0700], 0
jne 0x7ff743e946a4
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x7ff743eb06e0], 0
jne 0x7ff743e946b9
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x7ff743eb06dc]
jmp 0x7ff743e946e8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.7ff743e94ee4
add rsp, 0x28
jmp 0x7ff743e94540

Function at 0x7ff743e94d3c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x7ff743e94d88
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x7ff743e94d80
cmp dword [rcx + 0x3c], edx
jl 0x7ff743e94d80
cmp dword [rcx + 0x3c], 0x10000000
jae 0x7ff743e94d80
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x7ff743e94d88
mov rax, rdx
add rsp, 0x18
ret
Function at 0x7ff743e96f30
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x7ff743eb0688]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov esi, ecx
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x20], rax
cmp rax, 0xffffffffffffffff
je 0x7ff743e96fc9
xor edx, edx
mov r8d, 0x238
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
nop dword [rax + rax]
test eax, eax
je 0x7ff743e96fc9
cmp dword [rsp + 0x38], esi
je 0x7ff743e96fc5
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [rax + rax]
jmp 0x7ff743e96fa5
mov edi, dword [rsp + 0x50]
cmp rbx, 0xffffffffffffffff
je 0x7ff743e96fde
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.7ff743e94750
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x7ff743e9a1d0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x168]
sub rsp, 0x260
mov rax, qword [0x7ff743eb0688]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rsi, r8
xor ebx, ebx
mov qword [r8], rbx
mov edx, 0x104
mov r8, rcx
lea rcx, [rsp + 0x40]
call fcn.7ff743e9fdbc
lea r8, [0x7ff743ea6f10]
lea rcx, [rsp + 0x40]
call fcn.7ff743e99c70
lea r8, [rsp + 0x40]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x7ff743e9a279
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x7ff743e9a345
mov rcx, qword [rbp + 0x168]
mov edx, 0xc9
call fcn.7ff743e9945c
mov ebx, eax
jmp 0x7ff743e9a345
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], ebx
mov rcx, rax
mov dword [rsp + 0x20], ebx
call fcn.7ff743e97220
mov edi, eax
test eax, eax
jns 0x7ff743e9a2aa
mov rcx, qword [rbp + 0x168]
mov r9d, eax
mov edx, 0xcf
call fcn.7ff743e9947c
jmp 0x7ff743e9a323
lea r8, [0x7ff743ea6f18]
lea rcx, [rsp + 0x40]
call fcn.7ff743e99c70
lea r8, [rsp + 0x40]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x7ff743e9a2f2
mov rcx, qword [rbp + 0x168]
mov edx, 0xd5
call fcn.7ff743e9945c
mov edi, eax
jmp 0x7ff743e9a319
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.7ff743e97220
mov edi, eax
test eax, eax
jns 0x7ff743e9a327
mov rcx, qword [rbp + 0x168]
mov r9d, eax
mov edx, 0xd7
call fcn.7ff743e9947c
lea rcx, [rsp + 0x28]
call fcn.7ff743e9571c
mov ebx, edi
jmp 0x7ff743e9a345
lea rcx, [rsp + 0x28]
call fcn.7ff743e9571c
movsxd rcx, dword [rsp + 0x20]
movsxd rax, dword [rsp + 0x24]
shl rcx, 0x1f
or rax, rcx
mov qword [rsi], rax
lea rcx, [rsp + 0x30]
call fcn.7ff743e9571c
mov eax, ebx
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.7ff743e94750
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret