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

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x30
call fcn.1337c1027ae0
sub rsp, rax
xor edi, edi
mov qword [rsp + 0x40], rbp
movsxd rbx, r9d
mov r11, r8
mov dword [rsp + 0x58], reloc.WS2_32.dll_recv
mov rbp, rcx
mov r10d, edi
test r9d, r9d
jle 0x1337c100afc4
cmp ebx, 8
jb 0x1337c100afc4
lea rax, [rbx - 1]
lea rcx, [rax + rdx]
add rax, r8
cmp rdx, rax
ja 0x1337c100aef9
cmp rcx, r8
jae 0x1337c100afc4
sub r8, rdx
cmp ebx, 0x40
jb 0x1337c100af8e
mov eax, ebx
mov qword [rsp + 0x48], rsi
and eax, 0xffffffc0
mov r9, 0xfffffffffffffff0
movsxd rsi, eax
sub r9, rdx
lea rcx, [rdx + 0x10]
movdqu xmm0, xmmword [rcx - 0x10]
add r10d, 0x40
movdqu xmm1, xmmword [rcx + r8 - 0x10]
lea rcx, [rcx + 0x40]
lea rax, [r9 + rcx]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rcx + r8 - 0x40]
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm2, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [rcx + r8 - 0x30]
xorps xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
movdqu xmm0, xmmword [rcx - 0x20]
movdqu xmm1, xmmword [rcx + r8 - 0x20]
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
cmp rax, rsi
jl 0x1337c100af20
mov rsi, qword [rsp + 0x48]
mov eax, ebx
and al, 0x3f
cmp al, 8
jb 0x1337c100afc4
mov ecx, ebx
and ecx, 0xfffffff8
movsxd rax, r10d
movsxd r9, ecx
lea rcx, [rax + rdx]
nop dword [rax]
movq xmm0, qword [rcx]
add r10d, 8
movq xmm1, qword [r8 + rcx]
xorps xmm1, xmm0
movq qword [rcx], xmm1
add rcx, 8
mov rax, rcx
sub rax, rdx
cmp rax, r9
jl 0x1337c100afa0
movsxd rcx, r10d
mov r8, rbx
cmp rcx, rbx
jge 0x1337c100aff1
sub r11, rdx
lea rax, [rcx + rdx]
sub r8, rcx
nop dword [rax]
movzx ecx, byte [r11 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub r8, 1
jne 0x1337c100afe0
mov rcx, qword [rbp + 0x10]
lea r8, [rsp + 0x58]
mov r9, rdx
mov dword [rsp + 0x20], ebx
call fcn.1337c0f800c0
mov rbp, qword [rsp + 0x40]
test eax, eax
je 0x1337c100b024
cmp dword [rsp + 0x58], ebx
sete dil
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x1337c100b1b0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rdx
mov r10, rcx
test rdx, rdx
je 0x1337c100b22b
test r8, r8
je 0x1337c100b22b
mov r9, qword [rcx + 0x28]
cmp r8, r9
cmovb r9, r8
test r9, r9
je 0x1337c100b1f1
add rcx, 0x30
sub rdx, r10
nop word [rax + rax]
movzx eax, byte [rdx + rcx - 0x30]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r9, 1
jne 0x1337c100b1e0
mov rax, qword [r10 + 0x28]
cmp r8, rax
jbe 0x1337c100b22b
sub r8, rax
cmp r8, 0x10
jbe 0x1337c100b20b
mov r8d, reloc.WS2_32.dll_recv
jmp 0x1337c100b210
test r8, r8
je 0x1337c100b22b
xor ecx, ecx
mov rax, qword [r10 + 0x28]
add rax, rcx
movzx eax, byte [rax + r11]
xor byte [r10 + rcx + 0x50], al
inc rcx
cmp rcx, r8
jb 0x1337c100b212
ret
Function at 0x1337c1036200
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1337c103626f
xor ecx, ecx
call qword [0x1337c105a438]
test rax, rax
je 0x1337c103626f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1337c103626f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1337c103626f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1337c103626f
cmp dword [rcx + 0x84], 0xe
jbe 0x1337c103626f
cmp dword [rcx + 0xf8], 0
je 0x1337c103626f
mov ecx, ebx
call fcn.1337c1036320
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1337c10360fc
nop
cmp dword [rbp + 0x20], 0
je 0x1337c10362bd
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1337c10362c8
int3
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1337c1036200

Function at 0x1337c1054de0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1337c1054e08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1337c1054e08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1337c1059820
Capabilities:
Execute syscall

Disassembly:
push rbx
push r10
pushfq
mov rbx, rsp
mov r10, rcx
push qword [0x1337c12d3068]
lea rax, [0x1337c105989b]
push rax
push qword [0x1337c12d3090]
push qword [0x1337c12d3080]
sub rsp, 8
mov rax, rsp
push qword [0x1337c12d3090]
push qword [0x1337c12d3058]
push rax
push qword [0x1337c12d3090]
push qword [0x1337c12d3070]
lea rax, [0x1337c12d3020]
push rax
push qword [0x1337c12d3078]
lea rax, [0x1337c10597e0]
push rax
push qword [0x1337c12d3080]
push qword [0x1337c12d3088]
push qword [0x1337c12d3090]
pushfq
pop rax
or rax, 0x40000
push rax
popfq
syscall
mov rsp, rbx
popfq
pop r10
pop rbx
ret
Function at 0x14020eca2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x78
mov dword [rsp + 0x6c], edx
mov qword [rsp + 0x60], rcx
cmp qword [rsp + 0x60], 0
jne 0x14020ecc9
mov qword [rsp + 0x70], 0
jmp 0x14020ee03
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14020eced
mov qword [rsp + 0x70], 0
jmp 0x14020ee03
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14020ed1d
mov qword [rsp + 0x70], 0
jmp 0x14020ee03
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x88]
add rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x20]
add rax, rcx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x48]
cmp eax, dword [rcx + 0x18]
jae 0x14020edfa
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
mov edx, 0x911c9ac5
call fcn.14020fd98
cmp eax, dword [rsp + 0x6c]
jne 0x14020ede5
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x24]
add rax, rcx
mov ecx, dword [rsp + 0x3c]
movzx eax, word [rax + rcx*2]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov edx, dword [rdx + 0x1c]
add rcx, rdx
mov edx, dword [rsp + 0x2c]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x70], rax
jmp 0x14020ee03
jmp 0x14020edea
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x3c], eax
jmp 0x14020ed52
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x70]
add rsp, 0x78
ret

Function at 0x14020fd2e
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x34], edx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0
jne 0x14020fd59
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x24], eax
jmp 0x14020fd7d
imul edx, dword [rsp + 0x34], 0x1000193
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
xor edx, eax
mov rcx, qword [rsp + 0x28]
add rcx, 2
call fcn.14020fd2e
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret

Function at 0x14020fd98
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x34], edx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
cmp eax, 0
jne 0x14020fdc3
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x24], eax
jmp 0x14020fde7
imul edx, dword [rsp + 0x34], 0x1000193
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
xor edx, eax
mov rcx, qword [rsp + 0x28]
add rcx, 1
call fcn.14020fd98
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret
Function at 0x1800017e0
Capabilities:
Hash data with md5

Disassembly:
sub rsp, 0x38
xor edx, edx
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
add rax, 0x10
mov qword [rsp + 0x28], rcx
mov rcx, rax
mov r8d, 8
call fcn.1801530a0
mov rax, qword [rsp + 0x28]
mov dword [rax], 0x67452301
mov dword [rax + 4], 0xefcdab89
mov dword [rax + 8], 0x98badcfe
mov dword [rax + 0xc], 0x10325476
add rsp, 0x38
ret

Function at 0x180006148
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 8], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov r14d, r8d
mov r13, rdx
mov rsi, rcx
and dword [rbp - 0x10], 0
mov qword [rcx + 0x18], SafeArrayLock
and qword [rcx + 0x10], 0
mov byte [rcx], 0
mov dword [rbp - 0x10], 1
xor ebx, ebx
test r8d, r8d
je 0x18000630a
xor ecx, ecx
lea edi, [rbx + 3]
dec r14d
mov al, byte [r13]
mov byte [rbp + rcx + 0x50], al
inc ebx
inc rcx
inc r13
mov dl, byte [rbp + 0x52]
mov r15b, byte [rbp + 0x51]
mov r12b, byte [rbp + 0x50]
cmp rcx, rdi
jne 0x180006239
mov al, r12b
shr al, 2
mov byte [rbp + 0x58], al
mov cl, r12b
and cl, dil
shl cl, 4
mov al, r15b
shr al, 4
add cl, al
mov byte [rbp + 0x59], cl
mov cl, r15b
and cl, 0xf
shl cl, 2
mov al, dl
shr al, 6
add cl, al
mov byte [rbp + 0x5a], cl
mov al, dl
and al, 0x3f
mov byte [rbp + 0x5b], al
xor ebx, ebx
lea rcx, [0x1801fb3e8]
cmp qword [0x1801fb400], 0x10
cmovae rcx, qword [0x1801fb3e8]
movzx eax, byte [rbp + rbx + 0x58]
mov r8b, byte [rax + rcx]
mov edx, 1
mov rcx, rsi
call fcn.180006990
inc rbx
cmp rbx, 4
jl 0x1800061fc
xor ebx, ebx
xor ecx, ecx
mov dl, byte [rbp + 0x52]
test r14d, r14d
jne 0x1800061a0
test ebx, ebx
je 0x18000630a
cmp ebx, edi
jge 0x180006271
mov eax, edi
sub eax, ebx
movsxd r8, eax
movsxd rax, ebx
lea rcx, [rbp + 0x50]
add rcx, rax
xor edx, edx
call fcn.1801530a0
mov dl, byte [rbp + 0x52]
mov r15b, byte [rbp + 0x51]
mov r12b, byte [rbp + 0x50]
mov al, r12b
shr al, 2
mov byte [rbp + 0x58], al
and r12b, dil
shl r12b, 4
mov al, r15b
shr al, 4
add r12b, al
mov byte [rbp + 0x59], r12b
and r15b, 0xf
shl r15b, 2
mov al, dl
shr al, 6
add r15b, al
mov byte [rbp + 0x5a], r15b
and dl, 0x3f
mov byte [rbp + 0x5b], dl
lea eax, [rbx + 1]
test eax, eax
jle 0x1800062eb
lea r14, [rbp + 0x58]
mov r15d, eax
lea rcx, [0x1801fb3e8]
cmp qword [0x1801fb400], 0x10
cmovae rcx, qword [0x1801fb3e8]
movzx eax, byte [r14]
mov r8b, byte [rax + rcx]
mov edx, 1
mov rcx, rsi
call fcn.180006990
inc r14
sub r15, 1
jne 0x1800062b6
cmp ebx, edi
jge 0x18000630a
sub edi, ebx
movsxd rbx, edi
mov r8b, 0x3d
mov edx, 1
mov rcx, rsi
call fcn.180006990
sub rbx, 1
jne 0x1800062f4
mov rax, rsi
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000dc14
Capabilities:
Enumerate processes on remote desktop session host

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rbx, rcx
xor r14d, r14d
mov dword [rbp - 0x30], r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rbp - 0x30], 1
mov qword [rbp + 0x40], r14
mov dword [rbp + 0x38], r14d
lea rax, [rbp + 0x38]
mov qword [r11 - 0x68], rax
lea r9, [rbp + 0x40]
xor edx, edx
xor ecx, ecx
lea r8d, [r14 + 1]
call qword [sym.imp.WTSAPI32.dll_WTSEnumerateProcessesA]
test eax, eax
je 0x18000dd8c
mov esi, r14d
mov r8d, dword [rbp + 0x38]
test r8d, r8d
je 0x18000dd8c
lea r15d, [r14 + 0xf]
mov rdx, qword [rbp + 0x40]
mov eax, esi
lea rcx, [rax + rax*2]
mov rax, qword [rdx + rcx*8 + 8]
test rax, rax
je 0x18000dd7f
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
mov qword [rbp - 8], r15
mov qword [rbp - 0x10], r14
mov byte [rbp - 0x20], r14b
cmp byte [rax], r14b
jne 0x18000dcc5
mov r8, r14
jmp 0x18000dcd2
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x18000dcc9
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.180006768
nop
mov rax, qword [rbx + 8]
lea rcx, [rbp - 0x20]
cmp rcx, rax
jae 0x18000dd1f
lea rcx, [rbp - 0x20]
cmp qword [rbx], rcx
ja 0x18000dd1f
lea rdi, [rbp - 0x20]
sub rdi, qword [rbx]
cmp rax, qword [rbx + 0x10]
jne 0x18000dd0a
mov rcx, rbx
call fcn.18000deb4
mov rcx, qword [rbx + 8]
and rdi, 0xffffffffffffffe0
add rdi, qword [rbx]
test rcx, rcx
je 0x18000dd4a
mov rdx, rdi
jmp 0x18000dd3a
cmp rax, qword [rbx + 0x10]
jne 0x18000dd2d
mov rcx, rbx
call fcn.18000deb4
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18000dd4a
lea rdx, [rbp - 0x20]
mov qword [rcx + 0x18], r15
mov qword [rcx + 0x10], r14
mov byte [rcx], r14b
call fcn.180006a90
add qword [rbx + 8], 0x20
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x18000dd6b
inc rdx
mov r8d, 1
mov rcx, qword [rbp - 0x20]
call fcn.1800060dc
mov qword [rbp - 8], r15
mov qword [rbp - 0x10], r14
mov byte [rbp - 0x20], r14b
mov rdx, qword [rbp + 0x40]
mov r8d, dword [rbp + 0x38]
inc esi
cmp esi, r8d
jb 0x18000dc93
jmp 0x18000dd90
mov rdx, qword [rbp + 0x40]
test rdx, rdx
je 0x18000dda2
mov rcx, rdx
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov qword [rbp + 0x40], r14
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000e8f8
Capabilities:
Copy file
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x2a0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rbx, rdx
mov rdi, rcx
and dword [rsp + 0x20], 0
mov r15d, SafeArrayLock
mov qword [rcx + 0x18], r15
and qword [rcx + 0x10], 0
mov byte [rcx], 0
lea r14d, [r15 - 0xe]
mov dword [rsp + 0x20], r14d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call fcn.1801530a0
lea edx, [r15 - 9]
lea rcx, [rsp + 0x68]
call fcn.180028f4c
nop
mov r8, rax
lea rdx, [0x1801aa070]
lea rcx, [rsp + 0x48]
call fcn.18000e4c0
nop
lea r8, str..exe
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.18000e534
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18000e9ad
inc rdx
mov r8d, r14d
mov rcx, qword [rsp + 0x48]
call fcn.1800060dc
mov qword [rsp + 0x60], r15
and qword [rsp + 0x58], 0
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x18000e9d7
inc rdx
mov r8, r14
mov rcx, qword [rsp + 0x68]
call fcn.1800060dc
mov qword [rbp - 0x80], r15
and qword [rsp + 0x78], 0
mov byte [rsp + 0x68], 0
xor r9d, r9d
lea r8d, [r9 + 0x1c]
lea rdx, [rbp - 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
cmp qword [rbx + 0x18], 0x10
jb 0x18000ea1e
mov rbx, qword [rbx]
mov r8d, r14d
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x18000ea5c
cmp byte [rbp - 0x70], 0
jne 0x18000ea3d
xor r8d, r8d
jmp 0x18000ea4f
lea rax, [rbp - 0x70]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x18000ea45
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.180006768
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x18000ea77
inc rdx
mov r8, r14
mov rcx, qword [rsp + 0x28]
call fcn.1800060dc
mov qword [rsp + 0x40], r15
and qword [rsp + 0x38], 0
mov byte [rsp + 0x28], 0
mov rax, rdi
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x18000f0e4
Capabilities:
Connect socket
Get local ipv4 addresses
Get socket information
Reference google public dns server

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rbx, rcx
xor r14d, r14d
mov dword [rbp - 0x59], r14d
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], r14
lea r15d, [r14 + 0xf]
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x41], r14
mov byte [rbp - 0x51], r14b
xor r8d, r8d
lea r12d, [r14 + 2]
mov edx, r12d
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
xor eax, eax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
mov word [rbp - 0x31], r12w
lea rcx, str.8.8.8.8
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp - 0x2d], eax
lea ecx, [r14 + 0x35]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x2f], ax
lea r8d, [r14 + 0x10]
lea rdx, [rbp - 0x31]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
js 0x18000f1f8
mov dword [rbp + 0x6f], reloc.WS2_32.dll_recv
lea r8, [rbp + 0x6f]
lea rdx, [rbp - 0x19]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockname]
xor edx, edx
lea r8d, [r14 + 0x50]
lea rcx, [rbp - 9]
call fcn.1801530a0
lea r9d, [r14 + 0x50]
lea r8, [rbp - 9]
lea rdx, [rbp - 0x15]
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_inet_ntop]
test rax, rax
je 0x18000f1ef
cmp byte [rbp - 9], r14b
jne 0x18000f1d1
mov r8d, r14d
jmp 0x18000f1e2
lea rax, [rbp - 9]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x18000f1d9
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x51]
call fcn.180006768
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rbx + 0x18], r15
mov qword [rbx + 0x10], r14
mov byte [rbx], r14b
lea rdx, [rbp - 0x51]
mov rcx, rbx
call fcn.180006a90
mov r8d, 1
mov dword [rbp - 0x59], r8d
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x18000f22f
inc rdx
mov rcx, qword [rbp - 0x51]
call fcn.1800060dc
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x41], r14
mov byte [rbp - 0x51], r14b
mov rax, rbx
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1800123b8
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, [0x1801ab938]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x18001245e
lea rdx, str.ZwAllocateVirtualMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801ff888], rax
test rax, rax
je 0x18001245e
lea rdx, str.ZwWriteVirtualMemory
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801ff880], rax
test rax, rax
je 0x18001245e
lea rdx, str.ZwReadVirtualMemory
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801ff878], rax
test rax, rax
je 0x18001245e
lea rdx, str.ZwGetContextThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801ff868], rax
test rax, rax
je 0x18001245e
lea rdx, str.ZwSetContextThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801ff870], rax
add rsp, 0x20
pop rbx
ret

Function at 0x180012660
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x180012673
xor eax, eax
jmp 0x18001267c
movzx eax, al
shr eax, 4
and eax, 1
add rsp, 0x28
ret
Function at 0x180014928
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
and dword [rsp + 0x48], 0
cmp edx, 1
jne 0x18001497e
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea rcx, [rsp + 0x48]
xor r9d, r9d
lea r8, [0x1800134e8]
mov qword [0x1801ff628], rax
mov qword [rsp + 0x28], rcx
xor edx, edx
and dword [rsp + 0x20], 0
xor ecx, ecx
call fcn.180154f70
mov qword [0x1801ff638], rax
mov eax, 1
add rsp, 0x38
ret

Function at 0x180016f70
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
lea rbp, [rax - 0x1c8]
sub rsp, 0x2c0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov edx, 0x208
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x180016ff8
lea rcx, [rsp + 0x60]
call fcn.180015910
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x50], xmm0
lea r8, str.GetSystemDirectory___failed
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.1800079f4
nop
lea rax, vtable.boost::process::process_error.0
mov qword [rbp - 0x80], rax
lea rdx, [0x1801e5960]
lea rcx, [rbp - 0x80]
call fcn.180153440
nop
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rbx
mov word [rsp + 0x28], bx
cmp word [rbp - 0x50], bx
je 0x18001702f
lea rcx, [rbp - 0x50]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x180017023
mov rbx, rax
mov r8, rbx
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x28]
call fcn.180008b00
nop
lea rcx, [rsp + 0x60]
call fcn.18001b750
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.180016c50
mov dword [rsp + 0x20], 1
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.18000899c
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x28]
call fcn.18000899c
mov rax, rdi
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x180017790
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x1801ffc20]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor edx, edx
test rax, rax
je 0x1800177be
mov rdx, qword [rax + 8]
mov r8, rbx
add rsp, 0x20
pop rbx
jmp fcn.18001b9dc

Function at 0x1800177cc
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
sub rsp, 0x28
mov rbx, rcx
mov rdi, rdx
mov ecx, dword [0x1801ffc20]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1800177f9
mov r8, qword [rax + 8]
jmp 0x1800177fc
xor r8d, r8d
cmp rdi, 0x3fc
ja 0x180017820
test r8, r8
je 0x180017820
xor ecx, ecx
xor eax, eax
cmp qword [r8 + rax*8], 0
je 0x18001782e
inc ecx
inc rax
cmp rax, 2
jl 0x18001780e
mov rcx, rbx
add rsp, 0x28
pop rdi
pop rbx
jmp fcn.18002c160
mov al, byte [rbx + rdi]
mov byte [rbx], al
movsxd rax, ecx
mov qword [r8 + rax*8], rbx
add rsp, 0x28
pop rdi
pop rbx
ret