joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d3d0
Capabilities:
Parse pe header

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

Function at 0x40d3f0
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 0x40d431
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 0x40d428
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x40d433
add rax, 0x28
cmp rax, r9
jne 0x40d414
xor eax, eax
ret

Function at 0x40d4d0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x0040f440]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x40d53d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x40d53d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x40d53d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x40d534
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x40d53f
add rax, 0x28
cmp rax, r9
jne 0x40d520
xor eax, eax
add rsp, 0x28
ret

Function at 0x40d640
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x0040f440]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x40d660
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x40d658
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x40d6bd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x40d6b4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x40d6c4
add rax, 0x28
cmp rax, r9
jne 0x40d6a0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x40d6e0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x0040f440]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x40d74e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x40d74e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x40d74e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x40d74e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x40d745
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x40d755
add rcx, 0x28
cmp rcx, rax
jne 0x40d730
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x40d768
jmp 0x40d74e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x40d776
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x40d74e
test r9d, r9d
jg 0x40d760
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x40da00
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x4015f0
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0xc]
cmp eax, 1
je 0x401614
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0xc]
cmp eax, 2
jne 0x401645
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 9]
test al, al
je 0x401645
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x10]
add rax, 8
mov r9, rdx
mov r8d, 1
mov edx, 1
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov rcx, rax
call sub.msvcrt.dll_fclose
mov rcx, qword [rbp + 0x10]
call sub.msvcrt.dll_free
nop
add rsp, 0x20
pop rbp
ret

Function at 0x401664
Capabilities:
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov byte [rbp - 1], 0
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 9]
test al, al
jne 0x4016ad
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x10]
add rax, 8
mov r9, rdx
mov r8d, 1
mov edx, 1
mov rcx, rax
call sub.msvcrt.dll_fread
mov rax, qword [rbp + 0x10]
mov byte [rax + 9], 8
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 8]
movzx edx, al
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 9]
movzx eax, al
sub eax, 1
mov r8d, 1
mov ecx, eax
shl r8d, cl
mov eax, r8d
and eax, edx
test eax, eax
setne al
mov byte [rbp - 1], al
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 9]
lea edx, [rax - 1]
mov rax, qword [rbp + 0x10]
mov byte [rax + 9], dl
movzx eax, byte [rbp - 1]
add rsp, 0x30
pop rbp
ret

Function at 0x4016fa
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov eax, edx
mov byte [rbp + 0x18], al
cmp byte [rbp + 0x18], 0
je 0x40174a
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 9]
movzx eax, al
mov ecx, 7
sub ecx, eax
mov eax, ecx
mov r8d, 1
mov ecx, eax
shl r8d, cl
mov eax, r8d
or eax, edx
mov edx, eax
mov rax, qword [rbp + 0x10]
mov byte [rax + 8], dl
jmp 0x401783
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 9]
movzx eax, al
mov ecx, 7
sub ecx, eax
mov eax, ecx
mov r8d, 1
mov ecx, eax
shl r8d, cl
mov eax, r8d
not eax
and eax, edx
mov edx, eax
mov rax, qword [rbp + 0x10]
mov byte [rax + 8], dl
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 9]
lea edx, [rax + 1]
mov rax, qword [rbp + 0x10]
mov byte [rax + 9], dl
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 9]
cmp al, 8
jne 0x4017dd
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x10]
add rax, 8
mov r9, rdx
mov r8d, 1
mov edx, 1
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rax, qword [rbp + 0x10]
mov byte [rax + 9], 0
mov rax, qword [rbp + 0x10]
movzx edx, byte [rax + 9]
mov rax, qword [rbp + 0x10]
mov byte [rax + 8], dl
nop
add rsp, 0x20
pop rbp
ret
Function at 0x4034e9
Capabilities:
Set console window title

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov ecx, 0xfffffff5
mov rax, qword [sym.imp.KERNEL32.dll_GetStdHandle]
call rax
mov qword [rbp - 8], rax
mov word [rbp - 0x20], 0
mov word [rbp - 0x1e], 0
mov word [rbp - 0x1c], 0x14
mov word [rbp - 0x1a], 0x14
mov word [rbp - 0x30], 0x4b
mov word [rbp - 0x2e], 0x1d
mov dword [rbp - 0x40], 0
mov dword [rbp - 0x3c], 0
mov word [rbp - 0xa], 0xf
lea rcx, str.BadApple__
mov rax, qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call rax
movzx edx, word [rbp - 0xa]
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
call rax
lea rdx, [rbp - 0x20]
mov rax, qword [rbp - 8]
mov r8, rdx
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
call rax
mov edx, dword [rbp - 0x30]
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
call rax
mov word [rbp - 0x1c], 0x4a
mov word [rbp - 0x1a], 0x1c
lea rdx, [rbp - 0x20]
mov rax, qword [rbp - 8]
mov r8, rdx
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
call rax
mov word [rbp - 0x2e], 0
movzx eax, word [rbp - 0x2e]
mov word [rbp - 0x30], ax
lea rdx, [rbp - 0x40]
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
call rax
mov dword [rbp - 0x3c], 0
lea rdx, [rbp - 0x40]
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
call rax
nop
add rsp, 0x60
pop rbp
ret
Function at 0x4035fa
Capabilities:
Manipulate console buffer

Disassembly:
push rbp
sub rsp, 0x8f0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x850], 0
mov qword [rbp + 0x848], 0
mov qword [rbp + 0x840], 0
mov qword [rbp + 0x838], 0
mov qword [rbp + 0x868], 0
mov dword [rbp + 0x864], 0
mov ecx, 0xfffffff5
mov rax, qword [sym.imp.KERNEL32.dll_GetStdHandle]
call rax
mov qword [rbp + 0x858], rax
mov word [rbp - 0x60], 0
mov word [rbp - 0x5e], 0
lea rax, [rbp - 0x50]
mov r8d, 0x87f
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
lea rdx, [rbp + 0x840]
lea rax, [rbp + 0x850]
mov r9, rdx
mov r8d, 0x1fca4
mov rdx, rax
lea rcx, [0x00429c20]
call fcn.00403012
mov rcx, qword [rbp + 0x840]
mov rax, qword [rbp + 0x850]
lea r8, [rbp + 0x838]
lea rdx, [rbp + 0x848]
mov r9, r8
mov r8, rcx
mov rcx, rax
call fcn.00403012
mov rax, qword [rbp + 0x850]
mov rcx, rax
call sub.msvcrt.dll_free
add qword [rbp + 0x868], 0x43f8
jmp 0x403768
call sub.msvcrt.dll_clock
mov dword [rbp + 0x864], eax
mov edx, dword [rbp - 0x60]
mov rax, qword [rbp + 0x858]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
call rax
mov rdx, qword [rbp + 0x848]
mov rcx, qword [rbp + 0x868]
lea rax, [rbp - 0x50]
mov r8, rcx
mov rcx, rax
call fcn.004033a0
mov rdx, qword [rbp + 0x858]
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.0040348c
add qword [rbp + 0x868], 0x87f
call sub.msvcrt.dll_clock
mov edx, dword [rbp + 0x864]
sub edx, eax
mov eax, edx
add eax, 0x7d
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x838]
shl rax, 3
cmp rax, qword [rbp + 0x868]
ja 0x4036ef
mov rax, qword [rbp + 0x848]
mov rcx, rax
call sub.msvcrt.dll_free
nop
add rsp, 0x8f0
pop rbp
ret
Function at 0x403799
Capabilities:
Write file on windows

