joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800d36b0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x1800d37d4
cmp r8d, 0xff
jne 0x1800d3711
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x1800d36fb
lea r8, [0x180000000]
mov r9, qword [r8 + r10*8 + 0x1ac860]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.1800af1e0
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.1800af1e0
cmp r8d, 0xfb
jne 0x1800d3723
lea r9, str.WILL
jmp 0x1800d3761
cmp r8d, 0xfc
jne 0x1800d3735
lea r9, str.WONT
jmp 0x1800d3761
cmp r8d, 0xfd
jne 0x1800d3747
lea r9, [0x1801ad284]
jmp 0x1800d3761
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x1800d37bd
cmp r10d, 0x27
jg 0x1800d3794
lea r8, [0x180000000]
mov r8, qword [r8 + r10*8 + 0x1ace80]
test r8, r8
jne 0x1800d37a4
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.1800af1e0
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x1800d377b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.1800af1e0
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.1800af1e0
add rsp, 0x38
ret

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1800d3b7f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1800af060
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.1800d36b0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1800d3d30
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x1800d3ed8
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x1800d3d95
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x1800d3d95
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1800d3d95
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x1800d3dcc
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x1800d3e22
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1800d3e22
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1800d3e22
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1800d3e22
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1800d3e22
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.1800d37e0
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x1800d3e84
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1800af060
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.1800d3bb0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1800d3ed0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1800af060
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1800d5640
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1801c6f90]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1800d56d5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1800d5736
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1800af060
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1800e8f40
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1800d57f1
sub ecx, 1
je 0x1800d5864
sub ecx, 1
je 0x1800d57a0
cmp ecx, 1
je 0x1800d5783
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x180161ea8]
call fcn.1800af060
jmp 0x1800d5864
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1800d5370
test eax, eax
je 0x1800d5864
jmp 0x1800d570a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1800d5864
sub rax, rsi
cmp rax, rbp
jae 0x1800d5864
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1800af1e0
jmp 0x1800d5864
cmp r8d, 4
jle 0x1800d5864
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1800d5864
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1800aef80
mov esi, eax
test eax, eax
je 0x1800d5843
mov edx, 5
mov rcx, rbx
call fcn.1800d6330
mov eax, esi
jmp 0x1800d570a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1800be590
mov rcx, r14
call fcn.1800be870
test eax, eax
je 0x1800d5708
mov edx, 5
mov rcx, rbx
call fcn.1800d6330
mov eax, Ordinal_46
jmp 0x1800d570a
Function at 0x1800e8740
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1800e8782
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1800e87c9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1800e8822
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1800e87e0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1800e8863
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1801b046b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1801b046c]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1800e8830
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x14000136c
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x14000f3b0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
mov bl, 0x41
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x1ff
mov byte [rsp + 0x20], bl
mov byte [rsp + 0x21], 0x3a
mov byte [rsp + 0x22], 0
mov byte [rsp + 0x30], 0
call fcn.1400025a0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
mov r8d, 0x1ff
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x1400013e0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14000590c
test eax, eax
je 0x14000140a
inc bl
cmp bl, 0x5a
jle 0x140001390
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140002c70
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret
mov al, bl
jmp 0x1400013e9

Function at 0x14000197c
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
lea rcx, str.SeDebugPrivilege
mov dl, 1
call fcn.1400018b4
xor edx, edx
mov r8d, ebx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400019c9
cmp rax, 0xffffffffffffffff
je 0x1400019c9
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
test eax, eax
jne 0x1400019d1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400019cb

Function at 0x140001ad0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0xe0
xor esi, esi
mov rbx, rcx
cmp rcx, rsi
je 0x140001b74
lea r8d, [rsi + 0x68]
lea rcx, [rsp + 0x70]
xor edx, edx
call fcn.1400025a0
lea r8d, [rsi + 0x18]
lea rcx, [rsp + 0x50]
xor edx, edx
call fcn.1400025a0
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov rdx, rbx
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x70], 0x68
mov dword [rsp + 0xac], 1
mov word [rsp + 0xb0], si
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, esi
je 0x140001b74
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140001b76
xor al, al
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rsi
ret
Function at 0x140001f00
Capabilities:
Modify service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
xor edx, edx
mov r8d, 0xf003f
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
xor ebx, ebx
mov rdi, rax
cmp rax, rbx
jne 0x140001f30
xor al, al
jmp 0x140001f7f
mov r8d, 2
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
cmp rax, rbx
je 0x140001f74
lea rax, str.Aladdin_HASP_License_Manager__LM__Driver
lea r8, [rsp + 0x38]
mov edx, 1
mov rcx, rsi
mov qword [rsp + 0x38], rax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov bl, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, bl
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140001f90
Capabilities:
Create service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x190
mov rax, qword [0x14000f3b0]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, rcx
mov esi, 2
xor edx, edx
mov r8d, esi
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
test rax, rax
je 0x140002089
lea rdx, [rsp + 0x70]
mov r8d, 0x105
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140002078
and qword [rsp + 0x60], 0
and qword [rsp + 0x58], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
and dword [rsp + 0x30], 0
lea r8, [0x14000f0a1]
mov r9d, 0xf01ff
mov rdx, rbx
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov edx, 0x22
mov r8, rbx
mov rsi, rax
mov r9d, edx
test rax, rax
je 0x14000206c
lea rcx, str.Install_Service__c_s_c_Successfully_n
call fcn.14000268c
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140002078
lea rcx, str.Fail_To_Install_Service__c_s_c_n
call fcn.14000268c
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call fcn.140001f00
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140002c70
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140002264
Capabilities:
Stop service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
xor edx, edx
mov r8d, 0xf003f
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
test rax, rax
jne 0x140002292
xor al, al
jmp 0x140002304
mov r8d, 0x20
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
jne 0x1400022b7
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000228e
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rbx
test eax, eax
jne 0x1400022dc
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
jmp 0x1400022af
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, 0x22
lea rcx, str.Stop_Service__c_s_c_Successfully_n
mov r9d, edx
mov r8, rsi
call fcn.14000268c
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140002314
Capabilities:
Start service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
xor edx, edx
mov r8d, 0xf003f
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
xor edi, edi
mov rbx, rax
cmp rax, rdi
jne 0x140002358
lea rcx, str.Fail_To_Open_SC_Manager_n
call fcn.14000268c
xor al, al
jmp 0x1400023d8
mov r8d, 0xf01ff
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
cmp rax, rdi
jne 0x140002389
lea rcx, str.OpenService_Fail_n
call fcn.14000268c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140002351
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
mov edx, 0x22
mov r8, rbp
mov r9d, edx
cmp eax, edi
jne 0x1400023b4
lea rcx, str.Fail_To_Start_The_Service__c_s_c_n
call fcn.14000268c
jmp 0x1400023c3
lea rcx, str.The_Service__c_s_c_Is_Starting_n
call fcn.14000268c
mov dil, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, dil
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140005a07
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14000f3b0]
jne 0x140002c8a
rol rcx, 0x10
test cx, 0xffff
jne 0x140002c86
repz ret
ror rcx, 0x10
jmp 0x140005960
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140012990]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140012a88]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400059e5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140012990]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140005a07
mov rax, qword [rsp + 0x88]
mov qword [0x140012a88], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140012a28], rax
mov rax, qword [0x140012a88]
mov qword [0x140012900], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140012a10], rax
mov dword [0x1400128f0], 0xc0000409
mov dword [0x1400128f4], 1
mov rax, qword [0x14000f3b0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000f3b8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140012988], eax
mov ecx, 1
call fcn.140007c08
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000c810]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140012988], 0
jne 0x140005a8e
mov ecx, 1
call fcn.140007c08
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400061f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.1400078c0
nop
cmp dword [0x140012eb0], 1
je 0x14000619c
mov dword [0x140012eac], 1
mov byte [0x140012ea8], r12b
test ebx, ebx
jne 0x140006188
mov rcx, qword [0x1400138b0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140006175
mov rcx, qword [0x1400138a8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140006114
call fcn.140005408
cmp qword [rdi], rax
jne 0x140006114
jmp 0x1400060fa
cmp rdi, rsi
jb 0x140006175
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140005408
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1400138b0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1400138a8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140006153
cmp r13, rax
je 0x140006173
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400060fa
lea rdx, [0x14000c338]
lea rcx, [0x14000c320]
call fcn.140005f44
lea rdx, [0x14000c348]
lea rcx, [0x14000c340]
call fcn.140005f44
nop
test r12d, r12d
je 0x1400061ab
mov ecx, 8
call fcn.1400077c0
test r12d, r12d
jne 0x1400061d6
mov dword [0x140012eb0], 1
lea ecx, [r12 + 8]
call fcn.1400077c0
mov ecx, r15d
call fcn.140005ed8
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140006064

Function at 0x1400061fc
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140006064
Function at 0x14000a0f0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140005408
xor ebx, ebx
mov rdi, rax
cmp qword [0x140013590], rbx
jne 0x14000a1f6
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14000a2cb
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000a2cb
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140013590], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140013598], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1400135a0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1400135b0], rax
test rax, rax
je 0x14000a1ed
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1400135a8], rax
jmp 0x14000a1fd
mov rax, qword [0x1400135a8]
jmp 0x14000a204
mov rax, qword [0x1400135a8]
mov r11, qword [0x1400135b0]
cmp rax, rdi
je 0x14000a26c
cmp r11, rdi
je 0x14000a26c
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1400135b0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14000a26c
test rax, rax
je 0x14000a26c
call rsi
test rax, rax
je 0x14000a266
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000a266
test byte [rsp + 0x38], 1
jne 0x14000a26c
bts ebp, 0x15
jmp 0x14000a2aa
mov rcx, qword [0x140013598]
cmp rcx, rdi
je 0x14000a2aa
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000a2aa
call rax
mov rbx, rax
test rax, rax
je 0x14000a2aa
mov rcx, qword [0x1400135a0]
cmp rcx, rdi
je 0x14000a2aa
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000a2aa
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140013590]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000a2cb
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14000a2cd
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret