joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c9870
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rsi, rcx
mov rdi, rdx
mov r15d, 8
sub rsi, r8
mov rbx, r8
mov rdx, r8
mov r8d, r15d
mov r14, rcx
mov rax, qword [rsi + rdx]
xor qword [rdx], rax
add rdx, r15
sub r8, 1
jne 0x1400c98a3
cmp rdi, 1
jbe 0x1400c98f6
add rsi, 0x40
lea rbp, [rdi - 1]
mov rcx, rbx
call fcn.1400ca17c
mov rcx, rbx
call fcn.1400ca078
call fcn.1400c9b80
mov rcx, rbx
mov rdx, r15
mov rax, qword [rsi + rcx]
xor qword [rcx], rax
add rcx, r15
sub rdx, 1
jne 0x1400c98dc
add rsi, 0x40
sub rbp, 1
jne 0x1400c98c1
mov rcx, rbx
call fcn.1400ca17c
mov rcx, rbx
call fcn.1400ca078
shl rdi, 6
mov rcx, r15
sub rdi, rbx
lea rdx, [rdi + r14]
mov rax, qword [rdx + rbx]
xor qword [rbx], rax
add rbx, r15
sub rcx, 1
jne 0x1400c9914
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x1400c99d4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x140131058]
xor rax, rsp
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [r8]
mov rsi, rcx
lea rcx, [rsp + 0x30]
movups xmm1, xmmword [r8 + 0x10]
mov rdi, rdx
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [r8 + 0x20]
movaps xmmword [rsp + 0x40], xmm1
movups xmm1, xmmword [r8 + 0x30]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
call fcn.1400ca550
xor ebx, ebx
test rdi, rdi
je 0x1400c9b5b
mov r14d, 0xffff0000
movabs r15, 0xff000000ff00
movabs r12, 0xf000f000f000f0
mov r9, qword [rsp + rbx*8 + 0x50]
mov r8, qword [rsp + rbx*8 + 0x30]
mov rdx, r9
shl rdx, 0x20
mov eax, r8d
or rdx, rax
shr r8, 0x20
mov rcx, rdx
shr rcx, 0x10
xor rcx, rdx
and rcx, r14
mov rax, rcx
shl rax, 0x10
xor rax, rcx
xor rdx, rax
mov rcx, rdx
shr rcx, 8
xor rcx, rdx
and rcx, r15
mov rax, rcx
shl rax, 8
xor rax, rcx
xor rdx, rax
mov rcx, rdx
shr rcx, 4
xor rcx, rdx
and rcx, r12
mov rax, rcx
shl rax, 4
xor rax, rcx
xor rax, rdx
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
movabs rax, 0xffffffff00000000
and r9, rax
or r9, r8
mov r8d, 8
mov rcx, r9
shr rcx, 0x10
xor rcx, r9
and rcx, r14
mov rax, rcx
shl rax, 0x10
xor rax, rcx
xor r9, rax
mov rcx, r9
shr rcx, 8
xor rcx, r9
and rcx, r15
mov rax, rcx
shl rax, 8
xor rax, rcx
xor r9, rax
mov rcx, r9
shr rcx, 4
xor rcx, r9
and rcx, r12
mov rax, rcx
shl rax, 4
xor rax, rcx
mov rcx, rsi
xor rax, r9
mov qword [rsp + 0x28], rax
call fcn.1400d3c00
lea rcx, [rsi + 8]
mov r8d, 8
lea rdx, [rsp + 0x28]
call fcn.1400d3c00
inc rbx
add rsi, 0x10
cmp rbx, rdi
jb 0x1400c9a53
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400d3150
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400c9df4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rcx
mov dword [rcx + 0xf0], 0xa
lea rcx, [rsp + 0x20]
call fcn.1400c9770
mov r8d, 0x10
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400d3c00
add rbx, 0x10
mov edi, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1400ca0f0
lea rax, [0x1400f6d40]
xor r9d, r9d
movzx r10d, byte [rdi + rax - 1]
mov rdx, qword [rsp + r9*8 + 0x30]
mov cl, r9b
shl cl, 2
mov rax, rdx
shr rax, 0x10
mov r8, r10
shr r8, cl
movabs rcx, 0xf000000000000
and r8d, 0xf
and rdx, rcx
or rax, rdx
shr rax, 0x24
xor r8, rax
xor r8, qword [rsp + r9*8 + 0x20]
mov rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
mov qword [rsp + r9*8 + 0x20], rax
inc r9
cmp r9, 2
jb 0x1400c9e50
mov r8d, 0x10
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400d3c00
inc rdi
add rbx, 0x10
cmp rdi, 0xa
jbe 0x1400c9e31
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400c9ee0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rdi, rcx
mov dword [rcx + 0xf0], 0xe
lea rcx, [rbp - 0x30]
mov rbx, rdx
call fcn.1400c9770
mov esi, 0x10
lea rdx, [rbp - 0x30]
mov r8d, esi
mov rcx, rdi
call fcn.1400d3c00
lea rdx, [rbx + 0x10]
lea rcx, [rbp - 0x20]
call fcn.1400c9770
lea rcx, [rdi + 0x10]
mov r8d, esi
lea rdx, [rbp - 0x20]
call fcn.1400d3c00
add rdi, 0x20
lea ebx, [rsi - 0xe]
lea r14d, [rsi + 0x10]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x10]
call fcn.1400ca0f0
mov rax, rbx
lea rcx, [0x1400f6d40]
shr rax, 1
xor r9d, r9d
movzx r10d, byte [rax + rcx - 1]
mov rdx, qword [rbp + r9*8 - 0x10]
mov cl, r9b
shl cl, 2
mov rax, rdx
shr rax, 0x10
mov r8, r10
shr r8, cl
movabs rcx, 0xf000000000000
and r8d, 0xf
and rdx, rcx
or rax, rdx
shr rax, 0x24
xor r8, rax
xor r8, qword [rbp + r9*8 - 0x30]
mov rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
mov qword [rbp + r9*8 - 0x30], rax
inc r9
cmp r9, 2
jb 0x1400c9f73
mov r8, rsi
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.1400d3c00
cmp rbx, 0xe
je 0x1400ca05b
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x10]
call fcn.1400ca0f0
movdqu xmm0, xmmword [rbp - 0x20]
mov eax, 0x30
lea rcx, [rdi + 0x10]
movdqu xmm4, xmmword [rbp - 0x10]
mov r8, rsi
lea rdx, [rbp - 0x20]
movq xmm3, rax
psrlq xmm4, xmm3
xorps xmm4, xmm0
movq xmm0, rsi
movdqa xmm2, xmm4
movdqa xmm1, xmm4
psllq xmm2, xmm0
movq xmm0, r14
xorps xmm2, xmm4
psllq xmm1, xmm0
psllq xmm4, xmm3
xorps xmm2, xmm1
xorps xmm2, xmm4
movdqu xmmword [rbp - 0x20], xmm2
call fcn.1400d3c00
add rbx, 2
add rdi, r14
cmp rbx, 0xe
jbe 0x1400c9f50
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
Function at 0x1400ca68c
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400ca87c
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x140131058]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov r14, qword [rbp + 0x430]
mov r12, rdx
mov r15, rcx
mov qword [rsp + 0x30], r9
mov rdx, r9
lea rcx, [rbp - 0x80]
mov rsi, r8
call fcn.1400c9940
lea rbx, [rbp + 0x340]
mov edi, 4
mov r8d, 0x10
mov rdx, r14
mov rcx, rbx
call fcn.1400d3c00
add rbx, 0x10
sub rdi, 1
jne 0x1400ca6f2
lea r13d, [rdi + 4]
mov r8d, r13d
lea rdx, [rbp + 0x34c]
lea rcx, [rsp + 0x20]
call fcn.1400d3c00
mov r14d, dword [rsp + 0x20]
lea rax, [rbp + 0x380]
sub r15, rax
lea rax, [rbp + 0x380]
sub r12, rax
bswap r14d
xor ebx, ebx
lea rdi, [rbp + 0x34c]
lea eax, [rbx + r14]
mov r8, r13
bswap eax
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
mov rcx, rdi
call fcn.1400d3c00
inc rbx
add rdi, 0x10
cmp rbx, r13
jb 0x1400ca74a
mov r13, qword [rsp + 0x30]
lea rdx, [rbp + 0x340]
mov edi, 4
lea rcx, [rsp + 0x40]
cmp rsi, rdi
mov rbx, rsi
cmovae rbx, rdi
mov r8, rbx
mov qword [rsp + 0x20], rbx
call fcn.1400ca4d8
mov edx, dword [r13 + 0xf0]
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.1400c9870
lea r8, [rsp + 0x40]
mov rdx, rbx
lea rcx, [rbp + 0x380]
call fcn.1400c99d4
test rbx, rbx
je 0x1400ca838
lea rdi, [rbp + 0x380]
mov r13, rbx
mov ebx, 2
lea rdx, [r15 + rdi]
mov r8d, 8
lea rcx, [rsp + 0x28]
call fcn.1400d3c00
mov r8d, 8
lea rcx, [rsp + 0x38]
mov rdx, rdi
call fcn.1400d3c00
mov rax, qword [rsp + 0x38]
lea rcx, [r12 + rdi]
xor qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1400d3c00
add rdi, 8
sub rbx, 1
jne 0x1400ca7da
sub r13, 1
jne 0x1400ca7d5
mov rbx, qword [rsp + 0x20]
lea edi, [r13 + 4]
sub rsi, rbx
je 0x1400ca853
add r15, 0x40
add r12, 0x40
add r14d, edi
mov r13d, 4
jmp 0x1400ca741
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1400d3150
mov rbx, qword [rsp + 0x520]
add rsp, 0x4d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400cd540
Capabilities:
Encrypt data using curve25519

Disassembly:
mov al, byte [rcx + 0x1f]
and byte [rcx], 0xf8
and al, 0x3f
or al, 0x40
mov byte [rcx + 0x1f], al
ret
Function at 0x1400d0c1c
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
test r8, r8
je 0x1400d0c38
sub rdx, rcx
mov al, byte [rdx + rcx]
xor al, byte [rcx]
inc rcx
or r9b, al
sub r8, 1
jne 0x1400d0c27
movzx eax, r9b
ret

Function at 0x1400d0c40
Capabilities:
Encode data using xor

Disassembly:
neg r8
mov r9, rcx
mov r11, r8
sub rdx, rcx
not r11
mov r10d, 4
mov rcx, qword [rdx + r9]
mov rax, qword [r9]
and rcx, r8
and rax, r11
xor rcx, rax
mov qword [r9], rcx
lea r9, [r9 + 8]
sub r10, 1
jne 0x1400d0c55
ret

Function at 0x1400d1620
Capabilities:
Encode data using xor

Disassembly:
or rax, 0xffffffffffffffff
mov r9, rdx
mov r10, rcx
test r8, r8
je 0x1400d165b
sub r10, rdx
mov rcx, qword [r10 + r9]
xor rcx, qword [r9]
lea r9, [r9 + 8]
lea rdx, [rcx - 1]
not rcx
shr rdx, 0x3f
shr rcx, 0x3f
and rdx, rcx
neg rdx
and rax, rdx
sub r8, 1
jne 0x1400d1632
ret

Function at 0x1400d2ba0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r10d, 1
xor r9d, r9d
lea r11d, [r10 + 0x3f]
mov r8, r10
shr r9, 1
and r8d, 1
neg r8
mov rdx, r8
and rdx, rcx
mov rax, rdx
xor rax, r10
and r10, rdx
shr rax, 1
add r10, rax
movabs rax, 0x8000000000000000
and r8, rax
add r9, r8
sub r11, 1
jne 0x1400d2bb2
mov rbx, qword [rsp + 8]
mov rax, r9
ret

Function at 0x1400d3638
Capabilities:
Parse pe header

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

Function at 0x1400d5d08
Capabilities:
Parse pe header

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

Function at 0x1400e06cc
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub rsp, 0x48
test rcx, rcx
je 0x1400e06e7
mov rax, qword [rcx]
mov qword [rsp + 0x28], rax
mov rdx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
jmp 0x1400e06ec
lea rcx, [rsp + 0x28]
and qword [rcx], 0
cmp qword [rsp + 0x28], 0
jne 0x1400e071c
xorps xmm0, xmm0
lea rcx, [rsp + 0x30]
movaps xmmword [rcx], xmm0
mov edx, 0x10
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x1400e074d
mov rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov ecx, dword [0x140131bd0]
mov r8, qword gs:[0x58]
mov rcx, qword [r8 + rcx*8]
mov qword [rcx + 0x38], 1
mov qword [rcx + 0x40], rdx
mov qword [rcx + 0x48], rax
add rsp, 0x48
ret
call fcn.14004f3c1
ud2
Function at 0x14000dc40
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14000dd22
call fcn.14002b550
test al, al
jne 0x14000dd22
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x14000dc72
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.140035400
test rax, rax
je 0x14000dcb7
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.140035400
mov rsi, rax
test rax, rax
je 0x14000dcb7
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 0x14000dceb
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.140025320
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x14000dcd0
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 0x1400165d0
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x1400c6840]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rdx]
mov r14d, r8d
mov rbx, rcx
mov r9d, dword [rax + 8]
mov rax, qword [rdx + 0x18]
and r9d, 0xa
cmp r9b, 0xa
jne 0x14001661b
mov rdi, qword [rax + 0xd8]
mov rsi, qword [rax + 0xe0]
mov ebp, dword [rax + 0xe8]
jmp 0x140016629
mov rdi, qword [rax + 0x50]
mov rsi, qword [rax + 0x58]
mov ebp, dword [rax + 0x7bc]
mov qword [rsp + 0x80], r15
test rdi, rdi
je 0x1400167fb
mov r9, qword [rcx]
test r9, r9
je 0x14001666b
mov r8, r9
mov rax, rdi
sub r8, rdi
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140016663
inc rax
test ecx, ecx
jne 0x140016650
test edx, edx
je 0x1400167fb
mov rcx, qword [rbx + 8]
cmp rcx, r9
je 0x14001667a
call qword [fcn.1400714d0]
mov rcx, qword [rbx + 0x10]
call qword [fcn.1400714d0]
mov rcx, qword [rbx]
call qword [fcn.1400714d0]
xor r15d, r15d
mov rcx, rdi
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx], r15
mov dword [rbx + 0x18], r15d
call qword [str._w_b_]
mov qword [rbx], rax
mov rcx, rax
test rax, rax
jne 0x1400166ee
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400166c2
call qword [fcn.1400714d0]
mov rcx, qword [rbx + 0x10]
call qword [fcn.1400714d0]
mov rcx, qword [rbx]
call qword [fcn.1400714d0]
mov eax, 0x1b
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx], r15
mov dword [rbx + 0x18], r15d
jmp 0x140016804
test rsi, rsi
je 0x140016732
mov r8, rsi
sub r8, rdi
nop dword [rax]
movzx edx, byte [rdi]
movzx eax, byte [rdi + r8]
sub edx, eax
jne 0x140016713
inc rdi
test eax, eax
jne 0x140016700
test edx, edx
je 0x140016732
mov rcx, rsi
call qword [str._w_b_]
mov qword [rbx + 8], rax
test rax, rax
jne 0x140016736
cmp qword [rbx], r15
je 0x1400166c2
xor ecx, ecx
jmp 0x1400166bc
mov qword [rbx + 8], rcx
mov rdi, qword [rbx]
test rdi, rdi
je 0x140016786
cmp byte [rdi], r15b
je 0x140016786
lea r8, [rsp + 0x20]
mov rdx, rdi
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x140016766
mov dword [rbx + 0x18], 1
jmp 0x1400167fb
lea r8, [rsp + 0x20]
mov rdx, rdi
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x140016786
mov dword [rbx + 0x18], 2
jmp 0x1400167fb
mov rax, qword [rbx]
mov dword [rbx + 0x18], r15d
cmp byte [rax], r15b
je 0x1400167fb
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp byte [rax + rdi], r15b
jne 0x1400167a0
test rdi, rdi
je 0x1400167b8
cmp byte [rax + rdi - 1], 0x2e
jne 0x1400167b8
dec rdi
cmp rdi, 0xffff
jae 0x1400167fb
lea rdx, [rdi + 1]
mov ecx, 1
call qword [fcn.140071904]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x1400167e5
mov rcx, qword [rbx + 8]
cmp rcx, qword [rbx]
jmp 0x1400166ba
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, rax
call fcn.140025370
mov rax, qword [rbx + 0x10]
mov byte [rdi + rax], r15b
mov dword [rbx + 0x1c], ebp
xor eax, eax
mov dword [rbx + 0x20], r14d
mov r15, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14006ae70
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400214b0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call fcn.140087d3c
cdqe
add rsp, 0x28
ret

Function at 0x1400217a0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
jne 0x1400217ca
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rdx, [0x1400a0388]
mov qword [rsp + 0x48], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1400a0398]
mov rcx, rbx
mov r14, rax
call fcn.140078f34
test rax, rax
je 0x14002182b
mov rcx, rbx
test r14, r14
je 0x140021818
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 0x140021862
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140021862
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 0x14002192c
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x40], rsi
mov rdx, rdi
nop dword [rax + rax]
inc rdx
cmp word [rbx + rdx*2], bp
jne 0x140021890
lea ecx, [rax + 1]
add rcx, rdx
add rcx, rcx
call qword [section..data]
mov rsi, rax
test rax, rax
je 0x14002191e
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14002191e
mov rax, rdi
cmp word [rsi + rax*2 + 2], bp
lea rax, [rax + 1]
jne 0x1400218c3
mov dword [rsi + rax*2], 0x5c
inc rdi
cmp word [rsi + rdi*2], bp
jne 0x1400218d5
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 0x1400218f0
mov rcx, rsi
test r14, r14
je 0x140021915
xor edx, edx
mov r8d, 8
call r14
jmp 0x14002191b
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbp, rax
mov rcx, rsi
call qword [fcn.1400714d0]
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 0x140026c00
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [0x1400c7b08]
mov rbx, rcx
mov dword [rsp + 0x50], 0x4020
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x58], 4
test eax, eax
jne 0x140026c68
mov r9d, 2
mov dword [rsp + 0x20], 3
xor r8d, r8d
xor edx, edx
mov ecx, 6
call fcn.1400587d0
test al, al
je 0x140026c5c
mov dword [0x1400c7b08], 2
add rsp, 0x30
pop rbx
ret
mov dword [0x1400c7b08], 1
jmp 0x140026c6d
cmp eax, 2
je 0x140026cbf
lea rax, [rsp + 0x58]
mov edx, 0xffff
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x140026c9e
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jg 0x140026cbf
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
add rsp, 0x30
pop rbx
ret
Function at 0x140027910
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x1c0
mov rax, qword [0x1400c6840]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rbx, qword [rcx + 0x10]
mov rsi, rdx
mov r9, qword [rbx + 0x98]
cmp r9, 0xffffffffffffffff
je 0x140027a5e
mov rax, qword [rdx + 0x20]
mov rcx, qword [rax + 0x3c8]
test dword [rcx + 0x8c], 0x800
jne 0x140027a5e
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
lea r8, [rsp + 0x20]
mov rcx, r9
lea rdx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
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
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1400279ee
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.140003f10
mov r9, rax
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.14001d210
mov eax, 2
jmp 0x140027a60
mov edx, dword [rsp + 0x20]
lea r9, [rbx + 0x100]
lea r8, [rbx + 0xce]
lea rcx, [rsp + 0x30]
call fcn.14001fc00
test al, al
jne 0x140027a5e
mov qword [rsp + 0x1e0], rdi
call fcn.140071a6c
mov ebx, dword [rax]
call fcn.140071a6c
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.140003f10
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.14001d210
mov rdi, qword [rsp + 0x1e0]
mov eax, 2
jmp 0x140027a60
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14006ae70
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1c0
pop rsi
ret

