joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff65d1d4bf0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov ebx, 1
mov edx, ebx
xor ecx, ecx
xor ebp, ebp
call qword [0x7ff65d260ef0]
mov rdi, rax
test rax, rax
je 0x7ff65d1d4c6d
nop word [rax + rax]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
mov rbp, rdi
mov esi, ebx
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
mov ebx, eax
test eax, eax
je 0x7ff65d1d4c98
cmp ebx, esi
je 0x7ff65d1d4c98
cmp ebx, 0x8000
ja 0x7ff65d1d4c98
cmp ebx, esi
jb 0x7ff65d1d4c93
mov edx, ebx
mov rcx, rdi
call qword [0x7ff65d260ef0]
mov rdi, rax
test rax, rax
jne 0x7ff65d1d4c30
mov rcx, rbp
call qword [fcn.7ff65d1f99be]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rax, rdi
jmp 0x7ff65d1d4c78
mov rcx, rdi
jmp 0x7ff65d1d4c70

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x7ff65d260f40]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbp, qword [rcx + 0x4c8]
lea r8, [rsp + 0x20]
mov rsi, qword [rcx]
lea rdx, [rsp + 0x30]
mov rdi, rcx
mov dword [rsp + 0x20], 0x80
mov rcx, rbp
mov rbx, 0xffffffffffffffff
call qword [sym.imp.ws2_32.dll_getsockname]
test eax, eax
jne 0x7ff65d1db0ea
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.ws2_32.dll_accept]
mov rbx, rax
mov rdx, rbp
mov rcx, rdi
call fcn.7ff65d1bfe20
mov rcx, rsi
cmp rbx, 0xffffffffffffffff
jne 0x7ff65d1db10f
lea rdx, [0x7ff65d20ebd0]
call fcn.7ff65d1bf1c0
lea eax, [rbx + 0x1f]
jmp 0x7ff65d1db188
lea rdx, [0x7ff65d20ebf8]
call fcn.7ff65d1bf340
mov edx, 1
mov byte [rdi + 0x660], 0
mov rcx, rbx
mov qword [rdi + 0x4c8], rbx
call fcn.7ff65d1cd940
mov byte [rdi + 0xb2c], 1
cmp qword [rsi + 0x728], 0
je 0x7ff65d1db186
mov dl, 1
mov rcx, rsi
call fcn.7ff65d1af230
mov rcx, qword [rsi + 0x730]
mov r8d, 1
mov rdx, rbx
call qword [rsi + 0x728]
xor edx, edx
mov rcx, rsi
mov ebx, eax
call fcn.7ff65d1af230
test ebx, ebx
je 0x7ff65d1db186
mov rcx, rdi
call fcn.7ff65d1db6a0
mov eax, 0x2a
jmp 0x7ff65d1db188
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.7ff65d1f8c80
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
add rcx, 0xa00
cmp byte [rax + 0xf09], 0
jne 0x7ff65d1dc1a5
cmp dword [rax + 0x9f8], 0
je 0x7ff65d1dc1d1
mov r8, qword [rcx + 0x88]
test r8, r8
je 0x7ff65d1dc1d1
lea rdx, [0x7ff65d20efc0]
call fcn.7ff65d1f31d0
test eax, eax
jne 0x7ff65d1dc1de
mov dword [rbx + 0xab8], 0x12
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.7ff65d1dd010
add rsp, 0x20
pop rbx
ret
Function at 0x7ff65d1dc990
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
mov rax, qword [rcx + 0x1e0]
cmp dword [rax + 0x10], 0
je 0x7ff65d1dc9c8
mov r8d, 0xd
mov dword [rbx + 0xab8], 0xd
mov dl, 1
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.7ff65d1dcae0
cmp byte [rcx + 0xf0e], 0
je 0x7ff65d1dc9e0
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.7ff65d1dd4d0
cmp byte [rcx + 0xf11], 0
je 0x7ff65d1dca81
mov r8, qword [rbx + 0xa88]
test r8, r8
jne 0x7ff65d1dca3b
mov r8, qword [rcx + 0xc08]
test r8, r8
jne 0x7ff65d1dca1e
cmp byte [rcx + 0xf0d], 0
lea rax, [0x7ff65d20ef80]
lea r8, [0x7ff65d20e0cc]
cmovne r8, rax
lea rcx, [rbx + 0xa00]
lea rdx, [0x7ff65d20ef88]
call fcn.7ff65d1f31d0
test eax, eax
je 0x7ff65d1dca71
add rsp, 0x20
pop rbx
ret
cmp byte [rcx + 0xf1d], 0
lea rcx, [rbx + 0xa00]
je 0x7ff65d1dca61
lea rdx, [0x7ff65d20ef90]
call fcn.7ff65d1f31d0
test eax, eax
je 0x7ff65d1dca71
add rsp, 0x20
pop rbx
ret
lea rdx, [0x7ff65d20efa0]
call fcn.7ff65d1f31d0
test eax, eax
jne 0x7ff65d1dca8e
mov dword [rbx + 0xab8], 0x1d
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.7ff65d1dd440
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
mov rdx, qword [rax + 0x1e0]
cmp dword [rdx + 0x10], 0
je 0x7ff65d1dce1d
cmp qword [rcx + 0xa88], 0
je 0x7ff65d1dce1d
add rcx, 0xa00
lea rdx, [0x7ff65d20efb0]
xor r8d, r8d
call fcn.7ff65d1f31d0
test eax, eax
jne 0x7ff65d1dce27
mov dword [rbx + 0xab8], 0x1a
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.7ff65d1dc990
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
add rcx, 0xa00
mov rax, qword [rbx]
mov rdx, qword [rax + 0x1e0]
cmp dword [rdx + 0x10], 1
jne 0x7ff65d1dcffc
mov r8, qword [rcx + 0x88]
test r8, r8
je 0x7ff65d1dcffc
lea rdx, [0x7ff65d20efb8]
call fcn.7ff65d1f31d0
test eax, eax
jne 0x7ff65d1dd009
mov dword [rbx + 0xab8], 0x17
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.7ff65d1dcdd0
add rsp, 0x20
pop rbx
ret

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