Disassembly:
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xb0], 0
lea rdx, [rbp - 0x60]
mov eax, 0
mov ecx, 0x20
mov rdi, rdx
rep stosq qword [rdi], rax
mov rdx, rdi
mov dword [rdx], eax
add rdx, 4
mov qword [rbp + 0xf8], 0
lea rax, [rbp - 0x60]
mov rcx, rax
call sub.msvcrt.dll_tmpnam
lea rax, [rbp - 0x60]
mov rcx, 0xffffffffffffffff
mov rdx, rax
mov eax, 0
mov rdi, rdx
repne scasb al, byte [rdi]
mov rax, rcx
not rax
lea rdx, [rax - 1]
lea rax, [rbp - 0x60]
add rax, rdx
mov dword [rax], 0x64696d2e
mov byte [rax + 4], 0
lea rax, [rbp - 0x60]
lea rdx, [0x0044a0bb]
mov rcx, rax
call sub.msvcrt.dll_fopen
mov qword [rbp + 0xf8], rax
lea rdx, [rbp + 0xb0]
lea rax, [rbp + 0xb8]
mov r9, rdx
mov r8d, 0x23bed
mov rdx, rax
lea rcx, [0x00406020]
call fcn.00403012
mov rdx, qword [rbp + 0xb0]
mov rax, qword [rbp + 0xb8]
mov rcx, qword [rbp + 0xf8]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rax, qword [rbp + 0xf8]
mov rcx, rax
call sub.msvcrt.dll_fclose
lea rax, [rbp - 0x60]
mov qword [rbp + 0xe4], rax
lea rax, [rbp + 0xd0]
mov r9, rax
mov r8d, 0x200
mov edx, 0x803
mov ecx, 0
mov rax, qword [sym.imp.WINMM.dll_mciSendCommandA]
call rax
lea rdx, [rbp + 0xc0]
mov eax, dword [rbp + 0xd8]
mov r9, rdx
mov r8d, 0
mov edx, 0x806
mov ecx, eax
mov rax, qword [sym.imp.WINMM.dll_mciSendCommandA]
call rax
mov rax, qword [rbp + 0xb8]
mov rcx, rax
call sub.msvcrt.dll_free
nop
add rsp, 0x188
pop rdi
pop rbp
ret
Function at 0x404110
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov ecx, dword [0x0044d354]
mov rdi, rdx
mov rbp, r8
test ecx, ecx
jle 0x4042f5
mov rax, qword [0x0044d358]
xor ebx, ebx
nop
mov r9, qword [rax + 8]
cmp rsi, r9
jb 0x40415c
mov rdx, qword [rax + 0x10]
mov edx, dword [rdx + 8]
add r9, rdx
cmp rsi, r9
jb 0x404230
add ebx, 1
add rax, 0x18
cmp ebx, ecx
jne 0x404140
mov rcx, rsi
call fcn.00404c70
test rax, rax
mov r12, rax
je 0x404319
movsxd rbx, ebx
lea r13, [rsp + 0x30]
lea r14, [rbx + rbx*2]
shl r14, 3
mov rbx, r14
add rbx, qword [0x0044d358]
mov qword [rbx + 0x10], rax
mov dword [rbx], 0
call fcn.00404db0
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
mov rdx, r13
mov qword [rbx + 8], rax
mov rax, qword [0x0044d358]
mov rbx, qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rcx, qword [rax + r14 + 8]
call rbx
test rax, rax
je 0x4042fc
mov eax, dword [rsp + 0x54]
cmp eax, 4
jne 0x4042b0
add dword [0x0044d354], 1
mov r8d, 0x30
mov rdx, r13
mov rcx, rsi
call rbx
test rax, rax
je 0x404328
mov eax, dword [rsp + 0x54]
cmp eax, 4
jne 0x404240
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp sub.msvcrt.dll_memcpy
lea r13, [rsp + 0x30]
mov rbx, qword [sym.imp.KERNEL32.dll_VirtualQuery]
jmp 0x4041eb
cmp eax, 0x40
je 0x40420b
lea r12, [rsp + 0x2c]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rbx, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r9, r12
call rbx
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
call sub.msvcrt.dll_memcpy
mov eax, dword [rsp + 0x54]
cmp eax, 0x40
je 0x404297
cmp eax, 4
je 0x404297
mov r9, r12
mov r8d, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call rbx
nop
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
cmp eax, 0x40
je 0x4041e4
add r14, qword [0x0044d358]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov r9, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4041e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.004040a0
xor ebx, ebx
jmp 0x404167
mov rax, qword [0x0044d358]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + r14 + 8]
call fcn.004040a0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rsi
call fcn.004040a0
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, rsi
mov edx, 0x30
call fcn.004040a0
nop
nop dword [rax]
Function at 0x404900
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0044d920]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0044d900]
test rbx, rbx
je 0x404954
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 0x40494b
test rsi, rsi
je 0x40494b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x404930
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x0044d920]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax

Function at 0x404b70
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 0x404bb0
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov ecx, dword [rax + 0xc]
mov r8d, ecx
cmp r8, rdx
ja 0x404ba7
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x404bb2
add rax, 0x28
cmp rax, r9
jne 0x404b94
xor eax, eax
repz ret

Function at 0x404c70
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rbx
sub rsp, 0x28
cmp word [0x00400000], 0x5a4d
lea rbx, [0x00400000]
mov rsi, rcx
je 0x404c94
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, rbx
call fcn.00404b30
test eax, eax
je 0x404c8b
sub rsi, rbx
mov rcx, rbx
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.00404b70
Function at 0x18000bb90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x180085040]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r12, rcx
mov qword [rsp + 0x58], rcx
xor edi, edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.1800634b0
mov dword [rsp + 0x58], 0x104
call fcn.18000ad50
mov r15, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
lea r8d, [rdi + 0x1a]
lea rdx, str.QueryFullProcessImageNameW
lea rcx, [rsp + 0x20]
call fcn.18000b580
nop
call fcn.180025cf0
lea rcx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 0xf
cmova rdx, rbx
movabs r9, 0xcbf29ce484222325
mov ecx, edi
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x18000bc73
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x18000bc60
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x48]
mov rcx, r15
call fcn.18000b770
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x18000bc98
cmp rdx, qword [r15 + 8]
je 0x18000bc98
mov rdi, qword [rdx + 0x30]
lea rcx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp rsi, 0xf
jbe 0x18000bcda
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x18000bcd2
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000bdcb
mov rcx, rbx
call fcn.180040cf8
test rdi, rdi
je 0x18000bcf8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x60]
xor edx, edx
call rdi
jmp 0x18000bd0a
mov r8d, dword [rsp + 0x58]
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18000bd30
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.180009950
nop
lea rdx, [rsp + 0x20]
mov rcx, r12
call fcn.18000ba80
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x18000bd97
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000bd92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000bdc5
call fcn.180040cf8
mov rax, r12
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1800410a0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.18004ce30
int3
call fcn.18004ce30
int3
Function at 0x18000e930
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x180085040]
xor rax, rsp
mov qword [rsp + 0x190], rax
xorps xmm0, xmm0
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x108
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call fcn.1800634b0
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
test rbx, rbx
je 0x18000ea1e
mov rax, qword [rax + 0x70]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x40]
mov r9d, 0x40
mov rdx, rbx
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x18000ea1e
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x18000ea1e
movsxd rdx, dword [rsp + 0x7c]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
add rdx, rbx
je 0x18000ea1e
mov rax, qword [rax + 0x70]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
mov r9d, 0x108
lea r8, [rsp + 0x80]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x18000ea1e
cmp dword [rsp + 0x80], 0x4550
sete al
jmp 0x18000ea20
xor al, al
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1800410a0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret
Function at 0x18000eed0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0xb0
mov rax, qword [0x180085040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbp, rcx
movsxd r14, r8d
lea rcx, [rsp + 0x60]
call fcn.18000b970
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18000c020
xor ebx, ebx
mov dword [rsp + 0xa0], r14d
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rdx, qword [rsp + 0x58]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x20], xmm1
movups xmmword [rsp + 0x90], xmm1
cmp rdx, 7
jbe 0x18000ef91
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ef82
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000f0b0
call fcn.180040cf8
movups xmm1, xmmword [rsp + 0x20]
movups xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0xe0], rsi
lea rdx, [rsp + 0x80]
mov qword [rsp + 0xe8], rdi
movq rax, xmm1
movq rdi, xmm0
movabs rcx, 0xcbf29ce484222325
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rsi, xmm0
lea r8, [rax + rax]
cmp rsi, 7
cmova rdx, rdi
test r8, r8
je 0x18000f003
movabs r9, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + rbx]
inc rbx
xor rcx, rax
imul rcx, r9
cmp rbx, r8
jb 0x18000eff0
mov r9, r14
lea r8, [rsp + 0x80]
xor r9, rcx
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x18]
call fcn.1800105f0
cmp qword [rax + 8], 0
je 0x18000f047
lea rdx, [rsp + 0x80]
lea rcx, [rbp + 0x18]
call fcn.18000f4b0
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x80]
cmp rsi, 7
jbe 0x18000f07e
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x18000f076
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000f0aa
mov rcx, rdi
call fcn.180040cf8
mov rsi, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1800410a0
add rsp, 0xb0
pop r14
pop rbp
pop rbx
ret
call fcn.18004ce30
int3
call fcn.18004ce30
int3
Function at 0x18000f4b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 7
mov rdi, rcx
mov rcx, qword [rdx + 0x10]
mov r10, rdx
mov r9, rdx
jbe 0x18000f4d1
mov r9, qword [rdx]
xor edx, edx
movabs r8, 0xcbf29ce484222325
add rcx, rcx
je 0x18000f504
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [r9 + rdx]
inc rdx
xor r8, rax
imul r8, r11
cmp rdx, rcx
jb 0x18000f4f0
movsxd r9, dword [r10 + 0x20]
lea rdx, [rsp + 0x20]
xor r9, r8
mov rcx, rdi
mov r8, r10
call fcn.1800105f0
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x18000f59f
mov rdx, qword [rdi + 0x30]
and rdx, r9
shl rdx, 4
add rdx, qword [rdi + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x18000f558
cmp rax, rbx
jne 0x18000f54e
mov rax, qword [rdi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x18000f563
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x18000f563
cmp rax, rbx
jne 0x18000f563
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdx, qword [rbx]
lea rcx, [rbx + 0x10]
dec qword [rdi + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
call fcn.1800106d0
mov edx, 0x48
mov rcx, rbx
call fcn.180040cf8
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x30
pop rdi
ret