joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140067c70
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x190
mov rax, qword [0x1405c7418]
xor rax, rsp
mov qword [rsp + 0x180], rax
movzx esi, r9b
mov edi, r8d
mov rbx, rcx
mov dword [rsp + 0x38], r8d
cmp byte [rcx + 0x10], 0
jne 0x140067cdb
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140067cf8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x26
je 0x140067cd7
cmp eax, 0x6d
je 0x140067cd7
cmp eax, 0xe8
jne 0x140067d07
mov byte [rbx + 0x10], 1
xor eax, eax
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400ab7b0
add rsp, 0x190
pop rdi
pop rsi
pop rbx
ret
mov eax, dword [rsp + 0x30]
test sil, sil
je 0x140067cdd
cmp eax, edi
jne 0x140067d7e
jmp 0x140067cdd
lea rdx, [0x14040e200]
lea rcx, [rsp + 0x40]
call fcn.140005380
nop
lea rcx, [rsp + 0x60]
call fcn.140005740
nop
mov r9d, WSAStartup
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.1400057f0
mov rbx, rax
lea rcx, [rsp + 0x80]
call fcn.140005740
nop
lea r8, [0x14040e218]
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.1400034a0
nop
mov rcx, rax
call fcn.1400083b0
mov r8, rbx
mov edx, edi
mov rcx, rax
call fcn.14001f0f0
nop
lea rdx, str.Con::Pipe::write
lea rcx, [rsp + 0x40]
call fcn.140005380
nop
lea rcx, [rsp + 0xa0]
call fcn.140005740
nop
mov r9d, WSAStartup
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x130]
call fcn.1400057f0
mov rdi, rax
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x30]
lea rdx, [0x14040e260]
lea rcx, [rsp + 0x80]
call fcn.14003b4c0
mov rbx, rax
lea rcx, [rsp + 0x60]
call fcn.140005740
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.1400033e0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.14001d280
lea rdx, [0x1405c2328]
lea rcx, [rsp + 0xc0]
call fcn.1400ac6bc
int3
Function at 0x14006dc20
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1405c7418]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r14d, r8d
mov r15, rdx
mov r12, rcx
mov r9d, 2
lea r8d, [r9 + 0xa]
lea rdx, [rsp + 0x48]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
je 0x14006dd80
cmp r14d, dword [rsp + 0x48]
jge 0x14006dd4f
xor r13d, r13d
lea r8, [rsp + 0x20]
mov edx, r14d
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
je 0x14006ddf4
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r13
movzx ecx, word [rdi + 2]
call fcn.1400b5f7c
mov rbx, rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
movzx r8d, word [rdi + 2]
mov rdx, rdi
mov rcx, rax
call fcn.1400ad430
nop
xor dil, dil
mov rax, qword [r15]
movzx ecx, byte [rax]
cmp cl, byte [rbx]
jne 0x14006dd2a
call fcn.14003eb70
mov r8d, eax
mov rdx, rbx
mov rcx, qword [r15]
call fcn.1400ade60
test eax, eax
jne 0x14006dd2a
movzx ecx, byte [rbx]
call fcn.14003eb70
mov esi, eax
add rsi, rbx
mov rdi, qword [r15]
movzx ecx, byte [rdi]
call fcn.14003eb70
mov ecx, eax
add rcx, rdi
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne dil
mov rcx, rbx
call fcn.1400b5f68
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r13
test dil, dil
jne 0x14006dd7b
inc r14d
cmp r14d, dword [rsp + 0x48]
jl 0x14006dc81
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400ab7b0
mov rbx, qword [rsp + 0x198]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, r14d
jmp 0x14006dd54
lea rdx, [0x140412eb0]
lea rcx, [rsp + 0x28]
call fcn.140005380
nop
lea rcx, [rsp + 0x58]
call fcn.140005740
nop
mov r9d, 0x33b
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.1400057f0
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x78]
call fcn.140005740
nop
lea r8, [0x140412ec8]
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.1400034a0
nop
mov rcx, rax
call fcn.1400083b0
mov r8, rdi
mov edx, ebx
mov rcx, rax
call fcn.14001f0f0
nop
lea rdx, str.RunTime::Acl::findAce
lea rcx, [rsp + 0x58]
call fcn.140005380
nop
lea rcx, [rbp - 0x68]
call fcn.140005740
nop
mov r9d, 0x342
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.1400057f0
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x78]
call fcn.140005740
nop
lea r8, [0x140412f10]
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.1400034a0
nop
mov rcx, rax
call fcn.1400083b0
mov r8, rdi
mov edx, ebx
mov rcx, rax
call fcn.14001f0f0
int3
Function at 0x14006de70
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x120
mov rax, qword [0x1405c7418]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov ebx, r8d
mov rbp, rdx
mov rsi, rcx
mov r9d, 2
lea r8d, [r9 + 0xa]
lea rdx, [rsp + 0x28]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
je 0x14006df2b
cmp ebx, dword [rsp + 0x28]
jge 0x14006deff
nop dword [rax]
lea r8, [rsp + 0x20]
mov edx, ebx
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
je 0x14006dfa7
mov rdi, qword [rsp + 0x20]
movzx ecx, byte [rdi]
call fcn.14003eb70
mov ecx, eax
add rcx, rdi
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x14006df27
inc ebx
cmp ebx, dword [rsp + 0x28]
jl 0x14006dec0
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1400ab7b0
mov rbx, qword [rsp + 0x158]
add rsp, 0x120
pop rdi
pop rsi
pop rbp
ret
mov eax, ebx
jmp 0x14006df04
lea rdx, [0x140412f40]
lea rcx, [rsp + 0x38]
call fcn.140005380
nop
lea rcx, [rsp + 0x58]
call fcn.140005740
nop
mov r9d, 0x352
lea r8, [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.1400057f0
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x78]
call fcn.140005740
nop
lea r8, [0x140412f58]
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.1400034a0
nop
mov rcx, rax
call fcn.1400083b0
mov r8, rdi
mov edx, ebx
mov rcx, rax
call fcn.14001f0f0
nop
lea rdx, str.RunTime::Acl::findSid
lea rcx, [rsp + 0x38]
call fcn.140005380
nop
lea rcx, [rsp + 0x98]
call fcn.140005740
nop
mov r9d, 0x359
lea r8, [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.1400057f0
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x78]
call fcn.140005740
nop
lea r8, str.Unable_to_get_ACL_ACE
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400034a0
nop
mov rcx, rax
call fcn.1400083b0
mov r8, rdi
mov edx, ebx
mov rcx, rax
call fcn.14001f0f0
int3
Function at 0x140071ba0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x1405c7418]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
mov rcx, qword [rcx + 8]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140071bd6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x140071920]
xor edx, edx
xor ecx, ecx
call fcn.1400ba2e8
test rax, rax
je 0x140071c34
mov qword [rbx + 8], rax
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x10], eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400ab7b0
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
lea rdx, str.VThread::begin
lea rcx, [rsp + 0x38]
call fcn.140005380
nop
lea rcx, [rsp + 0x90]
call fcn.140005740
nop
mov r9d, 0xbb
lea r8, [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.1400057f0
mov rdi, rax
call fcn.1400b7c18
mov ecx, dword [rax]
call fcn.1400bf784
mov rbx, rax
lea rcx, [rsp + 0xb0]
call fcn.140005740
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.1400034a0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14001d280
lea rdx, [0x1405c2328]
lea rcx, [rsp + 0x58]
call fcn.1400ac6bc
int3
Function at 0x1400c5e0c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400c5c38
Function at 0x1400dbc70
Capabilities:
Set thread local storage value

Disassembly:
mov eax, 0x28
call fcn.1400ab750
sub rsp, rax
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x1400df530
Capabilities:
Encode data using add xor sub operations

Disassembly:
xor eax, eax
mov r10, rcx
test rcx, rcx
je 0x1400df59c
movzx ecx, byte [rcx]
test cl, cl
je 0x1400df59c
mov r11d, 0x100
nop word [rax + rax]
movsx r9d, cl
lea r10, [r10 + 1]
or r9d, r11d
mov r8d, eax
mov edx, r9d
mov ecx, 0x20
shr edx, 2
add r11d, 0x100
xor edx, r9d
imul r9d, r9d
and edx, 0xf
sub ecx, edx
shr r8, cl
mov ecx, edx
mov edx, eax
mov eax, r8d
shl edx, cl
movzx ecx, byte [r10]
or eax, edx
xor eax, r9d
test cl, cl
jne 0x1400df550
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
ret

Function at 0x1400df5a0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x20
call fcn.1400ab750
sub rsp, rax
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
je 0x1400df633
movzx eax, byte [rcx]
test al, al
je 0x1400df633
mov qword [rsp + 0x30], rsi
mov esi, 0x100
nop
movsx ecx, al
call fcn.1400dff10
mov r9d, eax
mov edx, ebx
or r9d, esi
lea rdi, [rdi + 1]
mov eax, ebx
mov r8d, r9d
shr r8d, 2
mov ecx, 0x20
xor r8d, r9d
add esi, 0x100
and r8d, 0xf
imul r9d, r9d
sub ecx, r8d
shr rdx, cl
mov ecx, r8d
shl eax, cl
mov ebx, edx
or ebx, eax
movzx eax, byte [rdi]
xor ebx, r9d
test al, al
jne 0x1400df5d0
mov rsi, qword [rsp + 0x30]
mov eax, ebx
shr eax, 0x10
xor eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x14019e990
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.1400ab750
sub rsp, rax
mov r10, rcx
test r9, r9
jne 0x14019e9da
call fcn.1400dff20
lea r8, str.c2i_ibuf
mov edx, 0xa0
lea rcx, str.crypto_asn1_a_int.c
call fcn.1400e0040
xor r8d, r8d
mov edx, 0xde
lea ecx, [r8 + 0xd]
call fcn.1400e0140
xor eax, eax
add rsp, 0x28
ret
mov qword [rsp + 0x20], rbx
movzx ebx, byte [r8]
and ebx, 0x80
test rdx, rdx
je 0x14019e9f0
mov dword [rdx], ebx
cmp r9, 1
jne 0x14019ea16
test r10, r10
je 0x14019ea07
movzx eax, byte [r8]
test ebx, ebx
je 0x14019ea05
neg al
mov byte [rcx], al
mov rbx, qword [rsp + 0x20]
mov eax, 1
add rsp, 0x28
ret
movzx ecx, byte [r8]
xor r11d, r11d
mov eax, r11d
test cl, cl
jne 0x14019ea31
mov eax, 1
mov r11d, eax
jmp 0x14019eaf1
cmp cl, 0xff
jne 0x14019eb3a
mov eax, 1
lea rcx, [r9 - 1]
mov edx, r11d
cmp r9, rax
jbe 0x14019eadf
cmp rcx, 8
jb 0x14019ead0
and ecx, 7
mov rdx, r9
sub rdx, rcx
xorps xmm2, xmm2
xorps xmm3, xmm3
nop dword [rax]
nop dword [rax + rax]
movd xmm1, dword [rax + r8]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
por xmm2, xmm1
movd xmm1, dword [rax + r8 + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
por xmm1, xmm3
movdqa xmm3, xmm1
cmp rax, rdx
jb 0x14019ea70
por xmm2, xmm1
movdqa xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd edx, xmm2
cmp rax, r9
jae 0x14019eadf
nop dword [rax]
movzx ecx, byte [rax + r8]
inc rax
or edx, ecx
cmp rax, r9
jb 0x14019ead0
test edx, edx
mov eax, r11d
setne al
test edx, edx
setne r11b
test edx, edx
je 0x14019eb3a
movzx ecx, byte [r8 + 1]
and ecx, 0x80
cmp ebx, ecx
jne 0x14019eb3a
call fcn.1400dff20
lea r8, str.c2i_ibuf
mov edx, 0xc1
lea rcx, str.crypto_asn1_a_int.c
call fcn.1400e0040
xor r8d, r8d
mov edx, 0xdd
lea ecx, [r8 + 0xd]
call fcn.1400e0140
mov rbx, qword [rsp + 0x20]
xor eax, eax
add rsp, 0x28
ret
mov ecx, eax
sub r9, rcx
test r10, r10
je 0x14019eb8d
neg ebx
lea rax, [r11 + r8]
sbb r11d, r11d
movzx r11d, r11b
mov ecx, r11d
and ecx, 1
test r9, r9
je 0x14019eb8d
lea r8, [rax + r9]
mov rdx, r8
sub rdx, r8
add rdx, r9
nop dword [rax]
movzx eax, byte [r8 - 1]
lea r8, [r8 - 1]
dec rdx
xor eax, r11d
add ecx, eax
mov byte [r10 + rdx], cl
shr ecx, 8
test rdx, rdx
jne 0x14019eb70
mov rbx, qword [rsp + 0x20]
mov rax, r9
add rsp, 0x28
ret

Function at 0x14025dfa0
Capabilities:
Initialize winsock library

Disassembly:
cmp byte [0x1405e7571], 0
jne 0x14025dfb5
mov byte [0x1405e7571], 1
jmp 0x14025dfc0
ret
sub rsp, 0x1d8
mov rax, qword [0x1405c7418]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov ecx, 0x202
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14025e025
movzx ecx, word [rsp + 0x20]
movzx eax, cl
lea edx, [rax + rax*4]
mov eax, ecx
shr eax, 8
lea eax, [rax + rdx*2]
cmp eax, 0x16
jae 0x14025e025
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov al, 1
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400ab7b0
add rsp, 0x1d8
ret
xor al, al
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400ab7b0
add rsp, 0x1d8
ret
Function at 0x1402628d0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x238
mov rax, qword [0x1405c7418]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov edx, reloc.WS2_32.dll_getservbyport
lea ecx, [rdx - 0x37]
call fcn.1400bf77c
mov qword [0x1405e7608], rax
test rax, rax
je 0x140262a10
mov edx, 0x200
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
test eax, eax
je 0x140262a0e
mov rcx, qword [0x1405e7608]
lea rdx, [rsp + 0x20]
call fcn.140262850
test eax, eax
jne 0x140262a0e
mov edx, 0x200
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x140262a0e
mov rcx, qword [0x1405e7608]
lea rdx, [rsp + 0x20]
call fcn.140262850
test eax, eax
jne 0x140262a0e
mov rcx, qword [0x1405e7608]
lea rdx, [0x1404d8808]
call fcn.140262850
test eax, eax
jne 0x140262a0e
mov r8d, 0x200
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1402629ba
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
mov rcx, qword [0x1405e7608]
lea rdx, [rsp + 0x20]
call fcn.140262850
test eax, eax
jne 0x140262a0e
lea rcx, str.MARIADB_HOME
call fcn.1400b93c8
test rax, rax
jne 0x1402629dc
lea rcx, str.MYSQL_HOME
call fcn.1400b93c8
test rax, rax
je 0x1402629ef
mov rcx, qword [0x1405e7608]
mov rdx, rax
call fcn.140262850
test eax, eax
jne 0x140262a0e
mov rax, qword [0x1405e7608]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1400ab7b0
add rsp, 0x238
ret
xor eax, eax
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1400ab7b0
add rsp, 0x238
ret
Function at 0x1402e36b0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x210
mov rax, qword [0x1405c7418]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov rbp, rdx
mov r14, rcx
mov qword [rsp + 0x28], rcx
lea rax, vtable.crossplat::threadpool.0
mov qword [rcx], rax
lea rsi, [rcx + 8]
mov qword [rsp + 0x28], rsi
mov ecx, reloc.WS2_32.dll_getservbyport
call fcn.1400ab188
mov rdi, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1402e3724
mov rcx, rax
call fcn.1402b0bf0
mov qword [rdi + 0x28], rsi
xor ebx, ebx
mov qword [rdi + 0x30], rbx
jmp 0x1402e3728
xor ebx, ebx
mov edi, ebx
mov qword [rsi], rdi
mov r12d, 1
mov eax, r12d
lock xadd dword [0x1405e3cf8], eax
inc eax
cmp eax, r12d
jne 0x1402e3759
lea ecx, [r12 + 1]
lea rdx, [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x1405e3cfc], eax
mov edi, ebx
lock xadd dword [0x1405e3cfc], edi
test edi, edi
je 0x1402e37df
mov dword [rsp + 0x4c], ebx
movabs rcx, 0x4d54ee85da812030
add rcx, qword [0x1405c7140]
lea r15, [0x1405c7138]
cmp rcx, r12
jbe 0x1402e3799
mov edx, edi
mov rcx, r15
mov rax, qword [0x1405c7138]
call qword [rax + 0x30]
jmp 0x1402e379d
movzx eax, r12b
movzx eax, al
add rax, 2
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x50], r15
lea rcx, str.C:.conan_local.conandata_boost1.80.0.2plesk_stablepackagec6eb1796d6a9d59338fa618b78b90859da126b06include_boost_asio_detail_impl_winsock_init.ipp
mov qword [rsp + 0x30], rcx
lea rcx, str.throw_on_error
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x40], 0x48
mov dword [rsp + 0x44], 0x1a
test r12b, al
jne 0x1402e3852
mov ecx, 0xb0
call fcn.1400ab188
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1402e380e
cmp ebp, 1
cmove ebp, r12d
xor r9d, r9d
mov r8d, ebp
mov rdx, rsi
mov rcx, rax
call fcn.1402b0960
mov rbx, rax
mov qword [rsp + 0x20], rbx
mov rdx, rbx
mov rcx, qword [rsi]
call fcn.1402e30f0
nop
mov qword [rsi + 0x10], rbx
mov rax, r14
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.1400ab7b0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea r8, [rsp + 0x30]
lea rdx, str.winsock
lea rcx, [rsp + 0x48]
call fcn.140093410
int3
Function at 0x1402e3aa0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rdi, rcx
lea rax, vtable.threadpool_impl.0
mov qword [rcx], rax
mov rcx, qword [rcx + 0x18]
call fcn.1402d73e0
mov rbx, qword [rdi + 0x20]
cmp rbx, qword [rdi + 0x28]
je 0x1402e3b5f
nop dword [rax]
mov rsi, qword [rbx]
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x20], rax
mov rax, qword [rsi + 8]
mov qword [rsp + 0x28], rax
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lock xadd dword [0x1405e783c], eax
mov rcx, qword [rsi + 8]
test eax, eax
je 0x1402e3b33
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x1402e3b55
xor r8d, r8d
mov rdx, rcx
lea rcx, [fcn.1400140c0]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov edx, 0xffffffff
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add rbx, 8
cmp rbx, qword [rdi + 0x28]
jne 0x1402e3ae0
mov rcx, qword [rdi + 0x38]
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rcx + 0x30], eax
cmp eax, 1
jne 0x1402e3b7a
call fcn.1402d73e0
nop
lea rcx, [rdi + 0x20]
call fcn.1402e3990
lock xadd dword [0x1405e3cf8], ebx
cmp ebx, 1
jne 0x1402e3b96
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rcx, [rdi + 8]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
jmp fcn.1402b1fe0

Function at 0x1403251d0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x1405c7418]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rbx, rax
test rax, rax
je 0x140325235
mov rdx, rax
mov rcx, rdi
call fcn.140324df0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400ab7b0
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rdi
ret
lea rdx, [0x14052cb18]
lea rcx, [rsp + 0x20]
call fcn.140005380
nop
lea rcx, [rsp + 0x78]
call fcn.140005740
nop
mov r9d, 0xa
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.1400057f0
mov rbx, rax
lea rcx, [rsp + 0x98]
call fcn.140005740
nop
lea r8, [0x14052cb38]
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.1400034a0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14001d280
lea rdx, [0x1405c2328]
lea rcx, [rsp + 0x40]
call fcn.1400ac6bc
int3
Function at 0x140011389
Capabilities:
Terminate process

Disassembly:
jmp 0x1400187e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001146a
Capabilities:
Parse pe header

Disassembly:
jmp 0x140019b30
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140019b50
xor al, al
jmp 0x140019bd1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140019b63
xor al, al
jmp 0x140019bd1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140019b8d
xor al, al
jmp 0x140019bd1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140019ba1
xor al, al
jmp 0x140019bd1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140019bb3
xor al, al
jmp 0x140019bd1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140019bcf
xor al, al
jmp 0x140019bd1
mov al, 1
add rsp, 0x38
ret
Function at 0x140002920
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140002944
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rax, qword [rcx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x140002987
mov rdx, qword [rbx + 0x58]
movsxd r8, dword [rdx]
lea rax, [rcx + r8]
cmp rcx, rax
jae 0x140002987
lea eax, [r8 - 1]
mov dword [rdx], eax
mov rcx, qword [rbx + 0x40]
mov rdx, qword [rcx]
lea rax, [rdx + 1]
mov qword [rcx], rax
mov eax, edi
mov byte [rdx], dil
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0x80], rsi
je 0x140002a92
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400029ca
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400029d9
movsx ecx, dil
jmp 0x140002a33
lea r8, [rsp + 0x90]
mov byte [rsp + 0x40], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x41]
lea r8, [rsp + 0x68]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x98]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x40]
call qword [rax + 0x38]
test eax, eax
js 0x140002a92
cmp eax, 1
jle 0x140002a4d
cmp eax, 3
jne 0x140002a92
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call fcn.14004e070
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002a97
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x48]
sub rsi, rax
je 0x140002a7d
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rsi
mov edx, 1
call fcn.140050d3c
cmp rsi, rax
jne 0x140002a92
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x98], rax
mov eax, edi
jne 0x140002a97
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret

Function at 0x140003370
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140003422
cmp byte [rcx + 0x71], 0
je 0x140003422
mov rax, qword [rcx]
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400033d2
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x1400033df
sub eax, 1
je 0x1400033e3
sub eax, 2
je 0x140003422
xor al, al
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x140003410
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call fcn.140050d3c
cmp rdi, rax
jne 0x1400033d2
cmp byte [rbx + 0x71], 0
sete al
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rbx, qword [rsp + 0x68]
mov al, 1
add rsp, 0x50
pop rdi
ret