Disassembly:
mov r9, qword [rcx]
cmp byte [r9 + 0xf1c], 0
je 0x7ff65d1dd068
cmp qword [rcx + 0xa88], 0
je 0x7ff65d1dd068
cmp byte [r9 + 0xf0b], 0
mov eax, 0x41
mov edx, 0x49
cmovne edx, eax
movsx eax, byte [rcx + 0xaa8]
cmp eax, edx
je 0x7ff65d1dd068
mov rax, qword [r9 + 0x1e0]
mov r8d, 0x13
mov dword [rax + 0x10], 1
movzx edx, byte [r9 + 0xf0b]
jmp fcn.7ff65d1db8b0
jmp fcn.7ff65d1dcfb0
Function at 0x7ff65d1dd070
Capabilities:
Check http status code

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
lea eax, [rdx - 0xc8]
mov rdi, rcx
mov rcx, qword [rcx]
mov esi, r8d
cmp eax, 0x64
jb 0x7ff65d1dd0a5
lea rdx, [0x7ff65d20f2e0]
call fcn.7ff65d1bf1c0
lea eax, [rbx + 0x11]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
cmp edx, 0xc8
je 0x7ff65d1dd0bc
mov r8d, edx
lea rdx, [0x7ff65d20f300]
call fcn.7ff65d1bf340
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r14
cmp esi, 0x13
jne 0x7ff65d1dd0d8
mov rcx, rdi
call fcn.7ff65d1dcfb0
jmp 0x7ff65d1dd20f
cmp esi, 0x14
jne 0x7ff65d1dd1f1
mov rsi, qword [rdi]
mov rbp, rbx
cmp dword [rsi + 0xba0], 2
jne 0x7ff65d1dd159
mov rax, qword [rsi + 0x1e0]
mov rdx, qword [rax]
test rdx, rdx
je 0x7ff65d1dd159
mov byte [rsp + 0x28], 1
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rcx, rsi
mov qword [rsp + 0x50], rbx
call fcn.7ff65d1a7f20
test eax, eax
jne 0x7ff65d1dd20f
mov rcx, qword [rsp + 0x50]
lea edx, [rax + 0x2f]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x7ff65d1dd14e
mov rbp, qword [rsp + 0x50]
mov ecx, 1
sub rax, rbp
cmovne rcx, rax
mov byte [rcx + rbp], bl
jmp 0x7ff65d1dd159
mov rcx, qword [rsp + 0x50]
call qword [fcn.7ff65d1f99be]
mov rdx, qword [rsi + 0xc08]
test rdx, rdx
jne 0x7ff65d1dd17d
cmp byte [rsi + 0xf0d], bl
lea rax, [0x7ff65d20ef80]
lea rdx, [0x7ff65d20e0cc]
cmovne rdx, rax
lea r8, [0x7ff65d1febb4]
test rbp, rbp
mov r9, r8
lea rax, [0x7ff65d1ff554]
cmovne r9, rbp
lea rcx, [0x7ff65d209998]
cmovne r8, rax
call fcn.7ff65d1ad160
mov rcx, rbp
mov r14, rax
call qword [fcn.7ff65d1f99be]
test r14, r14
jne 0x7ff65d1dd1bc
lea ebx, [r14 + 0x1b]
jmp 0x7ff65d1dd211
lea rcx, [rdi + 0xa00]
mov r8, r14
lea rdx, [0x7ff65d1ff2bc]
call fcn.7ff65d1f31d0
mov rcx, r14
mov esi, eax
call qword [fcn.7ff65d1f99be]
test esi, esi
je 0x7ff65d1dd1e5
mov ebx, esi
jmp 0x7ff65d1dd211
mov dword [rdi + 0xab8], 0x1f
jmp 0x7ff65d1dd211
cmp esi, 0x15
jne 0x7ff65d1dd1fc
lea r8d, [rsi - 8]
jmp 0x7ff65d1dd205
cmp esi, 0x16
jne 0x7ff65d1dd211
lea r8d, [rsi - 8]
mov dl, 1
mov rcx, rdi
call fcn.7ff65d1dcae0
mov ebx, eax
mov r14, qword [rsp + 0x60]
mov eax, ebx
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x7ff65d1e2b00
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x7ff65d1e2c24
cmp r8d, 0xff
jne 0x7ff65d1e2b61
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x7ff65d1e2b4b
lea r8, [0x7ff65d140000]
mov r9, qword [r8 + r10*8 + 0xcfcd0]
mov r8, rdx
lea rdx, [0x7ff65d210758]
add rsp, 0x38
jmp fcn.7ff65d1bf340
mov r8, rdx
mov r9d, r10d
lea rdx, [0x7ff65d210768]
add rsp, 0x38
jmp fcn.7ff65d1bf340
cmp r8d, 0xfb
jne 0x7ff65d1e2b73
lea r9, [0x7ff65d2106e4]
jmp 0x7ff65d1e2bb1
cmp r8d, 0xfc
jne 0x7ff65d1e2b85
lea r9, [0x7ff65d2106ec]
jmp 0x7ff65d1e2bb1
cmp r8d, 0xfd
jne 0x7ff65d1e2b97
lea r9, [0x7ff65d2106f4]
jmp 0x7ff65d1e2bb1
xor r9d, r9d
lea rax, [0x7ff65d2106f8]
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x7ff65d1e2c0d
cmp r10d, 0x27
jg 0x7ff65d1e2be4
lea r8, [0x7ff65d140000]
mov r8, qword [r8 + r10*8 + 0xd02f0]
test r8, r8
jne 0x7ff65d1e2bf4
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, [0x7ff65d210790]
call fcn.7ff65d1bf340
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x7ff65d1e2bcb
lea r8, [0x7ff65d210774]
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, [0x7ff65d210780]
call fcn.7ff65d1bf340
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
invalid

Function at 0x7ff65d1e2f70
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 0x7ff65d1e2fcf
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
lea rdx, [0x7ff65d2107b0]
mov rcx, rbp
mov r8d, eax
call fcn.7ff65d1bf1c0
mov rcx, qword [rbx]
lea rdx, [0x7ff65d2107cc]
mov r9d, edi
mov r8d, esi
call fcn.7ff65d1e2b00
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x7ff65d1e3180
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x7ff65d1e3328
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 0x7ff65d1e31e5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x7ff65d1e31e5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x7ff65d1e31e5
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.ws2_32.dll_htons_1]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.ws2_32.dll_htons_1]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x7ff65d1e321c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x7ff65d1e3272
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x7ff65d1e3272
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x7ff65d1e3272
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x7ff65d1e3272
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x7ff65d1e3272
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.7ff65d1e2c30
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 0x7ff65d1e32d4
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
lea rdx, [0x7ff65d2107b0]
mov rcx, rbp
mov r8d, eax
call fcn.7ff65d1bf1c0
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.7ff65d1e3000
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 0x7ff65d1e3320
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
lea rdx, [0x7ff65d2107b0]
mov rcx, rbp
mov r8d, eax
call fcn.7ff65d1bf1c0
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x7ff65d1e4a90
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x7ff65d260f40]
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 0x7ff65d1e4b25
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 0x7ff65d1e4b86
lea rdx, [0x7ff65d211040]
mov rcx, rdi
call fcn.7ff65d1bf1c0
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.7ff65d1f8c80
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 0x7ff65d1e4c41
sub ecx, 1
je 0x7ff65d1e4cb4
sub ecx, 1
je 0x7ff65d1e4bf0
cmp ecx, 1
je 0x7ff65d1e4bd3
lea r8, [0x7ff65d211070]
mov rcx, rdi
lea rdx, [0x7ff65d1ff2bc]
call fcn.7ff65d1bf1c0
jmp 0x7ff65d1e4cb4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.7ff65d1e47c0
test eax, eax
je 0x7ff65d1e4cb4
jmp 0x7ff65d1e4b5a
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 0x7ff65d1e4cb4
sub rax, rsi
cmp rax, rbp
jae 0x7ff65d1e4cb4
mov r8, rsi
lea rdx, [0x7ff65d211060]
mov rcx, rdi
call fcn.7ff65d1bf340
jmp 0x7ff65d1e4cb4
cmp r8d, 4
jle 0x7ff65d1e4cb4
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 0x7ff65d1e4cb4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.7ff65d1bf0e0
mov esi, eax
test eax, eax
je 0x7ff65d1e4c93
mov edx, 5
mov rcx, rbx
call fcn.7ff65d1e5780
mov eax, esi
jmp 0x7ff65d1e4b5a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.7ff65d1cdbb0
mov rcx, r14
call fcn.7ff65d1cde90
test eax, eax
je 0x7ff65d1e4b58
mov edx, 5
mov rcx, rbx
call fcn.7ff65d1e5780
mov eax, 0x2a
jmp 0x7ff65d1e4b5a
Function at 0x14001d380
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp rdx, 1
je 0x14001d3c2
mov rdi, rdx
lea rax, [rdx - 1]
test rdx, rax
je 0x14001d3a7
mov rcx, rdi
call fcn.140058560
mov rdi, rax
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x14001d3c9
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x1400a9850
mov edi, 2
jmp 0x14001d3a7
jb 0x14001d3d3
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rsi + 0x18]
test rax, rax
js 0x14001d3e3
cvtsi2ss xmm0, rax
jmp 0x14001d3f8
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rsi + 0x20]
call fcn.1400a7ca0
cvttss2si rcx, xmm0
movss xmm1, dword [0x1400f3460]
movaps xmm2, xmm0
subss xmm2, xmm1
cvttss2si rax, xmm2
btc rax, 0x3f
ucomiss xmm0, xmm1
cmovb rax, rcx
cmp rbx, 3
jb 0x14001d4aa
mov rcx, rbx
shr rcx, 1
movabs r8, 0x5555555555555555
and r8, rcx
mov rdx, rbx
sub rdx, r8
movabs r8, 0x3333333333333333
mov rcx, rdx
shr rcx, 2
and rdx, r8
and rcx, r8
add rcx, rdx
mov rdx, rcx
shr rdx, 4
add rdx, rcx
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rdx
movabs rdx, 0x101010101010101
imul rdx, rcx
shr rdx, 0x38
cmp edx, 1
ja 0x14001d4aa
cmp rax, 2
jb 0x14001d4b2
dec rax
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
jmp 0x14001d4b2
mov rcx, rax
call fcn.140058560
cmp rdi, rax
cmovb rdi, rax
cmp rdi, rbx
jae 0x14001d3cb
jmp 0x14001d3b0
Function at 0x14001f330
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rdx
mov bl, byte [rbp + 0x68]
test byte [r9 + 8], 1
jne 0x14001f383
mov al, byte [rbp + 0x60]
movzx edx, bl
mov rbx, qword [rcx]
mov dword [rsp + 0x28], edx
mov byte [rsp + 0x20], al
mov rdx, rsi
mov r8, rdi
call qword [rbx + 0x30]
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea r14, [rbp - 0x20]
mov rcx, r9
mov rdx, r14
call fcn.140058e10
lea rdx, [0x140113620]
mov rcx, r14
call fcn.1400595e0
mov r14, rax
mov rcx, qword [rbp - 0x20]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x14001f3bc
mov rax, qword [rcx]
call qword [rax + 8]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rbp - 0x20]
mov qword [r15 + 0x10], rax
movaps xmm0, xmmword [0x1400f2f80]
movaps xmmword [r15], xmm0
mov rax, qword [r14]
xor bl, 1
movzx ebx, bl
mov rcx, r14
mov rdx, r15
call qword [rax + rbx*8 + 0x28]
movzx r9d, byte [r15 + 0x17]
test r9b, r9b
mov rcx, qword [r15]
mov r8, qword [r15 + 8]
mov rax, r9
cmovs rax, r8
test rax, rax
je 0x14001f473
test r9b, r9b
mov rbx, r15
cmovs rbx, rcx
test rdi, rdi
je 0x14001f461
mov al, byte [rbx]
movzx eax, al
mov rcx, qword [rdi + 0x30]
cmp rcx, qword [rdi + 0x38]
je 0x14001f465
lea rdx, [rcx + 1]
mov qword [rdi + 0x30], rdx
mov byte [rcx], al
cmp eax, 0xffffffff
jne 0x14001f436
xor edi, edi
mov r9b, byte [rbp - 9]
mov rcx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x18]
inc rbx
test r9b, r9b
mov rax, r15
cmovs rax, rcx
movzx edx, r9b
cmovs rdx, r8
add rdx, rax
cmp rbx, rdx
jne 0x14001f411
jmp 0x14001f473
xor edi, edi
jmp 0x14001f442
mov r8, qword [rdi]
mov rcx, rdi
mov edx, eax
call qword [r8 + 0x60]
jmp 0x14001f42f
shr r9b, 7
mov qword [rsi], rdi
test r9b, r9b
je 0x14001f373
call fcn.14007b788
jmp 0x14001f373

Function at 0x1400279f0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x14010e038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x140114358]
test rdi, rdi
jne 0x140027a93
mov ecx, 0x48
call fcn.14007b74c
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov ecx, 0x18
call fcn.14007b74c
mov qword [rsi + 0x10], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x20], rcx
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x18], rcx
lea rax, [rsi + 0x30]
movups xmmword [rsi + 0x30], xmm6
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x40], 1
mov qword [0x140114358], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140027ab5
mov rcx, rax
call fcn.1400952c0
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.140027ac0
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14007c600
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
int3
Function at 0x140028bb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rax, qword [0x14010e038]
xor rax, rsp
mov qword [rsp + 0x78], rax
movzx eax, byte [0x140114360]
and eax, 1
neg rax
cmp rax, 0xfffffffffffffffd
je 0x140028d57
mov qword [rsp + 0x40], rdx
mov rbx, qword [rcx]
mov qword [rsp + 0x38], rcx
mov rdi, qword [rcx + 8]
xor r13d, r13d
lea r12, [0x1400f5870]
movabs rcx, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x1400f2f80]
lea rsi, [rsp + 0x60]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x48], rbx
mov rbx, qword [rsp + 0x48]
mov rax, r13
shl rax, 4
mov qword [rsp + 0x70], rcx
movaps xmmword [rsp + 0x60], xmm6
mov rdx, qword [rax + r12]
mov rbp, qword [rax + r12 + 8]
mov byte [rsp + 0x77], bpl
mov r8, rbp
add r8, rbp
mov r15, rsi
mov rcx, rsi
call fcn.14007eab0
mov word [rsp + rbp*2 + 0x60], 0
movzx eax, byte [rsp + 0x77]
mov rcx, rax
test al, al
jns 0x140028c79
mov rcx, qword [rsp + 0x68]
cmp rdi, rcx
jb 0x140028db1
mov r14b, 1
test rcx, rcx
mov rsi, r15
je 0x140028dbc
mov rdx, rsi
test al, al
jns 0x140028c9d
mov rdx, qword [rsp + 0x60]
xor ebp, ebp
movzx edi, word [rbx + rbp*2]
cmp di, word [rdx + rbp*2]
jne 0x140028cee
inc rbp
cmp rcx, rbp
jne 0x140028c9f
mov rbp, rcx
test al, al
js 0x140028dc3
test r14b, r14b
jne 0x140028cf8
mov qword [rsp + 0x28], rbp
inc r13
movzx eax, byte [0x140114360]
xor rax, 3
cmp r13, rax
mov rdi, qword [rsp + 0x30]
movabs rcx, 0xaaaaaaaaaaaaaaaa
jb 0x140028c31
jmp 0x140028d57
xor r14d, r14d
mov rbp, qword [rsp + 0x28]
jmp 0x140028cb4
test rbp, rbp
je 0x140028d57
mov rsi, qword [rsp + 0x38]
cmp rbp, qword [rsi + 8]
mov rdi, qword [rsp + 0x40]
je 0x140028d57
lea rax, [0x1400f58a0]
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], 1
movups xmm0, xmmword [rsi]
lea rcx, [rsp + 0x50]
movaps xmmword [rcx], xmm0
xor r8d, r8d
call fcn.140062020
mov rdx, qword [rsi + 8]
sub rdx, rbp
jb 0x140028dd5
sub rax, rbp
mov rcx, qword [rdi + 8]
cmp rdx, rax
cmovb rax, rdx
cmp rax, rcx
je 0x140028d84
xor ebx, ebx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14007c600
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov bl, 1
test rcx, rcx
je 0x140028d59
mov rax, qword [rdi]
add rbp, rbp
add rbp, qword [rsi]
xor edx, edx
mov rdi, rbp
movzx ebp, word [rbp + rdx*2]
cmp bp, word [rax + rdx*2]
jne 0x140028d57
inc rdx
cmp rcx, rdx
mov rbp, rdi
jne 0x140028d96
jmp 0x140028d59
xor r14d, r14d
mov rsi, r15
jmp 0x140028cf1
xor ebp, ebp
jmp 0x140028cb4
mov rcx, qword [rsp + 0x60]
call fcn.14007b788
mov rsi, r15
jmp 0x140028cbc
int3