joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001cba0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
cmp dword [0x180071a10], 0x270
jl 0x18001cd6c
xor ebx, ebx
lea r12, [0x18006fd00]
lea r15, [0x18006d7b8]
nop word cs:[rax + rax]
mov edi, dword [r12 + rbx*4]
mov ecx, 0x80000000
call fcn.180015780
mov esi, eax
not esi
and esi, edi
lea r14, [rbx + 1]
mov r13d, dword [r12 + rbx*4 + 4]
mov ecx, 0x6e113639
call fcn.180010450
mov edi, eax
and edi, r13d
or edi, esi
mov ecx, 0x11eec84b
call fcn.180010450
add eax, ebx
cdqe
mov ecx, edi
shr ecx, 1
xor ecx, dword [r12 + rax*4]
and edi, 1
xor ecx, dword [r15 + rdi*4]
mov dword [r12 + rbx*4], ecx
mov rbx, r14
cmp r14, 0xe3
jne 0x18001cbe0
mov ecx, 0x11eecba9
call fcn.180010450
cmp eax, 0xe4
jl 0x18001cd1f
mov esi, 0xe3
nop word cs:[rax + rax]
movsxd rsi, esi
mov eax, dword [r12 + rsi*4]
mov ecx, 0x80000000
and eax, ecx
mov r13d, dword [r12 + rsi*4 + 4]
mov ecx, 0x7fffffff
and r13d, ecx
or r13d, eax
mov ebx, dword [r12 + rsi*4 - 0x38c]
mov ecx, 0x11eec9c7
call fcn.180010450
mov r12, r15
mov r15d, r13d
mov ecx, eax
shr r15d, cl
mov ecx, ebx
call fcn.180015780
mov r14d, eax
and r14d, 0x6e5b67a7
mov ecx, 0x6e5b67a7
call fcn.180015780
mov edi, eax
and ebx, eax
or ebx, r14d
xor edi, 0x6e5b67a7
and edi, r15d
mov r15, r12
lea r12, [0x18006fd00]
xor edi, ebx
mov ecx, r13d
call fcn.180015780
mov ebx, eax
not ebx
mov ecx, 0xb3d991f4
call fcn.180015780
and eax, ebx
and eax, 1
xor edi, dword [r15 + rax*4]
xor edi, 0x6e5b67a7
mov dword [r12 + rsi*4], edi
mov ecx, 0xb18ceccd
call fcn.180010450
sub esi, eax
add esi, 0xa062250c
mov ecx, 0x11eecba9
call fcn.180010450
cmp esi, eax
jl 0x18001cc60
mov eax, 0x80000000
and eax, dword [0x1800706bc]
mov esi, 0x7fffffff
and esi, dword [0x18006fd00]
or esi, eax
mov edi, dword [0x180070330]
mov ecx, 0x11eec9c7
call fcn.180010450
mov ebx, esi
mov ecx, eax
shr ebx, cl
xor ebx, edi
mov ecx, esi
call fcn.1800204f0
mov eax, eax
xor ebx, dword [r15 + rax*4]
mov dword [0x1800706bc], ebx
mov dword [0x180071a10], 0
movsxd rsi, dword [0x180071a10]
mov ecx, 0x54ea3f4d
call fcn.180010450
add eax, esi
add eax, 0xbafb0976
mov dword [0x180071a10], eax
lea rax, [0x18006fd00]
mov esi, dword [rax + rsi*4]
mov ecx, 0x11eec9cd
call fcn.180010450
mov edi, esi
mov ecx, eax
shr edi, cl
xor edi, esi
mov ebx, edi
shl ebx, 7
mov ecx, 0x8cc29f46
call fcn.180010450
mov esi, eax
and esi, ebx
xor esi, edi
mov eax, esi
shl eax, 0xf
and eax, 0xefc60000
xor esi, eax
mov ecx, 0x11eec9d4
call fcn.180010450
mov edx, esi
mov ecx, eax
shr edx, cl
xor edx, esi
mov eax, edx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x18001e9b0
Capabilities:
Check for software breakpoints

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov esi, edx
mov rdi, rcx
movzx ecx, byte [rcx]
call fcn.18003afb0
test al, 1
je 0x18001e9e2
movzx ecx, byte [rdi]
cmp ecx, 0xcc
je 0x18001e9e2
xor eax, eax
cmp ecx, 0x90
jne 0x18001ea16
mov eax, 1
cmp esi, 2
jb 0x18001ea16
movzx eax, byte [rdi]
mov ecx, 1
nop word cs:[rax + rax]
mov edx, ecx
cmp byte [rdi + rdx], al
jne 0x18001ea14
inc ecx
cmp esi, ecx
jne 0x18001ea00
mov eax, 1
jmp 0x18001ea16
xor eax, eax
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret

