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

Disassembly:
mov rax, qword [0x1400bd2f0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000b5af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000b5b8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

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

Disassembly:
mov rdx, qword [0x1400bd2f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000b5f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000b5f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000b5f0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x14000b5f0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x14000b644
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14000b650
add rdx, 0x28
cmp r9, rdx
jne 0x14000b630
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x1400bd2f0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x14000b682
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x14000b690
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000b682
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x14000b682
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x14000b682
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x14000b6e5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x14000b6f8
add rdx, 0x28
cmp rdx, r10
jne 0x14000b6d0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14000b707
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x14000b717
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000b6ee
test ecx, ecx
jg 0x14000b700
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret

Function at 0x14000b7e0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14000b810
mov rdx, rbx
mov ecx, eax
mov dword [rsi], eax
add rsp, 0x28
pop rbx
pop rsi
jmp dbg.__mingwthr_key_dtor
add rsp, 0x28
pop rbx
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x14000b850
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x14000b880
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14000b898
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x14000c240
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [0x1400e31a0], 0xffffffff
mov r8d, 0xffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [0x1400e31a8], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14000c290
lea rdx, [0x14000c150]
mov ecx, eax
mov dword [0x1400e3198], eax
call dbg.__mingwthr_key_dtor
test eax, eax
jne 0x14000c298
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000c287
call sym.abort
nop
nop
Function at 0x14000c2a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x1400bc710]
mov r11d, dword [rsi]
mov rbx, rcx
test r11d, r11d
jne 0x14000c2d8
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x14000c340
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r12, qword [rcx + 0x10]
test r12, r12
je 0x14000c350
mov esi, dword [0x1400e3198]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
call r13
mov edi, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x14000c3c0
mov rbp, qword [rsi]
cmp rbp, r12
jb 0x14000c408
sub r12, 1
mov rax, qword [rsi + r12*8 + 8]
test rax, rax
jne 0x14000c2c7
mov rcx, rbx
call fcn.14000c1a0
mov qword [rsi + r12*8 + 8], rax
jmp 0x14000c2c7
call fcn.14000c1a0
mov qword [rbx + 0x10], rax
jmp 0x14000c2c7
mov r10d, dword [rsi]
test r10d, r10d
je 0x14000c46a
mov r9d, dword [0x1400b4030]
test r9d, r9d
je 0x14000c498
lock add dword [0x1400e31a0], 1
jne 0x14000c4cc
mov r12, qword [rbx + 0x10]
test r12, r12
je 0x14000c477
mov eax, dword [rsi]
test eax, eax
je 0x14000c2e1
lock sub dword [0x1400e31a0], 1
js 0x14000c2e1
mov rcx, qword [0x1400e31a8]
xor r8d, r8d
mov edx, 1
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x14000c2e1
lea rcx, [r12 + 0x21]
mov edx, 8
lea rdi, [r12 + 0x20]
call sym.calloc
mov rsi, rax
test rax, rax
je 0x14000c4f3
mov qword [rax], rdi
mov ecx, dword [0x1400e3198]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14000c31b
call r13
jmp 0x14000c31b
lea rdi, [rbp + rbp]
lea rax, [r12 + 0x20]
mov rcx, rsi
cmp rdi, r12
cmovb rdi, rax
lea rdx, [rdi*8 + 8]
call sym.realloc
mov rsi, rax
test rax, rax
je 0x14000c4f3
mov qword [rax], rdi
sub rdi, rbp
lea rcx, [rax + rbp*8 + 8]
xor edx, edx
lea r8, [rdi*8]
call sym.memset
jmp 0x14000c3e3
call fcn.14000c240
mov dword [0x1400b4030], 1
mov edx, dword [rsi]
test edx, edx
jne 0x14000c36c
mov r12, qword [rbx + 0x10]
test r12, r12
jne 0x14000c2e1
mov rax, qword [0x1400e3190]
lea r12, [rax + 1]
mov qword [0x1400e3190], r12
mov qword [rbx + 0x10], r12
jmp 0x14000c387
lock add dword [0x1400b4034], 1
je 0x14000c451
mov r8d, dword [0x1400b4030]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
lea rdi, [0x1400b4030]
test r8d, r8d
jne 0x14000c460
nop dword [rax]
xor ecx, ecx
call rbp
mov ecx, dword [rdi]
test ecx, ecx
je 0x14000c4c0
jmp 0x14000c460
mov rcx, qword [0x1400e31a8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000c37a
lock sub dword [0x1400e31a0], 1
jmp 0x14000c37a
call sym.abort
nop
nop dword [rax]
Function at 0x140014ca0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
lea rcx, str.msvcrt.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.rand_s
mov rcx, rax
call rsi
test rax, rax
je 0x140014ce8
mov rcx, rbx
mov qword [dbg.init_rand_s], rax
add rsp, 0x28
pop rbx
pop rsi
jmp rax
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.SystemFunction036
mov rcx, rax
call rsi
mov qword [0x1400e3ca0], rax
lea rax, [dbg.mingw_rand_s]
jmp 0x140014cce

Function at 0x140017230
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r9, qword [rcx + 0x40]
mov rsi, rdx
mov rbx, rcx
mov edx, 1
mov rcx, rsi
call sym.fread
mov edx, 0xffffffff
test rax, rax
jle 0x14001725c
movzx edx, byte [rsi + rax - 1]
mov dword [rbx + 0x48], edx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x140017e90
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x1400b6f30], 0
jne 0x140017f96
mov byte [0x1400b6f30], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x140017f6c
mov rbx, qword [rax + 8]
xor eax, eax
lea r9, [rsp + 0x2c]
cmp byte [rbx], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add rbx, rax
mov rcx, rbx
call sym.__cxa_demangle
mov ecx, 2
mov rsi, qword [dbg.__acrt_iob_func]
mov rdi, rax
call rsi
mov edx, 1
lea rcx, str.terminate_called_after_throwing_an_instance_of_
mov r8d, 0x30
mov r9, rax
call sym.fwrite
mov edx, dword [rsp + 0x2c]
mov ecx, 2
test edx, edx
je 0x140017f5d
call rsi
mov rcx, rbx
mov rdx, rax
call sym.fputs
mov ecx, 2
call rsi
mov r8d, 2
mov edx, 1
lea rcx, [0x1400b8c31]
mov r9, rax
call sym.fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x140017f58
mov rcx, rdi
call sym.free
call sym.__cxa_rethrow
call rsi
mov rcx, rdi
mov rdx, rax
call sym.fputs
jmp 0x140017f27
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x2d
mov edx, 1
lea rcx, str.terminate_called_without_an_active_exception_n
mov r9, rax
call sym.fwrite
call sym.abort
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x1d
mov edx, 1
lea rcx, str.terminate_called_recursively_n
mov r9, rax
call sym.fwrite
call sym.abort
sub rdx, 1
mov rcx, rax
jne 0x14001802b
call sym.__cxa_begin_catch
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sym.fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sym.fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sym.fputc
call sym.__cxa_end_catch
jmp 0x140017f91
call sym.__cxa_begin_catch
call sym.__cxa_end_catch
jmp 0x140017f91
Function at 0x1400781f0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sym.fileno
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sym.read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x140078238
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x14007820a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x14008be50
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov rdi, rcx
test rax, rax
je 0x14008be78
mov rcx, qword [rcx]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sym.read
test eax, eax
jle 0x14008bec0
cdqe
add rsi, rax
sub rbx, rax
jne 0x14008be90
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x14008becc
call rbp
cmp dword [rax], 4
je 0x14008be90
lea rcx, str.random_device_could_not_be_read
call method.std.__throw_runtime_error_char_const_
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400b2ac0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b6f60]
jmp sym.__emutls_get_address

Function at 0x1400b2ad0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b6f60]
jmp sym.__emutls_get_address
Function at 0x140002858
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400026c8

Function at 0x140005918
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140010fc0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140003804
xor ebx, ebx
cmp qword [0x140011eb8], rbx
mov rdi, rax
jne 0x140005a2b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140005b02
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140005b02
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140011eb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140011ec0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140011ec8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140011ed8], rax
test rax, rax
je 0x140005a22
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140011ed0], rax
jmp 0x140005a32
mov rax, qword [0x140011ed0]
jmp 0x140005a39
mov rax, qword [0x140011ed0]
mov r11, qword [0x140011ed8]
cmp rax, rdi
je 0x140005aa0
cmp r11, rdi
je 0x140005aa0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140011ed8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140005aa0
test rax, rax
je 0x140005aa0
call rsi
test rax, rax
je 0x140005a9a
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140005a9a
test byte [rsp + 0x40], 1
jne 0x140005aa0
bts ebp, 0x15
jmp 0x140005ae0
mov rcx, qword [0x140011ec0]
cmp rcx, rdi
je 0x140005ae0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140005ae0
call rax
mov rbx, rax
test rax, rax
je 0x140005ae0
mov rcx, qword [0x140011ec8]
cmp rcx, rdi
je 0x140005ae0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140005ae0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140011eb8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140005b02
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140005b04
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140005d50
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400071c7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140010fc0]
jne 0x140005d6a
rol rcx, 0x10
test cx, 0xffff
jne 0x140005d66
repz ret
ror rcx, 0x10
jmp 0x140007120
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140012000]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400120f8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400071a5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140012000]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400071c7
mov rax, qword [rsp + 0x88]
mov qword [0x1400120f8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140012098], rax
mov rax, qword [0x1400120f8]
mov qword [0x140011f70], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140012080], rax
mov dword [0x140011f60], 0xc0000409
mov dword [0x140011f64], 1
mov rax, qword [0x140010fc0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140010fc8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140011ff8], eax
mov ecx, 1
call fcn.1400070cc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000d6b0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140011ff8], 0
jne 0x14000724e
mov ecx, 1
call fcn.1400070cc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140001af8
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rdi
sub rsp, 0x70
mov rax, qword [0x140085080]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp qword [0x140085660], 0
je 0x140001ba3
mov r8, rcx
lea rdi, [0x1400858d0]
mov rcx, rdi
lea r9, [r11 + 0x10]
mov edx, 0x400
call qword [sym.imp.ntdll.dll_vsprintf_s]
nop dword [rax + rax]
test eax, eax
js 0x140001ba3
or dword [rsp + 0x50], 0xffffffff
or rax, 0xffffffffffffffff
mov dword [rsp + 0x54], eax
inc rax
cmp byte [rdi + rax], 0
jne 0x140001b5c
and qword [rsp + 0x40], 0
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], rcx
xor r9d, r9d
mov rcx, qword [0x140085660]
xor r8d, r8d
mov dword [rsp + 0x30], eax
xor edx, edx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140063da0
add rsp, 0x70
pop rdi
ret

Function at 0x140001bc0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140085080]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp qword [0x140085660], 0
je 0x140001c5d
mov r9, qword [0x140085658]
lea rbx, [0x140085cd0]
mov qword [rsp + 0x30], r8
lea r8, str._llx:__lx___lx__0__0___s___r_n
mov dword [rsp + 0x28], edx
mov edx, 0x400
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call qword [sym.imp.ntdll.dll_sprintf_s]
nop dword [rax + rax]
and qword [rsp + 0x40], 0
lea rcx, [rsp + 0x50]
or dword [rsp + 0x50], 0xffffffff
xor r9d, r9d
or dword [rsp + 0x54], 0xffffffff
xor r8d, r8d
mov qword [rsp + 0x38], rcx
xor edx, edx
mov rcx, qword [0x140085660]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140063da0
add rsp, 0x70
pop rbx
ret

Function at 0x140001c78
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140085080]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp qword [0x140085660], 0
mov rbx, rcx
je 0x140001d26
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtQuerySystemTime]
nop dword [rax + rax]
mov r9, qword [rsp + 0x58]
lea r8, str._llx:_0__0__0__0___s___r_n
mov qword [rsp + 0x20], rbx
mov edx, 0x400
lea rbx, [0x1400860d0]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_sprintf_s]
nop dword [rax + rax]
and qword [rsp + 0x40], 0
lea rcx, [rsp + 0x50]
or dword [rsp + 0x50], 0xffffffff
xor r9d, r9d
or dword [rsp + 0x54], 0xffffffff
xor r8d, r8d
mov qword [rsp + 0x38], rcx
xor edx, edx
mov rcx, qword [0x140085660]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140063da0
add rsp, 0x80
pop rbx
ret
Function at 0x140001d44
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140085080]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp qword [0x140085660], 0
mov rbx, rcx
je 0x140001dff
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtQuerySystemTime]
nop dword [rax + rax]
movzx edx, word [rbx]
lea r8, str._llx:_0__0__0__0__InterferingProcess____.ls_r_n
mov rax, qword [rbx + 8]
lea rbx, [0x1400864d0]
mov r9, qword [rsp + 0x58]
mov rcx, rbx
shr edx, 1
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edx
mov edx, 0x400
call qword [sym.imp.ntdll.dll_sprintf_s]
nop dword [rax + rax]
and qword [rsp + 0x40], 0
lea rcx, [rsp + 0x50]
or dword [rsp + 0x50], 0xffffffff
xor r9d, r9d
or dword [rsp + 0x54], 0xffffffff
xor r8d, r8d
mov qword [rsp + 0x38], rcx
xor edx, edx
mov rcx, qword [0x140085660]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140063da0
add rsp, 0x80
pop rbx
ret

Function at 0x140001e1c
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140085080]
xor rax, rsp
mov qword [rsp + 0x78], rax
movzx r8d, word [rcx]
mov rbx, rcx
cmp r8, 0x1ec
ja 0x140001f62
mov rdx, qword [rcx + 8]
lea rcx, [0x1400868e4]
call sub.ntdll.dll_memcpy
movzx eax, word [rbx]
lea rdi, [0x1400868d0]
shr rax, 1
lea rcx, [rdi + rax*2]
mov eax, 0x2e
mov word [rcx + 0x14], ax
add rcx, 0x16
mov rdx, qword [0x140085658]
xor r8d, r8d
lea rax, [0x140086ad0]
cmp rcx, rax
jae 0x140001eb7
mov rax, rdx
lea r9, [0x14006a248]
shr rax, 0x3c
inc r8d
shl rdx, 4
movsx eax, byte [rax + r9]
mov word [rcx], ax
add rcx, 2
cmp r8d, 0x10
jb 0x140001e84
movzx eax, word [rbx]
lea r9, [rsp + 0x68]
and qword [0x1400868d8], 0
lea r8, [rsp + 0x38]
and qword [rsp + 0x40], 0
lea rcx, [rsp + 0x30]
add eax, 0x22
mov dword [rsp + 0x28], 0x4060
xorps xmm0, xmm0
mov dword [0x1400868e0], eax
mov edx, 0x100100
mov byte [0x1400868d0], 1
mov dword [rsp + 0x38], 0x30
mov dword [rsp + 0x50], 0x40
mov qword [rsp + 0x48], rbx
movdqu xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x20], 7
call qword [sym.imp.ntdll.dll_NtOpenFile]
nop dword [rax + rax]
test eax, eax
js 0x140001f62
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x68]
mov r9d, 0x200
mov dword [rsp + 0x20], 0xb
mov r8, rdi
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140063da0
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
Function at 0x14000b8a1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x198
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
jmp 0x14000cf94
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x24], 0
jmp 0x14000dffe
mov rax, rcx
mov qword [rsp + 0x58], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x1a0]
jmp 0x14000f1ff
jmp 0x140010733
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x1a0]
jmp 0x14000b90e
mov rax, qword [rsp + 0x30]