joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400056c0
Capabilities:
Delete service
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 0x1400057d8
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 0x140005721
lea r8, [rsp + 0x30]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rdx, str.Everything_Client
mov r8d, 0x10000
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
mov rdi, rax
je 0x140005790
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x140005773
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x1402006b8]
mov edx, reloc.WS2_32.dll_recv
mov r9, qword [r8 + 0x20a0]
mov r8, qword [r8]
xor ecx, ecx
mov dword [rsp + 0x20], eax
call fcn.1400d5ce0
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]
cmp eax, 0x424
je 0x1400057c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x1402006b8]
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.1400d5ce0
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 [0x1402006b8]
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.1400d5ce0
add rsp, 0x50
pop rbx
ret
Function at 0x140005810
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 0x1400058f1
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 0x1400058b6
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x140005899
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x140005899
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x1402006b8]
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.1400d5ce0
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 [0x1402006b8]
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.1400d5ce0
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 [0x1402006b8]
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.1400d5ce0
add rsp, 0x30
pop rbx
ret

Function at 0x140005920
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 0x140005a08
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 0x1400059cd
lea r8, [rsp + 0x30]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x1400059b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
je 0x1400059b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x1402006b8]
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.1400d5ce0
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 [0x1402006b8]
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.1400d5ce0
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 [0x1402006b8]
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.1400d5ce0
add rsp, 0x50
pop rbx
ret
Function at 0x140005a40
Capabilities:
Create service
Persist via windows service

Disassembly:
push rbx
sub rsp, 0x4e0
mov rax, qword [0x14020cc08]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
call fcn.1400056c0
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
mov rbx, rax
je 0x140005bc3
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x4f0], rdi
call fcn.1400012c0
lea rcx, [rsp + 0x190]
call fcn.1400012c0
lea rcx, [rsp + 0x2b0]
call fcn.1400012c0
lea rcx, [rsp + 0x70]
xor edx, edx
call fcn.1400d9a90
mov r8, qword [rsp + 0x78]
lea rdx, str.__s___client_svc
lea rcx, [rsp + 0x190]
call fcn.140178c40
mov rdx, qword [rsp + 0x198]
lea rcx, [rsp + 0x2b0]
call fcn.14017d970
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 0x140005b51
call fcn.140005810
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140005b8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x140005b65
call fcn.140005810
jmp 0x140005b8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x1402006b8]
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.1400d5ce0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rcx, [rsp + 0x2b0]
call fcn.140177510
lea rcx, [rsp + 0x190]
call fcn.140177510
lea rcx, [rsp + 0x70]
call fcn.140177510
mov rdi, qword [rsp + 0x4f0]
jmp 0x140005bea
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x1402006b8]
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.1400d5ce0
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.1401a8fd0
add rsp, 0x4e0
pop rbx
ret
Function at 0x140006000
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x270
mov rax, qword [0x14020cc08]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbp, rcx
lea rcx, [rsp + 0x140]
call fcn.1400012c0
lea rcx, [rsp + 0x20]
call fcn.1400012c0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rsp + 0x140]
mov rdx, rax
call fcn.1401782f0
mov rcx, rbp
call fcn.1401784f0
mov rsi, qword [rsp + 0x148]
cmp byte [rsi], 0
je 0x140006148
mov qword [rsp + 0x288], rbx
mov qword [rsp + 0x290], rdi
xor ebx, ebx
xor edi, edi
nop
mov rcx, rsi
call fcn.140175810
xor r8d, r8d
mov rcx, rax
movzx eax, byte [rax]
test al, al
je 0x1400060ec
test r8d, r8d
jne 0x1400060aa
cmp al, 0x20
je 0x1400060ec
cmp al, 9
je 0x1400060ec
cmp al, 0xd
je 0x1400060ec
cmp al, 0xa
je 0x1400060ec
cmp al, 0x22
jne 0x1400060d8
add rcx, 1
cmp byte [rcx], al
jne 0x1400060cb
cmp byte [rcx + 1], al
jne 0x1400060cb
add rcx, 2
test edi, edi
je 0x1400060c5
mov byte [rbx], al
add rbx, 1
jmp 0x1400060e6
xor eax, eax
test r8d, r8d
sete al
mov r8d, eax
jmp 0x1400060e6
test edi, edi
je 0x1400060de
mov byte [rbx], al
add rbx, 1
add rcx, 1
mov al, byte [rcx]
test al, al
jne 0x140006095
test edi, edi
je 0x1400060fd
mov byte [rbx], 0
call fcn.140175810
mov rsi, rax
jmp 0x140006119
lea edx, [rbx + 1]
cmp edx, dword [rsp + 0x24]
mov dword [rsp + 0x20], edx
jle 0x140006114
lea rcx, [rsp + 0x20]
call fcn.140177530
mov rbx, qword [rsp + 0x28]
add edi, 1
cmp edi, 2
jl 0x140006080
mov rcx, rsi
call fcn.140175810
mov rcx, rbp
mov rdx, rax
call fcn.140178250
mov rdi, qword [rsp + 0x290]
mov rbx, qword [rsp + 0x288]
lea rcx, [rsp + 0x20]
call fcn.140177510
lea rcx, [rsp + 0x140]
call fcn.140177510
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401a8fd0
mov rbp, qword [rsp + 0x298]
add rsp, 0x270
pop rsi
ret
Function at 0x140009fc0
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 [0x14020cc08]
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.1400012c0
lea rcx, [rsp + 0xb0]
mov rdx, rbx
call fcn.14017a400
test rax, rax
mov rbx, rax
mov qword [rsp + 0x40], rax
je 0x14000a247
lea rdx, [rsp + 0x3c]
mov r8d, 1
mov rcx, rdi
call fcn.140175840
lea rdx, [rsp + 0x34]
mov r8d, 0x10000
mov rcx, rsi
mov rdi, rax
mov qword [rsp + 0x90], rax
call fcn.140175840
lea rdx, [rsp + 0x2c]
xor r8d, r8d
mov rcx, rbp
mov rsi, rax
mov qword [rsp + 0x58], rax
call fcn.140175840
lea rdx, [rsp + 0x24]
mov r8d, 2
mov rcx, r12
mov rbp, rax
mov qword [rsp + 0x60], rax
call fcn.140175840
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov rcx, r13
mov r12, rax
mov qword [rsp + 0x68], rax
call fcn.140175840
lea rdx, [rsp + 0x38]
mov r8d, 3
mov rcx, r14
mov r13, rax
mov qword [rsp + 0x78], rax
call fcn.140175840
lea rdx, [rsp + 0x28]
mov r8d, 6
mov rcx, r15
mov r14, rax
mov qword [rsp + 0x88], rax
call fcn.140175840
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov r15, rax
mov qword [rsp + 0x98], rax
call fcn.140175840
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xb8]
cmp byte [rax], 0
mov qword [rsp + 0x80], rax
je 0x14000a226
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.1400cf3f0
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0xa0], rax
call fcn.14016e020
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 0x14000a1df
mov rax, qword [rdi]
mov qword [rax + 8], rcx
mov rax, qword [rdi]
mov qword [rcx + 0x10], rax
jmp 0x14000a1ea
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.14017a400
test rax, rax
mov rbx, rax
mov qword [rsp + 0x40], rax
jne 0x14000a061
lea rcx, [rsp + 0xb0]
call fcn.140177510
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1401a8fd0
add rsp, 0x1e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400b3540
Capabilities:
Read file on windows

