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

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x180104834
cmp r8d, 0xff
jne 0x180104771
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x18010475b
lea r8, [0x180000000]
mov r9, qword [r8 + r10*8 + 0x146710]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.1800e0d70
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.1800e0d70
cmp r8d, 0xfb
jne 0x180104783
lea r9, str.WILL
jmp 0x1801047c1
cmp r8d, 0xfc
jne 0x180104795
lea r9, str.WONT
jmp 0x1801047c1
cmp r8d, 0xfd
jne 0x1801047a7
lea r9, [0x180147134]
jmp 0x1801047c1
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x18010481d
cmp r10d, 0x27
jg 0x1801047f4
lea r8, [0x180000000]
mov r8, qword [r8 + r10*8 + 0x146d30]
test r8, r8
jne 0x180104804
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.1800e0d70
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x1801047db
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.1800e0d70
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.1800e0d70
add rsp, 0x38
ret

Function at 0x180104b80
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 0x180104bdf
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1800e0bf0
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.180104710
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180104d90
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x180104f38
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 0x180104df5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x180104df5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x180104df5
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 0x180104e2c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x180104e82
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x180104e82
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x180104e82
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x180104e82
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x180104e82
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.180104840
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 0x180104ee4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1800e0bf0
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.180104c10
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 0x180104f30
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1800e0bf0
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1801066a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1801a70c0]
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 0x180106735
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 0x180106796
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1800e0bf0
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.18011a420
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 0x180106851
sub ecx, 1
je 0x1801068c4
sub ecx, 1
je 0x180106800
cmp ecx, 1
je 0x1801067e3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x18018e288]
call fcn.1800e0bf0
jmp 0x1801068c4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1801063d0
test eax, eax
je 0x1801068c4
jmp 0x18010676a
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 0x1801068c4
sub rax, rsi
cmp rax, rbp
jae 0x1801068c4
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1800e0d70
jmp 0x1801068c4
cmp r8d, 4
jle 0x1801068c4
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 0x1801068c4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1800e0b10
mov esi, eax
test eax, eax
je 0x1801068a3
mov edx, 5
mov rcx, rbx
call fcn.180107390
mov eax, esi
jmp 0x18010676a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1800ef5f0
mov rcx, r14
call fcn.1800ef8d0
test eax, eax
je 0x180106768
mov edx, 5
mov rcx, rbx
call fcn.180107390
mov eax, Ordinal_46
jmp 0x18010676a
Function at 0x180119660
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 0x1801196a2
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 0x1801196e9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
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 0x180119742
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.OLEAUT32.dll_VariantClear]
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.OLEAUT32.dll_VariantClear]
sub rbp, 1
jne 0x180119700
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x180119783
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x18014a2d2]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x18014a2d3]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x180119750
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 0x18011979c
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 0x1801197d6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1801197db
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 0x180119824
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 0x180119824
dec r8
sub rdx, 1
jne 0x18011980a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140055800
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp r8d, 2
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
jle 0x140055828
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x14005584b
movzx eax, word [rdi]
cmp word [rsi], ax
jne 0x140055849
movzx eax, word [rdi + 2]
cmp word [rsi + 2], ax
jne 0x140055849
mov ecx, 0x3a
cmp cx, ax
jne 0x140055849
lea ebx, [rcx - 0x38]
jmp 0x14005584b
xor ebx, ebx
movsxd rax, ebx
xor r8d, r8d
mov rcx, rdi
lea rdx, [rsi + rax*2]
call fcn.1400556ec
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_CopyFileW]
invalid
faddp st(5)
jnp 0x1401f7f82
mov ch, 0x51
pop rdx
push rbx
add al, 0x2d
fadd dword [rbx]
fnsave dword [rdx + 0x50]
invalid
and cl, byte [rdi + 0x7864b498]
imul ebp, edi, 0x49
mov dh, 1
pop rax
test al, 0xf0
fsubrp st(3)
ficom dword [rcx + 0x6e0f5a7a]
ret

Function at 0x1400558cc
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r13
sub rsp, 0x20
and dword [rax + 8], 0
mov rsi, r8
mov r8d, 0x40
lea r13d, [r8 - 0x28]
mov rdi, rcx
mov rcx, qword [rcx]
mov rbx, rdx
lea r9, [rax + 8]
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea r9, [rsp + 0x40]
lea r8d, [r13 + 0x28]
lea rcx, [rdi + 8]
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rdx, [0x1400f7fb0]
lea rcx, [rdi + 8]
mov r8, r13
call fcn.14001aa74
mov qword [rdi + 0x15], rbx
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140055952
lea r8, [rdi + 8]
lea edx, [r13 - 0x1c]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
test rsi, rsi
je 0x140055952
mov qword [rsi], rax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret
Function at 0x140004140
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor ebx, ebx
xor edi, edi
xor r12d, r12d
cmp r8, 0x201
jae 0x1400041e0
jmp 0x1400041cf
jae 0x1400042a0
cmp r8, 0x201
jae 0x1400041e0
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140004238
sub r8, r12
sub rdi, r12
cmp rdi, r8
jae 0x14000420f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.14001a400
mov rbx, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rbx, rax
mov r12d, 0xffffffff
cmovb r12, rbx
mov qword [rbp + 0x3d8], r12
mov rdi, rbx
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x140004261
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140004308
mov r8d, r14d
cmp r15, r8
jne 0x1400041c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140004335
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x1400041cf
jmp 0x1400041e0
cmp rsi, r8
jb 0x14000434f
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.140006290
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rbx, rbx
je 0x1400042f1
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.1400019c0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rbx, rbx
jne 0x1400042d9
jmp 0x1400042f1
lea rcx, str.internal_error:_entered_unreachable_code_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14001ae10
jmp 0x140004364
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14001b260
ud2
Function at 0x14000aa60
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 [0x14001e158]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14000aaa4
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 0x14000ab0a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14000ab41
test eax, eax
js 0x14000ab1b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14000ab34
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 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 + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140005fd0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140002440
mov ecx, 7
int 0x29
ud2
Function at 0x140018780
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x1400187fa
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 0x1400187f0
cmp r11, r10
ja 0x140018891
cmp r10, rdx
ja 0x1400188a3
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x1400187f2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1400187d0
jmp 0x140018867
ja 0x1400187fa
mov r11, r10
cmp rax, r8
jne 0x1400187a2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14001886b
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 0x140018840
mov r8, r10
sub ecx, r9d
jns 0x14001885e
jmp 0x14001886d
cmp r10, rdx
je 0x140018879
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14001886d
xor al, 1
cmp r8, rdx
jne 0x140018820
jmp 0x14001886d
xor eax, eax
jmp 0x14001886d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x14002005b]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14001ae10
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14001b2e0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001b260
int3

Function at 0x140019e68
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140019eb2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140019eb2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140019eb2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140019eb2
cmp dword [rcx + 0x84], 0xe
jbe 0x140019eb2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140019eb4
xor al, al
add rsp, 0x28
ret
Function at 0x14000d530
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x140033040]
xor rax, rsp
mov qword [rsp + 0xc0], rax
cmp dword [0x140035024], 0
je 0x14000d630
cmp dword [0x140035020], 0
je 0x14000d58d
mov dword [0x1400350dc], ecx
mov ecx, 0xaede7345
mov dword [0x1400350e0], edx
call fcn.14000dae0
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14000e260
add rsp, 0xd8
ret
xorps xmm0, xmm0
mov dword [rsp + 0x20], edx
xor eax, eax
lea r8, str.km.move__d___d__r
mov r9d, ecx
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
lea edx, [rax + 0x78]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call fcn.14000d4d0
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000d5f0
mov rcx, qword [0x140035018]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14000e260
add rsp, 0xd8
ret
mov qword [rsp + 0xf0], rbx
mov rbx, qword [0x140034d20]
mov qword [rsp + 0xd0], rdi
test rbx, rbx
je 0x14000d683
mov rdi, qword [0x140034dc0]
movd xmm0, edx
movd xmm1, ecx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x34], xmm0
movss dword [rsp + 0x30], xmm1
call fcn.14000d270
test eax, eax
je 0x14000d6ed
lea r9, [rsp + 0x30]
mov edx, ebx
lea r8, [rdi - 4]
jmp 0x14000d6d8
mov rbx, qword [0x140034d38]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], edx
test rbx, rbx
je 0x14000d6b3
mov edi, dword [0x140034edc]
add edi, dword [0x140034e7c]
call fcn.14000d270
test eax, eax
je 0x14000d6ed
mov r8d, edi
mov edx, ebx
jmp 0x14000d6d3
mov rbx, qword [0x140034fb8]
mov rdi, qword [0x140034d40]
call fcn.14000d270
test eax, eax
je 0x14000d6ed
lea r8, [rbx + 0x1eb0]
mov edx, edi
lea r9, [rsp + 0x30]
mov rcx, qword [0x140035010]
mov dword [rsp + 0x20], 8
call qword [sym.imp.VMM.dll_VMMDLL_MemWrite]
mov rbx, qword [rsp + 0xf0]
mov rdi, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14000e260
add rsp, 0xd8
ret
Function at 0x14000d9c0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0xc8
mov rax, qword [0x140033040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
cmp dword [0x140035020], 0
je 0x14000da38
test ecx, ecx
je 0x14000da0f
or dword [0x1400350d8], 1
mov ecx, 0x9823ae8d
call fcn.14000dae0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14000e260
add rsp, 0xc8
ret
and dword [0x1400350d8], 0xfffffffe
mov ecx, 0x9823ae8d
call fcn.14000dae0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14000e260
add rsp, 0xc8
ret
xorps xmm0, xmm0
lea r8, str.km.left__d__r
xor eax, eax
mov r9d, ecx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0xa0], rax
movups xmmword [rsp + 0x30], xmm0
lea edx, [rax + 0x78]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
call fcn.14000d4d0
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14000da91
mov rcx, qword [0x140035018]
lea rdx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14000e260
add rsp, 0xc8
ret

Function at 0x14000dae0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140033040]
xor rax, rsp
mov qword [rsp + 0x48], rax
inc dword [0x140035098]
mov dword [0x14003509c], ecx
call fcn.1400157f8
movups xmm0, xmmword [0x1400350d8]
mov rcx, qword [0x140035028]
xor r9d, r9d
movups xmm1, xmmword [0x1400350e8]
lea rdx, [0x140035090]
mov dword [0x140035094], eax
movaps xmmword [0x1400350a0], xmm0
lea rax, [0x140035030]
movups xmm0, xmmword [0x1400350f8]
lea r8d, [r9 + 0x48]
mov dword [rsp + 0x28], socket
movaps xmmword [0x1400350b0], xmm1
movsd xmm1, qword [0x140035108]
movaps xmmword [0x1400350c0], xmm0
movsd qword [0x1400350d0], xmm1
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, qword [0x140035028]
lea rdx, [0x140035040]
xor eax, eax
mov dword [rsp + 0x30], socket
mov qword [0x1400350dc], rax
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov r8d, 0x400
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
movups xmmword [rsp + 0x38], xmm0
call qword [sym.imp.WS2_32.dll_recvfrom]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000e260
add rsp, 0x58
ret
Function at 0x14000ed24
Capabilities:
Parse pe header

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

Function at 0x140016d58
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140016b54