joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003f3a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1802dc798]
xor rax, rsp
mov qword [rsp + 0x48], rax
call fcn.180020c00
mov rdi, rax
mov rcx, qword [rax + 0xa0]
cmp dword [rcx + 0x40], 0
jle 0x18003f3dc
cmp qword [rcx + 0x18], 0
jne 0x18003f3f6
cmp qword [rcx + 0x20], 0
jne 0x18003f3f6
mov r8d, Ordinal_211
lea rdx, str.D:ClientesDarkrp_sharkDDR3imguiimgui_impl_win32.cpp
lea rcx, str.io.Fonts__IsBuilt_____Font_atlas_not_built__It_is_generally_built_by_the_renderer_back_end._Missing_call_to_renderer__NewFrame___function__e.g._ImGui_ImplOpenGL3_NewFrame__._
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [0x1802de318]
lea rdx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x30]
sub eax, dword [rsp + 0x38]
movd xmm1, eax
mov eax, dword [rsp + 0x44]
sub eax, dword [rsp + 0x3c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x30]
xorps xmm1, xmm1
sub rax, qword [0x1802de320]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x1802de328]
mov ecx, reloc.WS2_32.dll_recvfrom
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rsp + 0x30]
mov qword [0x1802de320], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_recv
and al, 1
mov byte [rdi + 0x140], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_select
and al, 1
mov byte [rdi + 0x141], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x143], 0
mov byte [rdi + 0x142], al
call fcn.180020c00
cmp byte [rax + 0x39b], 0
lea rbx, [rax + 0x128]
je 0x18003f502
cvttss2si ecx, dword [rbx]
lea rdx, [rsp + 0x20]
cvttss2si eax, dword [rax + 0x12c]
mov dword [rsp + 0x20], ecx
mov rcx, qword [0x1802de318]
mov dword [rsp + 0x24], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x18003f573
mov rdx, qword [0x1802de318]
cmp rax, rdx
je 0x18003f533
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x18003f573
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x18003f573
mov rcx, qword [0x1802de318]
lea rdx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x18003f573
movd xmm0, dword [rsp + 0x28]
movd xmm1, dword [rsp + 0x2c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc0], 0
je 0x18003f583
mov eax, 0xffffffff
jmp 0x18003f588
call fcn.180020c40
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x18003f59b
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.18003f8a0
call fcn.18003f5c0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800b2f90
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x180049cd0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x180049d9c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x180049d9c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x180049db5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x180049d8c
cmp byte [rax], 0x5c
jne 0x180049d86
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x180049d86
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x180049d72
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x180049d83
test r8b, 0x10
jne 0x180049d86
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x180049d86
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18004af70
test edi, edi
jne 0x180049cf0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.18004a4b0
int3
Function at 0x18004b180
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov rsi, rdx
mov r14, rcx
cmp rdx, r8
je 0x18004b390
cmp qword [rdx + 0x28], 0x10
lea r8, [rdx + 0x10]
mov rax, qword [rcx + 8]
mov r10, qword [rcx + 0x18]
mov r9, qword [r8 + 0x10]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rdi
lea rdi, [rcx + 8]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x80], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x88], r10
jb 0x18004b1ef
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
test r9, r9
je 0x18004b224
nop word [rax + rax]
movzx eax, byte [rcx + r8]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r9
jb 0x18004b210
mov r15, qword [r14 + 0x30]
mov rcx, rdi
mov rbx, qword [rsi]
and r15, rdx
shl r15, 4
mov rdx, rsi
add r15, r10
mov r13, qword [r15]
mov r12, qword [r15 + 8]
call fcn.180043940
dec qword [rdi + 8]
cmp rsi, r12
je 0x18004b274
mov r14, rbx
cmp rbx, rbp
je 0x18004b28e
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rbx]
call fcn.180043940
dec qword [rdi + 8]
cmp r14, r12
jne 0x18004b250
mov r14, qword [rsp + 0x70]
mov r12, qword [rsp + 0x80]
cmp r13, rsi
mov r13, qword [rsp + 0x78]
jne 0x18004b2a7
mov qword [r15], r12
mov rax, r12
jmp 0x18004b2aa
cmp r13, rsi
jne 0x18004b296
mov qword [r15], rbx
mov rax, qword [rsp + 0x78]
mov qword [rax], rbx
mov qword [rbx + 8], rax
jmp 0x18004b377
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x18004b36f
nop word [rax + rax]
cmp qword [rbx + 0x28], 0x10
lea r8, [rbx + 0x10]
mov r9, qword [r8 + 0x10]
mov rsi, rbx
jb 0x18004b2d5
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x18004b309
movabs r13, 0x100000001b3
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, r9
jb 0x18004b2f0
mov r13, qword [rsp + 0x78]
mov r15, qword [r14 + 0x30]
mov rdx, rbx
mov rbx, qword [rbx]
and r15, rcx
shl r15, 4
mov rcx, rdi
add r15, qword [rsp + 0x88]
mov r14, qword [r15 + 8]
call fcn.180043940
dec qword [rdi + 8]
cmp rsi, r14
je 0x18004b356
mov rsi, rbx
cmp rbx, rbp
je 0x18004b36c
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rbx]
call fcn.180043940
dec qword [rdi + 8]
cmp rsi, r14
jne 0x18004b337
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
je 0x18004b36f
mov r14, qword [rsp + 0x70]
jmp 0x18004b2c0
mov qword [r15], rbx
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov r15, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
Function at 0x18004b5a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x18004b620
mov rax, qword [rbx + 0x38]
mov rdx, qword [rbx + 8]
shr rax, 3
mov qword [rsp + 0x38], rdi
cmp rax, rcx
jbe 0x18004b5e0
mov r8, rdx
mov rcx, rbx
mov rdx, qword [rdx]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
jmp fcn.18004b180
lea rcx, [rbx + 8]
call fcn.1800438a0
mov rax, qword [rbx + 8]
lea r8, [rsp + 0x30]
mov qword [rax], rax
mov rax, qword [rbx + 8]
mov qword [rax + 8], rax
mov qword [rbx + 0x10], 0
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x30], rax
call fcn.180044450
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret

Function at 0x18004b770
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x18004b7a4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x18004b790
ret
Function at 0x18004c570
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x18004c5b0
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1802df4a0]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18004c5ee
cmp rsi, r14
jb 0x18004c5e6
cmp rsi, r15
jae 0x18004c5e6
cmp qword [rsi + 8], 0
jne 0x18004c7b7
mov rsi, qword [rsi]
test rsi, rsi
jne 0x18004c5d1
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x18004c682
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x18004c679
nop word [rax + rax]
mov r8d, Ordinal_50
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18004c679
cmp dword [rsp + 0x70], 0x10000
je 0x18004c6fb
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x18004c679
sub rbx, rbp
cmp rbx, r14
jae 0x18004c640
test rsi, rsi
jne 0x18004c760
cmp rdi, r15
ja 0x18004c79f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18004c79f
mov r8d, Ordinal_50
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18004c79f
cmp dword [rsp + 0x70], 0x10000
je 0x18004c731
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x18004c6b2
jmp 0x18004c79f
test rbx, rbx
je 0x18004c679
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18004c760
cmp rbx, r14
jae 0x18004c620
jmp 0x18004c682
test rdi, rdi
je 0x18004c79f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18004c760
cmp rdi, r15
jbe 0x18004c690
jmp 0x18004c79f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x18004c770
mov rax, qword [0x1802df4a0]
mov qword [rsi], rax
mov qword [0x1802df4a0], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x18004cfc0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x1802df49c]
mov ebx, edi
test ecx, ecx
je 0x18004d0fb
mov rax, qword [0x1802df490]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x18004d018
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18004cff0
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18004d0fb
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.18004d340
mov r8d, dword [0x1802df49c]
cmp ebx, r8d
jae 0x18004d088
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x1802df490]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x18004d081
mov edx, esi
mov ecx, ebx
call fcn.18004d230
mov edi, eax
test eax, eax
jne 0x18004d088
mov r8d, dword [0x1802df49c]
inc ebx
cmp ebx, r8d
jb 0x18004d050
cmp qword [rsp + 0x20], 0
je 0x18004d0fb
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18004d0e7
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18004d0d8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x18004d0b0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1802de4c0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x18004d230
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x1802df490]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18004d294
mov eax, 0xa
jmp 0x18004d327
test esi, esi
je 0x18004d2b6
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18004d2d9
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18004d2d9
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18004d2d2
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18004d2d9
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x18004d340
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1802dc798]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18004d46a
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], Ordinal_32
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x18004d461
nop word [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x18004d444
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18004d444
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x18004d444
mov rdx, qword [rbx]
test rdx, rdx
jne 0x18004d402
mov dword [rbx + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x1802de4c0]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x18004d461
jmp 0x18004d437
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x18004d437
mov rcx, qword [0x1802de4c0]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x18004d461
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], Ordinal_32
mov rcx, rdi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x18004d3b0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x18004d4c3
cmp dword [rbx + 0xc], esi
jbe 0x18004d4c3
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18004d4bc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.18004d830
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x18004d480
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800b2f90
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18004d9e0
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x18004da4f
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x18004da38
mov qword [rsp + 0x38], rsi
mov r8, qword [rdi]
xor edx, edx
mov r8d, dword [r8 + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18004da2c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x18004da00
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x1802de4c0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18005aea0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1802dc798]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword [0x1802de560]
xor r12d, r12d
mov r15, rdx
mov r13, rcx
mov r8, qword [rax + 8]
sub r8, qword [rax]
sar r8, 3
test r8, r8
je 0x18005b053
lea edx, [r12 + 0xf]
nop
mov rdi, qword [r13]
add rdi, 0xd0
mov dword [rbp - 0x38], 0x5d41585c
xor eax, eax
mov dword [rbp - 0x34], 0x4e544e57
mov word [rbp - 0x30], 0x44
mov byte [rbp - 0x2e], 1
nop word [rax + rax]
lea ecx, [rax + 0x35]
xor byte [rbp + rax - 0x38], cl
inc rax
cmp rax, 9
jb 0x18005af20
movzx eax, byte [rbp - 0x30]
lea rcx, [rbp - 0x28]
xorps xmm0, xmm0
mov byte [rbp - 0x2e], 0
cmp qword [rdi + 0x18], 0x10
movups xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x20], al
movsd xmm0, qword [rbp - 0x38]
mov rax, qword [rdi + 0x10]
movsd qword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], 9
mov qword [rbp - 0x10], rdx
mov byte [rbp - 0x1f], 0
jb 0x18005af6e
mov rdi, qword [rdi]
cmp rax, 9
jb 0x18005afdc
movsx r14d, byte [rcx]
lea rsi, [rax + rdi]
lea r8, [rsi - 8]
mov edx, r14d
sub r8, rdi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x18005afd7
nop word [rax + rax]
mov r8d, 9
lea rdx, [rbp - 0x28]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18005b098
inc rbx
lea r8, [rsi - 8]
sub r8, rbx
mov rcx, rbx
mov edx, r14d
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x18005afa0
mov edx, reloc.WS2_32.dll_ntohs
mov rbx, 0xffffffffffffffff
cmp rdx, 0x10
jb 0x18005b01f
mov rcx, qword [rbp - 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005b015
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005b0a5
call fcn.1800b29dc
mov edx, reloc.WS2_32.dll_ntohs
cmp rbx, 0xffffffffffffffff
je 0x18005b032
mov rax, qword [r15]
cmp rax, qword [r15 + 8]
je 0x18005b032
mov qword [r15 + 8], rax
mov rax, qword [0x1802de560]
inc r12d
mov rcx, qword [rax + 8]
sub rcx, qword [rax]
sar rcx, 3
mov eax, r12d
cmp rax, rcx
jb 0x18005aef0
mov r8, qword [r13]
lea rdx, [rbp - 0x38]
add r8, 0xd0
lea rcx, [0x1802de5a0]
call fcn.18004f400
mov rcx, qword [rax]
inc dword [rcx + 0x40]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800b2f90
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
sub rbx, rdi
mov edx, reloc.WS2_32.dll_ntohs
jmp 0x18005afe3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x18005b0b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1802dc798]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword [0x1802de560]
xor r12d, r12d
mov r15, rdx
mov r13, rcx
mov r8, qword [rax + 8]
sub r8, qword [rax]
sar r8, 3
test r8, r8
je 0x18005b263
lea edx, [r12 + 0xf]
nop
mov rdi, qword [r13]
add rdi, 0xd0
mov dword [rbp - 0x38], 0x5b564646
xor eax, eax
mov dword [rbp - 0x34], 0x5358175c
mov dword [rbp - 0x30], 0x1005b4f
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax + 0x35]
xor byte [rbp + rax - 0x38], cl
inc rax
cmp rax, 0xa
jb 0x18005b130
movzx eax, word [rbp - 0x30]
lea rcx, [rbp - 0x28]
xorps xmm0, xmm0
mov byte [rbp - 0x2d], 0
cmp qword [rdi + 0x18], 0x10
movups xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x20], ax
movsd xmm0, qword [rbp - 0x38]
mov rax, qword [rdi + 0x10]
movsd qword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], 0xa
mov qword [rbp - 0x10], rdx
mov byte [rbp - 0x1e], 0
jb 0x18005b17f
mov rdi, qword [rdi]
cmp rax, 0xa
jb 0x18005b1ec
movsx r14d, byte [rcx]
lea rsi, [rdi + rax]
lea r8, [rsi - 9]
mov edx, r14d
sub r8, rdi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x18005b1e7
nop word [rax + rax]
mov r8d, 0xa
lea rdx, [rbp - 0x28]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18005b2a8
inc rbx
lea r8, [rsi - 9]
sub r8, rbx
mov rcx, rbx
mov edx, r14d
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x18005b1b0
mov edx, reloc.WS2_32.dll_ntohs
mov rbx, 0xffffffffffffffff
cmp rdx, 0x10
jb 0x18005b22f
mov rcx, qword [rbp - 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005b225
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005b2b5
call fcn.1800b29dc
mov edx, reloc.WS2_32.dll_ntohs
cmp rbx, 0xffffffffffffffff
je 0x18005b242
mov rax, qword [r15]
cmp rax, qword [r15 + 8]
je 0x18005b242
mov qword [r15 + 8], rax
mov rax, qword [0x1802de560]
inc r12d
mov rcx, qword [rax + 8]
sub rcx, qword [rax]
sar rcx, 3
mov eax, r12d
cmp rax, rcx
jb 0x18005b100
mov r8, qword [r13]
lea rdx, [rbp - 0x38]
add r8, 0xd0
lea rcx, [0x1802de5a0]
call fcn.18004f400
mov rcx, qword [rax]
inc dword [rcx + 0x40]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800b2f90
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
sub rbx, rdi
mov edx, reloc.WS2_32.dll_ntohs
jmp 0x18005b1f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3