Disassembly:
mov r8, rdx
mov rdx, rcx
mov rcx, qword [rcx]
cmp dword [rcx + 0x470], 0
je 0x1400b3594
mov rax, qword [rdx + 8]
mov r10d, dword [rax + 0xd8]
cmp r10d, 0xffffffff
je 0x1400b3579
mov rcx, qword [rcx + 0x4d0]
mov r9, r8
mov r8, qword [rdx + 0x18]
mov edx, r10d
jmp 0x1400eaaa0
mov rcx, qword [rax + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x1400b358c
mov rdx, qword [rdx + 0x18]
jmp fcn.1400cfed0
mov rcx, r8
jmp fcn.1400bf870
mov rax, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x18]
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
jne 0x1400b3587
mov rcx, qword [rax]
mov rcx, qword [rcx + 0x4d0]
jmp 0x1400e9fc0
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.1400e9df0
test eax, eax
jne 0x1400e9ffa
mov rcx, rbx
call fcn.1400bf870
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.1400b4020
cmp dword [0x14020e0e0], 0
mov r12d, eax
je 0x1400eaaeb
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.1400b3e90
mov edi, 6
lea r8, [rsp + 0x20]
mov rcx, rbx
lea r9d, [rdi + 0xa]
lea edx, [rdi + 0x1d]
xor esi, esi
call fcn.1400e8f60
test rax, rax
mov rbx, rax
je 0x1400eab86
cmp dword [0x14020e0e0], esi
je 0x1400eab30
call fcn.1400b4020
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.1400b3e90
mov eax, dword [rbx + 4]
test eax, eax
jne 0x1400eab64
mov eax, dword [rbx]
lea r8, [rax - 8]
cmp r8, 0x28
ja 0x1400eab5d
add eax, 0xfffffff8
lea rdx, [rbx + 8]
mov rcx, rbp
mov dword [rsp + 0x58], eax
call fcn.1401a9000
mov esi, 1
jmp 0x1400eab71
mov edi, 0x7a
jmp 0x1400eab71
cmp eax, 5
jne 0x1400eab71
cmp dword [rbx], 0xc
jb 0x1400eab71
mov edi, dword [rbx + 8]
mov rcx, rbx
call fcn.1400cf470
test esi, esi
je 0x1400eab86
cmp dword [rsp + 0x58], 0x28
je 0x1400eabad
jmp 0x1400eaba5
cmp dword [0x14020e0e0], 0
je 0x1400eab9d
lea rcx, str.set_last_error__d_n
mov edx, edi
call fcn.1400b3e90
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rbp
call fcn.1400bf870
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x1400b3ef0
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x158
mov rax, qword [0x14020cc08]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x20]
call fcn.1400012c0
lea rcx, [rsp + 0x20]
call fcn.14017a760
lea rcx, str.Everything_n
call fcn.1400b3e90
mov rdx, qword [rsp + 0x28]
lea rcx, str.Version__s_n
call fcn.1400b3e90
cmp byte [0x14020e1c8], 0
mov r9d, dword [0x14020e1d0]
mov r8d, dword [0x14020e1cc]
lea rax, [0x1401b8df4]
lea rdx, [0x1401b0f62]
lea rcx, str.Windows_s__d._d_n
cmovne rdx, rax
call fcn.1400b3e90
mov edx, dword [0x14020e1d4]
lea rcx, str.Processors__d_n
call fcn.1400b3e90
call fcn.1400db600
lea rcx, str.IsAdmin__d_n
mov edx, eax
call fcn.1400b3e90
movsx edx, byte [0x14020dee3]
lea rcx, str.AppData__d_n
call fcn.1400b3e90
call fcn.140144fc0
lea rcx, str.Service__d_n
mov edx, eax
call fcn.1400b3e90
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, str.cmdline__S_n
mov rdx, rax
call fcn.1400b3e90
lea rcx, [rsp + 0x20]
call fcn.140177510
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1401a8fd0
add rsp, 0x158
ret

