joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800ad290
Capabilities:
Delete file

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x18]
call fcn.1800b6960
mov rax, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x10]
mov rcx, rax
neg rcx
jo 0x1800ad2eb
mov rcx, qword [rbp - 8]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rcx
lea rcx, [rbp - 0x48]
lea rdx, [rbp - 0x30]
mov r8b, 1
call fcn.1800b7dd0
mov rdi, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x40]
mov rax, rdi
neg rax
jno 0x1800ad2f6
mov rax, rsi
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
je 0x1800ad320
test rdi, rdi
je 0x1800ad34c
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.180016d30
xor eax, eax
jmp 0x1800ad2ee
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
test rdi, rdi
je 0x1800ad2ee
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
mov rsi, rax
call fcn.180016d30
jmp 0x1800ad2eb
xor eax, eax
jmp 0x1800ad2ee

Function at 0x1800ad800
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov rax, qword [rbp + 0x70]
mov qword [rbp - 8], r9
lea rcx, [rbp]
mov qword [rbp], rax
movups xmm0, xmmword [0x1801c29f0]
movaps xmmword [rbp + 0x10], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xor r8d, r8d
test r9b, 1
cmove rcx, r8
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1800ad896
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp + 0x10]
cmp eax, 0x103
je 0x1800ad8c3
test eax, eax
js 0x1800ad8a2
mov rdx, qword [rbp + 0x18]
xor eax, eax
jmp 0x1800ad8b9
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xb8
pop rsi
pop rbp
ret
mov dword [rbp + 0x28], 0
mov byte [rbp + 0x2c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x30]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x28]
lea rdx, [rbp - 0x38]
call fcn.1800a5990
mov qword [rbp + 8], rax
lea rcx, [rbp + 8]
call fcn.18009c5e0
mov ecx, 7
int 0x29
ud2
Function at 0x1800ad920
Capabilities:
Create udp socket

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov edi, edx
cmp byte [rcx], 0
mov eax, 0x17
mov r14d, 2
cmovne r14d, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
xor ebx, ebx
mov ecx, r14d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1800ada00
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x1800ad987
mov esi, eax
cmp eax, 0x2726
jne 0x1800ad9f3
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, r14d
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1800ad9eb
mov rsi, rax
xor ebx, ebx
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
jne 0x1800ada00
call qword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rsi
call qword [sym.imp.ws2_32.dll_closesocket]
mov ebx, 1
mov rsi, rdi
jmp 0x1800ada00
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov ebx, 1
mov rax, rbx
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x1800adfc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, rdx
mov qword [rbp - 8], rcx
movzx r12d, byte [rdx + 0x18]
mov byte [rdx + 0x18], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 2
mov qword [rbp - 0x10], 0
mov r13, qword [rdx + 8]
movzx esi, word [rdx + 0x10]
mov eax, 2
xor edi, edi
xor r14d, r14d
jmp 0x1800ae02c
mov word [rax + rdi*2], r15w
inc rdi
mov qword [rbp - 0x10], rdi
mov rdx, qword [rbx]
mov r15d, esi
test si, si
jne 0x1800ae0d0
nop dword [rax + rax]
cmp rdx, r13
je 0x1800ae196
lea rcx, [rdx + 1]
mov qword [rbx], rcx
movzx r9d, byte [rdx]
movzx r15d, r9b
test r15b, r15b
jns 0x1800ae0fa
mov r8d, r15d
and r8d, 0x1f
lea rcx, [rdx + 2]
mov qword [rbx], rcx
movzx r10d, byte [rdx + 1]
and r10d, 0x3f
cmp r15b, 0xdf
jbe 0x1800ae0f0
lea rcx, [rdx + 3]
mov qword [rbx], rcx
movzx r15d, byte [rdx + 2]
shl r10d, 6
and r15d, 0x3f
or r15d, r10d
cmp r9b, 0xf0
jb 0x1800ae118
lea rcx, [rdx + 4]
mov qword [rbx], rcx
movzx edx, byte [rdx + 3]
and r8d, 7
shl r8d, 0x12
shl r15d, 6
and edx, 0x3f
or edx, r15d
or edx, r8d
mov r15d, edx
cmp r15d, 0xffff
jbe 0x1800ae0fa
jmp 0x1800ae128
mov word [rbx + 0x10], 0
xor esi, esi
cmp r15w, 0x22
je 0x1800ae106
jmp 0x1800ae160
shl r8d, 6
or r8d, r10d
mov r15d, r8d
xor esi, esi
mov rdx, rcx
cmp r15w, 0x22
jne 0x1800ae160
xor r14b, 1
mov r15d, esi
test si, si
je 0x1800ae040
jmp 0x1800ae0d0
shl r8d, 0xc
or r15d, r8d
cmp r15d, 0xffff
jbe 0x1800ae0fa
lea r8d, [r15 + 0xff0000]
shr r8d, 0xa
or r8d, 0xd800
and r15d, 0x3ff
or r15d, 0xdc00
mov word [rbx + 0x10], r15w
mov rdx, rcx
mov esi, r15d
mov r15d, r8d
cmp r15w, 0x22
je 0x1800ae106
nop dword [rax]
movzx ecx, r15w
cmp ecx, 0x3b
jne 0x1800ae16f
test r14b, 1
je 0x1800ae192
cmp rdi, qword [rbp - 0x20]
jne 0x1800ae020
lea rcx, [rbp - 0x20]
lea rdx, str.std_src_syspalwindowsos.rs
call fcn.1800a0d30
mov rax, qword [rbp - 0x18]
jmp 0x1800ae020
mov byte [rbx + 0x18], 1
test rdi, rdi
setne al
or r12b, al
je 0x1800ae1cf
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x40]
mov r8, rdi
call fcn.1800a6320
movups xmm0, xmmword [rbp - 0x40]
movups xmm1, xmmword [rbp - 0x30]
mov rax, qword [rbp - 8]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov rdx, qword [rbp - 0x20]
test rdx, rdx
jne 0x1800ae1e9
jmp 0x1800ae1fb
movabs rax, 0x8000000000000000
mov rcx, qword [rbp - 8]
mov qword [rcx], rax
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1800ae1fb
mov rcx, qword [rbp - 0x18]
add rdx, rdx
mov r8d, 2
call fcn.180016d30
mov rax, qword [rbp - 8]
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1800ae4f0
Capabilities:
Set environment variable

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, r9
mov rdi, r8
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x30]
call fcn.1800b6960
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
mov rax, rcx
neg rax
jno 0x1800ae534
mov rsi, rdx
jmp 0x1800ae5b6
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], rcx
lea rcx, [rbp - 0x30]
mov rdx, rdi
mov r8, rsi
call fcn.1800b6960
mov rbx, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x28]
mov rax, rbx
neg rax
jno 0x1800ae56d
mov rsi, rdi
mov rdx, qword [rbp - 0x10]
test rdx, rdx
mov r14, qword [rbp - 0x18]
jne 0x1800ae5a5
jmp 0x1800ae5b6
mov r14, qword [rbp - 0x18]
mov rcx, r14
mov rdx, rdi
call qword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
test eax, eax
je 0x1800ae5c4
xor esi, esi
test rbx, rbx
je 0x1800ae59c
add rbx, rbx
mov r8d, 2
mov rcx, rdi
mov rdx, rbx
call fcn.180016d30
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x1800ae5b6
add rdx, rdx
mov r8d, 2
mov rcx, r14
call fcn.180016d30
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
test rbx, rbx
jne 0x1800ae588
jmp 0x1800ae59c
Function at 0x1800aef00
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
mov dword [rbp - 4], 0
xorps xmm0, xmm0
movaps xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
lea rax, [rbp - 4]
mov qword [rbp - 0x18], rax
mov rcx, qword [rcx]
lea rax, [0x1800aefe0]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
call qword [sym.imp.kernel32.dll_ReadFileEx]
test eax, eax
je 0x1800aef8f
mov rsi, qword [sym.imp.kernel32.dll_SleepEx]
nop dword [rax]
mov ecx, 0xffffffff
mov edx, 1
call rsi
cmp dword [rbp - 4], 1
jne 0x1800aef60
mov eax, dword [rbp]
mov esi, dword [rbp + 4]
mov rcx, rax
shl rcx, 0x20
or rcx, 2
test eax, eax
cmovne rsi, rcx
jne 0x1800aefa2
xor eax, eax
jmp 0x1800aefd2
call qword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
mov eax, ecx
and eax, 3
shr rcx, 0x20
cmp eax, 2
jne 0x1800aefc2
call fcn.1800b6760
xor ecx, ecx
cmp al, 0xb
setne al
cmove rsi, rcx
jmp 0x1800aefd2
cmp rcx, 0xb
setne al
xor edx, edx
cmp ecx, 0xb
cmove rsi, rdx
movzx eax, al
mov rdx, rsi
add rsp, 0x68
pop rsi
pop rbp
ret
Function at 0x1800b61a0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov dword [rbp - 8], 0xfffffffe

Function at 0x1800b76b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rdi, r8
mov rsi, rcx
mov rcx, qword [rcx + 8]
mov rbx, qword [rsi + 0x10]
xor r14d, r14d
mov eax, 0
cmp rbx, 3
jb 0x1800b771c
movzx r8d, byte [rbx + rcx - 2]
mov r9d, r8d
and r9b, 0xf0
xor r14d, r14d
cmp r9b, 0xa0
jne 0x1800b771c
xor r14d, r14d
cmp byte [rbx + rcx - 3], 0xed
jne 0x1800b771c
movzx r14d, byte [rbx + rcx - 1]
and r8d, 0xf
and r14d, 0x3f
shl r8d, 0x10
shl r14d, 0xa
or r14d, r8d
mov al, 1
cmp rdi, 3
jb 0x1800b77c8
cmp byte [rdx], 0xed
jne 0x1800b77d1
movzx r12d, byte [rdx + 1]
mov r8d, r12d
and r8b, 0xf0
cmp r8b, 0xb0
setne r8b
xor al, 1
or al, r8b
jne 0x1800b77d1
movzx r13d, byte [rdx + 2]
cmp rbx, 3
jb 0x1800b7761
add rbx, 0xfffffffffffffffd
mov qword [rsi + 0x10], rbx
and r13d, 0x3f
shl r12d, 6
lea r8, [rdi + 1]
mov rax, qword [rsi]
sub rax, rbx
cmp rax, r8
jb 0x1800b78bb
add rdx, 3
mov r15, rdx
and r12d, 0x3c0
or r14d, r13d
or r14d, r12d
add r14d, 0x10000
mov rcx, rsi
mov edx, r14d
call fcn.1800aa5a0
add rdi, 0xfffffffffffffffd
mov rax, qword [rsi]
mov rbx, qword [rsi + 0x10]
sub rax, rbx
cmp rax, rdi
jb 0x1800b78e0
mov rcx, qword [rsi + 8]
add rcx, rbx
mov rdx, r15
jmp 0x1800b786e
test rdi, rdi
je 0x1800b7860
lea rax, [rdx + rdi]
mov r9, rdx
jmp 0x1800b77f8
add r9, 2
cmp r8, rax
cmovne r8, r9
nop word cs:[rax + rax]
mov r9, r8
cmp r8, rax
je 0x1800b7860
lea r8, [r9 + 1]
movzx r10d, byte [r9]
test r10b, r10b
jns 0x1800b77f0
cmp r10b, 0xe0
jb 0x1800b77da
cmp r10b, 0xed
jne 0x1800b782f
cmp r8, rax
je 0x1800b7860
lea r8, [r9 + 2]
cmp r8, rax
je 0x1800b7860
cmp byte [r9 + 1], 0x9f
ja 0x1800b785c
add r9, 3
mov r8, r9
jmp 0x1800b77f0
add r9, 2
cmp r8, rax
cmove r9, r8
xor r8d, r8d
cmp r9, rax
setne r8b
add r8, r9
cmp r10b, 0xf0
jb 0x1800b77f0
xor r9d, r9d
cmp r8, rax
setne r9b
add r8, r9
jmp 0x1800b77f0
mov byte [rsi + 0x18], 0
mov rax, qword [rsi]
sub rax, rbx
cmp rax, rdi
jb 0x1800b788e
add rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
add rbx, rdi
mov qword [rsi + 0x10], rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r14, rdx
mov rdx, rbx
mov r8, rdi
call case.0x1800a84f5.496
mov rdx, r14
mov rcx, qword [rsi + 8]
mov rbx, qword [rsi + 0x10]
jmp 0x1800b786b
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r15, rdx
mov rdx, rbx
call case.0x1800a84f5.496
mov rdx, r15
jmp 0x1800b777c
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call case.0x1800a84f5.496
mov rbx, qword [rsi + 0x10]
jmp 0x1800b77b9
Function at 0x1800b89f0
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x208
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov rdi, qword [rax + 8]
movzx eax, word [rax + 0x10]
mov word [rbp + 0x186], ax
mov eax, dword [0x180215fb8]
cmp eax, 3
jne 0x1800b8b1f
lea rax, [rbp + 0x186]
mov qword [rbp + 0x170], rax
cmp rdi, 0x17f
ja 0x1800b8b45
lea rbx, [rbp - 0x60]
mov rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rdi - 0x60], 0
inc rdi
lea rcx, [rbp + 0x158]
mov rdx, rbx
mov r8, rdi
call fcn.1800c5b50
test byte [rbp + 0x158], 1
je 0x1800b8a8e
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1800b8b10
mov rcx, qword [rbp + 0x160]
xorps xmm0, xmm0
movaps xmmword [rbp + 0x120], xmm0
movaps xmmword [rbp + 0x140], xmm0
movaps xmmword [rbp + 0x130], xmm0
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x178], 0
lea r8, [rbp + 0x120]
lea r9, [rbp + 0x178]
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1800b8af1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1800b8b09
mov rax, qword [rbp + 0x178]
movzx ecx, word [rbp + 0x186]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov rax, rsi
add rsp, 0x208
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov rbx, rdx
call fcn.18014c03b
mov rdx, rbx
lea rax, [rbp + 0x186]
mov qword [rbp + 0x170], rax
cmp rdi, 0x17f
jbe 0x1800b8a45
lea r9, [rbp + 0x170]
mov rcx, rsi
mov r8, rdi
call fcn.18014c100
jmp 0x1800b8b10
Function at 0x1800dce20
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1800dcf02
call fcn.1800f9650
test al, al
jne 0x1800dcf02
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x1800dce52
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.180108b10
test rax, rax
je 0x1800dce97
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.180108b10
mov rsi, rax
test rax, rax
je 0x1800dce97
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rsi, [rbx + rdi]
mov edi, 0x1505
cmp rbx, rsi
jae 0x1800dcecb
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.1800da9f0
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x1800dceb0
mov rsi, qword [rsp + 0x30]
mov rcx, rdi
movabs rax, 0x410410410410411
mul rdi
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rcx, rcx, 0x3f
sub rdi, rcx
mov rax, rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1800e21f0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x1c0
mov rax, qword [0x180212e80]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rbx, qword [rcx + 0x10]
mov rsi, rdx
mov r9, qword [rbx + 0x98]
cmp r9, 0xffffffffffffffff
je 0x1800e2340
mov rax, qword [rdx + 0x18]
mov rcx, qword [rax + 0x3d8]
test dword [rcx + 0x8c], 0x800
jne 0x1800e2340
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
lea r8, [rsp + 0x20]
mov rcx, r9
lea rdx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.ws2_32.dll_getsockname]
test eax, eax
je 0x1800e22ce
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.1800d91d0
mov r9, rax
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.1800f2930
mov eax, 2
jmp 0x1800e2342
mov edx, dword [rsp + 0x20]
lea r9, [rbx + 0x100]
lea r8, [rbx + 0xce]
lea rcx, [rsp + 0x30]
call fcn.1800f53e0
test al, al
jne 0x1800e2340
mov qword [rsp + 0x1e0], rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.1800d91d0
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.1800f2930
mov rdi, qword [rsp + 0x1e0]
mov eax, 2
jmp 0x1800e2342
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1801458d0
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1c0
pop rsi
ret
Function at 0x1800e96a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x48
mov rax, qword [rcx]
lea rbp, [rcx + 0x18]
mov r12, qword [rbp]
mov rdi, rdx
mov r15, r8
mov r10, rcx
mov edx, dword [rax + 8]
and edx, 0xa
cmp edx, 0xa
jne 0x1800e96de
add r12, 0x348
jmp 0x1800e96e5
add r12, 0x2d8
cmp edx, 0xa
mov eax, 0x5f0
mov ecx, 0x538
mov esi, 0
cmovne eax, ecx
mov qword [r9], rsi
mov bl, 1
add rax, rdi
je 0x1800e9890
cmp byte [rax + 0x6c], sil
je 0x1800e9890
cmp qword [rdi + 0xc00], rsi
je 0x1800e9890
mov rax, qword [rdi + 0xf8]
mov qword [rsp + 0x88], r13
test rax, rax
je 0x1800e9740
test byte [rax + 4], 0x10
lea r13, [rax + 0x118]
jne 0x1800e9747
lea r13, [rdi + 0xc08]
cmp qword [rdi + 0x6b8], rsi
jbe 0x1800e983f
mov qword [rsp + 0x40], r14
mov r14, rsi
nop dword [rax]
mov rbx, qword [rdi + 0xc00]
add rbx, r14
cmp qword [rbx + 0x18], 0
je 0x1800e9819
mov rdx, qword [rbx]
mov rcx, qword [r15]
call fcn.1800dab20
test eax, eax
je 0x1800e9819
mov rcx, qword [rbp]
mov rdx, qword [rbx + 8]
cmp byte [rcx + 0x3c0], 0
jne 0x1800e97a0
test rdx, rdx
je 0x1800e97b5
jmp 0x1800e9819
test rdx, rdx
je 0x1800e9819
mov rcx, qword [rcx + 0x98]
call fcn.1800dab20
test eax, eax
je 0x1800e9819
mov rcx, qword [rbp]
mov eax, dword [rbx + 0x38]
cmp byte [rcx + 0x3c1], 0
jne 0x1800e97cc
cmp eax, 0xffffffff
je 0x1800e97d9
jmp 0x1800e9819
cmp eax, 0xffffffff
je 0x1800e9819
cmp dword [rcx + 0x5c8], eax
jne 0x1800e9819
mov eax, dword [rbx + 0x34]
cmp dword [r15 + 0x1c], eax
jne 0x1800e9819
mov eax, dword [rbx + 0x3c]
cmp dword [r15 + 0x20], eax
jne 0x1800e9819
mov rcx, qword [rcx + 0x3d8]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rcx]
call fcn.1800dab20
test eax, eax
je 0x1800e9819
lea r8, [rbx + 0x40]
mov rdx, r12
mov rcx, rdi
call fcn.1800ea600
test al, al
jne 0x1800e98a0
inc rsi
add r14, 0xb0
cmp rsi, qword [rdi + 0x6b8]
jb 0x1800e9760
mov bl, 1
mov r10, qword [rsp + 0x80]
mov r14, qword [rsp + 0x40]
mov rax, qword [r10 + 0x18]
lea r9, str.Found
mov ecx, dword [r15 + 0x1c]
lea r8, str._s_cached_session_ID_for__s:___s:_d
mov dword [rsp + 0x30], ecx
test bl, bl
mov rcx, qword [r15]
mov rdx, qword [rax + 0x3d8]
lea rax, [0x1801a84f0]
mov qword [rsp + 0x28], rcx
cmovne r9, rax
mov rcx, qword [rdx]
mov rdx, r10
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call fcn.1800f2a70
mov r13, qword [rsp + 0x88]
movzx eax, bl
add rsp, 0x48
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
inc dword [r13]
mov eax, dword [r13]
mov rcx, qword [rsp + 0x98]
mov dword [rbx + 0x30], eax
mov rax, qword [rbx + 0x18]
mov qword [rcx], rax
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1800e98ce
mov rax, qword [rbx + 0x20]
mov qword [rcx], rax
xor bl, bl
jmp 0x1800e9832

Function at 0x1800ea8c0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
cdqe
add rsp, 0x28
ret
Function at 0x1800f2840
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
cmp byte [rcx + 0x9c7], 0
mov rbp, r9
mov r14, r8
movsxd rsi, edx
mov rdi, rcx
je 0x1800f290d
cmp qword [rcx + 0x280], 0
je 0x1800f28be
mov qword [rsp + 0x40], rbx
call fcn.1800d50a0
mov dl, 1
mov rcx, rdi
movzx ebx, al
call fcn.1800d5bb0
mov rcx, qword [rdi + 0x1f8]
mov r9, rbp
mov qword [rsp + 0x20], rcx
mov r8, r14
mov rcx, rdi
mov edx, esi
call qword [rdi + 0x280]
movzx edx, bl
mov rcx, rdi
call fcn.1800d5bb0
mov rbx, qword [rsp + 0x40]
jmp 0x1800f290d
mov ecx, esi
test edx, edx
je 0x1800f28ce
sub ecx, 1
je 0x1800f28ce
cmp ecx, 1
jne 0x1800f290d
mov r9, qword [rdi + 0x1f0]
lea rax, [0x1801a8cb8]
lea rcx, [rsi + rsi*2]
mov edx, 2
add rcx, rax
mov r8d, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x1f0]
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1800f6c80
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, [0x1801a9780]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x1800f6caa
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rdx, [0x1801a9790]
mov qword [rsp + 0x48], r14
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
lea rdx, [0x1801a97a0]
mov rcx, rbx
mov r14, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
test rax, rax
je 0x1800f6d0c
mov rcx, rbx
test r14, r14
je 0x1800f6cf9
xor edx, edx
mov r8d, 8
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp qword [sym.imp.kernel32.dll_LoadLibraryA]
test r14, r14
je 0x1800f6d43
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1800f6d43
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
xor edx, edx
mov qword [rsp + 0x50], r15
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetSystemDirectoryA]
mov r15d, eax
test eax, eax
je 0x1800f6e0a
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x40], rsi
mov rdx, rdi
nop dword [rax]
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x1800f6d70
lea ecx, [rax + 1]
add rcx, rdx
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1800f6dfc
mov edx, r15d
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1800f6dfc
mov rax, rdi
cmp byte [rsi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x1800f6da0
mov word [rax + rsi], 0x5c
inc rdi
cmp byte [rsi + rdi], bpl
jne 0x1800f6db1
mov rax, rsi
sub rax, rbx
add rdi, rax
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rdi + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x1800f6dd0
mov rcx, rsi
test r14, r14
je 0x1800f6df3
xor edx, edx
mov r8d, 8
call r14
jmp 0x1800f6df9
call qword [sym.imp.kernel32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rsi
call qword [0x180211fa8]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rax, rbp
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret