joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cb351
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov eax, edx
lea r9, [rsp + 0x34]
mov dword [r9], r8d
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, eax
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1400cb37d
xor eax, eax
jmp 0x1400cb382
call fcn.140067ef7
nop
add rsp, 0x38
ret

Function at 0x1400cb3c0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
cmp qword [rcx], 0
je 0x1400cb455
mov rax, qword [0x1402e2040]
mov dword [rbp], 0
lea rbx, [rsi + 0x10]
mov r8, rbp
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.kernel32.dll_InitOnceBeginInitialize
mov dword [rbp - 4], eax
cmp eax, 1
jne 0x1400cb494
cmp dword [rbp], 0
je 0x1400cb478
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x1400cb4b7
mov edi, eax
mov rax, qword [0x1402de130]
nop word cs:[rax + rax]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1402de130], rsi
jne 0x1400cb430
mov eax, edi
inc eax
mov dword [rsi + 0x18], eax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
jmp 0x1400cb489
call sub.kernel32.dll_TlsAlloc
mov dword [rbp + 4], eax
cmp eax, 0xffffffff
je 0x1400cb4f9
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x1400cb47d
mov edi, dword [rbp + 4]
jmp 0x1400cb489
mov edi, dword [rsi + 0x18]
jmp 0x1400cb487
mov edi, eax
mov ecx, dword [rbp + 4]
call sub.kernel32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 0x38], 0
lea rdx, [0x1402622a0]
lea r9, str.library_std_src_syspalwindows_thread_local_key.rs
lea rcx, [rbp - 4]
lea r8, [rbp - 0x38]
call fcn.1400cc1c0
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rdx, str.library_std_src_syspalwindows_thread_local_key.rs
lea rcx, [rbp - 0x38]
call fcn.140032920
lea rax, str.out_of_TLS_indexes
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 4]
lea rdx, [rbp - 0x38]
call fcn.1400cc200
int3
Function at 0x1400cbc80
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x1402620d8]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.ntdll.dll_NtWriteFile
cmp eax, 0x103
jne 0x1400cbcef
mov rcx, rsi
mov edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [rbp]
cmp eax, 0x103
je 0x1400cbd1b
test eax, eax
js 0x1400cbcfb
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x1400cbd11
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, [0x140262138]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.1400cb590
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1400cb640
mov ecx, 7
int 0x29
ud2

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

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x140213160]
test ecx, ecx
je 0x1400cd431
dec ecx
call fcn.14011c0f4
cmp rax, 1
jbe 0x1400cd391
add rax, 8
jmp 0x1400cd428
je 0x1400cd426
movzx eax, byte [0x1402de178]
mov edx, 0x10
xor ecx, ecx
call fcn.1400f0da0
test rax, rax
je 0x1400cd464
mov rbx, rax
mov rsi, rax
lea rax, [0x140213148]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140213160]
test ecx, ecx
je 0x1400cd444
dec ecx
call fcn.14011c0f4
mov rdi, rax
mov ecx, dword [0x140213160]
test ecx, ecx
je 0x1400cd454
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.14011c0fc
test rdi, rdi
je 0x1400cd421
mov rax, qword [rdi + 8]
test rax, rax
je 0x1400cd414
lock dec qword [rax]
jne 0x1400cd414
mov rcx, qword [rdi + 8]
call fcn.1400ccab0
mov edx, 8
mov rcx, rdi
call fcn.14003fef0
mov rax, rbx
jmp 0x1400cd428
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x140213148]
call fcn.1400cb3c0
mov ecx, eax
jmp 0x1400cd37d
lea rcx, [0x140213148]
call fcn.1400cb3c0
mov ecx, eax
jmp 0x1400cd3d7
lea rcx, [0x140213148]
call fcn.1400cb3c0
mov ecx, eax
jmp 0x1400cd3eb
mov ecx, 8
mov edx, 0x10
call fcn.14002f6d0
int3
Function at 0x1400cd900
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x140213120]
test ecx, ecx
je 0x1400cd9ae
dec ecx
call fcn.14011c0f4
cmp rax, 1
jbe 0x1400cd92e
add rax, 8
jmp 0x1400cd9a5
je 0x1400cd9a3
movzx eax, byte [0x1402de178]
mov edx, 0x10
xor ecx, ecx
call fcn.1400f0da0
test rax, rax
je 0x1400cd9e1
mov rbx, rax
mov rsi, rax
lea rax, [0x140213108]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x140213120]
test ecx, ecx
je 0x1400cd9c1
dec ecx
call fcn.14011c0f4
mov rdi, rax
mov ecx, dword [0x140213120]
test ecx, ecx
je 0x1400cd9d1
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.14011c0fc
test rdi, rdi
je 0x1400cd99e
mov edx, 8
mov rcx, rdi
call fcn.14003fef0
mov rax, rbx
jmp 0x1400cd9a5
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x140213108]
call fcn.1400cb3c0
mov ecx, eax
jmp 0x1400cd91d
lea rcx, [0x140213108]
call fcn.1400cb3c0
mov ecx, eax
jmp 0x1400cd96c
lea rcx, [0x140213108]
call fcn.1400cb3c0
mov ecx, eax
jmp 0x1400cd980
mov ecx, 8
mov edx, 0x10
call fcn.14002f6d0
int3

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

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x140213100]
test ecx, ecx
je 0x1400cdf46
dec ecx
call fcn.14011c0f4
cmp rax, 1
jbe 0x1400cdebe
add rax, 8
jmp 0x1400cdf3d
je 0x1400cdf3b
movzx eax, byte [0x1402de178]
mov edx, 0x18
xor ecx, ecx
call fcn.1400f0da0
test rax, rax
je 0x1400cdf79
mov rbx, rax
mov rsi, rax
lea rax, [0x1402130e8]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov byte [rsi + 0x10], 0
mov ecx, dword [0x140213100]
test ecx, ecx
je 0x1400cdf59
dec ecx
call fcn.14011c0f4
mov rdi, rax
mov ecx, dword [0x140213100]
test ecx, ecx
je 0x1400cdf69
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.14011c0fc
test rdi, rdi
je 0x1400cdf36
mov edx, 8
mov rcx, rdi
call fcn.14003fef0
mov rax, rbx
jmp 0x1400cdf3d
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x1402130e8]
call fcn.1400cb3c0
mov ecx, eax
jmp 0x1400cdead
lea rcx, [0x1402130e8]
call fcn.1400cb3c0
mov ecx, eax
jmp 0x1400cdf04
lea rcx, [0x1402130e8]
call fcn.1400cb3c0
mov ecx, eax
jmp 0x1400cdf18
mov ecx, 8
mov edx, 0x18
call fcn.14002f6d0
int3

Function at 0x1400cf050
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call sub.kernel32.dll_GetSystemInfo
mov ecx, dword [rbp - 0x10]
xor eax, eax
test rcx, rcx
sete al
lea rdx, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
cmovne rdx, rcx
add rsp, 0x50
pop rbp
ret
Function at 0x1400d1240
Capabilities:
Read file via mapping

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xd0
lea rbp, [rsp + 0x80]
mov rax, r8
mov rsi, rcx
mov dword [rbp + 8], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov dword [rbp + 0x20], 7
mov qword [rbp + 0x24], 0
mov word [rbp + 0x2c], 0
mov byte [rbp + 0x28], 1
lea r8, [rbp + 8]
mov rcx, rdx
mov rdx, rax
call fcn.1400e8f50
mov rdi, rdx
test rax, rax
je 0x1400d12c7
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x38], rdi
call fcn.1400cb660
mov qword [rsi], 0
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rcx, [rbp + 8]
mov rdx, rdi
call fcn.1400e91a0
cmp dword [rbp + 8], 2
jne 0x1400d12eb
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 2
jmp 0x1400d131a
movups xmm0, xmmword [rbp + 8]
movups xmm1, xmmword [rbp + 0x18]
movups xmm2, xmmword [rbp + 0x28]
movups xmm3, xmmword [rbp + 0x38]
movaps xmmword [rbp - 0x40], xmm0
mov rax, qword [rbp + 0x48]
mov qword [rbp], rax
movaps xmmword [rbp - 0x10], xmm3
movaps xmmword [rbp - 0x20], xmm2
movaps xmmword [rbp - 0x30], xmm1
cmp qword [rbp - 0x40], 2
jne 0x1400d1343
lea rcx, [rbp - 0x38]
call fcn.1400cb660
mov qword [rsi], 0
mov rcx, rdi
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
jmp fcn.14011bd84
mov r12, qword [rbp - 8]
test rdi, rdi
je 0x1400d1391
mov qword [rbp - 0x40], 0
call sub.kernel32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rbp - 0x40]
mov rcx, rax
mov rdx, rdi
mov r8, rax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
je 0x1400d140d
mov rbx, qword [rbp - 0x40]
jmp 0x1400d1393
xor ebx, ebx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rbx
xor edx, edx
mov r8d, 2
xor r9d, r9d
call sub.kernel32.dll_CreateFileMappingA
test rax, rax
je 0x1400d13fc
mov r14, rax
mov qword [rsp + 0x20], r12
mov rcx, rax
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call sub.kernel32.dll_MapViewOfFile
mov r15, rax
mov rcx, r14
call fcn.14011bd84
test r15, r15
je 0x1400d13fc
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r12
mov qword [rsi], 1
jmp 0x1400d1436
mov qword [rsi], 0
mov rcx, rbx
call fcn.14011bd84
jmp 0x1400d1436
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp + 8], 1
lea rcx, [rbp + 0x10]
mov qword [rbp + 0x10], rax
call fcn.1400cb660
mov qword [rsi], 0
mov rcx, rdi
call fcn.14011bd84
jmp 0x1400d12b5
Function at 0x1400ea970
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, r9
mov rdi, r8
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], rcx
add rsi, r8
mov qword [rbp - 0x40], r8
mov qword [rbp - 0x38], rsi
mov byte [rbp - 0x30], 0x81

Function at 0x1400eba60
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
sub esp, 0xa8

Function at 0x1400ebf40
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
pop rbp
jmp fcn.1400cbc80

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

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x140213140]
test ecx, ecx
je 0x1400eee01
dec ecx
call fcn.14011c0f4
cmp rax, 1
jbe 0x1400eed61
add rax, 8
jmp 0x1400eedf8
je 0x1400eedf6
movzx eax, byte [0x1402de178]
mov edx, 0x10
xor ecx, ecx
call fcn.1400f0da0
test rax, rax
je 0x1400eee34
mov rbx, rax
mov rsi, rax
lea rax, [0x140213128]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140213140]
test ecx, ecx
je 0x1400eee14
dec ecx
call fcn.14011c0f4
mov rdi, rax
mov ecx, dword [0x140213140]
test ecx, ecx
je 0x1400eee24
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.14011c0fc
test rdi, rdi
je 0x1400eedf1
mov rax, qword [rdi + 8]
test rax, rax
je 0x1400eede4
lock dec qword [rax]
jne 0x1400eede4
mov rcx, qword [rdi + 8]
call fcn.1400eee50
mov edx, 8
mov rcx, rdi
call fcn.14003fef0
mov rax, rbx
jmp 0x1400eedf8
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x140213128]
call fcn.1400cb3c0
mov ecx, eax
jmp 0x1400eed4d
lea rcx, [0x140213128]
call fcn.1400cb3c0
mov ecx, eax
jmp 0x1400eeda7
lea rcx, [0x140213128]
call fcn.1400cb3c0
mov ecx, eax
jmp 0x1400eedbb
mov ecx, 8
mov edx, 0x10
call fcn.14002f6d0
int3
Function at 0x1400ef5f0
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x1e8
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov rdi, qword [rax + 8]
movzx eax, word [rax + 0x10]
mov word [rbp + 0x166], ax
mov rax, qword [0x1402de120]
cmp rax, 3
jne 0x1400ef7e0
lea rax, [rbp + 0x166]
mov qword [rbp + 0x150], rax
cmp rdi, 0x17f
ja 0x1400ef7f0
lea rbx, [rbp - 0x60]
mov rcx, rbx
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov byte [rbp + rdi - 0x60], 0
lea rax, [rdi + 1]
cmp rdi, 0xe
ja 0x1400ef688
xor edx, edx
nop word [rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x1400ef744
inc rdx
cmp rax, rdx
jne 0x1400ef670
jmp 0x1400ef7ab
lea rcx, [rbp - 0x59]
and rcx, 0xfffffffffffffff8
sub rcx, rbx
je 0x1400ef6be
xor edx, edx
nop word [rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x1400ef744
inc rdx
cmp rcx, rdx
jne 0x1400ef6a0
lea rdx, [rdi - 0xf]
cmp rcx, rdx
jbe 0x1400ef6c2
jmp 0x1400ef70e
lea rdx, [rdi - 0xf]
movdqa xmm0, xmmword [0x14021bec0]
movabs r8, 0x8080808080808080
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rbp + rcx - 0x60]
movdqa xmm2, xmm1
paddq xmm2, xmm0
pandn xmm1, xmm2
pshufd xmm2, xmm1, 0xee
por xmm2, xmm1
movq r9, xmm2
test r9, r8
jne 0x1400ef70e
add rcx, 0x10
cmp rcx, rdx
jbe 0x1400ef6e0
sub rax, rcx
je 0x1400ef7ab
lea r8, [rcx + rbp]
add r8, 0xffffffffffffffa0
xor edx, edx
nop word cs:[rax + rax]
cmp byte [r8 + rdx], 0
je 0x1400ef741
inc rdx
cmp rax, rdx
jne 0x1400ef730
jmp 0x1400ef7ab
add rdx, rcx
cmp rdx, rdi
jne 0x1400ef7ab
pxor xmm0, xmm0
movdqa xmmword [rbp + 0x120], xmm0
movdqa xmmword [rbp + 0x140], xmm0
movdqa xmmword [rbp + 0x130], xmm0
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x158], 0
lea rcx, [rbp - 0x60]
lea r8, [rbp + 0x120]
lea r9, [rbp + 0x158]
xor edx, edx
call sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x1400ef7bf
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1400ef7d7
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400ef802
mov rax, qword [rbp + 0x158]
movzx ecx, word [rbp + 0x166]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
jmp 0x1400ef802
mov rbx, rdx
call fcn.1400efcb0
mov rdx, rbx
jmp 0x1400ef62c
lea r9, [rbp + 0x150]
mov rcx, rsi
mov r8, rdi
call fcn.1400efd10
nop
add rsp, 0x1e8
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400efd10
Capabilities:
Resolve dns

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov rbx, r9
mov rsi, rcx
lea rcx, [rbp - 0x28]
call fcn.14002f880
mov rax, qword [rbp - 0x28]
movabs rcx, 0x8000000000000000
cmp rax, rcx
jne 0x1400efd97
mov rdi, qword [rbp - 0x20]
mov r14, qword [rbp - 0x18]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x58], 1
mov qword [rbp - 8], 0
lea r8, [rbp - 0x60]
lea r9, [rbp - 8]
mov rcx, rdi
xor edx, edx
call sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x1400efdc9
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1400efddd
lea rcx, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rcx
mov qword [rsi], 1
test rax, rax
je 0x1400efdf9
mov rcx, qword [rbp - 0x20]
mov edx, 1
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.14003fef0
mov rcx, qword [rbx]
mov rax, qword [rbp - 8]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rdi], 0
test r14, r14
je 0x1400efdf9
mov edx, 1
mov rcx, rdi
call fcn.14003fef0
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret

Function at 0x1400f0560
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rbx, r8
mov r14, rdx
mov rdi, rcx
movzx eax, byte [0x1402de178]
mov edx, 0x10
xor ecx, ecx
call fcn.1400f0da0
test rax, rax
je 0x1400f0623
mov rsi, rax
mov qword [rax], r14
mov qword [rax + 8], rbx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1400f0680]
xor ebx, ebx
xor ecx, ecx
mov rdx, rdi
mov r9, rax
call sub.kernel32.dll_CreateThread
mov rdx, rax
test rax, rax
jne 0x1400f0615
mov rbx, qword [rsi]
mov r14, qword [rsi + 8]
mov rax, qword [r14]
test rax, rax
je 0x1400f05e1
mov rcx, rbx
call rax
cmp qword [r14 + 8], 0
je 0x1400f05f4
mov rdx, qword [r14 + 0x10]
mov rcx, rbx
call fcn.14003fef0
mov edx, 8
mov rcx, rsi
call fcn.14003fef0
call sub.kernel32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov ebx, 1
mov rax, rbx
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov ecx, 8
mov edx, 0x10
call fcn.14002f6d0
ud2
Function at 0x1400f5cc0
Capabilities:
Delete file

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov r8, rdx
mov rdx, rcx
movabs rdi, 0x8000000000000000
lea rcx, [rbp - 0x10]
call fcn.1400e92a0
mov rax, qword [rbp - 0x10]
mov rsi, qword [rbp - 8]
cmp rax, rdi
je 0x1400f5d1d
mov rcx, qword [rbp]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x28]
call fcn.1400e9550
mov rbx, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
cmp rbx, rdi
jne 0x1400f5d29
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call sub.kernel32.dll_DeleteFileW
test eax, eax
je 0x1400f5d4b
test rbx, rbx
je 0x1400f5d6f
mov edx, 2
mov rcx, rsi
call fcn.14003fef0
xor eax, eax
jmp 0x1400f5d20
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
test rbx, rbx
je 0x1400f5d20
mov edx, 2
mov rcx, rsi
mov rsi, rax
call fcn.14003fef0
jmp 0x1400f5d1d
xor eax, eax
jmp 0x1400f5d20

Function at 0x1400f6740
Capabilities:
Copy file

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov rdi, r9
mov rbx, r8
mov r8, rdx
mov rdx, rcx
movabs r15, 0x8000000000000000
lea rcx, [rbp - 0x28]
call fcn.1400e92a0
mov rax, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
cmp rax, r15
je 0x1400f67a7
mov rcx, qword [rbp - 0x18]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rsi
mov qword [rbp], rcx
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x10]
call fcn.1400e9550
mov r14, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
cmp r14, r15
jne 0x1400f67bc
mov eax, 1
mov rdx, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea rcx, [rbp - 0x28]
mov rdx, rbx
mov r8, rdi
call fcn.1400e92a0
mov rax, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x20]
cmp rax, r15
je 0x1400f6802
mov rcx, qword [rbp - 0x18]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdi
mov qword [rbp], rcx
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x10]
call fcn.1400e9550
mov rbx, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x38]
cmp rbx, r15
jne 0x1400f6829
mov rdx, rdi
mov eax, 1
test r14, r14
je 0x1400f67af
mov rdi, rdx
mov edx, 2
mov rcx, rsi
call fcn.14003fef0
mov eax, 1
mov rdx, rdi
jmp 0x1400f67af
mov qword [rbp - 0x10], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [0x1400f68f0]
lea r9, [rbp - 0x10]
mov rcx, rsi
mov rdx, rdi
call sub.kernel32.dll_CopyFileExW
test eax, eax
je 0x1400f6897
mov rdx, qword [rbp - 0x10]
test rbx, rbx
je 0x1400f6878
mov rbx, rdx
mov edx, 2
mov rcx, rdi
call fcn.14003fef0
mov rdx, rbx
test r14, r14
je 0x1400f6890
mov rdi, rdx
mov edx, 2
mov rcx, rsi
call fcn.14003fef0
mov rdx, rdi
xor eax, eax
jmp 0x1400f67af
call sub.kernel32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
test rbx, rbx
je 0x1400f6805
mov rbx, rdx
mov edx, 2
mov rcx, rdi
call fcn.14003fef0
mov rdx, rbx
jmp 0x1400f6805
Function at 0x1400f7ed1
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x2c]
mov rcx, rax
call sub.shell32.dll_CommandLineToArgvW
test rax, rax
je 0x1400f7f6d
mov rdi, rax
lea rbx, [rsp + 0x30]
and qword [rbx], 0
mov qword [rbx + 8], 8
and qword [rbx + 0x10], 0
movsxd r12, dword [rsp + 0x2c]
shl r12, 3
xor r13d, r13d
lea r14, [rsp + 0x48]
cmp r12, r13
je 0x1400f7f52
mov r15, qword [rdi + r13]
mov rcx, r15
call sub.msvcrt.dll_wcslen
mov rcx, r14
mov rdx, r15
mov r8, rax
call fcn.1400f78f8
mov rcx, rbx
mov rdx, r14
call fcn.1400f81bd
add r13, 8
jmp 0x1400f7f22
mov rcx, rdi
call sub.kernel32.dll_LocalFree
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
jmp 0x1400f7f7e
and qword [rsi], 0
mov qword [rsi + 8], 8
and qword [rsi + 0x10], 0
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400fe565
Capabilities:
Get memory capacity

Disassembly:
push rsi
push rdi
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov rsi, rcx
xorps xmm6, xmm6
lea rdi, [rsp + 0x90]
movaps xmmword [rdi], xmm6
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
mov dword [rdi], 0x40
mov rcx, rdi
call sub.kernel32.dll_GlobalMemoryStatusEx
mov rax, qword [rdi + 8]
mov qword [rsi + 0x138], rax
mov rax, qword [rdi + 0x10]
mov qword [rsi + 0x140], rax
lea rcx, [rsp + 0x20]
movaps xmmword [rcx + 0x50], xmm6
movaps xmmword [rcx + 0x40], xmm6
movaps xmmword [rcx + 0x30], xmm6
movaps xmmword [rcx + 0x20], xmm6
movaps xmmword [rcx + 0x10], xmm6
movaps xmmword [rcx], xmm6
and qword [rcx + 0x60], 0
mov edx, 0x68
call sub.psapi.dll_GetPerformanceInfo
cmp eax, 1
jne 0x1400fe638
mov rdx, qword [rsp + 0x30]
mov r9, qword [rsp + 0x40]
xor r10d, r10d
sub rdx, r9
cmovb rdx, r10
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r8, rax
mov r11, 0xffffffffffffffff
cmovo r8, r11
mov rdx, qword [rsp + 0x28]
sub rdx, r9
cmovb rdx, r10
mov rax, rcx
mul rdx
cmovo rax, r11
mov qword [rsi + 0x148], r8
mov qword [rsi + 0x150], rax
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rdi
pop rsi
ret
Function at 0x1400ff588
Capabilities:
Get disk size

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
imul rbx, rdx, 0x90
xor r14d, r14d
lea rdi, [rsp + 0x28]
mov r15, rcx
cmp rbx, r14
je 0x1400ff5ed
cmp qword [r15 + 0x78], 0
je 0x1400ff5dd
and qword [rsp + 0x28], 0
mov rcx, qword [rsi + r14 + 0x50]
xor edx, edx
xor r8d, r8d
mov r9, rdi
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x1400ff5dd
mov rax, qword [rsp + 0x28]
mov qword [rsi + r14 + 0x80], rax
add r15, 0x90
add r14, 0x90
jmp 0x1400ff5a8
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret