joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000eca0
Capabilities:
Stop service

Disassembly:
jmp 0x180030740
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
lea rdi, [rsp + 0x30]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov byte [rsp + 0x38], 0
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x10]
mov edx, 0x20
mov rcx, qword [rax + 8]
call sym.ProcessMonitor.dll_PhOpenService
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800307d2
lea r8, [rsp + 0x48]
mov edx, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1800307c7
mov byte [rsp + 0x38], 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, byte [rsp + 0x38]
test eax, eax
jne 0x1800308ba
call fcn.180010890
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x10]
mov rdx, qword [rax + 8]
lea rcx, str.Unable_to_stop
call fcn.1800023e0
lea r9, [rsp + 0x84]
mov r8d, dword [rsp + 0x74]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0xc0]
call fcn.180004330
movzx eax, al
test eax, eax
je 0x180030891
movzx eax, byte [rsp + 0x84]
test eax, eax
je 0x18003088f
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x10]
mov edx, 4
mov rcx, qword [rax + 8]
call fcn.180014350
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jl 0x180030861
mov byte [rsp + 0x38], 1
jmp 0x18003088a
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x74]
mov r8, qword [rsp + 0xc8]
lea rdx, str.stop
mov rcx, qword [rsp + 0xc0]
call fcn.180033d10
call sym.ProcessMonitor.dll_PhUiDisconnectFromPhSvc
jmp 0x1800308ba
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x74]
mov r8, qword [rsp + 0xc8]
lea rdx, str.stop
mov rcx, qword [rsp + 0xc0]
call fcn.180033d10
movzx eax, byte [rsp + 0x38]
mov edi, eax
mov rcx, rsp
lea rdx, [0x18039ad70]
call fcn.180014e20
mov eax, edi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0xb0
pop rdi
ret
Function at 0x18000f4f0
Capabilities:
Write file on windows

Disassembly:
jmp 0x180267930
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
lea rdi, [rsp + 0x50]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc0]
mov edx, dword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc8]
call fcn.1800052b0
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
jne 0x180267991
mov eax, 0xffffffff
jmp 0x180267a53
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x28], 5
mov dword [rsp + 0x20], 1
mov r9d, 0x80
mov r8d, 0x120116
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x68]
call sym.ProcessMonitor.dll_PhCreateFileWin32
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1802679d9
mov eax, 0xffffffff
jmp 0x180267a53
mov rcx, qword [rsp + 0xa8]
call fcn.18000c070
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x180267a46
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, 0xffffffff
jmp 0x180267a53
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180507e20]
call fcn.180014e20
mov rax, rdi
add rsp, 0xb0
pop rdi
ret
Function at 0x18000f840
Capabilities:
Print debug messages

Disassembly:
jmp 0x18036abe0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x1805a6200]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x18036ac06
jmp 0x18036ac83
mov rcx, qword [rbp + 0x30]
call fcn.18000c070
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x18036ac1f
jmp 0x18036ac83
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x18036ac3c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.180005520
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.180007350
test eax, eax
jne 0x18036ac83
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.18000ce90
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x18000fa30
Capabilities:
Parse pe header

Disassembly:
jmp 0x18021bd30
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1f0
lea rdi, [rsp + 0x30]
mov ecx, 0x70
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x200]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x218]
mov rcx, qword [rsp + 0x208]
mov qword [rax], rcx
mov qword [rsp + 0x20], 0
mov r9d, 0x40
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x208]
mov rcx, qword [rsp + 0x200]
call qword [rsp + 0x210]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x18021bdc9
mov eax, dword [rsp + 0x30]
jmp 0x18021bfc0
movzx eax, word [rsp + 0x50]
cmp eax, 0x5a4d
je 0x18021bddf
mov eax, 0xc000012f
jmp 0x18021bfc0
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
je 0x18021be04
cmp dword [rsp + 0x94], 0x10000000
jb 0x18021be0e
mov eax, 0xc000007b
jmp 0x18021bfc0
mov eax, dword [rsp + 0x94]
mov rcx, qword [rsp + 0x208]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
mov r9d, 0x108
lea r8, [rsp + 0xb0]
mov rdx, rax
mov rcx, qword [rsp + 0x200]
call qword [rsp + 0x210]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x18021be60
mov eax, dword [rsp + 0x30]
jmp 0x18021bfc0
cmp dword [rsp + 0xb0], 0x4550
je 0x18021be77
mov eax, 0xc000007b
jmp 0x18021bfc0
mov rax, qword [rsp + 0x218]
movzx ecx, word [rsp + 0xc8]
mov word [rax + 0x20], cx
mov rax, qword [rsp + 0x218]
movzx eax, word [rax + 0x20]
cmp eax, 0x10b
je 0x18021bebb
mov rax, qword [rsp + 0x218]
movzx eax, word [rax + 0x20]
cmp eax, 0x20b
je 0x18021bebb
mov eax, 0xc000007b
jmp 0x18021bfc0
movzx eax, word [rsp + 0xb6]
mov rcx, qword [rsp + 0x218]
mov dword [rcx + 0x10], eax
movzx eax, word [rsp + 0xc4]
mov rcx, qword [rsp + 0x218]
mov ecx, dword [rcx + 0x10]
imul rcx, rcx, 0x28
lea rax, [rax + rcx + 0x18]
mov qword [rsp + 0x1c8], rax
cmp qword [rsp + 0x1c8], 0x100000
jbe 0x18021bf0a
mov eax, 0xc000007b
jmp 0x18021bfc0
mov rcx, qword [rsp + 0x1c8]
call fcn.180019ea0
mov qword [rsp + 0x1d0], rax
mov eax, dword [rsp + 0x94]
mov rcx, qword [rsp + 0x208]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x1c8]
mov r8, qword [rsp + 0x1d0]
mov rdx, rax
mov rcx, qword [rsp + 0x200]
call qword [rsp + 0x210]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x18021bf7d
mov rcx, qword [rsp + 0x1d0]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x30]
jmp 0x18021bfc0
mov rax, qword [rsp + 0x218]
mov rcx, qword [rsp + 0x1d0]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x218]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x218]
mov rcx, qword [rcx + 8]
movzx ecx, word [rcx + 0x14]
lea rax, [rax + rcx + 0x18]
mov rcx, qword [rsp + 0x218]
mov qword [rcx + 0x18], rax
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804de6d0]
call fcn.180014e20
mov rax, rdi
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x1f0
pop rdi
ret
Function at 0x180010310
Capabilities:
Query or enumerate registry key

Disassembly:
jmp 0x1801a8850
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x54], 0x10
mov dword [rsp + 0x44], 0x100
mov eax, dword [rsp + 0x44]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x44]
mov r8, qword [rsp + 0x38]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntdll.dll_NtQueryKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1801a88c9
jmp 0x1801a8910
cmp dword [rsp + 0x30], 0x80000005
jne 0x1801a88ef
mov rcx, qword [rsp + 0x38]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x44]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x38], rax
jmp 0x1801a88ff
mov rcx, qword [rsp + 0x38]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x30]
jmp 0x1801a8924
mov eax, dword [rsp + 0x54]
dec eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x1801a8899
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804c2090]
call fcn.180014e20
mov rax, rdi
add rsp, 0x60
pop rdi
ret

Function at 0x180010660
Capabilities:
Get uefi variable

Disassembly:
jmp 0x1801aca00
push rdi
sub rsp, 0xc0
lea rdi, [rsp + 0x30]
mov ecx, 0x24
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov eax, 2
mov word [rsp + 0x38], ax
mov eax, 4
mov word [rsp + 0x3a], ax
lea rax, [0x1803a54d0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x64], 0
lea rax, [rsp + 0x88]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x64]
xor r8d, r8d
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtQuerySystemEnvironmentValueEx]
cmp eax, 0xc0000100
jne 0x1801aca97
mov al, 1
jmp 0x1801aca99
xor al, al
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804c4820]
call fcn.180014e20
mov rax, rdi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0xc0
pop rdi
ret
Function at 0x1800109c0
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1801abd10
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x30]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov byte [rsp + 0x68], 0
mov dword [rsp + 0x40], 0x14
mov eax, dword [rsp + 0x40]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x38]
mov r8d, 8
lea rdx, [rsp + 0x90]
mov ecx, 0xe6
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0xc0000023
jne 0x1801abdec
mov rcx, qword [rsp + 0x38]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x38]
mov r8d, 8
lea rdx, [rsp + 0x90]
mov ecx, 0xe6
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x1801abe6f
mov dword [rsp + 0x34], 0xc0000225
mov dword [rsp + 0x64], 0
jmp 0x1801abe0f
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x64]
mov qword [rsp + 0x70], rax
mov ecx, dword [rsp + 0x54]
xor edx, edx
mov eax, ecx
mov ecx, 4
div rcx
mov rcx, qword [rsp + 0x70]
cmp rcx, rax
jae 0x1801abe6f
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax*4]
shr eax, 0x13
and eax, 1
test eax, eax
je 0x1801abe6d
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax*4]
and eax, 0xffff
mov byte [rsp + 0x68], 1
mov word [rsp + 0x30], ax
mov dword [rsp + 0x34], 0
jmp 0x1801abe6f
jmp 0x1801abe05
mov rcx, qword [rsp + 0x38]
call sym.ProcessMonitor.dll_PhFree
cmp dword [rsp + 0x34], 0
jl 0x1801abea3
cmp byte [rsp + 0x68], 0
jne 0x1801abe93
lea rcx, str.architecture
call fcn.180004f00
mov rax, qword [rsp + 0x98]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov eax, dword [rsp + 0x34]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1804c40a0]
call fcn.180014e20
mov eax, edi
add rsp, 0x80
pop rdi
ret
Function at 0x180010b00
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1801a0730
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x20]
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
cmp qword [rsp + 0xa8], 0
jne 0x1801a0780
cmp qword [rsp + 0xb0], 0
jne 0x1801a0780
mov eax, 0xc0000030
jmp 0x1801a08e0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x38], rax
xor eax, eax
mov word [rsp + 0x40], ax
mov eax, 0x100
mov word [rsp + 0x42], ax
movzx eax, word [rsp + 0x42]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocateSafe
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1801a07c1
mov eax, 0xc0000017
jmp 0x1801a08e0
xor r9d, r9d
mov r8d, 0x18
lea rdx, [rsp + 0x38]
mov ecx, 0x58
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1801a07ef
mov rcx, qword [rsp + 0x48]
call sym.ProcessMonitor.dll_PhFree
cmp dword [rsp + 0x20], 0xc0000004
je 0x1801a079e
cmp dword [rsp + 0x20], 0
jge 0x1801a0809
mov eax, dword [rsp + 0x20]
jmp 0x1801a08e0
cmp qword [rsp + 0xa8], 0
je 0x1801a0829
lea rcx, [rsp + 0x40]
call fcn.180008ce0
mov rcx, qword [rsp + 0xa8]
mov qword [rcx], rax
cmp qword [rsp + 0xb0], 0
je 0x1801a08d2
movzx eax, word [rsp + 0x40]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
xor r8d, r8d
mov dx, 0x5c
lea rcx, [rsp + 0x68]
call sym.ProcessMonitor.dll_PhFindLastCharInStringRef
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0xffffffffffffffff
jne 0x1801a0887
lea rcx, [rsp + 0x40]
call fcn.180008ce0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx], rax
jmp 0x1801a08d2
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x88]
lea rax, [rax + rcx*2 + 2]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x88]
shl rax, 1
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
sub rax, 2
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
call fcn.180006dd0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x48]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x20]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804be1f0]
call fcn.180014e20
mov rax, rdi
add rsp, 0x90
pop rdi
ret
Function at 0x180010c30
Capabilities:
Prepare http request
Set http header

Disassembly:
jmp 0x180227bd0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x40]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str._dns_query
lea rdx, str.POST
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x180227c3d
xor eax, eax
jmp 0x180227c8c
mov r9d, 0xa0000000
mov r8d, 0xffffffff
lea rdx, str.Content_Type:_application_dns_message
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp dword [0x18059ff7c], 0x3e
ja 0x180227c87
mov dword [rsp + 0x54], 0x1000
mov r9d, 4
lea r8, [rsp + 0x54]
mov edx, 0x1f
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov rax, qword [rsp + 0x40]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804e2610]
call fcn.180014e20
mov rax, rdi
add rsp, 0x70
pop rdi
ret

Function at 0x180011490
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x180177800
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xc0
lea rdi, [rsp + 0x20]
mov ecx, 0x28
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xd0]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
lea r9, [rsp + 0x58]
mov r8d, 3
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
jge 0x180177890
xor al, al
jmp 0x1801778f1
lea r9, [rsp + 0x74]
lea r8, [rsp + 0x98]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
jge 0x1801778b8
xor al, al
jmp 0x1801778f1
cmp qword [rsp + 0xe8], 0
je 0x1801778d1
mov rax, qword [rsp + 0xe8]
mov ecx, dword [rsp + 0x74]
mov dword [rax], ecx
cmp qword [rsp + 0xf0], 0
je 0x1801778ef
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x98]
mov qword [rax], rcx
mov al, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804b1bd0]
call fcn.180014e20
mov rax, rdi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0xc0
pop rdi
ret
Function at 0x180012080
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
jmp 0x180184870
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1801848bc
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x18018489e
jmp 0x1801848bc
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x1801848b4
jmp 0x1801848bc
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1801848c7
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
add rsp, 0x20
pop rdi
ret
Function at 0x1800120f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x180274b20
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x20]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x90]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x54], 0
jmp 0x180274b67
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x10
lea rcx, [0x1805a5eb0]
cmp qword [rcx + rax + 8], 0
je 0x180274c50
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x10
lea rcx, [0x1805a5eb0]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x60], rax
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x10
lea rcx, [0x1805a5eb0]
mov edx, dword [rsp + 0x90]
cmp dword [rcx + rax], edx
je 0x180274bbb
jmp 0x180274b5d
mov dword [rsp + 0x20], 6
mov dword [rsp + 0x58], 0
jmp 0x180274be1
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x180274c13
movsxd rax, dword [rsp + 0x58]
movsxd rcx, dword [rsp + 0x20]
lea rdx, str.ERRNO
mov r8, qword [rsp + 0x60]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
jmp 0x180274bcd
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0x80
jae 0x180274c2a
jmp 0x180274c2f
call fcn.180012780
lea rax, str.ERRNO
mov rcx, qword [rsp + 0x70]
mov byte [rax + rcx], 0
lea rax, str.ERRNO
jmp 0x180274d1b
mov dword [rsp + 0x54], 0
jmp 0x180274c7a
mov eax, dword [rsp + 0x90]
cdq
mov ecx, 0xa
idiv ecx
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x90], 0xa
jle 0x180274cad
mov eax, dword [rsp + 0x90]
cdq
mov ecx, 0xa
idiv ecx
mov eax, edx
cdqe
lea rcx, str.0123456789
movsxd rdx, dword [rsp + 0x54]
movzx eax, byte [rcx + rax]
mov byte [rsp + rdx + 0x38], al
jmp 0x180274c5a
mov eax, dword [rsp + 0x90]
cdq
mov ecx, 0xa
idiv ecx
mov eax, edx
cdqe
lea rcx, str.0123456789
movsxd rdx, dword [rsp + 0x54]
movzx eax, byte [rcx + rax]
mov byte [rsp + rdx + 0x38], al
mov dword [rsp + 0x20], 6
jmp 0x180274cf2
mov eax, dword [rsp + 0x54]
dec eax
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x54], 0
jl 0x180274d14
movsxd rax, dword [rsp + 0x54]
movsxd rcx, dword [rsp + 0x20]
lea rdx, str.ERRNO
movzx eax, byte [rsp + rax + 0x38]
mov byte [rdx + rcx], al
jmp 0x180274cde
lea rax, str.ERRNO
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180509b60]
call fcn.180014e20
mov rax, rdi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x80
pop rdi
ret
Function at 0x180012430
Capabilities:
Hash data using sha256

Disassembly:
jmp 0x18023b3e0
mov qword [rsp + 8], rcx
push rdi
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax], 0
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0x6a09e667
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0xbb67ae85
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0x3c6ef372
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0xa54ff53a
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0x510e527f
mov eax, 4
imul rax, rax, 5
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0x9b05688c
mov eax, 4
imul rax, rax, 6
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0x1f83d9ab
mov eax, 4
imul rax, rax, 7
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0x5be0cd19
pop rdi
ret

Function at 0x180012ac0
Capabilities:
Read http header

Disassembly:
jmp 0x180226540
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x30]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x16
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x1802265a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1802265a8
xor eax, eax
jmp 0x180226604
mov eax, dword [rsp + 0x34]
mov edx, eax
xor ecx, ecx
call sym.ProcessMonitor.dll_PhCreateStringEx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x48]
mov r9, qword [rax + 8]
xor r8d, r8d
mov edx, 0x16
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x1802265ff
mov rcx, qword [rsp + 0x48]
call sym.ProcessMonitor.dll_PhDereferenceObject
xor eax, eax
jmp 0x180226604
mov rax, qword [rsp + 0x48]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804e1910]
call fcn.180014e20
mov rax, rdi
add rsp, 0x50
pop rdi
ret
Function at 0x180012f20
Capabilities:
Terminate process

Disassembly:
jmp 0x1801a0550
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtTerminateProcess]
add rsp, 0x20
pop rdi
ret