joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400af090
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbp, rcx
mov rdi, r8
lea rcx, [0x14015db00]
mov rsi, rdx
call qword [sym.imp.ntdll.dll_RtlInterlockedPopEntrySList]
test rax, rax
je 0x1400af0c8
lock dec dword [0x14015db10]
jmp 0x1400af0e5
mov r8, qword [0x14015db18]
mov edx, 4
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
add r8, 0x10
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
lea rbx, [rax + 0x10]
xor eax, eax
lea r8, [0x1400af010]
mov qword [rbx], rsi
mov qword [rsp + 0x28], rax
mov r9, rbx
mov rdx, rbp
mov dword [rsp + 0x20], eax
xor ecx, ecx
mov qword [rbx + 8], rdi
call qword [sym.imp.KERNEL32.DLL_CreateThread]
test rax, rax
jne 0x1400af151
mov eax, dword [0x14015db14]
lea r8, [rbx - 0x10]
cmp dword [0x14015db10], eax
jae 0x1400af140
mov rdx, r8
lea rcx, [0x14015db00]
call qword [sym.imp.ntdll.dll_RtlInterlockedPushEntrySList]
lock inc dword [0x14015db10]
jmp 0x1400af14f
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400af2d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov rbx, rdx
mov dword [rsp + 0x28], 4
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], 0
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
test eax, eax
js 0x1400af329
test rbx, rbx
je 0x1400af31e
mov rax, qword [rsp + 0x40]
mov qword [rbx], rax
mov rax, qword [rsp + 0x50]
add rsp, 0x30
pop rbx
ret
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x1400b3ae0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor eax, eax
mov r8, rcx
test rdx, rdx
je 0x1400b3b06
nop word [rax + rax]
movzx ecx, byte [r8]
lea r8, [r8 + 1]
xor eax, ecx
imul eax, eax, 0x1000193
sub rdx, 1
jne 0x1400b3af0
ret

Function at 0x1400b3b10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov r8, qword [rcx]
xor ebx, ebx
test r8, r8
jne 0x1400b3b28
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x30], rsi
mov rsi, r8
shr rsi, 1
mov qword [rsp + 0x38], rdi
mov rdi, qword [rcx + 8]
test dl, dl
jne 0x1400b3b70
movzx eax, byte [rdi]
lea rdi, [rdi + 1]
xor ebx, eax
imul ebx, ebx, 0x1000193
sub r8, 1
jne 0x1400b3b40
mov rsi, qword [rsp + 0x30]
mov eax, ebx
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
movzx ecx, word [rdi]
lea rdi, [rdi + 2]
call qword [sym.imp.ntdll.dll_RtlUpcaseUnicodeChar]
movzx eax, ax
xor eax, ebx
imul ebx, eax, 0x1000193
sub rsi, 1
jne 0x1400b3b70
mov rsi, qword [rsp + 0x30]
mov eax, ebx
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x1400c0010
Capabilities:
Create service
Delete service
Start service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rsi, r8
mov rdi, rdx
xor ebx, ebx
xor edx, edx
xor ecx, ecx
lea r8d, [rbx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbp, rax
test rax, rax
jne 0x1400c005d
call qword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jle 0x1400c0141
movzx eax, ax
or eax, 0xc0070000
jmp 0x1400c0141
lea rax, [0x14010bbf8]
mov r9d, 0xf01ff
mov qword [rsp + 0x60], rax
lea r8, str.KProcessHacker3
mov qword [rsp + 0x58], rbx
lea rdx, str.KProcessHacker3
mov qword [rsp + 0x50], rbx
mov rcx, rbp
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov rdi, rax
test rax, rax
je 0x1400c011f
test rsi, rsi
je 0x1400c00e2
mov rdx, rsi
call fcn.1400bfe50
mov ebx, eax
test eax, eax
jns 0x1400c00e2
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400c0136
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x1400c0114
call qword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jg 0x1400c010b
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400c0136
movzx ebx, ax
or ebx, 0xc0070000
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400c0136
call qword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jg 0x1400c012d
mov ebx, eax
jmp 0x1400c0136
movzx ebx, ax
or ebx, 0xc0070000
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400c0160
Capabilities:
Delete service
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x40
xor ebx, ebx
xor edx, edx
xor ecx, ecx
lea r8d, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
jne 0x1400c01a3
call qword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jle 0x1400c022b
movzx eax, ax
or eax, 0xc0070000
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
ret
mov r8d, 0x10020
mov qword [rsp + 0x50], rdi
lea rdx, str.KProcessHacker3
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x1400c0206
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x1400c01fb
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
test eax, eax
jle 0x1400c01fb
movzx ebx, ax
or ebx, 0xc0070000
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400c021b
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
test eax, eax
jle 0x1400c021b
movzx ebx, ax
or ebx, 0xc0070000
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
ret

Function at 0x1400c0500
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x90
mov qword [r11 - 0x48], rcx
lea rax, [0x1400c0b90]
xor ecx, ecx
mov qword [r11 - 0x28], rax
mov dword [rsp + 0x48], ecx
lea rax, [r11 - 0x48]
mov qword [r11 - 0x58], rcx
lea r8, [0x1400c09a0]
mov qword [r11 - 0x20], rax
mov edi, edx
lea rax, [r11 + 0x10]
mov dword [rsp + 0x38], 4
mov qword [r11 - 0x68], rax
xor r9d, r9d
lea rax, [r11 - 0x38]
mov dword [rsp + 0x58], edx
mov dword [rsp + 0x5c], ecx
xor edx, edx
mov rcx, qword [0x14015b300]
mov dword [rsp + 0x28], 0x9999200b
mov qword [r11 - 0x78], rax
mov dword [r11 + 0x10], 2
mov dword [r11 - 0x18], 0xc0000001
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtTestAlert]
mov eax, dword [rsp + 0x80]
test ebx, ebx
cmovs eax, ebx
cmp eax, 0xc00000db
jne 0x1400c05a7
mov ecx, edi
call qword [sym.imp.KERNEL32.DLL_ExitProcess]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
Function at 0x1400c21f0
Capabilities:
Enumerate services

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov r14, r9
mov ebp, r8d
mov ebx, edx
mov r15, rcx
test edx, edx
jne 0x1400c2229
cmp dword [sym.ProcessHacker.exe_WindowsVersion], 0x64
mov ebx, 0x3b
mov eax, 0x1ff
cmovae ebx, eax
mov edi, dword [0x140155c48]
mov eax, 3
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
test r8d, r8d
mov r8d, edi
cmove ebp, eax
lea edx, [rax + 1]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor r12d, r12d
mov r9d, ebp
mov qword [rsp + 0x48], r12
mov rsi, rax
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov r8d, ebx
lea rax, [rsp + 0x88]
xor edx, edx
mov qword [rsp + 0x30], rax
mov rcx, r15
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
test eax, eax
jne 0x1400c232f
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xea
jne 0x1400c2319
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
add edi, dword [rsp + 0x88]
lea edx, [r12 + 4]
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8d, edi
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rsp + 0x48], r12
mov r9d, ebp
mov rsi, rax
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x90]
mov r8d, ebx
mov qword [rsp + 0x38], rax
xor edx, edx
lea rax, [rsp + 0x88]
mov rcx, r15
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
test eax, eax
jne 0x1400c232f
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
xor eax, eax
jmp 0x1400c2351
mov eax, dword [0x140155c48]
cmp edi, 0x20000
cmovbe eax, edi
mov dword [0x140155c48], eax
mov eax, dword [rsp + 0x90]
mov dword [r14], eax
mov rax, rsi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x1400c2640
Capabilities:
Modify service

Disassembly:
sub rsp, 0x28
movzx eax, dl
lea r8, [rsp + 0x38]
mov edx, 3
mov dword [rsp + 0x38], eax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x1400c35a0
Capabilities:
Map section object

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x50
mov dword [rsp + 0x48], 2
lea rax, [r11 + 0x20]
mov rbx, rdx
mov qword [r11 + 0x20], 1
xor edx, edx
lea r8, [r11 + 0x18]
mov dword [rsp + 0x40], edx
xor r9d, r9d
mov dword [rsp + 0x38], 1
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x30], rdx
mov qword [r11 - 0x38], rdx
mov qword [r11 + 0x18], rdx
or rdx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
test eax, eax
js 0x1400c3616
mov rdx, qword [rsp + 0x70]
mov r8, rbx
or rcx, 0xffffffffffffffff
call sym.ProcessHacker.exe_PhGetProcessMappedFileName
mov rdx, qword [rsp + 0x70]
or rcx, 0xffffffffffffffff
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov eax, ebx
add rsp, 0x50
pop rbx
ret
Function at 0x1400c6da0
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x2f0
movzx esi, r8b
mov rdi, rdx
mov rbp, rcx
test rdx, rdx
je 0x1400c6e75
movzx eax, byte [rdx]
xor al, 0xe
test al, 0x1f
jne 0x1400c6e75
lea rdx, str..exe
mov rcx, rdi
call fcn.1400e4d4c
test eax, eax
jne 0x1400c6e75
xor ebx, ebx
mov qword [rsp + 0x318], rbx
test rbp, rbp
je 0x1400c6e34
test sil, sil
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x318]
mov rcx, rbp
cmovne r9, rbx
lea r8, [rsp + 0x318]
cmove r8, rbx
xor edx, edx
call qword [sym.imp.SHELL32.dll_ExtractIconExW]
mov rax, qword [rsp + 0x318]
test rax, rax
jne 0x1400c6f1b
test sil, sil
lea rdx, [rsp + 0x318]
lea rcx, [rsp + 0x318]
cmove rdx, rbx
cmovne rcx, rbx
call sym.ProcessHacker.exe_PhGetStockApplicationIcon
mov rax, qword [rsp + 0x318]
test rax, rax
je 0x1400c6f1b
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_DuplicateIcon]
jmp 0x1400c6f1b
xor ebx, ebx
mov qword [rsp + 0x310], r14
test sil, sil
mov qword [rsp + 0x318], rbx
mov r14d, ebx
sete r14b
test rbp, rbp
je 0x1400c6ed5
mov eax, r14d
lea r8, [rsp + 0x30]
bts eax, 8
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], eax
mov rcx, rbp
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rbx, qword [rsp + 0x318]
test rax, rax
cmovne rbx, qword [rsp + 0x30]
mov qword [rsp + 0x318], rbx
test rbx, rbx
jne 0x1400c6f10
test rdi, rdi
je 0x1400c6f10
or r14d, 0x110
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
mov dword [rsp + 0x20], r14d
mov edx, 0x80
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rbx, qword [rsp + 0x318]
test rax, rax
cmovne rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x310]
mov rax, rbx
mov rbx, qword [rsp + 0x320]
add rsp, 0x2f0
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400c6f30
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov ecx, 2
add rdx, 2
call qword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov rcx, rax
mov rbp, rax
call qword [sym.imp.KERNEL32.DLL_GlobalLock]
mov r8, qword [rdi]
mov rcx, rax
mov rdx, qword [rdi + 8]
mov rbx, rax
call fcn.1400e3970
mov rcx, qword [rdi]
xor eax, eax
mov word [rbx + rcx], ax
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov rcx, rsi
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400c6fbe
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x1400c6fbe
mov rdx, rbp
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x1400c6fbe
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1400c6fc7
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GlobalFree]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c6fe0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x30
mov rsi, r8
mov r14, rcx
mov rcx, rsi
mov r8d, 5
mov rdx, r9
call qword [sym.imp.KERNEL32.DLL_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400c7021
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov rdx, rax
mov qword [rsp + 0x48], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
test eax, eax
je 0x1400c7049
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_LoadResource]
test rax, rax
jne 0x1400c7050
xor eax, eax
jmp 0x1400c70e4
mov rcx, rax
mov qword [rsp + 0x40], rbp
call qword [sym.imp.KERNEL32.DLL_LockResource]
mov rbp, rax
test rax, rax
je 0x1400c70df
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8, rdi
mov edx, 4
mov rbx, rdi
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8, rbx
mov rdx, rbp
mov rcx, rax
mov rdi, rax
call fcn.1400e3970
mov eax, 0xffff
cmp word [rdi + 2], ax
jne 0x1400c70a3
mov dword [rdi + 0xc], 0x40000448
jmp 0x1400c70a9
mov dword [rdi], 0x40000448
mov rax, qword [rsp + 0x68]
mov r8, r14
mov r9, qword [rsp + 0x60]
mov rdx, rdi
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8, rdi
xor edx, edx
mov rbx, rax
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, rbx
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400d25d0
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 0x1400d273a
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 0x1400d2623
lea ecx, [rax + 1]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbp, rax
test rax, rax
je 0x1400d272f
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 0x1400d2663
mov dword [rbx + 0x20], ecx
mov dword [rbx + 0x1c], edx
cmp byte [rbx + 0x30], 0
mov edi, dword [rbx + 0x1c]
je 0x1400d26cb
cmp edi, 0xffffffff
jne 0x1400d2694
cmp dword [rbx + 0x18], 3
jne 0x1400d267e
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.1400d2840
jmp 0x1400d26ea
mov r9d, dword [rbx + 0x20]
mov r8d, edi
mov rdx, rbx
mov rcx, r14
call fcn.1400d2750
mov r9d, esi
mov r8d, edi
mov rdx, rbx
mov rcx, r14
call fcn.1400d2840
or r9d, 0xffffffff
mov rdx, rbx
or r8d, r9d
mov rcx, r14
call fcn.1400d2220
jmp 0x1400d26ea
cmp edi, 0xffffffff
jne 0x1400d26e0
cmp dword [rbx + 0x18], 3
jne 0x1400d26dd
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.1400e3970
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 0x1400df670
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 [0x14015de40], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, str.CryptCATAdminAcquireContext
mov rcx, rbx
mov qword [0x14015dde8], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, str.CryptCATAdminAcquireContext2
mov rcx, rbx
mov qword [0x14015de00], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, str.CryptCATAdminEnumCatalogFromHash
mov rcx, rbx
mov qword [0x14015de30], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, str.CryptCATCatalogInfoFromContext
mov rcx, rbx
mov qword [0x14015de08], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, str.CryptCATAdminReleaseCatalogContext
mov rcx, rbx
mov qword [0x14015ddf0], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, str.CryptCATAdminReleaseContext
mov rcx, rbx
mov qword [0x14015ddd8], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, str.WTHelperProvDataFromStateData
mov rcx, rbx
mov qword [0x14015dde0], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, str.WTHelperGetProvSignerFromChain
mov rcx, rbx
mov qword [0x14015de38], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, str.WinVerifyTrust
mov rcx, rbx
mov qword [0x14015ddf8], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, str.CertNameToStrW
mov rcx, rdi
mov qword [0x14015de28], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, str.CertDuplicateCertificateContext
mov rcx, rdi
mov qword [0x14015de10], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, str.CertFreeCertificateContext
mov rcx, rdi
mov qword [0x14015de18], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rbx, qword [rsp + 0x30]
mov qword [0x14015de20], rax
add rsp, 0x20
pop rdi
ret
Function at 0x1400f1480
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 0x1400f1254
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x1400f1254
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400f1254
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400f1254
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400f1254
cmp dword [rcx + 0x84], 0xe
jbe 0x1400f1254
cmp dword [rcx + 0xf8], esi
je 0x1400f1254
mov ecx, r14d
call fcn.1400f139c
mov ecx, 2
call fcn.1400f8d68
nop
cmp byte [0x140158bd0], 0
jne 0x1400f131e
mov r15d, 1
mov eax, r15d
xchg dword [0x140158bc4], eax
test ebx, ebx
jne 0x1400f12c7
mov rdi, qword [0x140152018]
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 [0x140158bc8]
cmp rcx, rax
je 0x1400f12be
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [str.0__v_]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140158be0]
jmp 0x1400f12d3
cmp ebx, r15d
jne 0x1400f12d9
lea rcx, [0x140158bf8]
call fcn.1400f19e0
nop
test ebx, ebx
jne 0x1400f12f0
lea rdx, [0x140102260]
lea rcx, [0x140102240]
call fcn.1400f1114
lea rdx, [0x140102270]
lea rcx, [0x140102268]
call fcn.1400f1114
movzx eax, byte [0x140158bd0]
test esi, esi
cmove eax, r15d
mov byte [0x140158bd0], al
jmp 0x1400f131e
mov ecx, 2
call fcn.1400f8dbc
test esi, esi
jne 0x1400f1335
mov ecx, r14d
call fcn.1400f1350
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 0x1400f11e4

Function at 0x1400f3c84
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, [0x140104b70]
lea rdx, str.GetLocaleInfoEx
mov ecx, 0xc
call fcn.1400f3880
mov rbx, rax
test rax, rax
je 0x1400f3ce7
mov rcx, rax
call qword [str.0__v_]
mov r9d, edi
mov r8, rsi
mov edx, ebp
mov rcx, r14
call rbx
jmp 0x1400f3d01
xor edx, edx
mov rcx, r14
call fcn.1400f3fec
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