Function at 0x14002c360
Capabilities:
Convert ip address from string

Disassembly:
cmp qword [rsp + 0x28], 0
mov qword [r9], 0
jge 0x14002c375
mov eax, 0xfffffffe
ret
mov qword [rsp + 0x28], r9
mov r9b, 1
jmp fcn.14002bd80
Function at 0x14002c660
Capabilities:
Convert ip address from string

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1400c6840]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor edi, edi
mov r14, rdx
mov rbp, rcx
cmp byte [rcx + 0xa5e], dil
je 0x14002c882
cmp byte [rdx + 0x18], dil
mov qword [rsp + 0xc8], rsi
lea rsi, [rdx + 0x18]
je 0x14002c87a
lea r8, [rsp + 0x20]
mov rdx, rsi
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x14002c87a
lea r8, [rsp + 0x70]
mov rdx, rsi
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x14002c87a
cmp byte [rsi], dil
lea rdx, str.Host__s:_d_was_resolved.
mov r9d, dword [r14 + 0x14]
mov rcx, rbp
mov qword [rsp + 0x100], rbx
mov rbx, qword [r14]
mov qword [rsp + 0xc0], r15
lea r15, str._none_
mov r8, r15
cmovne r8, rsi
call fcn.14001d300
mov edx, 0x400
lea rcx, [rsp + 0x30]
call fcn.14000e280
mov edx, 0x400
lea rcx, [rsp + 0x50]
call fcn.14000e280
test rbx, rbx
je 0x14002c7e7
mov r14d, 0x20
mov ecx, dword [rbx + 4]
cmp ecx, 0x17
je 0x14002c754
cmp ecx, 2
jne 0x14002c7da
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 0x14002c781
cmp ecx, 0x17
jne 0x14002c79c
mov rdx, qword [rbx + 0x20]
add rdx, 8
jmp 0x14002c789
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.14000e2a0
test rax, rax
je 0x14002c7c0
mov r8d, 2
lea rdx, [0x14009f874]
mov rcx, rsi
call fcn.14000e240
mov edi, eax
test edi, edi
jne 0x14002c802
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.14000e1e0
mov edi, eax
test eax, eax
jne 0x14002c802
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14002c743
lea rcx, [rsp + 0x50]
call fcn.14000e2a0
test rax, rax
je 0x14002c813
lea rcx, [rsp + 0x50]
call fcn.14000e2b0
jmp 0x14002c816
lea rdx, str.too_many_IP__cannot_show
mov rcx, rbp
call fcn.14001d300
jmp 0x14002c856
mov rax, r15
mov r8, rax
lea rdx, str.IPv6:__s
mov rcx, rbp
call fcn.14001d300
lea rcx, [rsp + 0x30]
call fcn.14000e2a0
test rax, rax
je 0x14002c844
lea rcx, [rsp + 0x30]
call fcn.14000e2b0
mov r15, rax
mov r8, r15
lea rdx, str.IPv4:__s
mov rcx, rbp
call fcn.14001d300
lea rcx, [rsp + 0x30]
call fcn.14000e250
lea rcx, [rsp + 0x50]
call fcn.14000e250
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.14006ae70
add rsp, 0xd0
pop r14
pop rdi
pop rbp
ret
Function at 0x140035ba0
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.14000e030
mov rcx, rbx
movups xmm6, xmmword [rax]
call fcn.140034ed0
mov rcx, rdi
mov rsi, rax
call fcn.140034ed0
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x140035c50
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.14000e030
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.14000e0c0
cmp rax, 0x3e8
ja 0x140035c81
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 0x140035c00
test rsi, rsi
je 0x140035c5d
mov rcx, rsi
call fcn.1400714d0
test rbx, rbx
je 0x140035c6a
mov rcx, rbx
call fcn.1400714d0
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 0x140035c8e
mov rcx, rsi
call fcn.1400714d0
test rbx, rbx
je 0x140035c9b
mov rcx, rbx
call fcn.1400714d0
mov eax, 1
jmp 0x140035c6c