joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff6fba616d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
xor r8d, r8d
lea rsi, [0x7ff6fba60000]
mov r10d, r8d
lea rbp, [0x7ff6fba891b0]
mov r9d, r8d
mov r11d, 0x4c8f8d29
test r10b, 1
jne 0x7ff6fba61708
mov al, byte [r9 + rbp]
jmp 0x7ff6fba6172a
mov eax, r11d
mov ecx, r10d
imul r10d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x6b
sub ecx, eax
movsxd rax, ecx
mov al, byte [rax + rsi + 0x1e6e0]
xor byte [r9 + rsi + 0x29700], al
inc r10d
inc r9
cmp r10d, 0x1d
jl 0x7ff6fba616fc
mov r10d, r8d
mov r9, r8
test r10b, 1
jne 0x7ff6fba61750
mov al, byte [r9 + rbp]
jmp 0x7ff6fba61772
mov eax, r11d
mov ecx, r10d
imul r10d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x6b
sub ecx, eax
movsxd rax, ecx
mov al, byte [rax + rsi + 0x1e6e0]
xor byte [r9 + rsi + 0x29560], al
inc r10d
inc r9
cmp r10d, 0x1f
jl 0x7ff6fba61744
mov r11d, dword [0x7ff6fba93424]
test r11d, r11d
jne 0x7ff6fba617dd
mov r9d, r8d
mov r10, rbp
mov eax, 0x8f3f82a9
mov ecx, r9d
imul r9d
add edx, r9d
inc r9d
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0xe4c
sub ecx, eax
movsxd rax, ecx
mov al, byte [rax + rsi + 0x1e750]
xor byte [r10], al
inc r10
cmp r9d, 0x1dd
jl 0x7ff6fba61798
mov byte [0x7ff6fba8938d], r8b
jmp 0x7ff6fba6183c
mov r10d, r8d
mov rbx, rbp
mov r9, rbp
mov eax, r10d
cdq
idiv r11d
test edx, edx
jne 0x7ff6fba617f4
inc r9
mov eax, 0x8f3f82a9
mov ecx, r10d
imul r10d
add edx, r10d
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0xe4c
sub ecx, eax
movsxd rax, ecx
mov al, byte [rax + rsi + 0x1e750]
xor al, byte [r9]
inc r9
mov byte [rbx], al
inc rbx
movsxd rax, r10d
inc r10d
cmp r10d, 0x273
jb 0x7ff6fba617e6
mov byte [rax + rbp], r8b
mov rdx, r8
mov r9d, 0x46
mov al, byte [rdx + rsi + 0x29700]
inc rdx
mov ecx, r9d
inc r9d
mov byte [rcx + rbp], al
cmp rdx, 0x1d
jl 0x7ff6fba61845
mov edx, 0x8f
mov al, byte [r8 + rsi + 0x29560]
inc r8
mov ecx, edx
inc edx
mov byte [rcx + rbp], al
cmp r8, 0x1f
jl 0x7ff6fba61863
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
ret
Function at 0x7ff6fba6246c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xb0
mov ebx, dword [0x7ff6fba946d8]
lea rcx, [rsp + 0x40]
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor edi, edi
lea rcx, [rsp + 0x40]
sub rcx, 2
mov word [rsp + 0x44], di
test ebx, ebx
je 0x7ff6fba624ef
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x7ff6fba624a3
movaps xmm0, xmmword [str.Documents_and_SettingsDefault_User_sys]
movaps xmm1, xmmword [0x7ff6fba7e2d0]
movzx eax, word [0x7ff6fba7e310]
movups xmmword [rcx], xmm0
movaps xmm0, xmmword [0x7ff6fba7e2e0]
movups xmmword [rcx + 0x10], xmm1
movaps xmm1, xmmword [0x7ff6fba7e2f0]
movups xmmword [rcx + 0x20], xmm0
movaps xmm0, xmmword [0x7ff6fba7e300]
movups xmmword [rcx + 0x30], xmm1
movups xmmword [rcx + 0x40], xmm0
mov word [rcx + 0x50], ax
jmp 0x7ff6fba62516
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x7ff6fba624ef
movups xmm0, xmmword [str.usersPublic_sys]
mov eax, dword [0x7ff6fba7e338]
movups xmm1, xmmword [0x7ff6fba7e328]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov dword [rcx + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], 2
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x7ff6fba62567
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 2
jmp 0x7ff6fba625ad
mov ebx, 1
cmp eax, 2
lea ecx, [rbx + 0xa]
cmove ebx, ecx
test eax, eax
je 0x7ff6fba625ab
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], 2
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
neg rax
sbb ecx, ecx
and ebx, ecx
mov eax, ebx
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret
Function at 0x7ff6fba65c84
Capabilities:
Initialize winsock library
Send data
Send data on socket
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rsi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x66]
call fcn.7ff6fba6188c
xor edi, edi
mov byte [rbp + 0x190], 1
or r15, 0xffffffffffffffff
mov dword [rsp + 0x50], r15d
mov word [rsp + 0x54], r15w
mov al, byte [rsi + rdi*4]
mov byte [rbp + rdi + 0x198], al
inc rdi
cmp rdi, 6
jl 0x7ff6fba65ccf
mov eax, dword [rbp + 0x198]
lea rdi, [rsp + 0x5c]
mov dword [rsp + 0x56], eax
lea rsi, [rsp + 0x56]
movzx eax, word [rbp + 0x19c]
lea rdx, [rbp - 0x40]
mov word [rsp + 0x5a], ax
mov ecx, 0x2d
rep movsw word [rdi], word [rsi]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x7ff6fba65d24
xor eax, eax
jmp 0x7ff6fba65e21
mov esi, 2
mov edx, esi
mov ecx, esi
lea r8d, [rsi + 0xf]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, r15
je 0x7ff6fba65d1d
lea r9, [rbp + 0x190]
mov dword [rsp + 0x20], 1
mov edx, 0xffff
lea r8d, [rsi + 0x1e]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x7ff6fba65d1d
and qword [rsp + 0x30], 0
xor ecx, ecx
and qword [rsp + 0x38], 0
mov word [rsp + 0x30], si
call qword [sym.imp.WS2_32.dll_htonl]
xor ecx, ecx
mov dword [rsp + 0x34], eax
call qword [sym.imp.WS2_32.dll_htons]
lea r8d, [rsi + 0xe]
mov rcx, rdi
lea rdx, [rsp + 0x30]
mov word [rsp + 0x32], ax
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x7ff6fba65d1d
and qword [rsp + 0x40], 0
mov rcx, rbx
and qword [rsp + 0x48], 0
mov word [rsp + 0x40], si
call qword [sym.imp.WS2_32.dll_inet_addr]
lea ecx, [rsi + 5]
mov dword [rsp + 0x44], eax
call qword [sym.imp.WS2_32.dll_htons]
mov dword [rsp + 0x28], 0x10
lea r8d, [rsi + 0x64]
mov word [rsp + 0x42], ax
lea rdx, [rsp + 0x50]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
cmp eax, r15d
je 0x7ff6fba65d1d
mov ecx, 0xfa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea eax, [rsi - 1]
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret
Function at 0x7ff6fba67bb0
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x7ff6fba67984
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x7ff6fba67984
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x7ff6fba67984
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x7ff6fba67984
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x7ff6fba67984
cmp dword [rcx + 0x84], 0xe
jbe 0x7ff6fba67984
cmp dword [rcx + 0xf8], esi
je 0x7ff6fba67984
mov ecx, r14d
call fcn.7ff6fba67acc
mov ecx, 2
call fcn.7ff6fba6b0f0
nop
cmp byte [0x7ff6fba922f0], 0
jne 0x7ff6fba67a4e
mov r15d, 1
mov eax, r15d
xchg dword [0x7ff6fba922e0], eax
test ebx, ebx
jne 0x7ff6fba679f7
mov rdi, qword [0x7ff6fba82018]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x7ff6fba922e8]
cmp rcx, rax
je 0x7ff6fba679ee
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [0x7ff6fba763d8]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x7ff6fba92568]
jmp 0x7ff6fba67a03
cmp ebx, r15d
jne 0x7ff6fba67a09
lea rcx, [0x7ff6fba92580]
call fcn.7ff6fba6a950
nop
test ebx, ebx
jne 0x7ff6fba67a20
lea rdx, [0x7ff6fba76458]
lea rcx, [0x7ff6fba76438]
call fcn.7ff6fba6a304
lea rdx, [0x7ff6fba76468]
lea rcx, [0x7ff6fba76460]
call fcn.7ff6fba6a304
movzx eax, byte [0x7ff6fba922f0]
test esi, esi
cmove eax, r15d
mov byte [0x7ff6fba922f0], al
jmp 0x7ff6fba67a4e
mov ecx, 2
call fcn.7ff6fba6b144
test esi, esi
jne 0x7ff6fba67a65
mov ecx, r14d
call fcn.7ff6fba67a80
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x7ff6fba67914
Function at 0x140002360
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x200
mov rax, qword [0x140011240]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov rdi, rcx
lea rcx, [rsp + 0x24]
call fcn.140003000
mov rcx, rax
call fcn.140002530
mov r8, rax
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140002e70
mov rcx, rax
call fcn.140002940
mov rcx, rax
lea rdx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
lea rcx, [rsp + 0x30]
call fcn.1400029c0
cmp rbx, 0xffffffffffffffff
je 0x1400024e6
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rsp + 0xdc]
lea rcx, [rsp + 0x70]
call fcn.140002a00
nop
lea rcx, [rsp + 0x20]
call fcn.140003030
mov rcx, rax
call fcn.140002590
mov r8, rax
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140002e70
nop
lea r8, [rsp + 0x70]
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140002f10
nop
lea rcx, [rsp + 0x50]
call fcn.1400029c0
lea rcx, [rsp + 0x70]
test byte [rsp + 0xb0], 0x10
je 0x140002487
lea rdx, [0x14000e538]
call fcn.140003050
test al, al
jne 0x1400024ac
lea rcx, [rsp + 0x28]
call fcn.140003060
mov rcx, rax
call fcn.140002530
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140003050
test al, al
jne 0x1400024ac
lea rcx, [rsp + 0x90]
call fcn.140002360
jmp 0x1400024a8
lea rdx, [0x1400119d8]
call fcn.140003090
test al, al
jne 0x1400024ea
lea rdx, [0x1400119f8]
lea rcx, [rsp + 0x70]
call fcn.140003090
test al, al
jne 0x1400024ea
lea rcx, [rsp + 0x90]
call fcn.1400029c0
nop
lea rcx, [rsp + 0x70]
call fcn.1400029c0
lea rdx, [rsp + 0xb0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1400023e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x140002504
lea rcx, [rsp + 0x90]
call fcn.1400029c0
nop
lea rcx, [rsp + 0x70]
call fcn.1400029c0
mov al, 1
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.14000bc70
mov rbx, qword [rsp + 0x218]
add rsp, 0x200
pop rdi
ret

Function at 0x140003ca0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140011240]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
lea rcx, [rsp + 0x30]
call fcn.140004140
lea rcx, [rsp + 0x30]
call fcn.140004210
nop
lea rdi, [rbx + 8]
lea rcx, [rsp + 0x30]
call fcn.1400017d0
mov r9, rax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
lea r8, [0x140004260]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140003d35
lea rcx, [rsp + 0x30]
call fcn.140004180
nop
lea rcx, [rsp + 0x30]
call fcn.1400041a0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14000bc70
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140003ea0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140011240]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
lea rcx, [rsp + 0x30]
call fcn.140004140
lea rcx, [rsp + 0x30]
call fcn.140004460
nop
lea rdi, [rbx + 8]
lea rcx, [rsp + 0x30]
call fcn.1400017d0
mov r9, rax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
lea r8, [0x140004490]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140003f35
lea rcx, [rsp + 0x30]
call fcn.140004150
nop
lea rcx, [rsp + 0x30]
call fcn.140004170
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14000bc70
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x14000a2d0
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 [0x140011b5c]
mov ebx, edi
test ecx, ecx
je 0x14000a40b
mov rax, qword [0x140011b50]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x14000a328
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x14000a300
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x14000a40b
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.14000a650
mov r8d, dword [0x140011b5c]
cmp ebx, r8d
jae 0x14000a398
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x140011b50]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x14000a391
mov edx, esi
mov ecx, ebx
call fcn.14000a540
mov edi, eax
test eax, eax
jne 0x14000a398
mov r8d, dword [0x140011b5c]
inc ebx
cmp ebx, r8d
jb 0x14000a360
cmp qword [rsp + 0x20], 0
je 0x14000a40b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x14000a3f7
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 0x14000a3e8
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 0x14000a3c0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x140011388]
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 0x14000a540
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 [0x140011b50]
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 0x14000a5a4
mov eax, 0xa
jmp 0x14000a637
test esi, esi
je 0x14000a5c6
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 0x14000a5e9
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x14000a5e9
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x14000a5e2
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x14000a5e9
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 0x14000a650
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 [0x140011240]
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 0x14000a77a
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x14000a771
nop word [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x14000a754
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x14000a754
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x14000a754
mov rdx, qword [rbx]
test rdx, rdx
jne 0x14000a712
mov dword [rbx + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x140011388]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x14000a771
jmp 0x14000a747
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x14000a747
mov rcx, qword [0x140011388]
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 0x14000a771
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], 0x1c
mov rcx, rdi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x14000a6c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x14000a7d3
cmp dword [rbx + 0xc], esi
jbe 0x14000a7d3
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 0x14000a7cc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.14000ab40
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x14000a790
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000bc70
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 0x14000acf0
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x14000ad5f
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x14000ad48
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 0x14000ad3c
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 0x14000ad10
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x140011388]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000c934
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c97e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000c97e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000c97e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000c97e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000c97e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000c980
xor al, al
add rsp, 0x28
ret
Function at 0x140001eb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12d, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
xor edi, edi
movsxd rcx, dword [rax + 0x3c]
mov r14d, dword [rcx + rax + 0x88]
add r14, rax
mov r13d, dword [r14 + 0x1c]
mov r15d, dword [r14 + 0x20]
add r13, rax
add r15, rax
mov eax, dword [r14 + 0x24]
add rax, rbp
mov qword [rsp + 0x60], rax
cmp dword [r14 + 0x14], edi
jbe 0x140001f87
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
nop dword [rax]
mov ebx, dword [r15 + rdi*4]
add rbx, rbp
jne 0x140001f1e
lea eax, [rbx + 0x35]
jmp 0x140001f5d
mov edx, 0x32
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov r9, rax
xor r8d, r8d
mov eax, 0x35
test r9, r9
je 0x140001f5d
nop dword [rax]
movsx edx, byte [r8 + rbx]
inc r8
imul ecx, eax, 0x10f29f
add edx, ecx
and edx, 0xffffff
add eax, edx
cmp r8, r9
jb 0x140001f40
cmp eax, r12d
je 0x140001f6c
inc edi
cmp edi, dword [r14 + 0x14]
jb 0x140001f10
jmp 0x140001f7d
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + rdi*2]
mov eax, dword [r13 + rax*4]
add rax, rbp
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14001bfcc
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140003f8d
lea rbx, [0x14014ec50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003f74
cmp r10, 2
jb 0x140003f74
cmp byte [r9], r8b
jne 0x140003f74
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140003f50
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140003fcf
lea rbx, [0x14014ec50]
cmp r8b, 0x23
jne 0x140003fb3
cmp byte [r9], r8b
jne 0x140003fb3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140003fa0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140004190
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x1400041bf
mov r8d, 0x7d4
lea rdx, str.D:DarkPanelV2GAMELOOP_CONTIDEMONimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x1400041cb
mov qword [rdi], 0
lea rdx, [0x14014e478]
mov rcx, rbx
call fcn.140003fe0
mov rbx, rax
test rax, rax
jne 0x1400041ed
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1400042c4
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400042c4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400042c4
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400042c4
cmp rsi, 0xffffffffffffffff
je 0x1400042c4
mov rax, qword [0x140241910]
test rax, rax
je 0x140004261
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x1400042c4
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x1400042b1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140241910]
test rax, rax
je 0x1400042a6
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400042cd
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x1400042bf
mov qword [rdi], rsi
mov rax, rbp
jmp 0x1400042cf
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret