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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5ca0], 0
lea rbx, [rcx + 0x5ca8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x7ff6542999f7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x7ff6542999aa
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.7ff65429bbf0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.7ff654283da0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ca0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cb0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x7ff65448aa54]
cmovne rcx, rax
call qword [sym.imp.ucrtbase.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x7ff6542999ff
mov rcx, rbx
call fcn.7ff654283da0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x7ff654299e80
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x7ff65448aac0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x7ff654299ee3
mov qword [rsp], rbx
lea rbx, [0x7ff6543b9aa0]
nop dword [rax]
cmp r9b, 0x23
jne 0x7ff654299ec3
cmp byte [r8], r9b
jne 0x7ff654299ec3
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 [rbx + rdx*4]
test r9b, r9b
jne 0x7ff654299eb0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c10]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x7ff654299f17
mov r10, qword [r10 + 0x5c18]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x7ff654299f1e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x7ff654299f04
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x7ff6542b28e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [0x7ff65448aac0]
mov r10, rcx
mov r9, qword [rcx + 0x180]
movsxd rax, edx
imul rbx, rax, 0x70
add rbx, qword [rcx + 0x18]
mov dword [rcx + 0x74], edx
test dword [rbx], 0x10000
movss xmm1, dword [rbx + 0x34]
je 0x7ff6542b2923
addss xmm1, dword [rcx + 0x8c]
lea rsi, [r9 + 0x100]
movss dword [rsi], xmm1
movss xmm0, dword [rcx + 0xc0]
addss xmm0, dword [rcx + 0x7c]
movss dword [r9 + 0x118], xmm1
subss xmm1, dword [r9 + 0x20]
movss dword [r9 + 0x104], xmm0
subss xmm1, dword [r9 + 0x144]
movss dword [r9 + 0x148], xmm1
mov eax, dword [rcx + 0x88]
mov dword [r9 + 0x138], eax
movsx eax, byte [rbx + 0x6a]
mov dword [r9 + 0x158], eax
movss dword [r9 + 0x21c], xmm0
mov eax, dword [rbx + 0x34]
mov dword [r9 + 0x218], eax
mov eax, dword [rbx + 0x38]
mov dword [r9 + 0x220], eax
mov eax, dword [rbx + 0x3c]
mov dword [r9 + 0x1bc], eax
movzx eax, byte [rbx + 0x68]
mov byte [r9 + 0xbb], al
cmp byte [rbx + 0x68], 0
je 0x7ff6542b29c3
xor eax, eax
mov dword [rdi + 0x4778], eax
mov dword [rdi + 0x4780], eax
test dword [rcx + 4], 0x100000
je 0x7ff6542b29d7
mov r8d, 2
jmp 0x7ff6542b2a57
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r9 + 0x298]
movss xmm4, dword [rbx + 0x20]
movss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rbx + 0x28]
movss xmm1, dword [rbx + 0x2c]
movups xmmword [r9 + 0x238], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x298]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x58]
mov rcx, qword [rax + 0x60]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx r8d, word [rbx + 0x5c]
mov rdx, qword [r9 + 0x298]
mov rcx, qword [r10 + 0x198]
call fcn.7ff6542a6bb0
cmp byte [rdi + 0x5c98], 0
je 0x7ff6542b2a95
cmp byte [rbx + 0x68], 0
jne 0x7ff6542b2a95
xor r8d, r8d
lea rdx, [0x7ff6543c41b8]
mov rcx, rsi
call fcn.7ff654299a60
mov dword [rdi + 0x5cc8], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x7ff6542b53c0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x7ff65448aac0]
mov rdx, qword [rax + 0x4b38]
cmp ecx, 0xffffffff
jne 0x7ff6542b53da
cmp dword [rdx + 0x74], ecx
cmovne ecx, dword [rdx + 0x74]
cmp ecx, dword [rdx + 0x6c]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x7ff6542b5459
mov r10d, dword [rdx]
lea r8, [0x7ff6543c41a9]
movzx eax, word [rdx + 0x78]
lea r11, [0x7ff6543b9aa0]
not r10d
mov word [rdx + 0x210], cx
mov ecx, r10d
mov byte [rdx + 0x227], 1
mov word [rdx + 0x7a], ax
mov r9b, 0x23
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x7ff6542b5433
cmp byte [r8], r9b
jne 0x7ff6542b5433
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x7ff6542b5420
not ecx
xor edx, edx
jmp fcn.7ff654293f60
ret
Function at 0x7ff65431d8b0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x7ff65431d992
call fcn.7ff65433b460
test al, al
jne 0x7ff65431d992
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x7ff65431d8e2
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.7ff654346780
test rax, rax
je 0x7ff65431d927
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.7ff654346780
mov rsi, rax
test rax, rax
je 0x7ff65431d927
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rsi, [rbx + rdi]
mov edi, 0x1505
cmp rbx, rsi
jae 0x7ff65431d95b
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.7ff654333f10
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x7ff65431d940
mov rsi, qword [rsp + 0x30]
mov rcx, rdi
movabs rax, 0x410410410410411
mul rdi
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rcx, rcx, 0x3f
sub rdi, rcx
mov rax, rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x7ff65432d510
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
cmp byte [rcx + 0xa5e], 0
mov rbp, r9
mov r14, r8
movsxd rsi, edx
mov rdi, rcx
je 0x7ff65432d5db
cmp qword [rcx + 0x270], 0
je 0x7ff65432d58e
mov qword [rsp + 0x40], rbx
call fcn.7ff654317c20
mov dl, 1
mov rcx, rdi
movzx ebx, al
call fcn.7ff654318630
mov rcx, qword [rdi + 0x1e8]
mov r9, rbp
mov qword [rsp + 0x20], rcx
mov r8, r14
mov rcx, rdi
mov edx, esi
call qword [rdi + 0x270]
movzx edx, bl
mov rcx, rdi
call fcn.7ff654318630
mov rbx, qword [rsp + 0x40]
jmp 0x7ff65432d5db
mov ecx, esi
test edx, edx
je 0x7ff65432d59e
sub ecx, 1
je 0x7ff65432d59e
cmp ecx, 1
jne 0x7ff65432d5db
mov r9, qword [rdi + 0x1e0]
lea rax, [0x7ff654387488]
lea rcx, [rsi + rsi*2]
mov edx, 2
add rcx, rax
mov r8d, 1
call sub.ucrtbase.dll_fwrite
mov r9, qword [rdi + 0x1e0]
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call sub.ucrtbase.dll_fwrite
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x7ff654331b20
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, [0x7ff654387fa8]
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
jne 0x7ff654331b4a
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rdx, [0x7ff654387fc0]
mov qword [rsp + 0x48], r14
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
lea rdx, [0x7ff654387fd0]
mov rcx, rbx
mov r14, rax
call sub.ucrtbase.dll_wcspbrk
test rax, rax
je 0x7ff654331bab
mov rcx, rbx
test r14, r14
je 0x7ff654331b98
xor edx, edx
mov r8d, 8
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp qword [sym.imp.kernel32.dll_LoadLibraryW]
test r14, r14
je 0x7ff654331be2
lea rdx, [0x7ff654387fd8]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x7ff654331be2
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
xor edx, edx
mov qword [rsp + 0x50], r15
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetSystemDirectoryW]
mov r15d, eax
test eax, eax
je 0x7ff654331cac
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x40], rsi
mov rdx, rdi
nop dword [rax + rax]
inc rdx
cmp word [rbx + rdx*2], bp
jne 0x7ff654331c10
lea ecx, [rax + 1]
add rcx, rdx
add rcx, rcx
call qword [section._________1]
mov rsi, rax
test rax, rax
je 0x7ff654331c9e
mov edx, r15d
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
je 0x7ff654331c9e
mov rax, rdi
cmp word [rsi + rax*2 + 2], bp
lea rax, [rax + 1]
jne 0x7ff654331c43
mov dword [rsi + rax*2], 0x5c
inc rdi
cmp word [rsi + rdi*2], bp
jne 0x7ff654331c55
add rdi, rdi
sub rdi, rbx
add rdi, rsi
nop word [rax + rax]
movzx eax, word [rbx]
mov word [rbx + rdi], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x7ff654331c70
mov rcx, rsi
test r14, r14
je 0x7ff654331c95
xor edx, edx
mov r8d, 8
call r14
jmp 0x7ff654331c9b
call qword [sym.imp.kernel32.dll_LoadLibraryW]
mov rbp, rax
mov rcx, rsi
call qword [fcn.7ff654378a54]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rax, rbp
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
Function at 0x7ff65433c570
Capabilities:
Convert ip address from string

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x7ff6543ef840]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor edi, edi
mov r14, rdx
mov rbp, rcx
cmp byte [rcx + 0xa5e], dil
je 0x7ff65433c792
cmp byte [rdx + 0x18], dil
mov qword [rsp + 0xc8], rsi
lea rsi, [rdx + 0x18]
je 0x7ff65433c78a
lea r8, [rsp + 0x20]
mov rdx, rsi
mov ecx, 2
call qword [sym.imp.ws2_32.dll_inet_pton]
test eax, eax
jg 0x7ff65433c78a
lea r8, [rsp + 0x70]
mov rdx, rsi
mov ecx, 0x17
call qword [sym.imp.ws2_32.dll_inet_pton]
test eax, eax
jg 0x7ff65433c78a
cmp byte [rsi], dil
lea rdx, [0x7ff654389498]
mov r9d, dword [r14 + 0x14]
mov rcx, rbp
mov qword [rsp + 0x100], rbx
mov rbx, qword [r14]
mov qword [rsp + 0xc0], r15
lea r15, [0x7ff65438948c]
mov r8, r15
cmovne r8, rsi
call fcn.7ff65432d6f0
mov edx, 0x400
lea rcx, [rsp + 0x30]
call fcn.7ff6543173a0
mov edx, 0x400
lea rcx, [rsp + 0x50]
call fcn.7ff6543173a0
test rbx, rbx
je 0x7ff65433c6f7
mov r14d, 0x20
mov ecx, dword [rbx + 4]
cmp ecx, 0x17
je 0x7ff65433c664
cmp ecx, 2
jne 0x7ff65433c6ea
xor eax, eax
mov byte [rsp + 0x80], 0
cmp ecx, 2
lea rsi, [rsp + 0x30]
cmovne rax, r14
add rsi, rax
cmp ecx, 2
je 0x7ff65433c691
cmp ecx, 0x17
jne 0x7ff65433c6ac
mov rdx, qword [rbx + 0x20]
add rdx, 8
jmp 0x7ff65433c699
mov rdx, qword [rbx + 0x20]
add rdx, 4
mov r9d, 0x2e
lea r8, [rsp + 0x80]
call sub.ws2_32.dll_inet_ntop
mov rcx, rsi
call fcn.7ff6543173c0
test rax, rax
je 0x7ff65433c6d0
mov r8d, 2
lea rdx, [0x7ff6543b6c8c]
mov rcx, rsi
call fcn.7ff654317360
mov edi, eax
test edi, edi
jne 0x7ff65433c712
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.7ff654317300
mov edi, eax
test eax, eax
jne 0x7ff65433c712
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x7ff65433c653
lea rcx, [rsp + 0x50]
call fcn.7ff6543173c0
test rax, rax
je 0x7ff65433c723
lea rcx, [rsp + 0x50]
call fcn.7ff65423e540
jmp 0x7ff65433c726
lea rdx, [0x7ff6543894b8]
mov rcx, rbp
call fcn.7ff65432d6f0
jmp 0x7ff65433c766
mov rax, r15
mov r8, rax
lea rdx, [0x7ff6543894d8]
mov rcx, rbp
call fcn.7ff65432d6f0
lea rcx, [rsp + 0x30]
call fcn.7ff6543173c0
test rax, rax
je 0x7ff65433c754
lea rcx, [rsp + 0x30]
call fcn.7ff65423e540
mov r15, rax
mov r8, r15
lea rdx, [0x7ff6543894e8]
mov rcx, rbp
call fcn.7ff65432d6f0
lea rcx, [rsp + 0x30]
call fcn.7ff654317370
lea rcx, [rsp + 0x50]
call fcn.7ff654317370
mov r15, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0x100]
mov rsi, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.7ff6543776b0
add rsp, 0xd0
pop r14
pop rdi
pop rbp
ret
Function at 0x7ff654346f20
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movaps xmmword [rsp + 0x50], xmm6
lea rcx, [rsp + 0x30]
mov rdi, rdx
call fcn.7ff65431dca0
mov rcx, rbx
movups xmm6, xmmword [rax]
call fcn.7ff654344de0
mov rcx, rdi
mov rsi, rax
call fcn.7ff654344de0
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.kernel32.dll_MoveFileExW]
test eax, eax
jne 0x7ff654346fd0
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.7ff65431dca0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.7ff65431dd30
cmp rax, 0x3e8
ja 0x7ff654347001
mov ecx, 1
call qword [sym.imp.kernel32.dll_Sleep]
mov r8d, 1
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.kernel32.dll_MoveFileExW]
test eax, eax
je 0x7ff654346f80
test rsi, rsi
je 0x7ff654346fdd
mov rcx, rsi
call fcn.7ff654378a54
test rbx, rbx
je 0x7ff654346fea
mov rcx, rbx
call fcn.7ff654378a54
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret
test rsi, rsi
je 0x7ff65434700e
mov rcx, rsi
call fcn.7ff654378a54
test rbx, rbx
je 0x7ff65434701b
mov rcx, rbx
call fcn.7ff654378a54
mov eax, 1
jmp 0x7ff654346fec
Function at 0x7ff6543475b0
Capabilities:
Resolve dns

Disassembly:
push rdi
push r12
push r13
push r15
sub rsp, 0x28
mov r13, r9
xor edi, edi
mov qword [r9], rdi
xor r15d, r15d
lea r9, [rsp + 0x68]
call qword [sym.imp.ws2_32.dll_getaddrinfo]
mov r12d, eax
test eax, eax
jne 0x7ff65434774e
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rsi
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x7ff65434772e
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x20], r14
nop
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x7ff65434761e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x7ff654347610
inc rbx
jmp 0x7ff654347620
xor ebx, ebx
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x7ff65434762f
mov ebp, 0x10
jmp 0x7ff65434763d
cmp eax, 0x17
jne 0x7ff6543476d5
mov ebp, 0x1c
cmp qword [rsi + 0x20], 0
je 0x7ff6543476d5
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x7ff6543476d5
cmp rax, rbp
jb 0x7ff6543476d5
lea rcx, [rbp + 0x30]
add rcx, rbx
call qword [section._________1]
mov r14, rax
test rax, rax
je 0x7ff6543476e4
mov ecx, dword [rsi]
mov r8, rbp
mov dword [rax], ecx
mov ecx, dword [rsi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0xc], ecx
lea rcx, [r14 + 0x30]
mov dword [rax + 0x10], ebp
xor eax, eax
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x28], rax
mov qword [r14 + 0x20], rcx
mov rdx, qword [rsi + 0x20]
call sub.VCRUNTIME140.dll_memcpy
test rbx, rbx
je 0x7ff6543476c2
mov rcx, qword [r14 + 0x20]
mov r8, rbx
add rcx, rbp
mov qword [r14 + 0x18], rcx
mov rdx, qword [rsi + 0x18]
call sub.VCRUNTIME140.dll_memcpy
test rdi, rdi
cmove rdi, r14
test r15, r15
je 0x7ff6543476d2
mov qword [r15 + 0x28], r14
mov r15, r14
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x7ff654347600
jmp 0x7ff6543476ea
mov r12d, 8
mov rcx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x58]
test rcx, rcx
je 0x7ff654347704
call qword [sym.imp.ws2_32.dll_FreeAddrInfoW]
test r12d, r12d
je 0x7ff654347729
test rdi, rdi
je 0x7ff654347725
nop
mov rbx, qword [rdi + 0x28]
mov rcx, rdi
call qword [fcn.7ff654378a54]
mov rdi, rbx
test rbx, rbx
jne 0x7ff654347710
xor edi, edi
jmp 0x7ff65434773d
test rdi, rdi
jne 0x7ff65434773d
mov r12d, 0x2af9
mov ecx, r12d
call qword [sym.imp.ws2_32.dll_WSASetLastError]
mov rsi, qword [rsp + 0x60]
mov eax, r12d
mov rbx, qword [rsp + 0x50]
mov qword [r13], rdi
add rsp, 0x28
pop r15
pop r13
pop r12
pop rdi
ret

Function at 0x7ff654347bc0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rbx
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call sub.ucrtbase.dll__beginthreadex
test rax, rax
je 0x7ff654347bf6
cmp rax, 0xffffffffffffffff
cmovne rbx, rax
mov rax, rbx
add rsp, 0x30
pop rbx
ret
add rsp, 0x30
pop rbx
ret
Function at 0x7ff654349ab0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbx, rdx
mov edx, 0x2b
mov rsi, r8
mov rbp, rcx
test r8, r8
je 0x7ff654349b7c
xor r14d, r14d
nop dword [rax]
mov edi, 4
lea rdx, [rsp + 0x50]
cmp rsi, rdi
mov r8d, 4
mov rcx, rbp
cmovb rdi, rsi
call fcn.7ff654326320
mov edx, eax
cmp eax, 4
jne 0x7ff654349b30
cmp byte [0x7ff6544892a0], r14b
jne 0x7ff654349b3a
mov r9d, 2
mov dword [rsp + 0x50], r14d
mov r8d, eax
lea rdx, [rsp + 0x50]
xor ecx, ecx
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb edx, edx
and edx, 2
test edx, edx
jne 0x7ff654349b7c
mov eax, dword [rsp + 0x50]
jmp 0x7ff654349b59
imul eax, dword [0x7ff65448929c], 0x41c64e6d
mov edx, r14d
add eax, 0x3039
mov dword [0x7ff65448929c], eax
ror eax, 0x10
mov dword [rsp + 0x50], eax
test rdi, rdi
je 0x7ff654349b73
sub rsi, rdi
mov byte [rbx], al
inc rbx
shr eax, 8
sub rdi, 1
jne 0x7ff654349b61
mov dword [rsp + 0x50], eax
test rsi, rsi
jne 0x7ff654349ae0
mov rbx, qword [rsp + 0x40]
mov eax, edx
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x7ff654349ba0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
sub rdi, 1
je 0x7ff654349c68
xor ebp, ebp
lea r14, [0x7ff65438cec8]
nop
mov r8d, 4
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.7ff654326320
cmp eax, 4
jne 0x7ff654349c11
cmp byte [0x7ff6544892a0], bpl
jne 0x7ff654349c1b
mov r9d, 2
mov dword [rsp + 0x50], ebp
mov r8d, eax
lea rdx, [rsp + 0x50]
xor ecx, ecx
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
test eax, eax
jne 0x7ff654349c6d
mov ecx, dword [rsp + 0x50]
jmp 0x7ff654349c38
imul ecx, dword [0x7ff65448929c], 0x41c64e6d
add ecx, 0x3039
mov dword [0x7ff65448929c], ecx
ror ecx, 0x10
mov dword [rsp + 0x50], ecx
cmp ecx, 0xfffffffc
jae 0x7ff654349bd0
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
imul eax, eax, 0x3e
sub ecx, eax
movzx eax, byte [rcx + r14]
mov byte [rsi], al
inc rsi
sub rdi, 1
jne 0x7ff654349bd0
mov byte [rsi], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x7ff65434d830
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 [case.0x7ff654327c72.0]
mov rdi, rax
test rax, rax
je 0x7ff65434d8ad
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 0x7ff65434d8d8
cmp ebx, esi
je 0x7ff65434d8d8
cmp ebx, 0x8000
ja 0x7ff65434d8d8
cmp ebx, esi
jb 0x7ff65434d8d3
mov edx, ebx
mov rcx, rdi
call qword [case.0x7ff654327c72.0]
mov rdi, rax
test rax, rax
jne 0x7ff65434d870
mov rcx, rbp
call qword [fcn.7ff654378a54]
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 0x7ff65434d8b8
mov rcx, rdi
jmp 0x7ff65434d8b0
Function at 0x7ff654362b20
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x7ff6543ef840]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, r8
mov rsi, rdx
mov r13, rcx
cmp r8, 4
jb 0x7ff654362cbe
inc rsi
lea rdx, [0x7ff654388118]
mov rcx, rsi
sub rdi, 2
call sub.ucrtbase.dll_strspn
cmp rdi, rax
je 0x7ff654362c2d
cmp byte [rsi + rax], 0x25
lea r14, [rsi + rax]
mov rdi, rax
jne 0x7ff654362cbe
mov r8d, 2
lea rdx, [0x7ff65439243c]
lea rcx, [r14 + 1]
xor ebp, ebp
lea rbx, [r14 + 1]
call sub.ucrtbase.dll_strncmp
test eax, eax
jne 0x7ff654362bb4
movzx eax, byte [r14 + 3]
lea rcx, [r14 + 3]
test al, al
je 0x7ff654362bb4
cmp al, 0x5d
cmovne rbx, rcx
movzx edx, byte [rbx]
test dl, dl
je 0x7ff654362cbe
mov rax, rbp
movzx ecx, dl
cmp dl, 0x5d
je 0x7ff654362be6
cmp rax, 0xf
jge 0x7ff654362be6
inc rbx
mov byte [rsp + rax + 0x20], cl
inc ebp
inc rax
movzx ecx, byte [rbx]
movzx edx, cl
test cl, cl
jne 0x7ff654362bc5
test ebp, ebp
je 0x7ff654362cbe
cmp byte [rbx], 0x5d
jne 0x7ff654362cbe
movsxd rax, ebp
cmp rax, 0x10
jae 0x7ff654362cdf
lea rcx, [rsp + 0x20]
mov byte [rsp + rax + 0x20], 0
call qword [case.0x7ff654327c72.1]
mov qword [r13 + 0x28], rax
test rax, rax
jne 0x7ff654362c27
mov eax, 7
jmp 0x7ff654362cc3
mov word [r14], 0x5d
lea r8, [rsp + 0x20]
mov byte [rdi + rsi], 0
mov rdx, rsi
mov ecx, 0x17
call qword [sym.imp.ws2_32.dll_inet_pton]
cmp eax, 1
jne 0x7ff654362cbe
mov r9d, 0x2e
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov ecx, 0x17
call sub.ws2_32.dll_inet_ntop
test rax, rax
je 0x7ff654362cb6
lea rax, [rsp + 0x30]
mov rdx, 0xffffffffffffffff
inc rdx
cmp byte [rax + rdx], 0
jne 0x7ff654362c74
cmp rdx, rdi
jae 0x7ff654362cb6
lea rax, [rsp + 0x30]
mov r8, rsi
sub r8, rax
lea rcx, [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [r8 + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x7ff654362ca0
mov rdi, rdx
mov byte [rdx + rsi + 1], al
mov byte [rdi + rsi], 0x5d
xor eax, eax
jmp 0x7ff654362cc3
mov eax, 0x16
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.7ff6543776b0
add rsp, 0x70
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.7ff654377c88
int3
Function at 0x7ff654378694
Capabilities:
Parse pe header

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

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 r12
push r14
push r15
sub rsp, 0x30
mov ebx, dword [rsp + 0x70]
lea r15d, [r9 - 0xbf3]
mov edi, edx
lea r14d, [rdx + 0xb9f]
xor edi, 0x313e
mov r12d, r8d
mov eax, edi
xor ebx, 0x1e4f
xor eax, 0x3088
xor r12d, 0x704
mov r10d, edx
mov rbp, rcx
mov esi, edi
cmp ebx, eax
jge 0x1800428cf
mov eax, edi
xor eax, 0x314a
cmp edi, eax
je 0x180042871
mov r9, qword [section..data]
lea eax, [rdi - 0x264]
mov edx, r15d
mov dword [rsp + 0x20], eax
xor edx, 0x10f9
lea r8d, [r14 - 0x10d]
lea ecx, [r10 + 0xb2b]
call fcn.1800415d0
xor r14d, 0x133
lea edi, [rax - 0x962]
jmp 0x1800428cf
mov edx, r14d
and edx, 0x1a04
or edx, 0x21e2
cmp ebx, edx
jge 0x1800428cf
mov rax, qword [section..data]
sub edx, ebx
mov r9d, dword [rax + 0xcc]
lea r8d, [rdx - 1]
add r9d, 0x2000
shr r8d, 2
add r9d, r14d
inc r8d
cmp ebx, r9d
ja 0x1800428c9
mov eax, edi
mov ecx, ebx
sub eax, ebx
cmp ebx, eax
jle 0x1800428c9
mov edx, dword [0x1800e70fc]
xor edx, ebx
add esi, edx
add ecx, 4
cmp ecx, eax
jg 0x1800428c0
sub r8, 1
jne 0x1800428a9
mov eax, r15d
xor eax, 0x1a97
cmp r12d, eax
jle 0x180042921
mov eax, esi
lea r9d, [r14 - 0xa26]
xor eax, 0x3f74
lea edx, [rsi + 0xa7]
lea ecx, [r15 + 0x1a97]
mov dword [rsp + 0x20], eax
lea r8, [0x1800e7010]
call sym.lfvhp697ze.dll_KYHXZ63lc
mov eax, dword [0x1800e7068]
cmp dword [rbp + 0x80], eax
je 0x180042942
xor dword [0x1800e7034], 0x38e75d20
jmp 0x180042942
mov ecx, dword [rbp + 0x58]
sub ecx, dword [rbp + 0xf0]
mov edx, dword [0x1800e70c0]
imul ecx, dword [rbp + 0xc8]
mov eax, ebx
xor rdx, rax
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov rbx, qword [rsp + 0x50]
lea eax, [rdi - 0x373]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r12
ret