joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005ad30
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov byte [rcx + 0x80], 0
mov ecx, 0x10
call fcn.1400739c8
test rax, rax
je 0x14005ad5d
mov qword [rax], rbx
lea rcx, [0x14005ace0]
mov qword [rax + 8], rcx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140058f80]
xor edx, edx
xor ecx, ecx
call fcn.140082e38
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14005adc2
cmp dword [rsp + 0x38], 0
je 0x14005adb7
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140072908
test eax, eax
jne 0x14005adb7
add rsp, 0x50
pop rbx
ret
mov ecx, 1
call fcn.140071c94
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.140071c94
int3

Function at 0x14005b5a0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1400d4718]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r14, rdx
mov r13, rcx
mov qword [rsp + 0x78], rdx
xor r12d, r12d
mov rsi, qword [rcx + 0x90]
test rsi, rsi
jne 0x14005b703
lea rcx, [rsp + 0x58]
call fcn.140006ef0
mov rbx, rax
mov qword [rsp + 0x50], rax
lea rsi, [r12 - 1]
cmp qword [rax + 0x10], r12
jne 0x14005b623
lea rdx, [r13 + 0x60]
cmp rax, rdx
je 0x14005b623
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x14005b61b
mov rdx, qword [rdx]
mov rcx, rbx
call fcn.140027a70
mov rcx, rbx
call fcn.140046a40
test al, al
je 0x14005b6f4
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14005b640
mov rcx, qword [rbx]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, rsi
je 0x14005b6f4
mov qword [rsp + 0x48], r12
lea rdx, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14005b6ea
mov r15, qword [rsp + 0x48]
mov rcx, r15
call fcn.140073edc
mov rdi, rax
test rax, rax
je 0x14005b6ae
mov r8, r15
xor edx, edx
mov rcx, rax
call fcn.1400763f0
jmp 0x14005b6b1
mov rdi, r12
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x48]
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14005b6dd
movsxd rax, dword [rdi + 0x3c]
mov esi, dword [rax + rdi + 8]
test rdi, rdi
je 0x14005b6ea
mov rcx, rdi
call fcn.140073a04
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rbx
call fcn.140027120
mov qword [r13 + 0x90], rsi
mov rcx, r14
call fcn.140027120
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140073e90
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005c340
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400d4718]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rax, qword [0x1400d6718]
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x80]
call rax
mov rbx, rax
test rax, rax
jne 0x14005c478
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov byte [rsp + 0x20], 1
mov r9b, 1
lea r8d, [rdi + 0x10]
lea rcx, [rsp + 0x60]
call fcn.14005b010
nop
mov r8, rax
lea rdx, [0x1400d6a00]
lea rcx, [rsp + 0x40]
call fcn.14005aec0
nop
xor r9d, r9d
mov r8b, 1
lea rdx, [0x1400d67e0]
mov rcx, rax
call fcn.140041e70
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14005c423
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c41e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c4b3
call fcn.140073a04
movdqa xmm0, xmmword [0x14009da30]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14005c474
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c46f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c4ad
call fcn.140073a04
xor al, al
jmp 0x14005c48c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140073e90
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.14007a3ac
nop
call fcn.14007a3ac
nop
int3
Function at 0x14005c4c0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400d4718]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rax, qword [0x1400d6718]
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x80]
call rax
mov rbx, rax
test rax, rax
jne 0x14005c5f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov byte [rsp + 0x20], 1
mov r9b, 1
lea r8d, [rdi + 0x10]
lea rcx, [rsp + 0x60]
call fcn.14005b010
nop
mov r8, rax
lea rdx, [0x1400d6a00]
lea rcx, [rsp + 0x40]
call fcn.14005aec0
nop
xor r9d, r9d
mov r8b, 1
lea rdx, [0x1400d67e0]
mov rcx, rax
call fcn.140041e70
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14005c5a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c59e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c641
call fcn.140073a04
movdqa xmm0, xmmword [0x14009da30]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14005c5f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c5ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c63b
call fcn.140073a04
xor al, al
jmp 0x14005c61a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140073e90
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.14007a3ac
nop
call fcn.14007a3ac
nop
int3
Function at 0x14005d890
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov ecx, 0x10
call fcn.1400739c8
test rax, rax
je 0x14005d8b6
mov qword [rax], rbx
lea rcx, [0x14005d830]
mov qword [rax + 8], rcx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140058f80]
xor edx, edx
xor ecx, ecx
call fcn.140082e38
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14005d91b
cmp dword [rsp + 0x38], 0
je 0x14005d910
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140072908
test eax, eax
jne 0x14005d910
add rsp, 0x50
pop rbx
ret
mov ecx, 1
call fcn.140071c94
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.140071c94
int3

Function at 0x14005e710
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov ebp, r9d
xor r8d, r8d
mov rsi, rdx
mov rbx, rcx
cmp rdi, 0xffffffffffffffff
jne 0x14005e774
movzx eax, byte [rdx]
mov edi, r8d
test al, al
je 0x14005e768
nop dword [rax]
nop word [rax + rax]
imul r8d, r8d, 0x1003f
inc rdi
movzx eax, al
add r8d, eax
movzx eax, byte [rdi + rdx]
test al, al
jne 0x14005e750
test rdi, rdi
jne 0x14005e7a2
xor eax, eax
jmp 0x14005e827
mov rdx, r8
test rdi, rdi
je 0x14005e76d
nop dword [rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x14005e79c
imul r8d, r8d, 0x1003f
inc rdx
add r8d, eax
cmp rdx, rdi
jb 0x14005e780
jmp 0x14005e768
mov r8d, 0x11
mov eax, dword [rcx + 0x128]
mov edx, r8d
movzx ecx, byte [rcx + 0x12c]
xor edx, ebp
mov qword [rsp + 0x30], r14
mov r14d, 0xffffffff
cmp ebp, r14d
cmove edx, r8d
imul rax, rdx
shr rax, cl
imul eax, dword [rbx + 0x120]
mov rbx, qword [rbx + 0x110]
sub edx, eax
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x14005e81f
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x14005e80e
cmp dword [rbx + 0x14], ebp
jne 0x14005e80e
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x14005e7ff
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call fcn.140075c50
test eax, eax
je 0x14005e816
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14005e7e6
test rbx, rbx
je 0x14005e81f
mov r14d, dword [rbx + 0xc]
mov eax, r14d
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400609e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1400d4718]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [r9 + 0x10]
mov rdi, r9
mov r14, r8
mov rsi, rdx
mov r15, rcx
cmp rbx, 0x20
ja 0x140060ad4
xor r12d, r12d
nop dword [rax + rax]
mov r10, qword [rdi + 8]
mov r9, r12
test rbx, rbx
je 0x140060a68
lea rax, [rsp + 0x20]
sub r10, rax
nop dword [rax]
nop dword [rax + rax]
lea r8, [rsp + 0x20]
mov ecx, 0x20
add r8, r9
movzx edx, byte [r10 + r8]
lea eax, [rdx - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r9
xor cl, dl
mov byte [r8], cl
cmp r9, rbx
jb 0x140060a40
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140060250
mov dword [rsi], eax
test eax, eax
jne 0x140060a91
mov rax, qword [r15]
lea rdx, [rsp + 0x20]
mov r8, rbx
movzx ecx, byte [rax + 0x48]
call fcn.1400697c0
mov dword [rsi], eax
cmp dword [rsi], r12d
jne 0x140060afc
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140060720
test eax, eax
je 0x140060ad4
mov ecx, dword [r14]
test eax, ecx
jne 0x140060af5
or ecx, eax
xor r8d, r8d
mov dword [r14], ecx
mov rdx, rdi
lea rcx, [r15 + 8]
call fcn.140069d50
cmp al, 2
jne 0x140060ad4
mov rbx, qword [rdi + 0x10]
cmp rbx, 0x20
jbe 0x140060a20
mov eax, 0x1a
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140073e90
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, 0x37
jmp 0x140060ad9
xor r8d, r8d
lea rcx, [r15 + 8]
mov rdx, rdi
call fcn.140069d50
cmp al, 2
jne 0x140060b73
mov rdx, qword [rdi + 0x10]
cmp rdx, 0x20
ja 0x140060b73
mov r11, qword [rdi + 8]
mov r10, r12
test rdx, rdx
je 0x140060b5a
lea rax, [rsp + 0x20]
sub r11, rax
nop dword [rax]
lea r9, [rsp + 0x20]
mov ecx, 0x20
add r9, r10
movzx r8d, byte [r11 + r9]
lea eax, [r8 - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r10
xor cl, r8b
mov byte [r9], cl
cmp r10, rdx
jb 0x140060b30
lea rcx, [rsp + 0x20]
call fcn.140060720
cmp eax, 0x10
jne 0x140060b73
or dword [r14], eax
xor eax, eax
jmp 0x140060ad9
mov rax, qword [rdi + 8]
mov qword [r15 + 0x18], rax
xor eax, eax
jmp 0x140060ad9
Function at 0x140074840
Capabilities:
Parse pe header

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

Function at 0x140082cb4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140082b47
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140082b47
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140082b47
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140082b47
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140082b47
cmp dword [rcx + 0x84], 0xe
jbe 0x140082b47
cmp dword [rcx + 0xf8], 0
je 0x140082b47
mov ecx, ebx
call fcn.140082be8
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400829d8
cmp dword [rbp + 0x20], 0
je 0x140082b94
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140082b9c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140082ae0
Function at 0x140095c00
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140095c28
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140095c28
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140009140
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140070040]
xor rax, rsp
mov qword [rbp + 0x17], rax
xor r12d, r12d
mov r15, r9
mov r14, rdx
mov rdi, rcx
cmp rcx, 0xffffffffffffffff
je 0x14000933b
mov qword [rsp + 0xe0], rbx
test r8b, r8b
je 0x1400091c0
movzx eax, byte [rdx]
test al, 8
je 0x1400091c0
or al, 8
mov dword [rbp + 0xf], r12d
mov byte [rdx], al
lea r9, [rbp + 0xf]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x80
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
lea rcx, [rbp - 0x21]
setne dl
call fcn.140009080
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
mov rcx, r15
mov ebx, eax
setne dl
call fcn.140009080
test ebx, ebx
je 0x140009337
mov qword [rsp + 0x98], rsi
movabs rcx, 0x4d54ee85da812030
mov rsi, qword [0x1400700d8]
add rcx, rsi
mov qword [rsp + 0x90], r13
mov dword [rbp - 0x35], r12d
lea r13, [0x1400700d0]
cmp rcx, 1
jbe 0x140009230
mov rax, qword [0x1400700d0]
mov edx, 0x2733
mov rcx, r13
call qword [rax + 0x30]
mov rsi, qword [0x1400700d8]
jmp 0x140009232
mov al, 1
movzx eax, al
lea rdx, [rbp - 9]
add rax, 2
mov dword [rbp - 0x39], 0x2733
mov qword [rbp - 0x29], rax
mov rcx, r15
movsd xmm1, qword [rbp - 0x29]
mov qword [rbp - 0x31], r13
movups xmm0, xmmword [rbp - 0x39]
movsd qword [rbp + 7], xmm1
movups xmmword [rbp - 9], xmm0
call fcn.1400081e0
test al, al
jne 0x1400092cf
movabs rax, 0x4d54ee85da812030
mov dword [rbp - 0x35], r12d
add rax, rsi
cmp rax, 1
jbe 0x140009295
mov rax, qword [0x1400700d0]
mov edx, 0x4d5
mov rcx, r13
call qword [rax + 0x30]
jmp 0x140009297
mov al, 1
movzx eax, al
lea rdx, [rbp - 0x21]
add rax, 2
mov dword [rbp - 0x39], 0x4d5
mov qword [rbp - 0x29], rax
mov rcx, r15
movsd xmm1, qword [rbp - 0x29]
mov qword [rbp - 0x31], r13
movups xmm0, xmmword [rbp - 0x39]
movsd qword [rbp - 0x11], xmm1
movups xmmword [rbp - 0x21], xmm0
call fcn.1400081e0
test al, al
je 0x140009301
lea r8, [rbp + 0xf]
mov dword [rbp + 0xf], r12d
mov edx, 0x8004667e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [r14], 0xfc
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
mov rcx, r15
mov ebx, eax
setne dl
call fcn.140009080
mov rsi, qword [rsp + 0x98]
mov eax, ebx
mov r13, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xe0]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140052030
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov eax, ebx
jmp 0x140009313
mov eax, r12d
jmp 0x14000931b
Function at 0x140009340
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, r9
cmp rcx, 0xffffffffffffffff
jne 0x1400093cb
movabs rcx, 0x4d54ee85da812030
mov dword [rsp + 0x24], 0
add rcx, qword [0x1400700d8]
lea rbx, [0x1400700d0]
cmp rcx, 1
jbe 0x14000938d
mov rax, qword [0x1400700d0]
mov edx, 0x2719
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x14000938f
mov al, 1
movzx eax, al
add rax, 2
mov dword [rsp + 0x20], 0x2719
mov qword [rsp + 0x30], rax
mov eax, 0xffffffff
movsd xmm1, qword [rsp + 0x30]
mov qword [rsp + 0x28], rbx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
movsd qword [rdi + 0x10], xmm1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
mov rcx, rdi
mov ebx, eax
setne dl
call fcn.140009080
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400093f0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
cmp qword [rdx + 0x10], 1
mov rbx, rdx
mov rdi, rcx
je 0x14000941c
mov edx, dword [rdx]
jmp 0x14000944f
mov rcx, qword [rdx + 8]
movabs rax, 0x4800144005b3
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
imul edx, ecx, 0x3e8
add edx, dword [rbx]
xor r14d, r14d
lea rsi, [0x1400700d0]
movabs r15, 0x4d54ee85da812030
sub edx, 0x79
je 0x14000953a
sub edx, 0x450
je 0x140009500
sub edx, 6
je 0x1400094c6
cmp edx, 1
jne 0x14000958b
mov rcx, qword [0x1400700d8]
add rcx, r15
mov dword [rbp - 0x1c], r14d
cmp rcx, 1
jbe 0x1400094b8
mov rax, qword [0x1400700d0]
mov edx, 0x2751
mov rcx, rsi
call qword [rax + 0x30]
mov dword [rbp - 0x20], 0x2751
jmp 0x14000956b
mov al, 1
mov dword [rbp - 0x20], 0x2751
jmp 0x14000956b
mov rcx, qword [0x1400700d8]
add rcx, r15
mov dword [rbp - 0x1c], r14d
cmp rcx, 1
jbe 0x1400094f5
mov rax, qword [0x1400700d0]
mov edx, 0x2743
mov rcx, rsi
call qword [rax + 0x30]
mov dword [rbp - 0x20], 0x2743
jmp 0x14000956b
mov al, 1
mov dword [rbp - 0x20], 0x2743
jmp 0x14000956b
mov rcx, qword [0x1400700d8]
add rcx, r15
mov dword [rbp - 0x1c], r14d
cmp rcx, 1
jbe 0x14000952f
mov rax, qword [0x1400700d0]
mov edx, 0x274d
mov rcx, rsi
call qword [rax + 0x30]
mov dword [rbp - 0x20], 0x274d
jmp 0x14000956b
mov al, 1
mov dword [rbp - 0x20], 0x274d
jmp 0x14000956b
mov rcx, qword [0x1400700d8]
add rcx, r15
mov dword [rbp - 0x1c], r14d
cmp rcx, 1
jbe 0x140009562
mov rax, qword [0x1400700d0]
mov edx, 0x274c
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x140009564
mov al, 1
mov dword [rbp - 0x20], 0x274c
movzx eax, al
mov qword [rbp - 0x18], rsi
add rax, 2
movups xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 0x10], rax
movsd xmm1, qword [rbp - 0x10]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
mov rax, qword [rbx + 0x10]
test al, 1
je 0x1400095a6
cmp rax, 1
jne 0x140009628
cmp dword [rbx], r14d
jne 0x140009628
cmp rdi, 0xffffffffffffffff
jne 0x1400095ff
mov rcx, qword [0x1400700d8]
add rcx, r15
mov dword [rbp - 0x1c], r14d
cmp rcx, 1
jbe 0x1400095d4
mov rax, qword [0x1400700d0]
mov edx, 0x2719
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x1400095d6
mov al, 1
movzx eax, al
mov dword [rbp - 0x20], 0x2719
add rax, 2
mov qword [rbp - 0x18], rsi
movups xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 0x10], rax
movsd xmm1, qword [rbp - 0x10]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
jmp 0x140009628
xor r9d, r9d
mov dword [rsp + 0x20], r14d
mov edx, 0xffff
mov r8d, 0x7010
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
mov rcx, rbx
setne dl
call fcn.140009080
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rbp
ret
Function at 0x140009bf0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140070040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, qword [rbp + 0x50]
lea r9, [rbp - 0x18]
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov dword [rbp - 0x18], r15d
lea r8d, [r15 + 1]
mov dword [rsp + 0x20], r15d
call qword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rdx, qword [0x1400700d8]
lea r14, [0x1400700d0]
movabs r12, 0x4d54ee85da812030
mov dword [rbp - 0x2c], r15d
add rdx, r12
mov edi, eax
cmp rdx, 1
jbe 0x140009c80
mov r8, qword [0x1400700d0]
mov edx, eax
mov rcx, r14
call qword [r8 + 0x30]
jmp 0x140009c85
test edi, edi
setne al
movzx eax, al
movabs r10, 0x4800144005b3
add rax, 2
mov dword [rbp - 0x30], edi
mov qword [rbp - 0x28], r14
movups xmm0, xmmword [rbp - 0x30]
mov qword [rbp - 0x20], rax
movsd xmm1, qword [rbp - 0x20]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
mov r9, qword [rbx + 0x10]
cmp r9, 1
je 0x140009cc3
mov eax, dword [rbx]
mov r8d, eax
jmp 0x140009cf3
mov rcx, qword [rbx + 8]
mov rax, r10
mov r8d, dword [rbx]
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
imul eax, ecx, 0x3e8
add eax, r8d
cmp eax, 0x40
jne 0x140009d32
mov rcx, qword [0x1400700d8]
add rcx, r12
mov dword [rbp - 0x2c], r15d
cmp rcx, 1
jbe 0x140009d27
mov rax, qword [0x1400700d0]
mov edx, 0x2746
mov rcx, r14
call qword [rax + 0x30]
mov dword [rbp - 0x30], 0x2746
jmp 0x140009d9f
mov al, 1
mov dword [rbp - 0x30], 0x2746
jmp 0x140009d9f
cmp r9, 1
jne 0x140009d65
mov rcx, qword [rbx + 8]
mov rax, r10
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
imul eax, ecx, 0x3e8
add r8d, eax
cmp r8d, 0x4d2
jne 0x140009dbf
mov rcx, qword [0x1400700d8]
add rcx, r12
mov dword [rbp - 0x2c], r15d
cmp rcx, 1
jbe 0x140009d96
mov rax, qword [0x1400700d0]
mov edx, 0x274d
mov rcx, r14
call qword [rax + 0x30]
jmp 0x140009d98
mov al, 1
mov dword [rbp - 0x30], 0x274d
movzx eax, al
mov qword [rbp - 0x28], r14
add rax, 2
movups xmm0, xmmword [rbp - 0x30]
mov qword [rbp - 0x20], rax
movsd xmm1, qword [rbp - 0x20]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
test esi, esi
je 0x140009dca
mov eax, 0xffffffff
jmp 0x140009de1
mov eax, dword [rbp - 0x18]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbp - 0x20], r15
movsd xmm0, qword [rbp - 0x20]
movsd qword [rbx + 0x10], xmm0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140052030
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14000a7f0
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140070040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 8]
mov rbx, rcx
mov r9d, 0xffffffff
mov qword [rsp + 0x28], rax
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lock xadd dword [0x140075768], eax
mov rcx, qword [rbx + 8]
test eax, eax
je 0x14000a869
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140052030
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
xor r8d, r8d
lea rcx, [fcn.140008f70]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rbx + 8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140052030
add rsp, 0x40
pop rbx
ret