joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400102cc
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x180
mov rax, qword [0x140066550]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov ebx, ecx
lea rdi, [0x140054af8]
lea rdx, str.Inside_Close_CUI_Applications
lea rcx, [rsp + 0x28]
mov dword [rsp + 0x30], 0x1b47
mov qword [rsp + 0x28], rdi
call fcn.140002484
cmp ebx, 1
je 0x1400103af
lea rdx, str.igfxtrayWindow
lea rcx, str.igfxtrayClass
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x140010365
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 2]
call qword [sym.imp.USER32.dll_PostMessageA]
lea rdx, str.Inside_Close_CUI_Applications:_Closed_Tray
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x30], 0x1b51
call fcn.140002484
lea rdx, str.HkWndName
lea rcx, str.HkClass
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x1400103af
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 2]
call qword [sym.imp.USER32.dll_PostMessageA]
lea rdx, str.Inside_Close_CUI_Applications:_Closed_hkcmd
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x30], 0x1b5a
call fcn.140002484
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x44]
xor edx, edx
mov r8d, 0x12c
call fcn.1400208e0
lea rdx, [rsp + 0x40]
mov rcx, rbx
mov dword [rsp + 0x40], 0x130
call sub.KERNEL32.dll_Process32First
lea rdx, str.GfxUI.exe
lea rcx, [rsp + 0x6c]
call fcn.140024630
test eax, eax
je 0x140010416
lea rdx, [rsp + 0x40]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x140010446
jmp 0x1400103ee
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rdx, [rsp + 0x20]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400209e0
mov rbx, qword [rsp + 0x190]
add rsp, 0x180
pop rdi
ret
Function at 0x140010b44
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x580
mov rax, qword [0x140066550]
xor rax, rsp
mov qword [rsp + 0x570], rax
mov rbx, rcx
lea rbp, [0x140054af8]
lea rdx, str.Inside_ICC:_CheckCreateDirectory__._n
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x40], 0x20cb
mov qword [rsp + 0x38], rbp
call fcn.140002484
lea rcx, [rsp + 0x160]
xor edx, edx
mov r8d, 0x104
call fcn.1400208e0
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x104
call fcn.1400208e0
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 3]
call fcn.1400208e0
mov edi, 0x100
lea rcx, [rsp + 0x470]
mov r8, rdi
xor edx, edx
call fcn.1400208e0
lea rcx, [rsp + 0x270]
mov r8, rdi
xor edx, edx
call fcn.1400208e0
lea rcx, [rsp + 0x370]
mov r8, rdi
xor edx, edx
call fcn.1400208e0
lea edx, [rdi + 4]
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x140010c3e
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x20d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.LastError___ld._n
lea rcx, [rsp + 0x38]
mov r8d, eax
call fcn.140002484
lea rax, [rsp + 0x370]
lea r9, [rsp + 0x270]
lea r8, [rsp + 0x470]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x160]
mov qword [rsp + 0x20], rax
call fcn.140024b80
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140020e00
lea rdx, [0x140054818]
lea rcx, [rsp + 0x50]
call fcn.140020d60
lea rdx, str.ProgramDataIntelExtremeGraphics
lea rcx, [rsp + 0x50]
call fcn.140020d60
lea rdx, [0x140054818]
lea rcx, [rsp + 0x50]
call fcn.140020d60
lea rdx, str.CUIResource
lea rcx, [rsp + 0x50]
call fcn.140020d60
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
test eax, eax
je 0x140010d1f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, VarDecFix
cmp eax, edi
je 0x140010d1f
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140024630
test eax, eax
je 0x140010d1b
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140020e00
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
test eax, eax
je 0x140010d1f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
je 0x140010d1f
xor al, al
jmp 0x140010d21
mov al, 1
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.1400209e0
lea r11, [rsp + 0x580]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140013ac8
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x170
lea rbp, [0x140054af8]
lea rdx, str.Inside_Launch_CUI_Applications
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rbp
mov dword [rsp + 0x58], 0x1bad
call fcn.140002484
xor ebx, ebx
lea rdi, str.igfxtray.exe
cmp ebx, 1
jne 0x140013b34
lea rdx, str.Inside_Launch_CUI_Applications:_Launching_hkcmd
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rbp
mov dword [rsp + 0x58], 0x1bb6
call fcn.140002484
lea rdi, str.hkcmd.exe
jmp 0x140013b52
lea rdx, str.Inside_Launch_CUI_Applications:_Launching_igfxtray
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rbp
mov dword [rsp + 0x68], 0x1bbb
call fcn.140002484
xor edx, edx
lea rcx, [rsp + 0x100]
lea r8d, [rdx + 0x68]
call fcn.1400208e0
lea rax, [rsp + 0xe0]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x100]
xor r8d, r8d
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x28], 0x4000020
and dword [rsp + 0x20], 0
mov dword [rsp + 0x100], 0x68
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140013bff
lea r8d, [rax + 0x70]
lea rcx, [rsp + 0x70]
xor edx, edx
call fcn.1400208e0
and qword [rsp + 0x90], 0
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x70
mov dword [rsp + 0x74], 0x440
mov qword [rsp + 0x88], rdi
mov dword [rsp + 0xa0], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
inc ebx
cmp ebx, 2
jl 0x140013b01
cmp qword [0x140067f80], 0
jne 0x140013c19
call fcn.140013364
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140025280
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1400252a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
jmp 0x1400252ac
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x20], 0
je 0x1400252c3
mov ecx, dword [rsp + 0x20]
call fcn.140028fc0
mov eax, 0xffffffff
jmp 0x1400252c5
xor eax, eax
add rsp, 0x38
ret

Function at 0x14002eb27
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140066550]
jne 0x1400209fa
rol rcx, 0x10
test cx, 0xffff
jne 0x1400209f6
repz ret
ror rcx, 0x10
jmp 0x14002ea80
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140068750]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140068848]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14002eb05
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140068750]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14002eb27
mov rax, qword [rsp + 0x88]
mov qword [0x140068848], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400687e8], rax
mov rax, qword [0x140068848]
mov qword [0x1400686c0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400687d0], rax
mov dword [0x1400686b0], 0xc0000409
mov dword [0x1400686b4], 1
mov rax, qword [0x140066550]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140066558]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140068748], eax
mov ecx, 1
call fcn.140039ff0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14005b2f0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140068748], 0
jne 0x14002ebae
mov ecx, 1
call fcn.140039ff0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14000fc40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov ecx, Ordinal_60
call fcn.140173318
mov rcx, rax
mov rdx, rbx
call fcn.140005710
mov r10, qword [rbx + 0x20]
mov qword [rcx + 0x20], r10
mov r8, qword [rbx + 0x28]
mov qword [rcx + 0x28], r8
mov rdx, qword [rbx + 0x30]
mov qword [rcx + 0x30], rdx
mov qword [rsp + 0x40], rcx
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
and dword [rsp + 0x20], 0
mov r9, rcx
lea r8, [0x140010284]
xor edx, edx
xor ecx, ecx
call fcn.1401828e0
mov qword [rdi], rax
test rax, rax
je 0x14000fcb9
mov rax, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
and dword [rbx], 0
mov ecx, 6
call fcn.140171c10
int3
Function at 0x1400356e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x760]
sub rsp, 0x860
mov rdi, rcx
xor esi, esi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x28]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rsp + 0x30], rsi
test eax, eax
jns 0x14003573f
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], si
lea rdx, [0x1401e5608]
jmp 0x140035757
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], si
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140002cdc
nop
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str._source_repos
lea rcx, [rsp + 0x30]
call fcn.140003088
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400357df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400357da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400357f7
call fcn.140173310
mov rax, rdi
lea r11, [rsp + 0x860]
mov rsi, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.14018273c
int3
Function at 0x14004d950
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov r15, rdx
mov rbx, rcx
xor r12d, r12d
or r14, 0xffffffffffffffff
mov rax, r14
inc rax
cmp byte [rdx + rax], r12b
jne 0x14004d97e
mov dword [rbp + 0x77], eax
mov edi, eax
mov ecx, eax
call fcn.140173948
mov rsi, rax
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.140175ef0
mov qword [rbp + 0x7f], rsi
mov ecx, dword [rbp + 0x77]
mov rdi, rsi
xor eax, eax
rep stosb byte [rdi], al
inc r14
cmp byte [r15 + r14], r12b
jne 0x14004d9b1
mov rdx, r14
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
lea rax, [rbp + 0x77]
mov qword [rsp + 0x20], rax
mov r9, rsi
mov r8d, 1
mov rcx, r15
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x14004d9fd
mov qword [rbx], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], r12
mov byte [rbx], r12b
jmp 0x14004dad2
call qword [0x14021c978]
mov r14, rax
test rax, rax
jne 0x14004da18
mov qword [rbx], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
jmp 0x14004d9f1
mov rax, qword [0x14021c970]
xor r8d, r8d
mov dl, 1
mov rcx, r14
call rax
test eax, eax
je 0x14004da3a
mov qword [rbx], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
jmp 0x14004d9f1
mov qword [rbp - 1], rsi
mov eax, dword [rbp + 0x77]
mov dword [rbp + 7], eax
mov qword [rbp - 0x19], r12
mov dword [rbp - 0x11], r12d
mov rax, qword [0x14021c980]
xor r8d, r8d
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 9]
call rax
test eax, eax
je 0x14004da71
mov qword [rbx], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
jmp 0x14004d9f1
mov edi, dword [rbp - 0x11]
mov qword [rbp + 0xf], r12
mov qword [rbp + 0x1f], r12
mov qword [rbp + 0x27], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xf], r12b
lea rcx, [rbp + 0xf]
cmp rdi, 0xf
ja 0x14004daa9
mov qword [rbp + 0x1f], rdi
mov r8d, edi
mov rdx, qword [rbp - 0x19]
call fcn.140175840
mov byte [rbp + rdi + 0xf], r12b
jmp 0x14004daba
mov r9, qword [rbp - 0x19]
mov r8b, byte [rbp + 0x77]
mov rdx, rdi
call fcn.140005450
nop
mov rcx, r14
call qword [0x14021c990]
movups xmm0, xmmword [rbp + 0xf]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x1f]
movups xmmword [rbx + 0x10], xmm1
mov rcx, rsi
call fcn.140173310
mov rax, rbx
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140052a70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
and qword [rbp - 0x48], 0
movdqa xmm1, xmmword [0x1401f5c60]
movdqu xmmword [rbp - 0x28], xmm1
movdqa xmm0, xmmword [0x1401f5cf0]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 8], 0
xor ecx, ecx
mov al, byte [rbp - 0x28]
xor byte [rbp + rcx - 0x27], al
inc rcx
cmp rcx, 0x1f
jb 0x140052ab0
mov byte [rbp - 8], 0
xor r9d, r9d
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x27]
lea rcx, [rbp - 0x40]
call fcn.140052914
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.140053460
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140052af2
call fcn.1400ef7d0
mov rcx, qword [rbp - 0x40]
call fcn.1400f0a90
mov rax, rbx
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rbp
ret

Function at 0x140052b10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
and qword [rbp - 0x20], 0
xorps xmm0, xmm0
movdqa xmm1, xmmword [0x1401f55f0]
mov rbx, rcx
movdqu xmmword [rbp - 0x30], xmm0
xor ecx, ecx
mov dword [rbp - 0x3c], 0xf165313
movdqu xmmword [rbp - 0x4c], xmm1
mov word [rbp - 0x38], 0x1213
mov byte [rbp - 0x36], 0
mov al, byte [rbp - 0x4c]
xor byte [rbp + rcx - 0x4b], al
inc rcx
cmp rcx, 0x15
jb 0x140052b4d
xor r9d, r9d
mov byte [rbp - 0x36], 0
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x4b]
lea rcx, [rbp - 0x18]
call fcn.140052914
mov rdx, rbx
lea rcx, [rbp - 0x18]
call fcn.140053460
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140052b8f
call fcn.1400ef7d0
mov rcx, qword [rbp - 0x18]
call fcn.1400f0a90
mov rax, rbx
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret
Function at 0x14005938c
Capabilities:
Check for unmoving mouse cursor
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov ecx, 0x32cd2a4c
xorps xmm6, xmm6
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rbp - 0x30], xmm6
call fcn.140186988
mov rbx, rax
test rax, rax
je 0x14005944c
lea rcx, [rax + 1]
xor edx, edx
mov r8d, 0x32cd2a4b
call fcn.140175ef0
xor eax, eax
mov rcx, rbx
mov byte [rcx], al
inc eax
inc rcx
cmp eax, 0x32cd2a4c
jl 0x1400593d9
call fcn.1400026f0
test al, al
jne 0x140059444
call fcn.140002a40
test al, al
jne 0x140059444
call fcn.1400edcc8
mov ecx, 1
call fcn.140173318
lea rcx, [rbp - 0x38]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x140059558]
and dword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
call fcn.1401828e0
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14005953d
cmp dword [rbp - 0x28], 0
jne 0x140059537
movaps xmm6, xmmword [rbp - 0x40]
mov rcx, rbx
call fcn.140186974
movdqa xmm0, xmm6
psrldq xmm0, 8
movd ebx, xmm0
test ebx, ebx
je 0x14005948d
call sub.KERNEL32.dll_GetCurrentThreadId
cmp ebx, eax
je 0x14005952c
xor edx, edx
movdqa xmmword [rbp - 0x30], xmm6
lea rcx, [rbp - 0x30]
call fcn.140171dac
test eax, eax
jne 0x14005954c
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
mov ebx, dword [rbp - 0x28]
lea rcx, [rbp - 0x48]
call qword [sym.imp.USER32.dll_GetCursorPos]
xorps xmm7, xmm7
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp - 0x4c]
sub eax, dword [rbp - 0x44]
movsd xmm1, qword [0x1401f5288]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
call fcn.140191cb0
mov eax, dword [rbp - 0x50]
movaps xmm6, xmm0
sub eax, dword [rbp - 0x48]
movsd xmm1, qword [0x1401f5288]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
call fcn.140191cb0
addsd xmm0, xmm6
call fcn.1401b5648
mov ecx, 0x64
addsd xmm7, xmm0
call qword [sym.imp.KERNEL32.dll_Sleep]
comisd xmm7, xmmword [0x1401f52d8]
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x48], rax
jbe 0x14005949a
test ebx, ebx
jne 0x140059526
mov rbx, qword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
add rsp, 0x80
pop rbp
ret
call fcn.1401829c0
int3
mov ecx, 5
call fcn.140171c10
int3
call fcn.1401829c0
int3
and dword [rbp - 0x38], 0
mov ecx, 6
call fcn.140171c10
int3
mov ecx, 2
call fcn.140171c10
int3
Function at 0x14005cf7c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x1318]
mov eax, 0x13f0
call fcn.140173c80
sub rsp, rax
movsxd rsi, edx
mov rbx, rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x38], r15
lea r14d, [r15 + 7]
mov qword [rsp + 0x40], r14
mov word [rsp + 0x28], r15w
lea rdx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
lea rcx, [rsp + 0x28]
call fcn.140002cdc
nop
call fcn.140172b2c
or dword [rbp + 0x12e4], 0xffffffff
mov dword [rsp + 0x64], eax
lea r12d, [r15 + 1]
mov edx, r12d
mov r8d, 0x270
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x64], eax
add rdx, r12
cmp rdx, r8
jb 0x14005cffd
mov dword [rsp + 0x60], r8d
mov edi, dword [rsp + 0x38]
dec edi
mov qword [rbx], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r14
mov word [rbx], r15w
mov dword [rsp + 0x20], r12d
mov r14, rsi
test esi, esi
je 0x14005d111
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], reloc.WLDAP32.dll_Ordinal_32
or dword [rsp + 0x58], 0xffffffff
cmp edi, 0xffffffff
jne 0x14005d06d
lea rcx, [rsp + 0x48]
call fcn.14005d2a8
mov edx, eax
jmp 0x14005d0b1
lea esi, [rdi + 1]
mov r9d, r15d
mov r8d, r15d
test edi, edi
je 0x14005d08b
lea rcx, [rsp + 0x48]
call fcn.14005d2a8
mov r9d, eax
or r8d, 0xffffffff
xor edx, edx
mov eax, r8d
div esi
mov ecx, eax
xor edx, edx
mov eax, r9d
div esi
cmp eax, ecx
jb 0x14005d0aa
xor edx, edx
mov eax, r8d
div esi
cmp edx, edi
jne 0x14005d070
xor edx, edx
mov eax, r9d
div esi
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
movsxd rax, edx
movzx r9d, word [rcx + rax*2]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x14005d0f6
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14005d0e9
mov rax, qword [rbx]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r15w
jmp 0x14005d108
mov r8b, byte [rbp + 0x1328]
mov rdx, r12
mov rcx, rbx
call fcn.14005d13c
sub r14, r12
jne 0x14005d042
lea rcx, [rsp + 0x28]
call fcn.14000299c
mov rax, rbx
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14005d2a8
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov rbx, rcx
mov esi, 0x7fffffff
mov ebp, 0x9908b0df
mov r9, qword [rbx]
mov r8d, dword [r9]
cmp r8d, 0x270
jne 0x14005d318
lea r8, [r9 + 8]
mov r10d, 0x270
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, esi
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, ebp
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x14005d2dd
mov r8d, dword [r9]
jmp 0x14005d3e6
cmp r8d, 0x4e0
jb 0x14005d3e6
lea r10, [r9 + 0x9c4]
mov r11d, 0xe3
mov eax, dword [r10]
lea r8, [r10 + 4]
mov edx, dword [r8]
xor edx, eax
and edx, esi
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, ebp
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub r11, 1
jne 0x14005d335
lea r10, [r9 + 0xd50]
mov r11d, 0x18c
mov eax, dword [r10]
mov edx, eax
lea r8, [r10 + 4]
xor edx, dword [r8]
and edx, esi
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, ebp
xor ecx, dword [r10 - 0xd4c]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub r11, 1
jne 0x14005d37a
mov edx, dword [r9 + 0x1380]
xor edx, dword [r9 + 4]
and edx, esi
xor edx, dword [r9 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, ebp
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
and dword [r9], 0
xor r8d, r8d
mov eax, r8d
mov edx, dword [r9 + rax*4 + 4]
mov ecx, edx
lea eax, [r8 + 1]
shr ecx, 0xb
mov dword [r9], eax
mov eax, dword [r9 + 0x1384]
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
cmp eax, dword [rbx + 0x10]
ja 0x14005d2c4
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
ret

Function at 0x140066868
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movsxd r10, dword [rcx + 0xc]
mov r9, rcx
movsxd rbx, r8d
test r8d, r8d
jle 0x1400668c1
mov rsi, qword [rcx]
mov r11, r10
movsxd rbp, dword [rcx + 8]
xor edi, edi
mov al, byte [rdi + rdx]
lea rcx, [r11 + 1]
xor byte [r11 + rsi], al
lea eax, [r10 + 1]
xor r10d, r10d
cmp rcx, rbp
cmovl r10d, eax
xor r11d, r11d
inc rdi
cmp rcx, rbp
cmovl r11, rcx
cmp rdi, rbx
jl 0x140066896
add dword [r9 + 0x10], r8d
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov dword [r9 + 0xc], r10d
ret
Function at 0x14008b6f0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
xor edi, edi
mov r15, rcx
mov qword [rcx], rdi
mov rbp, r8
mov r12, rdx
lea ecx, [rdi + 0x28]
call fcn.14005fbc4
mov rbx, rax
test rax, rax
jne 0x14008b733
lea edi, [rax + 7]
jmp 0x14008b7bb
cmp byte [reloc.WS2_32.dll_accept], dil
je 0x14008b788
mov rax, qword [0x140213f90]
test rax, rax
je 0x14008b753
mov ecx, reloc.WLDAP32.dll_Ordinal_200
call rax
test eax, eax
jne 0x14008b788
lea r14, [rbx + 8]
mov qword [rbx + 0x18], rbp
lea rsi, [rbx + 0x10]
mov qword [rsp + 0x28], r14
mov r9, rbx
mov dword [rsp + 0x20], edi
lea r8, [0x14006214c]
mov qword [rsi], r12
xor edx, edx
xor ecx, ecx
call fcn.1401828e0
mov qword [rbx], rax
test rax, rax
jne 0x14008b7a0
jmp 0x14008b790
lea rsi, [rbx + 0x10]
lea r14, [rbx + 8]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
cmp qword [rsi], rdi
jne 0x14008b7b8
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, rbp
mov dword [r14], eax
call r12
mov qword [rbx + 0x20], rax
mov qword [r15], rbx
mov rbx, qword [rsp + 0x50]
mov eax, edi
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r12
ret