joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001c2a0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
xor eax, eax
test eax, eax
jne 0x14001c2b8
xor eax, eax
test eax, eax
jne 0x14001c2b8
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x14001c3f0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x60]
call fcn.140002090
nop
mov r8w, VarDateFromDisp
mov dx, 0x2f
lea rcx, [rsp + 0x60]
call fcn.1400061a0
lea rcx, [rsp + 0x60]
call fcn.1400019f0
mov edx, eax
sub edx, 1
lea rcx, [rsp + 0x60]
call fcn.140006d70
movzx eax, ax
cmp eax, 0x5c
jne 0x14001c4a4
lea rcx, [rsp + 0x60]
call fcn.1400019f0
mov r9d, eax
sub r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
call fcn.140002230
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x60]
call fcn.140002d20
nop
lea rcx, [rsp + 0x68]
call fcn.140001470
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14001c820
mov r8d, 0x38
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.1400a8070
mov dword [rsp + 0x30], 3
lea rcx, [rsp + 0x60]
call fcn.1400012c0
mov qword [rsp + 0x38], rax
mov eax, 0x410
mov word [rsp + 0x48], ax
lea rcx, [rsp + 0x28]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14001c514
cmp dword [rsp + 0x20], 2
je 0x14001c514
cmp dword [rsp + 0x20], 3
je 0x14001c514
mov dword [rsp + 0x90], 0
jmp 0x14001c51f
mov dword [rsp + 0x90], 1
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0x60]
call fcn.140001470
mov eax, dword [rsp + 0x70]
add rsp, 0xa8
ret

Function at 0x14001c580
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
xor eax, eax
test eax, eax
jne 0x14001c597
xor eax, eax
test eax, eax
jne 0x14001c597
cmp qword [rsp + 0x80], 0
jne 0x14001c5bb
lea rax, [rsp + 0x40]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add rsp, 0x58
ret
Function at 0x14001e3b0
Capabilities:
Send data
Send data on socket

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x268
mov dword [rsp + 0x250], 0
jmp 0x14001e3e9
mov eax, dword [rsp + 0x250]
add eax, 1
mov dword [rsp + 0x250], eax
mov eax, dword [rsp + 0x288]
cmp dword [rsp + 0x250], eax
jge 0x14001e44c
movsxd rdx, dword [rsp + 0x250]
imul rdx, rdx, 0x10
movsxd rcx, dword [rsp + 0x250]
imul rcx, rcx, 0x10
mov rax, qword [rsp + 0x280]
mov rax, qword [rax + rdx]
mov qword [rsp + rcx + 0x58], rax
movsxd rdx, dword [rsp + 0x250]
imul rdx, rdx, 0x10
movsxd rcx, dword [rsp + 0x250]
imul rcx, rcx, 0x10
mov rax, qword [rsp + 0x280]
mov eax, dword [rax + rdx + 8]
mov dword [rsp + rcx + 0x50], eax
jmp 0x14001e3d8
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x288]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.WS2_32.dll_WSASend]
mov eax, dword [rsp + 0x40]
add rsp, 0x268
ret

Function at 0x14001e4a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x258
mov dword [rsp + 0x248], 0
jmp 0x14001e4d9
mov eax, dword [rsp + 0x248]
add eax, 1
mov dword [rsp + 0x248], eax
mov eax, dword [rsp + 0x278]
cmp dword [rsp + 0x248], eax
jge 0x14001e53c
movsxd rdx, dword [rsp + 0x248]
imul rdx, rdx, 0x10
movsxd rcx, dword [rsp + 0x248]
imul rcx, rcx, 0x10
mov rax, qword [rsp + 0x270]
mov rax, qword [rax + rdx]
mov qword [rsp + rcx + 0x48], rax
movsxd rdx, dword [rsp + 0x248]
imul rdx, rdx, 0x10
movsxd rcx, dword [rsp + 0x248]
imul rcx, rcx, 0x10
mov rax, qword [rsp + 0x270]
mov eax, dword [rax + rdx + 8]
mov dword [rsp + rcx + 0x40], eax
jmp 0x14001e4c8
mov dword [rsp + 0x244], 0
mov dword [rsp + 0x240], 0
mov rax, qword [rsp + 0x260]
cmp dword [rax + 0x220], 0
je 0x14001e5cb
mov rdx, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x260]
call fcn.1400d7e70
test eax, eax
jne 0x14001e57e
jmp 0x14001e552
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x240]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x244]
mov r8d, dword [rsp + 0x278]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x268]
call qword [sym.imp.WS2_32.dll_WSARecv]
mov eax, dword [rsp + 0x244]
jmp 0x14001e5cd
xor eax, eax
add rsp, 0x258
ret
Function at 0x14002cd50
Capabilities:
Query service status
Start service

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14002cd7d
xor al, al
jmp 0x14002ce33
mov r8d, reloc.OLEAUT32.dll_SafeArrayLock
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14002cdd2
mov r8d, 4
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14002cdd2
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x14002ce33
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14002ce0e
cmp dword [rsp + 0x34], 2
jne 0x14002ce0a
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14002ce0c
jmp 0x14002ce0e
jmp 0x14002cde2
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [rsp + 0x34], 4
jne 0x14002ce31
mov al, 1
jmp 0x14002ce33
xor al, al
add rsp, 0x58
ret
Function at 0x14004f590
Capabilities:
Get mac address on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov edx, 0x2c0
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14004f5d9
mov eax, dword [rsp + 0x20]
jmp 0x14004f73c
mov dword [rsp + 0x3c], 0x2c0
lea rdx, [rsp + 0x3c]
mov rcx, qword [rsp + 0x28]
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x14004f66d
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rsp + 0x28], 0
cmp dword [rsp + 0x38], 0x6f
jne 0x14004f664
mov edx, dword [rsp + 0x3c]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14004f63b
mov eax, dword [rsp + 0x20]
jmp 0x14004f73c
lea rdx, [rsp + 0x3c]
mov rcx, qword [rsp + 0x28]
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x14004f662
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [rsp + 0x20]
jmp 0x14004f73c
jmp 0x14004f66d
mov eax, dword [rsp + 0x20]
jmp 0x14004f73c
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x28]
add rcx, 0xc
call fcn.14004f300
test eax, eax
je 0x14004f6e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x194], 0x10
jbe 0x14004f6a1
mov dword [rsp + 0x40], reloc.OLEAUT32.dll_SafeArrayGetDim
jmp 0x14004f6b0
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x194]
mov dword [rsp + 0x40], eax
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x28]
add rdx, 0x198
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x60]
add rcx, rax
call fcn.1400a8d20
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14004f677
cmp qword [rsp + 0x30], 0
je 0x14004f709
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rsp + 0x20], 0
jne 0x14004f738
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
xor edx, edx
call fcn.1400a8070
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x58
ret
Function at 0x140051f40
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x258
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0x248], rax
xor eax, eax
mov word [rsp + 0x30], ax
lea rdx, str.Global_
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
call fcn.140010e00
mov rdx, qword [rax + 0xa0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str._is_running
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea r8, [rsp + 0x30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov r11, rax
mov rax, qword [rsp + 0x260]
mov qword [rax + 0x2a8], r11
mov rax, qword [rsp + 0x260]
cmp qword [rax + 0x2a8], 0
je 0x140052008
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140052008
mov rcx, qword [rsp + 0x260]
mov rcx, qword [rcx + 0x2a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r11, qword [rsp + 0x260]
mov qword [r11 + 0x2a8], 0
mov rax, qword [rsp + 0x260]
cmp qword [rax + 0x2a8], 0
jne 0x140052027
mov dword [rsp + 0x240], 1
jmp 0x140052032
mov dword [rsp + 0x240], 0
mov eax, dword [rsp + 0x240]
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x258
ret
Function at 0x140078a88
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x140078ac6
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x140078b7a
call fcn.140072124
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x140078ae5
mov ecx, 0x80004005
call fcn.140001e30
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x118]
mov rdx, rsi
or rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.1400b01a8
test eax, eax
je 0x140078b4d
cmp eax, 0xc
je 0x140078b47
cmp eax, 0x16
je 0x140078b41
cmp eax, 0x22
je 0x140078b41
cmp eax, 0x50
je 0x140078b4d
call fcn.140071d48
int3
call fcn.140071d48
int3
call fcn.140071d00
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x140078b78
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140079f6c
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.1400964f0
mov rsi, rax
test rax, rax
je 0x140079fe8
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x140079fe3
cmp dword [rbx], 0x40
jb 0x140079fe3
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x140079fe3
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x140079fec
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140080eb8
Capabilities:
Extract resource via kernel32 functions

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 r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x140080f20
call fcn.1400773c8
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140080f20
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140080f42
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.1400808c8
mov esi, eax
test rdi, rdi
je 0x140080f40
test rbx, rbx
je 0x140080f40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x140081d54
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
test rdx, 0xffffffffffff0000
jne 0x140081d93
cmp dword [rcx + 0xa8], 0
jne 0x140081d93
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.1400773c8
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.140081cf8
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14008a554
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
je 0x14008a57d
mov rdi, qword [rdx + 0x10]
jmp 0x14008a5ce
mov rdx, qword [rdx + 0x10]
mov rcx, qword [rbx + 8]
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x14008a59e
call fcn.1400865b4
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x14008a5b8
call fcn.1400865b4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x14008a5ce
call fcn.1400865b4
call fcn.1400773c8
cmp qword [rax + 0x68], 0
je 0x14008a5e8
mov rdx, rdi
mov rcx, rbp
call fcn.140088ddc
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.14008a370
mov rcx, qword [rbp + 0xb8]
mov rsi, rax
test rcx, rcx
je 0x14008a60f
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xb8], 0
test rsi, rsi
je 0x14008a61e
mov rdi, rsi
mov qword [rbp + 0xb8], rsi
or dword [rbx + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140093bb8
Capabilities:
Extract resource via kernel32 functions

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 r12
push r13
push r14
sub rsp, 0x20
xor esi, esi
xor ebx, ebx
mov r12, r9
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
je 0x140093c2a
call fcn.1400773c8
mov r8d, 0xf0
mov rdx, rdi
mov r13, qword [rax + 0x18]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140093c2a
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140093c77
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov edi, 1
test rsi, rsi
je 0x140093c57
mov r10, qword [r14]
mov r9, r12
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call qword [r10 + 0x40]
mov edi, eax
test rbx, rbx
je 0x140093c57
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rbp + 0x98], 0
je 0x140093c75
mov rcx, qword [rbp + 0x98]
mov rdx, r12
mov r8, qword [rcx]
call qword [r8 + 0x140]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
Function at 0x1400ad5b0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.1400bd118
nop
cmp dword [0x1402a9b88], 1
je 0x1400ad55c
mov dword [0x1402a9b84], 1
mov byte [0x1402a9b80], r12b
test ebx, ebx
jne 0x1400ad548
mov rcx, qword [0x1404b61b0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400ad535
mov rcx, qword [0x1404b61a8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1400ad4d4
call fcn.1400b2294
cmp qword [rdi], rax
jne 0x1400ad4d4
jmp 0x1400ad4ba
cmp rdi, rsi
jb 0x1400ad535
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1400b2294
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1404b61b0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1404b61a8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400ad513
cmp r13, rax
je 0x1400ad533
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400ad4ba
lea rdx, [0x1401ffa00]
lea rcx, [0x1401ff9e8]
call fcn.1400ad304
lea rdx, [0x1401ffa10]
lea rcx, [0x1401ffa08]
call fcn.1400ad304
nop
test r12d, r12d
je 0x1400ad56b
mov ecx, 8
call fcn.1400bd018
test r12d, r12d
jne 0x1400ad596
mov dword [0x1402a9b88], 1
lea ecx, [r12 + 8]
call fcn.1400bd018
mov ecx, r15d
call fcn.1400ad298
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400ad424

Function at 0x1400ad5bc
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400ad424
Function at 0x1400b278f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1402a25c0]
jne 0x1400a805a
rol rcx, 0x10
test cx, 0xffff
jne 0x1400a8056
repz ret
ror rcx, 0x10
jmp 0x1400b26e8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1402aa1b0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1402aa2a8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400b276d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1402aa1b0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400b278f
mov rax, qword [rsp + 0x88]
mov qword [0x1402aa2a8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1402aa248], rax
mov rax, qword [0x1402aa2a8]
mov qword [0x1402aa120], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1402aa230], rax
mov dword [0x1402aa110], 0xc0000409
mov dword [0x1402aa114], 1
mov rax, qword [0x1402a25c0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1402a25c8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1402aa1a8], eax
mov ecx, 1
call fcn.1400bc0bc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14020be20]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1402aa1a8], 0
jne 0x1400b2816
mov ecx, 1
call fcn.1400bc0bc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400c3b0c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.1400b2294
xor ebx, ebx
mov rdi, rax
cmp qword [0x1402aaa30], rbx
jne 0x1400c3c12
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400c3ce7
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400c3ce7
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14020c2c0]
mov rcx, rsi
mov qword [0x1402aaa30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14020c2a8]
mov rcx, rsi
mov qword [0x1402aaa38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1402aaa40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1402aaa50], rax
test rax, rax
je 0x1400c3c09
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1402aaa48], rax
jmp 0x1400c3c19
mov rax, qword [0x1402aaa48]
jmp 0x1400c3c20
mov rax, qword [0x1402aaa48]
mov r11, qword [0x1402aaa50]
cmp rax, rdi
je 0x1400c3c88
cmp r11, rdi
je 0x1400c3c88
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1402aaa50]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400c3c88
test rax, rax
je 0x1400c3c88
call rsi
test rax, rax
je 0x1400c3c82
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400c3c82
test byte [rsp + 0x38], 1
jne 0x1400c3c88
bts ebp, 0x15
jmp 0x1400c3cc6
mov rcx, qword [0x1402aaa38]
cmp rcx, rdi
je 0x1400c3cc6
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400c3cc6
call rax
mov rbx, rax
test rax, rax
je 0x1400c3cc6
mov rcx, qword [0x1402aaa40]
cmp rcx, rdi
je 0x1400c3cc6
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400c3cc6
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1402aaa30]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400c3ce7
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400c3ce9
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret