joyce8/EMBER2024-capa huggingface dataset:
Function at 0x69904d4c
Capabilities:
Check mutex on windows

Disassembly:
push r12
sub rsp, 0x20
mov r12, rcx
call fcn.69901b35
cmp eax, 0xe
jle 0x69901c37
call fcn.699018ce
cmp eax, 3
ja 0x69901c4d
jmp 0x69901c67
call fcn.69901bd6
cmp eax, 4
jg 0x69901c2b
call fcn.69901710
cmp eax, 4
jg 0x69901c2b
jmp 0x69901c7d
call fcn.69901856
cmp eax, 0xeff
jle 0x69901c67
mov rcx, r12
add rsp, 0x20
pop r12
jmp 0x69904d4c
call fcn.699018ce
cmp eax, 7
ja 0x69901c59
call fcn.69901856
cmp eax, 0x16ff
jg 0x69901c59
add rsp, 0x20
pop r12
ret
push r15
push r14
push r13
push r12
sub rsp, 0x28
mov qword [0x6990e0b0], rcx
mov r13, rcx
lea rcx, [0x69909080]
call fcn.69905ab0
xor ecx, ecx
mov r12, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8, r12
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov r14, rax
test rax, rax
je 0x69904ddf
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x69904dcb
lea rcx, [0x6990a892]
call fcn.69905ab0
mov rcx, rax
mov r15, rax
call fcn.69906a16
test eax, eax
je 0x69904dc1
mov rdx, r12
mov rcx, r13
call fcn.69904d0d
mov rcx, r15
call fcn.69905b32
jmp 0x69904dd6
mov rdx, r12
mov rcx, r13
call fcn.69904d0d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
add rsp, 0x28
pop r12
pop r13
pop r14
pop r15
jmp fcn.69905b32
Function at 0x69905c03
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbx
sub rsp, 0x58
xor r9d, r9d
xor r14d, r14d
mov qword [rsp + 0x30], 0
mov r13, rdx
mov ebx, r8d
mov edx, 0x40000000
mov dword [rsp + 0x28], pe_nt_image_headers64
xor r8d, r8d
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x69905c8e
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
inc eax
je 0x69905c85
lea r9, [rsp + 0x4c]
mov r8d, ebx
mov rdx, r13
mov rcx, r12
mov qword [rsp + 0x20], 0
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne r14b
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r14d
add rsp, 0x58
pop rbx
pop r12
pop r13
pop r14
ret
Function at 0x69905f90
Capabilities:
Link many functions at runtime

Disassembly:
push r12
sub rsp, 0x20
cmp dword [0x6990e200], 0
jne 0x699061c4
cmp qword [0x6990e1f8], 0
jne 0x69905fd4
lea rcx, [0x6990ba30]
call fcn.69905ab0
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, r12
mov qword [0x6990e1f8], rax
call fcn.69905b32
cmp qword [0x6990e1f0], 0
jne 0x6990600c
lea rcx, [0x6990ba51]
call fcn.69905a30
mov rcx, qword [0x6990e1f8]
mov r12, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r12
mov qword [0x6990e1f0], rax
call fcn.69905b32
cmp qword [0x6990e1e8], 0
jne 0x69906044
lea rcx, [0x6990ba66]
call fcn.69905a30
mov rcx, qword [0x6990e1f8]
mov r12, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r12
mov qword [0x6990e1e8], rax
call fcn.69905b32
cmp qword [0x6990e1e0], 0
jne 0x6990607c
lea rcx, [0x6990ba83]
call fcn.69905a30
mov rcx, qword [0x6990e1f8]
mov r12, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r12
mov qword [0x6990e1e0], rax
call fcn.69905b32
cmp qword [0x6990e1d8], 0
jne 0x699060ad
lea rcx, [0x6990baa0]
call fcn.69905ab0
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, r12
mov qword [0x6990e1d8], rax
call fcn.69905b32
cmp qword [0x6990e1d0], 0
jne 0x699060e5
lea rcx, [0x6990babb]
call fcn.69905a30
mov rcx, qword [0x6990e1d8]
mov r12, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r12
mov qword [0x6990e1d0], rax
call fcn.69905b32
cmp qword [0x6990e1c8], 0
jne 0x6990611d
lea rcx, [0x6990bad2]
call fcn.69905a30
mov rcx, qword [0x6990e1d8]
mov r12, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r12
mov qword [0x6990e1c8], rax
call fcn.69905b32
cmp qword [0x6990e1c0], 0
jne 0x69906155
lea rcx, [0x6990baeb]
call fcn.69905a30
mov rcx, qword [0x6990e1d8]
mov r12, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r12
mov qword [0x6990e1c0], rax
call fcn.69905b32
cmp qword [0x6990e1b8], 0
jne 0x69906186
lea rcx, [0x6990bb02]
call fcn.69905ab0
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, r12
mov qword [0x6990e1b8], rax
call fcn.69905b32
cmp qword [0x6990e1b0], 0
jne 0x699061be
lea rcx, [0x6990bb21]
call fcn.69905a30
mov rcx, qword [0x6990e1b8]
mov r12, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r12
mov qword [0x6990e1b0], rax
call fcn.69905b32
inc dword [0x6990e200]
add rsp, 0x20
pop r12
ret
Function at 0x69906780
Capabilities:
Link many functions at runtime

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x40
cmp qword [0x6990e260], 0
jne 0x699067ba
lea rcx, [0x6990bb60]
call fcn.69905ab0
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, r12
mov qword [0x6990e260], rax
call fcn.69905b32
cmp qword [0x6990e250], 0
jne 0x699067f2
lea rcx, [0x6990bb81]
call fcn.69905a30
mov rcx, qword [0x6990e260]
mov r12, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r12
mov qword [0x6990e250], rax
call fcn.69905b32
cmp qword [0x6990e248], 0
jne 0x6990682a
lea rcx, [0x6990bb9b]
call fcn.69905a30
mov rcx, qword [0x6990e260]
mov r12, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r12
mov qword [0x6990e248], rax
call fcn.69905b32
cmp qword [0x6990e240], 0
jne 0x6990685b
lea rcx, [0x6990bbaf]
call fcn.69905ab0
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, r12
mov qword [0x6990e240], rax
call fcn.69905b32
cmp qword [0x6990e238], 0
jne 0x69906893
lea rcx, [0x6990bbd0]
call fcn.69905a30
mov rcx, qword [0x6990e240]
mov r12, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r12
mov qword [0x6990e238], rax
call fcn.69905b32
cmp qword [0x6990e230], 0
jne 0x699068cb
lea rcx, [0x6990bbe9]
call fcn.69905a30
mov rcx, qword [0x6990e240]
mov r12, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r12
mov qword [0x6990e230], rax
call fcn.69905b32
cmp qword [0x6990e228], 0
jne 0x69906903
lea rcx, [0x6990bc05]
call fcn.69905a30
mov rcx, qword [0x6990e240]
mov r12, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r12
mov qword [0x6990e228], rax
call fcn.69905b32
cmp qword [0x6990e220], 0
jne 0x6990693b
lea rcx, [0x6990bc25]
call fcn.69905a30
mov rcx, qword [0x6990e240]
mov r12, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r12
mov qword [0x6990e220], rax
call fcn.69905b32
mov rbx, qword [0x6990e238]
xor r13d, r13d
call qword [0x6990e250]
lea r8, [rsp + 0x38]
mov edx, 0x18
mov rcx, rax
call rbx
test eax, eax
je 0x699069f0
lea rbx, [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x19
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x20], rbx
call qword [0x6990e230]
mov ecx, dword [rsp + 0x34]
call fcn.69904e00
mov r12, rax
test rax, rax
je 0x699069e5
mov qword [rsp + 0x20], rbx
mov r9d, dword [rsp + 0x34]
mov r8, rax
mov edx, 0x19
mov rcx, qword [rsp + 0x38]
call qword [0x6990e230]
test eax, eax
je 0x699069dd
mov rbx, qword [0x6990e220]
mov rcx, qword [r12]
call qword [0x6990e228]
mov rcx, qword [r12]
mov dl, byte [rax]
dec edx
movzx edx, dl
call rbx
mov r13d, dword [rax]
mov rcx, r12
call fcn.69904e58
mov rcx, qword [rsp + 0x38]
call qword [0x6990e248]
mov eax, r13d
add rsp, 0x40
pop rbx
pop r12
pop r13
ret
Function at 0x69906f30
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.699081e0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.699081e0
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x69906fa0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x6990e824]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x69907148
mov rax, qword [0x6990e828]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x69906fec
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x69907077
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x69906fd0
mov rcx, r12
call fcn.69907ca0
mov rbp, rax
test rax, rax
je 0x69907182
mov rax, qword [0x6990e828]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.69907dd0
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6990e828]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x69907191
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x69907070
sub eax, 4
and eax, 0xfffffffb
jne 0x69907100
add dword [0x6990e824], 1
cmp ebx, 8
jae 0x699070a8
test bl, 4
jne 0x69907150
test ebx, ebx
je 0x69907099
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x69907170
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x69907099
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x699070da
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x6990e828]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x69907070
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.69906f30
nop dword [rax]
xor edi, edi
jmp 0x69906ff7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x69907099
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x69907099
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.69906f30
mov rax, qword [0x6990e828]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.69906f30
nop
nop dword [rax]
Function at 0x69907910
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6990eb00]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6990eae0]
test rbx, rbx
je 0x69907964
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x6990795b
test r12, r12
je 0x6990795b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x69907940
lea rcx, [0x6990eb00]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x69907ca0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x6990bef0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x69907d19
mov rcx, r10
call fcn.69907b70
test eax, eax
je 0x69907d19
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x69907d16
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x69907d0d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x69907d19
add r8, 0x28
cmp r8, r9
jne 0x69907cf8
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400ebf60]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400ebf70]
mov dword [rax], 1
mov rax, qword [0x1400ebf80]
mov dword [rax], 1
mov rax, qword [0x1400ebf50]
mov dword [rax], 1
mov rax, qword [0x1400ebdc0]
cmp word [rax], 0x5a4d
jne 0x140001067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010d0
mov rax, qword [0x1400ebf40]
mov dword [0x14011a020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010c0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400ebf00]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1400ebee0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400eb200]
cmp dword [rax], 1
je 0x140001108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001120
cmp dx, 0x20b
jne 0x140001067
cmp dword [rax + 0x84], 0xe
jbe 0x140001067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x140001067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x140001067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x140001067
Function at 0x1400022e7
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov rcx, qword [rbp + 0x20]
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.size___const
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 8], rax
mov rcx, qword [rbp + 0x20]
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.size___const
mov rbx, rax
mov rcx, qword [rbp + 0x20]
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.data___const
mov rdx, rax
mov rax, qword [rbp - 8]
mov r8, rbx
mov rcx, rax
call sym.memcpy
mov rax, qword [rbp - 8]
call rax
nop
add rsp, 0x38
pop rbx
pop rbp
ret
Function at 0x14000cf90
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]

Function at 0x14000d000
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x14011a154]
mov r12, rcx
test ebx, ebx
jle 0x14000d130
mov rax, qword [0x14011a158]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x14000d04c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x14000d0d3
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x14000d030
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rsi, rax
test rax, rax
je 0x14000d152
mov rax, qword [0x14011a158]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x14011a158]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000d137
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000d0cc
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000d0e0
add dword [0x14011a154], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x14011a158]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000d0cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor ebx, ebx
jmp 0x14000d057
mov rax, qword [0x14011a158]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000d610
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x14011a1c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14011a1a0]
test rbx, rbx
je 0x14000d664
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x14000d65b
test r12, r12
je 0x14000d65b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000d640
lea rcx, [0x14011a1c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14000d880
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x14000d898
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x14000d8a0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x14000d8b0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
mov r8, rdx
lea rdx, [rax + rcx]
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x14000d8fc
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov ecx, dword [rax + 0xc]
mov rdx, rcx
cmp rcx, r8
ja 0x14000d8f3
add edx, dword [rax + 8]
cmp rdx, r8
ja 0x14000d8fe
add rax, 0x28
cmp rax, r9
jne 0x14000d8e0
xor eax, eax
ret

Function at 0x14000d900
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x14000d990
mov rdx, qword [0x1400ebdc0]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x14000d97e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000d97e
cmp word [rax + 0x18], 0x20b
jne 0x14000d97e
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x14000d990
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x14000d969
add r12, 0x28
cmp r12, rsi
je 0x14000d990
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x14000d960
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

Function at 0x14000d9a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400ebdc0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000d9c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000d9c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000d9c0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x14000da15
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000da0c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000d9c0
add rax, 0x28
cmp rax, r9
jne 0x14000d9f8
xor eax, eax
ret

Function at 0x14000da20
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400ebdc0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x14000da40
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000da48
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000da40
movzx r8d, word [rax + 6]
mov eax, r8d
ret
Function at 0x14000da60
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400ebdc0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x14000da80
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x14000da88
ret
cmp word [rdx + 0x18], 0x20b
jne 0x14000da80
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x14000dac8
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x14000dabf
test rcx, rcx
je 0x14000da80
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x14000dab0
xor eax, eax
ret

Function at 0x14000dad0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400ebdc0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x14000daf0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x14000daf8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x14000db10
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x1400ebdc0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x14000db30
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x14000db38
mov eax, r8d
ret
cmp word [rdx + 0x18], 0x20b
jne 0x14000db30
sub rcx, rax
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x14000db30
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000db74
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000db88
add rax, 0x28
cmp r9, rax
jne 0x14000db60
xor r8d, r8d
mov eax, r8d
ret
mov r8d, dword [rax + 0x24]
not r8d
shr r8d, 0x1f
mov eax, r8d
ret

Function at 0x14000dba0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400ebdc0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x14000dbc2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x14000dbd0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000dbc2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x14000dbc2
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x14000dbc2
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x14000dc1d
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x14000dc30
add rdx, 0x28
cmp r10, rdx
jne 0x14000dc08
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14000dc3f
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x14000dc4f
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000dc26
test ecx, ecx
jg 0x14000dc38
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret