joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004750
Capabilities:
Read file on windows

Disassembly:
push rsi
sub rsp, 0x40
cmp dword [rcx + 0x58], 0
mov rsi, rcx
je 0x140004767
xor eax, eax
add rsp, 0x40
pop rsi
ret
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x58]
mov qword [rsp + 0x60], rbx
mov dword [rcx + 0x28], 8
xor ebp, ebp
mov qword [rsp + 0x30], rdi
mov qword [rcx + 0x20], rax
cmp dword [rsi + 0x10], ebp
jne 0x1400047c9
mov rdx, qword [rsi + 0x50]
mov rcx, qword [rsi]
lea r9, [rsp + 0x50]
mov r8d, 0x10000
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140004872
mov ecx, dword [rsp + 0x50]
test ecx, ecx
je 0x140004857
mov rax, qword [rsi + 0x50]
mov dword [rsi + 0x10], ecx
mov qword [rsi + 8], rax
cmp dword [rsi + 0x5c], ebp
je 0x140004815
mov edi, dword [rsi + 0x28]
mov eax, dword [rsi + 0x10]
mov rdx, qword [rsi + 8]
mov rcx, qword [rsi + 0x20]
cmp edi, eax
cmova edi, eax
mov r8d, edi
mov ebx, edi
call fcn.140193220
add qword [rsi + 8], rbx
add qword [rsi + 0x20], rbx
sub dword [rsi + 0x10], edi
sub dword [rsi + 0x28], edi
jne 0x140004788
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
pop rsi
ret
lea rcx, [rsi + 8]
call fcn.14016bc10
test eax, eax
je 0x140004827
cmp eax, 4
jne 0x14000488d
cmp dword [rsi + 0x28], ebp
je 0x1400047fb
cmp eax, 4
jne 0x140004788
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Unexpected_EOF_in_decompression_stream._n
call fcn.1400b1c70
lea rcx, [rsi + 8]
call fcn.14016bd40
mov dword [rsi + 0x58], 1
xor eax, eax
jmp 0x140004800
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile__:__d:_Failed_to_read._n
mov edx, eax
call fcn.1400b1c70
cmp dword [rsi + 0x5c], ebp
jne 0x14000484c
jmp 0x140004843
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile__:__d:_Failed_to_read._n
mov edx, eax
call fcn.1400b1c70
cmp dword [rsi + 0x5c], ebp
jne 0x14000484c
jmp 0x140004843
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Failed_to_decompress._n
jmp 0x14000483e
Function at 0x140004c10
Capabilities:
Read file on windows

Disassembly:
push rsi
sub rsp, 0x40
cmp dword [rcx + 0x58], 0
mov rsi, rcx
je 0x140004c27
xor eax, eax
add rsp, 0x40
pop rsi
ret
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rbx
mov dword [rcx + 0x28], 4
xor ebp, ebp
mov qword [rsp + 0x30], rdi
mov qword [rcx + 0x20], rax
cmp dword [rsi + 0x10], ebp
jne 0x140004c89
mov rdx, qword [rsi + 0x50]
mov rcx, qword [rsi]
lea r9, [rsp + 0x58]
mov r8d, 0x10000
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140004d31
mov ecx, dword [rsp + 0x58]
test ecx, ecx
je 0x140004d16
mov rax, qword [rsi + 0x50]
mov dword [rsi + 0x10], ecx
mov qword [rsi + 8], rax
cmp dword [rsi + 0x5c], ebp
je 0x140004cd4
mov edi, dword [rsi + 0x28]
mov eax, dword [rsi + 0x10]
mov rdx, qword [rsi + 8]
mov rcx, qword [rsi + 0x20]
cmp edi, eax
cmova edi, eax
mov r8d, edi
mov ebx, edi
call fcn.140193220
add qword [rsi + 8], rbx
add qword [rsi + 0x20], rbx
sub dword [rsi + 0x10], edi
sub dword [rsi + 0x28], edi
jne 0x140004c48
mov eax, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
pop rsi
ret
lea rcx, [rsi + 8]
call fcn.14016bc10
test eax, eax
je 0x140004ce6
cmp eax, 4
jne 0x140004d4c
cmp dword [rsi + 0x28], ebp
je 0x140004cbb
cmp eax, 4
jne 0x140004c48
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Unexpected_EOF_in_decompression_stream._n
call fcn.1400b1c70
lea rcx, [rsi + 8]
call fcn.14016bd40
mov dword [rsi + 0x58], 1
xor eax, eax
jmp 0x140004cbf
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile__:__d:_Failed_to_read._n
mov edx, eax
call fcn.1400b1c70
cmp dword [rsi + 0x5c], ebp
jne 0x140004d0b
jmp 0x140004d02
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile__:__d:_Failed_to_read._n
mov edx, eax
call fcn.1400b1c70
cmp dword [rsi + 0x5c], ebp
jne 0x140004d0b
jmp 0x140004d02
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Failed_to_decompress._n
jmp 0x140004cfd

Function at 0x140004d60
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140004600
cmp al, 0xff
jne 0x140004d7f
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140004c10
movzx eax, al
add rsp, 0x20
pop rbx
ret
Function at 0x140005560
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 0x140005678
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 0x1400055c1
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 0x140005630
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x140005613
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x1401e5d78]
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.1400c4aa0
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 0x140005664
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x1401e5d78]
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.1400c4aa0
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 [0x1401e5d78]
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.1400c4aa0
add rsp, 0x50
pop rbx
ret
Function at 0x1400056b0
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 0x140005791
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 0x140005756
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x140005739
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x140005739
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x1401e5d78]
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.1400c4aa0
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 [0x1401e5d78]
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.1400c4aa0
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 [0x1401e5d78]
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.1400c4aa0
add rsp, 0x30
pop rbx
ret

Function at 0x1400057c0
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 0x1400058a8
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 0x14000586d
lea r8, [rsp + 0x30]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x140005850
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
je 0x140005850
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x1401e5d78]
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.1400c4aa0
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 [0x1401e5d78]
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.1400c4aa0
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 [0x1401e5d78]
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.1400c4aa0
add rsp, 0x50
pop rbx
ret
Function at 0x1400058e0
Capabilities:
Create service
Persist via windows service

Disassembly:
push rbx
sub rsp, 0x4e0
mov rax, qword [0x1401f22c8]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
call fcn.140005560
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
mov rbx, rax
je 0x140005a63
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x4f0], rdi
call fcn.1401617b0
lea rcx, [rsp + 0x190]
call fcn.1401617b0
lea rcx, [rsp + 0x2b0]
call fcn.1401617b0
lea rcx, [rsp + 0x70]
xor edx, edx
call fcn.1400c8740
mov r8, qword [rsp + 0x78]
lea rdx, str.__s___client_svc
lea rcx, [rsp + 0x190]
call fcn.140162e20
mov rdx, qword [rsp + 0x198]
lea rcx, [rsp + 0x2b0]
call fcn.140167a80
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 0x1400059f1
call fcn.1400056b0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140005a2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x140005a05
call fcn.1400056b0
jmp 0x140005a2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x1401e5d78]
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.1400c4aa0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rcx, [rsp + 0x2b0]
call fcn.140001150
lea rcx, [rsp + 0x190]
call fcn.140001150
lea rcx, [rsp + 0x70]
call fcn.140001150
mov rdi, qword [rsp + 0x4f0]
jmp 0x140005a8a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x1401e5d78]
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.1400c4aa0
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.1401931f0
add rsp, 0x4e0
pop rbx
ret
Function at 0x140005ea0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x270
mov rax, qword [0x1401f22c8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbp, rcx
lea rcx, [rsp + 0x140]
call fcn.1401617b0
lea rcx, [rsp + 0x20]
call fcn.1401617b0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rsp + 0x140]
mov rdx, rax
call fcn.140162580
mov rcx, rbp
call fcn.140162780
mov rsi, qword [rsp + 0x148]
cmp byte [rsi], 0
je 0x140005fe8
mov qword [rsp + 0x288], rbx
mov qword [rsp + 0x290], rdi
xor ebx, ebx
xor edi, edi
nop
mov rcx, rsi
call fcn.14015fd70
xor r8d, r8d
mov rcx, rax
movzx eax, byte [rax]
test al, al
je 0x140005f8c
test r8d, r8d
jne 0x140005f4a
cmp al, 0x20
je 0x140005f8c
cmp al, 9
je 0x140005f8c
cmp al, 0xd
je 0x140005f8c
cmp al, 0xa
je 0x140005f8c
cmp al, 0x22
jne 0x140005f78
add rcx, 1
cmp byte [rcx], al
jne 0x140005f6b
cmp byte [rcx + 1], al
jne 0x140005f6b
add rcx, 2
test edi, edi
je 0x140005f65
mov byte [rbx], al
add rbx, 1
jmp 0x140005f86
xor eax, eax
test r8d, r8d
sete al
mov r8d, eax
jmp 0x140005f86
test edi, edi
je 0x140005f7e
mov byte [rbx], al
add rbx, 1
add rcx, 1
mov al, byte [rcx]
test al, al
jne 0x140005f35
test edi, edi
je 0x140005f9d
mov byte [rbx], 0
call fcn.14015fd70
mov rsi, rax
jmp 0x140005fb9
lea edx, [rbx + 1]
cmp edx, dword [rsp + 0x24]
mov dword [rsp + 0x20], edx
jle 0x140005fb4
lea rcx, [rsp + 0x20]
call fcn.1401617c0
mov rbx, qword [rsp + 0x28]
add edi, 1
cmp edi, 2
jl 0x140005f20
mov rcx, rsi
call fcn.14015fd70
mov rcx, rbp
mov rdx, rax
call fcn.1401624e0
mov rdi, qword [rsp + 0x290]
mov rbx, qword [rsp + 0x288]
lea rcx, [rsp + 0x20]
call fcn.140001150
lea rcx, [rsp + 0x140]
call fcn.140001150
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401931f0
mov rbp, qword [rsp + 0x298]
add rsp, 0x270
pop rsi
ret
Function at 0x140009e60
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 [0x1401f22c8]
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.1401617b0
lea rcx, [rsp + 0xb0]
mov rdx, rbx
call fcn.1401645e0
test rax, rax
mov rbx, rax
mov qword [rsp + 0x40], rax
je 0x14000a0e7
lea rdx, [rsp + 0x3c]
mov r8d, 1
mov rcx, rdi
call fcn.14015fda0
lea rdx, [rsp + 0x34]
mov r8d, 0x10000
mov rcx, rsi
mov rdi, rax
mov qword [rsp + 0x90], rax
call fcn.14015fda0
lea rdx, [rsp + 0x2c]
xor r8d, r8d
mov rcx, rbp
mov rsi, rax
mov qword [rsp + 0x58], rax
call fcn.14015fda0
lea rdx, [rsp + 0x24]
mov r8d, 2
mov rcx, r12
mov rbp, rax
mov qword [rsp + 0x60], rax
call fcn.14015fda0
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov rcx, r13
mov r12, rax
mov qword [rsp + 0x68], rax
call fcn.14015fda0
lea rdx, [rsp + 0x38]
mov r8d, 3
mov rcx, r14
mov r13, rax
mov qword [rsp + 0x78], rax
call fcn.14015fda0
lea rdx, [rsp + 0x28]
mov r8d, 6
mov rcx, r15
mov r14, rax
mov qword [rsp + 0x88], rax
call fcn.14015fda0
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov r15, rax
mov qword [rsp + 0x98], rax
call fcn.14015fda0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xb8]
cmp byte [rax], 0
mov qword [rsp + 0x80], rax
je 0x14000a0c6
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.1400be650
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0xa0], rax
call fcn.140158580
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 0x14000a07f
mov rax, qword [rdi]
mov qword [rax + 8], rcx
mov rax, qword [rdi]
mov qword [rcx + 0x10], rax
jmp 0x14000a08a
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.1401645e0
test rax, rax
mov rbx, rax
mov qword [rsp + 0x40], rax
jne 0x140009f01
lea rcx, [rsp + 0xb0]
call fcn.140001150
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1401931f0
add rsp, 0x1e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400b1310
Capabilities:
Read file on windows

Disassembly:
mov r8, rdx
mov rdx, rcx
mov rcx, qword [rcx]
cmp dword [rcx + 0x470], 0
je 0x1400b1364
mov rax, qword [rdx + 8]
mov r10d, dword [rax + 0xe0]
cmp r10d, 0xffffffff
je 0x1400b1349
mov rcx, qword [rcx + 0x4d0]
mov r9, r8
mov r8, qword [rdx + 0x18]
mov edx, r10d
jmp 0x1400d9900
mov rcx, qword [rax + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x1400b135c
mov rdx, qword [rdx + 0x18]
jmp fcn.1400bebb0
mov rcx, r8
jmp fcn.1400b7f10
mov rax, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x18]
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
jne 0x1400b1357
mov rcx, qword [rax]
mov rcx, qword [rcx + 0x4d0]
jmp 0x1400d8e20
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.1400d8c50
test eax, eax
jne 0x1400d8e5a
mov rcx, rbx
call fcn.1400b7f10
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.1400b1e00
cmp dword [0x1401f3720], 0
mov r12d, eax
je 0x1400d994b
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.1400b1c70
mov edi, 6
lea r8, [rsp + 0x20]
mov rcx, rbx
lea r9d, [rdi + 0xa]
lea edx, [rdi + 0x1d]
xor esi, esi
call fcn.1400d7dc0
test rax, rax
mov rbx, rax
je 0x1400d99e6
cmp dword [0x1401f3720], esi
je 0x1400d9990
call fcn.1400b1e00
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.1400b1c70
mov eax, dword [rbx + 4]
test eax, eax
jne 0x1400d99c4
mov eax, dword [rbx]
lea r8, [rax - 8]
cmp r8, 0x28
ja 0x1400d99bd
add eax, 0xfffffff8
lea rdx, [rbx + 8]
mov rcx, rbp
mov dword [rsp + 0x58], eax
call fcn.140193220
mov esi, 1
jmp 0x1400d99d1
mov edi, 0x7a
jmp 0x1400d99d1
cmp eax, 5
jne 0x1400d99d1
cmp dword [rbx], 0xc
jb 0x1400d99d1
mov edi, dword [rbx + 8]
mov rcx, rbx
call fcn.1400be6d0
test esi, esi
je 0x1400d99e6
cmp dword [rsp + 0x58], 0x28
je 0x1400d9a0d
jmp 0x1400d9a05
cmp dword [0x1401f3720], 0
je 0x1400d99fd
lea rcx, str.set_last_error__d_n
mov edx, edi
call fcn.1400b1c70
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rbp
call fcn.1400b7f10
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x1400b1cd0
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1401f22c8]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x20]
call fcn.1401617b0
lea rcx, [rsp + 0x20]
call fcn.140164940
lea rcx, str.Everything_n
call fcn.1400b1c70
mov rdx, qword [rsp + 0x28]
lea rcx, str.Version__s_n
call fcn.1400b1c70
cmp byte [0x1401f37d0], 0
mov r9d, dword [0x1401f37d8]
mov r8d, dword [0x1401f37d4]
lea rax, [0x1401a29d4]
lea rdx, [0x14019aef2]
lea rcx, str.Windows_s__d._d_n
cmovne rdx, rax
call fcn.1400b1c70
mov edx, dword [0x1401f37dc]
lea rcx, str.Processors__d_n
call fcn.1400b1c70
call fcn.1400ca260
lea rcx, str.IsAdmin__d_n
mov edx, eax
call fcn.1400b1c70
movsx edx, byte [0x1401f35a5]
lea rcx, str.AppData__d_n
call fcn.1400b1c70
call fcn.140130e30
lea rcx, str.Service__d_n
mov edx, eax
call fcn.1400b1c70
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, str.cmdline__S_n
mov rdx, rax
call fcn.1400b1c70
lea rcx, [rsp + 0x20]
call fcn.140001150
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1401931f0
add rsp, 0x158
ret

Function at 0x1400b1e40
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.1401617b0
lea rcx, [rsp + 0x180]
call fcn.1401617b0
mov rdx, qword [rsp + 0x3d8]
lea r8, [rsp + 0x3e0]
lea rcx, [rsp + 0x180]
call fcn.140162d80
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.140162e20
lea rcx, [rsp + 0x180]
call fcn.140001150
mov rdx, qword [rsp + 0x68]
lea rcx, [0x1401a1414]
call fcn.1400b1c70
cmp dword [0x1401f3a00], 0
je 0x1400b1f64
lea rcx, [rsp + 0x180]
call fcn.1401617b0
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x180]
call fcn.140167a80
lea rdx, [0x1401a29f8]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
mov rbx, rax
je 0x1400b1f55
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.140001150
jmp 0x1400b1fc0
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x50]
lea rcx, [0x1400b1790]
call fcn.1400cb420
test rax, rax
mov rbx, rax
je 0x1400b1f99
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400b1fc0
mov r8, qword [0x1401e5d78]
mov rax, qword [rsp + 0x68]
lea r9, [0x14019e3c0]
mov r8, qword [r8]
mov edx, reloc.WS2_32.dll_recv
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.1400c4aa0
lea rcx, [rsp + 0x60]
call fcn.140001150
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]