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

Disassembly:
cmp byte [rcx + 0x2e], 0
je 0x140073183
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x63]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x2d
jb 0x140073170
mov byte [rcx + 0x2e], 0
mov rax, rcx
ret

Function at 0x140073460
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x20
call fcn.140070730
xor ebx, ebx
mov dword [rbp + 0x10], 0x362820
mov ecx, ebx
mov byte [rbp + 0x14], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x63]
xor byte [rbp + rcx + 0x10], al
inc rcx
cmp rcx, 3
jb 0x140073490
lea rcx, [rbp + 0x10]
mov byte [rbp + 0x14], bl
call fcn.140239ffc
call fcn.140070a20
mov rcx, rbx
mov dword [rbp + 0x10], 0x362820
mov byte [rbp + 0x14], 1
nop
lea eax, [rcx + 0x63]
xor byte [rbp + rcx + 0x10], al
inc rcx
cmp rcx, 3
jb 0x1400734c0
lea rcx, [rbp + 0x10]
mov byte [rbp + 0x14], bl
call fcn.140239ffc
call fcn.140070f50
mov rcx, rbx
mov dword [rbp + 0x10], 0x362820
mov byte [rbp + 0x14], 1
nop
lea eax, [rcx + 0x63]
xor byte [rbp + rcx + 0x10], al
inc rcx
cmp rcx, 3
jb 0x1400734f0
lea rcx, [rbp + 0x10]
mov byte [rbp + 0x14], bl
call fcn.140239ffc
call fcn.140071170
mov rcx, rbx
mov dword [rbp + 0x10], 0x362820
mov byte [rbp + 0x14], 1
nop
lea eax, [rcx + 0x63]
xor byte [rbp + rcx + 0x10], al
inc rcx
cmp rcx, 3
jb 0x140073520
lea rcx, [rbp + 0x10]
mov byte [rbp + 0x14], bl
call fcn.140239ffc
call fcn.140071a10
mov rcx, rbx
mov dword [rbp + 0x10], 0x362820
mov byte [rbp + 0x14], 1
nop
lea eax, [rcx + 0x63]
xor byte [rbp + rcx + 0x10], al
inc rcx
cmp rcx, 3
jb 0x140073550
lea rcx, [rbp + 0x10]
mov byte [rbp + 0x14], bl
call fcn.140239ffc
call fcn.140071dc0
mov rcx, rbx
mov dword [rbp + 0x10], 0x362820
mov byte [rbp + 0x14], 1
nop
lea eax, [rcx + 0x63]
xor byte [rbp + rcx + 0x10], al
inc rcx
cmp rcx, 3
jb 0x140073580
lea rcx, [rbp + 0x10]
mov byte [rbp + 0x14], bl
call fcn.140239ffc
call fcn.140072770
mov rcx, rbx
mov dword [rbp + 0x10], 0x362820
mov byte [rbp + 0x14], 1
nop
lea eax, [rcx + 0x63]
xor byte [rbp + rcx + 0x10], al
inc rcx
cmp rcx, 3
jb 0x1400735b0
lea rcx, [rbp + 0x10]
mov byte [rbp + 0x14], bl
call fcn.140239ffc
call fcn.140072e90
mov dword [rbp + 0x10], 0x362820
mov byte [rbp + 0x14], 1
nop dword [rax]
lea eax, [rbx + 0x63]
xor byte [rbp + rbx + 0x10], al
inc rbx
cmp rbx, 3
jb 0x1400735e0
lea rcx, [rbp + 0x10]
mov byte [rbp + 0x14], 0
call fcn.140239ffc
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rbp
jmp fcn.140073190
Function at 0x140088040
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14033b600]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x140088153
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x140088153
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
xor edx, edx
mov qword [rsp + 0x50], rdx
mov ecx, dword [rax + rsi + 0xb0]
test ecx, ecx
jne 0x1400880b8
mov qword [rdi], rdx
mov qword [rdi + 8], rdx
mov qword [rdi + 0x10], rdx
jmp 0x140088160
lea rbx, [rsi + rcx]
mov ebp, dword [rax + rsi + 0xb4]
add rbp, rbx
mov rcx, qword [rsp + 0x48]
cmp rbx, rbp
jae 0x140088141
mov r8d, dword [rbx + 4]
test r8d, r8d
je 0x140088141
mov eax, dword [rbx]
add rax, rsi
mov qword [rsp + 0x28], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [r8 - 8]
shr rax, 1
mov dword [rsp + 0x38], eax
cmp rcx, rdx
je 0x14008811a
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rsp + 0x48], rcx
jmp 0x140088136
lea r8, [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.140088780
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, rbp
jb 0x1400880d0
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], rdx
jmp 0x140088160
xor edx, edx
mov qword [rcx], rdx
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], rdx
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140223ef0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400890e0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x14033b600]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
lea rcx, [0x140306a10]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
je 0x1400892e5
mov rcx, qword [rbx + 0x10]
movabs rdi, 0x7ffffffffffffffe
mov rax, rdi
sub rax, rcx
cmp rax, 0x34
jb 0x140089310
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140089151
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], gethostname
lea r9, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x1f]
call fcn.140062140
nop
lea rdx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 8
cmovae rdx, qword [rbp + 0x1f]
lea rcx, [rbp + 0x3f]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rax, qword [rbx + 0x10]
sub rdi, rax
cmp rdi, 0x22
jb 0x140089316
cmp qword [rbx + 0x18], 8
jb 0x1400891a8
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], Ordinal_41
lea r9, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp - 1]
call fcn.140062140
nop
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rdx, qword [rbp - 1]
lea r8, [rbp - 9]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1400891f7
cmp eax, 2
sete bl
jmp 0x140089254
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.NtUnloadDriver
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp + 0x3f]
call rax
lea rdx, [rbp - 1]
mov rcx, 0xffffffff80000002
test eax, eax
je 0x14008923a
cmp qword [rbp + 0x17], 8
cmovae rdx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor bl, bl
jmp 0x140089254
cmp qword [rbp + 0x17], 8
cmovae rdx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x140089252
xor bl, bl
jmp 0x140089254
mov bl, 1
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x140089294
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008928f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008931c
call fcn.140223f10
xor eax, eax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], 7
mov word [rbp - 1], ax
mov rdx, qword [rbp + 0x37]
cmp rdx, 8
jb 0x1400892e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400892dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008930a
call fcn.140223f10
movzx eax, bl
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140223ef0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14023482c
int3
call fcn.14005b5f0
nop
call fcn.14005b5f0
nop
call fcn.14023482c
int3
Function at 0x140089330
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x50
mov rax, qword [0x14033b600]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
lea r9, [rsp + 0x20]
mov r14, rcx
mov dword [rsp + 0x20], ebp
xor r8d, r8d
xor edx, edx
mov ebx, ebp
lea ecx, [rbp + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400893be
nop dword [rax]
test rbx, rbx
je 0x140089386
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, listen
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140089370
test eax, eax
jns 0x1400893df
test rbx, rbx
je 0x1400893e4
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x1400894d5
test rbx, rbx
jne 0x1400893eb
xor eax, eax
jmp 0x1400894d5
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], rdi
mov edi, ebp
cmp dword [rbx], ebp
jbe 0x1400894b5
mov esi, edi
lea rdx, [rbx + 0x30]
imul rax, rsi, 0x128
mov qword [rsp + 0x28], rbp
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
movzx ecx, word [rax + rbx + 0x2e]
add rcx, rax
add rdx, rcx
inc r8
cmp byte [rdx + r8], bpl
jne 0x140089434
lea rcx, [rsp + 0x28]
call fcn.140060430
cmp qword [r14 + 0x18], 0x10
mov rdx, r14
jb 0x140089454
mov rdx, qword [r14]
cmp qword [rsp + 0x40], 0x10
lea rcx, [rsp + 0x28]
cmovae rcx, qword [rsp + 0x28]
call fcn.140233dac
test eax, eax
je 0x1400894eb
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400894ab
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400894a6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140089546
call fcn.140223f10
inc edi
cmp edi, dword [rbx]
jb 0x140089402
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140223ef0
add rsp, 0x50
pop r14
pop rbp
pop rbx
ret
imul rax, rsi, 0x128
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
mov rdi, qword [rax + rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140089541
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008953c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140089546
call fcn.140223f10
mov rax, rdi
jmp 0x1400894c8
call fcn.14023482c
int3
Function at 0x1400b02f0
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x14033b600]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r13, qword [rcx]
mov ebp, r8d
mov rsi, rcx
lea r8, [rsp + 0x20]
mov ebx, 2
xor r14d, r14d
mov ecx, ebx
mov r15, r9
mov r12, qword [r13 + 0x11b0]
mov rdi, rdx
mov dword [r9], r14d
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400b035c
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.1400cf980
jmp 0x1400b043a
mov ebx, reloc.WS2_32.dll_socket
lea r8, [rsp + 0x58]
mov ecx, ebx
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400b038c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.1400cf980
jmp 0x1400b043a
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x1400b03b0
cmp ecx, 1
je 0x1400b039f
mov ebx, r14d
call fcn.1400b0e20
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x1400b03b5
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x14026d904]
xorps xmm0, xmm0
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x28], xmm0
setne r14b
mov dword [rsp + 0x2c], ebx
inc r14d
mov r9d, ebp
mov edx, listen
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.1400c0c90
lea rcx, [rsp + 0x58]
call fcn.1400b0180
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.1400b0a80
test al, al
je 0x1400b0429
mov dword [r15], 1
jmp 0x1400b0438
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.1400bcc80
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140223ef0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x1400b02f0
Function at 0x1400bcbc0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x718], 0
mov rsi, r9
mov rbp, r8
movsxd rbx, edx
mov rdi, rcx
je 0x1400bcc1e
mov dl, 1
call fcn.1400aafd0
mov rax, qword [rdi + 0x670]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.1400aafd0
mov eax, ebx
jmp 0x1400bcc60
cmp ebx, 2
ja 0x1400bcc5e
mov r9, qword [rdi + 0x668]
lea rdx, [0x14026ebc0]
lea rcx, [rbx + rbx*2]
add rcx, rdx
mov edx, 2
lea r8d, [rdx - 1]
call fcn.140233a30
mov r9, qword [rdi + 0x668]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call fcn.140233a30
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400bcc80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x160
mov rax, qword [0x14033b600]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [rcx + 0xea6], 0
mov rdi, rcx
jne 0x1400bccc3
cmp qword [rcx + 0x678], 0
je 0x1400bcda0
mov r8, rdx
mov qword [rsp + 0x158], rbx
mov edx, 0x100
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.1400c0da0
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400bccf1
mov rcx, qword [rdi + 0x678]
test rcx, rcx
je 0x1400bcd38
cmp byte [rdi + 0x1528], 0
jne 0x1400bcd38
lea rdx, [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400bcd20
mov byte [rdi + 0x1528], 1
cmp byte [rdi + 0xea6], 0
je 0x1400bcd98
mov byte [rsp + rbx + 0x30], 0xa
inc rbx
cmp rbx, 0x102
jae 0x1400bcdf1
cmp qword [rdi + 0x718], 0
mov byte [rsp + rbx + 0x30], 0
je 0x1400bcdb9
mov dl, 1
mov rcx, rdi
call fcn.1400aafd0
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.1400aafd0
mov rbx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140223ef0
add rsp, 0x160
pop rdi
ret
mov r9, qword [rdi + 0x668]
lea rcx, [0x14026ebc0]
mov edx, 2
lea r8d, [rdx - 1]
call fcn.140233a30
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call fcn.140233a30
jmp 0x1400bcd98
call fcn.140224588
int3
Function at 0x1400bce00
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x1400bcf64
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rdi
sub rsp, 0x860
mov rax, qword [0x14033b600]
xor rax, rsp
mov qword [rsp + 0x840], rax
cmp byte [rcx + 0xea6], 0
mov rdi, rcx
je 0x1400bcf4c
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.1400c0da0
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x1400bcec1
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop word [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x1400bce80
cmp byte [rax + rcx - 1], 0xa
jne 0x1400bcea8
lea r8, str...._n
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x1400bcebc
lea r8, [0x14026ec44]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.1400c0c90
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400bcec6
cmp qword [rdi + 0x718], 0
je 0x1400bcf0e
mov dl, 1
mov rcx, rdi
call fcn.1400aafd0
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.1400aafd0
jmp 0x1400bcf44
mov r9, qword [rdi + 0x668]
lea rcx, [0x14026ebc0]
mov edx, 2
lea r8d, [rdx - 1]
call fcn.140233a30
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call fcn.140233a30
mov rbx, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.140223ef0
add rsp, 0x860
pop rdi
ret
Function at 0x1400bf690
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call fcn.14024d5d0
cdqe
add rsp, 0x28
ret

Function at 0x1400c0560
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp byte [0x140340340], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x1400c060f
test rdi, rdi
je 0x1400c060f
mov eax, dword [0x140340344]
test eax, eax
jne 0x1400c0607
mov r8d, dword [rsp + 0x60]
lea rsi, str.recv
mov r9, rsi
lea rcx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rdx, rdi
call fcn.1400c02b0
mov ecx, 2
call fcn.140233710
mov r9d, dword [rsp + 0x60]
lea rdx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r8, rdi
call fcn.1400c0c60
mov rcx, qword [0x140340338]
call fcn.140233324
call fcn.14023a244
mov dword [rax], listen
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x140340344], eax
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test rdi, rdi
je 0x1400c0637
mov r8d, dword [rsp + 0x60]
lea rcx, str.RECV__s:_d_recv__lu____ld_n
mov r9d, esi
mov dword [rsp + 0x20], eax
mov rdx, rdi
call fcn.1400c02b0
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400c06b0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp byte [0x140340340], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x1400c075f
test rdi, rdi
je 0x1400c075f
mov eax, dword [0x140340344]
test eax, eax
jne 0x1400c0757
mov r8d, dword [rsp + 0x60]
lea rsi, str.send
mov r9, rsi
lea rcx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rdx, rdi
call fcn.1400c02b0
mov ecx, 2
call fcn.140233710
mov r9d, dword [rsp + 0x60]
lea rdx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r8, rdi
call fcn.1400c0c60
mov rcx, qword [0x140340338]
call fcn.140233324
call fcn.14023a244
mov dword [rax], listen
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x140340344], eax
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
test rdi, rdi
je 0x1400c0787
mov r8d, dword [rsp + 0x60]
lea rcx, str.SEND__s:_d_send__lu____ld_n
mov r9d, esi
mov dword [rsp + 0x20], eax
mov rdx, rdi
call fcn.1400c02b0
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400cfd00
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x14033b600]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r13, qword [rcx]
mov ebp, r8d
mov rsi, rcx
lea r8, [rsp + 0x20]
mov ebx, 2
xor r14d, r14d
mov ecx, ebx
mov r15, r9
mov r12, qword [r13 + 0x11b0]
mov rdi, rdx
mov dword [r9], r14d
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400b035c
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.1400cf980
jmp 0x1400b043a
mov ebx, reloc.WS2_32.dll_socket
lea r8, [rsp + 0x58]
mov ecx, ebx
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400b038c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.1400cf980
jmp 0x1400b043a
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x1400b03b0
cmp ecx, 1
je 0x1400b039f
mov ebx, r14d
call fcn.1400b0e20
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x1400b03b5
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x14026d904]
xorps xmm0, xmm0
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x28], xmm0
setne r14b
mov dword [rsp + 0x2c], ebx
inc r14d
mov r9d, ebp
mov edx, listen
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.1400c0c90
lea rcx, [rsp + 0x58]
call fcn.1400b0180
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.1400b0a80
test al, al
je 0x1400b0429
mov dword [r15], 1
jmp 0x1400b0438
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.1400bcc80
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140223ef0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x1400b02f0
Function at 0x1400d3b40
Capabilities:
Encode data using xor

Disassembly:
push r14
push r15
sub rsp, 0x1f8
mov rax, qword [0x14033b600]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp byte [0x140340600], 0
mov r14, rcx
jne 0x1400d3b79
call fcn.14010cb60
test eax, eax
je 0x1400d3b97
mov byte [0x140340600], 1
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140223ef0
add rsp, 0x1f8
pop r15
pop r14
ret
mov rcx, qword [r14 + 0xcf8]
test rcx, rcx
je 0x1400d3bb6
mov edx, 0x400
call fcn.14010dc00
call fcn.14010cb60
test eax, eax
jne 0x1400d3b79
mov qword [rsp + 0x218], rbx
xor r15d, r15d
mov qword [rsp + 0x220], rbp
mov qword [rsp + 0x228], rsi
mov qword [rsp + 0x1f0], rdi
movaps xmmword [rsp + 0x1e0], xmm6
movaps xmmword [rsp + 0x1d0], xmm7
movsd xmm7, qword [0x140274638]
nop dword [rax]
nop word [rax + rax]
mov rsi, r15
lea rbp, [rsp + 0x80]
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.1400b0180
mov ecx, 1
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x20], xmm6
call fcn.1400bcb70
lea rcx, [rsp + 0x40]
lea rdi, [rsi + 3]
call fcn.1400b0180
lea rcx, [rsp + 0x50]
movsxd rbx, dword [rax + 8]
call fcn.1400b0180
mov rdx, rbx
lea rcx, [rdi - 2]
add rdx, qword [rax]
movq rax, xmm6
imul rdx, rdi
imul rcx, rax
shl rdx, 8
xor rdx, rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
call fcn.1400b0180
lea rcx, [rsp + 0x70]
mov rbx, rax
call fcn.1400b0180
mov ecx, dword [rbx + 8]
lea rbp, [rbp + 0x10]
add ecx, dword [rax]
lea eax, [rsi + 4]
imul ecx, eax
lea eax, [rsi + 2]
imul eax, dword [rsp + 0x28]
inc rsi
shl ecx, 0x10
xor ecx, eax
mov dword [rsp + 0x28], ecx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbp - 0x10], xmm0
cmp rsi, 4
jb 0x1400d3c10
movaps xmm2, xmm7
lea rcx, [rsp + 0x80]
mov edx, 0x40
call fcn.14010c890
call fcn.14010cb60
test eax, eax
je 0x1400d3c00
mov edx, 0x100
mov byte [rsp + 0xc0], r15b
lea rcx, [rsp + 0xc0]
call fcn.14010d990
movaps xmm7, xmmword [rsp + 0x1d0]
movaps xmm6, xmmword [rsp + 0x1e0]
mov rdi, qword [rsp + 0x1f0]
mov rsi, qword [rsp + 0x228]
mov rbp, qword [rsp + 0x220]
mov rbx, qword [rsp + 0x218]
cmp byte [rsp + 0xc0], r15b
je 0x1400d3d4d
mov edx, 0x400
lea rcx, [rsp + 0xc0]
call fcn.14010dc00
call fcn.14010cb60
test eax, eax
jne 0x1400d3b79
lea rdx, str.libcurl_is_now_using_a_weak_random_seed__n
mov rcx, r14
call fcn.1400bce00
call fcn.14010cb60
test eax, eax
mov ecx, reloc.WLDAP32.dll_Ordinal_35
cmovne ecx, r15d
mov eax, ecx
jmp 0x1400d3b7b