joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004bc0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.1400020d0
nop
mov r8d, 1
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.140006a60
mov qword [rsp + 0x98], rax
lea rdx, [0x14024ea4c]
mov rcx, qword [rsp + 0x98]
call fcn.140006d50
mov byte [rsp + 0x60], al
lea rcx, [rsp + 0x68]
call fcn.140001490
movzx r11d, byte [rsp + 0x60]
test r11d, r11d
je 0x140004c8a
lea rcx, [rsp + 0x50]
call fcn.140001a40
mov r8d, eax
sub r8d, 1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140006b20
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x50]
call fcn.140002d80
nop
lea rcx, [rsp + 0x70]
call fcn.140001490
lea rcx, [rsp + 0x20]
call fcn.140076008
nop
lea rcx, [rsp + 0x50]
call fcn.140023510
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14007610c
mov dword [rsp + 0x5c], eax
lea rcx, [rsp + 0x20]
call fcn.140075c40
cmp dword [rsp + 0x5c], 0
je 0x140004cea
mov dword [rsp + 0x78], 1
lea rcx, [rsp + 0x20]
call fcn.140076064
nop
lea rcx, [rsp + 0x50]
call fcn.140001490
mov eax, dword [rsp + 0x78]
jmp 0x140004dea
mov dx, VarDateFromDisp
lea rcx, [rsp + 0x50]
call fcn.1400068a0
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0xffffffff
jne 0x140004d29
mov dword [rsp + 0x7c], 1
lea rcx, [rsp + 0x20]
call fcn.140076064
nop
lea rcx, [rsp + 0x50]
call fcn.140001490
mov eax, dword [rsp + 0x7c]
jmp 0x140004dea
mov r8d, dword [rsp + 0x58]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.140006b20
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x50]
call fcn.140002d80
nop
lea rcx, [rsp + 0x80]
call fcn.140001490
lea rcx, [rsp + 0x50]
call fcn.140023510
mov rcx, rax
call fcn.140004bc0
test eax, eax
je 0x140004dc3
xor edx, edx
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [rsp + 0x88], eax
lea rcx, [rsp + 0x20]
call fcn.140076064
nop
lea rcx, [rsp + 0x50]
call fcn.140001490
mov eax, dword [rsp + 0x88]
jmp 0x140004dea
mov dword [rsp + 0x8c], 0
lea rcx, [rsp + 0x20]
call fcn.140076064
nop
lea rcx, [rsp + 0x50]
call fcn.140001490
mov eax, dword [rsp + 0x8c]
add rsp, 0xc8
ret

Function at 0x140005430
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor eax, eax
test eax, eax
jne 0x14000543e
xor eax, eax
test eax, eax
jne 0x14000543e
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
add rsp, 0x28
ret
Function at 0x140005630
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x140005643
xor eax, eax
test eax, eax
jne 0x140005643
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140005697
mov eax, dword [rsp + 0x38]
jmp 0x1400056a7
cmp dword [rsp + 0x30], 4
je 0x1400056a5
mov eax, reloc.WS2_32.dll_listen
jmp 0x1400056a7
xor eax, eax
add rsp, 0x48
ret

Function at 0x1400056b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x1400056c8
xor eax, eax
test eax, eax
jne 0x1400056c8
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
shl rax, 1
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x68]
mov dword [rax], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140005730
mov eax, dword [rsp + 0x38]
jmp 0x1400057b3
cmp dword [rsp + 0x30], 1
je 0x140005745
cmp dword [rsp + 0x30], 2
je 0x140005745
mov eax, reloc.WS2_32.dll_listen
jmp 0x1400057b3
cmp qword [rsp + 0x60], 0
je 0x140005799
cmp dword [rsp + 0x34], 0
je 0x14000578f
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
test rdx, rdx
jne 0x140005786
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + rcx*2 - 2]
test eax, eax
je 0x14000578d
mov eax, reloc.WS2_32.dll_listen
jmp 0x1400057b3
jmp 0x140005799
xor ecx, ecx
mov rax, qword [rsp + 0x60]
mov word [rax], cx
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, rax
mov rax, qword [rsp + 0x68]
mov dword [rax], ecx
xor eax, eax
add rsp, 0x48
ret
Function at 0x1400057c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x1400057d8
xor eax, eax
test eax, eax
jne 0x1400057d8
cmp qword [rsp + 0x60], 0
je 0x140005800
mov rax, qword [rsp + 0x68]
cmp dword [rax], 2
jae 0x140005800
mov eax, 0x7a
jmp 0x140005913
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
shl rax, 1
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x68]
mov dword [rax], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x14000585c
mov eax, dword [rsp + 0x38]
jmp 0x140005913
cmp dword [rsp + 0x30], 7
je 0x14000586d
mov eax, reloc.WS2_32.dll_listen
jmp 0x140005913
cmp qword [rsp + 0x60], 0
je 0x1400058f9
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
test rdx, rdx
jne 0x1400058f2
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
cmp rax, 1
jb 0x1400058f2
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + rcx*2 - 2]
test eax, eax
jne 0x1400058f2
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
cmp rax, 1
jbe 0x1400058f9
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + rcx*2 - 4]
test eax, eax
je 0x1400058f9
mov eax, reloc.WS2_32.dll_listen
jmp 0x140005913
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, rax
mov rax, qword [rsp + 0x68]
mov dword [rax], ecx
xor eax, eax
add rsp, 0x48
ret

Function at 0x140005920
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
xor eax, eax
test eax, eax
jne 0x140005933
xor eax, eax
test eax, eax
jne 0x140005933
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret
Function at 0x140005980
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x140005998
xor eax, eax
test eax, eax
jne 0x140005998
cmp qword [rsp + 0x60], 0
je 0x1400059b6
mov dword [rsp + 0x34], 1
jmp 0x1400059be
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1400059d4
mov eax, reloc.WS2_32.dll_listen
jmp 0x140005a16
xor eax, eax
test eax, eax
jne 0x1400059a4
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x48
ret

Function at 0x140005a20
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
xor eax, eax
test eax, eax
jne 0x140005a33
xor eax, eax
test eax, eax
jne 0x140005a33
cmp qword [rsp + 0x70], 0
je 0x140005a51
mov dword [rsp + 0x48], 1
jmp 0x140005a59
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x140005a72
mov eax, reloc.WS2_32.dll_listen
jmp 0x140005af3
xor eax, eax
test eax, eax
jne 0x140005a3f
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x38], rax
mov ecx, dword [rsp + 0x40]
mov eax, dword [rsp + 0x30]
lea rax, [rax + rcx*2]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x40], 1
jne 0x140005a8a
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x58
ret

Function at 0x14000ca30
Capabilities:
Capture webcam image

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r8d, dword [rsp + 0x38]
xor r9d, r9d
mov edx, 0x419
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
add rsp, 0x28
ret
Function at 0x14001b4f0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
xor eax, eax
test eax, eax
jne 0x14001b508
xor eax, eax
test eax, eax
jne 0x14001b508
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x14001b630
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x60]
call fcn.1400020d0
nop
mov r8w, VarDateFromDisp
mov dx, 0x2f
lea rcx, [rsp + 0x60]
call fcn.140006200
lea rcx, [rsp + 0x60]
call fcn.140001a40
mov edx, eax
sub edx, 1
lea rcx, [rsp + 0x60]
call fcn.140006dd0
movzx eax, ax
cmp eax, 0x5c
jne 0x14001b6e4
lea rcx, [rsp + 0x60]
call fcn.140001a40
mov r9d, eax
sub r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
call fcn.140002270
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x60]
call fcn.140002d80
nop
lea rcx, [rsp + 0x68]
call fcn.140001490
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14001ba10
mov r8d, 0x38
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.1400a8080
mov dword [rsp + 0x30], 3
lea rcx, [rsp + 0x60]
call fcn.140023510
mov qword [rsp + 0x38], rax
mov eax, 0x410
mov word [rsp + 0x48], ax
lea rcx, [rsp + 0x28]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14001b754
cmp dword [rsp + 0x20], 2
je 0x14001b754
cmp dword [rsp + 0x20], 3
je 0x14001b754
mov dword [rsp + 0x90], 0
jmp 0x14001b75f
mov dword [rsp + 0x90], 1
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0x60]
call fcn.140001490
mov eax, dword [rsp + 0x70]
add rsp, 0xa8
ret

