joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cbd90
Capabilities:
Get user security identifier

Disassembly:
push rsi
push r14
push r15
sub rsp, 0x50
cmp qword [rcx], 0xfffe
mov r14, r9
movzx eax, word [rcx]
mov rsi, r8
mov word [rsp + 0x38], ax
mov r15, rdx
mov word [rsp + 0x3a], ax
mov rax, qword [rcx + 8]
mov qword [rsp + 0x40], rax
jbe 0x1400cbdd1
mov eax, 0xc0000106
add rsp, 0x50
pop r15
pop r14
pop rsi
ret
mov qword [rsp + 0x80], rbp
call fcn.1400cbab0
xor ecx, ecx
lea r9, [rsp + 0x38]
mov qword [rsp + 0x30], rcx
xor edx, edx
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov rcx, rax
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_LsaLookupNames2]
mov rcx, qword [rsp + 0x70]
mov ebp, eax
test eax, eax
js 0x1400cbed7
mov edx, dword [rcx]
sub edx, 7
cmp edx, 1
jbe 0x1400cbed2
test r15, r15
je 0x1400cbe8e
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x88], rdi
call qword [sym.imp.ntdll.dll_RtlLengthSid]
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov edx, 4
mov r8d, eax
mov ebx, eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdx, qword [rsp + 0x70]
mov r8d, ebx
mov rcx, rax
mov rdi, rax
mov rdx, qword [rdx + 8]
call fcn.1400e31d0
mov rcx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov qword [r15], rdi
mov rdi, qword [rsp + 0x88]
test rsi, rsi
je 0x1400cbec6
movsxd rax, dword [rcx + 0x10]
test eax, eax
js 0x1400cbeb9
lea r8, [rax + rax*2]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
movzx edx, word [rcx + r8*8]
mov rcx, qword [rcx + r8*8 + 8]
call sym.ProcessHacker.exe_PhCreateStringEx
jmp 0x1400cbebe
call sym.ProcessHacker.exe_PhReferenceEmptyString
mov rcx, qword [rsp + 0x70]
mov qword [rsi], rax
test r14, r14
je 0x1400cbed7
mov eax, dword [rcx]
mov dword [r14], eax
jmp 0x1400cbed7
mov ebp, 0xc0000073
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1400cbeef
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_LsaFreeMemory]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400cbefa
call qword [sym.imp.ADVAPI32.dll_LsaFreeMemory]
mov eax, ebp
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rsi
ret
Function at 0x1400d1d30
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push rbx
push r14
sub rsp, 0x28
mov rbx, rdx
mov r14, rcx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400d1e9a
lea rcx, str.BinaryData
mov qword [rsp + 0x40], rbp
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbp, rax
test rax, rax
jne 0x1400d1d83
lea ecx, [rax + 1]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbp, rax
test rax, rax
je 0x1400d1e8f
mov qword [rsp + 0x48], rsi
mov rcx, rbp
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rbp
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov ecx, dword [rbx + 0x1c]
mov rsi, rax
mov edx, dword [rbx + 0x20]
mov r15d, dword [rbx + 0x14]
cmp ecx, edx
jle 0x1400d1dc3
mov dword [rbx + 0x20], ecx
mov dword [rbx + 0x1c], edx
cmp byte [rbx + 0x30], 0
mov edi, dword [rbx + 0x1c]
je 0x1400d1e2b
cmp edi, 0xffffffff
jne 0x1400d1df4
cmp dword [rbx + 0x18], 3
jne 0x1400d1dde
lea eax, [r15 + 1]
mov dword [rbx + 0x14], eax
mov edi, dword [rbx + 0x14]
mov r9d, esi
mov r8d, edi
mov rdx, rbx
mov rcx, r14
call fcn.1400d1fa0
jmp 0x1400d1e4a
mov r9d, dword [rbx + 0x20]
mov r8d, edi
mov rdx, rbx
mov rcx, r14
call fcn.1400d1eb0
mov r9d, esi
mov r8d, edi
mov rdx, rbx
mov rcx, r14
call fcn.1400d1fa0
or r9d, 0xffffffff
mov rdx, rbx
or r8d, r9d
mov rcx, r14
call fcn.1400d1980
jmp 0x1400d1e4a
cmp edi, 0xffffffff
jne 0x1400d1e40
cmp dword [rbx + 0x18], 3
jne 0x1400d1e3d
lea eax, [r15 + 1]
mov dword [rbx + 0x14], eax
mov edi, dword [rbx + 0x14]
mov eax, dword [rbx + 8]
sub eax, edi
cmp esi, eax
cmova esi, eax
mov ecx, edi
mov rdx, r12
add rcx, qword [rbx]
mov r8d, esi
call fcn.1400e31d0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov r9d, 0x105
mov dword [rbx + 0x14], r15d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_RedrawWindow]
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbp, qword [rsp + 0x40]
add rsp, 0x28
pop r14
pop rbx
ret
Function at 0x1400de580
Capabilities:
Get file attributes
Map section object

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
sub rsp, 0x98
xor ebp, ebp
mov rsi, r9
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0xb0], rbp
test rcx, rcx
jne 0x1400de5b4
mov eax, 0xc0000030
add rsp, 0x98
pop rsi
pop rbp
ret
mov qword [rsp + 0x38], rbp
mov rdx, rcx
mov dword [rsp + 0x30], 0x60
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov r8d, 0x1000a1
mov dword [rsp + 0x20], 1
call sym.ProcessHacker.exe_PhCreateFileWin32Ex
test eax, eax
js 0x1400de721
mov qword [rsp + 0xc0], rbx
lea r8, [rsp + 0x78]
mov qword [rsp + 0x90], rdi
lea rdx, [rsp + 0x68]
mov rdi, qword [rsp + 0x50]
mov r9d, 0x18
mov rcx, rdi
mov dword [rsp + 0x20], 5
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov ecx, eax
mov ebx, eax
test eax, eax
js 0x1400de63d
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xb8], rax
test ecx, ecx
js 0x1400de6f3
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0xb8]
mov dword [rsp + 0x28], 0x8000000
lea rcx, [rsp + 0xb0]
xor r8d, r8d
mov dword [rsp + 0x20], 0x20
mov edx, 0xf001f
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov ebx, eax
test eax, eax
js 0x1400de6f3
mov rax, qword [rsp + 0xb8]
lea r8, [rsp + 0x58]
mov rcx, qword [rsp + 0xb0]
xor r9d, r9d
mov dword [rsp + 0x48], 0x20
or rdx, 0xffffffffffffffff
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x58], rbp
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov ebx, eax
test eax, eax
js 0x1400de6f3
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0xd0]
mov qword [rsi], rax
mov rax, qword [rsp + 0xb8]
mov qword [rdx], rax
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1400de706
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtClose]
mov rdi, qword [rsp + 0x90]
mov eax, ebx
mov rbx, qword [rsp + 0xc0]
add rsp, 0x98
pop rsi
pop rbp
ret
Function at 0x1400de7e0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x1d0
xor r15d, r15d
mov qword [r8], rdx
mov rdi, r8
mov qword [rsp + 0x20], r15
lea r8, [rsp + 0x90]
mov rsi, rdx
mov rbp, rcx
lea r9d, [r15 + 0x40]
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
cmp eax, 0xc0000022
jne 0x1400de88e
mov rcx, qword [0x14015c480]
test rcx, rcx
je 0x1400de9b1
mov dword [rsp + 0x48], r15d
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], r15
xor r9d, r9d
mov qword [rsp + 0x60], rax
xor r8d, r8d
mov dword [rsp + 0x38], 0x28
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
xor edx, edx
lea rax, [rsp + 0x78]
mov dword [rsp + 0x28], 0x999920e3
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], 0x40
mov qword [rsp + 0x70], r15
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
test eax, eax
js 0x1400de9b1
mov eax, 0x5a4d
cmp word [rsp + 0x90], ax
je 0x1400de8af
mov eax, 0xc000012f
jmp 0x1400de9b1
mov ecx, dword [rsp + 0xcc]
lea eax, [rcx - 1]
cmp eax, 0xffffffe
ja 0x1400de9dd
lea rdx, [rcx + rsi]
mov qword [rsp + 0x1f8], r14
mov r14d, ecx
mov qword [rsp + 0x20], r15
mov rcx, rbp
lea r8, [rsp + 0xd0]
mov r9d, 0xf8
call sym.ProcessHacker.exe_PhReadVirtualMemory
test eax, eax
js 0x1400de9a9
cmp dword [rsp + 0xd0], 0x4550
jne 0x1400de945
movzx eax, word [rsp + 0xe8]
mov ecx, 0x10b
mov word [rdi + 0x20], ax
sub ax, cx
mov ecx, 0xfeff
test cx, ax
jne 0x1400de945
movzx eax, word [rsp + 0xd6]
mov dword [rdi + 0x10], eax
lea edx, [rax + rax*4]
movzx eax, word [rsp + 0xe4]
lea edx, [rdx + 3]
lea edx, [rax + rdx*8]
cmp edx, 0x100000
jbe 0x1400de94c
mov eax, 0xc000007b
jmp 0x1400de9a9
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8d, edx
mov qword [rsp + 0x1f0], rbx
mov ebx, edx
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
lea rdx, [r14 + rsi]
mov qword [rsp + 0x20], r15
mov r8, rax
mov qword [rdi + 8], rax
mov r9d, ebx
mov rcx, rbp
call sym.ProcessHacker.exe_PhReadVirtualMemory
mov ebx, eax
test eax, eax
jns 0x1400de9c5
mov r8, qword [rdi + 8]
xor edx, edx
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
mov rbx, qword [rsp + 0x1f0]
mov r14, qword [rsp + 0x1f8]
mov rbp, qword [rsp + 0x200]
add rsp, 0x1d0
pop r15
pop rdi
pop rsi
ret
movzx ecx, word [rsp + 0xe4]
add rcx, 0x18
add rcx, qword [rdi + 8]
mov qword [rdi + 0x18], rcx
xor eax, eax
jmp 0x1400de9a1
mov eax, 0xc000007b
jmp 0x1400de9b1
Function at 0x1400dee60
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rcx, str.wintrust.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rcx, str.crypt32.dll
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.CryptCATAdminCalcHashFromFileHandle
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptCATAdminCalcHashFromFileHandle2
mov rcx, rbx
mov qword [0x14015ef78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptCATAdminAcquireContext
mov rcx, rbx
mov qword [0x14015ef20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptCATAdminAcquireContext2
mov rcx, rbx
mov qword [0x14015ef38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptCATAdminEnumCatalogFromHash
mov rcx, rbx
mov qword [0x14015ef68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptCATCatalogInfoFromContext
mov rcx, rbx
mov qword [0x14015ef40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptCATAdminReleaseCatalogContext
mov rcx, rbx
mov qword [0x14015ef28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptCATAdminReleaseContext
mov rcx, rbx
mov qword [0x14015ef10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTHelperProvDataFromStateData
mov rcx, rbx
mov qword [0x14015ef18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTHelperGetProvSignerFromChain
mov rcx, rbx
mov qword [0x14015ef70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WinVerifyTrust
mov rcx, rbx
mov qword [0x14015ef30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CertNameToStrW
mov rcx, rdi
mov qword [0x14015ef60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CertDuplicateCertificateContext
mov rcx, rdi
mov qword [0x14015ef48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CertFreeCertificateContext
mov rcx, rdi
mov qword [0x14015ef50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x30]
mov qword [0x14015ef58], rax
add rsp, 0x20
pop rdi
ret
Function at 0x1400e28bc
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400e294d
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x1400e294d
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400e294d
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1400e2931
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400e292b
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400e2933
add rdx, 0x28
jmp 0x1400e2910
xor edx, edx
test rdx, rdx
jne 0x1400e293c
xor al, al
jmp 0x1400e2953
test dword [rdx + 0x24], 0x80000000
je 0x1400e2949
xor al, al
jmp 0x1400e2953
mov al, 1
jmp 0x1400e2953
xor al, al
jmp 0x1400e2953
add rsp, 0x18
ret
Function at 0x1400ed2ac
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x1400ed289
call fcn.1400ede7c
mov dword [rax], 0x16
call fcn.1400f18ec
or eax, 0xffffffff
jmp 0x1400ed2a6
sub dword [rcx + 0x10], 1
jns 0x1400ed298
add rsp, 0x28
jmp 0x1400f49c0
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x1400ed268
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1400f467c
call fcn.1400ede7c
mov dword [rax], 0x16
call fcn.1400f18ec
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400f4664
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1400f4664
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x1400f46ae
lock or dword [rax + 0x14], 0x10
jmp 0x1400f4664
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1400f46cb
mov rcx, qword [rbp + 0x10]
call fcn.1400fc750
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1400f2994
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1400fd1f4
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x1400f4722
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x1400f4664
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1400f478e
mov rcx, qword [rbp + 0x10]
call fcn.1400f2994
cmp eax, 0xffffffff
je 0x1400f4775
mov rcx, qword [rbp + 0x10]
call fcn.1400f2994
cmp eax, 0xfffffffe
je 0x1400f4775
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1400f2994
movsxd rdi, eax
lea rsi, [0x140159da0]
mov rcx, rbx
sar rdi, 6
call fcn.1400f2994
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1400f477c
lea rax, [0x140153330]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400f478e
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x1400f47c4
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1400f47c0
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1400f47c0
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x1400f4667
jmp 0x1400f4634
Function at 0x1400f0ce0
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400f0ab4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400f0ab4
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400f0ab4
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400f0ab4
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400f0ab4
cmp dword [rcx + 0x84], 0xe
jbe 0x1400f0ab4
cmp dword [rcx + 0xf8], esi
je 0x1400f0ab4
mov ecx, r14d
call fcn.1400f0bfc
mov ecx, 2
call fcn.1400f85c8
nop
cmp byte [0x140159d50], 0
jne 0x1400f0b7e
mov r15d, 1
mov eax, r15d
xchg dword [0x140159d44], eax
test ebx, ebx
jne 0x1400f0b27
mov rdi, qword [0x140153018]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140159d48]
cmp rcx, rax
je 0x1400f0b1e
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [sym.ProcessHacker.exe_PhDeleteCallback]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140159d60]
jmp 0x1400f0b33
cmp ebx, r15d
jne 0x1400f0b39
lea rcx, [0x140159d78]
call fcn.1400f1240
nop
test ebx, ebx
jne 0x1400f0b50
lea rdx, [0x140102240]
lea rcx, [0x140102220]
call fcn.1400f0974
lea rdx, [0x140102250]
lea rcx, [0x140102248]
call fcn.1400f0974
movzx eax, byte [0x140159d50]
test esi, esi
cmove eax, r15d
mov byte [0x140159d50], al
jmp 0x1400f0b7e
mov ecx, 2
call fcn.1400f861c
test esi, esi
jne 0x1400f0b95
mov ecx, r14d
call fcn.1400f0bb0
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400f0a44

Function at 0x1400f34e4
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov edi, r9d
mov rsi, r8
mov ebp, edx
lea r9, str.GetLocaleInfoEx
mov r14, rcx
lea r8, [0x140104b50]
lea rdx, str.GetLocaleInfoEx
mov ecx, 0xc
call fcn.1400f30e0
mov rbx, rax
test rax, rax
je 0x1400f3547
mov rcx, rax
call qword [sym.ProcessHacker.exe_PhDeleteCallback]
mov r9d, edi
mov r8, rsi
mov edx, ebp
mov rcx, r14
call rbx
jmp 0x1400f3561
xor edx, edx
mov rcx, r14
call fcn.1400f384c
mov ecx, eax
mov r9d, edi
mov r8, rsi
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400f49c8
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1400f482e
call fcn.1400ede7c
mov dword [rax], 0x16
call fcn.1400f18ec
mov eax, 0xffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400f4810
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1400f4810
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x20]
shr ecx, 1
test cl, 1
je 0x1400f4860
lock or dword [rax + 0x14], 0x10
jmp 0x1400f4810
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1400f487d
mov rcx, qword [rbp + 0x20]
call fcn.1400fc750
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x10], 1
jne 0x1400f4892
mov rcx, qword [rax]
mov sil, 1
mov r14b, byte [rcx]
jmp 0x1400f4898
xor sil, sil
xor r14b, r14b
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.1400f2994
mov rdx, qword [rbp + 0x20]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1400fd1f4
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x20]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 2
ja 0x1400f48eb
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x20]
and dword [rax + 0x10], 0
jmp 0x1400f4810
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1400f4957
mov rcx, qword [rbp + 0x20]
call fcn.1400f2994
cmp eax, 0xffffffff
je 0x1400f493e
mov rcx, qword [rbp + 0x20]
call fcn.1400f2994
cmp eax, 0xfffffffe
je 0x1400f493e
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.1400f2994
movsxd rdi, eax
lea r15, [0x140159da0]
mov rcx, rbx
sar rdi, 6
call fcn.1400f2994
and eax, 0x3f
shl rax, 6
add rax, qword [r15 + rdi*8]
jmp 0x1400f4945
lea rax, [0x140153330]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400f4957
mov rax, qword [rbp + 0x20]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x20], 0x200
jne 0x1400f498d
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1400f4989
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1400f4989
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test sil, sil
je 0x1400f49ab
movzx edx, byte [rcx]
dec dword [rax + 0x10]
shl dx, 8
movzx ecx, r14b
or dx, cx
inc qword [rax]
jmp 0x1400f49b6
movzx edx, word [rcx]
add dword [rax + 0x10], 0xfffffffe
add qword [rax], 2
movzx eax, dx
jmp 0x1400f4815
jmp 0x1400f47dc
Function at 0x14002cc10
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14002cc1d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14002cc2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14002cc15
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14002cc45
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14002cc32
sub eax, 3
jb 0x14002cc5f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14002cc96
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14002cc86
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14002cc84
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14002cc73
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14002cbd2
jmp 0x14002cc1d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1a000
mov dl, 7
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14002cce6
cmp rsi, rcx
jae 0x14002ccee
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14002cccd
cmp al, 0x8f
ja 0x14002cccd
cmp byte [rsi - 2], 0xf
je 0x14002ccd3
sub al, 0xe8
cmp al, 1
ja 0x14002ccb7
cmp rsi, rcx
jae 0x14002ccee
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14002ccbd
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14002ccee
lodsb al, byte [rsi]
jmp 0x14002cccd
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2a000]
mov eax, dword [rdi]
or eax, eax
je 0x14002cd4b
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2c228]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14002ccfb
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14002cd45
mov qword [rbx], rax
add rbx, 8
jmp 0x14002cd1b
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14002cd85
cmp al, 0xef
ja 0x14002cd77
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14002cd57
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14002cd66
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.14002ce04], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14002ce04
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14002cdf4
sub rsp, 0xffffffffffffff80
jmp 0x140001125