joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800014d0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x160
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rsi, rcx
xor ebp, ebp
xor edx, edx
lea ecx, [rbp + 0xf]
mov dword [rsp + 0x20], 0x130
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x20]
mov rcx, rax
mov rbx, rax
call sub.KERNEL32.dll_Process32First
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x4c]
repne scasb al, byte [rdi]
not rcx
dec rcx
movsxd rdx, ecx
test ecx, ecx
jle 0x18000155e
nop word [rax + rax]
movzx ecx, byte [rsp + rax + 0x4c]
cmp cl, 0x41
jl 0x180001556
cmp cl, 0x5f
jg 0x180001556
add cl, 0x20
mov byte [rsp + rax + 0x4c], cl
inc rax
cmp rax, rdx
jl 0x180001540
lea rax, [rsp + 0x4c]
mov rdi, rsi
sub rdi, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + rdi]
sub edx, ecx
jne 0x180001582
inc rax
test ecx, ecx
jne 0x180001570
test edx, edx
je 0x180001599
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x180001520
jmp 0x1800015a8
mov eax, dword [rsp + 0x28]
mov ebp, 1
mov dword [0x18000a5e4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x18000a640], 0
mov eax, ebp
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800054a0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180002810
Capabilities:
Create thread
Encode data using xor

Disassembly:
push rbx
push rdi
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.MSVCR90.dll__time64]
mov rcx, rax
call qword [sym.imp.MSVCR90.dll_srand]
mov edi, 4
nop dword [rax]
call qword [sym.imp.MSVCR90.dll_rand]
sub rdi, 1
jne 0x180002830
call qword [sym.imp.MSVCR90.dll_rand]
mov ebx, eax
imul ebx, ebx, 0x1d
call qword [sym.imp.MSVCR90.dll_rand]
add ebx, eax
mov eax, 0x431bde83
imul ebx
sar edx, 0x12
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0xf4240
sub ebx, edx
cmp ebx, 0xf4240
jl 0x180002876
sub ebx, 0xf4240
cmp ebx, 0x186a0
jge 0x18000288b
call qword [sym.imp.MSVCR90.dll_rand]
lea ebx, [rbx + rax + 0x186a0]
mov rcx, qword [0x18000a428]
or edx, 0xffffffff
mov dword [0x18000a3dc], ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
or rcx, 0xffffffffffffffff
xor eax, eax
lea r8, str.232258_69B_:C_
xor ebx, ebx
mov rdi, r8
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx - 1]
mov ecx, ebx
test edi, edi
jle 0x1800028db
mov eax, ecx
inc r8
cdq
and eax, 1
xor eax, edx
sub eax, edx
add al, cl
inc ecx
sub byte [r8 - 1], al
cmp ecx, edi
jl 0x1800028c2
or rcx, 0xffffffffffffffff
xor eax, eax
lea r8, str.a5355:66kyw
mov rdi, r8
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx - 1]
mov ecx, ebx
test edi, edi
jle 0x180002919
nop word [rax + rax]
mov eax, ecx
inc r8
cdq
and eax, 1
xor eax, edx
sub eax, edx
add al, cl
inc ecx
sub byte [r8 - 1], al
cmp ecx, edi
jl 0x180002900
mov rcx, qword [0x18000a428]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
call fcn.180002be0
lea rdx, [0x18000a308]
mov qword [rsp + 0x20], rdx
lea rdx, [0x18000a430]
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call fcn.180003780
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x28], rdx
lea r8, [0x180003ce0]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180002989
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x58]
lea r8, [0x180001a80]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800029b9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x60]
lea r8, [0x180004120]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800029e9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x68]
lea r8, [0x180004a90]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180002a19
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x180002a20
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x100
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0x40]
lea r8, [0x180000000]
lea rdi, [rsp + 0x40]
mov rax, qword [r8 + 0x6448]
mov qword [rcx], rax
mov rax, qword [r8 + 0x6450]
mov qword [rcx + 8], rax
mov rax, qword [r8 + 0x6458]
mov qword [rcx + 0x10], rax
movzx eax, word [r8 + 0x6460]
mov word [rcx + 0x18], ax
xor eax, eax
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x5a], rax
mov qword [rsp + 0x62], rax
mov qword [rsp + 0x6a], rax
mov byte [rsp + 0x72], al
repne scasb al, byte [rdi]
not rcx
dec rcx
movsxd rdx, ecx
test ecx, ecx
jle 0x180002aad
add byte [rsp + rax + 0x40], 2
inc rax
cmp rax, rdx
jl 0x180002aa0
mov rax, qword [r8 + 0x6468]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x8e]
mov qword [rdx], rax
mov eax, dword [r8 + 0x6470]
mov dword [rdx + 8], eax
movzx eax, word [r8 + 0x6474]
mov word [rdx + 0xc], ax
xor edx, edx
lea r8d, [rdx + 0x57]
call sub.MSVCR90.dll_memset
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x80]
repne scasb al, byte [rdi]
not rcx
dec rcx
movsxd rdx, ecx
test ecx, ecx
jle 0x180002b20
nop word [rax + rax]
add byte [rsp + rax + 0x80], 3
inc rax
cmp rax, rdx
jl 0x180002b10
lea rax, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [0x18000a644], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x180002bae
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x80]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [rsp + 0x30]
cmp eax, 0xf4240
jbe 0x180002ba4
add eax, 0xbc614e
mov dword [0x18000a644], eax
jmp 0x180002bae
mov dword [0x18000a644], 0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180002bbe
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1800054a0
add rsp, 0x100
pop rdi
ret
Function at 0x1800033f0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov dword [0x18000a5ac], ecx
mov dword [rsp + 0x40], ecx
mov rcx, qword [0x18000a308]
lea rax, [rsp + 0x40]
lea rdx, [0x180009bbc]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add rsp, 0x38
ret

Function at 0x180003440
Capabilities:
Encode data using xor
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
dec rcx
mov r9, rcx
test ecx, ecx
jle 0x1800034fe
lea r10, [0x18000a5e8]
mov rdx, rbx
mov rdi, r10
sub rdi, rbx
nop dword [rax]
movzx eax, byte [rdx]
inc rdx
mov byte [rdi + rdx - 1], al
test al, al
jne 0x180003480
xor ecx, ecx
test r9d, r9d
jle 0x1800034ba
mov r8, r10
nop dword [rax + rax]
mov eax, ecx
inc r8
cdq
and eax, 1
xor eax, edx
sub eax, edx
add al, cl
inc ecx
add byte [r8 - 1], al
cmp ecx, r9d
jl 0x1800034a0
mov rcx, qword [0x18000a308]
lea eax, [r9 + 1]
lea rdx, [0x180009bc0]
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
nop word [rax + rax]
movzx eax, byte [rbx]
inc rbx
mov byte [rdi + rbx - 1], al
test al, al
jne 0x1800034f0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x180003510
Capabilities:
Encode data using xor
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
dec rcx
mov r9, rcx
test ecx, ecx
jle 0x1800035ce
lea r10, [0x18000a5f8]
mov rdx, rbx
mov rdi, r10
sub rdi, rbx
nop dword [rax]
movzx eax, byte [rdx]
inc rdx
mov byte [rdi + rdx - 1], al
test al, al
jne 0x180003550
xor ecx, ecx
test r9d, r9d
jle 0x18000358a
mov r8, r10
nop dword [rax + rax]
mov eax, ecx
inc r8
cdq
and eax, 1
xor eax, edx
sub eax, edx
add al, cl
inc ecx
add byte [r8 - 1], al
cmp ecx, r9d
jl 0x180003570
mov rcx, qword [0x18000a308]
lea eax, [r9 + 1]
lea rdx, [0x180009bd8]
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
nop word [rax + rax]
movzx eax, byte [rbx]
inc rbx
mov byte [rdi + rbx - 1], al
test al, al
jne 0x1800035c0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1800035e0
Capabilities:
Encode data using xor
Set registry value

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
or rcx, 0xffffffffffffffff
xor eax, eax
lea rsi, [0x180006438]
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
dec rcx
mov r9, rcx
test ecx, ecx
jle 0x1800036a4
xor edi, edi
mov qword [rsp + 0x40], rbx
lea rbx, [0x18000a608]
mov rdx, rdi
nop
movzx eax, byte [rdx + rsi]
inc rdx
mov byte [rdx + rbx - 1], al
test al, al
jne 0x180003620
mov ecx, edi
test r9d, r9d
jle 0x18000365a
mov r8, rbx
nop dword [rax]
mov eax, ecx
inc r8
cdq
and eax, 1
xor eax, edx
sub eax, edx
add al, cl
inc ecx
add byte [r8 - 1], al
cmp ecx, r9d
jl 0x180003640
mov rcx, qword [0x18000a308]
lea eax, [r9 + 1]
lea rdx, [0x180009bf0]
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
nop word [rax + rax]
movzx eax, byte [rdi + rsi]
inc rdi
mov byte [rdi + rbx - 1], al
test al, al
jne 0x180003690
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1800036b0
Capabilities:
Encode data using xor
Set registry value

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
or rcx, 0xffffffffffffffff
xor eax, eax
lea rsi, [0x180006438]
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
dec rcx
mov r9, rcx
test ecx, ecx
jle 0x180003774
xor edi, edi
mov qword [rsp + 0x40], rbx
lea rbx, [0x18000a618]
mov rdx, rdi
nop
movzx eax, byte [rdx + rsi]
inc rdx
mov byte [rdx + rbx - 1], al
test al, al
jne 0x1800036f0
mov ecx, edi
test r9d, r9d
jle 0x18000372a
mov r8, rbx
nop dword [rax]
mov eax, ecx
inc r8
cdq
and eax, 1
xor eax, edx
sub eax, edx
add al, cl
inc ecx
add byte [r8 - 1], al
cmp ecx, r9d
jl 0x180003710
mov rcx, qword [0x18000a308]
lea eax, [r9 + 1]
lea rdx, [0x180009c08]
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
nop word [rax + rax]
movzx eax, byte [rdi + rsi]
inc rdi
mov byte [rdi + rbx - 1], al
test al, al
jne 0x180003760
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x180005320
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x80
mov rbp, rcx
mov rcx, qword [0x18000a428]
mov rdi, rdx
or edx, 0xffffffff
mov ebx, r8d
mov esi, 1
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call qword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [rsp + 0x40], ebx
mov r12, rax
mov qword [rsp + 0x50], rax
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x48], rdi
xor ebx, ebx
nop word [rax + rax]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0xb0]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x40]
mov r8d, esi
mov rcx, rbp
mov dword [rsp + 0x20], ebx
call qword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x1800053ce
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x180005437
lea rdx, [rsp + 0x50]
or r9d, 0xffffffff
xor r8d, r8d
mov ecx, esi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
cmp eax, 0xffffffff
je 0x180005437
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSAResetEvent]
lea r11, [rsp + 0xa8]
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x60]
xor r9d, r9d
mov rcx, rbp
mov qword [rsp + 0x20], r11
call qword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
je 0x180005437
mov eax, dword [rsp + 0xb0]
sub dword [rsp + 0x40], eax
je 0x180005439
add qword [rsp + 0x48], rax
jmp 0x180005390
mov esi, ebx
mov rcx, r12
call qword [sym.imp.WS2_32.dll_WSACloseEvent]
mov rcx, qword [0x18000a428]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea r11, [rsp + 0x80]
mov eax, esi
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x18000599b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x1800054ba
rol rcx, 0x10
test cx, 0xffff
jne 0x1800054b6
repz ret
ror rcx, 0x10
jmp 0x1800058f4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180009e10]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x180009f08]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180005979
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, [0x180009e10]
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.KERNEL32.dll_RtlVirtualUnwind
jmp 0x18000599b
mov rax, qword [rsp + 0x88]
mov qword [0x180009f08], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180009ea8], rax
mov rax, qword [0x180009f08]
mov qword [0x180009d80], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180009e90], rax
mov dword [0x180009d70], 0xc0000409
mov dword [0x180009d74], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180008008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180009e08], eax
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180006330]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180009e08], 0
jne 0x180005a22
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
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 0x18007db58
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x18007dbbc
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x18007dbaa
mov rax, qword [rbx]
xor edx, edx
mov r8d, dword [rax + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18007dba3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x18007db77
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x1802049b0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18007dbcc
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x1802054c0]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x18007dc02
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x40]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18007dc38
mov eax, 0xa
jmp 0x18007dcc4
test esi, esi
je 0x18007dc5a
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18007dc7b
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18007dc7b
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18007dc75
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18007dc7b
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
mov al, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x18007e268
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x18007e27f
cmp r8b, 0x90
je 0x18007e27f
cmp r8b, 0xcc
jne 0x18007e2a1
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x18007e29d
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x18007e2a1
add edx, r10d
cmp edx, r9d
jb 0x18007e28d
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x18007e608
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x18007e652
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x1802054b0]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
test rbx, rbx
je 0x18007e690
cmp rbx, r14
jb 0x18007e68b
cmp rbx, r12
jae 0x18007e68b
cmp qword [rbx + 8], rsi
jne 0x18007e7e7
mov rbx, qword [rbx]
jmp 0x18007e672
mov r15, rdi
cmp rdi, r14
jb 0x18007e714
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
sub r15, r13
cmp r15, r14
jb 0x18007e70b
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18007e70b
cmp dword [rbp - 0x10], 0x10000
je 0x18007e6db
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x18007e70b
jmp 0x18007e6a7
test r15, r15
je 0x18007e70b
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x18007e7ac
cmp r15, r14
jae 0x18007e698
test rbx, rbx
jne 0x18007e7ac
cmp rdi, r12
ja 0x18007e7e7
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x18007e7e7
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18007e7e7
cmp dword [rbp - 0x10], 0x10000
je 0x18007e782
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jmp 0x18007e73b
test rdi, rdi
je 0x18007e7e7
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jmp 0x18007e70e
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x18007e7b8
mov rax, qword [0x1802054b0]
mov qword [rbx], rax
mov qword [0x1802054b0], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x180085f14
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1800a1ac0
sub rsp, rax
mov rax, qword [0x1800cb028]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.180093674
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x180085f63
mov rax, rbp
jmp 0x18008606b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x103950]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18009390c
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x103950]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x180086067
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180086067
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18009390c
test rax, rax
js 0x180086067
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x180086067
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180086059
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180086059
cmp byte [rcx], 0xd
jne 0x18008603f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x18008604e
cmp byte [rcx + 1], 0xa
jne 0x18008604e
inc rcx
jmp 0x18008604e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xcb2d0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180086021
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x18008606b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800a18b0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret