joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005820
Capabilities:
Start service

Disassembly:
push rbx
sub rsp, 0x30
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
mov rbx, rax
je 0x140005901
lea rdx, str.Everything_Client
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rax
mov qword [rsp + 0x40], rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
mov rdi, rax
je 0x1400058c6
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x1400058a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x1400058a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x140200708]
mov edx, reloc.WS2_32.dll_recv
mov r9, qword [r8 + 0x2090]
mov r8, qword [r8]
xor ecx, ecx
mov dword [rsp + 0x20], eax
call fcn.1400d5b50
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
jmp qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x140200708]
mov edx, reloc.WS2_32.dll_recv
mov r9, qword [r8 + 0x2078]
mov r8, qword [r8]
xor ecx, ecx
mov dword [rsp + 0x20], eax
call fcn.1400d5b50
mov rcx, rbx
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
jmp qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x140200708]
mov edx, reloc.WS2_32.dll_recv
mov r9, qword [r8 + 0x2088]
mov r8, qword [r8]
xor ecx, ecx
mov dword [rsp + 0x20], eax
call fcn.1400d5b50
add rsp, 0x30
pop rbx
ret

Function at 0x140005930
Capabilities:
Stop service

Disassembly:
push rbx
sub rsp, 0x50
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
mov rbx, rax
je 0x140005a18
lea rdx, str.Everything_Client
mov r8d, 0x20
mov rcx, rax
mov qword [rsp + 0x60], rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
mov rdi, rax
je 0x1400059dd
lea r8, [rsp + 0x30]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x1400059c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
je 0x1400059c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x140200708]
mov edx, reloc.WS2_32.dll_recv
mov r9, qword [r8 + 0x2098]
mov r8, qword [r8]
xor ecx, ecx
mov dword [rsp + 0x20], eax
call fcn.1400d5b50
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
mov rdi, qword [rsp + 0x60]
add rsp, 0x50
pop rbx
jmp qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x140200708]
mov edx, reloc.WS2_32.dll_recv
mov r9, qword [r8 + 0x2078]
mov r8, qword [r8]
xor ecx, ecx
mov dword [rsp + 0x20], eax
call fcn.1400d5b50
mov rcx, rbx
mov rdi, qword [rsp + 0x60]
add rsp, 0x50
pop rbx
jmp qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x140200708]
mov edx, reloc.WS2_32.dll_recv
mov r9, qword [r8 + 0x2088]
mov r8, qword [r8]
xor ecx, ecx
mov dword [rsp + 0x20], eax
call fcn.1400d5b50
add rsp, 0x50
pop rbx
ret
Function at 0x140005a50
Capabilities:
Create service
Persist via windows service

Disassembly:
push rbx
sub rsp, 0x4e0
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
call fcn.1400056d0
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
mov rbx, rax
je 0x140005bd3
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x4f0], rdi
call fcn.14017d460
lea rcx, [rsp + 0x190]
call fcn.14017d460
lea rcx, [rsp + 0x2b0]
call fcn.14017d460
lea rcx, [rsp + 0x70]
xor edx, edx
call fcn.1400d97c0
mov r8, qword [rsp + 0x78]
lea rdx, str.__s___client_svc
lea rcx, [rsp + 0x190]
call fcn.1401788c0
mov rdx, qword [rsp + 0x198]
lea rcx, [rsp + 0x2b0]
call fcn.14017d760
mov rax, qword [rsp + 0x2b8]
xor r11d, r11d
mov qword [rsp + 0x60], r11
mov qword [rsp + 0x58], r11
mov qword [rsp + 0x50], r11
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r11d
lea r9d, [r11 + 2]
lea r8, str.Everything_Client
lea rdx, str.Everything_Client
mov rcx, rbx
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
test rax, rax
mov rdi, rax
je 0x140005b61
call fcn.140005820
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140005b9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x140005b75
call fcn.140005820
jmp 0x140005b9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x140200708]
mov edx, reloc.WS2_32.dll_recv
mov r9, qword [r8 + 0x2080]
mov r8, qword [r8]
xor ecx, ecx
mov dword [rsp + 0x20], eax
call fcn.1400d5b50
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rcx, [rsp + 0x2b0]
call fcn.1400012c0
lea rcx, [rsp + 0x190]
call fcn.1400012c0
lea rcx, [rsp + 0x70]
call fcn.1400012c0
mov rdi, qword [rsp + 0x4f0]
jmp 0x140005bfa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x140200708]
mov edx, reloc.WS2_32.dll_recv
mov r9, qword [r8 + 0x2088]
mov r8, qword [r8]
xor ecx, ecx
mov dword [rsp + 0x20], eax
call fcn.1400d5b50
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.1401a8ec0
add rsp, 0x4e0
pop rbx
ret
Function at 0x140006010
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x270
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbp, rcx
lea rcx, [rsp + 0x140]
call fcn.14017d460
lea rcx, [rsp + 0x20]
call fcn.14017d460
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rsp + 0x140]
mov rdx, rax
call fcn.140177f70
mov rcx, rbp
call fcn.140178170
mov rsi, qword [rsp + 0x148]
cmp byte [rsi], 0
je 0x140006158
mov qword [rsp + 0x288], rbx
mov qword [rsp + 0x290], rdi
xor ebx, ebx
xor edi, edi
nop
mov rcx, rsi
call fcn.1401754b0
xor r8d, r8d
mov rcx, rax
movzx eax, byte [rax]
test al, al
je 0x1400060fc
test r8d, r8d
jne 0x1400060ba
cmp al, 0x20
je 0x1400060fc
cmp al, 9
je 0x1400060fc
cmp al, 0xd
je 0x1400060fc
cmp al, 0xa
je 0x1400060fc
cmp al, 0x22
jne 0x1400060e8
add rcx, 1
cmp byte [rcx], al
jne 0x1400060db
cmp byte [rcx + 1], al
jne 0x1400060db
add rcx, 2
test edi, edi
je 0x1400060d5
mov byte [rbx], al
add rbx, 1
jmp 0x1400060f6
xor eax, eax
test r8d, r8d
sete al
mov r8d, eax
jmp 0x1400060f6
test edi, edi
je 0x1400060ee
mov byte [rbx], al
add rbx, 1
add rcx, 1
mov al, byte [rcx]
test al, al
jne 0x1400060a5
test edi, edi
je 0x14000610d
mov byte [rbx], 0
call fcn.1401754b0
mov rsi, rax
jmp 0x140006129
lea edx, [rbx + 1]
cmp edx, dword [rsp + 0x24]
mov dword [rsp + 0x20], edx
jle 0x140006124
lea rcx, [rsp + 0x20]
call fcn.1401771f0
mov rbx, qword [rsp + 0x28]
add edi, 1
cmp edi, 2
jl 0x140006090
mov rcx, rsi
call fcn.1401754b0
mov rcx, rbp
mov rdx, rax
call fcn.140177ed0
mov rdi, qword [rsp + 0x290]
mov rbx, qword [rsp + 0x288]
lea rcx, [rsp + 0x20]
call fcn.1400012c0
lea rcx, [rsp + 0x140]
call fcn.1400012c0
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401a8ec0
mov rbp, qword [rsp + 0x298]
add rsp, 0x270
pop rsi
ret
Function at 0x140009fd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1e8
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x280]
mov rsi, qword [rsp + 0x250]
mov rbp, qword [rsp + 0x258]
mov r12, qword [rsp + 0x260]
mov r13, qword [rsp + 0x268]
mov r14, qword [rsp + 0x270]
mov r15, qword [rsp + 0x278]
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0x50], rax
mov rdi, r9
mov rbx, r8
mov qword [rsp + 0x48], rdx
call fcn.14017d460
lea rcx, [rsp + 0xb0]
mov rdx, rbx
call fcn.14017a080
test rax, rax
mov rbx, rax
mov qword [rsp + 0x40], rax
je 0x14000a257
lea rdx, [rsp + 0x3c]
mov r8d, 1
mov rcx, rdi
call fcn.1401754e0
lea rdx, [rsp + 0x34]
mov r8d, 0x10000
mov rcx, rsi
mov rdi, rax
mov qword [rsp + 0x90], rax
call fcn.1401754e0
lea rdx, [rsp + 0x2c]
xor r8d, r8d
mov rcx, rbp
mov rsi, rax
mov qword [rsp + 0x58], rax
call fcn.1401754e0
lea rdx, [rsp + 0x24]
mov r8d, 2
mov rcx, r12
mov rbp, rax
mov qword [rsp + 0x60], rax
call fcn.1401754e0
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov rcx, r13
mov r12, rax
mov qword [rsp + 0x68], rax
call fcn.1401754e0
lea rdx, [rsp + 0x38]
mov r8d, 3
mov rcx, r14
mov r13, rax
mov qword [rsp + 0x78], rax
call fcn.1401754e0
lea rdx, [rsp + 0x28]
mov r8d, 6
mov rcx, r15
mov r14, rax
mov qword [rsp + 0x88], rax
call fcn.1401754e0
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov r15, rax
mov qword [rsp + 0x98], rax
call fcn.1401754e0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xb8]
cmp byte [rax], 0
mov qword [rsp + 0x80], rax
je 0x14000a236
mov r15d, dword [rsp + 0x30]
mov r14d, dword [rsp + 0x28]
mov r13d, dword [rsp + 0x38]
mov r12d, dword [rsp + 0x20]
mov ebp, dword [rsp + 0x24]
mov esi, dword [rsp + 0x2c]
mov edi, dword [rsp + 0x34]
mov ebx, dword [rsp + 0x3c]
mov ecx, 0x38
call fcn.1400cf700
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0xa0], rax
call fcn.14016dcc0
mov rcx, qword [rsp + 0xa0]
mov dword [rcx + 0x20], esi
mov rsi, qword [rsp + 0x70]
mov dword [rcx + 0x1c], edi
mov rdi, qword [rsp + 0x48]
mov qword [rcx], rax
mov dword [rcx + 0x18], ebx
mov byte [rcx + 0x24], bpl
mov dword [rcx + 0x30], r12d
mov dword [rcx + 0x34], r13d
mov dword [rcx + 0x28], r14d
mov dword [rcx + 0x2c], r15d
cmp qword [rsi], 0
je 0x14000a1ef
mov rax, qword [rdi]
mov qword [rax + 8], rcx
mov rax, qword [rdi]
mov qword [rcx + 0x10], rax
jmp 0x14000a1fa
mov qword [rsi], rcx
mov qword [rcx + 0x10], 0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov r13, qword [rsp + 0x78]
mov r14, qword [rsp + 0x88]
mov r15, qword [rsp + 0x98]
mov qword [rcx + 8], 0
mov qword [rdi], rcx
mov rdi, qword [rsp + 0x90]
lea rcx, [rsp + 0xb0]
mov rdx, rbx
call fcn.14017a080
test rax, rax
mov rbx, rax
mov qword [rsp + 0x40], rax
jne 0x14000a071
lea rcx, [rsp + 0xb0]
call fcn.1400012c0
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1401a8ec0
add rsp, 0x1e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400b3680
Capabilities:
Read file on windows

Disassembly:
mov r8, rdx
mov rdx, rcx
mov rcx, qword [rcx]
cmp dword [rcx + 0x470], 0
je 0x1400b36d4
mov rax, qword [rdx + 8]
mov r10d, dword [rax + 0xe0]
cmp r10d, 0xffffffff
je 0x1400b36b9
mov rcx, qword [rcx + 0x4d0]
mov r9, r8
mov r8, qword [rdx + 0x18]
mov edx, r10d
jmp 0x1400eab00
mov rcx, qword [rax + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x1400b36cc
mov rdx, qword [rdx + 0x18]
jmp fcn.1400cfc60
mov rcx, r8
jmp fcn.1400bf9e0
mov rax, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x18]
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
jne 0x1400b36c7
mov rcx, qword [rax]
mov rcx, qword [rcx + 0x4d0]
jmp 0x1400ea020
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x30
mov rbx, r8
mov r9d, 8
lea r8, [rsp + 0x48]
lea edx, [r9 + 0xe]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rbx
call fcn.1400e9e50
test eax, eax
jne 0x1400ea05a
mov rcx, rbx
call fcn.1400bf9e0
add rsp, 0x30
pop rbx
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov rbp, r9
mov rbx, rcx
mov dword [rsp + 0x20], edx
mov qword [rsp + 0x28], r8
call fcn.1400b4170
cmp dword [0x14020e118], 0
mov r12d, eax
je 0x1400eab4b
mov edx, 0x23
lea rcx, str._service_client_ioctrl__u__s__u_r__u_n
lea r9d, [rdx + 5]
lea r8d, [rdx - 0x13]
call fcn.1400b3fe0
mov edi, 6
lea r8, [rsp + 0x20]
mov rcx, rbx
lea r9d, [rdi + 0xa]
lea edx, [rdi + 0x1d]
xor esi, esi
call fcn.1400e8fc0
test rax, rax
mov rbx, rax
je 0x1400eabe6
cmp dword [0x14020e118], esi
je 0x1400eab90
call fcn.1400b4170
mov edx, dword [rbx + 4]
lea rcx, str._service_client_ioctrl_reply__d_in__f_seconds_n
sub eax, r12d
mov r8d, eax
call fcn.1400b3fe0
mov eax, dword [rbx + 4]
test eax, eax
jne 0x1400eabc4
mov eax, dword [rbx]
lea r8, [rax - 8]
cmp r8, 0x28
ja 0x1400eabbd
add eax, 0xfffffff8
lea rdx, [rbx + 8]
mov rcx, rbp
mov dword [rsp + 0x58], eax
call fcn.1401a8ef0
mov esi, 1
jmp 0x1400eabd1
mov edi, 0x7a
jmp 0x1400eabd1
cmp eax, 5
jne 0x1400eabd1
cmp dword [rbx], 0xc
jb 0x1400eabd1
mov edi, dword [rbx + 8]
mov rcx, rbx
call fcn.1400cf780
test esi, esi
je 0x1400eabe6
cmp dword [rsp + 0x58], 0x28
je 0x1400eac0d
jmp 0x1400eac05
cmp dword [0x14020e118], 0
je 0x1400eabfd
lea rcx, str.set_last_error__d_n
mov edx, edi
call fcn.1400b3fe0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rbp
call fcn.1400bf9e0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x1400b4040
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x158
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x20]
call fcn.14017d460
lea rcx, [rsp + 0x20]
call fcn.14017a3e0
lea rcx, str.Everything_n
call fcn.1400b3fe0
mov rdx, qword [rsp + 0x28]
lea rcx, str.Version__s_n
call fcn.1400b3fe0
cmp byte [0x14020e200], 0
mov r9d, dword [0x14020e208]
mov r8d, dword [0x14020e204]
lea rax, [0x1401b8ef4]
lea rdx, [0x1401b0f62]
lea rcx, str.Windows_s__d._d_n
cmovne rdx, rax
call fcn.1400b3fe0
mov edx, dword [0x14020e20c]
lea rcx, str.Processors__d_n
call fcn.1400b3fe0
call fcn.1400db2e0
lea rcx, str.IsAdmin__d_n
mov edx, eax
call fcn.1400b3fe0
movsx edx, byte [0x14020df38]
lea rcx, str.AppData__d_n
call fcn.1400b3fe0
call fcn.140144c50
lea rcx, str.Service__d_n
mov edx, eax
call fcn.1400b3fe0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, str.cmdline__S_n
mov rdx, rax
call fcn.1400b3fe0
lea rcx, [rsp + 0x20]
call fcn.1400012c0
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1401a8ec0
add rsp, 0x158
ret

Function at 0x1400b41b0
Capabilities:
Access the windows event log
Terminate process

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x3a0
mov rbx, rcx
lea rcx, [rsp + 0x60]
mov rsi, r8
mov edi, edx
call fcn.14017d460
lea rcx, [rsp + 0x180]
call fcn.14017d460
mov rdx, qword [rsp + 0x3d8]
lea r8, [rsp + 0x3e0]
lea rcx, [rsp + 0x180]
call fcn.140178820
mov r11, qword [rsp + 0x188]
lea rdx, str._s__d_:__s__:_Fatal_error:__s
mov qword [rsp + 0x28], r11
lea rcx, [rsp + 0x60]
mov r9d, edi
mov r8, rbx
mov qword [rsp + 0x20], rsi
call fcn.1401788c0
lea rcx, [rsp + 0x180]
call fcn.1400012c0
mov rdx, qword [rsp + 0x68]
lea rcx, [0x1401b78f4]
call fcn.1400b3fe0
cmp dword [0x14020e430], 0
je 0x1400b42d4
lea rcx, [rsp + 0x180]
call fcn.14017d460
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x180]
call fcn.14017d760
lea rdx, [0x1401b8f18]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
mov rbx, rax
je 0x1400b42c5
xor ecx, ecx
lea rax, [rsp + 0x188]
xor r9d, r9d
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ecx
mov word [rsp + 0x28], 1
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rbx
mov dx, 1
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea rcx, [rsp + 0x180]
call fcn.1400012c0
jmp 0x1400b4330
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x50]
lea rcx, [0x1400b3b00]
call fcn.1400dc650
test rax, rax
mov rbx, rax
je 0x1400b4309
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400b4330
mov r8, qword [0x140200708]
mov rax, qword [rsp + 0x68]
lea r9, [0x1401b4760]
mov r8, qword [r8]
mov edx, reloc.WS2_32.dll_recv
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.1400d5b50
lea rcx, [rsp + 0x60]
call fcn.1400012c0
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1400b4500
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x470
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov ebx, ecx
lea rcx, [0x14020e0e8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x1401ffb90], 0xffffffffffffffff
jne 0x1400b45cc
lea rdx, [rsp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rax, str.Everything_Service_Debug_Log.txt
lea r8, str.Everything_Debug_Log.txt
test ebx, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x250]
cmovne r8, rax
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
xor ebx, ebx
lea rcx, [rsp + 0x250]
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 1]
xor r9d, r9d
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov qword [0x1401ffb90], rax
je 0x1400b45cc
cmp dword [0x14020e110], ebx
jne 0x1400b45c2
test rax, rax
jne 0x1400b45c2
mov dword [0x14020e114], ebx
jmp 0x1400b45cc
mov dword [0x14020e114], 1
lea rcx, [0x14020e0e8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1401a8ec0
add rsp, 0x470
pop rbx
ret

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

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
xor esi, esi
mov qword [rsp + 0x30], rbx
cmp dword [rdi + 0x128], esi
jne 0x1400b67e5
mov rax, qword [rdi + 0x118]
test rax, rax
je 0x1400b687f
mov eax, dword [rax + 8]
mov dword [rdi + 0x128], eax
mov rdx, qword [rdi + 0x118]
movsxd r8, dword [rdi + 0x128]
xor r9d, r9d
movsxd rcx, dword [rdx + 8]
sub rcx, r8
lea rdx, [rcx + rdx + 0x10]
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1400b6872
test eax, eax
je 0x1400b6843
sub dword [rdi + 0x128], eax
jne 0x1400b67c4
mov rax, qword [rdi + 0x118]
mov rcx, rax
mov rbx, qword [rax]
call fcn.1400cf780
test rbx, rbx
mov qword [rdi + 0x118], rbx
jne 0x1400b67c4
mov qword [rdi + 0x120], rsi
jmp 0x1400b67c4
mov rdx, qword [0x140200708]
mov rcx, rdi
mov r8, qword [rdx + 0x22f0]
mov rdx, qword [rdx + 0x2278]
call fcn.1400b5800
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1400b6894
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rdx, qword [0x140200708]
mov rcx, rdi
mov r8, qword [rdx + 0x2318]
mov rdx, qword [rdx + 0x2278]
mov r9d, eax
call fcn.1400b5800
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x1400b7eb0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
xor esi, esi
mov qword [rsp + 0x30], rbx
cmp dword [rdi + 0x1c8], esi
jne 0x1400b7ee1
mov rax, qword [rdi + 0x1b8]
test rax, rax
je 0x1400b7f40
mov eax, dword [rax + 8]
mov dword [rdi + 0x1c8], eax
mov rdx, qword [rdi + 0x1b8]
movsxd r8, dword [rdi + 0x1c8]
xor r9d, r9d
movsxd rcx, dword [rdx + 8]
sub rcx, r8
lea rdx, [rcx + rdx + 0x10]
mov rcx, qword [rdi + 8]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1400b7f69
test eax, eax
je 0x1400b7f57
sub dword [rdi + 0x1c8], eax
jne 0x1400b7ec4
mov rax, qword [rdi + 0x1b8]
mov rcx, rax
mov rbx, qword [rax]
call fcn.1400cf780
test rbx, rbx
mov qword [rdi + 0x1b8], rbx
jne 0x1400b7ec4
mov qword [rdi + 0x1c0], rsi
jmp 0x1400b7ec4
cmp dword [rdi + 0xe4], esi
je 0x1400b7f76
mov rcx, qword [rdi + 8]
mov edx, 1
call qword [sym.imp.WS2_32.dll_shutdown]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1400b7f57
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x1400b98b0
Capabilities:
Create udp socket
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xf0
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rbx, rcx
call fcn.1400b8e20
cmp dword [rbx + 0xd0], 0
mov eax, reloc.WS2_32.dll_socket
mov edi, 2
cmovne edi, eax
lea edx, [rax - 0x16]
lea r8d, [rax - 0x11]
mov ecx, edi
call qword [sym.imp.WS2_32.dll_socket]
cmp rax, 0xffffffffffffffff
mov qword [rbx + 0x1d8], rax
je 0x1400b9a91
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov r8d, 1
mov rcx, rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rdx, qword [0x14020e120]
mov rcx, qword [rbx + 0x1d8]
mov rdx, qword [rdx + 0x20]
mov r9d, 0x28
mov r8d, 0x402
call qword [sym.imp.WS2_32.dll_WSAAsyncSelect]
mov rcx, qword [rbx + 0x1d8]
xor eax, eax
cmp edi, 0x17
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
jne 0x1400b9989
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
mov word [rsp + 0x38], di
lea r8d, [rax + 0x1c]
lea rdx, [rsp + 0x38]
jmp 0x1400b999b
mov word [rsp + 0x38], 2
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x1400b9a7a
mov rcx, qword [rbx + 0x1d8]
mov edx, 0x7fffffff
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x1400b9a63
mov rcx, qword [rbx + 0x1d8]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x30], 0x80
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x1400b9a4c
movzx eax, word [rsp + 0x60]
cmp ax, 0x17
je 0x1400b99fa
cmp ax, 2
jne 0x1400b9a35
movzx eax, word [rsp + 0x62]
test eax, eax
je 0x1400b9a35
movzx ecx, ax
call qword [sym.imp.WS2_32.dll_ntohs]
lea rdx, str.229_Entering_Extended_Passive_Mode___d__r_n
mov rcx, rbx
movzx r8d, ax
call fcn.1400b8440
mov dword [rbx + 0x1cc], 2
mov dword [rbx + 0x1d0], 1
jmp 0x1400b9ab1
mov rcx, rbx
call fcn.1400b8e20
movsx r8d, word [rsp + 0x60]
lea rdx, str.500_Failed_to_enter_passive_mode__invalid_family__d_r_n
jmp 0x1400b9aa9
mov rcx, rbx
call fcn.1400b8e20
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.500_Failed_to_enter_passive_mode__getsockname_failed__d_r_n
jmp 0x1400b9aa6
mov rcx, rbx
call fcn.1400b8e20
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.500_Failed_to_enter_passive_mode__socket_listen__d_r_n
jmp 0x1400b9aa6
mov rcx, rbx
call fcn.1400b8e20
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.500_Failed_to_enter_passive_mode__bind_failed__d_r_n
jmp 0x1400b9aa6
mov rcx, rbx
call fcn.1400b8e20
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.500_Failed_to_enter_passive_mode__socket_failed__d_r_n
mov r8d, eax
mov rcx, rbx
call fcn.1400b8440
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1401a8ec0
mov rbx, qword [rsp + 0x108]
add rsp, 0xf0
pop rdi
ret