joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140025148
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x10], xmm6
mov qword [rbp + 8], 0xfffffffffffffffe
mov r14, r8
mov r12, rdx
xorps xmm0, xmm0
lea r15, [rbp - 0x10]
movaps xmmword [r15], xmm0
mov qword [rbp - 0x18], rcx
lea r13, [rcx + 0x68]
xor edi, edi
xor esi, esi
lea rcx, [rdi + r13]
mov rdx, r12
mov r8, r15
mov r9, r14
call fcn.1400253d0
mov ebx, eax
test sil, sil
setne al
or bl, al
add rdi, 0x38
mov esi, ebx
cmp rdi, 0xe0
jne 0x14002518c
mov rsi, qword [rbp - 0x10]
test rsi, rsi
je 0x140025283
mov rax, qword [rbp - 0x18]
mov rdi, qword [rax + 0x28]
lea r15, [rdi + 0x60]
lea r12, [rdi + 0x98]
lea r13, [rdi + 0x90]
mov r14, qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
xorps xmm6, xmm6
mov rax, qword [rsi + 0x20]
mov qword [rbp - 0x10], rax
test rax, rax
jne 0x1400251fd
mov qword [rbp - 8], 0
mov qword [rsi + 0x20], 0
mov dword [rsi + 0x30], 1
mov rcx, qword [rdi + 0x28]
xor edx, edx
xor r8d, r8d
mov r9, rsi
call r14
test eax, eax
jne 0x140025276
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rsi + 0x20], 0
mov rax, qword [r12]
lea rcx, [rax + 0x20]
test rax, rax
cmove rcx, r12
mov rax, r12
cmove rax, r13
mov qword [rcx], rsi
mov qword [rax], rsi
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x140025265
mov qword [rsi + 0x20], rax
mov rax, qword [rbp - 8]
mov qword [r12], rax
movaps xmmword [rbp - 0x10], xmm6
mov eax, 1
xchg dword [rdi + 0x58], eax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rsi, qword [rbp - 0x10]
test rsi, rsi
jne 0x1400251e8
test bl, bl
je 0x14002536e
lea rax, [rbp + 7]
mov byte [rax], 0
lea rdx, [rbp - 0x48]
mov qword [rdx + 8], rax
mov dword [rdx], 1
mov rax, qword [rbp - 0x18]
mov rcx, qword [rax + 0x60]
xor eax, eax
lea r9, [rbp - 0x1c]
mov dword [r9], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], eax
mov r8d, 1
call qword [sym.imp.WS2_32.dll_WSASend]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, [0x140098748]
lea rsi, [rbp - 0x38]
mov rcx, rsi
mov edx, eax
call fcn.14000689a
mov ebx, dword [rsi]
cmp qword [rsi + 0x10], 1
jne 0x140025321
mov rcx, qword [rbp - 0x30]
movabs rdx, 0x4800144005b3
mov rax, rcx
mul rdx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul eax, eax, 0x1ffff7
sub ecx, eax
imul eax, ecx, 0x3e8
add ebx, eax
cmp ebx, 0x40
jne 0x140025337
mov rax, qword [0x140098750]
shr rax, 1
mov edx, 0x2746
jmp 0x14002534e
cmp ebx, 0x4d2
jne 0x14002536e
mov rax, qword [0x140098750]
shr rax, 1
mov edx, 0x274d
movabs rcx, 0x595588bd12bf6fe8
cmp rax, rcx
je 0x14002536e
mov rax, qword [0x140098748]
lea rcx, [0x140098748]
call qword [rax + 0x30]
lea rcx, [rbp - 0x10]
call fcn.140008a76
movaps xmm6, xmmword [rbp + 0x10]
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14002b1f2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
test r8d, r8d
js 0x14002b35c
mov r12d, r8d
mov r14, rdx
mov rbx, rcx
movzx esi, word [rdx + 2]
xor edx, edx
test esi, esi
sete dl
mov ecx, 0x8a
mov eax, 7
cmove eax, ecx
mov ecx, 4
sub ecx, edx
inc r12d
mov edx, 0xffffffff
xor r13d, r13d
xor edi, edi
movzx r15d, word [r14 + r13*4 + 6]
inc r13
lea ebp, [rdi + 1]
cmp ebp, eax
jge 0x14002b259
cmp esi, r15d
je 0x14002b34e
cmp ebp, ecx
jge 0x14002b281
mov edi, esi
movzx r8d, word [rbx + rdi*4 + 0xaae]
movzx edx, word [rbx + rdi*4 + 0xaac]
mov rcx, rbx
call fcn.14002ae5e
dec ebp
jne 0x14002b25f
jmp 0x14002b323
test esi, esi
je 0x14002b2cd
cmp esi, edx
je 0x14002b2a6
mov eax, esi
movzx r8d, word [rbx + rax*4 + 0xaae]
movzx edx, word [rbx + rax*4 + 0xaac]
mov rcx, rbx
call fcn.14002ae5e
mov ebp, edi
movzx r8d, word [rbx + 0xaee]
movzx edx, word [rbx + 0xaec]
mov rcx, rbx
call fcn.14002ae5e
add ebp, 0xfffffffd
mov rcx, rbx
mov edx, ebp
mov r8d, 2
jmp 0x14002b31e
cmp edi, 9
jg 0x14002b2f9
movzx r8d, word [rbx + 0xaf2]
movzx edx, word [rbx + 0xaf0]
mov rcx, rbx
call fcn.14002ae5e
add edi, 0xfffffffe
mov rcx, rbx
mov edx, edi
mov r8d, 3
jmp 0x14002b31e
movzx r8d, word [rbx + 0xaf6]
movzx edx, word [rbx + 0xaf4]
mov rcx, rbx
call fcn.14002ae5e
add edi, 0xfffffff6
mov rcx, rbx
mov edx, edi
mov r8d, 7
call fcn.14002ae5e
xor ecx, ecx
cmp esi, r15d
sete cl
mov eax, ecx
xor eax, 7
test r15d, r15d
sete dl
mov ebp, 0x8a
cmove eax, ebp
or cl, dl
movzx edx, cl
mov ecx, 4
sub ecx, edx
xor ebp, ebp
mov edx, esi
mov edi, ebp
mov esi, r15d
cmp r13, r12
jne 0x14002b240
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14003f8f4
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14003f907
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.1400497f8
lea rdx, [0x140096930]
lea rcx, [rsp + 0x20]
call fcn.14005a014
int3

Function at 0x14004a190
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1400a57d8]
xor edx, edx
jmp fcn.14003f8f4

Function at 0x14004ab28
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1400a57d8]
jmp fcn.14003f8f4

Function at 0x140056718
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1400567d4]
mov r9, qword [r9 + 8]
jmp fcn.140047954

Function at 0x1400567ac
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1400567e4]
mov r9, qword [r9 + 8]
jmp fcn.140047954

Function at 0x140061da8
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 0x140061c07
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140061c07
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140061c07
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140061c07
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140061c07
cmp dword [rcx + 0x84], 0xe
jbe 0x140061c07
cmp dword [rcx + 0xf8], 0
je 0x140061c07
mov ecx, ebx
call fcn.140061cc4
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.140061a94
nop
cmp dword [rbp + 0x20], 0
je 0x140061c55
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140061c60
int3
xor r8d, r8d
xor edx, edx
jmp 0x140061b98
Function at 0x1400682e8
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140068318
xor eax, eax
jmp 0x1400683db
mov rbp, rbx
cmp word [rax], si
je 0x14006833d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140068324
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140068320
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140068238
movsxd r14, eax
test eax, eax
jne 0x14006837b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140068311
mov rcx, r14
call fcn.140064010
mov rdi, rax
test rax, rax
jne 0x140068394
xor ecx, ecx
call fcn.140063fd4
jmp 0x140068370
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140068238
test eax, eax
jne 0x1400683c5
mov rcx, rdi
call fcn.140063fd4
jmp 0x1400683cf
xor ecx, ecx
call fcn.140063fd4
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14006d594
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14006733c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14006d61e
cmp byte [rbp - 0x21], r15b
je 0x14006d619
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14006d654
call fcn.140065c98
test eax, eax
jne 0x14006d640
cmp byte [rbp - 0x21], r15b
je 0x14006d638
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14006d654
cmp byte [rbp - 0x21], r15b
je 0x14006d651
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140066918
test eax, eax
jne 0x14006d6f4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14006733c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14006d693
cmp byte [rbp - 0x21], r15b
je 0x14006d6c8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14006d6c8
call fcn.140065c98
test eax, eax
jne 0x14006d6b4
cmp byte [rbp - 0x21], r15b
je 0x14006d6ad
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14006d6c8
cmp byte [rbp - 0x21], r15b
je 0x14006d6c5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140066918
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14006d6f4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14006d6f7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14006d705
mov rcx, rdi
call fcn.140063fd4
cmp byte [rbp + 0x3f], r15b
je 0x14006d714
mov rcx, qword [rbp + 0x27]
call fcn.140063fd4
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140005104
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140012e60], eax
call fcn.1400056f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140012e60], 0
jne case.default.0x14000515a
mov ecx, 1
call fcn.1400056f0
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]
retf 0xef9
sub eax, 0x91b80874
adc al, 0x8b
js 0x14001ad3a
xchg edi, eax
xlatb
add ebx, dword [rax]
or bh, byte [rsi]
jbe 0x14001acd9
insb byte [rdi], dx
invalid
sbb bl, byte [rbp + 0x3f]
mov ebx, cs
jp 0x14001ad90
outsd dx, dword [rsi]
ror byte [rbx - 0x3b], cl
test dword [rdx + rsi], ebx
nop
mov esi, 0x53d22650
pop rdx
sub eax, 0x113c4867
mov esi, 0x4a433ff3
invalid
xchg edi, eax
retf
std
cmp dword [rdx], esp
jns 0x14001ad7a
jle 0x14001adf8
jnp 0x14001adbe
std
out dx, al
cmp bl, byte [rsi + 0x7e]
mov dh, 0xee
mov edi, 0x837af0b8
sahf
fnsave dword [rcx - 0x6228a60f]
in eax, 0x31
jge 0x14001adf7
mov ebx, 0xbaef75fa
inc byte [rsi]
push rdi
jo 0x14001adc6
jb 0x14001adf3
mov ah, 0xad
lodsd eax, dword [rsi]
mov al, 0xd2
mov bl, 0x8a
cmp eax, 0xbe5a1616
mov ecx, dword [rdi + 0x3c6f6354]
int1
pop rdx
mov esi, 0x63548f8b
outsd dx, dword [rsi]
cmp al, 0xf1
dec ebx
ror dword [rbx - 0x35a05c21], 0xa5
sbb edx, esi
invalid
invalid
or dh, bh
movabs byte [0x6ef66ab70ccb9e4d], al
invalid
invalid
Function at 0x1400bb1c0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400bb1cd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400bb1dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400bb1c5
lea eax, [rcx + 1]
jmp 0x1400bb1eb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400bb1fe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400bb1e4
sub eax, 3
jb 0x1400bb21e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400bb26d
sar eax, 1
movsxd rbp, eax
jb 0x1400bb254
jmp 0x1400bb22c
add ebx, ebx
jne 0x1400bb22a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400bb254
inc ecx
add ebx, ebx
jne 0x1400bb23a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400bb254
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400bb24d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400bb23c
add ecx, 2
jmp 0x1400bb259
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400bb182
jmp 0x1400bb1cd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x4800
mov dl, 1
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400bb2b9
cmp rsi, rcx
jae 0x1400bb2c1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400bb2a0
cmp al, 0x8f
ja 0x1400bb2a0
cmp byte [rsi - 2], 0xf
je 0x1400bb2a6
sub al, 0xe8
cmp al, 1
ja 0x1400bb28a
cmp rsi, rcx
jae 0x1400bb2c1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400bb290
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400bb2c1
lodsb al, byte [rsi]
jmp 0x1400bb2a0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xb9000]
mov eax, dword [rdi]
or eax, eax
je 0x1400bb31e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xc6678]
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 0x1400bb2ce
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 0x1400bb318
mov qword [rbx], rax
add rbx, 8
jmp 0x1400bb2ee
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 0x1400bb358
cmp al, 0xef
ja 0x1400bb34a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400bb32a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400bb339
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 + 0x21f]
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 0x1400bb3ac
sub rsp, 0xffffffffffffff80
jmp 0x140004998
Function at 0x140008f90
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140008f9d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140008fad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140008f95
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140008fc5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140008fb2
sub eax, 3
jb 0x140008fdf
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140009016
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140009006
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140009004
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140008ff3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140008f52
jmp 0x140008f9d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xe00
mov dl, 1
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140009062
cmp rsi, rcx
jae 0x14000906a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140009049
cmp al, 0x8f
ja 0x140009049
cmp byte [rsi - 2], 0xf
je 0x14000904f
sub al, 0xe8
cmp al, 1
ja 0x140009033
cmp rsi, rcx
jae 0x14000906a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140009039
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14000906a
lodsb al, byte [rsi]
jmp 0x140009049
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x6000]
mov eax, dword [rdi]
or eax, eax
je 0x1400090c7
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x9a38]
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 0x140009077
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 0x1400090c1
mov qword [rbx], rax
add rbx, 8
jmp 0x140009097
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 0x140009101
cmp al, 0xef
ja 0x1400090f3
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400090d3
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400090e2
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 + 0x237]
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 0x140009155
sub rsp, 0xffffffffffffff80
jmp 0x1400012c0
Function at 0x1400ef640
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400ef64d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400ef65d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400ef645
lea eax, [rcx + 1]
jmp 0x1400ef66b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400ef67e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400ef664
sub eax, 3
jb 0x1400ef69e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400ef6ed
sar eax, 1
movsxd rbp, eax
jb 0x1400ef6d4
jmp 0x1400ef6ac
add ebx, ebx
jne 0x1400ef6aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400ef6d4
inc ecx
add ebx, ebx
jne 0x1400ef6ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400ef6d4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400ef6cd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400ef6bc
add ecx, 2
jmp 0x1400ef6d9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400ef602
jmp 0x1400ef64d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x66000
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400ef73d
cmp rsi, rcx
jae 0x1400ef745
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400ef724
cmp al, 0x8f
ja 0x1400ef724
cmp byte [rsi - 2], 0xf
je 0x1400ef72a
sub al, 0xe8
cmp al, 1
ja 0x1400ef70e
cmp rsi, rcx
jae 0x1400ef745
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400ef714
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400ef745
lodsb al, byte [rsi]
jmp 0x1400ef724
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xec000]
mov eax, dword [rdi]
or eax, eax
je 0x1400ef7a2
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xef8b0]
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 0x1400ef752
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 0x1400ef79c
mov qword [rbx], rax
add rbx, 8
jmp 0x1400ef772
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 0x1400ef7dc
cmp al, 0xef
ja 0x1400ef7ce
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400ef7ae
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400ef7bd
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 + 0x277]
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 0x1400ef830
sub rsp, 0xffffffffffffff80
jmp 0x14002f1a0