Function at 0x180024b50
Capabilities:
Set registry value

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov r14d, r9d
mov rdi, r8
mov rsi, rdx
mov qword [rbp - 8], rcx
mov rcx, 0xffffffffffffffff
call fcn.180037600
mov ecx, eax
mov eax, 2
test cl, cl
je 0x180024b90
mov ecx, 0x11eec8c6
call fcn.180010450
or eax, 2
mov rcx, qword [rbp - 8]
lea rdx, [rbp - 8]
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
xor ebx, ebx
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ecx, eax
call fcn.180016c50
test al, 1
je 0x180024c1e
mov eax, dword [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
mov rcx, qword [rbp - 8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
xor ebx, ebx
mov rdx, rdi
xor r8d, r8d
mov r9d, r14d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x180024c09
mov cl, 0xc7
call fcn.1800119e0
mov ebx, eax
mov rsi, qword [rbp - 8]
lea rcx, str.WQ__nXH
call fcn.18002a820
mov rcx, rsi
call rax
and bl, 1
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret

Function at 0x180025bb0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov edi, edx
mov rsi, rcx
mov ecx, 0x11eec9c7
call fcn.180010450
cmp eax, edi
jae 0x180025bfd
mov ebx, eax
mov edi, edi
nop word cs:[rax + rax]
mov ecx, 0x11eec9c7
call fcn.180010450
mov ecx, ebx
sub ecx, eax
movzx eax, byte [rsi + rcx]
xor byte [rsi + rbx], al
inc rbx
cmp rdi, rbx
jne 0x180025be0
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret

Function at 0x18002ad90
Capabilities:
Create pipe

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov rsi, r9
mov rdi, r8
mov dword [rbp - 0x10], 0x18
mov qword [rbp - 8], 0
mov dword [rbp], 1
test rcx, rcx
je 0x18002add6
test rdx, rdx
je 0x18002add6
lea r8, [rbp - 0x10]
xor ebx, ebx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x18002ae03
test rdi, rdi
je 0x18002ae01
test rsi, rsi
je 0x18002ae01
lea rcx, [0x18005b364]
call fcn.18002a820
lea r8, [rbp - 0x10]
xor ebx, ebx
mov rcx, rdi
mov rdx, rsi
xor r9d, r9d
call rax
test eax, eax
je 0x18002ae03
mov bl, 1
mov eax, ebx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x180031220
Capabilities:
Terminate process

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x3a0
lea rbp, [rsp + 0x80]
mov rcx, qword [0x18006c248]
call fcn.18002e7f0
xor esi, esi
test al, al
je 0x180031497
mov esi, 1
call fcn.180001270
test al, al
je 0x180031497
call fcn.18002e9c0
test al, al
je 0x180031497
xor ecx, ecx
call fcn.1800283e0
test al, al
je 0x180031497
call fcn.180033b60
call fcn.18000d160
call fcn.180003e30
mov esi, dword [0x18006ca64]
call fcn.18004c9c0
mov rcx, rax
mov edx, 1
call fcn.1800073c0
test al, al
je 0x1800314a7
call fcn.180042f50
mov rcx, rax
mov edx, esi
call fcn.180025380
xor edi, edi
test al, al
je 0x18003147a
cmp esi, 1
jne 0x18003146b
lea rcx, [0x18006c650]
lea rdi, [rbp + 0x1c0]
mov dx, reloc.WS2_32.dll_recv
mov r8, rdi
call fcn.180013a80
lea rbx, [rbp - 0x58]
mov rcx, rbx
call fcn.180017210
mov r8d, 0x102
mov rcx, rbx
mov rdx, rdi
call fcn.180007640
test eax, eax
je 0x1800314bf
lea rdi, [rbp + 0x300]
mov rcx, rdi
call fcn.180017b40
lea rdx, [rbp + 0x1c0]
mov rcx, rdi
call fcn.180002d40
test al, al
je 0x1800314bf
lea rdi, [rbp + 0xb0]
mov rcx, rdi
call fcn.180034430
lea rdx, [rbp + 0x1c0]
mov rcx, rdi
call fcn.18000eaf0
mov ecx, 0xb0958cdb
call fcn.180010450
lea rcx, [rbp + 0x300]
lea rdi, [rbp + 0x2e0]
mov rdx, rdi
mov r8d, eax
call fcn.18000f2a0
mov rcx, rdi
xor edx, edx
call fcn.180043ab0
test al, al
je 0x1800313ad
call fcn.180042f50
lea rdx, [rbp + 0xb0]
lea r8, [rbp + 0x300]
mov rcx, rax
call fcn.18001d400
test al, al
je 0x1800314bf
lea rcx, [rbp + 0x300]
call fcn.18001e660
lea rcx, [rbp + 0x300]
call fcn.180041650
call fcn.180042f50
mov rcx, rax
call fcn.18002b450
mov rdi, rax
mov rcx, rax
call fcn.18000a240
test al, al
jne 0x180031408
lea rdx, [0x18006c250]
lea r14, [rbp + 0x2c8]
mov rcx, r14
call fcn.180042cc0
mov rcx, rdi
mov rdx, r14
call fcn.180036820
mov ebx, eax
mov rcx, r14
call fcn.180044000
test bl, bl
je 0x1800314bf
call fcn.180042f50
mov rcx, rax
call fcn.180037b70
mov rdi, rax
mov ecx, 0xffc8bdef
call fcn.180010450
lea rbx, [rbp + 0x2f0]
mov rcx, rdi
mov rdx, rbx
mov r8d, eax
call fcn.18000f2a0
mov rcx, rbx
xor edx, edx
call fcn.180043ab0
test al, al
je 0x18003146b
call fcn.180042f50
mov rcx, rax
call fcn.180037f70
test al, al
je 0x1800314bf
call fcn.180042f50
mov rcx, rax
call fcn.180037b70
mov rcx, rax
call fcn.18001e660
call fcn.180042f50
mov rcx, rax
call fcn.18000d1b0
mov edi, eax
mov ecx, esi
call fcn.18003ad50
test al, 1
je 0x1800314af
xor esi, esi
cmp byte [0x18006d57a], 0
jne 0x180031497
call fcn.180020800
mov esi, eax
mov eax, esi
add rsp, 0x3a0
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, [0x180059cd0]
call fcn.18002a820
mov ecx, edi
call rax
lea rcx, [0x180059cd0]
call fcn.18002a820
mov ecx, 1
call rax
int3
Function at 0x180034810
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rsi
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rsi, rcx
add rsi, 8
mov rcx, rsi
call fcn.1800416b0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18003485d
mov rcx, rsi
call fcn.1800416b0
mov rsi, rax
lea rcx, [0x18005bda0]
call fcn.18002a820
mov rcx, rsi
call rax
mov ecx, eax
call fcn.18003afb0
jmp 0x18003485f
mov al, 1
and al, 1
add rsp, 0x28
pop rsi
pop rbp
ret

Function at 0x180037a00
Capabilities:
Set file attributes

Disassembly:
push rbp
push rsi
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rsi, rcx
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [0x18005bda0]
call fcn.18002a820
mov rcx, rsi
call rax
test eax, eax
setne al
add rsp, 0x28
pop rsi
pop rbp
ret

Function at 0x18003a540
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test edx, edx
je 0x18003a58c
mov edi, edx
mov rsi, rcx
mov ecx, 0xb44e11bc
call fcn.180010450
lea ecx, [rdi + rax]
dec ecx
call fcn.180032830
test eax, eax
je 0x18003a58c
mov edi, eax
nop
mov ecx, 0x11eec9c7
call fcn.180010450
mov ecx, edi
sub ecx, eax
movzx eax, byte [rsi + rcx]
xor byte [rsi + rdi], al
dec rdi
test edi, edi
jne 0x18003a570
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x18003ee40
Capabilities:
Create thread

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov rsi, rcx
call fcn.180047c10
mov ecx, 2
call fcn.180028050
mov rdi, rax
lea rbx, [rsi + 8]
movabs rcx, 0x15af729f11ecc9c6
call fcn.180005e20
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
lea r8, [0x180032b10]
xor ecx, ecx
mov rdx, rax
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi], rax
test rax, rax
jne 0x18003eea7
mov rcx, rdi
call fcn.18002f220
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800433b0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.180047c10
mov ecx, reloc.WS2_32.dll_recv
call fcn.180028050
mov rdi, rax
mov rcx, rax
mov rdx, rbx
mov r8, r14
call fcn.180042260
lea rax, [rsi + 8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r8, [0x18004ac30]
mov edx, 0x20000
xor ecx, ecx
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi], rax
test rax, rax
jne 0x180043428
mov rcx, rdi
call fcn.180042840
mov rcx, rdi
call fcn.18002f220
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret

Function at 0x180047fe0
Capabilities:
Create thread

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov rbx, rdx
mov rsi, rcx
call fcn.180047c10
mov ecx, reloc.WS2_32.dll_recv
call fcn.180028050
mov rdi, rax
mov rcx, rax
mov rdx, rbx
call fcn.180041080
lea rax, [rsi + 8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r8, [0x180042c90]
mov edx, 0x20000
xor ecx, ecx
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi], rax
test rax, rax
jne 0x180048050
mov rcx, rdi
call fcn.180042840
mov rcx, rdi
call fcn.18002f220
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001070
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x450
mov rax, qword [0x14001f008]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rax, qword gs:[0x60]
mov r15, rdx
mov r13, rcx
mov r8, qword [rax + 0x18]
mov rsi, qword [r8 + 0x20]
test rsi, rsi
je 0x1400011a1
lea r12, str.NTDLL.DLL
cmp word [rsi + 0x48], 0
je 0x1400011a1
mov rbp, qword [rsi + 0x50]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, r12
movsxd rdi, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r14, eax
cmp edi, 0x104
jge 0x140001195
cmp r14d, 0x104
jge 0x140001195
xor eax, eax
mov ebx, eax
test rdi, rdi
jle 0x14000112c
nop dword [rax]
movzx ecx, word [rbp + rbx*2]
call fcn.140005184
mov word [rsp + rbx*2 + 0x230], ax
inc rbx
cmp rbx, rdi
jl 0x140001110
xor eax, eax
add rbx, rbx
cmp rbx, 0x208
jae 0x140001266
mov word [rsp + rbx + 0x230], ax
mov rbx, rax
test r14d, r14d
jle 0x140001169
nop dword [rax]
movzx ecx, word [r12 + rbx*2]
call fcn.140005184
mov word [rsp + rbx*2 + 0x20], ax
inc rbx
cmp rbx, r14
jl 0x140001150
xor eax, eax
add rbx, rbx
cmp rbx, 0x208
jae 0x140001266
lea rdx, [rsp + 0x20]
mov word [rsp + rbx + 0x20], ax
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400011ce
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1400010c0
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140001830
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x450
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdi, qword [rsi + 0x20]
test rdi, rdi
je 0x1400011a1
lea r8, str.NtAllocateVirtualMemory
mov rdx, rdi
lea rcx, [r13 + 0x48]
call fcn.140001550
lea r8, str.NtProtectVirtualMemory
mov qword [r15], rax
mov rdx, rdi
lea rcx, [r13 + 0x48]
call fcn.140001550
lea r8, str.NtWriteVirtualMemory
mov qword [r15 + 8], rax
mov rdx, rdi
lea rcx, [r13 + 0x48]
call fcn.140001550
lea r8, str.NtQueueApcThread
mov qword [r15 + 0x10], rax
mov rdx, rdi
lea rcx, [r13 + 0x48]
call fcn.140001550
cmp qword [r15], 0
mov qword [r15 + 0x18], rax
je 0x140001255
cmp qword [r15 + 8], 0
je 0x140001255
cmp qword [r15 + 0x10], 0
je 0x140001255
test rax, rax
je 0x140001255
mov eax, 1
jmp 0x1400011a3
lea rcx, str.____Syscall_struct_contains_null_functions_____n
call fcn.140001010
jmp 0x1400011a1
call fcn.140001958
int3
Function at 0x140005e7c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005ca8
Function at 0x180001930
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x18004d010]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWARERESOURCEMAPSystem_ResourcesPhysical_Memory
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
xor r12d, r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [rsp + 0x60]
call fcn.1800250ec
mov r15, rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov r14d, dword [r15 + 0x10]
mov esi, r12d
test r14d, r14d
je 0x180001b3a
lea rdi, [r15 + 0x20]
mov edx, 0x200
mov r8d, 0x400
mov r9d, 0x800
movabs r13, 0x555555555555555
lea r10, [0x18004e030]
mov rbp, qword [0x18004e030]
movzx ecx, word [rdi - 0xa]
mov eax, dword [rdi]
mov ebx, eax
test dx, cx
je 0x180001a36
shl rbx, 8
jmp 0x180001a4c
test r8w, cx
je 0x180001a42
shl rbx, 0x10
jmp 0x180001a4c
test r9w, cx
je 0x180001a4c
shl rbx, 0x20
mov rax, qword [rbp + 8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], r12d
mov rcx, rbp
cmp byte [rax + 0x19], 0
jne 0x180001a9a
mov rdx, qword [rdi - 8]
nop word [rax + rax]
mov qword [rsp + 0x30], rax
cmp qword [rax + 0x20], rdx
jae 0x180001a86
mov dword [rsp + 0x38], r12d
mov rax, qword [rax + 0x10]
jmp 0x180001a94
mov dword [rsp + 0x38], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180001a70
cmp byte [rcx + 0x19], 0
jne 0x180001aaa
mov rax, qword [rcx + 0x20]
cmp qword [rdi - 8], rax
jae 0x180001b26
cmp qword [0x18004e038], r13
je 0x180001b7d
mov qword [rsp + 0x50], r10
mov qword [rsp + 0x58], r12
mov ecx, 0x30
call fcn.180024d30
mov r8, rax
mov rax, qword [rdi - 8]
mov qword [r8 + 0x20], rax
mov qword [r8 + 0x28], rbx
mov qword [r8], rbp
mov qword [r8 + 8], rbp
mov qword [r8 + 0x10], rbp
mov word [r8 + 0x18], 0
mov qword [rsp + 0x58], r12
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [0x18004e030]
call fcn.1800099a0
mov rbp, qword [0x18004e030]
mov r8d, 0x400
mov r9d, 0x800
lea r10, [0x18004e030]
add rdi, 0x14
inc esi
cmp esi, r14d
mov edx, 0x200
jb 0x180001a23
mov rcx, r15
call fcn.180024a90
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180024a70
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.180001910
int3
Function at 0x180001b90
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x18004d010]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov dword [rsp + 0x20], 0x130
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180001c62
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rax, [rsp + 0x4c]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180001c03
inc rax
test ecx, ecx
jne 0x180001bf0
test edx, edx
je 0x180001c66
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x180001c59
nop dword [rax]
lea rax, [rsp + 0x4c]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180001c43
inc rax
test ecx, ecx
jne 0x180001c30
test edx, edx
je 0x180001c66
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x180001c20
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x180001c73
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180024a70
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
Function at 0x180006e90
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.180002ee0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x1800075a0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x1800075c8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1800075ee
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1800075f0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180007649
test ecx, ecx
jle 0x180007629
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x180007649
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180007649
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x180007670
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x180007692
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1800076a8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1800076c4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1800076c6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180007702
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x18000779e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x18000773d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x18000777e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x18000779e
cmp rbx, rax
ja 0x180007750
test rbx, rbx
je 0x18000779e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret