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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rdx + 8]
mov rdi, rcx
test rbx, rbx
je 0x14007c7bf
cmp dword [rbx], 0
je 0x14007c7bf
mov rax, qword gs:[0x58]
mov edx, dword [0x1400fb894]
mov ecx, 0x10
mov rdx, qword [rax + rdx*8]
mov eax, dword [rcx + rdx]
cmp dword [0x1400fc050], eax
jg 0x14007c7cc
movzx ecx, byte [rdi]
mov rax, rdi
test cl, cl
je 0x14007c7b2
nop dword [rax + rax]
xor cl, byte [0x1400fc04c]
mov byte [rax], cl
inc rax
movzx ecx, byte [rax]
test cl, cl
jne 0x14007c7a0
sub eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
lea rcx, [0x1400fc050]
call fcn.14005bf90
cmp dword [0x1400fc050], 0xffffffff
jne 0x14007c78e
movzx eax, byte [rbx + 1]
lea rcx, [0x1400fc050]
sub al, byte [rbx + 3]
sub al, byte [rbx + 2]
add al, byte [rbx]
mov byte [0x1400fc04c], al
call fcn.14005bf30
jmp 0x14007c78e

Function at 0x14007e280
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 8
mov rsi, rcx
mov r9, qword [rdx + 0x10]
mov r8, rdx
jb 0x14007e2a3
mov r8, qword [rdx]
xor ecx, ecx
movabs rdi, 0xcbf29ce484222325
add r9, r9
je 0x14007e2d4
movabs r10, 0x100000001b3
nop
movzx eax, byte [rcx + r8]
inc rcx
xor rdi, rax
imul rdi, r10
cmp rcx, r9
jb 0x14007e2c0
mov r8, rdx
mov r9, rdi
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400630e0
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x14007e377
mov rcx, qword [rsi + 0x30]
mov rdx, qword [rsi + 0x18]
and rcx, rdi
shl rcx, 4
add rdx, rcx
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x14007e32b
cmp rax, rbx
jne 0x14007e321
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x14007e336
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x14007e336
cmp rax, rbx
jne 0x14007e336
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdx, qword [rbx]
lea rcx, [rbx + 0x10]
dec qword [rsi + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
call fcn.140003e50
mov edx, 0x30
mov rcx, rbx
call fcn.14005be00
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x50]
xor eax, eax
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140088230
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140088272
mov ecx, 0x19
int 0x29
test byte [rsp + 0x44], 0x44
je 0x1400882cd
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r9d, dword [rsp + 0x54]
mov ecx, r9d
neg rcx
and rcx, rbx
lea edx, [r9 - 1]
mov eax, edx
and edx, ebx
and eax, edi
add eax, edx
xor edx, edx
dec rax
add rax, r9
div r9
xor edx, edx
mov r8, rax
mov rax, rdi
div r9
add r8, rax
mov eax, r8d
test r8d, r8d
je 0x1400882cd
nop
lock or dword [rcx], 0
add rcx, r9
sub rax, 1
jne 0x1400882c0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14005bde0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret

Function at 0x1400882f0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movsxd r8, dword [0x14000003c]
lea rbx, [0x140000000]
add r8, rbx
mov rsi, rdx
mov ebp, ecx
cmp dword [r8 + 0x84], 0xd
jbe 0x140088371
mov r9d, dword [r8 + 0xf0]
test r9d, r9d
je 0x140088371
movzx eax, word [r8 + 0x14]
lea rcx, [r8 + 0x18]
movzx r11d, word [r8 + 6]
add rcx, rax
mov r10d, dword [r9 + rbx + 0xc]
xor edx, edx
test r11d, r11d
je 0x140088371
nop dword [rax]
mov r8d, dword [rcx + 0xc]
cmp r10d, r8d
jb 0x140088366
mov r9d, dword [rcx + 8]
lea eax, [r9 + r8]
cmp r10d, eax
jb 0x14008838c
inc edx
add rcx, 0x28
cmp edx, r11d
jb 0x140088350
mov dword [rsi], 4
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rcx + 0x24]
mov rdi, r8
add rdi, rbx
je 0x140088371
cmp dword [0x1400fc150], 0
jne 0x1400883c5
mov dword [0x1400fc150], 1
test eax, eax
js 0x1400883b5
mov ecx, 0x19
int 0x29
mov rdx, r9
mov rcx, rdi
mov rbx, r9
call fcn.140088230
jmp 0x1400883c8
mov rbx, r9
mov r9, rsi
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140088377
mov ecx, 0x19
int 0x29
jmp 0x140088377
Function at 0x140095210
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rsp + 0x50], rax
add rdx, 0xffffffffffff0000
mov rdi, rcx
movzx eax, dx
mov rbx, rdx
sub rbx, rax
test rax, rax
cmove rbx, rdx
cmp rbx, rcx
jbe 0x140095305
nop dword [rax]
cmp rbx, qword [0x1400f8200]
jb 0x14009526e
cmp rbx, qword [0x1400f8208]
ja 0x14009526e
sub rbx, 0x8000000
jmp 0x1400952fc
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
je 0x140095305
cmp dword [rsp + 0x40], 0x10000
jne 0x1400952e0
cmp qword [rsp + 0x38], 0x10000
jb 0x1400952e0
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call sub.KERNEL32.dll_VirtualAlloc
test rax, rax
jne 0x140095307
call fcn.140033dd1
cmp eax, 0x677
je 0x140095305
sub rbx, 0x10000
jmp 0x1400952fc
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffff0000
movzx eax, cx
mov rbx, rcx
sub rbx, rax
test rax, rax
cmove rbx, rcx
cmp rbx, rdi
ja 0x140095250
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14005bde0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x140095320
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rsp + 0x50], rax
movzx eax, cx
mov rdi, rdx
mov rbx, rcx
test rax, rax
je 0x140095351
sub rbx, rax
add rbx, 0x10000
cmp rbx, rdi
jae 0x140095417
nop word [rax + rax]
cmp rbx, qword [0x1400f8200]
jb 0x14009537e
cmp rbx, qword [0x1400f8208]
ja 0x14009537e
add rbx, 0x8000000
jmp 0x14009540e
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
je 0x140095417
cmp dword [rsp + 0x40], 0x10000
mov rcx, qword [rsp + 0x38]
jne 0x1400953f3
cmp rcx, 0x10000
jb 0x1400953f3
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call sub.KERNEL32.dll_VirtualAlloc
test rax, rax
jne 0x140095419
call fcn.140033dd1
cmp eax, 0x677
je 0x140095417
add rbx, 0x10000
jmp 0x14009540e
mov rbx, qword [rsp + 0x20]
add rbx, rcx
movzx ecx, bx
test rcx, rcx
je 0x14009540e
mov eax, 0x10000
sub rax, rcx
add rbx, rax
cmp rbx, rdi
jb 0x140095360
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14005bde0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x140095f20
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rsi
sub rsp, 0x38
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbp, rdx
mov rsi, rcx
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1400fc170], eax
je 0x140095f53
mov eax, 0x10dd
jmp 0x14009607c
mov eax, dword [0x1400fc174]
test eax, eax
jne 0x14009607c
test rbp, rbp
jne 0x140095f6e
lea eax, [rbp + 0x57]
jmp 0x14009607c
test rsi, rsi
je 0x140095f8a
cmp qword [rsi], 0
jne 0x140095f94
mov dword [0x1400fc174], 6
mov qword [0x1400fc178], rsi
mov eax, 6
jmp 0x14009607c
mov qword [rsp + 0x60], rbx
mov ecx, 0x30
mov qword [rsp + 0x30], rdi
call fcn.14005c0a0
mov rbx, rax
test rax, rax
jne 0x140095fb8
lea edi, [rax + 8]
jmp 0x140096051
mov rcx, qword [rsi]
xor edx, edx
call fcn.140095e70
xor edx, edx
mov rcx, rbp
mov rdi, rax
call fcn.140095e70
movzx ecx, byte [rdi + 0x3e]
mov rbp, qword [rdi + 0x48]
sub rbp, rcx
test cl, cl
je 0x140096043
mov edx, ecx
cmp rcx, 0x1e
ja 0x140096043
cmp qword [rdi + 0x50], rax
jne 0x140096043
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0
mov r8d, 0x40
mov rcx, rbp
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x140096014
call fcn.140033dd1
mov edi, eax
jmp 0x140096051
mov dword [rbx + 8], 1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x20], rdi
mov qword [rbx + 0x18], rbp
mov eax, dword [rsp + 0x20]
mov dword [rbx + 0x28], eax
mov rax, qword [0x1400fc188]
mov qword [rbx], rax
xor eax, eax
mov qword [0x1400fc188], rbx
jmp 0x140096072
cmp dword [0x1400fc168], 0
mov edi, 9
jne 0x14009605c
mov dword [0x1400fc174], edi
test rbx, rbx
je 0x140096069
mov edx, 0x30
mov rcx, rbx
call fcn.14005be00
mov qword [0x1400fc178], rsi
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14005bde0
add rsp, 0x38
pop rsi
pop rbp
ret
Function at 0x140096090
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rsp + 0x28], rax
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1400fc170], eax
je 0x1400960c7
mov eax, 0x10dd
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14005bde0
add rsp, 0x38
ret
mov qword [rsp + 0x40], rbx
mov rbx, qword [0x1400fc188]
mov qword [rsp + 0x48], rsi
xor esi, esi
mov qword [rsp + 0x30], rdi
test rbx, rbx
je 0x140096164
nop dword [rax + rax]
mov rax, qword [rbx + 0x20]
lea r9, [rsp + 0x20]
mov r8d, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x18]
movzx edx, byte [rax + 0x3e]
call sub.KERNEL32.dll_VirtualProtect
cmp dword [rbx + 8], esi
jne 0x14009614c
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x14009614c
xorps xmm0, xmm0
mov rcx, rdx
movups xmmword [rdx], xmm0
and rcx, 0xffffffffffff0000
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x40], xmm0
movups xmmword [rdx + 0x50], xmm0
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x48], rax
mov qword [rcx + 0x10], rdx
mov qword [rbx + 0x20], rsi
mov rdi, qword [rbx]
mov edx, 0x30
mov rcx, rbx
call fcn.14005be00
mov rbx, rdi
test rdi, rdi
jne 0x1400960f0
mov qword [0x1400fc188], rsi
call fcn.1400959d0
mov rdi, qword [0x1400fc180]
test rdi, rdi
je 0x1400961a1
nop dword [rax]
mov rcx, qword [rdi + 8]
call sub.KERNEL32.dll_ResumeThread
mov rbx, qword [rdi]
mov edx, 0x10
mov rcx, rdi
call fcn.14005be00
mov rdi, rbx
test rbx, rbx
jne 0x140096180
mov rdi, qword [rsp + 0x30]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov qword [0x1400fc180], rsi
mov dword [0x1400fc170], esi
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14005bde0
add rsp, 0x38
ret

Function at 0x1400961e0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp dword [0x1400fc170], 0
jne 0x1400962a2
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x1400fc170], ecx
jne 0x1400962a2
mov qword [rsp + 0x40], rbx
mov rbx, qword [0x1400fc158]
mov qword [rsp + 0x30], rdi
xor edi, edi
mov qword [0x1400fc188], rdi
mov qword [0x1400fc180], rdi
mov qword [0x1400fc178], rdi
test rbx, rbx
je 0x14009627e
nop dword [rax]
nop dword [rax + rax]
lea r9, [rsp + 0x20]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
je 0x140096277
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x140096250
jmp 0x14009627e
call fcn.140033dd1
mov edi, eax
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov dword [0x1400fc174], edi
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14005bde0
add rsp, 0x38
ret
mov eax, 0x10dd
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14005bde0
add rsp, 0x38
ret
Function at 0x140096860
Capabilities:
Suspend thread

Disassembly:
push rdi
sub rsp, 0x20
mov eax, dword [0x1400fc174]
mov rdi, rcx
test eax, eax
jne 0x140096900
call sub.KERNEL32.dll_GetCurrentThread
cmp rdi, rax
jne 0x140096889
xor eax, eax
add rsp, 0x20
pop rdi
ret
mov ecx, 0x10
mov qword [rsp + 0x30], rbx
call fcn.14005c0a0
mov rbx, rax
test rax, rax
jne 0x1400968a5
lea edi, [rax + 8]
jmp 0x1400968c6
mov rcx, rdi
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1400968e4
call fcn.140033dd1
mov edi, eax
mov edx, 0x10
mov rcx, rbx
call fcn.14005be00
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov dword [0x1400fc174], edi
mov qword [0x1400fc178], 0
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x1400fc180]
mov qword [rbx], rax
xor eax, eax
mov qword [rbx + 8], rdi
mov qword [0x1400fc180], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140001000
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x140
mov esi, ecx
test ecx, ecx
je 0x140001119
mov rax, qword gs:[0x60]
mov rdx, qword [rax + 0x18]
mov rdi, qword [rdx + 0x20]
test rdi, rdi
je 0x140001119
mov ebp, 0x104
movzx eax, word [rdi + 0x48]
test ax, ax
je 0x140001119
cmp ax, bp
jae 0x140001119
mov r10, qword [rdi + 0x50]
xor r8d, r8d
movzx eax, word [r10]
test ax, ax
je 0x1400010b7
xor r9d, r9d
nop dword [rax]
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
test al, al
je 0x14000109f
nop dword [rax]
lea ecx, [rax - 0x61]
cmp cl, 0x19
ja 0x14000108c
sub al, 0x20
mov byte [rdx], al
movzx ecx, byte [rdx + 1]
inc rdx
movzx eax, cl
test cl, cl
jne 0x140001080
movzx eax, byte [rsp + 0x20]
inc r8d
mov byte [rsp + r9 + 0x30], al
mov r9d, r8d
movzx ecx, word [r10 + r8*2]
movzx eax, cl
test cx, cx
jne 0x140001070
lea rcx, [rsp + 0x30]
mov byte [rsp + r8 + 0x30], 0
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
movsxd rdx, eax
test eax, eax
je 0x14000110d
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rsp + rcx + 0x30]
inc rcx
add eax, ebx
imul ebx, eax, 0x11
mov eax, ebx
shr eax, 6
xor ebx, eax
cmp rcx, rdx
jne 0x1400010e0
lea eax, [rbx + rbx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
cmp eax, esi
je 0x140001134
mov rdi, qword [rdi]
test rdi, rdi
jne 0x140001040
xor eax, eax
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rax, qword [rdi + 0x20]
jmp 0x14000111b
Function at 0x140001140
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xf0
mov eax, 0x5a4d
mov edi, edx
mov r11, rcx
cmp word [rcx], ax
jne 0x140001284
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140001284
movups xmm0, xmmword [rax + 0x18]
lea r8, [rsp]
movups xmm1, xmmword [rax + 0x28]
movups xmmword [r8], xmm0
movups xmm0, xmmword [rax + 0x38]
movups xmmword [r8 + 0x10], xmm1
movups xmm1, xmmword [rax + 0x48]
movups xmmword [r8 + 0x20], xmm0
movups xmm0, xmmword [rax + 0x58]
movups xmmword [r8 + 0x30], xmm1
movups xmm1, xmmword [rax + 0x68]
movups xmmword [r8 + 0x40], xmm0
movups xmm0, xmmword [rax + 0x78]
movups xmmword [r8 + 0x50], xmm1
movups xmmword [r8 + 0x60], xmm0
lea r8, [r8 + 0x80]
movups xmm0, xmmword [rax + 0x88]
sub rax, 0xffffffffffffff68
movups xmmword [r8 - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [r8], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [r8 + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [r8 + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [r8 + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [r8 + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [r8 + 0x50], xmm0
movups xmmword [r8 + 0x60], xmm1
mov eax, dword [rsp + 0x70]
xor r8d, r8d
add rax, rcx
mov r9d, dword [rax + 0x20]
mov ebp, dword [rax + 0x1c]
add r9, rcx
mov r10d, dword [rax + 0x24]
add rbp, rcx
mov esi, dword [rax + 0x14]
add r10, rcx
test esi, esi
je 0x140001284
nop word [rax + rax]
movzx eax, word [r10]
mov ecx, dword [r9]
add rcx, r11
mov ebx, dword [rbp + rax*4]
mov eax, 0x50
add rbx, r11
movsx edx, byte [rcx]
test edx, edx
je 0x140001270
nop dword [rax]
imul eax, eax, 0x21
lea rcx, [rcx + 1]
add eax, edx
movsx edx, byte [rcx]
test edx, edx
jne 0x140001260
cmp edi, eax
je 0x14000129f
inc r8d
add r10, 2
add r9, 4
cmp r8d, esi
jb 0x140001240
xor eax, eax
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rax, rbx
jmp 0x140001286
Function at 0x140001752
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov r12, rcx
test edx, edx
je 0x1400018c6
mov r13d, edx
mov edi, 0
lea r14, [0x140001530]
lea rbx, [0x1438646c1]
jmp 0x1400017b8
mov byte [0x1438646c1], 0
mov edx, esi
sar edx, 0x1f
shr edx, 0x1b
lea eax, [rsi + rdx]
and eax, 0x1f
sub eax, edx
cdqe
lea rdx, [0x1438646a0]
xor bpl, byte [rdx + rax]
mov byte [r12 + rdi], bpl
add rdi, 1
cmp r13, rdi
je 0x1400018c6
mov esi, edi
movzx ebp, byte [r12 + rdi]
mov byte [rsp + 0x20], 0x17
mov byte [rsp + 0x21], 0x1f
mov byte [rsp + 0x22], 0x17
mov byte [rsp + 0x23], 0x1c
mov byte [rsp + 0x24], 0x25
mov byte [rsp + 0x25], 0x24
mov byte [rsp + 0x26], 0x12
mov byte [rsp + 0x27], 0x20
mov byte [rsp + 0x28], 0x20
mov byte [rsp + 0x29], 0x1b
mov byte [rsp + 0x2a], 0x1c
mov byte [rsp + 0x2b], 0x1d
mov byte [rsp + 0x2c], 0x26
mov byte [rsp + 0x2d], 0x15
mov byte [rsp + 0x2e], 0x23
mov byte [rsp + 0x2f], 0x2b
mov byte [rsp + 0x30], 0x13
mov byte [rsp + 0x31], 0x12
mov byte [rsp + 0x32], 0x17
mov byte [rsp + 0x33], 0x1c
mov byte [rsp + 0x34], 0x1b
mov byte [rsp + 0x35], 0x26
mov byte [rsp + 0x36], 0x27
mov byte [rsp + 0x37], 0x20
mov byte [rsp + 0x38], 0x17
mov byte [rsp + 0x39], 0x1e
mov byte [rsp + 0x3a], 0x21
mov byte [rsp + 0x3b], 0x1a
mov byte [rsp + 0x3c], 0x13
mov byte [rsp + 0x3d], 0x13
mov byte [rsp + 0x3e], 0x14
mov byte [rsp + 0x3f], 0x29
mov byte [rsp + 0x40], 0xb1
cmp byte [0x143864680], 0
jne 0x1400018a1
mov byte [0x1438646c1], 1
mov eax, 0
lea rcx, [0x1438646a0]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x21
jne 0x140001880
mov byte [0x143864680], 1
mov rcx, r14
call fcn.1400014f0
cmp byte [0x1438646c1], 0
je 0x14000178a
lea rax, [0x1438646a0]
add byte [rax], 0x4f
add rax, 1
cmp rbx, rax
jne 0x1400018b5
jmp 0x140001783
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x140004980
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x1400049b0
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x1400049af
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x1400049b5
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x1400049af
mov eax, 0
jmp 0x1400049af

Function at 0x140005030
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140004fe0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x14000f210
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14385fb70]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14000f27f
mov rcx, r9
call fcn.14000f0e0
test eax, eax
je 0x14000f27f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14000f27d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x14000f274
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14000f27f
add rdx, 0x28
cmp rdx, r9
jne 0x14000f260
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x14002ae80
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push r14
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [str.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x14002aec7
test byte [rcx + 0x1c], 4
je 0x14002aec7
cmp byte [rcx + 0x19], 5
jb 0x14002aec7
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082b80]
mov edx, 0x14
call fcn.140001010
lea rcx, [0x14009a0f0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rbx + 8]
mov rcx, qword [rbx]
mov qword [rax], rcx
mov qword [rcx + 8], rax
and qword [rbx], 0
and qword [rbx + 8], 0
mov eax, dword [rbx + 0x18]
test eax, eax
jne 0x14002af0c
cmp dword [rbx + 0x2c], eax
jne case.default.0x14002b08d
lea rcx, [0x14009a008]
call fcn.14003388c
jmp case.default.0x14002b08d
cmp eax, 2
jne 0x14002af7b
mov rcx, qword [rbx + 0x38]
cmp rcx, 0xffffffffffffffff
je case.default.0x14002b08d
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne case.default.0x14002b08d
mov rax, qword [str.___t_]
cmp rax, r14
je case.default.0x14002b08d
test byte [rax + 0x1c], 4
je case.default.0x14002b08d
cmp byte [rax + 0x19], 2
jb case.default.0x14002b08d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140082b80]
mov r9d, eax
mov edx, 0x15
mov rcx, qword [rcx + 0x10]
call fcn.140001030
jmp case.default.0x14002b08d
cmp eax, 3
jne case.default.0x14002b08d
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14002afcf
mov rax, qword [str.___t_]
cmp rax, r14
je 0x14002afcf
test byte [rax + 0x1c], 4
je 0x14002afcf
cmp byte [rax + 0x19], 2
jb 0x14002afcf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140082b80]
mov r9d, eax
mov edx, 0x16
mov rcx, qword [rcx + 0x10]
call fcn.140001030
cmp dword [rbx + 0x660], 0
je 0x14002b02a
cmp dword [rbx + 0x65c], 0
je 0x14002b033
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002b02a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14002b02a
test byte [rcx + 0x1c], 4
je 0x14002b02a
cmp byte [rcx + 0x19], 2
jb 0x14002b02a
mov rcx, qword [rcx + 0x10]
lea r9, [rbx + 0x40]
mov edx, 0x17
mov dword [rsp + 0x20], eax
lea r8, [0x140082b80]
call fcn.140001250
cmp dword [rbx + 0x65c], 0
jne case.default.0x14002b08d
cmp qword [rbx + 0x668], 0
je case.default.0x14002b08d
lea rcx, [0x14009a180]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 0x668]
mov edx, 1
mov r9d, edx
mov r8d, edx
call fcn.14003b73c
lea rcx, [0x14009a180]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rbx
call fcn.14006264c
lea rcx, [0x14009a0f0]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sal byte [rdx + rbp + 0x2f2e7d13], 0xbc
invalid
rol eax, 0xc0
mov dl, 0x4b
sub dword [rbx - 0x4c], esi
sub al, byte [rdi + 0x3c2f2e7f]
invalid
cmp al, 0x2a
scasd eax, dword [rdi]
jle 0x140115046
invalid
xor byte [rcx - 0x16f9d7d5], cl
invalid
invalid
invalid
invalid
invalid
rol ecx, cl
rol al, 0x6f
mov ah, 0xba
iretd
Function at 0x140078704
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
push rsi
dec rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe0
mov qword [rbp - 0x40], 2
mov rax, 0x1a
mov r10, qword [rbp - 0x40]
cqo
idiv r10
cli
mov qword [rbp - 0xc0], rax
mov r10, qword [rbp - 0x40]
add r10, 6
mov qword [rbp - 0x58], r10
mov r10, qword [rbp - 0x40]
add r10, 8
mov qword [rbp - 0x68], r10
push rbp
cwde
mov r10, qword [rbp - 0x58]
add r10, 5
mov qword [rbp - 0x90], r10
mov r10, qword [rbp - 0x40]
mov edx, dword [rbp - 0x40]
add r10, 6
mov qword [rbp - 0x80], r10
movabs r10, 0x116b
mov qword [rbp - 0xd0], r10
invalid
invalid
invalid
invalid

Function at 0x140078dc0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140078e0c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140078e04
cmp dword [rcx + 0x3c], edx
jl 0x140078e04
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140078e04
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140078e0c
mov rax, rdx
add rsp, 0x18
ret