joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000aff0
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002fdb8]
test rcx, rcx
je 0x14000b02b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b01e
mov rcx, qword [0x14002fdb8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002fdb8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002fdc8], 0
je 0x14000b11e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x140029848]
mov qword [rsp + 0x80], rsi
lea rsi, [0x1400305f0]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b0ff
test al, 0x10
je 0x14000b0ff
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b0a5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000c0e4
Capabilities:
Parse pe header

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

Function at 0x14000fe64
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 0x14000fcc3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000fcc3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000fcc3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000fcc3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000fcc3
cmp dword [rcx + 0x84], 0xe
jbe 0x14000fcc3
cmp dword [rcx + 0xf8], 0
je 0x14000fcc3
mov ecx, ebx
call fcn.14000fd80
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.14000fb50
nop
cmp dword [rbp + 0x20], 0
je 0x14000fd11
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000fd1c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000fc54
Function at 0x140019134
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 0x1400191bb
mov rsi, rbx
cmp word [rax], bp
je 0x14001917a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140019164
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140019160
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140016974
mov rdi, rax
test rax, rax
je 0x1400191a8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14001fce0
mov rbp, rdi
xor ecx, ecx
call fcn.140015aa4
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 0x140029a2c
Capabilities:
Clear file content

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, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001d034
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d034
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029b7c
cmp rax, 0xffffffffffffffff
je 0x140029b7c
xor edi, edi
test rbp, rbp
jle 0x140029b27
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f948
mov rbx, rax
test rax, rax
jne 0x140029ab4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029b1d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a99c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001dd10
cmp eax, 0xffffffff
je 0x140029afd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029ac4
mov edx, r15d
mov ecx, r14d
call fcn.14001a99c
jmp 0x140029b1d
cmp byte [rsi + 0x38], dil
je 0x140029b14
cmp dword [rsi + 0x34], 5
jne 0x140029b14
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029b1d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b700
jmp 0x140029b90
jns 0x140029b90
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d034
cmp rax, 0xffffffffffffffff
jne 0x140029b48
cmp byte [rsi + 0x30], dil
je 0x140029b90
mov edi, dword [rsi + 0x2c]
jmp 0x140029b90
mov ecx, r14d
call fcn.140018e54
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029b90
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029b90
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029b89
mov eax, dword [rsi + 0x2c]
jmp 0x140029b8e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d034
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002ac80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002aca8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002aca8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140001200
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x140004678]
syscall
ret

Function at 0x140001ae0
Capabilities:
Parse pe header

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

Disassembly:
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x14012a3c4
jmp 0x14012a51d
cmp edx, 0xa3611248
je 0x14012a5ef
mov rax, qword gs:[0x60]
mov r8d, r15d
mov ecx, dword [rbx + r9 + 0x24]
add rcx, r9
movzx edx, word [rcx + r10*2]
jne 0x14012a642
je 0x14012a642
cpuid
lea edi, [rcx + 0x314]
inc rcx
jge 0x14012a6b7
int3
jmp 0x14012a6d5
xchg r13, rax
mov r13, qword [rcx + 0x10]
xchg r13, rax
xchg r9, rcx
mov r9, qword [rax]
xchg rcx, r9
jmp 0x14012a672
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
jmp 0x14012a694
mov r9, qword [rcx + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
mov r11d, dword [rbx + r9 + 0x20]
nop dword [rax + rax]
mov r10d, r8d
jmp 0x14012a6bd
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x14012a666
jmp 0x14012a6f2
inc rcx
test al, al
je 0x14012a6fe
add cl, ch
cmpsb byte [rsi], byte [rdi]
invalid
jmp 0x14012a663
mov edx, 0x7154f49f
lea rax, [r11 + r10*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
jmp 0x14012a6ad
mov ecx, dword [rbx + r9 + 0x1c]
add rcx, r9
mov esi, dword [rcx + rdx*4]
xchg rdx, rcx
mov rdx, qword [rax + 0x18]
xchg rdx, rcx
add rsi, r9
jmp 0x14012a64d
cmp edx, 0x12d92ad3
je 0x14012a706
inc r8d
jmp 0x14012a68c
mov ecx, dword [rbx + r9 + 0x24]
xorps xmm0, xmm0

Function at 0x14012ad94
Capabilities:
Execute anti-debugging instructions

Disassembly:
loope 0x14012aaf0
mov edx, 0xfffd8ce9
call [rax - 0x8b7e54a]
cmc
xor r9d, 0xb3d17f17
and ebp, 0xf90c246a
mul rdi
lea r8d, [rdi + 0xac9c]
ror r8d, 0xc4
jmp 0x14012b066
xchg ecx, edx
add byte ss:[rax], al
rol r9d, 0x32
neg r12
movabs rdi, 0x5439e00000031ae9
jnp 0x14012a7b2
or r13d, 0x3f8a0f12
neg r8
call rax
lea r9d, [rdx + 0xa4c7]
jb 0x14012aaa6
cpuid
ret 0x28
ror dword [rax - 0x7b], 1
xlatb
rcr r10d, 0x2a
popf
jp 0x140129fbe
jmp 0x14012b35c
ret
rcr r13d, 0x12
and ebp, 0xebf1231f
bswap r9
jmp 0x14012b07b
Function at 0x14012be35
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor eax, dword [rax]
add byte [rcx - 0x3f], al
shl ah, 0x81
cli
invalid
and r11d, 0x1b41fcef
movabs r11, 0x2b091400000274e9
push r9
call rax
jne 0x14012bd30
mov r15d, 0x554b1bd3
mov r15d, 0x345710f0
jo 0x14012ca7d
lea r11d, [rbx + 0x4851]
ret 0x30
add byte [rcx + 0xf], al
mov dh, 0x48
inc dword [rcx + rcx*8 + 0x16e850f]
add byte [rax], al
mov ecx, 0x48fffff1
bswap ecx
pushf
rcl r8d, 0xef
jne 0x14012d34d
lea r13d, [rbp - 0xd4f8]
lea r13d, [rbp - 0xfa41]
movabs rdx, 0x149d8dfffffe85e9
je 0x14012c562
rol r13d, 0x6a
test r11, rbx
cpuid
call fcn.14012c1e5
invalid
Function at 0x140001160
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0xa0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, r9
mov ebp, r8d
mov rsi, rdx
mov r13, rcx
mov rdi, qword [rsp + 0xf0]
test r8b, 0xf
je 0x14000122b
lea rcx, [rsp + 0x40]
call fcn.140001140
nop
mov r8, rax
lea rcx, [rsp + 0x60]
call fcn.140002070
nop
cmp qword [rax + 0x18], 0x10
jb 0x1400011d2
mov rax, qword [rax]
lea rcx, vtable.std::exception.0
mov qword [rsp + 0x20], rcx
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x80], rax
mov byte [rsp + 0x88], 1
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x80]
call qword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
lea rax, vtable.std::length_error.0
mov qword [rsp + 0x20], rax
lea rdx, [0x140006030]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, rbp
call fcn.1400027b0
mov r15, rax
mov ecx, dword [r13 + 4]
inc ecx
shl ecx, 4
call fcn.1400027b0
mov r14, rax
mov r8, rax
mov rdx, rbx
mov rcx, r13
call fcn.140001840
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x80], xmm0
xor edi, edi
test ebp, ebp
je 0x1400012fe
nop word [rax + rax]
mov r10d, edi
lea rax, [rsi + 2]
add rax, r10
mov edx, edi
neg rdx
mov rcx, rdx
sub rcx, rsi
lea r8, [rsp + 0x80]
add r8, rcx
sub rdx, rsi
lea r9, [rsp + 0x81]
add r9, rdx
mov edx, 4
movzx ecx, byte [rax - 2]
xor byte [r8 + rax - 2], cl
movzx ecx, byte [rax - 1]
xor byte [r9 + rax - 2], cl
movzx ecx, byte [rax]
xor byte [r8 + rax], cl
movzx ecx, byte [rax + 1]
xor byte [r9 + rax], cl
lea rax, [rax + 4]
sub rdx, 1
jne 0x1400012a3
lea rbx, [rdi + r15]
mov r9, r14
mov r8, rbx
lea rdx, [rsp + 0x80]
mov rcx, r13
call fcn.1400013c0
movups xmm1, xmmword [rbx]
movups xmmword [rsp + 0x80], xmm1
add edi, 0x10
cmp edi, ebp
jb 0x140001270
mov rcx, r14
call fcn.1400027a8
mov rax, r15
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140002740
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
Function at 0x140001840
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub rsp, 0x28
mov eax, dword [rcx]
xor r9d, r9d
shl eax, 2
mov r10, r8
mov r11, rcx
test eax, eax
je 0x140001876
nop word [rax + rax]
movzx eax, byte [r9 + rdx]
mov byte [r9 + r8], al
inc r9d
mov eax, dword [rcx]
shl eax, 2
cmp r9d, eax
jb 0x140001860
mov eax, dword [rcx + 4]
mov r9d, dword [rcx]
inc eax
shl eax, 4
shl r9d, 2
cmp r9d, eax
jae 0x140001a8c
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x20], rsi
lea esi, [r9 + 2]
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x10], r12
lea r12, str.cw
mov qword [rsp + 8], r14
mov qword [rsp], r15
nop dword [rax + rax]
mov edi, dword [r11]
lea eax, [r9 - 4]
movzx ebx, byte [rax + r10]
xor edx, edx
lea eax, [r9 - 3]
movzx ebp, byte [rax + r10]
lea eax, [r9 - 2]
movzx r14d, byte [rax + r10]
lea eax, [r9 - 1]
movzx r15d, byte [rax + r10]
mov eax, r9d
shr eax, 2
div edi
test edx, edx
jne 0x14000198a
movzx eax, bpl
lea r8d, [rdi*4]
mov ecx, eax
movzx edx, bl
and rcx, 0xfffffffffffffff0
and eax, 0xf
add rcx, rax
movzx eax, r14b
movzx ebx, byte [rcx + r12]
mov ecx, eax
and rcx, 0xfffffffffffffff0
and eax, 0xf
add rcx, rax
movzx eax, r15b
movzx ebp, byte [rcx + r12]
mov ecx, eax
and rcx, 0xfffffffffffffff0
and eax, 0xf
add rcx, rax
mov eax, edx
and eax, 0xf
movzx r14d, byte [rcx + r12]
mov ecx, edx
and rcx, 0xfffffffffffffff0
xor edx, edx
add rcx, rax
mov eax, r9d
div r8d
movzx r15d, byte [rcx + r12]
mov cl, 1
sub eax, 1
je 0x140001986
mov r8d, eax
nop dword [rax + rax]
movzx eax, cl
add cl, cl
shr al, 7
movzx eax, al
imul edx, eax, 0x1b
xor cl, dl
sub r8, 1
jne 0x140001970
xor bl, cl
jmp 0x1400019e7
cmp edi, 6
jbe 0x1400019e7
cmp edx, 4
jne 0x1400019e7
movzx eax, bl
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, bpl
movzx ebx, byte [rcx + r12]
mov ecx, eax
and rcx, 0xfffffffffffffff0
and eax, 0xf
add rcx, rax
movzx eax, r14b
movzx ebp, byte [rcx + r12]
mov ecx, eax
and rcx, 0xfffffffffffffff0
and eax, 0xf
add rcx, rax
movzx eax, r15b
movzx r14d, byte [rcx + r12]
mov ecx, eax
and rcx, 0xfffffffffffffff0
and eax, 0xf
add rcx, rax
movzx r15d, byte [rcx + r12]
mov ecx, r9d
lea eax, [rdi*4]
sub ecx, eax
movzx ecx, byte [rcx + r10]
xor cl, bl
mov byte [r9 + r10], cl
mov ecx, r9d
mov eax, dword [r11]
shl eax, 2
sub ecx, eax
lea eax, [rsi - 1]
inc ecx
movzx edx, byte [rcx + r10]
mov ecx, r9d
xor dl, bpl
mov byte [rax + r10], dl
mov eax, dword [r11]
shl eax, 2
sub ecx, eax
add ecx, 2
movzx ecx, byte [rcx + r10]
xor cl, r14b
mov byte [rsi + r10], cl
mov ecx, r9d
mov eax, dword [r11]
add r9d, 4
shl eax, 2
sub ecx, eax
lea eax, [rsi + 1]
add ecx, 3
add esi, 4
movzx edx, byte [rcx + r10]
xor dl, r15b
mov byte [rax + r10], dl
mov eax, dword [r11 + 4]
inc eax
shl eax, 4
cmp r9d, eax
jb 0x1400018c0
mov r15, qword [rsp]
mov r14, qword [rsp + 8]
mov r12, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x38]
add rsp, 0x28
ret
Function at 0x140002540
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 8], rax
lea r8, str.EXECODE
mov edx, 0x65
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, 0x37a
mov rsi, rax
call fcn.1400027b0
mov r8, rsi
mov rcx, rax
mov r14, rax
call fcn.140002440
xor edi, edi
mov ebx, edi
nop word [rax + rax]
movzx edx, byte [rbx + rsi]
lea rcx, str.0x_02X
call fcn.140001010
cmp rbx, 0x379
jge 0x1400025e5
lea rcx, [0x1400053e8]
call fcn.140001010
inc rbx
cmp rbx, 0x37a
jl 0x1400025c0
lea rcx, [0x1400053ec]
mov dword [rbp - 0x28], 0x9030201
mov dword [rbp - 0x24], 0x7060504
mov dword [rbp - 0x20], 0xb0a0908
mov dword [rbp - 0x1c], 0xf0e0d0c
call fcn.140001010
mov rbx, rdi
nop dword [rax]
movzx edx, byte [rbp + rbx - 0x28]
lea rcx, [0x1400053f0]
call fcn.140001010
inc rbx
cmp rbx, 0x10
jl 0x140002620
lea rcx, [0x1400053f4]
call fcn.140001010
lea rcx, str.KEY:
mov dword [rbp - 0x18], 0x49230201
mov dword [rbp - 0x14], 0x7060504
mov dword [rbp - 0x10], 0xb0aa918
mov dword [rbp - 0xc], 0xf0e0d0c
call fcn.140001010
mov rbx, rdi
movzx edx, byte [rbp + rbx - 0x18]
lea rcx, [0x1400053f0]
call fcn.140001010
inc rbx
cmp rbx, 0x10
jl 0x140002671
lea rcx, [0x1400053f4]
call fcn.140001010
lea rax, [rbp - 0x28]
mov dword [rbp - 0x30], 4
lea r9, [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov r8d, 0x380
mov dword [rbp - 0x2c], 0xa
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.140001160
lea rcx, [0x140005400]
mov rbx, rax
call fcn.140001010
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rbx + rdi]
lea rcx, str.x_02x
call fcn.140001010
inc rdi
cmp rdi, 0x380
jl 0x1400026e0
lea rcx, [0x1400053f4]
call fcn.140001010
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140002740
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400011c0
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edi, edi
mov qword [rsp + 0x30], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x30]
lea edx, [rdi + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400012ab
mov rbx, qword [rsp + 0x30]
lea r8, [rsp + 0x3c]
lea rdx, str.SeSecurityPrivilege
mov dword [rsp + 0x38], 1
xor ecx, ecx
mov dword [rsp + 0x44], 2
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1400012ab
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x38]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1400012ab
mov rbx, qword [rsp + 0x30]
lea r8, [rsp + 0x3c]
lea rdx, str.SeDebugPrivilege
mov dword [rsp + 0x38], 1
xor ecx, ecx
mov dword [rsp + 0x44], 2
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1400012ab
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x38]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1400012ab
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [rdi + 1]
jmp 0x1400012ad
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400017b0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x1400014d0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x190], rax
nop
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
lea rdx, str.metin2client.bin
lea rcx, [rsp + 0x20]
call fcn.140001680
nop
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000152f
lea rcx, [rsp + 0x20]
call fcn.140001620
jmp 0x1400014f0
mov dword [rsp + 0x60], 0x130
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x140001560
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x20]
call fcn.140001620
jmp 0x1400014f0
lea rdx, [rsp + 0x8c]
lea rcx, [rsp + 0x40]
call fcn.140001680
nop
lea rcx, [rsp + 0x20]
call fcn.140001610
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140001610
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x1400015a7
mov edi, 1
mov ecx, dword [rsp + 0x68]
call fcn.1400012d0
nop
lea rcx, [rsp + 0x40]
call fcn.140001620
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140001560
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x20]
call fcn.140001620
test edi, edi
jne 0x1400014f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
Function at 0xb819b0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xb819bd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xb819cd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xb819b5
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0xb819e5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xb819d2
sub eax, 3
jb 0xb819ff
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xb81a36
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0xb81a26
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0xb81a24
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xb81a13
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.00b81972
jmp 0xb819bd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x43f200
mov dl, 0x35
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xb81a82
cmp rsi, rcx
jae 0xb81a8a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xb81a69
cmp al, 0x8f
ja 0xb81a69
cmp byte [rsi - 2], 0xf
je 0xb81a6f
sub al, 0xe8
cmp al, 1
ja 0xb81a53
cmp rsi, rcx
jae 0xb81a8a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xb81a59
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xb81a8a
lodsb al, byte [rsi]
jmp 0xb81a69
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x763000]
mov eax, dword [rdi]
or eax, eax
je 0xb81ae7
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x78e854]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xb81a97
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xb81ae1
mov qword [rbx], rax
add rbx, 8
jmp 0xb81ab7
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xb81b21
cmp al, 0xef
ja 0xb81b13
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xb81af3
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0xb81b02
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x22f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xb81b75
sub rsp, 0xffffffffffffff80
jmp 0x828560