joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002da00
Capabilities:
Resume thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov esi, dword [0x140044b90]
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, eax
mov eax, 0x10dd
cmp esi, ecx
jne 0x14002db43
mov rdi, qword [0x140044b98]
test rdi, rdi
je 0x14002daa9
lea rsi, [rsp + 0x28]
xorps xmm6, xmm6
jmp 0x14002da53
mov rbx, qword [rdi]
mov rcx, rdi
call fcn.1400311b0
mov rdi, rbx
test rbx, rbx
je 0x14002daa9
mov r8d, dword [rdi + 0x28]
mov rcx, qword [rdi + 0x18]
mov rax, qword [rdi + 0x20]
movzx edx, byte [rax + 0x3e]
mov r9, rsi
call sub.KERNEL32.dll_VirtualProtect
cmp dword [rdi + 8], 0
jne 0x14002da40
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14002da40
mov rcx, rax
and rcx, 0xffffffffffff0000
movups xmmword [rax + 0x50], xmm6
movups xmmword [rax + 0x40], xmm6
movups xmmword [rax + 0x30], xmm6
movups xmmword [rax + 0x20], xmm6
movups xmmword [rax + 0x10], xmm6
movups xmmword [rax], xmm6
mov rdx, qword [rcx + 0x10]
mov qword [rax + 0x48], rdx
mov qword [rcx + 0x10], rax
jmp 0x14002da40
mov qword [0x140044b98], 0
call sub.KERNEL32.dll_GetCurrentProcess
mov rdi, qword [0x140044bb8]
test rdi, rdi
je 0x14002db00
mov rsi, rax
lea rbx, [rsp + 0x2c]
nop dword [rax]
mov edx, 0x10000
mov rcx, rdi
mov r8d, 0x20
mov r9, rbx
call sub.KERNEL32.dll_VirtualProtect
mov r8d, 0x10000
mov rcx, rsi
mov rdx, rdi
call sub.KERNEL32.dll_FlushInstructionCache
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x14002dad0
mov rsi, qword [0x140044ba0]
test rsi, rsi
je 0x14002db2c
nop dword [rax]
mov rcx, qword [rsi + 8]
call sub.KERNEL32.dll_ResumeThread
mov rdi, qword [rsi]
mov rcx, rsi
call fcn.1400311b0
mov rsi, rdi
test rdi, rdi
jne 0x14002db10
mov qword [0x140044ba0], 0
mov dword [0x140044b90], 0
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
Function at 0x14002ef10
Capabilities:
Allocate or change rwx memory

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
movzx eax, cx
mov edi, 0x10000
sub rdi, rax
test rax, rax
cmove rdi, rax
add rdi, rcx
cmp rdi, rdx
jae 0x14002f00f
mov rsi, rdx
xorps xmm6, xmm6
lea rbx, [rsp + 0x20]
jmp 0x14002ef60
add rdi, 0x8000000
cmp rdi, rsi
jae 0x14002f00f
cmp rdi, qword [0x1400448d8]
jb 0x14002ef72
cmp rdi, qword [0x1400448e0]
jbe 0x14002ef50
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
mov r8d, 0x30
mov rcx, rdi
mov rdx, rbx
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
je 0x14002f00f
cmp dword [rsp + 0x40], 0x10000
mov rax, qword [rsp + 0x38]
jne 0x14002eff0
cmp rax, 0x10000
jb 0x14002eff0
mov edx, 0x10000
mov rcx, rdi
mov r8d, 0x3000
mov r9d, 0x40
call sub.KERNEL32.dll_VirtualAlloc
mov r14, rax
test rax, rax
jne 0x14002f012
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
je 0x14002f012
add rdi, 0x10000
jmp 0x14002ef57
add rax, qword [rsp + 0x20]
movzx ecx, ax
mov edi, 0x10000
sub rdi, rcx
test rcx, rcx
cmove rdi, rcx
add rdi, rax
jmp 0x14002ef57
xor r14d, r14d
mov rax, r14
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14002f030
Capabilities:
Parse pe header

Disassembly:
push rsi
push rdi
sub rsp, 0x58
test rcx, rcx
je 0x14002f106
mov rsi, rcx
test rdx, rdx
je 0x14002f04e
mov qword [rdx], 0
movzx eax, byte [rsi]
cmp al, 0xff
je 0x14002f10a
cmp al, 0xeb
jne 0x14002f179
movsx rax, byte [rsi + 1]
lea rdi, [rsi + rax]
add rdi, 2
movzx eax, byte [rsi + rax + 2]
cmp eax, 0xe9
je 0x14002f17e
cmp eax, 0xff
jne 0x14002f189
cmp byte [rdi + 1], 0x25
jne 0x14002f189
movsxd rsi, dword [rdi + 2]
lea rdx, [rsp + 0x28]
mov r8d, 0x30
mov rcx, rdi
call sub.KERNEL32.dll_VirtualQuery
mov rax, qword [rsp + 0x30]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14002f189
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14002f189
lea rcx, [rdi + rsi]
add rcx, 6
mov r8d, dword [rax + rdx + 0xe8]
add r8, rax
cmp r8, rcx
ja 0x14002f189
mov eax, dword [rax + rdx + 0xec]
add r8, rax
cmp r8, rcx
jbe 0x14002f189
mov rdi, qword [rcx]
jmp 0x14002f189
xor edi, edi
jmp 0x14002f189
cmp byte [rsi + 1], 0x25
jne 0x14002f16e
movsxd rdi, dword [rsi + 2]
lea rdx, [rsp + 0x28]
mov r8d, 0x30
mov rcx, rsi
call sub.KERNEL32.dll_VirtualQuery
mov rax, qword [rsp + 0x30]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14002f16e
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14002f16e
lea rcx, [rsi + rdi]
add rcx, 6
mov r8d, dword [rax + rdx + 0xe8]
add r8, rax
cmp r8, rcx
ja 0x14002f16e
mov eax, dword [rax + rdx + 0xec]
add r8, rax
cmp r8, rcx
jbe 0x14002f16e
mov rsi, qword [rcx]
movzx eax, byte [rsi]
cmp al, 0xeb
je 0x14002f061
mov rdi, rsi
jmp 0x14002f189
movsxd rax, dword [rdi + 1]
add rdi, rax
add rdi, 5
mov rax, rdi
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x14002f380
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x48
movdqa xmmword [rsp + 0x30], xmm6
cmp byte [0x140044c18], 0
je 0x14002f39f
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
mov rax, qword [0x140044c10]
test rax, rax
jne 0x14002f395
pxor xmm6, xmm6
movdqu xmmword [0x140044bf8], xmm6
movdqu xmmword [0x140044be8], xmm6
movdqu xmmword [0x140044bd8], xmm6
movdqu xmmword [0x140044bc8], xmm6
mov qword [0x140044c08], 0
call sub.KERNEL32.dll_GetCurrentProcess
mov qword [0x140044bc8], rax
lea rcx, str.dbghelp.dll
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_LoadLibraryExW
mov qword [0x140044bd0], rax
test rax, rax
je 0x14002f58c
lea rdx, str.ImagehlpApiVersionEx
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140044bd8], rax
mov rcx, qword [0x140044bd0]
lea rdx, str.SymInitialize
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140044be0], rax
mov rcx, qword [0x140044bd0]
lea rdx, str.SymSetOptions
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140044be8], rax
mov rcx, qword [0x140044bd0]
lea rdx, str.SymGetOptions
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140044bf0], rax
mov rcx, qword [0x140044bd0]
lea rdx, str.SymLoadModule64
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140044bf8], rax
mov rcx, qword [0x140044bd0]
lea rdx, str.SymGetModuleInfo64
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140044c00], rax
mov rcx, qword [0x140044bd0]
lea rdx, str.SymFromName
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140044c08], rax
mov qword [rsp + 0x28], 0xc
mov rdx, qword [0x140044bd8]
movdqu xmm0, xmmword [0x140044bf8]
movq xmm1, rdx
movq xmm2, qword [0x140044be0]
punpcklqdq xmm2, xmm1
pcmpeqd xmm0, xmm6
pshufd xmm1, xmm0, 0xb1
pand xmm1, xmm0
pcmpeqd xmm2, xmm6
pshufd xmm0, xmm2, 0xb1
pand xmm0, xmm2
packssdw xmm0, xmm1
movmskps ecx, xmm0
test ecx, ecx
jne 0x14002f572
test rax, rax
je 0x14002f572
lea rcx, [rsp + 0x28]
call rdx
cmp word [rsp + 0x28], 0xc
jb 0x14002f572
mov rcx, qword [0x140044bc8]
xor edx, edx
xor r8d, r8d
call qword [0x140044be0]
test eax, eax
je 0x14002f572
mov rax, qword [0x140044bf0]
test rax, rax
je 0x14002f55a
cmp qword [0x140044be8], 0
je 0x14002f55a
call rax
and eax, 0xffffd8f8
lea ecx, [rax + 0x2704]
call qword [0x140044be8]
lea rax, [0x140044bc8]
mov qword [0x140044c10], rax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
mov rcx, qword [0x140044bd0]
mov byte [0x140044c18], 1
test rcx, rcx
je 0x14002f593
call sub.KERNEL32.dll_FreeLibrary
jmp 0x14002f593
mov byte [0x140044c18], 1
xorps xmm0, xmm0
movups xmmword [0x140044bf8], xmm0
movups xmmword [0x140044be8], xmm0
movups xmmword [0x140044bd8], xmm0
mov qword [0x140044c08], 0
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x14002fa70
Capabilities:
Parse pe header

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rsi, rcx
test rcx, rcx
je 0x14002fab0
movzx eax, word [rsi]
cmp eax, 0x5a4d
jne 0x14002fac4
movsxd rdi, dword [rsi + 0x3c]
cmp dword [rsi + rdi], 0x4550
jne 0x14002fad2
cmp word [rsi + rdi + 0x14], 0
je 0x14002fae0
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov esi, dword [rsi + rdi + 0x50]
jmp 0x14002faec
xor ecx, ecx
call sub.KERNEL32.dll_GetModuleHandleW
mov rsi, rax
movzx eax, word [rsi]
cmp eax, 0x5a4d
je 0x14002fa8e
xor esi, esi
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
jmp 0x14002faec
xor esi, esi
mov ecx, 0xbf
call sub.KERNEL32.dll_SetLastError
jmp 0x14002faec
xor esi, esi
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
mov eax, esi
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret

Function at 0x14002fb20
Capabilities:
Parse pe header

Disassembly:
push rbp
push rsi
sub rsp, 0x58
lea rbp, [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
lea rdx, [rbp - 0x30]
mov r8d, 0x30
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
je 0x14002fb9d
cmp dword [rbp - 0x10], 0x1000
jne 0x14002fb91
mov eax, dword [rbp - 0xc]
cmp al, 1
je 0x14002fb91
and eax, 0x100
jne 0x14002fb91
mov rsi, qword [rbp - 0x28]
movzx eax, word [rsi]
cmp eax, 0x5a4d
jne 0x14002fbb3
movsxd rax, dword [rsi + 0x3c]
cmp dword [rsi + rax], 0x4550
jne 0x14002fbbf
cmp word [rsi + rax + 0x14], 0
je 0x14002fbcb
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
jmp 0x14002fba9
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
jmp 0x14002fba7
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor esi, esi
mov rax, rsi
add rsp, 0x58
pop rsi
pop rbp
ret
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
jmp 0x14002fba7
mov ecx, 0xbf
call sub.KERNEL32.dll_SetLastError
jmp 0x14002fba7
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
jmp 0x14002fba7
Function at 0x14002fe00
Capabilities:
Parse pe header

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov rbx, r9
mov qword [rbp], r8
mov rdi, rdx
mov r14, rcx
test rcx, rcx
je 0x14002ff66
movzx eax, word [r14]
cmp eax, 0x5a4d
jne 0x14002ff7f
movsxd rax, dword [r14 + 0x3c]
cmp dword [r14 + rax], 0x4550
jne 0x14002ff8d
cmp word [r14 + rax + 0x14], 0
je 0x14002ff9b
mov edx, dword [r14 + rax + 0x90]
mov rcx, r14
call fcn.14002fdf0
test rax, rax
jne 0x14002fe9a
xor esi, esi
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
jmp 0x14002ffd5
test rbx, rbx
je 0x14002fe92
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call rbx
mov rax, qword [rbp - 8]
add rax, 0x14
mov r12d, dword [rax]
test r12d, r12d
je 0x14002ffa9
mov qword [rbp - 8], rax
mov edx, dword [rax + 0xc]
mov rcx, r14
call fcn.14002fdf0
mov rsi, rax
test rax, rax
je 0x14002ffc9
mov rcx, r14
mov edx, r12d
call fcn.14002fdf0
mov r12, rax
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0x10]
mov rcx, r14
call fcn.14002fdf0
mov r13, rax
mov rcx, qword [rax]
call fcn.14002fb20
cmp qword [rbp], 0
je 0x14002ff04
mov rcx, rdi
mov rdx, rax
mov r8, rsi
call qword [rbp]
test eax, eax
je 0x14002ffb0
test r12, r12
je 0x14002fe92
xor esi, esi
jmp 0x14002ff12
inc esi
mov r15d, esi
mov rdx, qword [r12 + r15*8]
test rdx, rdx
je 0x14002fe80
js 0x14002ff40
add edx, 2
mov rcx, r14
call fcn.14002fdf0
xor edx, edx
test rbx, rbx
jne 0x14002ff4a
jmp 0x14002ff10
movzx edx, dx
xor eax, eax
test rbx, rbx
je 0x14002ff10
lea r9, [r15*8]
add r9, r13
mov rcx, rdi
mov r8, rax
call rbx
test eax, eax
jne 0x14002ff10
jmp 0x14002fe85
xor ecx, ecx
call sub.KERNEL32.dll_GetModuleHandleW
mov r14, rax
movzx eax, word [r14]
cmp eax, 0x5a4d
je 0x14002fe3a
xor esi, esi
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
jmp 0x14002ffd5
xor esi, esi
mov ecx, 0xbf
call sub.KERNEL32.dll_SetLastError
jmp 0x14002ffd5
xor esi, esi
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
jmp 0x14002ffd5
cmp qword [rbp], 0
je 0x14002ffbb
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [rbp]
mov esi, 1
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
jmp 0x14002ffd5
xor esi, esi
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400300c0
Capabilities:
Parse pe header

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rsi, rcx
test rcx, rcx
je 0x14003018a
movzx eax, word [rsi]
cmp eax, 0x5a4d
jne 0x1400301a2
movsxd rax, dword [rsi + 0x3c]
cmp dword [rsi + rax], 0x4550
jne 0x1400301ae
add rax, rsi
movzx ecx, word [rax + 0x14]
test rcx, rcx
je 0x1400301c6
add rax, 4
lea r14, [rax + rcx]
add r14, 0x14
movzx r15d, word [rax + 2]
xor r12d, r12d
lea rdi, str..detour
nop dword [rax]
cmp r12d, r15d
jae 0x1400301ba
mov eax, r12d
lea rax, [rax + rax*4]
lea rbx, [r14 + rax*8]
mov rcx, rbx
mov rdx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
inc r12d
test eax, eax
jne 0x140030130
mov eax, dword [rbx + 0xc]
test rax, rax
je 0x1400301ba
cmp dword [rbx + 0x10], 0
je 0x1400301ba
mov ecx, dword [rsi + rax]
cmp ecx, 0x40
jb 0x1400301ba
add rsi, rax
cmp dword [rsi + 4], 0x727444
jne 0x1400301ba
cmp dword [rsi + 8], 0
jne 0x140030181
mov dword [rsi + 8], ecx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
jmp 0x1400301d2
xor ecx, ecx
call sub.KERNEL32.dll_GetModuleHandleW
mov rsi, rax
movzx eax, word [rsi]
cmp eax, 0x5a4d
je 0x1400300ed
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
jmp 0x1400301d0
mov ecx, 0xbf
call sub.KERNEL32.dll_SetLastError
jmp 0x1400301d0
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
jmp 0x1400301d0
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret

Function at 0x140030350
Capabilities:
Parse pe header

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
xorps xmm6, xmm6
lea r14, [rsp + 0x20]
add rbx, 0x10000
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
jmp 0x14003039a
mov rbx, qword [rsp + 0x20]
add rbx, qword [rsp + 0x38]
mov r8d, 0x30
mov rcx, rbx
mov rdx, r14
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
je 0x140030407
cmp dword [rsp + 0x40], 0x1000
jne 0x140030390
mov eax, dword [rsp + 0x44]
cmp al, 1
je 0x140030390
and eax, 0x100
jne 0x140030390
movzx eax, word [rbx]
cmp eax, 0x5a4d
jne 0x140030390
mov eax, dword [rbx + 0x3c]
cmp rax, 0x40
jb 0x140030390
cmp qword [rsp + 0x38], rax
jb 0x140030390
cdqe
cmp dword [rbx + rax], 0x4550
jne 0x140030390
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call fcn.140030200
test rax, rax
je 0x14003036e
jmp 0x140030413
mov ecx, 0x7e
call sub.KERNEL32.dll_SetLastError
xor eax, eax
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140031c64
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140031ce8
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140034dc0]
cmp byte [rcx + rax], 0
je 0x140031ce8
dec r8
sub rdx, 1
jne 0x140031cce
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140031f64
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140031fae
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140031fae
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140031fae
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140031fae
cmp dword [rcx + 0x84], 0xe
jbe 0x140031fae
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140031fb0
xor al, al
add rsp, 0x28
ret
Function at 0x14000f910
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140158418]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [rsp + 0x20], 0x130
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000f9a1
lea rdx, [rsp + 0x20]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x14000f998
nop
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 0x14000f983
inc rax
test ecx, ecx
jne 0x14000f970
mov rcx, rbx
test edx, edx
je 0x14000f9c4
lea rdx, [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14000f960
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400ea080
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x14000f9a3

Function at 0x140010aa0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140158418]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140010b73
cmp byte [rcx + 0x71], 0
je 0x140010b73
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x140010b6f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140010b34
sub eax, 1
je 0x140010b38
cmp eax, 2
jne 0x140010b6f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400ea080
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140010b66
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140010b6f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140010b1c
xor al, al
jmp 0x140010b1c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400ea080
add rsp, 0x60
pop rbx
ret
Function at 0x140010f60
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, qword [rcx]
mov r9d, 0x270
mov ecx, dword [r10]
cmp ecx, r9d
jne 0x140010fc1
lea r8, [r10 + 8]
nop dword [rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140010f80
mov ecx, dword [r10]
jmp 0x1400110aa
cmp ecx, 0x4e0
jb 0x1400110aa
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140010fe0
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140011030
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x140011c30
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x40
mov rax, qword [0x140158418]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov esi, dword [rdx + 0x20]
xor edi, edi
xor r12d, r12d
mov rbx, r9
mov rbp, rdx
mov r13, rcx
test rsi, rsi
je 0x140011cb2
cmp rsi, 0x1000
jb 0x140011c96
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x140011e4d
call fcn.1400e9738
test rax, rax
je 0x140011e46
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140011ca1
mov rcx, rsi
call fcn.1400e9738
mov rdi, rax
mov r8, rsi
lea r12, [rdi + rsi]
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
xor esi, esi
mov qword [rsp + 0x90], r14
sub r12, rdi
je 0x140011d4c
mov r14, qword [rbp + 0x18]
xor ebp, ebp
nop dword [rax + rax]
mov r15, r14
mov qword [rsp + 0x20], 0
sub r15, rbp
lea r8, [rsp + 0x30]
sub r15, 0x10000
mov r9d, 1
mov rdx, r15
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x140011d3d
mov r9, rbx
mov qword [rsp + 0x20], 0
mov r8, rdi
mov rdx, r15
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test rbx, rbx
je 0x140011d3d
mov eax, 1
cmp byte [rdi + rax - 1], 0
mov rcx, rax
jne 0x140011d3d
cmp rax, rbx
je 0x140011dab
inc rax
cmp rcx, rbx
jb 0x140011d26
inc rsi
add rbp, 0x10000
cmp rsi, r12
jb 0x140011cd0
xor r15d, r15d
mov r14, qword [rsp + 0x90]
test rdi, rdi
je 0x140011d8c
cmp r12, 0x1000
jb 0x140011d81
mov rcx, qword [rdi - 8]
add r12, 0x27
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x140011e46
mov rdi, rcx
mov rdx, r12
mov rcx, rdi
call fcn.1400e9774
mov rax, r15
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400ea080
add rsp, 0x40
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
movsxd rsi, dword [rsp + 0xa0]
cmp esi, 1
jle 0x140011dfa
movsxd r14, dword [rsp + 0xa8]
lea rbp, [rsi - 1]
imul rbp, r14
add rbp, 0x1000
add rbp, r15
sub rbp, r14
mov dword [rsp + 0x20], 0x40
mov rdx, rbp
mov r9d, 0x3000
mov r8, r14
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
dec esi
test esi, esi
jg 0x140011dd2
jmp 0x140011e24
test esi, esi
je 0x140011e24
movsxd r8, dword [rsp + 0xa8]
lea rdx, [r15 + 0x1000]
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov r8, rbx
mov rdx, r15
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
jmp 0x140011d4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011860
int3