joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000da90
Capabilities:
Create service

Disassembly:
jmp 0x140043ca0
push rdi
sub rsp, 0xa90
mov rax, qword [0x140235e48]
xor rax, rsp
mov qword [rsp + 0xa80], rax
mov rdi, rcx
call fcn.140012230
test eax, eax
je 0x140043cd1
mov eax, 1
jmp 0x140043dd8
mov r8d, 0x104
lea rdx, [rsp + 0x72]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140043ece
cmp eax, 0x104
je 0x140043ece
lea ecx, [rax + 1]
mov r8d, 0x22
mov word [rsp + 0x70], r8w
mov word [rsp + rcx*2 + 0x70], r8w
lea ecx, [rax + 2]
add rcx, rcx
cmp rcx, 0x20c
jae 0x140043f17
mov qword [rsp + 0xaa8], rbx
xor edx, edx
mov qword [rsp + 0xab0], rsi
mov r8d, 0xf003f
xor esi, esi
mov word [rsp + rcx + 0x70], si
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x140043df1
mov r8d, 0x400
lea rdx, [rsp + 0x280]
mov ecx, 0xd80a
call fcn.1400151f0
test eax, eax
jne 0x140043daf
lea r8, str.Could_not_open_Service_Manager
mov edx, 0x400
lea rcx, [rsp + 0x280]
call fcn.14000f3d0
test eax, eax
je 0x140043daf
cmp eax, 0xc
je 0x140043eeb
cmp eax, 0x16
je 0x140043ee0
cmp eax, 0x22
je 0x140043ee0
cmp eax, 0x50
jne 0x140043ed5
lea r8, [rdi + 0x48]
xor r9d, r9d
lea rdx, [rsp + 0x280]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov rbx, qword [rsp + 0xaa8]
mov rsi, qword [rsp + 0xab0]
mov rcx, qword [rsp + 0xa80]
xor rcx, rsp
call fcn.14000fde0
add rsp, 0xa90
pop rdi
ret
mov qword [rsp + 0x60], rsi
lea rax, str.RPCSS
mov qword [rsp + 0x58], rsi
add rdi, 0x48
mov qword [rsp + 0x50], rax
mov r9d, 0xf01ff
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rsi
mov r8, rdi
mov qword [rsp + 0x38], rax
mov rdx, rdi
mov dword [rsp + 0x30], 1
mov rcx, rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], select
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
test rax, rax
jne 0x140043eb2
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r8d, 0x400
lea rdx, [rsp + 0x280]
mov ecx, 0xd80b
call fcn.1400151f0
test eax, eax
jne 0x140043ea7
lea r8, str.Could_not_start_service
mov edx, 0x400
lea rcx, [rsp + 0x280]
call fcn.14000f3d0
test eax, eax
je 0x140043ea7
cmp eax, 0xc
je 0x140043f0c
cmp eax, 0x16
je 0x140043f01
cmp eax, 0x22
je 0x140043f01
cmp eax, 0x50
jne 0x140043ef6
xor r9d, r9d
mov r8, rdi
jmp 0x140043db6
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x140043dc8
xor eax, eax
jmp 0x140043dd8
mov ecx, 0x80004005
call fcn.140015d70
int3
mov ecx, 0x80070057
call fcn.140015d70
int3
mov ecx, 0x8007000e
call fcn.140015d70
int3
mov ecx, 0x80004005
call fcn.140015d70
int3
mov ecx, 0x80070057
call fcn.140015d70
int3
mov ecx, 0x8007000e
call fcn.140015d70
int3
call fcn.140016e00
int3
Function at 0x14000db80
Capabilities:
Get common file path

Disassembly:
jmp 0x1401893c0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
mov ecx, dword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor ebx, ebx
mov esi, eax
test eax, eax
jne 0x140189402
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000a0a0
call fcn.14000c160
mov ebx, dword [rax]
jmp 0x14018946e
cmp rsi, qword [rdi + 0x18]
ja 0x14018940e
mov qword [rdi + 0x20], rsi
jmp 0x14018946e
lea rbp, [rsi + 1]
cmp byte [rdi + 0x28], bl
je 0x140189423
mov rcx, qword [rdi + 0x10]
call fcn.140001e90
mov byte [rdi + 0x28], bl
lea rcx, [rsi*2 + 2]
call fcn.1400011f0
mov qword [rdi + 0x10], rax
mov rcx, rbx
neg rax
sbb edx, edx
not edx
and edx, 0xc
cmove rcx, rbp
test edx, edx
sete al
mov byte [rdi + 0x28], al
mov qword [rdi + 0x18], rcx
test edx, edx
je 0x140189459
mov ebx, edx
jmp 0x14018946e
mov rdx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, eax
test rax, rax
je 0x1401893ec
mov qword [rdi + 0x20], rax
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000edc0
Capabilities:
Query or enumerate registry key

Disassembly:
jmp 0x140045350
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140235e48]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov edi, dword [rcx + 8]
lea rax, [rsp + 0x60]
xor r15d, r15d
mov qword [rsp + 0x20], rax
mov rsi, rcx
mov qword [rsp + 0x48], r15
mov rcx, qword [rcx]
or edi, 0x2001f
mov r9d, edi
mov dword [rsp + 0x50], r15d
xor r8d, r8d
mov qword [rsp + 0x58], r15
mov r14, rdx
mov qword [rsp + 0x60], r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400454a8
mov rcx, qword [rsp + 0x48]
mov ebx, r15d
test rcx, rcx
je 0x1400453da
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rcx, qword [rsp + 0x60]
and edi, 0x300
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x50], edi
test ebx, ebx
jne 0x1400454a8
lea rax, [rsp + 0x68]
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], r15
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], r15
xor edx, edx
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140045481
nop dword [rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14000edc0
mov ebx, eax
test eax, eax
jne 0x1400454a8
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], r15
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], r15
xor edx, edx
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140045430
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140045496
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r15
mov rdx, r14
mov dword [rsp + 0x50], r15d
mov rcx, rsi
call fcn.140007be0
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400454b8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14000fde0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x280
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000ee70
Capabilities:
Query environment variable

Disassembly:
jmp 0x1401b7a18
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
je 0x1401b7a9f
mov rbp, rax
cmp word [rax], si
je 0x1401b7a61
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1401b7a48
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1401b7a44
sub rbp, rbx
add rbp, 2
sar rbp, 1
add rbp, rbp
mov rcx, rbp
call fcn.1400011f0
mov rdi, rax
test rax, rax
je 0x1401b7a8f
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call fcn.14000fef0
mov rsi, rdi
xor ecx, ecx
call fcn.140001e90
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000f430
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x1400b7ec0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rbp, rcx
mov ebx, r9d
xor ecx, ecx
mov rdi, r8
mov rsi, rdx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor r14d, r14d
lea r9, [rsp + 0x88]
mov qword [rsp + 0x30], r14
mov r8d, edi
mov qword [rsp + 0x28], r14
mov rdx, rsi
mov rcx, rbp
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x88], r14d
call qword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rsp + 0x90]
test eax, eax
mov dword [rsp + 0x40], eax
lea rax, [0x1401e1a10]
setne byte [rsp + 0x44]
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
mov edx, dword [rcx]
cmp edx, 0x40
jne 0x1400b7f56
mov dword [rsp + 0x40], 0x2746
jmp 0x1400b7f66
cmp edx, 0x4d2
jne 0x1400b7f78
mov dword [rsp + 0x40], 0x274d
mov byte [rsp + 0x44], 1
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
test ebx, ebx
je 0x1400b7f83
mov eax, 0xffffffff
jmp 0x1400b7fa1
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x40], r14d
mov byte [rsp + 0x44], r14b
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret

Function at 0x14000f620
Capabilities:
Access the windows event log

Disassembly:
jmp 0x140044050
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140235e48]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rdx
lea rsi, [r11 + 0x18]
mov rdi, rcx
call fcn.1400021c0
mov qword [rsp + 0x30], rsi
lea rdx, [rsp + 0x60]
mov r9d, 0xff
xor esi, esi
mov qword [rsp + 0x28], rsi
mov rcx, qword [rax]
mov qword [rsp + 0x20], rbx
lea r8d, [r9 + 1]
call fcn.140001780
lea rax, [rsp + 0x60]
mov word [rsp + 0x25e], si
mov qword [rsp + 0x50], rax
cmp dword [rdi + 0x26c], esi
jne 0x1400440d6
lea rcx, [rsp + 0x60]
call fcn.140014ad0
lea rdx, [rdi + 0x48]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x140044127
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov ecx, 1
mov dword [rsp + 0x30], esi
xor r8d, r8d
mov word [rsp + 0x28], cx
xor r9d, r9d
mov qword [rsp + 0x20], rsi
lea edx, [rcx + 3]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14000fde0
add rsp, 0x270
pop rdi
pop rsi
pop rbx
ret
Function at 0x140011a40
Capabilities:
Query environment variable

Disassembly:
jmp 0x1401b78d4
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r14d, r14d
mov rbx, rax
test rax, rax
je 0x1401b79a6
mov rsi, rax
cmp word [rax], r14w
je 0x1401b7927
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x1401b790f
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x1401b790b
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call fcn.140017eb0
movsxd rbp, eax
test eax, eax
je 0x1401b79a6
mov rcx, rbp
call fcn.1400011f0
mov rdi, rax
test rax, rax
je 0x1401b7999
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.140017eb0
test eax, eax
je 0x1401b7999
mov rsi, rdi
mov rdi, r14
jmp 0x1401b799c
mov rsi, r14
mov rcx, rdi
call fcn.140001e90
jmp 0x1401b79a9
mov rsi, r14
test rbx, rbx
je 0x1401b79b7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140011b90
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140048a20
push rbx
push rsi
push rdi
sub rsp, 0x30
mov ebx, edx
xor sil, sil
mov rdi, rcx
lea eax, [rbx + rbx]
mov dword [rsp + 0x58], eax
test rcx, rcx
je 0x140048aed
test edx, edx
je 0x140048aed
lea rax, [rsp + 0x60]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREIntelSGX_PSW
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140048aed
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov rcx, rdi
call fcn.140017aa0
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, [0x1401df9d0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140048ad6
cmp dword [rsp + 0x50], 1
jne 0x140048ad6
mov edx, dword [rsp + 0x58]
shr rdx, 1
lea rcx, [rdx + 1]
cmp rbx, rcx
jb 0x140048acc
mov word [rdi + rdx*2], ax
jmp 0x140048ad3
lea ecx, [rbx - 1]
mov word [rdi + rcx*2], ax
mov sil, 1
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, sil
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
xor al, al
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x140011ee0
Capabilities:
Get geographical location

Disassembly:
jmp 0x1401a8ac8
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x1401f8b20]
mov rbp, rcx
lea r8, [0x1401f8b18]
lea rdx, str.GetLocaleInfoEx
mov ecx, ntohl
call fcn.1401a7ed4
mov rcx, rbp
test rax, rax
je 0x1401a8b1e
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [case.0x14006bf61.0]
jmp 0x1401a8b35
xor edx, edx
call fcn.14000cfb0
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140011f20
Capabilities:
Terminate process

Disassembly:
jmp 0x140147be8
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x140012c60
Capabilities:
Parse pe header

Disassembly:
jmp 0x14019f258
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x14019efac

Function at 0x140012cb0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
jmp 0x1400b5f00
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, r9
movzx ecx, word [rcx + 8]
mov rsi, rdx
cmp cx, word [rdi + 0xa]
jb 0x1400b5f45
mov rdx, qword [rdi]
sub rdx, r8
mov r8, rbx
add rdx, rcx
mov rcx, rsi
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.14000fef0
xor edx, edx
mov qword [rsp + 0x30], r14
movzx r14d, word [rdi + 0xc]
mov eax, r14d
sub rax, r8
add rax, rcx
mov rcx, rsi
div r14
sub r14, rdx
add rdx, qword [rdi]
cmp rbx, r14
jbe 0x1400b5f7d
mov r8, r14
call fcn.14000fef0
mov rdx, qword [rdi]
lea rcx, [r14 + rsi]
sub rbx, r14
mov r8, rbx
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.14000fef0
Function at 0x140013fd0
Capabilities:
Set socket configuration

Disassembly:
jmp 0x14008e9f0
push rdi
sub rsp, 0x20
mov rdi, qword [rcx]
cmp rdi, 0xffffffffffffffff
je 0x14008ea66
xor ecx, ecx
mov qword [rsp + 0x38], rbx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
mov rbx, qword [rsp + 0x38]
je 0x14008ea66
cmp eax, 0x2733
je 0x14008ea34
cmp eax, 0x4d5
jne 0x14008ea66
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], 0
mov edx, 0x8004667e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add rsp, 0x20
pop rdi
ret

Function at 0x140014b70
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1400e1950
jmp 0x1400e18b0
movzx eax, byte [rdx + 1]
movabs r9, 0x100000001b3
movzx r8d, byte [rdx]
xor r8, rcx
movzx ecx, byte [rdx + 6]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, r9
xor rax, r8
imul rax, r9
xor rax, rcx
movzx ecx, byte [rdx + 7]
imul rax, r9
xor rax, rcx
imul rax, r9
ret
mov rdx, rcx
movabs rcx, 0xcbf29ce484222325
jmp 0x140022790

Function at 0x140014c00
Capabilities:
Create directory

Disassembly:
jmp 0x14018a210
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14018a232
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000a0a0
or eax, 0xffffffff
jmp 0x14018a234
xor eax, eax
add rsp, 0x28
ret
Function at 0x140015250
Capabilities:
Get socket status

Disassembly:
jmp 0x1400b4ae0
push rbp
push rbx
push rdi
push r14
lea rbp, [rsp - 0x168]
sub rsp, 0x268
mov rax, qword [0x140235e48]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rbx, r9
movzx edi, dl
mov r14, rcx
cmp rcx, 0xffffffffffffffff
jne 0x1400b4b3e
lea rax, [0x1401e1a10]
mov dword [rsp + 0x30], 0x2719
mov qword [rsp + 0x38], rax
mov eax, ecx
mov byte [rsp + 0x34], 1
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [r9], xmm0
jmp 0x1400b4c55
mov qword [rsp + 0x298], rsi
mov qword [rsp + 0x260], r15
xor r15d, r15d
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x40], 1
and dil, 1
je 0x1400b4b70
mov qword [rsp + 0x30], r15
lea rsi, [rsp + 0x30]
jmp 0x1400b4ba2
test r8d, r8d
js 0x1400b4b9f
mov eax, 0x10624dd3
lea rsi, [rsp + 0x30]
mul r8d
shr edx, 6
imul eax, edx, 0x3e8
mov dword [rsp + 0x30], edx
sub r8d, eax
imul eax, r8d, 0x3e8
mov dword [rsp + 0x34], eax
jmp 0x1400b4ba2
mov rsi, r15
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [r14 + 1]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea rdx, [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
mov dword [rsp + 0x30], eax
lea rax, [0x1401e1a10]
setne byte [rsp + 0x34]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
test esi, esi
jne 0x1400b4c2a
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
test dil, dil
je 0x1400b4c1b
mov dword [rsp + 0x30], 0x2733
mov byte [rsp + 0x34], 1
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rax]
jmp 0x1400b4c40
mov dword [rsp + 0x30], r15d
mov byte [rsp + 0x34], r15b
movups xmm0, xmmword [rax]
jmp 0x1400b4c40
jle 0x1400b4c43
mov dword [rsp + 0x30], r15d
mov byte [rsp + 0x34], r15b
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
mov r15, qword [rsp + 0x260]
mov eax, esi
mov rsi, qword [rsp + 0x298]
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.14000fde0
add rsp, 0x268
pop r14
pop rdi
pop rbx
pop rbp
ret

Function at 0x140016730
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x1400acd30
push rbx
sub rsp, 0x50
mov rbx, qword [rcx + 8]
lea rax, [rsp + 0x60]
xor ecx, ecx
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x60], 0
mov dword [rsp + 0x40], 1
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor eax, eax
lea r9, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov rcx, rbx
mov dword [rsp + 0x68], eax
lea r8d, [rax + 1]
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_WSASend]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add rsp, 0x50
pop rbx
ret
Function at 0x140016a40
Capabilities:
Get common file path

Disassembly:
jmp 0x1401aeb04
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x140235e48]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
call fcn.140017aa0
lea rdx, [rsp + 0x20]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, 0x104
ja 0x1401aeb78
xor edi, edi
cmp word [rsp + 0x20], di
je 0x1401aebd3
cmp word [rsp + 0x22], 0x3a
jne 0x1401aebd3
movzx ecx, word [rsp + 0x20]
lea eax, [rcx - 0x61]
cmp eax, 0x19
lea edi, [rcx - 0x20]
cmova edi, ecx
sub edi, 0x40
jmp 0x1401aebd3
lea esi, [rax + 1]
mov edx, 2
mov ecx, esi
call fcn.14001c7f0
xor edi, edi
mov rbx, rax
test rax, rax
je 0x1401aeba0
mov rdx, rax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x1401aebad
call fcn.14000c160
mov dword [rax], ntohl
jmp 0x1401aebcb
cmp word [rbx], di
je 0x1401aebcb
cmp word [rbx + 2], 0x3a
jne 0x1401aebcb
movzx ecx, word [rbx]
lea eax, [rcx - 0x61]
cmp eax, 0x19
lea edi, [rcx - 0x20]
cmova edi, ecx
sub edi, 0x40
mov rcx, rbx
call fcn.140001e90
mov eax, edi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14000fde0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140017800
Capabilities:
Get socket status

Disassembly:
jmp 0x1400bc240
push rbp
push rbx
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x140235e48]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, qword [rbp + 0x210]
lea r13, [0x1401e1a10]
mov r15, r9
mov qword [rsp + 0x2f8], rdi
mov r12, r8
movzx r14d, dl
mov rsi, rcx
movabs rdx, 0x8fafd21e25c5e09b
cmp rsi, 0xffffffffffffffff
jne 0x1400bc2bb
mov dword [rsp + 0x48], 0x2719
mov byte [rsp + 0x4c], 1
mov qword [rsp + 0x50], r13
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
jmp 0x1400bc333
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rdx, r12
mov rcx, rsi
test r15, r15
je 0x1400bc2ed
mov eax, dword [r15]
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], eax
call qword [sym.imp.WS2_32.dll_accept]
mov rdi, rax
movsxd rax, dword [rsp + 0x30]
mov qword [r15], rax
jmp 0x1400bc301
xor r8d, r8d
mov dword [rsp + 0x30], 0
call qword [sym.imp.WS2_32.dll_accept]
mov rdi, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x60], r13
setne byte [rsp + 0x5c]
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbx], xmm0
cmp rdi, 0xffffffffffffffff
jne 0x1400bc44f
movabs rdx, 0x8fafd21e25c5e09b
mov ecx, dword [rbx]
cmp ecx, 0x2733
jne 0x1400bc359
mov rax, qword [rbx + 8]
cmp qword [rax + 8], rdx
je 0x1400bc36f
cmp ecx, 0x2745
jne 0x1400bc375
mov rax, qword [rbx + 8]
cmp qword [rax + 8], rdx
jmp 0x1400bc37b
cmp ecx, 0x4d5
jne 0x1400bc347
mov rax, qword [rbx + 8]
cmp qword [rax + 8], rdx
jne 0x1400bc446
test r14b, 1
jmp 0x1400bc385
cmp ecx, 0x86
jne 0x1400bc446
test r14b, 4
jne 0x1400bc446
cmp rsi, 0xffffffffffffffff
je 0x1400bc42c
xor ecx, ecx
mov qword [rbp - 0x68], rsi
mov dword [rbp - 0x70], 1
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [rsi + 1]
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea rdx, [rbp - 0x70]
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_select]
mov edi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x70], r13
setne byte [rsp + 0x6c]
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rbx], xmm0
test edi, edi
jne 0x1400bc402
mov dword [rsp + 0x78], edi
mov byte [rsp + 0x7c], dil
mov qword [rbp - 0x80], r13
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbx], xmm0
jmp 0x1400bc28f
jle 0x1400bc423
mov dword [rsp + 0x38], 0
mov byte [rsp + 0x3c], 0
mov qword [rsp + 0x40], r13
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx], xmm0
jmp 0x1400bc28f
test edi, edi
js 0x1400bc446
jmp 0x1400bc28f
mov dword [rsp + 0x38], 0x2719
mov byte [rsp + 0x3c], 1
mov qword [rsp + 0x40], r13
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx], xmm0
mov rax, 0xffffffffffffffff
jmp 0x1400bc46c
mov dword [rsp + 0x38], 0
mov rax, rdi
mov byte [rsp + 0x3c], 0
mov qword [rsp + 0x40], r13
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx], xmm0
mov rdi, qword [rsp + 0x2f8]
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14000fde0
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret