joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401aab80
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
sub esp, 0x50
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.1401b6940
mov rax, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
test rax, rax
je 0x1401aac37
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x38]
and al, 0x38
lea rdx, [rsp + 0x20]
mov r8b, 1
call fcn.1401adeb0
mov rdi, qword [rsp + 0x38]
mov edi, dword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
test rdi, rdi
je 0x1401aac37
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
adc eax, 0x2f5de
test eax, eax
je 0x1401aac0b
invalid
test rsi, rsi
je case.0x1401a031b.412
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.1400259c0
xor esi, esi
jmp 0x1401aac37
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
shl rbx, 0x20
jrcxz 0x1401aac37
or rbx, 2
test rsi, rsi
test esi, esi
je 0x1401aac34
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov ecx, edi
mov rdx, rsi
call fcn.1400259c0
lodsd eax, dword [rsi]
out 0xff, eax
mov rsi, rbx
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret

Function at 0x1401aac50
Capabilities:
Delete file

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
sub esp, 0x50

Function at 0x1401ac420
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x14122e840]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x1401ac464
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x1401ac4c3
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x1401ac4d2
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x1401ac50a
cmp eax, 0x103
je 0x1401ac514
test eax, eax
js 0x1401ac4ef
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x1401ac50a
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, [0x14122e8a8]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.1401a2740
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140199d60
mov ecx, 7
int 0x29
ud2
Function at 0x1401ac580
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x14122e840]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x1401ac5c4
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1401ac62a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x1401ac661
test eax, eax
js 0x1401ac63b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1401ac654
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, [0x14122e8a8]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.1401a2740
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140199d60
mov ecx, 7
int 0x29
ud2

Function at 0x1401ac6d0
Capabilities:
Create udp socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov edi, r8d
mov rsi, rcx
cmp word [rdx], 0
mov eax, 2
mov ebx, 0x17
cmove ebx, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, r8d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1401ac725
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x1401ac7c1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2726
je 0x1401ac739
cmp eax, 0x2739
jne 0x1401ac78a
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1401ac784
mov rdi, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x1401ac79f
mov qword [rsi + 8], rdi
mov qword [rsi], 0
jmp 0x1401ac7c1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1401ac7c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401ae660
Capabilities:
Create pipe
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x148
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xb0], xmm6
mov qword [rbp + 0xa8], 0xfffffffffffffffe
mov qword [rbp + 0x28], rcx
mov byte [rbp + 0xa5], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rbp + 0x24], ecx
xor edi, edi
mov r15d, 8
mov sil, 1
xorps xmm6, xmm6
mov r12, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
xor eax, eax
mov qword [rbp - 0x10], rax
nop

Function at 0x1401afa30
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
cmp qword [rdx], 0
jne 0x1401afb85
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov rax, qword [rbx + 8]
test rax, rax
jne 0x1401afa68
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x1401afb48
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x1401afb67
sub rax, rdx
add rdx, qword [rbx]
mov r8, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rsp + 0x2c], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x2c]
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401afac9
mov ecx, dword [rsp + 0x2c]
mov eax, 2
test rcx, rcx
je 0x1401afafb
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov byte [rsi + 1], 1
jmp 0x1401afaff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rax
shl rcx, 0x20
or rcx, 2
mov qword [rsp + 0x40], rcx
cmp eax, 0x3e5
je 0x1401afb03
cmp eax, 0x6d
jne 0x1401afb2e
mov qword [rsp + 0x30], 1
lea rax, [rsp + 0x38]
jmp 0x1401afb08
mov byte [rsi + 1], 0
xor eax, eax
jmp 0x1401afb34
lea rax, [rsp + 0x30]
mov qword [rax], 0
lea rcx, [rsp + 0x40]
call fcn.140199640
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
test rax, rax
je 0x1401afb3e
cmp rax, 1
je 0x1401afab2
mov qword [rsi + 8], rcx
mov al, 1
mov byte [rsi], al
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
mov eax, 1
jmp 0x1401afabc
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rbx
call fcn.1401d80d0
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
jne 0x1401afa75
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.1401d80d0
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
jmp 0x1401afa75
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1401d7db0
ud2
Function at 0x1401b47c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x88
add byte [rax], al

Function at 0x1401b5730
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, reloc.WS2_32.dll_recv
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x1401b5768
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
add rsp, 0x38
ret
call fcn.1401b5780
nop
add rsp, 0x38
ret

Function at 0x1401b5780
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, reloc.WS2_32.dll_recv
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x1401b57c3
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [case.0x1401a031b.114]
mov qword [rbp - 0x28], rax
lea rax, [0x14122edb8]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, [0x14122edf0]
lea rcx, [rbp - 0x60]
call fcn.1401d90b0
ud2

Function at 0x1401b5e20
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x141297011]
mov ecx, reloc.WS2_32.dll_recv
mov edx, 8
call fcn.1400259b0
test rax, rax
je 0x1401b5eff
mov rbx, rax
mov qword [rbp - 0x18], r14
Function at 0x1401b7dd0
Capabilities:
Resolve dns

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1f0
mov rsi, rcx
mov r14, qword [rdx]
mov rbx, qword [rdx + 8]
movzx edi, word [rdx + 0x10]
mov rax, qword [0x141297140]
cmp rax, 3
jne 0x1401b7ec6
cmp rbx, 0x17f
ja 0x1401b7ed8
lea r15, [rsp + 0x70]
mov rcx, r15
mov rdx, r14
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x70], 0
inc rbx
lea rcx, [rsp + 0x28]
mov rdx, r15
mov r8, rbx
call fcn.1401c49a0
cmp qword [rsp + 0x28], 0
je 0x1401b7e54
lea rax, [0x14122da20]
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1401b7ee9
mov rcx, qword [rsp + 0x30]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x40]
lea r9, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x1401b7eae
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
jmp 0x1401b7ee9
mov rax, qword [rsp + 0x20]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], di
xor eax, eax
mov qword [rsi], rax
jmp 0x1401b7ee9
call fcn.1401d8360
cmp rbx, 0x17f
jbe 0x1401b7e0a
mov rcx, rsi
mov rdx, r14
mov r8, rbx
mov r9d, edi
call fcn.1401d83d0
mov rax, rsi
add rsp, 0x1f0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1401b8040
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rsi
sub rsp, 0xb0
mov rax, rdx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x2c], 0x80
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x2c]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x1401b80f0
mov eax, dword [rsp + 0x2c]
movzx ecx, word [rsp + 0x30]
cmp ecx, 2
je 0x1401b8100
cmp ecx, 0x17
jne 0x1401b8127
cmp eax, 0x1b
jbe 0x1401b8140
movzx eax, word [rsp + 0x32]
rol ax, 8
movups xmm0, xmmword [rsp + 0x38]
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x48]
mov word [rsi], 1
movups xmmword [rsi + 4], xmm0
mov dword [rsi + 0x14], ecx
mov dword [rsi + 0x18], edx
mov word [rsi + 0x1c], ax
add rsp, 0xb0
pop rsi
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
jmp 0x1401b812e
cmp eax, 0xf
jbe 0x1401b815a
movzx eax, word [rsp + 0x32]
rol ax, 8
mov ecx, dword [rsp + 0x34]
mov word [rsi], 0
mov word [rsi + 6], ax
mov dword [rsi + 2], ecx
add rsp, 0xb0
pop rsi
ret
lea rax, [0x14122f7b8]
mov qword [rsi + 8], rax
mov word [rsi], 2
add rsp, 0xb0
pop rsi
ret
lea rcx, [0x14122f748]
lea r8, [0x14122f790]
mov edx, 0x43
call fcn.1401d9180
ud2
lea rcx, [0x14122f6c8]
lea r8, [0x14122f730]
mov edx, 0x42
call fcn.1401d9180
ud2
Function at 0x1401cc3f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x1401cc46a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1401cc460
cmp r11, r10
ja 0x1401cc503
cmp r10, rdx
ja 0x1401cc517
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x1401cc462
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1401cc440
jmp 0x1401cc4d7
ja 0x1401cc46a
mov r11, r10
cmp rax, r8
jne 0x1401cc412
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x1401cc4db
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1401cc4b0
mov r8, r10
sub ecx, r9d
jns 0x1401cc4ce
jmp 0x1401cc4dd
cmp r10, rdx
je 0x1401cc4e9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x1401cc4dd
xor al, 1
cmp r8, rdx
jne 0x1401cc490
jmp 0x1401cc4dd
xor eax, eax
jmp 0x1401cc4dd
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x141232b01]
lea r8, [0x141233e88]
mov edx, 0x2b
call fcn.1401d9180
ud2
lea r8, [0x141233ea0]
mov rcx, r11
mov rdx, r10
call fcn.1401d9730
ud2
lea r8, [0x141233ea0]
mov rcx, r10
call fcn.1401d96b0
ud2

Function at 0x1401cec68
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401cecb2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401cecb2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401cecb2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401cecb2
cmp dword [rcx + 0x84], 0xe
jbe 0x1401cecb2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401cecb4
xor al, al
add rsp, 0x28
ret
Function at 0x1401d77e0
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
lea rcx, [0x14122ba75]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1401d7841
mov rdi, rax
lea rdx, [0x14122ba96]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401d7841
mov rsi, rax
lea rdx, [0x14122baa4]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401d7841
mov rdi, rax
xor ebx, ebx
jmp 0x1401d78c7
lea rcx, [0x14122ba30]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1401d793b
mov rsi, rax
lea rdx, [0x14122ba3a]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401d793b
mov rdi, rax
lea rdx, [0x14122ba4d]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401d793b
mov rbx, rax
lea rdx, [0x14122ba61]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401d793b
mov rsi, rax
lea rcx, [rbp - 0x18]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x1401d793b
mov rdi, qword [rbp - 0x18]
movzx eax, byte [0x141297011]
mov ecx, 0x18
mov edx, 8
call fcn.1400259b0
test rax, rax
je 0x1401d7942
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
xor eax, eax
lock cmpxchg qword [0x141297070], rcx
je 0x1401d792f
mov rsi, rax
cmp qword [rcx], 0
mov qword [rbp - 8], rcx
je 0x1401d7918
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 8]
call fcn.1400259c0
mov rcx, rsi
mov rax, rcx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret
call fcn.1401d77a0
ud2
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rbx
mov ecx, 8
mov edx, 0x18
call fcn.1401d8e60
ud2
Function at 0x1401d83d0
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov ebp, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1401c0340
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1401d842b
lea rax, [0x14122da20]
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x1401d84a4
mov r8d, 1
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.1400259c0
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x1401d84b1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
je 0x1401d84a4
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.1400259c0
nop
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bp
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
jne 0x1401d8493
jmp 0x1401d84a4
Function at 0x140001140
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x278
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x66
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x298]
mov rax, qword [0x14000f040]
xor rax, rbp
mov qword [rbp + 0x248], rax
lea rcx, [0x1400110f3]
call fcn.140005790
mov dword [rbp + 4], 0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
je 0x1400011fd
lea rax, [rbp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x130
rep stosb byte [rdi], al
mov dword [rbp + 0x50], 0x130
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1400011fd
mov rdx, qword [rbp + 0x270]
lea rcx, [rbp + 0x7c]
call qword [sym.imp.ucrtbased.dll__stricmp]
test eax, eax
jne 0x1400011ec
mov eax, dword [rbp + 0x58]
mov dword [rbp + 4], eax
jmp 0x1400011fd
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400011cf
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14000a510]
call fcn.140005560
mov eax, edi
mov rcx, qword [rbp + 0x248]
xor rcx, rbp
call fcn.140005920
lea rsp, [rbp + 0x258]
pop rdi
pop rbp
ret

Function at 0x1400012b0
Capabilities:
Create thread
Inject thread

Disassembly:
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x40]
lea rcx, [0x1400110f3]
call fcn.140005790
lea rax, str.C:FivemcheatPitbullMafiaPitbullMafia.dll
mov qword [rbp + 8], rax
lea rax, str.FiveM_b2802_GTAProcess.exe
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x44], 0
cmp dword [rbp + 0x44], 0
jne 0x140001307
mov rcx, qword [rbp + 0x28]
call fcn.140001140
mov dword [rbp + 0x44], eax
mov ecx, 0x1e
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400012e8
mov r8d, dword [rbp + 0x44]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
je 0x1400013de
cmp qword [rbp + 0x68], 0xffffffffffffffff
je 0x1400013de
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x104
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
je 0x140001390
mov rcx, qword [rbp + 8]
call sub.ucrtbased.dll_strlen
inc rax
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x20], rax
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
je 0x1400013de
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x180001f90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp dword [rsp + 0x58], 1
jne 0x180002055
call fcn.1800050f0
mov dword [rsp + 0x30], eax
call fcn.180004d60
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x180002060]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [rsp + 0x30], 0
jne 0x18000200b
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Internal_Hooks_Failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [rsp + 0x34], 0
jne 0x180002027
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Windows_Hooks_Failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x30], 0
je 0x180002047
cmp dword [rsp + 0x34], 0
je 0x180002047
mov dword [rsp + 0x38], 1
jmp 0x18000204f
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
jmp 0x18000205b
jmp 0x180002059
xor eax, eax
add rsp, 0x48
ret

Function at 0x180004810
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x118
mov qword [rsp + 0x60], 0xfffffffffffffffe
movabs rax, 0x143a97c08
movzx eax, byte [rax]
test eax, eax
jne 0x18000483e
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180004820
lea rcx, [rsp + 0xb0]
call fcn.180001df0
xor edx, edx
lea rcx, [rsp + 0xb0]
call fcn.180001e50
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x48], rax
lea rdx, str.66_44_89_11_B8_01_00_00_00_C3
mov rcx, qword [rsp + 0x38]
call fcn.180001460
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
lea rdx, str.MapleStory.exe
mov rcx, qword [rsp + 0x48]
call fcn.180001460
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.1800044c0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1800048df
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Find_Pattern_Failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
jmp 0x180004984
mov eax, 0xb848
mov rcx, qword [rsp + 0x20]
mov word [rcx - 2], ax
mov rax, qword [rsp + 0x20]
lea rcx, section..text
mov dword [rax], ecx
xor edx, edx
lea rax, section..text
movabs rcx, 0x100000000
div rcx
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 4], eax
mov eax, 0xe0ff
mov rcx, qword [rsp + 0x20]
mov word [rcx + 8], ax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x18000493e
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180004927
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x28], eax
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180004982
mov edx, 2
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x118
ret