joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001ddf2
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
jmp 0x14004c230
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x498
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0xb6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4b8]
lea rcx, [0x1400854e4]
call fcn.14001df69
mov rdx, qword [rbp + 0x478]
mov rcx, qword [rbp + 0x470]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x14004c294
mov eax, 1
jmp 0x14004c432
lea rax, [rbp + 0x298]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp + 0x478]
mov rcx, qword [rbp + 0x470]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x14004c2df
cmp dword [rbp + 0x24], 2
jne 0x14004c2d8
mov eax, 1
jmp 0x14004c432
xor eax, eax
jmp 0x14004c432
mov rcx, qword [rbp + 0x478]
call fcn.14001dffa
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax - 2]
cmp eax, 0x5c
je 0x14004c31d
mov eax, 0x5c
mov rcx, qword [rbp + 8]
mov word [rcx], ax
mov rax, qword [rbp + 8]
add rax, 2
mov qword [rbp + 8], rax
xor eax, eax
mov rcx, qword [rbp + 8]
mov word [rcx], ax
mov dword [rbp + 0x44], 0x104
lea rax, [rbp + 0x2b8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x44]
lea r8, [rbp + 0x70]
xor edx, edx
mov rcx, qword [rbp + 0x298]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x14004c3ea
mov r9d, 0x104
lea r8, [rbp + 0x70]
mov edx, 0x104
mov rcx, qword [rbp + 8]
call fcn.14001d758
mov rdx, qword [rbp + 0x478]
mov rcx, qword [rbp + 0x470]
call fcn.14001ddf2
test eax, eax
jne 0x14004c39c
jmp 0x14004c3ea
mov dword [rbp + 0x44], 0x104
lea rax, [rbp + 0x2b8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x44]
lea r8, [rbp + 0x70]
xor edx, edx
mov rcx, qword [rbp + 0x298]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x14004c36b
mov rax, qword [rbp + 8]
sub rax, 2
mov qword [rbp + 8], rax
xor eax, eax
mov rcx, qword [rbp + 8]
mov word [rcx], ax
mov rcx, qword [rbp + 0x298]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp + 0x478]
mov rcx, qword [rbp + 0x470]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x14004c430
mov eax, 1
jmp 0x14004c432
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14006cdf0]
call fcn.14001dcb2
mov rax, rdi
lea rsp, [rbp + 0x458]
pop rdi
pop rbp
ret
Function at 0x14001ddfc
Capabilities:
Read file on windows
Write file on windows

Disassembly:
jmp 0x140032e30
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1b8]
lea rcx, [0x140083f4c]
call fcn.14001df69
mov dword [rbp + 4], 0
mov rax, qword [rbp + 0x178]
mov qword [rbp + 0x68], rax
mov eax, dword [rbp + 0x188]
mov dword [rbp + 0x70], eax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x10
lea r8, [rbp + 0x68]
mov edx, 0x22e400
mov rcx, qword [rbp + 0x170]
call fcn.14001d8d9
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jge 0x140032ee5
mov ecx, dword [rbp + 0x44]
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140032f5e
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [rbp + 0x190], 0
je 0x140032f30
mov qword [rsp + 0x20], 0
lea r9, [rbp + 4]
mov r8d, dword [rbp + 0x188]
mov rdx, qword [rbp + 0x180]
mov rcx, qword [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp + 0x24], eax
jmp 0x140032f5b
mov qword [rsp + 0x20], 0
lea r9, [rbp + 4]
mov r8d, dword [rbp + 0x188]
mov rdx, qword [rbp + 0x180]
mov rcx, qword [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x140061e40]
call fcn.14001dcb2
mov rax, rdi
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret

Function at 0x14001de29
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x140025350
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1b8]
lea rcx, [0x140083341]
call fcn.14001df69
mov qword [rbp + 0x78], 0
mov dword [rbp + 0x94], 0
cmp qword [rbp + 0x198], 0
je 0x14002544d
mov eax, 8
imul rax, rax, 0
mov qword [rbp + rax + 0x28], 0xa
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x190]
mov qword [rbp + rax + 0x28], rcx
mov eax, 8
imul rax, rax, 2
mov qword [rbp + rax + 0x28], 0
lea r9, [rbp + 0x58]
mov r8d, 3
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x14002544d
lea r9, [rbp + 0x94]
lea r8, [rbp + 0x78]
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.ntdll.dll_LdrAccessResource]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x14002544d
cmp qword [rbp + 0x1a0], 0
je 0x14002544d
mov rax, qword [rbp + 0x1a0]
mov ecx, dword [rbp + 0x94]
mov dword [rax], ecx
mov rax, qword [rbp + 0x78]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14005cf50]
call fcn.14001dcb2
mov rax, rdi
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x14001df9b
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1400477f0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
lea rcx, [0x1400854e4]
call fcn.14001df69
mov dword [rbp + 0x24], 0
mov rax, qword [rbp + 0x160]
mov dword [rax], 0
mov edx, 0x20
lea rcx, [rbp + 0x48]
call fcn.14001dad2
lea r9, [rbp + 0x24]
mov r8d, 0x20
lea rdx, [rbp + 0x48]
mov ecx, 0x5a
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x140047878
mov rax, qword [rbp + 0x160]
mov ecx, dword [rbp + 0x58]
mov dword [rax], ecx
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14006b660]
call fcn.14001dcb2
mov eax, edi
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x14001dfaa
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
jmp 0x140049de0
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [0x1400854e4]
call fcn.14001df69
mov dword [rbp + 0x84], 0
mov edx, 0x40
lea rcx, [rbp + 0x30]
call fcn.14001dad2
lea r9, [rbp + 0x84]
mov r8d, 0x40
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x140049e4e
mov rax, qword [rbp + 0x58]
jmp 0x140049e73
mov edx, 0x30
lea rcx, [rbp + 0xa8]
call fcn.14001dad2
lea rcx, [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rbp + 0xb8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14006b790]
call fcn.14001dcb2
mov rax, rdi
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x14001e09a
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1400233f0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x1a8]
lea rcx, [0x140083341]
call fcn.14001df69
mov dword [rbp + 0x44], 0x1000
cmp qword [rbp + 0x188], 0
je 0x140023453
mov rax, qword [rbp + 0x188]
mov dword [rax], 0
cmp dword [rbp + 0x180], 0
je 0x140023468
mov dword [rbp + 0x84], 0x4d
jmp 0x140023472
mov dword [rbp + 0x84], 0xb
mov eax, dword [rbp + 0x44]
mov ecx, eax
call qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14002348f
xor eax, eax
jmp 0x14002353c
lea r9, [rbp + 0x44]
mov r8d, dword [rbp + 0x44]
mov rdx, qword [rbp + 0x28]
mov ecx, dword [rbp + 0x84]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0xc0000004
jne 0x1400234e7
mov rcx, qword [rbp + 0x28]
call qword [rbp + 0x198]
mov eax, dword [rbp + 0x44]
mov ecx, eax
call qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea r9, [rbp + 0x44]
mov r8d, dword [rbp + 0x44]
mov rdx, qword [rbp + 0x28]
mov ecx, dword [rbp + 0x84]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rbp + 4], eax
cmp qword [rbp + 0x188], 0
je 0x1400234fd
mov rax, qword [rbp + 0x188]
mov ecx, dword [rbp + 0x44]
mov dword [rax], ecx
cmp dword [rbp + 4], 0x80000005
jne 0x14002351d
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
cmp dword [rax], 0
je 0x14002351d
mov rax, qword [rbp + 0x28]
jmp 0x14002353c
cmp dword [rbp + 4], 0
jl 0x140023529
mov rax, qword [rbp + 0x28]
jmp 0x14002353c
cmp qword [rbp + 0x28], 0
je 0x14002353a
mov rcx, qword [rbp + 0x28]
call qword [rbp + 0x198]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14005b890]
call fcn.14001dcb2
mov rax, rdi
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x14001e0c7
Capabilities:
Read file via mapping

Disassembly:
jmp 0x140048dd0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x40]
lea rcx, [0x1400854e4]
call fcn.14001df69
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
je 0x140048ea2
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x1000002
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140048e98
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x48]
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x140026ee0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov byte [rsp + 8], cl
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x140083370]
call fcn.14001df69
mov byte [rbp + 4], 0
jmp 0x140026f17
movzx eax, byte [rbp + 4]
inc al
mov byte [rbp + 4], al
movzx eax, byte [rbp + 4]
cmp eax, 4
jge 0x140026f9c
mov byte [rbp + 0x24], 0
jmp 0x140026f2f
movzx eax, byte [rbp + 0x24]
inc al
mov byte [rbp + 0x24], al
movzx eax, byte [rbp + 0x24]
cmp eax, 4
jge 0x140026f97
movzx eax, byte [rbp + 4]
mov rcx, qword [rbp + 0x128]
lea rax, [rcx + rax*4]
movzx ecx, byte [rbp + 0x24]
movzx edx, byte [rbp + 0x120]
shl edx, 2
movzx r8d, byte [rbp + 4]
shl r8d, 2
lea edx, [r8 + rdx*4]
movzx r8d, byte [rbp + 0x24]
add edx, r8d
movsxd rdx, edx
mov r8, qword [rbp + 0x130]
movzx edx, byte [r8 + rdx]
movzx eax, byte [rax + rcx]
xor eax, edx
movzx ecx, byte [rbp + 0x24]
movzx edx, byte [rbp + 4]
mov r8, qword [rbp + 0x128]
lea rdx, [r8 + rdx*4]
mov byte [rdx + rcx], al
jmp 0x140026f26
jmp 0x140026f0e
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400294c0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x140083370]
call fcn.14001df69
mov byte [rbp + 4], 0
jmp 0x1400294ee
movzx eax, byte [rbp + 4]
inc al
mov byte [rbp + 4], al
movzx eax, byte [rbp + 4]
cmp eax, 4
jge 0x14002954d
mov byte [rbp + 0x24], 0
jmp 0x140029506
movzx eax, byte [rbp + 0x24]
inc al
mov byte [rbp + 0x24], al
movzx eax, byte [rbp + 0x24]
cmp eax, 4
jge 0x14002954b
movzx eax, byte [rbp + 0x24]
mov rcx, qword [rbp + 0x120]
lea rax, [rcx + rax*4]
movzx ecx, byte [rbp + 4]
movzx eax, byte [rax + rcx]
lea rcx, str.cw
movzx edx, byte [rbp + 0x24]
mov r8, qword [rbp + 0x120]
lea rdx, [r8 + rdx*4]
movzx r8d, byte [rbp + 4]
movzx eax, byte [rcx + rax]
mov byte [rdx + r8], al
jmp 0x1400294fd
jmp 0x1400294e5
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400111ef
Capabilities:
Terminate process

Disassembly:
jmp 0x1400132c0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011276
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014610
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014630
xor al, al
jmp 0x1400146b1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014643
xor al, al
jmp 0x1400146b1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001466d
xor al, al
jmp 0x1400146b1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014681
xor al, al
jmp 0x1400146b1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014693
xor al, al
jmp 0x1400146b1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400146af
xor al, al
jmp 0x1400146b1
mov al, 1
add rsp, 0x38
ret
Function at 0x4017a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
movsxd rbp, dword [0x00407054]
mov rbx, rcx
mov rsi, rdx
mov rdi, r8
test ebp, ebp
jle 0x4018ba
mov rax, qword [0x00407058]
xor r9d, r9d
add rax, 8
mov r10, qword [rax]
cmp rbx, r10
jb 0x4017ee
mov rdx, qword [rax + 8]
mov r11d, dword [rdx + 8]
add r10, r11
cmp rbx, r10
jb 0x4018a0
add r9d, 1
add rax, 0x18
cmp r9d, ebp
jne 0x4017d2
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x4018f2
lea rbp, [rbp + rbp*2]
shl rbp, 3
mov r13, rbp
add r13, qword [0x00407058]
mov qword [r13 + 0x10], rax
mov dword [r13], 0
call dbg._GetPEImageBase
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 8], rax
mov rax, qword [0x00407058]
mov rcx, qword [rax + rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x4018d5
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x401899
sub eax, 0x40
and eax, 0xffffffbf
je 0x401899
mov r9, rbp
add r9, qword [0x00407058]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4018c1
add dword [0x00407054], 1
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.memcpy
xor ebp, ebp
jmp 0x4017fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
mov rax, qword [0x00407058]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbp + 8]
call dbg.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call dbg.__report_error
nop
nop word cs:[rax + rax]

Function at 0x4024d0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x4024e0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x4024f0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x402531
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x402528
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x402533
add rax, 0x28
cmp rax, r9
jne 0x402514
xor eax, eax
repz ret

Function at 0x4025e0
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [0x00404310]
cmp word [rbx], 0x5a4d
je 0x402600
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rsi, rcx
mov rcx, rbx
call sym._ValidateImageBase.part.0
test eax, eax
je 0x4025f4
sub rsi, rbx
mov rcx, rbx
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp dbg._FindPESection
Function at 0x402850
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x004079c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004079a0]
test rbx, rbx
je 0x4028a4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x40289b
test rsi, rsi
je 0x40289b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402880
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x004079c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
Function at 0x1400044a0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x140037010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r8, rcx
movsxd r10, edx
xor eax, eax
mov r9d, edx
mov ecx, 0x40
lea rdi, [rsp]
rep stosb byte [rdi], al
mov rdi, r10
lea rcx, [rsp]
shr rdi, 3
test rdi, rdi
je 0x1400044f4
nop dword [rax + rax]
mov rax, qword [r8]
add r8, 8
mov qword [rcx], rax
add rcx, 8
sub rdi, 1
jne 0x1400044e0
mov rdx, r10
and edx, 7
je 0x140004512
sub rcx, r8
nop
movzx eax, byte [r8]
mov byte [rcx + r8], al
lea r8, [r8 + 1]
sub rdx, 1
jne 0x140004500
xor r8d, r8d
test r9d, r9d
jle 0x140004539
mov edx, r8d
nop dword [rax]
movzx ecx, byte [rsp + rdx]
lea eax, [rcx - 0x41]
cmp al, 0x19
ja 0x140004531
add cl, 0x20
mov byte [rsp + rdx], cl
inc rdx
cmp rdx, r10
jl 0x140004520
lea rdx, [rsp]
mov r11d, r9d
mov r10d, 0xb801fcda
cmp r9d, 4
jl 0x140004587
mov rdi, r9
shr rdi, 2
mov eax, edi
neg eax
lea r9d, [r9 + rax*4]
nop dword [rax + rax]
imul eax, dword [rdx], 0x5bd1e995
add rdx, 4
imul r10d, r10d, 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
xor r10d, ecx
sub rdi, 1
jne 0x140004560
sub r9d, 1
je 0x1400045ac
sub r9d, 1
je 0x1400045a2
cmp r9d, 1
jne 0x1400045b2
movzx r8d, byte [rdx + 2]
shl r8d, 0x10
movzx eax, byte [rdx + 1]
shl eax, 8
xor r8d, eax
movzx eax, byte [rdx]
xor r8d, eax
imul ecx, r8d, 0x5bd1e995
imul edi, r11d, 0x5bd1e995
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e995
imul eax, r10d, 0x5bd1e995
xor ecx, eax
mov eax, edi
shr eax, 0x18
xor eax, edi
imul edx, ecx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor edx, eax
mov eax, edx
shr eax, 0xd
xor eax, edx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14001f2a0
add rsp, 0x50
pop rdi
ret
Function at 0x14001e180
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x140037010]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov edx, 0xf
mov r8d, 0xa86f8bb2
mov rbx, rcx
lea r9d, [rdx - 1]
call fcn.1400042d0
xor edx, edx
lea ecx, [rdx + 2]
call rax
mov rdi, rax
test rax, rax
je 0x14001e37e
mov dword [rsp + 0x40], 0x238
mov r9d, 0xd
mov r8d, 0x5e57b014
jmp 0x14001e348
mov byte [rsp + 0x20], 0
mov byte [rsp + 0x21], 0x48
mov byte [rsp + 0x22], 0x47
mov byte [rsp + 0x23], 0x7d
mov byte [rsp + 0x24], 0x47
mov byte [rsp + 0x25], 0x60
mov byte [rsp + 0x26], 0x47
mov byte [rsp + 0x27], 0x12
mov byte [rsp + 0x28], 0x47
mov byte [rsp + 0x29], 0xd
mov byte [rsp + 0x2a], 0x47
mov byte [rsp + 0x2b], 8
mov byte [rsp + 0x2c], 0x47
mov byte [rsp + 0x2d], 0x48
mov byte [rsp + 0x2e], 0x47
mov byte [rsp + 0x2f], 8
mov byte [rsp + 0x30], 0x47
mov byte [rsp + 0x31], 0x4f
mov byte [rsp + 0x32], 0x47
mov byte [rsp + 0x33], 0x48
mov byte [rsp + 0x34], 0x47
mov byte [rsp + 0x35], 0x7d
mov byte [rsp + 0x36], 0x47
mov byte [rsp + 0x37], 0x48
mov byte [rsp + 0x38], 0x47
mov byte [rsp + 0x39], 0x47
mov byte [rsp + 0x3a], 0x47
movzx eax, byte [rsp + 0x21]
movzx eax, byte [rsp + 0x20]
test al, al
jne 0x14001e2e1
xor r8d, r8d
nop dword [rax + rax]
movzx ecx, byte [rsp + r8 + 0x21]
mov eax, 0x47
sub eax, ecx
imul ecx, eax, 0x1a
mov eax, 0x81020409
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, 0x81020409
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rsp + r8 + 0x21], cl
inc r8
cmp r8, 0x1a
jb 0x14001e290
mov edx, 0xf
mov r8d, 0xcd7328ca
lea r9d, [rdx + 0x42]
call fcn.1400042d0
lea rdx, [rsp + 0x21]
lea rcx, [rsp + 0x6c]
call rax
test eax, eax
jne 0x14001e33c
lea ecx, [rax + 0x18]
call fcn.140022e78
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
test rax, rax
je 0x14001e364
mov ecx, dword [rsp + 0x48]
mov dword [rax], ecx
mov rcx, qword [rbx + 8]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
add rax, 8
mov qword [rbx + 8], rax
mov r9d, 0xc
mov r8d, 0xc9a81ce0
mov edx, 0xf
call fcn.1400042d0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call rax
test eax, eax
jne 0x14001e1f0
mov r9d, 0x5b
mov r8d, 0xca528872
lea edx, [r9 - 0x4c]
call fcn.1400042d0
mov rcx, rdi
call rax
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14001f2a0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14002361c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140023440