joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ead0
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1402d9fe0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1402d99b0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1402da021
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140613010]
jmp 0x1402da027
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x14000eec0
Capabilities:
Get geographical location

Disassembly:
jmp 0x140372190
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.1403710c0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1403721f7
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x140613030]
jmp 0x140372219
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14000af20
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x14000ef20
Capabilities:
Terminate process

Disassembly:
jmp 0x1402a1fc0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14000f260
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1401708b0
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x20]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1401708ec
mov byte [0x1405e3f50], 1
xor r8d, r8d
xor edx, edx
lea rcx, str.String
call sym.ProcessHacker.exe_PhCreateObjectType
mov qword [0x1405e3f28], rax
xor r8d, r8d
xor edx, edx
lea rcx, str.Bytes
call sym.ProcessHacker.exe_PhCreateObjectType
mov qword [0x1405e3f30], rax
mov qword [rsp + 0x28], 0x10
mov dword [rsp + 0x30], 0x80
lea r9, [rsp + 0x28]
lea r8, [0x140005040]
mov edx, 1
lea rcx, str.List
call sym.ProcessHacker.exe_PhCreateObjectTypeEx
mov qword [0x1405e3f38], rax
lea r8, [0x140018960]
xor edx, edx
lea rcx, str.PointerList
call sym.ProcessHacker.exe_PhCreateObjectType
mov qword [0x1405e3f40], rax
mov qword [rsp + 0x28], 0x48
mov dword [rsp + 0x30], 0x40
lea r9, [rsp + 0x28]
lea r8, [0x140012390]
mov edx, 1
lea rcx, str.Hashtable
call sym.ProcessHacker.exe_PhCreateObjectTypeEx
mov qword [0x1405e3f48], rax
mov r8d, 0x10
mov edx, 0x10
lea rcx, [0x1405e3f60]
call sym.ProcessHacker.exe_PhInitializeFreeList
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1405e871c], eax
mov al, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404dc140]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x60
pop rdi
ret
Function at 0x14000f300
Capabilities:
Stop service

Disassembly:
jmp 0x1400314d0
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 [0x1405dc580]
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.ProcessHacker.exe_PhOpenService
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140031562
lea r8, [rsp + 0x48]
mov edx, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x140031557
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 0x14003164a
call fcn.140010ff0
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.140002440
lea r9, [rsp + 0x84]
mov r8d, dword [rsp + 0x74]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0xc0]
call fcn.140004440
movzx eax, al
test eax, eax
je 0x140031621
movzx eax, byte [rsp + 0x84]
test eax, eax
je 0x14003161f
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x10]
mov edx, 4
mov rcx, qword [rax + 8]
call fcn.140014c30
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jl 0x1400315f1
mov byte [rsp + 0x38], 1
jmp 0x14003161a
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.140034aa0
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x14003164a
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.140034aa0
movzx eax, byte [rsp + 0x38]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1403c6090]
call fcn.140015750
mov eax, edi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14000d430
add rsp, 0xb0
pop rdi
ret
Function at 0x14000fb90
Capabilities:
Write file on windows

Disassembly:
jmp 0x140292340
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.140005440
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
jne 0x1402923a1
mov eax, 0xffffffff
jmp 0x140292463
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.ProcessHacker.exe_PhCreateFileWin32
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1402923e9
mov eax, 0xffffffff
jmp 0x140292463
mov rcx, qword [rsp + 0xa8]
call fcn.14000c570
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 0x140292456
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, 0xffffffff
jmp 0x140292463
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14053d950]
call fcn.140015750
mov rax, rdi
add rsp, 0xb0
pop rdi
ret
Function at 0x14000ff00
Capabilities:
Print debug messages

Disassembly:
jmp 0x140395f00
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x1405dc580]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x140395f26
jmp 0x140395fa3
mov rcx, qword [rbp + 0x30]
call fcn.14000c570
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x140395f3f
jmp 0x140395fa3
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x140395f5c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400056d0
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.140007690
test eax, eax
jne 0x140395fa3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.14000d430
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x140010100
Capabilities:
Parse pe header

Disassembly:
jmp 0x140251a40
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 [0x1405dc580]
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 0x140251ad9
mov eax, dword [rsp + 0x30]
jmp 0x140251cd0
movzx eax, word [rsp + 0x50]
cmp eax, 0x5a4d
je 0x140251aef
mov eax, 0xc000012f
jmp 0x140251cd0
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
je 0x140251b14
cmp dword [rsp + 0x94], 0x10000000
jb 0x140251b1e
mov eax, 0xc000007b
jmp 0x140251cd0
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 0x140251b70
mov eax, dword [rsp + 0x30]
jmp 0x140251cd0
cmp dword [rsp + 0xb0], 0x4550
je 0x140251b87
mov eax, 0xc000007b
jmp 0x140251cd0
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 0x140251bcb
mov rax, qword [rsp + 0x218]
movzx eax, word [rax + 0x20]
cmp eax, 0x20b
je 0x140251bcb
mov eax, 0xc000007b
jmp 0x140251cd0
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 0x140251c1a
mov eax, 0xc000007b
jmp 0x140251cd0
mov rcx, qword [rsp + 0x1c8]
call fcn.14001ab00
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 0x140251c8d
mov rcx, qword [rsp + 0x1d0]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x30]
jmp 0x140251cd0
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, [0x140515720]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x1f0
pop rdi
ret
Function at 0x140010a20
Capabilities:
Query or enumerate registry key

Disassembly:
jmp 0x1401b8df0
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.ProcessHacker.exe_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 0x1401b8e69
jmp 0x1401b8eb0
cmp dword [rsp + 0x30], 0x80000005
jne 0x1401b8e8f
mov rcx, qword [rsp + 0x38]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x44]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x38], rax
jmp 0x1401b8e9f
mov rcx, qword [rsp + 0x38]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x30]
jmp 0x1401b8ec4
mov eax, dword [rsp + 0x54]
dec eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x1401b8e39
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, [0x1404f2480]
call fcn.140015750
mov rax, rdi
add rsp, 0x60
pop rdi
ret

Function at 0x140010d90
Capabilities:
Get uefi variable

Disassembly:
jmp 0x1401bd490
push rdi
sub rsp, 0xc0
lea rdi, [rsp + 0x30]
mov ecx, 0x24
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1405dc580]
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, [0x1403d0f90]
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 0x1401bd527
mov al, 1
jmp 0x1401bd529
xor al, al
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404f5040]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14000d430
add rsp, 0xc0
pop rdi
ret
Function at 0x140011130
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1401bc2b0
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.ProcessHacker.exe_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 0x1401bc38c
mov rcx, qword [rsp + 0x38]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov ecx, eax
call sym.ProcessHacker.exe_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 0x1401bc40f
mov dword [rsp + 0x34], 0xc0000225
mov dword [rsp + 0x64], 0
jmp 0x1401bc3af
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 0x1401bc40f
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 0x1401bc40d
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 0x1401bc40f
jmp 0x1401bc3a5
mov rcx, qword [rsp + 0x38]
call sym.ProcessHacker.exe_PhFree
cmp dword [rsp + 0x34], 0
jl 0x1401bc443
cmp byte [rsp + 0x68], 0
jne 0x1401bc433
lea rcx, str.architecture
call fcn.140005060
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, [0x1404f4490]
call fcn.140015750
mov eax, edi
add rsp, 0x80
pop rdi
ret
Function at 0x140011280
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1401b0bf0
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 0x1401b0c40
cmp qword [rsp + 0xb0], 0
jne 0x1401b0c40
mov eax, 0xc0000030
jmp 0x1401b0da0
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.ProcessHacker.exe_PhAllocateSafe
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1401b0c81
mov eax, 0xc0000017
jmp 0x1401b0da0
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 0x1401b0caf
mov rcx, qword [rsp + 0x48]
call sym.ProcessHacker.exe_PhFree
cmp dword [rsp + 0x20], 0xc0000004
je 0x1401b0c5e
cmp dword [rsp + 0x20], 0
jge 0x1401b0cc9
mov eax, dword [rsp + 0x20]
jmp 0x1401b0da0
cmp qword [rsp + 0xa8], 0
je 0x1401b0ce9
lea rcx, [rsp + 0x40]
call fcn.140009060
mov rcx, qword [rsp + 0xa8]
mov qword [rcx], rax
cmp qword [rsp + 0xb0], 0
je 0x1401b0d92
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.ProcessHacker.exe_PhFindLastCharInStringRef
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0xffffffffffffffff
jne 0x1401b0d47
lea rcx, [rsp + 0x40]
call fcn.140009060
mov rcx, qword [rsp + 0xb0]
mov qword [rcx], rax
jmp 0x1401b0d92
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.1400070e0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x48]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x20]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404ee5e0]
call fcn.140015750
mov rax, rdi
add rsp, 0x90
pop rdi
ret
Function at 0x1400113b0
Capabilities:
Prepare http request
Set http header

Disassembly:
jmp 0x14025d8e0
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 0x14025d94d
xor eax, eax
jmp 0x14025d99c
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 [0x1405d62d4], 0x3e
ja 0x14025d997
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, [0x1405196e0]
call fcn.140015750
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x140011c70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x140187400
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 [0x1405dc580]
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 0x140187490
xor al, al
jmp 0x1401874f1
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 0x1401874b8
xor al, al
jmp 0x1401874f1
cmp qword [rsp + 0xe8], 0
je 0x1401874d1
mov rax, qword [rsp + 0xe8]
mov ecx, dword [rsp + 0x74]
mov dword [rax], ecx
cmp qword [rsp + 0xf0], 0
je 0x1401874ef
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, [0x1404e1a40]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14000d430
add rsp, 0xc0
pop rdi
ret
Function at 0x1400122e0
Capabilities:
Parse pe header

Disassembly:
jmp 0x1402a57c0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1402a57e0
xor al, al
jmp 0x1402a5861
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1402a57f3
xor al, al
jmp 0x1402a5861
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1402a581d
xor al, al
jmp 0x1402a5861
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1402a5831
xor al, al
jmp 0x1402a5861
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1402a5843
xor al, al
jmp 0x1402a5861
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1402a585f
xor al, al
jmp 0x1402a5861
mov al, 1
add rsp, 0x38
ret
Function at 0x140012880
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
jmp 0x1401949a0
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 0x1401949ec
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x1401949ce
jmp 0x1401949ec
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x1401949e4
jmp 0x1401949ec
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1401949f7
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
add rsp, 0x20
pop rdi
ret