Function at 0x14001b7c0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
xor eax, eax
test eax, eax
jne 0x14001b7d7
xor eax, eax
test eax, eax
jne 0x14001b7d7
cmp qword [rsp + 0x80], 0
jne 0x14001b7fb
lea rax, [rsp + 0x40]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add rsp, 0x58
ret
Function at 0x14001d5f0
Capabilities:
Send data
Send data on socket

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x268
mov dword [rsp + 0x250], 0
jmp 0x14001d629
mov eax, dword [rsp + 0x250]
add eax, 1
mov dword [rsp + 0x250], eax
mov eax, dword [rsp + 0x288]
cmp dword [rsp + 0x250], eax
jge 0x14001d68c
movsxd rdx, dword [rsp + 0x250]
imul rdx, rdx, 0x10
movsxd rcx, dword [rsp + 0x250]
imul rcx, rcx, 0x10
mov rax, qword [rsp + 0x280]
mov rax, qword [rax + rdx]
mov qword [rsp + rcx + 0x58], rax
movsxd rdx, dword [rsp + 0x250]
imul rdx, rdx, 0x10
movsxd rcx, dword [rsp + 0x250]
imul rcx, rcx, 0x10
mov rax, qword [rsp + 0x280]
mov eax, dword [rax + rdx + 8]
mov dword [rsp + rcx + 0x50], eax
jmp 0x14001d618
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x288]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.WS2_32.dll_WSASend]
mov eax, dword [rsp + 0x40]
add rsp, 0x268
ret

Function at 0x14001d6e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x258
mov dword [rsp + 0x248], 0
jmp 0x14001d719
mov eax, dword [rsp + 0x248]
add eax, 1
mov dword [rsp + 0x248], eax
mov eax, dword [rsp + 0x278]
cmp dword [rsp + 0x248], eax
jge 0x14001d77c
movsxd rdx, dword [rsp + 0x248]
imul rdx, rdx, 0x10
movsxd rcx, dword [rsp + 0x248]
imul rcx, rcx, 0x10
mov rax, qword [rsp + 0x270]
mov rax, qword [rax + rdx]
mov qword [rsp + rcx + 0x48], rax
movsxd rdx, dword [rsp + 0x248]
imul rdx, rdx, 0x10
movsxd rcx, dword [rsp + 0x248]
imul rcx, rcx, 0x10
mov rax, qword [rsp + 0x270]
mov eax, dword [rax + rdx + 8]
mov dword [rsp + rcx + 0x40], eax
jmp 0x14001d708
mov dword [rsp + 0x244], 0
mov dword [rsp + 0x240], 0
mov rax, qword [rsp + 0x260]
cmp dword [rax + 0x220], 0
je 0x14001d80b
mov rdx, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x260]
call fcn.1400d7e80
test eax, eax
jne 0x14001d7be
jmp 0x14001d792
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x240]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x244]
mov r8d, dword [rsp + 0x278]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x268]
call qword [sym.imp.WS2_32.dll_WSARecv]
mov eax, dword [rsp + 0x244]
jmp 0x14001d80d
xor eax, eax
add rsp, 0x258
ret
Function at 0x14002cc80
Capabilities:
Query service status
Start service

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14002ccad
xor al, al
jmp 0x14002cd63
mov r8d, reloc.OLEAUT32.dll_SafeArrayLock
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14002cd02
mov r8d, 4
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14002cd02
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x14002cd63
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14002cd3e
cmp dword [rsp + 0x34], 2
jne 0x14002cd3a
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14002cd3c
jmp 0x14002cd3e
jmp 0x14002cd12
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [rsp + 0x34], 4
jne 0x14002cd61
mov al, 1
jmp 0x14002cd63
xor al, al
add rsp, 0x58
ret
Function at 0x14004f4d0
Capabilities:
Get mac address on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov edx, 0x2c0
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14004f519
mov eax, dword [rsp + 0x20]
jmp 0x14004f67c
mov dword [rsp + 0x3c], 0x2c0
lea rdx, [rsp + 0x3c]
mov rcx, qword [rsp + 0x28]
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x14004f5ad
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rsp + 0x28], 0
cmp dword [rsp + 0x38], 0x6f
jne 0x14004f5a4
mov edx, dword [rsp + 0x3c]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14004f57b
mov eax, dword [rsp + 0x20]
jmp 0x14004f67c
lea rdx, [rsp + 0x3c]
mov rcx, qword [rsp + 0x28]
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x14004f5a2
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [rsp + 0x20]
jmp 0x14004f67c
jmp 0x14004f5ad
mov eax, dword [rsp + 0x20]
jmp 0x14004f67c
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x28]
add rcx, 0xc
call fcn.14004f240
test eax, eax
je 0x14004f621
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x194], 0x10
jbe 0x14004f5e1
mov dword [rsp + 0x40], reloc.OLEAUT32.dll_SafeArrayGetDim
jmp 0x14004f5f0
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x194]
mov dword [rsp + 0x40], eax
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x28]
add rdx, 0x198
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x60]
add rcx, rax
call fcn.1400a8d30
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14004f5b7
cmp qword [rsp + 0x30], 0
je 0x14004f649
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rsp + 0x20], 0
jne 0x14004f678
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
xor edx, edx
call fcn.1400a8080
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x58
ret
Function at 0x140051eb0
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x258
mov rax, qword [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0x248], rax
xor eax, eax
mov word [rsp + 0x30], ax
lea rdx, str.Global_
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
call fcn.140010510
mov rdx, qword [rax + 0xa0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str._is_running
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea r8, [rsp + 0x30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov r11, rax
mov rax, qword [rsp + 0x260]
mov qword [rax + 0x2a8], r11
mov rax, qword [rsp + 0x260]
cmp qword [rax + 0x2a8], 0
je 0x140051f78
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140051f78
mov rcx, qword [rsp + 0x260]
mov rcx, qword [rcx + 0x2a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r11, qword [rsp + 0x260]
mov qword [r11 + 0x2a8], 0
mov rax, qword [rsp + 0x260]
cmp qword [rax + 0x2a8], 0
jne 0x140051f97
mov dword [rsp + 0x240], 1
jmp 0x140051fa2
mov dword [rsp + 0x240], 0
mov eax, dword [rsp + 0x240]
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0x258
ret
Function at 0x140078a60
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x140078a9e
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x140078b52
call fcn.1400720fc
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x140078abd
mov ecx, 0x80004005
call fcn.140001e70
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x118]
mov rdx, rsi
or rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.1400b01c8
test eax, eax
je 0x140078b25
cmp eax, 0xc
je 0x140078b1f
cmp eax, 0x16
je 0x140078b19
cmp eax, 0x22
je 0x140078b19
cmp eax, 0x50
je 0x140078b25
call fcn.140071d48
int3
call fcn.140071d48
int3
call fcn.140071d00
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x140078b50
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140079f48
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.14009636c
mov rsi, rax
test rax, rax
je 0x140079fc4
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x140079fbf
cmp dword [rbx], 0x40
jb 0x140079fbf
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x140079fbf
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x140079fc8
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret