joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140067360
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14006742a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call dbg.internal/bytealg.IndexByteString
xorps xmm15, xmm15
mov r14, qword [0x140195488]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x14006740f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x1400a1c60]
xor ebx, ebx
mov rcx, rdx
call dbg.runtime.makeslice
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call dbg.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x1400673fe
mov edi, 1
lea rsi, [0x1400a1c60]
call dbg.runtime.growslice
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x1400d5608]
lea rsi, [0x1400d4fa0]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp dbg.syscall.UTF16FromString
Function at 0x140084e20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140084f0d
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
lea rcx, [rbx + 1]
nop dword [rax + rax]
test rcx, rcx
jle 0x140084ef9
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x58], rax
mov qword [rsp], rcx
nop dword [rax]
call dbg.main._cgo_cmalloc
xorps xmm15, xmm15
mov r14, qword [0x140195488]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x18]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rcx
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
cmp rbx, rcx
mov rsi, rcx
cmovl rsi, rbx
mov rdi, qword [rsp + 0x58]
cmp rdi, rdx
jne 0x140084eb3
cmp rbx, rcx
jmp 0x140084ee5
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdx
mov rax, rdx
mov rbx, rdi
mov rcx, rsi
call dbg.runtime.memmove
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x18]
cmp rax, rcx
mov rdx, qword [rsp + 0x28]
mov rbx, rax
mov rax, qword [rsp + 0x20]
jae 0x140084ef1
mov byte [rdx + rbx], 0
add rsp, 0x48
pop rbp
ret
mov rax, rbx
call dbg.runtime.panicIndex
lea rax, [0x1400a17e0]
lea rbx, [0x1400d50d8]
call dbg.runtime.gopanic
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp dbg.main._Cfunc_CString

Function at 0x140085a30
Capabilities:
Create thread

Disassembly:
mov rdx, rcx
lea rcx, [dbg.threadentry]
jmp sym._cgo_beginthread

Function at 0x14008a890
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]
Function at 0x14008a900
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x140199d94]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x14008aab0
mov rax, qword [0x140199d98]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14008a94c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x14008a9d7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x14008a930
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rbp, rax
test rax, rax
je 0x14008ab0d
mov rax, qword [0x140199d98]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x140199d98]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14008aaf2
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14008a9d0
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14008aa60
add dword [0x140199d94], 1
cmp ebx, 8
jae 0x14008aa08
test bl, 4
jne 0x14008aac0
test ebx, ebx
je 0x14008a9f9
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x14008aae0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x14008a9f9
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x14008aa3a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x140199d98]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14008a9d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
xor edi, edi
jmp 0x14008a957
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x14008a9f9
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x14008a9f9
mov rax, qword [0x140199d98]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop dword [rax]
Function at 0x14008b020
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x140199e00]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140199de0]
test rbx, rbx
je 0x14008b074
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x14008b06b
test r12, r12
je 0x14008b06b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14008b050
lea rcx, [0x140199e00]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x14008b2a0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
jne 0x14008b2b0
jmp sym._ValidateImageBase.part.0
xor eax, eax
ret

Function at 0x14008b2c0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x14008b305
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x14008b2fc
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x14008b307
add rax, 0x28
cmp rax, r9
jne 0x14008b2e8
xor eax, eax
ret

Function at 0x14008b3b0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x14013a880]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x14008b429
mov rcx, r10
call sym._ValidateImageBase.part.0
test eax, eax
je 0x14008b429
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x14008b426
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x14008b41d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x14008b429
add r8, 0x28
cmp r8, r9
jne 0x14008b408
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x14008b510
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14013a880]
xor eax, eax
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14008b57f
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x14008b57f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
movzx edx, word [r9 + 6]
lea rax, [r9 + rax + 0x18]
test edx, edx
je 0x14008b57d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14008b574
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14008b588
add rax, 0x28
cmp rax, r9
jne 0x14008b560
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x14008b5a0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x14013a880]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x14008b618
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x14008b618
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x14008b618
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x14008b618
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x14008b60c
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x14008b620
add rdx, 0x28
cmp rdx, r10
jne 0x14008b5f8
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jmp 0x14008b630
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x14008b63e
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14008b615
test r8d, r8d
jg 0x14008b628
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret
Function at 0x100009b74
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xf0
mov rdi, r9
lea rdx, [0x100006808]
lea rcx, [rsp + 0x20]
mov r9d, 1
mov r8d, 0x19e
call fcn.10001ed8c
and qword [rsp + 0x60], 0
and qword [rsp + 0x70], 0
and dword [rsp + 0x80], 0
lea r11, [0x100005e20]
xor edx, edx
lea r8d, [rdx + 0x6c]
lea rcx, [rsp + 0x84]
mov qword [rsp + 0x58], r11
mov qword [rsp + 0x68], r11
call fcn.10002a670
mov r11d, 0x1a4
mov word [rsp + 0x24], r11w
lea eax, [r11 + 1]
test rdi, rdi
jne 0x100009c01
mov ebx, 0x80070057
mov dword [rsp + 0x20], ebx
mov word [rsp + 0x26], ax
jmp 0x100009d3a
and dword [rsp + 0x20], 0
lea rdx, [0x100006d10]
lea rcx, [rsp + 0x68]
mov word [rsp + 0x24], ax
call fcn.100028dd8
mov ebx, eax
mov dword [rsp + 0x20], eax
test eax, eax
mov eax, 0x1a7
js 0x100009bf7
lea rdx, [0x100006820]
lea rcx, [rsp + 0x58]
mov r8, rdi
mov word [rsp + 0x24], ax
call fcn.1000289d8
mov ebx, eax
mov dword [rsp + 0x20], eax
test eax, eax
mov eax, 0x1a9
js 0x100009bf7
and qword [rsp + 0x88], 0
mov word [rsp + 0x24], ax
lea rax, [0x100006828]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x68]
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x58]
mov dword [rsp + 0x84], 0x2000540
mov dword [rsp + 0x80], 0x70
mov dword [rsp + 0xb0], 1
mov qword [rsp + 0xa0], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x100009d36
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov dword [rsp + 0x20], ebx
mov rcx, qword [0x10002e120]
lea rax, [0x10002e120]
cmp rcx, rax
je 0x100009d0b
bt dword [rcx + 0x1c], 9
jae 0x100009d0b
mov rcx, qword [rcx + 0x10]
lea r8, [0x100006100]
mov edx, 0xc
mov r9d, ebx
call fcn.100008da0
mov ebx, dword [rsp + 0x20]
cmp ebx, 0x800704c7
jne 0x100009d28
mov ebx, 1
mov eax, 0x1be
mov dword [rsp + 0x20], ebx
mov word [rsp + 0x24], ax
jmp 0x100009d3a
mov eax, 0x1c2
test ebx, ebx
jns 0x100009d21
jmp 0x100009bf7
mov ebx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xe8]
test rcx, rcx
je 0x100009d5a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsp + 0xe8], 0
mov ebx, dword [rsp + 0x20]
lea rcx, [rsp + 0x68]
call fcn.100027da0
lea rcx, [rsp + 0x58]
call fcn.100027da0
lea rcx, [rsp + 0x20]
call fcn.10001eea4
mov eax, ebx
mov rbx, qword [rsp + 0x100]
add rsp, 0xf0
pop rdi
ret
Function at 0x100009d94
Capabilities:
Shutdown system

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
mov rdi, rcx
lea rdx, [0x100006838]
lea rcx, [rsp + 0x40]
mov r9d, 1
mov r8d, 0x1dc
call fcn.10001ed8c
lea r11, [0x100005e20]
lea rcx, [0x100006848]
xor esi, esi
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x38], rsi
call fcn.100020c04
mov ebx, eax
mov dword [rsp + 0x40], eax
cmp eax, esi
mov eax, 0x1e1
jge 0x100009dfe
mov word [rsp + 0x46], ax
jmp 0x100009ead
mov word [rsp + 0x44], ax
call fcn.1000108d0
cmp eax, esi
jne 0x100009e3c
mov ecx, 1
call qword [sym.imp.ntdll.dll_NtShutdownSystem]
mov ecx, eax
call fcn.100020a00
cmp eax, esi
mov ebx, eax
mov dword [rsp + 0x40], eax
jge 0x100009e2f
mov eax, 0x1e6
jmp 0x100009df4
mov ebx, esi
mov eax, 0x1e7
mov dword [rsp + 0x40], ebx
jmp 0x100009ea8
lea rcx, [rsp + 0x30]
mov r8d, 0x9c
mov rdx, rdi
call fcn.100028c74
mov ebx, eax
mov dword [rsp + 0x40], eax
cmp eax, esi
mov eax, 0x1ea
jl 0x100009df4
mov rdx, qword [rsp + 0x30]
mov r9d, 0x27
xor r8d, r8d
xor ecx, ecx
mov word [rsp + 0x44], ax
mov dword [rsp + 0x20], 0x2001a
call qword [sym.imp.ADVAPI32.dll_InitiateShutdownW]
cmp eax, 0x45b
cmove eax, esi
movzx ebx, ax
or ebx, 0x80070000
cmp eax, esi
cmovle ebx, eax
mov eax, 0x1f8
cmp ebx, esi
mov dword [rsp + 0x40], ebx
jl 0x100009df4
mov word [rsp + 0x44], ax
lea rcx, [rsp + 0x30]
call fcn.100027da0
lea rcx, [rsp + 0x40]
call fcn.10001eea4
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x10000a194
Capabilities:
Inspect load icon resource

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rsi, rdx
mov rdi, rcx
lea rdx, [0x100006890]
lea rcx, [rsp + 0x20]
mov r9d, 1
mov r8d, 0x261
call fcn.10001ed8c
mov qword [rdi + 8], rsi
call fcn.1000108d0
mov ebx, eax
mov dword [rsp + 0x20], eax
test eax, eax
mov eax, 0x265
jns 0x10000a1e8
mov word [rsp + 0x26], ax
jmp 0x10000a287
mov word [rsp + 0x24], ax
test ebx, ebx
jne 0x10000a1f8
mov dword [rdi + 0x28], 1
mov rcx, rdi
call fcn.10000a03c
mov ebx, eax
mov dword [rsp + 0x20], eax
test eax, eax
mov eax, 0x26b
js 0x10000a1de
lea rcx, [0x1000068b0]
mov word [rsp + 0x24], ax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rdi + 0x10], rax
test rax, rax
jne 0x10000a23c
call fcn.100020b84
mov ebx, eax
mov dword [rsp + 0x20], eax
mov eax, 0x26e
jmp 0x10000a1de
and dword [rsp + 0x20], 0
mov eax, 0x26e
mov edx, 0x9b
mov rcx, rsi
mov word [rsp + 0x24], ax
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rdi + 0x20], rax
test rax, rax
jne 0x10000a277
call fcn.100020b84
mov ebx, eax
mov dword [rsp + 0x20], eax
mov eax, 0x273
jmp 0x10000a1de
xor ebx, ebx
mov eax, 0x273
mov dword [rsp + 0x20], ebx
mov word [rsp + 0x24], ax
lea rcx, [rsp + 0x20]
call fcn.10001eea4
mov rsi, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x10000bc64
Capabilities:
Stop service

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x90
mov rbp, rcx
lea rdx, [0x100006a00]
lea rcx, [rax - 0x48]
mov r9d, 1
mov r8d, 0x57e
call fcn.10001ed8c
xor ebx, ebx
lea rcx, [rsp + 0x34]
and dword [rsp + 0x30], ebx
lea r8d, [rbx + 0x18]
xor edx, edx
xor edi, edi
call fcn.10002a670
and qword [rsp + 0xa0], rbx
lea rcx, [rbp + 0xa8]
cmp qword [rcx], rbx
je 0x10000bcd2
lea rdx, [rbp + 0xa0]
call fcn.100021658
cmp dword [rbp + 0xc8], ebx
je 0x10000bd4e
xor edx, edx
lea rax, [rsp + 0xa0]
lea r9, [0x1000019d0]
lea r8d, [rdx + 1]
lea rcx, [0x1000019f0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
mov dword [rsp + 0x50], eax
test eax, eax
mov eax, 0x593
js 0x10000be5c
mov rcx, qword [rsp + 0xa0]
mov edx, dword [rbp + 0xc8]
mov word [rsp + 0x54], ax
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rsp + 0xa0]
and dword [rbp + 0xc8], ebx
test rcx, rcx
je 0x10000bd4e
and qword [rsp + 0xa0], rbx
mov rax, qword [rcx]
call qword [rax + 0x10]
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x10000be4c
cmp rax, 0xffffffffffffffff
je 0x10000be4c
and dword [rsp + 0x50], edi
mov eax, 0x59c
lea rdx, [0x100006a18]
mov r8d, 0xa4
mov rcx, rbx
mov word [rsp + 0x54], ax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x10000be02
cmp rax, 0xffffffffffffffff
je 0x10000be02
lea r8, [rsp + 0x30]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x10000bdfc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x10002e120]
lea rdx, [0x10002e120]
cmp rcx, rdx
je 0x10000bdf5
bt dword [rcx + 0x1c], 0x1a
jae 0x10000bdf5
mov rcx, qword [rcx + 0x10]
lea r8, [0x100006100]
mov edx, 0x12
mov r9d, eax
call fcn.100008da0
mov eax, 0x5ad
jmp 0x10000be3f
mov esi, dword [rsp + 0x50]
jmp 0x10000be61
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x10002e120]
lea rdx, [0x10002e120]
cmp rcx, rdx
je 0x10000be3a
bt dword [rcx + 0x1c], 0x1a
jae 0x10000be3a
mov rcx, qword [rcx + 0x10]
lea r8, [0x100006100]
mov edx, 0x11
mov r9d, eax
call fcn.100008da0
mov eax, 0x5a4
xor esi, esi
mov word [rsp + 0x54], ax
mov dword [rsp + 0x50], esi
jmp 0x10000be61
call fcn.100020b84
mov esi, eax
mov dword [rsp + 0x50], eax
mov eax, 0x59c
mov word [rsp + 0x56], ax
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x10000be74
mov rax, qword [rcx]
call qword [rax + 0x10]
test rdi, rdi
je 0x10000be88
cmp rdi, 0xffffffffffffffff
je 0x10000be88
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbx, rbx
je 0x10000be9c
cmp rbx, 0xffffffffffffffff
je 0x10000be9c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rcx, [rsp + 0x50]
call fcn.10001eea4
lea r11, [rsp + 0x90]
mov eax, esi
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x10000c678
Capabilities:
Create thread
Hide graphical window

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x70
mov rdi, rcx
lea rdx, [0x100006b48]
lea rcx, [rax - 0x48]
mov r9d, 1
mov r8d, 0x684
call fcn.10001ed8c
and dword [rsp + 0x80], 0
mov eax, 0x68b
test rdi, rdi
jne 0x10000c6d0
mov ebx, 0x80070057
mov word [rsp + 0x36], ax
mov dword [rsp + 0x30], ebx
jmp 0x10000c804
mov rcx, qword [rdi + 8]
and dword [rsp + 0x30], 0
xor r8d, r8d
lea edx, [r8 + 0x74]
lea r9, [0x10001bbe0]
mov word [rsp + 0x34], ax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov rsi, rax
test rax, rax
jne 0x10000c719
call fcn.100020b84
mov ebx, eax
mov dword [rsp + 0x30], eax
mov eax, 0x68e
mov word [rsp + 0x36], ax
jmp 0x10000c7ea
and dword [rsp + 0x30], 0
mov eax, 0x68e
mov edx, 5
mov rcx, rsi
mov qword [rdi + 0x138], rsi
mov word [rsp + 0x34], ax
call qword [sym.imp.USER32.dll_ShowWindow]
lock add dword [rdi], 1
lea rax, [rsp + 0x80]
lea r8, [0x10000c398]
mov r9, rdi
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
jne 0x10000c78e
mov rcx, rdi
call fcn.10001018c
call fcn.100020b84
mov ecx, 0x69a
mov ebx, eax
mov dword [rsp + 0x30], eax
mov word [rsp + 0x36], cx
jmp 0x10000c7d8
and dword [rsp + 0x30], 0
mov ecx, 0x69a
mov word [rsp + 0x34], cx
mov rcx, rax
call fcn.100020e9c
mov ebx, eax
mov dword [rsp + 0x30], eax
test eax, eax
mov eax, 0x69c
jns 0x10000c7bb
mov word [rsp + 0x36], ax
jmp 0x10000c7d8
mov ebx, dword [rdi + 0x124]
mov word [rsp + 0x34], ax
mov eax, 0x69e
mov dword [rsp + 0x30], ebx
test ebx, ebx
js 0x10000c7b4
mov word [rsp + 0x34], ax
test rbp, rbp
je 0x10000c7ea
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x30]
test rsi, rsi
je 0x10000c804
and qword [rdi + 0x138], 0
mov rcx, rsi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov ebx, dword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.10001eea4
lea r11, [rsp + 0x70]
mov eax, ebx
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x10000e8ac
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x220
mov rax, qword [0x10002e110]
xor rax, rsp
mov qword [rsp + 0x210], rax
lea rdx, [0x100006d58]
lea rcx, [rsp + 0x88]
mov r9d, 1
mov r8d, 0x9e5
call fcn.10001ed8c
xor edx, edx
lea rcx, [rsp + 0xc8]
lea r8d, [rdx + 0x60]
call fcn.10002a670
and qword [rsp + 0x50], 0
and qword [rsp + 0x70], 0
and qword [rsp + 0x80], 0
xor eax, eax
mov ebx, 0x6a
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rax, [0x100005e20]
lea rcx, [rsp + 0x130]
lea rdx, [0x100006d70]
mov r8, rbx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], rax
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x1a0]
lea rdx, [0x100006d70]
mov r8, rbx
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x68]
mov dword [rsp + 0xc0], 0x68
call fcn.100028dd8
mov ebx, eax
mov dword [rsp + 0x88], eax
test eax, eax
mov eax, 0x9f0
jns 0x10000e99b
mov word [rsp + 0x8e], ax
jmp 0x10000ea44
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x78]
mov word [rsp + 0x8c], ax
call fcn.100028dd8
mov ebx, eax
mov dword [rsp + 0x88], eax
test eax, eax
mov eax, 0x9f1
js 0x10000e98e
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
mov word [rsp + 0x8c], ax
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10000ea2e
call fcn.100020b84
mov ebx, eax
mov dword [rsp + 0x88], eax
mov eax, 0x9fc
jmp 0x10000e98e
xor ebx, ebx
mov eax, 0x9fc
mov dword [rsp + 0x88], ebx
mov word [rsp + 0x8c], ax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x10000ea61
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsp + 0x58], 0
mov ebx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x10000ea7e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsp + 0x50], 0
mov ebx, dword [rsp + 0x88]
lea rcx, [rsp + 0x78]
call fcn.100027da0
lea rcx, [rsp + 0x68]
call fcn.100027da0
lea rcx, [rsp + 0x88]
call fcn.10001eea4
mov eax, ebx
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.10002a0b0
add rsp, 0x220
pop rbx
ret