joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180017b80
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1802af730
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1802af080
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1802af779
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x180c63010]
jmp 0x1802af788
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x1800186f0
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x1801a8d90
mov qword [rsp + 0x20], r9
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], 0
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 + 0x28], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x78]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntdll.dll_NtEnumerateValueKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x8000001a
jne 0x1801a8e24
mov dword [rsp + 0x30], 0
jmp 0x1801a8ec1
cmp dword [rsp + 0x30], 0x80000005
je 0x1801a8e38
cmp dword [rsp + 0x30], 0xc0000023
jne 0x1801a8e81
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
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x78]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntdll.dll_NtEnumerateValueKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1801a8e8a
jmp 0x1801a8ec1
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x80]
movzx eax, al
test eax, eax
jne 0x1801a8eac
jmp 0x1801a8ec1
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
xor eax, eax
cmp eax, 1
jne 0x1801a8dde
mov rcx, qword [rsp + 0x38]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x30]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1804c22c0]
call fcn.180014e20
mov eax, edi
add rsp, 0x60
pop rdi
ret
Function at 0x1800187f0
Capabilities:
Delete registry key

Disassembly:
jmp 0x1801b62d0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x370
lea rdi, [rsp + 0x30]
mov ecx, 0xd0
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x380]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0x368], rax
mov dword [rsp + 0x30], 0xc0000001
mov qword [rsp + 0x48], 0
mov eax, 0x20
imul rax, rax, 0
mov dword [rsp + rax + 0xa0], 1
mov eax, 0x20
imul rax, rax, 0
lea rax, [rsp + rax + 0xb0]
lea rdx, str.SystemCurrentControlSetServices_
mov rcx, rax
call fcn.180005390
xor eax, eax
test eax, eax
jne 0x1801b6319
mov eax, 0x20
imul rax, rax, 1
mov dword [rsp + rax + 0xa0], 1
cmp qword [rsp + 0x380], 0
je 0x1801b6384
mov rax, qword [rsp + 0x380]
mov qword [rsp + 0x360], rax
jmp 0x1801b6393
lea rax, str.KProcessHacker3
mov qword [rsp + 0x360], rax
mov eax, 0x20
imul rax, rax, 1
lea rax, [rsp + rax + 0xb0]
mov rdx, qword [rsp + 0x360]
mov rcx, rax
call fcn.180005390
xor eax, eax
test eax, eax
jne 0x1801b6353
mov eax, 0x20
imul rax, rax, 2
mov dword [rsp + rax + 0xa0], 1
mov eax, 0x20
imul rax, rax, 2
lea rax, [rsp + rax + 0xb0]
lea rdx, str.Parameters
mov rcx, rax
call fcn.180005390
xor eax, eax
test eax, eax
jne 0x1801b63ba
lea rax, [rsp + 0x118]
mov qword [rsp + 0x20], rax
mov r9d, 0x208
lea r8, [rsp + 0x140]
mov edx, 3
lea rcx, [rsp + 0xa0]
call sym.ProcessMonitor.dll_PhFormatToBuffer
movzx eax, al
test eax, eax
jne 0x1801b6432
mov eax, 0xc0000001
jmp 0x1801b64f5
lea rax, [rsp + 0x140]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x118]
sub rax, 2
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x380]
call fcn.180008230
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
and eax, 0xffff
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x424
jne 0x1801b6480
mov dword [rsp + 0x30], 0
cmp dword [rsp + 0x30], 0
jl 0x1801b64ae
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8, 0xfffffffffffffffd
mov edx, 0x10000
lea rcx, [rsp + 0x48]
call sym.ProcessMonitor.dll_PhOpenKey
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1801b64cc
cmp qword [rsp + 0x48], 0
je 0x1801b64cc
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtDeleteKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc0000034
jne 0x1801b64de
mov dword [rsp + 0x30], 0
cmp qword [rsp + 0x48], 0
je 0x1801b64f1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804c9020]
call fcn.180014e20
mov rax, rdi
mov rcx, qword [rsp + 0x368]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x370
pop rdi
ret
Function at 0x180018890
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x180160bc0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdx, qword [rsp + 0x40]
mov ecx, dword [0x1808e8f78]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x180160bea
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
mov ecx, dword [0x180c3933c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180160c11
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x30], rcx
add rsp, 0x30
pop rdi
ret

Function at 0x180018b70
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x1801a8950
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x30]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov dword [rsp + 0x84], 0x10
cmp qword [rsp + 0xa8], 0
je 0x1801a89ce
mov rax, qword [rsp + 0xa8]
cmp qword [rax], 0
je 0x1801a89ce
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xa8]
call fcn.180011010
movzx eax, al
test eax, eax
jne 0x1801a89cc
mov eax, 0xc0000106
jmp 0x1801a8a9c
jmp 0x1801a89dd
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.18001a850
mov dword [rsp + 0x74], 0x100
mov eax, dword [rsp + 0x74]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x68]
mov r8d, dword [rsp + 0xb0]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1801a8a34
jmp 0x1801a8a88
cmp dword [rsp + 0x30], 0x80000005
jne 0x1801a8a5a
mov rcx, qword [rsp + 0x68]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x74]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x68], rax
jmp 0x1801a8a6a
mov rcx, qword [rsp + 0x68]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x30]
jmp 0x1801a8a9c
mov eax, dword [rsp + 0x84]
dec eax
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 0
jne 0x1801a89f5
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804c2140]
call fcn.180014e20
mov rax, rdi
add rsp, 0x90
pop rdi
ret
Function at 0x180018d00
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1801a58c0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x20]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov eax, dword [0x1805a01fc]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x64]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x38], eax
xor eax, eax
cmp eax, 1
je 0x1801a597b
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x64]
mov r8d, 0x10
lea rdx, [rsp + 0x38]
mov ecx, 0x35
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000023
je 0x1801a595b
cmp dword [rsp + 0x20], 0xc0000004
jne 0x1801a5977
mov rcx, qword [rsp + 0x58]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x64]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x58], rax
jmp 0x1801a5979
jmp 0x1801a597b
jmp 0x1801a590f
cmp dword [rsp + 0x20], 0
jge 0x1801a5992
mov rcx, qword [rsp + 0x58]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x20]
jmp 0x1801a59ba
cmp dword [rsp + 0x64], 0x100000
ja 0x1801a59a6
mov eax, dword [rsp + 0x64]
mov dword [0x1805a01fc], eax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x58]
mov qword [rax], rcx
mov eax, dword [rsp + 0x20]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804c0da0]
call fcn.180014e20
mov rax, rdi
add rsp, 0x80
pop rdi
ret
Function at 0x180018ef0
Capabilities:
Create service
Delete service
Start service

Disassembly:
jmp 0x1801b6730
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov dword [rsp + 0x70], 0
cmp qword [rsp + 0xa0], 0
jne 0x1801b6769
lea rax, str.KProcessHacker3
mov qword [rsp + 0xa0], rax
mov r8d, 2
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x1801b6790
call fcn.180010890
jmp 0x1801b68a9
lea rax, [0x18039c4c4]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
mov r9d, 0xf01ff
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x1801b6891
mov rcx, qword [rsp + 0x80]
call fcn.180016760
cmp qword [rsp + 0xb0], 0
je 0x1801b6861
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa0]
call fcn.180008650
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
jge 0x1801b6861
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
jmp 0x1801b6881
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x1801b6881
call fcn.180010890
mov dword [rsp + 0x70], eax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1801b689a
call fcn.180010890
mov dword [rsp + 0x70], eax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [rsp + 0x70]
add rsp, 0x90
pop rdi
ret
Function at 0x180018f00
Capabilities:
Shutdown system

Disassembly:
jmp 0x18002ce50
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x78
mov dword [rsp + 0x30], 0xc0000001
lea rcx, str.EnableWarnings
call sym.ProcessMonitor.dll_PhGetIntegerSetting
test eax, eax
je 0x18002cea6
mov byte [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.the_computer
lea rdx, str.restart
mov rcx, qword [rsp + 0x90]
call sym.ProcessMonitor.dll_PhShowConfirmMessage
movzx eax, al
test eax, eax
jne 0x18002cea6
jmp 0x18002cfd4
lea rcx, str.EnableBootObjectsEnumerate
call sym.ProcessMonitor.dll_PhGetIntegerSetting
test eax, eax
je 0x18002cec0
mov dword [rsp + 0x60], 1
jmp 0x18002cec8
mov dword [rsp + 0x60], 0
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x34], al
lea rcx, str.EnableUpdateDefaultFirmwareBootEntry
call sym.ProcessMonitor.dll_PhGetIntegerSetting
test eax, eax
je 0x18002ceeb
mov dword [rsp + 0x64], 1
jmp 0x18002cef3
mov dword [rsp + 0x64], 0
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x35], al
movzx ecx, byte [rsp + 0x34]
call fcn.180002ba0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x18002cf6d
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
cmp dword [rsp + 0x98], eax
jae 0x18002cf63
mov eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 8]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov rdi, rax
mov rsi, qword [rsp + 0x40]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
movzx edx, byte [rsp + 0x35]
lea rcx, [rsp + 0x50]
call fcn.180009900
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x38]
call fcn.180016ea0
cmp dword [rsp + 0x30], 0
jl 0x18002cfb8
mov dword [rsp + 0x20], 0x80000000
mov r9d, 4
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_InitiateShutdownW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18002cfb6
mov r9d, dword [rsp + 0x30]
xor r8d, r8d
lea rdx, str.Unable_to_configure_the_boot_application.
mov rcx, qword [rsp + 0x90]
call sym.ProcessMonitor.dll_PhShowStatus
jmp 0x18002cfd4
xor r9d, r9d
mov r8d, dword [rsp + 0x30]
lea rdx, str.Unable_to_configure_the_boot_application.
mov rcx, qword [rsp + 0x90]
call sym.ProcessMonitor.dll_PhShowStatus
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x180019830
Capabilities:
Check os version

Disassembly:
jmp 0x180190170
push rdi
sub rsp, 0x170
lea rdi, [rsp + 0x20]
mov ecx, 0x54
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0x168], rax
mov r8d, 0x11c
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180013180
mov dword [rsp + 0x30], 0x11c
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_RtlGetVersion]
test eax, eax
jge 0x1801901d4
mov dword [0x18059ff7c], 0xffffffff
jmp 0x180190469
mov r8d, 0x11c
lea rdx, [rsp + 0x30]
lea rcx, [0x1808e91d0]
call fcn.18000cf00
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x154], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x158], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x15c], eax
cmp dword [rsp + 0x154], 6
jne 0x180190220
cmp dword [rsp + 0x158], 1
jb 0x18019022a
cmp dword [rsp + 0x154], 6
jae 0x180190239
mov dword [0x18059ff7c], 0
jmp 0x180190469
cmp dword [rsp + 0x154], 6
jne 0x18019025c
cmp dword [rsp + 0x158], 1
jne 0x18019025c
mov dword [0x18059ff7c], 0x3d
jmp 0x180190469
cmp dword [rsp + 0x154], 6
jne 0x18019027f
cmp dword [rsp + 0x158], 2
jne 0x18019027f
mov dword [0x18059ff7c], 0x3e
jmp 0x180190469
cmp dword [rsp + 0x154], 6
jne 0x1801902a2
cmp dword [rsp + 0x158], 3
jne 0x1801902a2
mov dword [0x18059ff7c], 0x3f
jmp 0x180190469
cmp dword [rsp + 0x154], 0xa
jne 0x18019045f
cmp dword [rsp + 0x158], 0
jne 0x18019045f
cmp dword [rsp + 0x15c], 0x57e4
jb 0x1801902da
mov dword [0x18059ff7c], 0x72
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x55f0
jb 0x1801902f6
mov dword [0x18059ff7c], 0x71
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x4a64
jb 0x180190312
mov dword [0x18059ff7c], 0x70
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x4a63
jb 0x18019032e
mov dword [0x18059ff7c], 0x6f
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x4a62
jb 0x18019034a
mov dword [0x18059ff7c], 0x6e
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x4a61
jb 0x180190366
mov dword [0x18059ff7c], 0x6d
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x47bb
jb 0x180190382
mov dword [0x18059ff7c], 0x6c
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x47ba
jb 0x18019039e
mov dword [0x18059ff7c], 0x6b
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x4563
jb 0x1801903ba
mov dword [0x18059ff7c], 0x6a
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x42ee
jb 0x1801903d6
mov dword [0x18059ff7c], 0x69
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x3fab
jb 0x1801903ef
mov dword [0x18059ff7c], 0x68
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x3ad7
jb 0x180190408
mov dword [0x18059ff7c], 0x67
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x3839
jb 0x180190421
mov dword [0x18059ff7c], 0x66
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x295a
jb 0x18019043a
mov dword [0x18059ff7c], 0x65
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x2800
jb 0x180190453
mov dword [0x18059ff7c], 0x64
jmp 0x18019045d
mov dword [0x18059ff7c], 0x64
jmp 0x180190469
mov dword [0x18059ff7c], 0xffffffff
mov rcx, rsp
lea rdx, [0x1804b9b00]
call fcn.180014e20
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x170
pop rdi
ret
Function at 0x1800198b0
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1800caae0
push rdi
sub rsp, 0x20
mov ecx, dword [0x180c38dbc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x20
pop rdi
ret

Function at 0x1800198e0
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1801a54f0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x20]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x34], 0x800
mov eax, dword [rsp + 0x34]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000004
jne 0x1801a5588
mov rcx, qword [rsp + 0x28]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x34]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1801a5595
mov eax, dword [rsp + 0x20]
jmp 0x1801a55a6
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov eax, dword [rsp + 0x20]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804c0bc0]
call fcn.180014e20
mov rax, rdi
add rsp, 0x50
pop rdi
ret

Function at 0x180019c10
Capabilities:
Prepare http request

Disassembly:
jmp 0x180226260
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x40]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x44], 0
mov r9d, 2
lea r8, [0x1804e1700]
mov edx, dword [rsp + 0x88]
lea rcx, [rsp + 0x44]
call sym.ProcessMonitor.dll_PhMapFlags1
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 8]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x10], 0
jne 0x180226307
xor al, al
jmp 0x18022631b
xor r8d, r8d
mov edx, 2
mov rcx, qword [rsp + 0x70]
call sym.ProcessMonitor.dll_PhHttpSocketSetFeature
mov al, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804e18b0]
call fcn.180014e20
mov rax, rdi
add rsp, 0x60
pop rdi
ret
Function at 0x18001a890
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x18017a4f0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x140
lea rdi, [rsp + 0x20]
mov ecx, 0x48
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x150]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rcx, qword [rsp + 0x158]
call sym.ProcessMonitor.dll_PhGetFileVersionFixedInfo
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x18017a6c8
mov eax, 0x20
imul rax, rax, 0
mov dword [rsp + rax + 0x40], 8
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 8]
shr rax, 0x10
and rax, 0xffff
mov ecx, 0x20
imul rcx, rcx, 0
movzx eax, ax
mov dword [rsp + rcx + 0x50], eax
xor eax, eax
test eax, eax
jne 0x18017a54b
mov eax, 0x20
imul rax, rax, 1
mov dword [rsp + rax + 0x40], 0
mov eax, 0x20
imul rax, rax, 1
mov ecx, 0x2e
mov word [rsp + rax + 0x50], cx
xor eax, eax
test eax, eax
jne 0x18017a584
mov eax, 0x20
imul rax, rax, 2
mov dword [rsp + rax + 0x40], 8
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 8]
and rax, 0xffff
mov ecx, 0x20
imul rcx, rcx, 2
movzx eax, ax
mov dword [rsp + rcx + 0x50], eax
xor eax, eax
test eax, eax
jne 0x18017a5ae
mov eax, 0x20
imul rax, rax, 3
mov dword [rsp + rax + 0x40], 0
mov eax, 0x20
imul rax, rax, 3
mov ecx, 0x2e
mov word [rsp + rax + 0x50], cx
xor eax, eax
test eax, eax
jne 0x18017a5e3
mov eax, 0x20
imul rax, rax, 4
mov dword [rsp + rax + 0x40], 8
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xc]
shr rax, 0x10
and rax, 0xffff
mov ecx, 0x20
imul rcx, rcx, 4
movzx eax, ax
mov dword [rsp + rcx + 0x50], eax
xor eax, eax
test eax, eax
jne 0x18017a60d
mov eax, 0x20
imul rax, rax, 5
mov dword [rsp + rax + 0x40], 0
mov eax, 0x20
imul rax, rax, 5
mov ecx, 0x2e
mov word [rsp + rax + 0x50], cx
xor eax, eax
test eax, eax
jne 0x18017a646
mov eax, 0x20
imul rax, rax, 6
mov dword [rsp + rax + 0x40], 8
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xc]
and rax, 0xffff
mov ecx, 0x20
imul rcx, rcx, 6
movzx eax, ax
mov dword [rsp + rcx + 0x50], eax
xor eax, eax
test eax, eax
jne 0x18017a670
mov r8d, 0x40
mov edx, 7
lea rcx, [rsp + 0x40]
call sym.ProcessMonitor.dll_PhFormat
mov rcx, qword [rsp + 0x150]
mov qword [rcx + 0x10], rax
jmp 0x18017a6d8
mov rax, qword [rsp + 0x150]
mov qword [rax + 0x10], 0
mov rcx, rsp
lea rdx, [0x1804b3160]
call fcn.180014e20
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x140
pop rdi
ret
Function at 0x18001ab80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x1802337e0
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
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]
movzx edx, byte [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call fcn.18000afe0
test eax, eax
je 0x18023382d
movzx eax, byte [rsp + 0x70]
mov dword [rsp + 0x44], eax
jmp 0x180233835
mov dword [rsp + 0x44], 0x2e
movzx eax, word [rsp + 0x44]
mov word [rsp + 0x34], ax
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x34]
mov rax, qword [rsp + 0x80]
mov r8d, dword [rax]
mov rax, qword [rsp + 0x78]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_TextOutW]
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x68]
add eax, dword [rcx + 0x3c]
mov rcx, qword [rsp + 0x78]
mov dword [rcx], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x88]
mov dword [rcx], eax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x24]
cmp dword [rax], ecx
jne 0x1802338e2
mov rax, qword [rsp + 0x88]
mov dword [rax], 0
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x54]
mov dword [rax], ecx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x68]
add eax, dword [rcx + 0x38]
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov rcx, rsp
lea rdx, [0x1804e4030]
call fcn.180014e20
add rsp, 0x50
pop rdi
ret