Function at 0x1400b4060
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.1400012c0
lea rcx, [rsp + 0x180]
call fcn.1400012c0
mov rdx, qword [rsp + 0x3d8]
lea r8, [rsp + 0x3e0]
lea rcx, [rsp + 0x180]
call fcn.140178ba0
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.140178c40
lea rcx, [rsp + 0x180]
call fcn.140177510
mov rdx, qword [rsp + 0x68]
lea rcx, [0x1401b77f4]
call fcn.1400b3e90
cmp dword [0x14020e3f0], 0
je 0x1400b4184
lea rcx, [rsp + 0x180]
call fcn.1400012c0
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x180]
call fcn.14017d970
lea rdx, [0x1401b8e18]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
mov rbx, rax
je 0x1400b4175
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.140177510
jmp 0x1400b41e0
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x50]
lea rcx, [0x1400b39b0]
call fcn.1400dc950
test rax, rax
mov rbx, rax
je 0x1400b41b9
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400b41e0
mov r8, qword [0x1402006b8]
mov rax, qword [rsp + 0x68]
lea r9, [0x1401b4720]
mov r8, qword [r8]
mov edx, reloc.WS2_32.dll_recv
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.1400d5ce0
lea rcx, [rsp + 0x60]
call fcn.140177510
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1400b43b0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x470
mov rax, qword [0x14020cc08]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov ebx, ecx
lea rcx, [0x14020e0b0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x1401ffb40], 0xffffffffffffffff
jne 0x1400b447c
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 [0x1401ffb40], rax
je 0x1400b447c
cmp dword [0x14020e0d8], ebx
jne 0x1400b4472
test rax, rax
jne 0x1400b4472
mov dword [0x14020e0dc], ebx
jmp 0x1400b447c
mov dword [0x14020e0dc], 1
lea rcx, [0x14020e0b0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1401a8fd0
add rsp, 0x470
pop rbx
ret

Function at 0x1400b6650
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 0x1400b6685
mov rax, qword [rdi + 0x118]
test rax, rax
je 0x1400b671f
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 0x1400b6712
test eax, eax
je 0x1400b66e3
sub dword [rdi + 0x128], eax
jne 0x1400b6664
mov rax, qword [rdi + 0x118]
mov rcx, rax
mov rbx, qword [rax]
call fcn.1400cf470
test rbx, rbx
mov qword [rdi + 0x118], rbx
jne 0x1400b6664
mov qword [rdi + 0x120], rsi
jmp 0x1400b6664
mov rdx, qword [0x1402006b8]
mov rcx, rdi
mov r8, qword [rdx + 0x22f0]
mov rdx, qword [rdx + 0x2278]
call fcn.1400b56a0
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 0x1400b6734
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 [0x1402006b8]
mov rcx, rdi
mov r8, qword [rdx + 0x2318]
mov rdx, qword [rdx + 0x2278]
mov r9d, eax
call fcn.1400b56a0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x1400b7d40
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 0x1400b7d71
mov rax, qword [rdi + 0x1b8]
test rax, rax
je 0x1400b7dd0
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 0x1400b7df9
test eax, eax
je 0x1400b7de7
sub dword [rdi + 0x1c8], eax
jne 0x1400b7d54
mov rax, qword [rdi + 0x1b8]
mov rcx, rax
mov rbx, qword [rax]
call fcn.1400cf470
test rbx, rbx
mov qword [rdi + 0x1b8], rbx
jne 0x1400b7d54
mov qword [rdi + 0x1c0], rsi
jmp 0x1400b7d54
cmp dword [rdi + 0xe4], esi
je 0x1400b7e06
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 0x1400b7de7
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, 1
add rsp, 0x20
pop rdi
ret