joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401b56d0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rdx, qword [rcx]
mov rcx, qword [rcx + 8]
mov rdi, qword [rsi + 0x10]
mov rbx, qword [rsi + 0x20]
mov r14, qword [rsi + 0x18]
mov ebp, 0xffffffff
lea r15, [rsp + 0x34]
mov r13, qword [sym.imp.kernel32.dll_ReadFile]
jmp 0x1401b572d
mov r12d, dword [rsp + 0x34]
mov edx, 2
test r12, r12
je 0x1401b5877
mov qword [rsi], rdx
mov qword [rsi + 8], r12
mov rcx, r12
cmp rdx, 2
je 0x1401b57c0
cmp rdx, 1
jne 0x1401b5770
mov dword [rsp + 0x30], 0
mov rcx, rbx
mov rdx, rdi
lea r8, [rsp + 0x30]
mov r9d, 1
call qword [sym.imp.kernel32.dll_GetOverlappedResult]
test eax, eax
je 0x1401b5776
mov ecx, dword [rsp + 0x30]
jmp 0x1401b57c0
mov rdx, qword [r14 + 0x10]
jmp 0x1401b57db
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rdx, rax
movabs rcx, 0xffffffff00000000
and rdx, rcx
movabs rcx, 0x6d00000000
cmp rdx, rcx
je 0x1401b57bc
mov ecx, 0
movabs r8, 0x2600000000
cmp rdx, r8
je 0x1401b57c0
jmp 0x1401b5879
xor ecx, ecx
nop
mov qword [rsi], 0
mov rdx, qword [r14 + 0x10]
add rdx, rcx
mov qword [r14 + 0x10], rdx
test rcx, rcx
je 0x1401b5877
mov r8, qword [r14]
cmp r8, rdx
je 0x1401b5833
sub r8, rdx
add rdx, qword [r14 + 8]
cmp r8, rbp
cmovae r8, rbp
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x20], rdi
mov rcx, rbx
mov r9, r15
call r13
test eax, eax
jne 0x1401b5710
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
mov edx, 1
movabs rcx, 0x3e500000000
cmp rax, rcx
je 0x1401b5723
jmp 0x1401b5868
test rdx, rdx
mov r8d, 1
mov eax, 0x10
cmove r8, rax
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, r14
call fcn.1401f03e0
mov r8, qword [r14]
mov rdx, qword [r14 + 0x10]
jmp 0x1401b57e3
movabs rcx, 0x6d00000000
cmp rax, rcx
jne 0x1401b588a
xor eax, eax
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or rax, 2
jmp 0x1401b5879

Function at 0x1401b5980
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rbx, r8
mov r14, rdx
mov rdi, rcx
movzx eax, byte [0x14027f2b8]
mov ecx, 0x10
mov edx, 8
call fcn.140055570
test rax, rax
je 0x1401b5a49
mov rsi, rax
mov qword [rax], r14
mov qword [rax + 8], rbx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1401b5a60]
xor ebx, ebx
xor ecx, ecx
mov rdx, rdi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1401b5a3c
mov rdi, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, qword [rbx]
test rax, rax
je 0x1401b59ff
mov rcx, rdi
call rax
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1401b5a14
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140055580
mov edx, 0x10
mov r8d, 8
mov rcx, rsi
call fcn.140055580
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov ebx, 1
mov rax, rbx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ecx, 8
mov edx, 0x10
call fcn.14018ba60
int3
Function at 0x1401bbc60
Capabilities:
Read file on windows

Disassembly:
push rsi
sub rsp, 0xb0
mov rsi, rcx
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x70], r9
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x78], rax
movups xmm0, xmmword [0x140263f78]
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
movaps xmmword [rsp + 0x60], xmm0
test r9, r9
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x1401bbcec
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0
cmp eax, 0xc0000011
je 0x1401bbd25
cmp eax, 0x103
je 0x1401bbd31
test eax, eax
js 0x1401bbd0e
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
jmp 0x1401bbd25
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov ecx, 1
mov rax, rcx
add rsp, 0xb0
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x90], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x80]
call fcn.1401c5330
mov rcx, rax
call fcn.1401ab9b0
mov ecx, 7
int 0x29
ud2

Function at 0x1401bbda0
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0xb0
mov rsi, rcx
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x70], r9
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x78], rax
movups xmm0, xmmword [0x140263f78]
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
movaps xmmword [rsp + 0x60], xmm0
test r9, r9
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1401bbe33
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x1401bbe67
test eax, eax
js 0x1401bbe47
mov rdx, qword [rsp + 0x68]
xor eax, eax
add rsp, 0xb0
pop rsi
ret
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xb0
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x90], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x80]
call fcn.1401c5330
mov rcx, rax
call fcn.1401ab9b0
mov ecx, 7
int 0x29
ud2
Function at 0x1401bf2a0
Capabilities:
Create udp socket

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov edi, edx
cmp word [rcx], 0
mov eax, 2
mov ebx, 0x17
cmove ebx, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
xor r14d, r14d
mov ecx, ebx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1401bf375
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x1401bf300
mov esi, eax
cmp eax, 0x2726
jne 0x1401bf367
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1401bf35f
mov rsi, rax
xor r14d, r14d
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
jne 0x1401bf375
call qword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rsi
call qword [sym.imp.ws2_32.dll_closesocket]
mov rsi, rdi
jmp 0x1401bf36f
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov r14d, 1
mov rax, r14
mov rdx, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1401bf390
Capabilities:
Resolve dns

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x218
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov rbx, r8
jmp 0x1401bf3b5
cmp rbx, r14
ja 0x1401bf3e1
mov cl, 0x3a
mov rdx, rdi
mov r8, rbx
call fcn.1401cffa0
cmp rax, 1
jne 0x1401bf3dc
mov rbx, rdx
cmp rdx, r14
jae 0x1401bf3b0
cmp byte [rdi + rbx], 0x3a
jne 0x1401bf3b0
lea rcx, [rbx + 1]
jmp 0x1401bf3ed
test rax, rax
jne 0x1401bf3ed
lea rax, str.invalid_socket_address
jmp 0x1401bf476
sub r14, rcx
add rcx, rdi
mov rdx, r14
call fcn.1401d4430
test al, 1
jne 0x1401bf46f
shr eax, 0x10
mov word [rsp + 0x36], ax
mov eax, dword [0x14027f530]
cmp eax, 3
jne 0x1401bf507
lea rax, [rsp + 0x36]
mov qword [rsp + 0x40], rax
cmp rbx, 0x17f
ja 0x1401bf52a
lea r14, [rsp + 0x98]
mov rcx, r14
mov rdx, rdi
mov r8, rbx
call fcn.1401ef240
mov byte [rsp + rbx + 0x98], 0
inc rbx
lea rcx, [rsp + 0x48]
mov rdx, r14
mov r8, rbx
call fcn.1401dc6a0
cmp qword [rsp + 0x48], 0
je 0x1401bf491
lea rax, str.file_name_contained_an_unexpected_NUL_byte
jmp 0x1401bf476
lea rax, str.pI_
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rax, rsi
add rsp, 0x218
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x68], 1
mov qword [rsp + 0x38], 0
lea r8, [rsp + 0x60]
lea r9, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1401bf4e7
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1401bf4fb
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x36]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
jmp 0x1401bf481
lea rcx, [0x14027f528]
call fcn.1401fbed0
lea rax, [rsp + 0x36]
mov qword [rsp + 0x40], rax
cmp rbx, 0x17f
jbe 0x1401bf42d
lea rax, [0x1402649a0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
call fcn.1401fc160
jmp 0x1401bf481
Function at 0x1401bf550
Capabilities:
Resolve dns

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x218
mov rsi, rcx
mov rbx, qword [rdx]
mov rdi, qword [rdx + 8]
movzx eax, word [rdx + 0x10]
mov word [rsp + 0x36], ax
mov eax, dword [0x14027f530]
cmp eax, 3
jne 0x1401bf663
lea rax, [rsp + 0x36]
mov qword [rsp + 0x40], rax
cmp rdi, 0x17f
ja 0x1401bf686
lea r14, [rsp + 0x98]
mov rcx, r14
mov rdx, rbx
mov r8, rdi
call fcn.1401ef240
mov byte [rsp + rdi + 0x98], 0
inc rdi
lea rcx, [rsp + 0x48]
mov rdx, r14
mov r8, rdi
call fcn.1401dc6a0
cmp qword [rsp + 0x48], 0
je 0x1401bf5e2
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1401bf653
mov rcx, qword [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x68], 1
mov qword [rsp + 0x38], 0
lea r8, [rsp + 0x60]
lea r9, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1401bf638
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1401bf64c
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x36]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov rax, rsi
add rsp, 0x218
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x14027f528]
call fcn.1401fbed0
lea rax, [rsp + 0x36]
mov qword [rsp + 0x40], rax
cmp rdi, 0x17f
jbe 0x1401bf595
lea rax, [0x1402649a0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call fcn.1401fc160
jmp 0x1401bf653

Function at 0x1401bf950
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rsi
sub rsp, 0xc0
mov rsi, rcx
mov rcx, qword [rdx]
xorps xmm0, xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x28], 0x80
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x28]
call qword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x1401bf9e9
mov eax, dword [rsp + 0x28]
movzx ecx, word [rsp + 0x40]
cmp ecx, 0x17
je 0x1401bf9f9
cmp ecx, 2
jne 0x1401bfa3e
cmp eax, 0xf
jbe 0x1401bfa5a
movzx eax, word [rsp + 0x42]
rol ax, 8
mov ecx, dword [rsp + 0x44]
mov word [rsi], 0
mov word [rsi + 6], ax
mov dword [rsi + 2], ecx
jmp 0x1401bfa4e
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
jmp 0x1401bfa45
cmp eax, 0x1b
jbe 0x1401bfa5a
movzx eax, word [rsp + 0x42]
rol ax, 8
mov ecx, dword [rsp + 0x44]
mov edx, dword [rsp + 0x58]
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsp + 0x30], xmm0
mov word [rsi], 1
movups xmm0, xmmword [rsp + 0x2e]
movups xmmword [rsi + 2], xmm0
movzx r8d, word [rsp + 0x3e]
mov word [rsi + 0x12], r8w
mov dword [rsi + 0x14], ecx
mov dword [rsi + 0x18], edx
mov word [rsi + 0x1c], ax
jmp 0x1401bfa4e
lea rax, [0x140264928]
mov qword [rsi + 8], rax
mov word [rsi], 2
mov rax, rsi
add rsp, 0xc0
pop rsi
ret
ud2
Function at 0x1401e0308
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1401e0352
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401e0352
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401e0352
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401e0352
cmp dword [rcx + 0x84], 0xe
jbe 0x1401e0352
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401e0354
xor al, al
add rsp, 0x28
ret

Function at 0x1401e5318
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1401e5387
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1401e5387
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401e5387
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401e5387
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401e5387
cmp dword [rcx + 0x84], 0xe
jbe 0x1401e5387
cmp dword [rcx + 0xf8], 0
je 0x1401e5387
mov ecx, ebx
call fcn.1401e5438
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1401e5214
nop
cmp dword [rbp + 0x20], 0
je 0x1401e53d5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401e53e0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1401e5318

Function at 0x1401e551c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401e5318
Function at 0x1401e8a44
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1401e8a74
xor eax, eax
jmp 0x1401e8b37
mov rbp, rbx
cmp word [rax], si
je 0x1401e8a99
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1401e8a80
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1401e8a7c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1401e8964
movsxd r14, eax
test eax, eax
jne 0x1401e8ad7
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
jmp 0x1401e8a6d
mov rcx, r14
call fcn.1401e6334
mov rdi, rax
test rax, rax
jne 0x1401e8af0
xor ecx, ecx
call fcn.1401e6394
jmp 0x1401e8acc
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1401e8964
test eax, eax
jne 0x1401e8b21
mov rcx, rdi
call fcn.1401e6394
jmp 0x1401e8b2b
xor ecx, ecx
call fcn.1401e6394
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1401ec400
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1401e7a34
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401ec48a
cmp byte [rbp - 0x21], r15b
je 0x1401ec485
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1401ec4c0
call fcn.1401ea0d0
test eax, eax
jne 0x1401ec4ac
cmp byte [rbp - 0x21], r15b
je 0x1401ec4a4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1401ec4c0
cmp byte [rbp - 0x21], r15b
je 0x1401ec4bd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1401e7014
test eax, eax
jne 0x1401ec560
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1401e7a34
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1401ec4ff
cmp byte [rbp - 0x21], r15b
je 0x1401ec534
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1401ec534
call fcn.1401ea0d0
test eax, eax
jne 0x1401ec520
cmp byte [rbp - 0x21], r15b
je 0x1401ec519
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1401ec534
cmp byte [rbp - 0x21], r15b
je 0x1401ec531
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1401e7014
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1401ec560
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1401ec563
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1401ec571
mov rcx, rdi
call fcn.1401e6394
cmp byte [rbp + 0x3f], r15b
je 0x1401ec580
mov rcx, qword [rbp + 0x27]
call fcn.1401e6394
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1401eecc0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401eece8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1401eece8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1401fb780
Capabilities:
Link many functions at runtime

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rcx, [0x14026003d]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x1401fb7d5
mov rdi, rax
lea rdx, [0x14026005e]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401fb7d5
mov rsi, rax
lea rdx, [0x14026006c]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401fb7d5
mov r14, rax
xor edi, edi
jmp 0x1401fb85d
lea rcx, [0x14025fff8]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x1401fb8c9
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401fb8c9
mov rbx, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401fb8c9
mov rdi, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401fb8c9
mov rsi, rax
lea rcx, [rsp + 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x1401fb8c9
mov r14, qword [rsp + 0x20]
movzx eax, byte [0x14027f2b8]
mov ecx, 0x18
mov edx, 8
call fcn.140055570
test rax, rax
je 0x1401fb8cb
mov rbx, rax
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
xor eax, eax
lock cmpxchg qword [0x14027f3b0], rbx
je 0x1401fb8bc
mov rsi, rax
cmp qword [rbx], 0
je 0x1401fb8a6
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov edx, 0x18
mov r8d, 8
mov rcx, rbx
call fcn.140055580
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
ud2
mov ecx, 8
mov edx, 0x18
call fcn.14018ba60
int3
Function at 0x14000c880
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x14095fe80]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14000c90f
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000c8fc
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
mov dword [0x140960cb0], eax
mov eax, dword [rsp + 0x38]
jmp 0x14000c91c
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14000c8ca
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400f2e00
add rsp, 0x288
ret
Function at 0x1400132c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14095fe80]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.14000cdb0
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.1400136c0
nop
lea rax, [0x140012e20]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.140003da0
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x14001336e
lea rcx, [rsp + 0x40]
call fcn.140016d10
nop
jmp 0x140013385
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x40]
call fcn.140014730
nop
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400f2e00
add rsp, 0x58
ret

Function at 0x1400133b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14095fe80]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.140015af0
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.140013740
nop
lea rax, [0x140012ec0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.140003da0
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x140013454
lea rcx, [rsp + 0x40]
call fcn.140016d40
nop
jmp 0x14001346b
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x40]
call fcn.140014780
nop
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400f2e00
add rsp, 0x58
ret