joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140089010
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov esi, r9d
mov ebp, r8d
lea rdx, [0x140000000]
mov rbx, rcx
nop word [rax + rax]
movzx eax, byte [rbx]
movzx r10d, byte [rax + rdx + 0xbb440]
add r10, rbx
movzx r8d, byte [r10]
lea eax, [r8 - 4]
cmp eax, 0x64
ja case.0x140089074.4
nop dword [rax]
cdqe
movzx eax, byte [rdx + rax + 0x89180]
mov ecx, dword [rdx + rax*4 + 0x89170]
add rcx, rdx
jmp rcx
movzx ecx, byte [r10 + 1]
mov eax, dword [rdi]
xor eax, ecx
test al, 2
je 0x140089085
mov dword [rdi], ecx
add r10, 2
jmp 0x14008909a
movzx eax, r8b
movzx eax, byte [rax + rdx + 0xbb440]
add r10, rax
movzx r8d, byte [r10]
lea eax, [r8 - 4]
cmp eax, 0x64
jbe 0x140089060
movzx eax, byte [r10]
cmp eax, 0x5e
je 0x14008912d
cmp eax, 0x5f
jne 0x1400890d7
movzx ecx, byte [r10 + 3]
movzx eax, byte [r10 + 4]
mov r8d, 1
shl ecx, 8
or ecx, eax
cmp ecx, 0x20
jge 0x1400890d2
shl r8d, cl
or r8d, ebp
jmp 0x140089130
cmp eax, 0x58
je 0x14008912d
cmp eax, 0x5d
je 0x14008912d
cmp eax, 0x60
je 0x14008912d
cmp eax, 0x39
je 0x140089120
cmp eax, 0x3a
je 0x140089120
cmp eax, 0x42
je 0x140089120
cmp eax, 1
je 0x140089149
cmp eax, 2
je 0x140089149
test byte [rdi], 2
jne 0x140089109
cmp eax, 0x1a
je 0x140089149
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
cmp byte [r10 + 1], 0xd
jne 0x140089109
test esi, ebp
jne 0x140089109
jmp 0x140089149
mov r8d, ebp
mov r9d, esi
mov rdx, rdi
mov rcx, r10
call fcn.140089010
test eax, eax
je 0x140089109
lea rdx, [0x140000000]
movzx eax, byte [rbx + 1]
shl eax, 8
movsxd rcx, eax
movzx eax, byte [rbx + 2]
or rcx, rax
add rbx, rcx
cmp byte [rbx], 0x54
je 0x140089040
mov eax, 1
jmp 0x14008910b
Function at 0x1400894b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebp, r8d
mov rdi, rdx
mov rsi, rcx
lea r8, [0x140000000]
or ebx, 0xffffffff
nop word [rax + rax]
movzx r10d, byte [rsi + 3]
lea r9, [rsi + 3]
lea eax, [r10 - 4]
cmp eax, 0x64
ja case.0x140089508.7
cdqe
movzx eax, byte [r8 + rax + 0x8962c]
mov ecx, dword [r8 + rax*4 + 0x8961c]
add rcx, r8
jmp rcx
movzx ecx, byte [r9 + 1]
mov eax, dword [rdi]
xor eax, ecx
test al, 1
je 0x140089519
mov dword [rdi], ecx
add r9, 2
jmp 0x140089552
movzx eax, byte [r9 + 1]
shl eax, 8
movsxd rcx, eax
movzx eax, byte [r9 + 2]
or rcx, rax
add r9, rcx
cmp byte [r9], 0x54
je case.0x140089508.6
movzx eax, byte [r9]
jmp 0x140089546
movzx eax, r10b
movzx eax, byte [rax + r8 + 0xbb440]
add r9, rax
movzx r10d, byte [r9]
lea eax, [r10 - 4]
cmp eax, 0x64
jbe 0x1400894f2
movzx ecx, byte [r9]
lea eax, [rcx - 0x1c]
cmp eax, 0x44
ja case.0x140089585.31
cdqe
movzx eax, byte [r8 + rax + 0x896a4]
mov edx, dword [r8 + rax*4 + 0x89694]
add rdx, r8
jmp rdx
xor r8d, r8d
cmp ecx, 0x58
mov rdx, rdi
sete r8b
mov rcx, r9
call fcn.1400894b0
test eax, eax
js case.0x140089585.31
test ebx, ebx
jns 0x1400895af
mov ebx, eax
lea r8, [0x140000000]
jmp 0x1400895e1
cmp ebx, eax
jne case.0x140089585.31
lea r8, [0x140000000]
jmp 0x1400895e1
add r9, 2
test ebp, ebp
je case.0x140089585.31
test ebx, ebx
jns 0x1400895d8
test byte [rdi], 1
movzx ebx, byte [r9 + 1]
je 0x1400895e1
bts ebx, 8
jmp 0x1400895e1
movzx eax, byte [r9 + 1]
cmp ebx, eax
jne case.0x140089585.31
movzx eax, byte [rsi + 1]
shl eax, 8
movsxd rcx, eax
movzx eax, byte [rsi + 2]
or rcx, rax
add rsi, rcx
cmp byte [rsi], 0x54
je 0x1400894e0
mov eax, ebx
jmp 0x140089605
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140090f40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x2080
call fcn.1400a6d90
sub rsp, rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
call fcn.140094620
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x2078]
lea rax, [0x140091510]
mov qword [rsp + 0x70], rcx
xor r9d, r9d
mov rcx, rsi
mov r8, rdi
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x20], rax
call fcn.140093a80
test eax, eax
jns 0x140090fb2
or eax, 0xffffffff
jmp 0x140091037
mov rax, qword [rsp + 0x68]
jle 0x140090fe3
cmp rax, qword [rsp + 0x70]
jb 0x140090fd3
lea rcx, [rsp + 0x60]
call fcn.1400915f0
test eax, eax
js 0x140090faa
mov rax, qword [rsp + 0x68]
mov byte [rax], 0xa
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x78]
xor ebx, ebx
lea rdx, [rsp + 0x60]
cmp rax, rcx
je 0x140091035
mov rcx, qword [rsp + 0x60]
sub eax, edx
mov qword [rsp + 0x40], rbx
sub eax, 0x18
mov qword [rsp + 0x38], rbx
xor r9d, r9d
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
test eax, eax
setns bl
dec ebx
mov eax, ebx
lea r11, [rsp + 0x2080]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x140091560
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
test rcx, rcx
jne 0x140091577
or eax, 0xffffffff
add rsp, 0x60
pop rbx
ret
xor eax, eax
mov qword [rsp + 0x70], rdi
lea rdi, [rcx + 0x18]
mov rcx, qword [rcx]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov dword [rsp + 0x30], 0x2000
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
test eax, eax
js 0x1400915c2
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x1400915d0
or eax, 0xffffffff
mov rdi, qword [rsp + 0x70]
add rsp, 0x60
pop rbx
ret
lea rax, [rax + rbx + 0x18]
mov qword [rbx + 8], rdi
mov rdi, qword [rsp + 0x70]
mov qword [rbx + 0x10], rax
xor eax, eax
add rsp, 0x60
pop rbx
ret

Function at 0x1400915f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
lea rdi, [rcx + 0x18]
mov rbx, rcx
cmp qword [rcx + 8], rdi
je 0x140091655
mov eax, dword [rcx + 8]
xor r9d, r9d
xor r8d, r8d
sub eax, ecx
xor ecx, ecx
xor edx, edx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rcx
mov rcx, qword [rbx]
sub eax, 0x18
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
test eax, eax
jns 0x140091651
or eax, 0xffffffff
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov qword [rbx + 8], rdi
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x140094620
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1400d6238]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x140094686
mov rcx, qword [0x1400d8fb0]
lea edx, [rax + 8]
mov r8d, 0x348
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, dword [0x1400d6238]
mov rbx, rax
mov dword [rax + 8], 1
lea rax, [0x140090e00]
mov rdx, rbx
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x330], 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rax, rbx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret

Function at 0x14009b270
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14009b6e4
nop
cmp dword [0x1400d4a08], 1
je 0x14009b21c
mov dword [0x1400d4a04], 1
mov byte [0x1400d4a00], r12b
test ebx, ebx
jne 0x14009b208
mov rcx, qword [0x1400d6580]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14009b1f5
mov rcx, qword [0x1400d6578]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14009b194
call fcn.140098848
cmp qword [rdi], rax
jne 0x14009b194
jmp 0x14009b17a
cmp rdi, rsi
jb 0x14009b1f5
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140098848
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1400d6580]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1400d6578]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14009b1d3
cmp r13, rax
je 0x14009b1f3
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14009b17a
lea rdx, [0x1400a8f78]
lea rcx, [0x1400a8f60]
call fcn.14009afc4
lea rdx, [0x1400a8f88]
lea rcx, [0x1400a8f80]
call fcn.14009afc4
nop
test r12d, r12d
je 0x14009b22b
mov ecx, 8
call fcn.14009b5e4
test r12d, r12d
jne 0x14009b256
mov dword [0x1400d4a08], 1
lea ecx, [r12 + 8]
call fcn.14009b5e4
mov ecx, r15d
call fcn.14009af58
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14009b0e4

Function at 0x14009b27c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14009b0e4
Function at 0x14009fdbb
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400cfc18]
jne 0x140099caa
rol rcx, 0x10
test cx, 0xffff
jne 0x140099ca6
repz ret
ror rcx, 0x10
jmp 0x14009fd14
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400d5150]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x1400d5248]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14009fd99
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400d5150]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x14009fdbb
mov rax, qword [rsp + 0x88]
mov qword [0x1400d5248], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400d51e8], rax
mov rax, qword [0x1400d5248]
mov qword [0x1400d50c0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400d51d0], rax
mov dword [0x1400d50b0], 0xc0000409
mov dword [0x1400d50b4], 1
mov rax, qword [0x1400cfc18]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400cfc20]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400d5148], eax
mov ecx, 1
call fcn.14009fd0c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400aa580]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400d5148], 0
jne 0x14009fe42
mov ecx, 1
call fcn.14009fd0c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400a1b80
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140098848
xor ebx, ebx
mov rdi, rax
cmp qword [0x1400d5678], rbx
jne 0x1400a1c86
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400a1d5b
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400a1d5b
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400d5678], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400d5680], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1400d5688], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1400d5698], rax
test rax, rax
je 0x1400a1c7d
lea rdx, [0x1400aa590]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1400d5690], rax
jmp 0x1400a1c8d
mov rax, qword [0x1400d5690]
jmp 0x1400a1c94
mov rax, qword [0x1400d5690]
mov r11, qword [0x1400d5698]
cmp rax, rdi
je 0x1400a1cfc
cmp r11, rdi
je 0x1400a1cfc
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1400d5698]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400a1cfc
test rax, rax
je 0x1400a1cfc
call rsi
test rax, rax
je 0x1400a1cf6
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400a1cf6
test byte [rsp + 0x38], 1
jne 0x1400a1cfc
bts ebp, 0x15
jmp 0x1400a1d3a
mov rcx, qword [0x1400d5680]
cmp rcx, rdi
je 0x1400a1d3a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400a1d3a
call rax
mov rbx, rax
test rax, rax
je 0x1400a1d3a
mov rcx, qword [0x1400d5688]
cmp rcx, rdi
je 0x1400a1d3a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400a1d3a
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400d5678]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400a1d5b
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400a1d5d
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x2fc621d60
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc622762
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc645108]
test eax, eax
je 0x2fc6227fa
lea rax, [0x2fc6450e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc645110]
mov qword [rbp - 8], rax
jmp 0x2fc6227de
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc6227d2
cmp qword [rbp - 0x10], 0
je 0x2fc6227d2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc622798
lea rax, [0x2fc6450e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc6227fb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc622900
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc622928
mov eax, 0
jmp 0x2fc622976
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc622951
mov eax, 0
jmp 0x2fc622976
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc622971
mov eax, 0
jmp 0x2fc622976
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc62297c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc6229fa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc6229f1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc6229f1
mov rax, qword [rbp - 8]
jmp 0x2fc622a0f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc6229c4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140097b70
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140097b7d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140097b8d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140097b75
lea eax, [rcx + 1]
jmp 0x140097b9b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140097bae
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140097b94
sub eax, 3
jb 0x140097bce
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140097c1d
sar eax, 1
movsxd rbp, eax
jb 0x140097c04
jmp 0x140097bdc
add ebx, ebx
jne 0x140097bda
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140097c04
inc ecx
add ebx, ebx
jne 0x140097bea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140097c04
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140097bfd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140097bec
add ecx, 2
jmp 0x140097c09
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140097b32
jmp 0x140097b7d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x28a00
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140097c69
cmp rsi, rcx
jae 0x140097c71
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140097c50
cmp al, 0x8f
ja 0x140097c50
cmp byte [rsi - 2], 0xf
je 0x140097c56
sub al, 0xe8
cmp al, 1
ja 0x140097c3a
cmp rsi, rcx
jae 0x140097c71
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140097c40
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140097c71
lodsb al, byte [rsi]
jmp 0x140097c50
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x95000]
mov eax, dword [rdi]
or eax, eax
je 0x140097cda
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xd96c8]
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 0x140097c7e
jns 0x140097cb3
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140097cbd
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 0x140097cd4
mov qword [rbx], rax
add rbx, 8
jmp 0x140097c9e
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 0x140097d14
cmp al, 0xef
ja 0x140097d06
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140097ce6
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140097cf5
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 0x140097d68
sub rsp, 0xffffffffffffff80
jmp 0x14000b340
Function at 0x140043820
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
movdqa xmm0, xmmword [0x140104c90]
lea rcx, [rbp - 0x30]
movdqa xmm1, xmmword [0x140104c60]
mov dword [rbp - 0x40], 0x452e6472
mov eax, dword [rbp - 0x40]
mov dword [rbp - 0x10], eax
mov word [rbp - 0x3c], 0x4558
movzx eax, word [rbp - 0x3c]
mov word [rbp - 0xc], ax
movups xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0xa], 0
movups xmmword [rbp - 0x20], xmm1
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
movdqa xmm0, xmmword [0x140104c90]
lea rcx, [rbp - 0x60]
movdqa xmm1, xmmword [0x140104cc0]
movups xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x10], 0x7672646c
mov dword [rbp - 0xc], 0x732e3436
movsd xmm0, qword [rbp - 0x10]
mov word [rbp - 8], 0x7379
movzx eax, word [rbp - 8]
movsd qword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x50], xmm1
mov word [rbp - 0x38], ax
mov byte [rbp - 0x36], 0
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
movdqa xmm0, xmmword [0x140104c90]
lea rcx, [rbp - 0x60]
movdqa xmm1, xmmword [0x140104c70]
movups xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x10], 0x67696e68
mov dword [rbp - 0xc], 0x622e6167
movsd xmm0, qword [rbp - 0x10]
mov word [rbp - 8], 0x7461
movzx eax, word [rbp - 8]
movsd qword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x50], xmm1
mov word [rbp - 0x38], ax
mov byte [rbp - 0x36], 0
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add rsp, 0x80
pop rbp
ret