joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180111eb0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x180111fd4
cmp r8d, 0xff
jne 0x180111f11
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x180111efb
lea r8, [0x180000000]
mov r9, qword [r8 + r10*8 + 0x1536a0]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.1800ee510
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.1800ee510
cmp r8d, 0xfb
jne 0x180111f23
lea r9, str.WILL
jmp 0x180111f61
cmp r8d, 0xfc
jne 0x180111f35
lea r9, str.WONT
jmp 0x180111f61
cmp r8d, 0xfd
jne 0x180111f47
lea r9, [0x1801540c4]
jmp 0x180111f61
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x180111fbd
cmp r10d, 0x27
jg 0x180111f94
lea r8, [0x180000000]
mov r8, qword [r8 + r10*8 + 0x153cc0]
test r8, r8
jne 0x180111fa4
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.1800ee510
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x180111f7b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.1800ee510
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.1800ee510
add rsp, 0x38
ret

Function at 0x180112320
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x18011237f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1800ee390
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.180111eb0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180112530
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x1801126d8
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x180112595
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x180112595
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x180112595
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x1801125cc
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x180112622
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x180112622
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x180112622
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x180112622
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x180112622
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.180111fe0
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x180112684
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1800ee390
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.1801123b0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1801126d0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1800ee390
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x180113e40
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x18019d080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x180113ed5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x180113f36
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1800ee390
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180127b60
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x180113ff1
sub ecx, 1
je 0x180114064
sub ecx, 1
je 0x180113fa0
cmp ecx, 1
je 0x180113f83
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x180180bd8]
call fcn.1800ee390
jmp 0x180114064
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.180113b70
test eax, eax
je 0x180114064
jmp 0x180113f0a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x180114064
sub rax, rsi
cmp rax, rbp
jae 0x180114064
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1800ee510
jmp 0x180114064
cmp r8d, 4
jle 0x180114064
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x180114064
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1800ee2b0
mov esi, eax
test eax, eax
je 0x180114043
mov edx, 5
mov rcx, rbx
call fcn.180114b30
mov eax, esi
jmp 0x180113f0a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1800fcd90
mov rcx, r14
call fcn.1800fd070
test eax, eax
je 0x180113f08
mov edx, 5
mov rcx, rbx
call fcn.180114b30
mov eax, Ordinal_45
jmp 0x180113f0a
Function at 0x180126e00
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x180126e42
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x180126e89
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x180126ee2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x180126ea0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x180126f23
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x18015720b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x18015720c]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x180126ef0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x180126f3c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x180126f76
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x180126f7b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x180126fc4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x180126fc4
dec r8
sub rdx, 1
jne 0x180126faa
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140004580
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov qword [rbp - 0x10], rcx
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov dword [rbp - 4], 0
mov qword [rbp - 0x30], rdx
mov r14, qword [rdx]
mov edi, 8
lea r15, [rbp - 4]
xor ebx, ebx
xor esi, esi
jmp 0x1400045dd
mov r13, r12
mov qword [rbp - 0x18], r13
mov rbx, r13
mov esi, r12d
lea r8d, [rbx*8]
mov dword [rsp + 0x20], 3
mov rcx, r14
mov rdx, rdi
mov r9, r15
call sub.PSAPI.DLL_EnumProcessModulesEx
test eax, eax
je 0x14000467c
mov r12d, dword [rbp - 4]
cmp r12d, esi
jbe 0x1400046d8
mov rsi, r12
sub rsi, rbx
jbe 0x1400045d0
mov rax, qword [rbp - 0x20]
sub rax, rbx
mov r13, rbx
cmp rax, rsi
jae 0x14000463a
lea rcx, [rbp - 0x28]
mov rdx, rbx
mov r8, rsi
call fcn.14001f1c0
mov rdi, qword [rbp - 0x28]
mov r13, qword [rbp - 0x18]
lea rcx, [rdi + r13*8]
cmp rsi, 2
jb 0x14000466d
mov r8, rbx
not r8
add r8, r12
shl r8, 3
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rax, [r12 + r13]
sub rax, rbx
lea rcx, [rdi + rax*8]
add rcx, 0xfffffffffffffff8
add r13, rsi
dec r13
mov qword [rcx], 0
inc r13
jmp 0x1400045d3
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp - 0x10]
mov qword [rcx + 8], rax
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rcx + 0x10], xmm0
mov rax, qword [rbp - 0x38]
mov qword [rcx + 0x20], rax
mov qword [rcx], 0
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1400046c3
shl rdx, 3
mov r8d, 8
mov rcx, rdi
call fcn.140003800
mov rax, qword [rbp - 0x10]
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov r14d, r12d
shr r14d, 3
cmp rbx, r14
jb 0x1400047a8
cmp r12d, 8
jae 0x1400046fa
mov eax, 8
xor ecx, ecx
jmp 0x14000477f
mov r15, r14
shl r15, 4
movzx eax, byte [0x140030161]
mov edx, 8
mov rcx, r15
call fcn.1400037f0
test rax, rax
je 0x1400047bc
cmp r14d, 1
jne 0x14000472c
xor ecx, ecx
mov r10, qword [rbp - 0x30]
jmp 0x140004765
mov edx, r14d
and edx, 0xfffffffe
lea r8, [rax + 0x18]
xor ecx, ecx
mov r10, qword [rbp - 0x30]
nop dword [rax]
mov r9, qword [rdi + rcx*8]
mov qword [r8 - 0x18], r10
mov qword [r8 - 0x10], r9
mov r9, qword [rdi + rcx*8 + 8]
mov qword [r8 - 8], r10
mov qword [r8], r9
add rcx, 2
add r8, 0x20
cmp rdx, rcx
jne 0x140004740
test r14b, 1
je 0x14000477c
mov rdx, qword [rdi + rcx*8]
shl rcx, 4
mov qword [rax + rcx], r10
mov qword [rax + rcx + 8], rdx
mov rcx, r14
mov rdx, qword [rbp - 0x10]
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], r14
mov qword [rdx + 0x18], rcx
mov qword [rdx], 4
mov rdx, qword [rbp - 0x20]
test rdx, rdx
jne 0x1400046b1
jmp 0x1400046c3
lea r8, str.C:Usersjohn.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinproc_0.6.4_srcprocessmod.rs
mov rcx, r14
mov rdx, rbx
call fcn.140020340
jmp 0x1400047c9
mov ecx, 8
mov rdx, r15
call fcn.14001fe40
ud2
Function at 0x14000e210
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x140024560]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14000e254
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14000e2ba
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14000e2f1
test eax, eax
js 0x14000e2cb
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14000e2e4
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x20], 0
lea rdx, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
lea rsi, [rsp + 0x78]
lea r9, [rsp + 0x50]
mov r8d, 1
mov rcx, rsi
call fcn.140004fb0
lea rcx, [rsp + 0x58]
mov rdx, rsi
call fcn.140009080
mov rcx, rax
call fcn.1400053e0
mov ecx, 7
int 0x29
ud2
Function at 0x14001ca80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14001cafa
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14001caf0
cmp r11, r10
ja 0x14001cb93
cmp r10, rdx
ja 0x14001cba7
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14001caf2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14001cad0
jmp 0x14001cb67
ja 0x14001cafa
mov r11, r10
cmp rax, r8
jne 0x14001caa2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14001cb6b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14001cb40
mov r8, r10
sub ecx, r9d
jns 0x14001cb5e
jmp 0x14001cb6d
cmp r10, rdx
je 0x14001cb79
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14001cb6d
xor al, 1
cmp r8, rdx
jne 0x14001cb20
jmp 0x14001cb6d
xor eax, eax
jmp 0x14001cb6d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuelibrarycore_src_nummod.rsfrom_str_radix_int:_must_lie_in_the_range___2__36_____found
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14001ff50
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1400203b0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140020340
ud2
Function at 0x140002170
Capabilities:
Parse pe header

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

Function at 0x140006018
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 0x140005e83
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005e83
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005e83
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005e83
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005e83
cmp dword [rcx + 0x84], 0xe
jbe 0x140005e83
cmp dword [rcx + 0xf8], 0
je 0x140005e83
mov ecx, ebx
call fcn.140005f34
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.140005d10
nop
cmp dword [rbp + 0x20], 0
je 0x140005ed1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140005edc
int3
xor r8d, r8d
xor edx, edx
jmp 0x140005e14
Function at 0x1400094ec
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140009573
mov rsi, rbx
cmp word [rax], bp
je 0x140009532
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14000951c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140009518
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140009df0
mov rdi, rax
test rax, rax
je 0x140009560
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000eb30
mov rbp, rdi
xor ecx, ecx
call fcn.1400081b4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000e520
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000e548
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000e548
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x18086c21f
Capabilities:
Encode data using base64

Disassembly:
rol ebx, 2
mov qword [rsp + rdx], rax
call fcn.18086ded4
mov ecx, 0xb73668be
push rcx
pop r10
mov r8d, dword [r9 + riz]
mov esi, 0x10b847b3
inc rsi
movsx ebx, sil
lea r9, [r9 + rsi*4 - 0x42e11ecc]
xor r8d, ebp
or cl, 0x19
btr esi, 0x13
lea rcx, [rsi + 0x5c21b41f]
dec r8d
not r8d
rol r8d, 1
dec r10d
lea rdx, [r10 + rcx*2 - 0x396ff1f9]
xor r8d, 0x9e005494
movzx eax, r10w
shr rsi, cl
push rbp
jne 0x18086f315
inc ebx
neg ebx
call fcn.18088f181
movsx ebx, cx
add r9, 4
movsx r10d, cx
xadd r8b, sil
xor eax, ebp
bswap eax
sub ebx, 0xfd2a78a8
ror rsi, 0xb3
xadd sil, bl
sbb eax, 0xf9a35b36
sub esi, ebx
setg cl
and r10b, r8b
ror eax, 3
sub r8, r10
dec rsi
neg eax
not sil
push rbp
xor dword [rsp + rbx*4 - 0xb561800], eax
push r8
not qword [rsp + r8 + 0x37780ce0]
mov rbp, qword [rsp + r8 + 0x37780ce8]
not r10
movsxd rax, eax
mov qword [rsp + rbx - 0x2d585f8], r10
jmp 0x180894a15
xor dword [rsp + rsi*4 - 0x858], r8d
pop rbp
cwd
or r10b, cl
movsxd r8, r8d
adc r11, r8
mov r8d, ecx
lea r10, [rax*2 - 0x31f609df]
inc al
mov rax, qword [r10 + rdi + 0x31f53865]
call fcn.180897e09
mov esi, 0x2a3d1a9c
mov r8, qword [rdi + rsi*2 - 0x547a3538]
movsx edx, sil
mov r10d, edx
mov cl, byte [rdi + rsi*2 - 0x547a3530]
lea rax, [rsi + rdx*4 - 0x5deb0280]
lea rdi, [rdi + rsi*2 - 0x547a3536]
shr r8, cl
and r10w, r10w
mov ecx, 0xb1916b8a
cmovbe dx, r10w
mov qword [rsi + rdi - 0x2a3d1a9c], r8
mov eax, dword [rsi + r9 - 0x2a3d1a9c]
xadd r10w, si
adc rsi, r10
jnp 0x180889b42
mov eax, 0x7595288b
lea rbx, [rax*2 + 0x54054c30]
mov r8, qword [rdi + rax - 0x7595288b]
add ax, 0x988c
movzx dx, byte ss:[r8 + rax - 0x7595c117]
lea rdi, [rdi + rax - 0x7595c111]
mov word [rdi + rax - 0x7595c117], dx
mov ecx, eax
lea rdx, [rax + rcx - 0x3b5f1bc2]
btc rax, 0x86
mov edx, dword [r9 + rcx - 0x7595c117]
inc al
seta al
lea r9, [r9 + rcx - 0x7595c113]
setns cl
xadd cl, ah
xor edx, ebp
or rax, 0xf8f5690
movzx r8d, bl
bts eax, r8d
rol edx, 1
dec bx
and al, 0xb6
inc edx
mov r10d, ebx
bswap edx
cwde
sub edx, 0xd1a2f339
ror edx, 1
btc ebx, r8d
xadd r8d, ecx
xchg bl, r10b
push rbp
xor dword [rsp + rbx - 0x3f2f9d45], edx
add rbx, r8
xor r10w, 0x2bbe
call fcn.180868919
add r8b, 0xb0
xor bp, cx
add rcx, rsp
mov word [r8 + rcx - 0xcbc4], bx
jmp 0x180866df7
adc r9, 4
lea rcx, [rdx*8 + 0x7b9b3b89]
btr esi, edx
jb 0x1808710e4
xor eax, ebp
sub rcx, 0xe1bac01
not eax
call fcn.18089bfd0
mov eax, dword [r9]
add r9, 4
mov ecx, 0x8d15f232
movzx ebx, cx
call fcn.18087b1ed
add r11, rax
mov r10d, dword [rdi + rbx*4 - 0xb561800]
push rbx
xchg byte [rsp + rbx*2 - 0x5ab0bf4], bh
mov esi, dword [rbx + rdi - 0x2d4fffc]
movzx edx, r8b
xor cl, byte [rdi + r8 + 0x37780ce8]
xor r8b, byte [rsp + rbx*2 - 0x5a9fff0]
lea rdi, [rdi + r8 + 0x37780c27]
shld r10d, esi, cl
inc bx
movzx ecx, dl
dec ecx
mov dword [rdi + r8 + 0x37780c21], r10d
sar word [rsp + rbx - 0x2d4ffed], 0x69
movsx eax, cx
mov qword [rsp + r8 + 0x37780c21], r11
ret 0x10
Function at 0x180875e9d
Capabilities:
Execute anti-debugging instructions

Disassembly:
add rdi, 0xc
neg qword [rsp + 0xe]
sar byte [rsp + 0x14], 0xe3
inc word [rsp + 8]
xor ecx, ecx
mov byte [rsp + 8], 0xac
sal byte [rsp + 0x13], 0xc2
test rdx, rdx
push 0x2234b817
push 0x459ea591
call fcn.1808858ff

Function at 0x18087ad1d
Capabilities:
Authenticate hmac
Encode data using base64

Disassembly:
push 0x37b1d413
dec ebx
jmp 0x180899bce
push 0x2027231c
lea rsp, [rsp + 0x18]
jne 0x180877b40
Function at 0x140002480
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x140043b04], 0
lea rdi, [0x140043b00]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x140002558
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x1400024b0
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x14000258e
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x140002570
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x1400025cf
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x1400025b3
cmp byte [r8], r9b
jne 0x1400025b3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x1400025a0
not eax
pop rdi
ret