joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff6fff41d20
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
lea rdx, [rcx + 0x150]
mov rcx, qword [rcx + 0x140]
call qword [rbx + 0x18]
mov rdx, qword [rbx + 0x1d8]
lea r8, [rbx + 0xc0]
mov rcx, qword [rbx + 0x138]
xor esi, esi
add rdx, 0x10
mov qword [rsp + 0x20], rsi
mov r9d, 8
call qword [rbx + 8]
mov rax, qword [rbx + 0xa0]
mov rdx, qword [rbx + 0xc0]
cmp rdx, qword [rax + 0x30]
jne 0x7ff6fff41d8a
mov rcx, qword [rbx + 0x138]
call qword [rbx + 0x28]
mov rdx, qword [rbx + 0xa0]
mov r9d, 0x3000
mov rax, qword [rbx + 0x48]
mov rcx, qword [rbx + 0x138]
mov dword [rsp + 0x20], 0x40
mov r8d, dword [rdx + 0x50]
mov rdx, qword [rdx + 0x30]
call rax
mov rcx, qword [rbx + 0x138]
mov qword [rbx + 0xb8], rax
test rax, rax
jne 0x7ff6fff41de0
mov edx, 1
call qword [rbx]
xor al, al
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov r9, qword [rbx + 0xa0]
mov rdx, rax
mov r8, qword [rbx + 0xb0]
mov qword [rsp + 0x20], rsi
mov r9d, dword [r9 + 0x54]
call qword [rbx + 0x10]
mov rcx, qword [rbx + 0xa0]
mov edi, esi
movzx eax, word [rcx + 0x14]
lea r9, [rcx + 0x18]
add r9, rax
mov qword [rbx + 0xa8], r9
cmp si, word [rcx + 6]
jae 0x7ff6fff41e74
nop
mov r8d, dword [r9 + 0x14]
mov edx, dword [r9 + 0xc]
add r8, qword [rbx + 0xb0]
add rdx, qword [rbx + 0xb8]
mov rax, qword [rbx + 0x10]
mov r9d, dword [r9 + 0x10]
mov rcx, qword [rbx + 0x138]
mov qword [rsp + 0x20], rsi
call rax
test eax, eax
jne 0x7ff6fff41dce
add qword [rbx + 0xa8], 0x28
inc edi
mov rcx, qword [rbx + 0xa0]
mov r9, qword [rbx + 0xa8]
movzx eax, word [rcx + 6]
cmp edi, eax
jb 0x7ff6fff41e20
mov eax, dword [rcx + 0x28]
add rax, qword [rbx + 0xb8]
mov qword [rbx + 0x1d0], rax
call qword [sym.imp.kernel32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.user32.dll_ShowWindow]
mov r8, qword [rbx + 0xa0]
mov r9d, 8
mov rdx, qword [rbx + 0x1d8]
add r8, 0x30
mov rax, qword [rbx + 0x10]
add rdx, 0x10
mov rcx, qword [rbx + 0x138]
mov qword [rsp + 0x20], rsi
call rax
mov rbx, qword [rsp + 0x40]
test eax, eax
mov rsi, qword [rsp + 0x48]
sete al
add rsp, 0x30
pop rdi
ret
Function at 0x7ff6fff42b70
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x500
mov rax, qword [0x7ff70011f780]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x4d0
call fcn.7ff700033610
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x7ff6fff42c37
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x7ff6fff42c37
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x4ba9e9f0
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x7ff6fff42c32
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x7ff6fff42c10
cmp r8d, 0x848efd9d
je 0x7ff6fff42c3c
test r9d, r9d
jne 0x7ff6fff42bf0
mov rax, qword [rax]
jmp 0x7ff6fff42bc0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
call rax
mov rsi, rax
mov dword [rsp + 0x50], 0x100010
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x7ff6fff42cf7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x7ff6fff42cf7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x13b24430
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x7ff6fff42cf2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x7ff6fff42cd0
cmp r8d, 0x8f4abcd7
je 0x7ff6fff42cfc
test r9d, r9d
jne 0x7ff6fff42cb0
mov rax, qword [rax]
jmp 0x7ff6fff42c80
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rdx, [rsp + 0x20]
add rax, r10
mov rcx, rsi
call rax
test eax, eax
je 0x7ff6fff42d61
cmp qword [rsp + 0x68], 0
jne 0x7ff6fff42d5a
cmp qword [rsp + 0x70], 0
jne 0x7ff6fff42d5a
cmp qword [rsp + 0x78], 0
jne 0x7ff6fff42d5a
cmp qword [rsp + 0x80], 0
jne 0x7ff6fff42d5a
cmp qword [rsp + 0x88], 0
jne 0x7ff6fff42d5a
cmp qword [rsp + 0x90], 0
je 0x7ff6fff42d61
mov eax, 1
jmp 0x7ff6fff42d63
xor eax, eax
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.7ff70000a010
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x7ff6fff44410
Capabilities:
Access peb ldr_data
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x58
mov rax, qword [0x7ff70011f780]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword gs:[0x30]
xorps xmm0, xmm0
mov r11d, edx
movups xmmword [rsp], xmm0
mov rcx, qword [rax + 0x60]
movups xmmword [rsp + 0x10], xmm0
movups xmmword [rsp + 0x20], xmm0
mov r10, qword [rcx + 0x18]
add r10, 0x20
movups xmmword [rsp + 0x30], xmm0
mov r9, qword [r10]
cmp r9, r10
je 0x7ff6fff444ff
nop dword [rax]
mov rax, qword [r9 + 0x50]
test rax, rax
je 0x7ff6fff444f3
xorps xmm0, xmm0
lea rdx, [rsp]
movups xmmword [rsp], xmm0
mov r8d, 0x3f
movups xmmword [rsp + 0x10], xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
nop dword [rax]
movzx ecx, byte [rax]
mov byte [rdx], cl
test cl, cl
je 0x7ff6fff444b2
movzx ecx, byte [rax + 2]
add rax, 4
mov byte [rdx + 1], cl
add rdx, 2
test cl, cl
je 0x7ff6fff444b2
sub r8d, 2
jns 0x7ff6fff44490
movzx eax, byte [rsp]
lea rdx, [rsp]
mov r8d, 0x25
test al, al
je 0x7ff6fff444ee
nop dword [rax]
nop dword [rax + rax]
movsx eax, al
lea rdx, [rdx + 1]
imul ecx, eax, 0x12ca3
movzx eax, byte [rdx]
imul r8d, r8d, 0xd32b
xor r8d, ecx
test al, al
jne 0x7ff6fff444d0
cmp r8d, r11d
je 0x7ff6fff44513
mov r9, qword [r9]
cmp r9, r10
jne 0x7ff6fff44460
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.7ff70000a010
add rsp, 0x58
ret
mov rax, qword [r9 + 0x20]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.7ff70000a010
add rsp, 0x58
ret

Function at 0x7ff6fff44530
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov edi, r8d
mov r9, rdx
test rdx, rdx
je 0x7ff6fff44601
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x7ff6fff44601
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
je 0x7ff6fff44601
add rax, 0x18
je 0x7ff6fff44601
mov eax, dword [rax + 0x70]
add rax, rdx
je 0x7ff6fff44601
mov esi, dword [rax + 0x1c]
xor r10d, r10d
mov r11d, dword [rax + 0x20]
add rsi, rdx
mov ebp, dword [rax + 0x24]
add r11, rdx
mov ebx, dword [rax + 0x18]
add rbp, rdx
test ebx, ebx
je 0x7ff6fff44601
mov eax, dword [r11]
mov r8d, 0x25
add rax, r9
movzx ecx, byte [rax]
test cl, cl
je 0x7ff6fff445de
nop dword [rax]
nop dword [rax + rax]
movsx ecx, cl
lea rax, [rax + 1]
imul edx, ecx, 0x12ca3
movzx ecx, byte [rax]
imul r8d, r8d, 0xd32b
xor r8d, edx
test cl, cl
jne 0x7ff6fff445c0
cmp r8d, edi
je 0x7ff6fff445f1
inc r10d
add r11, 4
cmp r10d, ebx
jb 0x7ff6fff445a1
jmp 0x7ff6fff44601
movsxd rax, r10d
movzx ecx, word [rbp + rax*2]
mov eax, dword [rsi + rcx*4]
add rax, r9
jmp 0x7ff6fff44603
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x7ff6fff4d410
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x7ff6fff4d4f2
call fcn.7ff6fff646d0
test al, al
jne 0x7ff6fff4d4f2
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x7ff6fff4d442
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.7ff6fff6f910
test rax, rax
je 0x7ff6fff4d487
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.7ff6fff6f910
mov rsi, rax
test rax, rax
je 0x7ff6fff4d487
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 0x7ff6fff4d4bb
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.7ff6fff5f290
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x7ff6fff4d4a0
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 0x7ff6fff65500
Capabilities:
Convert ip address from string

Disassembly:
cmp qword [rsp + 0x28], 0
mov qword [r9], 0
jge 0x7ff6fff65515
mov eax, 0xfffffffe
ret
mov qword [rsp + 0x28], r9
mov r9b, 1
jmp fcn.7ff6fff64f30

Function at 0x7ff6fff65840
Capabilities:
Convert ip address from string

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x7ff70011f780]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor edi, edi
mov r14, rdx
mov rbp, rcx
cmp byte [rcx + 0xa97], dil
je 0x7ff6fff65a5f
cmp byte [rdx + 0x18], dil
mov qword [rsp + 0xc8], rsi
lea rsi, [rdx + 0x18]
je 0x7ff6fff65a57
lea r8, [rsp + 0x20]
mov rdx, rsi
lea ecx, [rdi + 2]
call qword [sym.imp.ws2_32.dll_inet_pton]
test eax, eax
jg 0x7ff6fff65a57
lea r8, [rsp + 0x70]
mov rdx, rsi
lea ecx, [rdi + 0x17]
call qword [sym.imp.ws2_32.dll_inet_pton]
test eax, eax
jg 0x7ff6fff65a57
cmp byte [rsi], dil
lea rdx, [0x7ff70003aa70]
mov r9d, dword [r14 + 0x14]
mov rcx, rbp
mov qword [rsp + 0x100], rbx
mov rbx, qword [r14]
mov qword [rsp + 0xc0], r15
lea r15, [0x7ff70003aa64]
mov r8, r15
cmovne r8, rsi
call fcn.7ff6fff5a300
mov edx, 0x400
lea rcx, [rsp + 0x30]
call fcn.7ff6fff4e3d0
mov edx, 0x400
lea rcx, [rsp + 0x50]
call fcn.7ff6fff4e3d0
test rbx, rbx
je 0x7ff6fff659c4
lea r14d, [rdi + 0x20]
nop dword [rax]
mov ecx, dword [rbx + 4]
cmp ecx, 0x17
je 0x7ff6fff65931
cmp ecx, 2
jne 0x7ff6fff659b7
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 0x7ff6fff6595e
cmp ecx, 0x17
jne 0x7ff6fff65979
mov rdx, qword [rbx + 0x20]
add rdx, 8
jmp 0x7ff6fff65966
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.7ff6fff4e3f0
test rax, rax
je 0x7ff6fff6599d
mov r8d, 2
lea rdx, [0x7ff700106cfc]
mov rcx, rsi
call fcn.7ff6fff4e390
mov edi, eax
test edi, edi
jne 0x7ff6fff659df
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.7ff6fff4e340
mov edi, eax
test eax, eax
jne 0x7ff6fff659df
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x7ff6fff65920
lea rcx, [rsp + 0x50]
call fcn.7ff6fff4e3f0
test rax, rax
je 0x7ff6fff659f0
lea rcx, [rsp + 0x50]
call fcn.7ff6fff4e400
jmp 0x7ff6fff659f3
lea rdx, [0x7ff70003aa90]
mov rcx, rbp
call fcn.7ff6fff5a300
jmp 0x7ff6fff65a33
mov rax, r15
mov r8, rax
lea rdx, [0x7ff70003aaa8]
mov rcx, rbp
call fcn.7ff6fff5a300
lea rcx, [rsp + 0x30]
call fcn.7ff6fff4e3f0
test rax, rax
je 0x7ff6fff65a21
lea rcx, [rsp + 0x30]
call fcn.7ff6fff4e400
mov r15, rax
mov r8, r15
lea rdx, [0x7ff70003aab8]
mov rcx, rbp
call fcn.7ff6fff5a300
lea rcx, [rsp + 0x30]
call fcn.7ff6fff4e3a0
lea rcx, [rsp + 0x50]
call fcn.7ff6fff4e3a0
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.7ff70000a010
add rsp, 0xd0
pop r14
pop rdi
pop rbp
ret
Function at 0x7ff6fff700a0
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.7ff6fff4d800
mov rcx, rbx
movups xmm6, xmmword [rax]
call fcn.7ff6fff6df60
mov rcx, rdi
mov rsi, rax
call fcn.7ff6fff6df60
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.kernel32.dll_MoveFileExW]
test eax, eax
jne 0x7ff6fff70150
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.7ff6fff4d800
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.7ff6fff4d890
cmp rax, 0x3e8
ja 0x7ff6fff70181
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 0x7ff6fff70100
test rsi, rsi
je 0x7ff6fff7015d
mov rcx, rsi
call fcn.7ff700014f60
test rbx, rbx
je 0x7ff6fff7016a
mov rcx, rbx
call fcn.7ff700014f60
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 0x7ff6fff7018e
mov rcx, rsi
call fcn.7ff700014f60
test rbx, rbx
je 0x7ff6fff7019b
mov rcx, rbx
call fcn.7ff700014f60
mov eax, 1
jmp 0x7ff6fff7016c
Function at 0x7ff6fff70700
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 0x7ff6fff7089e
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rsi
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x7ff6fff7087e
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x20], r14
nop
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x7ff6fff7076e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x7ff6fff70760
inc rbx
jmp 0x7ff6fff70770
xor ebx, ebx
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x7ff6fff7077d
lea ebp, [rax + 0xe]
jmp 0x7ff6fff70789
cmp eax, 0x17
jne 0x7ff6fff70821
lea ebp, [rax + 5]
cmp qword [rsi + 0x20], 0
je 0x7ff6fff70821
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x7ff6fff70821
cmp rax, rbp
jb 0x7ff6fff70821
lea rcx, [rbp + 0x30]
add rcx, rbx
call qword [section._________1]
mov r14, rax
test rax, rax
je 0x7ff6fff70830
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 fcn.7ff700032f70
test rbx, rbx
je 0x7ff6fff7080e
mov rcx, qword [r14 + 0x20]
mov r8, rbx
add rcx, rbp
mov qword [r14 + 0x18], rcx
mov rdx, qword [rsi + 0x18]
call fcn.7ff700032f70
test rdi, rdi
cmove rdi, r14
test r15, r15
je 0x7ff6fff7081e
mov qword [r15 + 0x28], r14
mov r15, r14
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x7ff6fff70750
jmp 0x7ff6fff70836
mov r12d, 8
mov rcx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x58]
test rcx, rcx
je 0x7ff6fff70850
call qword [sym.imp.ws2_32.dll_FreeAddrInfoW]
test r12d, r12d
je 0x7ff6fff70879
test rdi, rdi
je 0x7ff6fff70875
nop word [rax + rax]
mov rbx, qword [rdi + 0x28]
mov rcx, rdi
call qword [fcn.7ff700014f60]
mov rdi, rbx
test rbx, rbx
jne 0x7ff6fff70860
xor edi, edi
jmp 0x7ff6fff7088d
test rdi, rdi
jne 0x7ff6fff7088d
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 0x7ff6fff70da0
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 0x7ff6fff70e6b
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.7ff6fff53e20
cmp eax, 4
jne 0x7ff6fff70e1c
cmp byte [0x7ff700191dd4], r14b
jne 0x7ff6fff70e28
lea r9d, [rax - 2]
mov dword [rsp + 0x50], r14d
mov r8d, eax
lea rdx, [rsp + 0x50]
xor ecx, ecx
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
mov edx, eax
test eax, eax
jne 0x7ff6fff70e6d
mov eax, dword [rsp + 0x50]
jmp 0x7ff6fff70e47
imul eax, dword [0x7ff700191dd0], 0x41c64e6d
mov edx, r14d
add eax, 0x3039
mov dword [0x7ff700191dd0], eax
rol eax, 0x10
mov dword [rsp + 0x50], eax
test rdi, rdi
je 0x7ff6fff70e62
sub rsi, rdi
nop
mov byte [rbx], al
inc rbx
shr eax, 8
sub rdi, 1
jne 0x7ff6fff70e50
mov dword [rsp + 0x50], eax
test rsi, rsi
jne 0x7ff6fff70dd0
mov eax, edx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x7ff6fff70e80
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 0x7ff6fff70f22
xor ebp, ebp
lea r14, [0x7ff70003e180]
nop
mov r8d, 4
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.7ff6fff53e20
cmp eax, 4
jne 0x7ff6fff70eee
cmp byte [0x7ff700191dd4], bpl
jne 0x7ff6fff70f3a
lea r9d, [rax - 2]
mov dword [rsp + 0x50], ebp
mov r8d, eax
lea rdx, [rsp + 0x50]
xor ecx, ecx
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
jne 0x7ff6fff70f59
mov eax, ebp
test eax, eax
jne 0x7ff6fff70f27
mov ecx, dword [rsp + 0x50]
cmp ecx, 0xfffffffc
jae 0x7ff6fff70eb0
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 0x7ff6fff70eb0
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
imul ecx, dword [0x7ff700191dd0], 0x41c64e6d
add ecx, 0x3039
mov dword [0x7ff700191dd0], ecx
rol ecx, 0x10
mov dword [rsp + 0x50], ecx
jmp 0x7ff6fff70ef6
mov eax, 2
jmp 0x7ff6fff70f27
Function at 0x7ff6fff74080
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.0x7ff6fff5627f.0]
mov rdi, rax
test rax, rax
je 0x7ff6fff740fd
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 0x7ff6fff74128
cmp ebx, esi
je 0x7ff6fff74128
cmp ebx, 0x8000
ja 0x7ff6fff74128
cmp ebx, esi
jb 0x7ff6fff74123
mov edx, ebx
mov rcx, rdi
call qword [case.0x7ff6fff5627f.0]
mov rdi, rax
test rax, rax
jne 0x7ff6fff740c0
mov rcx, rbp
call qword [fcn.7ff700014f60]
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 0x7ff6fff74108
mov rcx, rdi
jmp 0x7ff6fff74100

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x7ff70011f780]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, qword [rcx + 0x20]
lea r8, [rsp + 0x20]
mov rdi, rcx
lea rdx, [rsp + 0x30]
mov rbx, qword [rsi + 0x1e0]
mov rcx, rbx
mov qword [rsp + 0x28], 0xffffffffffffffff
mov dword [rsp + 0x20], 0x80
call qword [sym.imp.ws2_32.dll_getsockname]
test eax, eax
jne 0x7ff6fff7aa7c
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_accept]
mov qword [rsp + 0x28], rax
jmp 0x7ff6fff7aa81
mov rax, qword [rsp + 0x28]
mov rcx, rdi
cmp rax, 0xffffffffffffffff
jne 0x7ff6fff7aaa0
lea rdx, [0x7ff700040880]
call fcn.7ff6fff5a210
mov eax, 0x1e
jmp 0x7ff6fff7ab2c
lea rdx, [0x7ff7000408a8]
call fcn.7ff6fff5a300
mov byte [rsi + 0x305], 0
mov edx, 1
mov rcx, qword [rsp + 0x28]
call fcn.7ff6fff97180
lea r9, [rsp + 0x28]
mov r8d, 1
mov rdx, rsi
mov rcx, rdi
call fcn.7ff6fff8c2f0
test eax, eax
jne 0x7ff6fff7ab2c
cmp qword [rdi + 0x270], 0
je 0x7ff6fff7ab2a
mov dl, 1
mov rcx, rdi
call fcn.7ff6fff48040
mov rdx, qword [rsp + 0x28]
mov r8d, 1
mov rcx, qword [rdi + 0x278]
call qword [rdi + 0x270]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.7ff6fff48040
test ebx, ebx
je 0x7ff6fff7ab2a
mov rdx, rsi
mov rcx, rdi
call fcn.7ff6fff7b050
mov eax, 0x2a
jmp 0x7ff6fff7ab2c
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.7ff70000a010
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x7ff6fff7c650
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x198]
mov rbx, rcx
mov rdx, qword [rcx + 0x20]
cmp dword [rax + 0x10], 0
je 0x7ff6fff7c680
mov byte [rdx + 0x6f6], 0xd
mov r8b, 0xd
mov dl, 1
add rsp, 0x20
pop rbx
jmp fcn.7ff6fff7c770
cmp byte [rcx + 0xa87], 0
je 0x7ff6fff7c695
xor edx, edx
add rsp, 0x20
pop rbx
jmp fcn.7ff6fff7d190
cmp byte [rcx + 0xa8a], 0
je 0x7ff6fff7c713
mov r9, qword [rdx + 0x6a0]
test r9, r9
jne 0x7ff6fff7c6d8
mov r9, qword [rcx + 0x738]
test r9, r9
jne 0x7ff6fff7c6cf
cmp byte [rbx + 0x133b], 0
lea rcx, [0x7ff700040bf0]
lea r9, [0x7ff70003fcf4]
cmovne r9, rcx
lea r8, [0x7ff700040bf8]
jmp 0x7ff6fff7c6ef
cmp byte [rcx + 0x1340], 0
lea r8, [0x7ff700040c00]
jne 0x7ff6fff7c6ef
lea r8, [0x7ff700040c10]
add rdx, 0x600
mov rcx, rbx
call fcn.7ff6fff9c510
test eax, eax
jne 0x7ff6fff7c71d
mov rcx, qword [rbx + 0x20]
mov byte [rcx + 0x6f6], 0x1d
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.7ff6fff7d0e0
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x198]
add rdx, 0x600
mov rbx, rcx
cmp dword [rax + 0x10], 0
je 0x7ff6fff7ca4b
cmp qword [rdx + 0xa0], 0
je 0x7ff6fff7ca4b
xor r9d, r9d
lea r8, [0x7ff700040c20]
call fcn.7ff6fff9c510
test eax, eax
jne 0x7ff6fff7ca55
mov rcx, qword [rbx + 0x20]
mov byte [rcx + 0x6f6], 0x1a
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.7ff6fff7c650
add rsp, 0x20
pop rbx
ret
Function at 0x7ff6fff7cd10
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbp, qword [rcx + 0x20]
lea eax, [rdx - 0xc8]
xor edi, edi
movzx esi, r8b
mov rbx, rcx
cmp eax, 0x64
jb 0x7ff6fff7cd50
lea rdx, [0x7ff700040f08]
call fcn.7ff6fff5a210
lea eax, [rdi + 0x11]
jmp 0x7ff6fff7ceb5
cmp edx, 0xc8
je 0x7ff6fff7cd67
mov r8d, edx
lea rdx, [0x7ff700040f28]
call fcn.7ff6fff5a300
cmp sil, 0x13
jne 0x7ff6fff7cd7d
mov rdx, rbp
mov rcx, rbx
call fcn.7ff6fff7cc10
jmp 0x7ff6fff7ceb1
cmp sil, 0x14
jne 0x7ff6fff7ce93
cmp byte [rbx + 0x6e0], 2
mov rbp, qword [rbx + 0x20]
jne 0x7ff6fff7cdfb
mov rax, qword [rbx + 0x198]
mov rcx, qword [rax]
test rcx, rcx
je 0x7ff6fff7cdfb
xor r9d, r9d
mov qword [rsp + 0x40], rdi
lea r8, [rsp + 0x40]
mov dword [rsp + 0x20], 3
xor edx, edx
call fcn.7ff6fff89cb0
test eax, eax
jne 0x7ff6fff7ceb1
mov rcx, qword [rsp + 0x40]
lea edx, [rax + 0x2f]
call fcn.7ff70000c5e0
test rax, rax
je 0x7ff6fff7cdf0
mov rdi, qword [rsp + 0x40]
mov ecx, 1
sub rax, rdi
cmovne rcx, rax
mov byte [rcx + rdi], 0
jmp 0x7ff6fff7cdfb
mov rcx, qword [rsp + 0x40]
call qword [fcn.7ff700014f60]
mov rdx, qword [rbx + 0x738]
test rdx, rdx
jne 0x7ff6fff7ce20
cmp byte [rbx + 0x133b], 0
lea rax, [0x7ff700040bf0]
lea rdx, [0x7ff70003fcf4]
cmovne rdx, rax
lea r8, [0x7ff70006cce8]
test rdi, rdi
mov r9, r8
lea rax, [0x7ff700106f20]
cmovne r9, rdi
lea rcx, [0x7ff700039324]
cmovne r8, rax
call fcn.7ff6fff625c0
mov rcx, rdi
mov rsi, rax
call qword [fcn.7ff700014f60]
test rsi, rsi
jne 0x7ff6fff7ce5e
lea edi, [rsi + 0x1b]
jmp 0x7ff6fff7ceb3
lea rdx, [rbp + 0x600]
mov r9, rsi
lea r8, [0x7ff700106cf8]
mov rcx, rbx
call fcn.7ff6fff9c510
mov rcx, rsi
mov edi, eax
call qword [fcn.7ff700014f60]
test edi, edi
jne 0x7ff6fff7ceb3
mov rcx, qword [rbx + 0x20]
mov byte [rcx + 0x6f6], 0x1f
jmp 0x7ff6fff7ceb3
cmp sil, 0x15
jne 0x7ff6fff7ce9e
mov r8b, 0xd
jmp 0x7ff6fff7cea7
cmp sil, 0x16
jne 0x7ff6fff7ceb3
mov r8b, 0xe
mov dl, 1
mov rcx, rbx
call fcn.7ff6fff7c770
mov edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret