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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
cmp byte [0x140312ecb], 0
mov rbx, rcx
movsd xmm0, qword [str.VYYP_j]
mov r11d, 0x24924925
mov eax, dword [str.TPV_]
movsd qword [rbp - 0x10], xmm0
mov dword [rbp - 8], eax
je 0x14003c246
xor r8d, r8d
lea r9, [rbp - 0x10]
mov eax, r11d
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9], al
inc r9
cmp r8d, 0xc
jl 0x14003c218
cmp qword [rbx + 0x18], 0x10
mov r10, rbx
movsd xmm0, qword [0x140312b68]
mov al, byte [0x140312b70]
movsd qword [rbp - 0x30], xmm0
mov byte [rbp - 0x28], al
jb 0x14003c269
mov r10, qword [rbx]
xor r8d, r8d
lea r9, [rbp - 0x30]
mov eax, r11d
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9], al
inc r9
cmp r8d, 9
jl 0x14003c270
movsd xmm0, qword [0x140312b68]
lea r9, [rbp - 0x20]
mov al, byte [0x140312b70]
xor r8d, r8d
movsd qword [rbp - 0x20], xmm0
mov byte [rbp - 0x18], al
mov eax, r11d
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9], al
inc r9
cmp r8d, 9
jl 0x14003c2bb
lea r9, [rbp - 0x10]
mov r8, r10
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14003c334
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14003c32f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003c34f
mov rcx, r8
call fcn.140060840
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
call fcn.1401657c0
int3
Function at 0x14003c358
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
cmp byte [0x140312e03], 0
mov rbx, rcx
movsd xmm0, qword [str.VYYP_z]
mov r11d, 0x24924925
mov eax, dword [0x140312e00]
movsd qword [rbp - 0x10], xmm0
mov dword [rbp - 8], eax
je 0x14003c3c2
xor r8d, r8d
lea r9, [rbp - 0x10]
mov eax, r11d
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9], al
inc r9
cmp r8d, 0xc
jl 0x14003c394
cmp qword [rbx + 0x18], 0x10
mov r10, rbx
movsd xmm0, qword [str.eWDKNUIX]
mov al, byte [0x140312e78]
movsd qword [rbp - 0x30], xmm0
mov byte [rbp - 0x28], al
jb 0x14003c3e5
mov r10, qword [rbx]
xor r8d, r8d
lea r9, [rbp - 0x30]
mov eax, r11d
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9], al
inc r9
cmp r8d, 9
jl 0x14003c3ec
movsd xmm0, qword [str.eWDKNUIX]
lea r9, [rbp - 0x20]
mov al, byte [0x140312e78]
xor r8d, r8d
movsd qword [rbp - 0x20], xmm0
mov byte [rbp - 0x18], al
mov eax, r11d
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9], al
inc r9
cmp r8d, 9
jl 0x14003c437
lea r9, [rbp - 0x10]
mov r8, r10
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14003c4b0
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14003c4ab
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003c4cb
mov rcx, r8
call fcn.140060840
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
call fcn.1401657c0
int3
Function at 0x14003ccac
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x18], xmm6
call fcn.140044228
mov rcx, qword [0x14037c678]
call fcn.14000e638
mov rax, qword [0x14037c600]
lea r9, [rbp - 0x29]
movups xmm0, xmmword [0x140312e80]
movups xmm1, xmmword [0x140312e90]
or dword [rax + 0x1c40], 2
movups xmmword [rbp - 0x29], xmm0
mov dword [rax + 0x1c64], 0x43d90000
xor r8d, r8d
movups xmm0, xmmword [0x140312ea0]
mov dword [rax + 0x1c68], 0x43330000
mov dword [rax + 0x1c48], 1
movzx eax, word [0x140312eb8]
movups xmmword [rbp - 9], xmm0
mov word [rbp + 0xf], ax
movsd xmm0, qword [0x140312eb0]
mov al, byte [0x140312eba]
movsd qword [rbp + 7], xmm0
movups xmmword [rbp - 0x19], xmm1
mov byte [rbp + 0x11], al
mov eax, 0x24924925
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9], al
inc r9
cmp r8d, 0x3b
jl 0x14003cd49
mov r8d, Ordinal_41
lea rdx, [0x14037c5fb]
lea rcx, [rbp - 0x29]
call fcn.14000bcf4
lea rcx, [rbp + 0x67]
mov dword [rbp + 0x67], 0x41400000
mov dword [rbp + 0x6b], 0x41f80000
call fcn.14000ee94
and dword [rsp + 0x20], 0
lea r8, [rbp + 0x67]
mov edx, 1
mov dword [rbp + 0x67], 0x43cb8000
mov r9b, 1
mov dword [rbp + 0x6b], 0x42ce0000
xor ecx, ecx
call fcn.14000915c
movaps xmm0, xmmword [0x140313be0]
lea r9, [rbp - 0x29]
movaps xmm1, xmmword [0x140313bf0]
xor r8d, r8d
movaps xmmword [rbp - 0x29], xmm0
movaps xmm0, xmmword [0x140313c00]
movaps xmmword [rbp - 9], xmm0
movaps xmm0, xmmword [0x140313c20]
movaps xmmword [rbp - 0x19], xmm1
movaps xmm1, xmmword [0x140313c10]
movaps xmmword [rbp + 0x17], xmm0
movsd xmm0, qword [0x140313c40]
movaps xmmword [rbp + 7], xmm1
movaps xmm1, xmmword [0x140313c30]
movsd qword [rbp + 0x37], xmm0
movaps xmmword [rbp + 0x27], xmm1
mov eax, 0x24924925
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9], al
inc r9
cmp r8d, 0x68
jl 0x14003ce22
lea rcx, [rbp - 0x29]
call fcn.14002d914
call fcn.14000935c
movss xmm1, dword [0x14037f4e0]
movss xmm6, dword [0x140314370]
comiss xmm6, xmm1
jbe 0x14003cea3
addss xmm1, dword [0x1403142d8]
comiss xmm1, xmm6
movss dword [0x14037f4e0], xmm1
jb 0x14003ce98
and dword [0x14037f4e0], 0
mov byte [0x14037c5fb], 0
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x67]
mov dword [rbp + 0x67], 0x41600000
mov dword [rbp + 0x6b], 0x43140000
call fcn.14000ee94
movss xmm0, dword [0x14031438c]
call fcn.14000ef0c
movss xmm0, dword [0x14037f4e0]
lea rdx, [rbp + 0x67]
and dword [rbp + 0x67], 0
and dword [rbp + 0x6b], 0
divss xmm0, xmm6
call fcn.14002f764
call fcn.14000efa8
call fcn.14000e180
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb0
pop rbp
jmp fcn.14000e6d0
Function at 0x14003cf04
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x1328]
mov eax, 0x1420
call fcn.1401a8500
sub rsp, rax
mov rax, qword [0x140327010]
xor rax, rsp
mov qword [rbp + 0x1310], rax
mov edi, edx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
and dword [rsp + 0x20], 0
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789]
movups xmmword [rbp + 0x12d0], xmm0
movups xmm1, xmmword [0x1403113f8]
movups xmmword [rbp + 0x12e0], xmm1
movups xmm0, xmmword [0x140311408]
movups xmmword [rbp + 0x12f0], xmm0
movsd xmm0, qword [0x140311418]
movsd qword [rbp + 0x1300], xmm0
mov eax, dword [0x140311420]
mov dword [rbp + 0x1308], eax
movzx eax, word [0x140311424]
mov word [rbp + 0x130c], ax
mov al, byte [0x140311426]
mov byte [rbp + 0x130e], al
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
and qword [rcx + 0x10], 0
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], 0
mov r14d, 1
mov dword [rsp + 0x20], r14d
call fcn.140064104
mov edx, eax
or dword [rbp + 0x12c4], 0xffffffff
mov dword [rsp + 0x44], eax
mov ecx, r14d
mov r8d, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x44], edx
add rcx, r14
cmp rcx, r8
jb 0x14003cfe9
mov dword [rsp + 0x40], r8d
and dword [rsp + 0x28], 0
mov dword [rsp + 0x2c], 0x3d
test edi, edi
jle 0x14003d071
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.14004d494
movsxd rcx, eax
mov r9b, byte [rbp + rcx + 0x12d0]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x14003d05e
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14003d053
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14003d06c
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call fcn.14004e92c
sub rdi, r14
jne 0x14003d01a
mov rax, rbx
mov rcx, qword [rbp + 0x1310]
xor rcx, rsp
call fcn.140060670
lea r11, [rsp + 0x1420]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14003d364
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13d0
call fcn.1401a8500
sub rsp, rax
mov rax, qword [0x140327010]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov ebx, edx
call fcn.140064104
or dword [rsp + 0x13b4], 0xffffffff
mov edx, 0x270
mov dword [rsp + 0x34], eax
mov r8d, 1
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, r8d
mov dword [rsp + r8*4 + 0x34], eax
inc r8
cmp r8, rdx
jb 0x14003d3a3
mov dword [rsp + 0x30], edx
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], 5
mov dword [rsp + 0x24], ebx
call fcn.14004d494
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.140060670
add rsp, 0x13d0
pop rbx
ret
Function at 0x140047704
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140047724
xor eax, eax
jmp 0x14004780a
cmp qword [rcx + 0x68], 0
je 0x140047735
call fcn.140048dc8
jmp 0x14004780a
mov rax, qword [rcx + 0x38]
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14004774c
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14004774e
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140047780
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14012ef20
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140047804
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400477b7
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1400477e0
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14014d260
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x140047804
cmp rdi, rbx
ja 0x1400477be
test rdi, rdi
je 0x140047804
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call fcn.14014d260
sub rdi, rax
sub rbp, rdi
mov rax, rbp
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14004dbac
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140327010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.140061310
mov qword [rax], rbx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14005cf8c]
xor edx, edx
xor ecx, ecx
call fcn.140158c40
mov qword [rdi], rax
test rax, rax
je 0x14004dc21
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140060670
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
and dword [rbx], 0
mov ecx, 6
call fcn.140062e40
int3
Function at 0x14005c580
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r9, qword [rcx]
mov ebx, 0x270
mov ecx, dword [r9]
cmp ecx, ebx
jne 0x14005c5eb
lea r8, [r9 + 8]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, r10d
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub rbx, 1
jne 0x14005c5ae
mov ecx, dword [r9]
jmp 0x14005c6b9
cmp ecx, 0x4e0
jb 0x14005c6b9
lea rbx, [r9 + 0x9c4]
mov esi, 0xe3
mov edi, dword [rbx]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov eax, edi
mov edi, dword [rbx + 4]
mov edx, eax
lea rbx, [rbx + 4]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [rbx + 0x630]
xor ecx, edx
mov dword [rbx - 0x9c4], ecx
sub rsi, 1
jne 0x14005c611
lea rbx, [r9 + 0xd50]
mov esi, 0x18c
mov edi, dword [rbx]
mov eax, edi
mov edi, dword [rbx + 4]
mov edx, eax
lea rbx, [rbx + 4]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [rbx - 0xd50]
xor ecx, edx
mov dword [rbx - 0x9c4], ecx
sub rsi, 1
jne 0x14005c652
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
ret

Function at 0x14007a814
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x140065fce
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140065fb1
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x140065f9c
Function at 0x140092480
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x30]
mov ecx, reloc.WS2_32.dll_recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov dword [rsp + 0x54], 4
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
mov r8d, 0x1008
mov edx, 0xffff
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x1400924f4
cmp dword [rsp + 0x34], 1
jne 0x1400924f4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.WS2_32.dll_send]
mov rcx, rsp
lea rdx, reloc.XINPUT1_3.dll_Ordinal_2
call fcn.1401a8550
add rsp, 0x70
pop rdi
ret

Function at 0x1400986d0
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x1505
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jae 0x14009875b
mov rax, qword [rsp + 0x28]
shl rax, 5
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax]
mov byte [rsp + 0x30], al
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
movzx ecx, byte [rsp + 0x30]
call fcn.1400bad40
movsx rax, al
mov rcx, qword [rsp + 0x28]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x1400986fd
xor edx, edx
mov rax, qword [rsp + 0x28]
mov ecx, 0x100
div rcx
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400b42f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rcx, qword [rsp + 0x40]
call fcn.1400b4150
mov r8d, eax
mov rdx, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x30]
call fcn.14017b7d0
cdqe
add rsp, 0x20
pop rdi
ret

Function at 0x1400b4860
Capabilities:
Initialize winsock library

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x220
lea rdi, [rsp + 0x30]
mov ecx, 0x7c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x230]
mov rax, qword [0x140327010]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov eax, dword [rsp + 0x230]
and eax, 2
test eax, eax
je 0x1400b4937
mov eax, 0x202
mov word [rsp + 0x30], ax
lea rdx, [rsp + 0x50]
movzx ecx, word [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x1f4], eax
cmp dword [rsp + 0x1f4], 0
je 0x1400b48dd
mov eax, 2
jmp 0x1400b49ef
movzx eax, word [rsp + 0x50]
and rax, 0xff
movzx eax, al
movzx ecx, word [rsp + 0x30]
and rcx, 0xff
movzx ecx, cl
cmp eax, ecx
jne 0x1400b4927
movzx eax, word [rsp + 0x50]
shr rax, 8
and rax, 0xff
movzx eax, al
movzx ecx, word [rsp + 0x30]
shr rcx, 8
and rcx, 0xff
movzx ecx, cl
cmp eax, ecx
je 0x1400b4937
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
jmp 0x1400b49ef
call fcn.1401153b0
mov dword [rsp + 0x1f8], eax
cmp dword [rsp + 0x1f8], 0
je 0x1400b4959
mov eax, dword [rsp + 0x1f8]
jmp 0x1400b49ef
lea rcx, str.iphlpapi.dll
call fcn.1400b4a90
mov qword [0x14037b1b8], rax
cmp qword [0x14037b1b8], 0
je 0x1400b49ac
lea rdx, str.if_nametoindex
mov rcx, qword [0x14037b1b8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x200], rax
cmp qword [rsp + 0x200], 0
je 0x1400b49ac
mov rax, qword [rsp + 0x200]
mov qword [0x14037b1b0], rax
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov ecx, 6
call fcn.140114f00
movzx eax, al
test eax, eax
je 0x1400b49d9
mov byte [0x14037f9fc], 1
jmp 0x1400b49e0
mov byte [0x14037f9fc], 0
lea rcx, [0x14037fa00]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401a8550
mov rax, rdi
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.140060670
add rsp, 0x220
pop rdi
ret
Function at 0x1400b4a90
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400b4acd
xor eax, eax
jmp 0x1400b4c69
lea rdx, str.LoadLibraryExA
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
lea rdx, [0x14032ac44]
mov rcx, qword [rsp + 0x70]
call fcn.140172ab0
test rax, rax
je 0x1400b4b39
cmp qword [rsp + 0x28], 0
je 0x1400b4b1a
mov r8d, 8
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [rsp + Ordinal_41]
mov qword [rsp + 0x50], rax
jmp 0x1400b4b2a
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
jmp 0x1400b4c64
cmp qword [rsp + 0x28], 0
je 0x1400b4b73
lea rdx, str.AddDllDirectory
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400b4b73
mov r8d, 0x800
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [rsp + Ordinal_41]
mov qword [rsp + 0x20], rax
jmp 0x1400b4c64
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1400b4c64
mov rcx, qword [rsp + 0x70]
call fcn.1401723e0
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x38]
inc eax
mov eax, eax
add rax, qword [rsp + 0x40]
mov rcx, rax
call qword [fcn.140156530]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1400b4c59
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1400b4c59
mov rcx, qword [rsp + 0x48]
call fcn.1401723e0
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
lea rdx, [0x14032ac68]
mov rcx, rax
call fcn.1401727d0
mov rcx, qword [rsp + 0x48]
call fcn.1401723e0
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call fcn.1401727d0
cmp qword [rsp + 0x28], 0
je 0x1400b4c3f
mov r8d, 8
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [rsp + Ordinal_41]
mov qword [rsp + 0x58], rax
jmp 0x1400b4c4f
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x48]
call qword [fcn.14014c880]
mov rax, qword [rsp + 0x20]
add rsp, 0x60
pop rdi
ret
Function at 0x1400bf9c0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea rdi, [rsp + 0x50]
mov ecx, reloc.WS2_32.dll_sendto
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x84]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x4004747b
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1400bfa61
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x64]
mov r8d, 0x1001
mov edx, 0xffff
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, rsp
lea rdx, reloc.XINPUT1_3.dll_Ordinal_2
call fcn.1401a8550
add rsp, 0xa0
pop rdi
ret