joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140081310
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x120
xor ebx, ebx
mov rsi, rcx
lea rcx, [rax - 0x70]
lea r8d, [rbx + 0x60]
xor edx, edx
mov dword [rax - 0x78], ebx
call fcn.14008ca20
xor eax, eax
lea rdx, [rsi + 8]
lea rcx, [rsp + 0x98]
xor edi, edi
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x74], rdi
call fcn.140001d7a
movups xmm0, xmmword [rax]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x90], eax
movups xmmword [rsp + 0x80], xmm0
mov r8, qword [rsp + 0x84]
test r8, r8
je 0x140081474
lea rdx, str.__s_
lea rcx, [rsp + 0x98]
mov qword [rsi + 0x48], rbx
mov qword [rsi + 0x50], rbx
call fcn.1400013bb
movups xmm0, xmmword [rax]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x78], eax
movups xmmword [rsp + 0x68], xmm0
mov rdi, qword [rsp + 0x6c]
test rdi, rdi
je 0x140081481
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xb0]
mov rdx, rdi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
xor ecx, ecx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0xb0], 0x68
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test eax, eax
jne 0x14008145d
cmp dword [reloc.WSOCK32.dll_accept], 1
jl 0x140081474
test byte [0x1401248cd], 1
je 0x140081474
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 1
lea r9, str..._rsrc_app.c
mov dword [rsp + 0x30], eax
lea rax, str.Unable_to_start_capture_program._Error___d
lea r8, str.rsrc_app_start_app_in_current_session
mov qword [rsp + 0x28], rax
mov ecx, edx
mov dword [rsp + 0x20], 0x190
call fcn.140001a41
jmp 0x140081474
mov rax, qword [rsp + 0x50]
mov ebx, 1
mov qword [rsi + 0x48], rax
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x50], rax
test rdi, rdi
je 0x140081481
mov rcx, rdi
call fcn.14008c8c8
lea r11, [rsp + 0x120]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140081500
Capabilities:
Create thread

Disassembly:
jmp 0x140081500
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
mov edi, 1
xor eax, eax
lock cmpxchg dword [rcx], edi
je 0x140081533
nop
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
lock cmpxchg dword [rbx], edi
jne 0x140081520
xor esi, esi
cmp qword [rbx + 0x60], rsi
jne 0x1400815ff
xor r9d, r9d
xor r8d, r8d
mov edx, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x68], rax
test rax, rax
jne 0x140081591
cmp dword [reloc.WSOCK32.dll_accept], edi
jl 0x1400815fd
test byte [0x1401248cd], dil
je 0x1400815fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rax, str.Unable_to_create_the_helper_app_stop_event._Error___d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xd2
jmp 0x1400815e6
lea r8, [0x140081770]
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x60], rax
test rax, rax
jne 0x1400815ff
cmp dword [reloc.WSOCK32.dll_accept], edi
jl 0x1400815fd
test byte [0x1401248cd], dil
je 0x1400815fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rax, str.Unable_to_create_the_helper_app_maintenance_thread._Error___d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xdd
lea r9, str..._rsrc_app.c
lea r8, str.rsrc_app_start_persistent_app
mov edx, edi
mov ecx, edi
call fcn.140001a41
mov edi, esi
xchg dword [rbx], esi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov eax, edi
add rsp, 0x40
pop rdi
ret

Function at 0x140081890
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x70
mov dword [rcx], 9
xor eax, eax
mov rbx, rcx
mov qword [rcx + 4], rax
mov qword [rcx + 0xc], rax
lea rcx, [rsp + 0x58]
call fcn.140001848
movups xmm0, xmmword [rax]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x50], eax
movups xmmword [rsp + 0x40], xmm0
cmp qword [rsp + 0x44], 0
je 0x140081983
mov r8, qword [rsp + 0x44]
lea r9, str.DPTF
lea rdx, str._s_s
lea rcx, [rsp + 0x58]
call fcn.1400013bb
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
mov eax, dword [rax + 0x10]
mov dword [rbx + 0x10], eax
mov rcx, qword [rbx + 4]
test rcx, rcx
je 0x140081979
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140081979
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140081979
cmp dword [reloc.WSOCK32.dll_accept], 1
jl 0x140081963
test byte [0x1401248cd], 1
je 0x140081963
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 1
lea r9, str..._rsrc_file.c
mov dword [rsp + 0x30], eax
lea rax, str.Unable_to_create_temporary_directory._Error___d
lea r8, str.rsc_dll_create_esif_temp_directory
mov qword [rsp + 0x28], rax
mov ecx, edx
mov dword [rsp + 0x20], 0x11a
call fcn.140001a41
mov rcx, qword [rbx + 4]
test rcx, rcx
je 0x140081971
call fcn.14008c8c8
mov qword [rbx + 4], 0
mov rcx, qword [rsp + 0x44]
call fcn.14008c8c8
mov rax, rbx
add rsp, 0x70
pop rbx
ret
Function at 0x1400819d0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0x70
mov dword [rcx], 9
xor eax, eax
mov rbx, rcx
mov qword [rcx + 4], rax
mov qword [rcx + 0xc], rax
lea rcx, [rsp + 0x58]
mov rsi, rdx
call fcn.140081890
movups xmm0, xmmword [rax]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x50], eax
movups xmmword [rsp + 0x40], xmm0
cmp qword [rsp + 0x44], 0
je 0x140081ac7
mov r9, qword [rsi + 4]
mov r8, qword [rsp + 0x44]
lea rdx, [0x1400fdda0]
lea rcx, [rsp + 0x58]
call fcn.1400013bb
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
mov eax, dword [rax + 0x10]
mov dword [rbx + 0x10], eax
mov rcx, qword [rbx + 4]
test rcx, rcx
je 0x140081abd
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140081abd
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140081abd
cmp dword [reloc.WSOCK32.dll_accept], 1
jl 0x140081aa7
test byte [0x1401248cd], 1
je 0x140081aa7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 1
lea r9, str..._rsrc_file.c
mov dword [rsp + 0x30], eax
lea rax, str.Unable_to_create_temporary_directory._Error___d
lea r8, str.rsc_dll_create_esif_temp_sub_directory
mov qword [rsp + 0x28], rax
mov ecx, edx
mov dword [rsp + 0x20], 0xf2
call fcn.140001a41
mov rcx, qword [rbx + 4]
test rcx, rcx
je 0x140081ab5
call fcn.14008c8c8
mov qword [rbx + 4], 0
mov rcx, qword [rsp + 0x44]
call fcn.14008c8c8
mov rax, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rsi
ret

Function at 0x140081de0
Capabilities:
Delete directory
Delete file

Disassembly:
jmp 0x140081de0
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 4]
test rcx, rcx
je 0x140081dff
call fcn.14008c8c8
mov qword [rbx + 4], 0
mov rcx, qword [rbx + 0x2c]
test rcx, rcx
je 0x140081e24
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbx + 0x2c]
test rcx, rcx
je 0x140081e1c
call fcn.14008c8c8
mov qword [rbx + 0x2c], 0
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140081e49
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140081e41
call fcn.14008c8c8
mov qword [rbx + 0x18], 0
add rsp, 0x20
pop rbx
ret
Function at 0x140083160
Capabilities:
Start service

Disassembly:
jmp 0x140083160
push rbx
sub rsp, 0x20
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x14008319b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Error:_Unable_to_get_handle_to_the_SCM._Status___d_n
lea ecx, [rbx + 3]
mov r8d, eax
add rsp, 0x20
pop rbx
jmp fcn.1400013e3
lea rdx, str.esifsvc
mov r8d, 0xf01ff
mov rcx, rax
mov qword [rsp + 0x30], rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x1400831d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Error:_Unable_to_open_service_handle._Status___d_n
lea ecx, [rdi + 3]
mov r8d, eax
call fcn.1400013e3
jmp 0x140083234
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x140083213
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x140083213
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Error:_Unable_to_start_the_service._Status___d_n
mov ecx, 3
mov r8d, eax
call fcn.1400013e3
jmp 0x14008322b
lea r8, str.Intel_R__Dynamic_Platform_and_Thermal_Framework_Service
lea rdx, str._S_started._n
mov ecx, 3
call fcn.1400013e3
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]

Function at 0x140083290
Capabilities:
Stop service

Disassembly:
jmp 0x140083290
push rbx
sub rsp, 0x50
mov rax, qword [0x140125350]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x1400832e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Error:_Unable_to_get_handle_to_the_SCM._Status___d_n
lea ecx, [rbx + 3]
mov r8d, eax
call fcn.1400013e3
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14008d900
add rsp, 0x50
pop rbx
ret
lea rdx, str.esifsvc
mov r8d, 0xf01ff
mov rcx, rax
mov qword [rsp + 0x60], rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x140083325
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Error:_Unable_to_open_service_handle._Status___d_n
lea ecx, [rdi + 3]
mov r8d, eax
call fcn.1400013e3
jmp 0x140083384
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x140083363
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
je 0x140083363
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Error:_Unable_to_stop_the_service._Status___d_n
mov ecx, 3
mov r8d, eax
call fcn.1400013e3
lea r8, str.Intel_R__Dynamic_Platform_and_Thermal_Framework_Service
lea rdx, str._S_stopped_n
mov ecx, 3
call fcn.1400013e3
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14008d900
add rsp, 0x50
pop rbx
ret
Function at 0x140083870
Capabilities:
Access the windows event log

Disassembly:
jmp 0x140083870
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x98
movzx esi, dx
xorps xmm0, xmm0
movzx ebp, cx
lea rdx, str.DPTF
xor ebx, ebx
xor ecx, ecx
mov qword [rsp + 0x6c], rbx
movdqu xmmword [rsp + 0x50], xmm0
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rdi, rax
test rax, rax
je 0x14008393d
mov rdx, qword [rsp + 0xd0]
lea rax, [0x1400fe858]
lea r8, [rsp + 0xd8]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x50], rax
call fcn.140001811
mov ecx, 2
mov r9d, 0x100
movzx r8d, bp
movups xmm0, xmmword [rax]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x70], eax
lea rax, str.Error_in_formatting_event_message
movups xmmword [rsp + 0x60], xmm0
mov rbx, qword [rsp + 0x64]
test rbx, rbx
cmovne rax, rbx
xor edx, edx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edx
mov word [rsp + 0x28], cx
mov qword [rsp + 0x20], rdx
mov rcx, rdi
movzx edx, si
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
test rbx, rbx
je 0x14008394a
mov rcx, rbx
call fcn.14008c8c8
test rdi, rdi
je 0x140083958
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14008bfe0
Capabilities:
Create thread

Disassembly:
jmp 0x14008bfe0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
xor edi, edi
call fcn.140001960
lea edx, [rdi + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x14008c06b
cmp dword [reloc.WSOCK32.dll_accept], 1
jl 0x14008c10d
test byte [0x1401248cd], 1
je 0x14008c10d
lea rax, str.Unable_to_create_windows_thread_start_event.
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x5e
mov edx, 1
lea r9, str...win_msg.c
lea r8, str.win_msg_ctor
mov ecx, edx
call fcn.140001a41
jmp 0x14008c10d
lea r8, [0x14008c2f0]
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x20], rsi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx], rax
test rax, rax
jne 0x14008c0c0
cmp dword [reloc.WSOCK32.dll_accept], 1
jl 0x14008c10d
test byte [0x1401248cd], 1
je 0x14008c10d
lea rax, str.Unable_to_create_windows_message_thread.
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], WSAStartup
jmp 0x14008c04c
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rbx + 0x18]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14008c108
cmp dword [reloc.WSOCK32.dll_accept], 1
jl 0x14008c10d
test byte [0x1401248cd], 1
je 0x14008c10d
lea rax, str.Windows_message_thread_did_not_start_as_expected.
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x7b
jmp 0x14008c04c
mov edi, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x140095c0c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140095a74

Function at 0x14009b364
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14009b37c
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14009b37e
xor eax, eax
test eax, eax
je 0x14009b38e
mov ecx, eax
call fcn.14008fadc
or eax, 0xffffffff
jmp 0x14009b390
xor eax, eax
add rsp, 0x28
ret

Function at 0x14009b6cc
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14009b6e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14009b6e4
xor eax, eax
test eax, eax
je 0x14009b6f4
mov ecx, eax
call fcn.14008fadc
or eax, 0xffffffff
jmp 0x14009b6f6
xor eax, eax
add rsp, 0x28
ret
Function at 0x140001890
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, 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.140007600
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140007600
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140001900
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14002d104]
mov rbx, rcx
test esi, esi
jle 0x140001a30
mov rax, qword [0x14002d108]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000194b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400019d5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001930
mov rcx, rbx
call fcn.140002350
mov rdi, rax
test rax, rax
je 0x140001a52
mov rax, qword [0x14002d108]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002490
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14002d108]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001a37
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400019ce
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400019e0
add dword [0x14002d104], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14002d108]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400019ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001890
nop dword [rax]
xor esi, esi
jmp 0x140001958
mov rax, qword [0x14002d108]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001890
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001890
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001fc0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14002d160]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14002d140]
test rbx, rbx
je 0x14000201c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140002013
test rsi, rsi
je 0x140002013
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001ff8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140002350
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400296a0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002370
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002378
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002370
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400023cd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400023c4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002370
add rax, 0x28
cmp rax, r9
jne 0x1400023b0
xor eax, eax
ret

Function at 0x1400023d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400296a0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400023ef
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400023f8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400023ef
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002490
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400296a0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400024af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400024b8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x14000147a
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400d6eb0]
mov dword [rax], 1
mov rax, qword [0x1400d6ec0]
mov dword [rax], 1
mov rax, qword [0x1400d6ed0]
mov dword [rax], 1
mov rax, qword [0x1400d6ea0]
mov dword [rax], 1
mov rax, qword [0x1400d6d40]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014d8
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140001504
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000152a
cmp eax, 0x20b
je 0x140001551
jmp 0x140001580
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000153d
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001585
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000156c
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001585
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x14000215b
Capabilities:
Hash data using sha256

Disassembly:
push rbp
mov rbp, rsp
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov dword [rax], 0x6a09e667
mov rax, qword [rbp + 0x10]
mov dword [rax + 4], 0xbb67ae85
mov rax, qword [rbp + 0x10]
mov dword [rax + 8], 0x3c6ef372
mov rax, qword [rbp + 0x10]
mov dword [rax + 0xc], 0xa54ff53a
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x10], 0x510e527f
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x14], 0x9b05688c
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x18], 0x1f83d9ab
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x1c], 0x5be0cd19
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x3c], 0
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x3c]
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x38], edx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x38]
mov edx, eax
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x34], edx
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x34]
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x30], edx
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x2c], 0
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x2c]
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x28], edx
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x28]
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x24], edx
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x24]
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], edx
nop
pop rbp
ret
Function at 0x140002229
Capabilities:
Hash data using sha224

Disassembly:
push rbp
mov rbp, rsp
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov dword [rax], 0xc1059ed8
mov rax, qword [rbp + 0x10]
mov dword [rax + 4], 0x367cd507
mov rax, qword [rbp + 0x10]
mov dword [rax + 8], 0x3070dd17
mov rax, qword [rbp + 0x10]
mov dword [rax + 0xc], 0xf70e5939
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x10], 0xffc00b31
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x14], 0x68581511
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x18], 0x64f98fa7
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x1c], 0xbefa4fa4
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x3c], 0
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x3c]
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x38], edx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x38]
mov edx, eax
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x34], edx
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x34]
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x30], edx
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x2c], 0
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x2c]
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x28], edx
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x28]
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x24], edx
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x24]
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], edx
nop
pop rbp
ret