joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005444d
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, rcx
xor eax, eax
test edx, edx
cmovs edx, eax
mov cl, byte [rsp + 0xb8]
mov byte [rsp + 0x2f], cl
test r8d, r8d
cmovns eax, r8d
mov ebx, dword [rsp + 0xb0]
mov ecx, dword [rsi + 0x178]
lea r10d, [rcx - 1]
cmp ecx, r9d
cmovg r10d, r9d
movsxd rbp, dword [rsi + 0x174]
lea ecx, [rbp - 1]
cmp ebp, ebx
cmovg ecx, ebx
cmp eax, ecx
jg 0x1400545b1
mov eax, eax
cmp rax, rbp
jge 0x1400545b1
mov r8d, edx
shr r8d, 1
mov r11d, r10d
shr r11d, 0x1f
add r11d, r10d
sar r11d, 1
mov ebp, edx
lea r12, [rbp*4]
add r12, rbp
lea rbx, [rbp - 1]
mov qword [rsp + 0x38], rbx
shr rbp, 1
movsxd rdi, r11d
inc r11d
movsxd r14, r10d
movsxd r9, ecx
lea rcx, [rbp*4]
add rcx, rbp
lea rbx, [rbp - 1]
mov qword [rsp + 0x40], rbx
lea r15, [rcx*4 + 4]
lea rcx, [r12*4 + 4]
mov qword [rsp + 0x30], rcx
mov r13b, 3
mov rcx, qword [rsi + 0x28]
mov rcx, qword [rcx + rax*8]
test byte [rcx], r13b
je 0x14005455e
cmp r8d, r11d
jg 0x140054599
mov rbp, r15
mov rcx, qword [rsp + 0x40]
inc rcx
movsxd rbx, dword [rsi + 0x178]
cmp rcx, rbx
jge 0x140054599
mov rbx, qword [rsi + 0x28]
mov rbx, qword [rbx + rax*8]
mov rbx, qword [rbx + 0x18]
or dword [rbx + rbp], 0x3ffff
add rbp, 0x14
cmp rcx, rdi
jle 0x140054531
jmp 0x140054599
cmp edx, r10d
jg 0x140054599
mov r12, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
inc rbp
movsxd rcx, dword [rsi + 0x178]
cmp rbp, rcx
jge 0x140054599
mov rcx, qword [rsi + 0x28]
mov rcx, qword [rcx + rax*8]
mov rcx, qword [rcx + 0x18]
or dword [rcx + r12], 0x3ffff
add r12, 0x14
cmp rbp, r14
jl 0x14005456d
cmp rax, r9
jge 0x1400545b1
inc rax
movsxd rcx, dword [rsi + 0x174]
cmp rax, rcx
jl 0x140054517
cmp byte [rsp + 0x2f], 0
je 0x1400545d0
mov rcx, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1400512ea
cmp byte [rsi + 0x10e1], 0
jne 0x1400545fa
mov byte [rsi + 0x10e1], 1
lea rdx, [0x14005b815]
mov ecx, 0x14
mov r8, rsi
call fcn.14005de24
mov dword [rsi + 0x10e4], eax
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14005ff4a
Capabilities:
Encode data using base64

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x1400cb0e0]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor esi, esi
movsx r8d, byte [rcx + rsi]
mov eax, r8d
add al, 0xbf
cmp al, 0x19
ja 0x14005ff74
add r8d, 0xffffffbf
jmp 0x14005ffbe
mov eax, r8d
add al, 0x9f
cmp al, 0x19
ja 0x14005ff83
add r8d, 0xffffffb9
jmp 0x14005ffbe
mov eax, r8d
add al, 0xd0
cmp al, 9
ja 0x14005ff92
add r8d, 4
jmp 0x14005ffbe
cmp r8b, 0x2b
je 0x14005ffb0
cmp r8b, 0x3d
je 0x14005ffb8
cmp r8b, 0x2f
jne 0x140060060
mov r8d, 0x3f
jmp 0x14005ffbe
mov r8d, 0x3e
jmp 0x14005ffbe
mov r8d, 0xffffffff
mov dword [rsp + rsi*4 + 0x20], r8d
inc rsi
cmp rsi, 4
jb 0x14005ff60
mov eax, dword [rsp + 0x20]
xor esi, esi
cmp eax, 0xffffffff
je 0x140060062
mov ecx, dword [rsp + 0x24]
cmp ecx, 0xffffffff
je 0x140060062
mov r8d, dword [rsp + 0x28]
mov r9d, dword [rsp + 0x2c]
cmp r8d, 0xffffffff
je 0x140060008
mov r10d, 3
cmp r9d, 0xffffffff
jne 0x14006001a
mov r10d, 2
jmp 0x140060014
cmp r9d, 0xffffffff
jne 0x140060062
mov r10d, 1
mov r9d, 0xffffffff
shl eax, 0x12
shl ecx, 0xc
or eax, ecx
shr eax, 0x10
mov byte [rdx], al
mov esi, 1
cmp r10d, 2
jb 0x140060062
shl r8d, 6
mov eax, r8d
and eax, 0xf00
or eax, ecx
mov byte [rdx + 1], ah
mov esi, 2
cmp r10d, 3
jne 0x140060062
and r9d, 0x3f
or r9d, r8d
mov byte [rdx + 2], r9b
mov esi, 3
jmp 0x140060062
xor esi, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14007de70
mov eax, esi
add rsp, 0x40
pop rsi
ret

Function at 0x1400603b1
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400603e3
xor r10d, r10d
xor r9d, r9d
mov al, byte [rdx + r10]
xor al, byte [rcx + r10]
movzx eax, al
or r9d, eax
inc r10
cmp r8, r10
jne 0x1400603bc
mov eax, 0x100
sub eax, r9d
cmp eax, 0xff
seta al
ret
mov al, 1
ret

Function at 0x14006604a
Capabilities:
Hide graphical window

Disassembly:
push rsi
sub rsp, 0x30
mov rcx, qword [0x1400ce020]
mov qword [rsp + 0x20], 0
lea r9, [fcn.14000ec6f]
mov edx, 0x6f
xor r8d, r8d
call qword [sym.imp.USER32.dll_CreateDialogParamA]
mov rsi, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetActiveWindow]
mov rcx, rsi
add rsp, 0x30
pop rsi
jmp qword [sym.imp.USER32.dll_DestroyWindow]

Function at 0x140066d0c
Capabilities:
Hide graphical window

Disassembly:
sub rsp, 0x28
mov rax, rcx
mov rcx, qword [0x1400ce068]
test rcx, rcx
jne 0x140066d60
mov rcx, qword [0x1400ce020]
mov qword [rsp + 0x20], 0
lea r9, [0x140066d6b]
mov edx, 0x6e
mov r8, rax
call qword [sym.imp.USER32.dll_CreateDialogParamA]
mov qword [0x1400ce068], rax
mov edx, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400ce068]
add rsp, 0x28
jmp qword [sym.imp.USER32.dll_SetActiveWindow]
Function at 0x140067868
Capabilities:
Link many functions at runtime

Disassembly:
push rsi
push rdi
sub rsp, 0xc8
mov rax, qword [0x1400cb0e0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
cmp dword [0x1400cc948], 0
je 0x14006789f
xor esi, esi
cmp qword [0x1400cc930], 0
setne sil
jmp 0x140067a0f
lea rdi, [rsp + 0x2c]
xor esi, esi
xor edx, edx
mov r8d, 0x90
mov rcx, rdi
call fcn.14007f3a0
mov dword [rdi - 4], 0x94
lea rdi, [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
xor eax, eax
cmp dword [rdi + 0x10], 2
sete al
mov dword [0x1400cc94c], eax
lea rcx, str.USER32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400679d4
mov rdi, rax
lea rdx, [0x1400b1c89]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400cc910], rax
test rax, rax
je 0x1400679d4
lea rdx, str.MonitorFromWindow
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400cc918], rax
test rax, rax
je 0x1400679d4
lea rdx, str.MonitorFromRect
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400cc920], rax
test rax, rax
je 0x1400679d4
lea rdx, str.MonitorFromPoint
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400cc928], rax
test rax, rax
je 0x1400679d4
lea rdx, str.EnumDisplayMonitors
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400cc938], rax
test rax, rax
je 0x1400679d4
lea rdx, str.GetMonitorInfoA
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400cc930], rax
test rax, rax
je 0x1400679d4
lea rdx, str.EnumDisplayDevicesA
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400cc940], rax
test rax, rax
je 0x1400679d4
mov dword [0x1400cc948], 1
mov esi, 1
jmp 0x140067a0f
mov qword [0x1400cc910], rsi
mov qword [0x1400cc918], rsi
mov qword [0x1400cc920], rsi
mov qword [0x1400cc928], rsi
mov qword [0x1400cc930], rsi
mov qword [0x1400cc938], rsi
mov qword [0x1400cc940], rsi
mov dword [0x1400cc948], 1
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14007de70
mov eax, esi
add rsp, 0xc8
pop rdi
pop rsi
ret
Function at 0x14006d12e
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
cmp ecx, 2
jne 0x14006d1f3
mov r14d, r9d
mov ebx, r8d
mov rdi, rdx
lea eax, [rbx + 1]
movsxd rdx, eax
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
test rax, rax
je 0x14006d1f3
mov rsi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14006d1f3
mov rbp, rax
movsxd rbx, ebx
mov rcx, rax
mov rdx, rdi
mov r8, rbx
call fcn.14007ef50
xor eax, eax
mov byte [rbp + rbx], al
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test r14b, r14b
jne 0x14006d1b8
mov rcx, qword [0x1400ce028]
mov edx, 0x8002
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [0x1400ce028]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14006d1e5
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, 1
mov rdx, rsi
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x14006d1ee
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
test r14b, r14b
je 0x14006d1fe
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [0x1400ce028]
mov edx, 0x8002
xor r8d, r8d
xor r9d, r9d
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.USER32.dll_SendMessageA]
Function at 0x1400723fc
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov r14d, r9d
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
mov rax, qword [0x1400cb0e0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 1
mov edx, 0x1048
xor r8d, r8d
call fcn.140011888
mov rsi, rax
mov dword [rax], 0
mov qword [rax + 8], rbp
mov rbp, qword [sym.imp.KERNEL32.dll_CreateEventA]
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call rbp
mov qword [rsi + 0x10], rax
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call rbp
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x1040], rdi
mov byte [rsi + 0x22], 0
mov word [rsi + 0x20], 0
mov qword [rsi + 0x28], rbx
mov dword [rsi + 0x30], r14d
lea rdi, [rsi + 8]
mov rcx, qword [0x1400ced48]
test rcx, rcx
jne 0x1400724a6
lea rcx, [0x1400724f3]
call fcn.14005e058
mov rcx, rax
mov qword [0x1400ced48], rax
mov rdx, rsi
call fcn.14005e13e
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r8, [0x140072509]
xor ecx, ecx
xor edx, edx
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [rsi + 0x23], 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14007de70
mov rax, rsi
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x140072692
Capabilities:
Create thread

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r14d, r9d
mov rdi, r8
mov rbx, rdx
mov rbp, rcx
mov rax, qword [0x1400cb0e0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r15d, r15d
mov ecx, 1
mov edx, 0x1048
xor r8d, r8d
call fcn.140011888
mov rsi, rax
mov dword [rax], 1
mov qword [rax + 8], rbp
mov rbp, qword [sym.imp.KERNEL32.dll_CreateEventA]
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call rbp
mov qword [rsi + 0x10], rax
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call rbp
mov qword [rsi + 0x18], rax
mov dword [rsi + 0x20], r15d
mov qword [rsi + 0x28], rdi
lea rcx, [rsi + 0x50]
call fcn.140060077
mov dword [rsi + 0x78], r15d
mov qword [rsi + 0x80], rbx
mov dword [rsi + 0x30], r14d
lea rdi, [rsi + 8]
mov rcx, qword [0x1400ced48]
test rcx, rcx
jne 0x140072748
lea rcx, [0x1400724f3]
call fcn.14005e058
mov rcx, rax
mov qword [0x1400ced48], rax
mov rdx, rsi
call fcn.14005e13e
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r8, [0x140072793]
xor ecx, ecx
xor edx, edx
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14007de70
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140072ee6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp byte [0x1400ced60], 0
je 0x140072efc
add rsp, 0x28
pop rdi
pop rsi
ret
mov byte [0x1400ced60], 1
lea rcx, str.hhctrl.ocx
call fcn.140074344
mov rsi, rax
test rax, rax
je 0x140072f59
lea rdx, str.HtmlHelpA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400ced68], rax
test rax, rax
je 0x140072f64
cmp byte [0x1400ced89], 0
jne 0x140072fd5
mov al, 1
mov byte [0x1400ced89], al
cmp byte [0x1400ced50], al
jne 0x140072f74
mov rdx, qword [0x1400ced58]
jmp 0x140072f98
mov qword [0x1400ced68], 0
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [0x1400ced50], 1
xor ecx, ecx
mov edx, 0x7d0
mov r8d, 0x7d0
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
mov qword [0x1400ced58], rax
test rdx, rdx
je 0x140072fd5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [0x1400ced8c], eax
test eax, eax
je 0x140072fd5
mov rdx, qword [0x1400ced58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140072fd5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x1400ced80], rax
jmp 0x140072fdc
mov rax, qword [0x1400ced80]
test rax, rax
jne 0x140072ef5
lea rsi, str.SoftwareSimonTathamPuTTY64CHMPath
xor edi, edi
mov rdx, qword [rsi]
mov rcx, 0xffffffff80000002
xor r8d, r8d
call fcn.14007495e
test rax, rax
jne 0x140073017
inc rdi
add rsi, 8
cmp rdi, 1
jbe 0x140072fee
jmp 0x140072ef5
mov qword [0x1400ced70], rax
mov byte [0x1400ced78], 0
jmp 0x140072ef5

Function at 0x14007302a
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x1400ced70]
test rcx, rcx
je 0x14007306c
cmp byte [0x1400ced78], 1
jne 0x14007306e
xor ecx, ecx
xor edx, edx
mov r8d, 0x12
xor r9d, r9d
call qword [0x1400ced68]
mov rcx, qword [0x1400ced70]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [0x1400ced70]
jmp 0x14007306e
xor ecx, ecx
call fcn.140011913
mov qword [0x1400ced70], 0
mov byte [0x1400ced78], 0
add rsp, 0x28
ret
Function at 0x14007309c
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
mov r15, rdx
mov rdi, rcx
mov rax, qword [0x1400cb0e0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdx, qword [0x1400ced70]
test rdx, rdx
jne 0x140073278
mov rax, qword [0x1400ced80]
test rax, rax
je 0x140073278
cmp byte [0x1400ced90], 0
mov qword [rsp + 0x40], rdi
jne 0x140073265
mov byte [0x1400ced90], 1
lea rdx, [rsp + 0x50]
mov ecx, 0x106
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x140073265
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, eax
lea rcx, str._sputty__lu__llu.chm
lea rdx, [rsp + 0x50]
xor r9d, r9d
mov r8d, eax
call fcn.14005f835
mov rbx, rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
mov edx, 0x40000000
mov r8d, 1
xor r9d, r9d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
jne 0x1400731ec
mov edi, 1
mov r14, qword [sym.imp.KERNEL32.dll_GetLastError]
lea r13, [rsp + 0x50]
mov r12, qword [sym.imp.KERNEL32.dll_CreateFileA]
call r14
mov esi, eax
mov rcx, rbx
call fcn.140011913
cmp esi, 0x50
jne 0x14007326c
lea rcx, str._sputty__lu__llu.chm
mov rdx, r13
mov r8d, ebp
mov r9, rdi
call fcn.14005f835
mov rbx, rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
mov edx, 0x40000000
mov r8d, 1
xor r9d, r9d
mov rcx, rax
call r12
inc rdi
cmp rax, 0xffffffffffffffff
je 0x140073188
mov rsi, rax
mov r8d, dword [0x1400ced8c]
test r8d, r8d
je 0x140073250
mov rbp, qword [0x1400ced80]
xor edi, edi
lea r14, [rsp + 0x4c]
mov r12, qword [sym.imp.KERNEL32.dll_WriteFile]
sub r8d, edi
mov dword [rsp + 0x4c], 0
mov edx, edi
add rdx, rbp
mov qword [rsp + 0x20], 0
mov rcx, rsi
mov r9, r14
call r12
test eax, eax
je 0x1400732eb
mov eax, dword [rsp + 0x4c]
lea edi, [rdi + rax]
add edi, 1
mov r8d, dword [0x1400ced8c]
cmp r8d, edi
ja 0x140073210
mov qword [0x1400ced70], rbx
mov byte [0x1400ced78], 1
xor ebx, ebx
jmp 0x1400732f4
xor ecx, ecx
call fcn.140011913
mov rdx, qword [0x1400ced70]
mov rdi, qword [rsp + 0x40]
test rdx, rdx
je 0x1400732c6
test r15, r15
je 0x1400732b0
lea rcx, str._s::__s.html_main
mov r8, r15
call fcn.14005f835
mov rsi, rax
xor r8d, r8d
xor r9d, r9d
mov rcx, rdi
mov rdx, rax
call qword [0x1400ced68]
mov rcx, rsi
call fcn.140011913
jmp 0x1400732bf
xor r8d, r8d
xor r9d, r9d
mov rcx, rdi
call qword [0x1400ced68]
mov byte [0x1400ced88], 1
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14007de70
nop
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, rbx
call fcn.140011913
cmp rsi, 0xffffffffffffffff
je 0x14007326c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14007326c
Function at 0x140073314
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
cmp byte [0x1400ced88], 1
jne 0x140073334
xor ecx, ecx
xor edx, edx
mov r8d, 0x12
xor r9d, r9d
call qword [0x1400ced68]
mov rcx, qword [0x1400ced70]
test rcx, rcx
je case.default.0x14007334d
cmp byte [0x1400ced78], 1
jne case.default.0x14007334d
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
add rsp, 0x28
ret
movabs al, byte [0xfce01783ea12402f]
invalid
loopne 0x14018d93e
jnp 0x14018d8c1
std
push rcx
jns 0x14018d944
and byte [rdi], ch
neg dl
and ch, bh
jbe 0x14018d88d
invalid
fsub dword [rbx]
call 0x1734801b1
and al, 0xff
mov ebp, 0x725376f7
mov esi, 0x76fff371
mov esi, 0xbd72b7e3
cmpsb byte [rsi], byte [rdi]
push 0xfffffffffffffffc
invalid
cmp al, 0x92
invalid
pop rbx
xor eax, dword [rax]
adc byte [rdi + rbp*8 + 0x7f], dl
je 0x14018d8f8
jg 0x14018d9ba
mov cl, 0xa3
clc
cdq
outsd dx, dword [rsi]
mov esi, 0xa9beefa8
movabs dword [0xa9beefa8be6f99f8], eax
test eax, 0xb733ea8
push rdx
test al, 0x59
push rax
push rbx
invalid
out 0xea, eax
pop rbx
sahf
add ch, byte [rax - 0x6e]
xlatb
xchg edx, eax
invalid
and al, 0x8b
jl 0x14018d9a8
or al, 0x4a
invalid

Function at 0x140074209
Capabilities:
Get session user name

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x1400cb0e0]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [0x1400cf5c8], 0
je 0x140074230
mov rsi, qword [0x1400cf5c0]
jmp 0x140074275
lea rcx, str.secur32.dll
call fcn.140074344
mov rsi, rax
lea rcx, str.sspicli.dll
call fcn.140074344
test rsi, rsi
je 0x140074265
lea rdx, str.GetUserNameExA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
jmp 0x140074267
xor esi, esi
mov qword [0x1400cf5c0], rsi
mov byte [0x1400cf5c8], 1
test rsi, rsi
je 0x1400742d7
lea rdi, [rsp + 0x2c]
mov dword [rdi], 0
mov ecx, 8
xor edx, edx
mov r8, rdi
call rsi
mov ecx, dword [rdi]
mov edx, 1
xor r8d, r8d
call fcn.140011888
mov rsi, rax
mov ecx, 8
mov rdx, rax
mov r8, rdi
call qword [0x1400cf5c0]
test al, al
je 0x1400742cf
mov edx, 0x40
mov rcx, rsi
call fcn.14007f540
test rax, rax
je 0x14007432d
mov byte [rax], 0
jmp 0x14007432d
mov rcx, rsi
call fcn.140011913
lea rdx, [rsp + 0x2c]
mov dword [rdx], 0
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x1400742f4
mov ecx, dword [rsp + 0x2c]
jmp 0x140074301
mov dword [rsp + 0x2c], 0x100
mov ecx, 0x100
mov edx, 1
xor r8d, r8d
call fcn.140011888
mov rsi, rax
lea rdx, [rsp + 0x2c]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x14007432d
mov rcx, rsi
call fcn.140011913
xor esi, esi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14007de70
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x140074344
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
cmp qword [0x1400cf5f0], 0
jne 0x1400743c1
mov edx, dword [0x1400cf5f8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r9d, eax
cmp qword [0x1400cf5f8], r9
ja 0x1400743c1
lea rdi, [0x1400cf5f8]
mov rbx, qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov rcx, qword [0x1400cf5f0]
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], 1
mov r8d, 1
mov rdx, rdi
call fcn.14001191d
mov qword [0x1400cf5f0], rax
mov edx, dword [0x1400cf5f8]
mov rcx, rax
call rbx
mov r9d, eax
cmp qword [0x1400cf5f8], r9
jbe 0x140074380
mov rcx, qword [0x1400cf5f0]
lea rdx, [0x1400b7fed]
xor r9d, r9d
mov r8, rsi
call fcn.14005f8e8
mov rsi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
mov rcx, rsi
call fcn.140011913
mov rax, rdi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x14007495e
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rdi, r8
mov rax, qword [0x1400cb0e0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rcx
test rdx, rdx
je 0x14007499a
lea r8, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x14007499e
xor ebx, ebx
xor esi, esi
jmp 0x140074a51
xor ebp, ebp
jmp 0x1400749a6
mov bpl, 1
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor esi, esi
lea r9, [rsp + 0x44]
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140074a3f
cmp dword [rsp + 0x44], 1
mov ebx, 0
jne 0x140074a41
mov ecx, dword [rsp + 0x40]
inc ecx
xor esi, esi
mov edx, 1
xor r8d, r8d
call fcn.140011888
mov rbx, rax
mov eax, dword [rsp + 0x40]
lea rdx, [rsp + 0x3c]
mov dword [rdx], eax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x44]
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140074a41
cmp dword [rsp + 0x44], 1
jne 0x140074a41
mov eax, dword [rsp + 0x3c]
cmp eax, dword [rsp + 0x40]
jbe 0x140074a38
xor esi, esi
jmp 0x140074a41
mov byte [rbx + rax], 0
mov rsi, rbx
xor ebx, ebx
test bpl, bpl
je 0x140074a51
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
call fcn.140011913
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14007de70
mov rax, rsi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x14007733e
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2a8
mov r14, rcx
mov rax, qword [0x1400cb0e0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
lea rdi, [rsp + 0x50]
mov edx, 0x107
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov rcx, rdi
call fcn.14008d450
mov byte [rsp + rax + 0x52], 0
mov word [rsp + rax + 0x50], 0x2a5c
lea rdx, [rsp + 0x160]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
je 0x1400773cf
mov rdi, rax
lea rbx, [rsp + 0x160]
mov rsi, qword [sym.imp.KERNEL32.dll_FindNextFileA]
mov edx, 0x140
mov rcx, rbx
call r14
mov rcx, rdi
mov rdx, rbx
call rsi
test eax, eax
jne 0x1400773af
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [rsp + 0x2c]
mov dword [rcx], eax
mov edx, 4
call r14
lea rcx, [rsp + 0x30]
mov edx, 0x20
call fcn.1400771f8
test al, al
je 0x140077414
lea rdi, [rsp + 0x30]
mov edx, 0x20
mov rcx, rdi
call r14
mov edx, 0x20
mov rcx, rdi
call fcn.140074a74
mov rcx, r14
call fcn.14007a4ba
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14007de70
nop
add rsp, 0x2a8
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14007743a
Capabilities:
Get memory capacity

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rax, qword [0x1400cb0e0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rsi, [rsp + 0x78]
mov qword [rsi], rax
mov ecx, 9
mov r8d, 8
mov rdx, rsi
call fcn.14004683c
call qword [sym.imp.USER32.dll_GetCapture]
mov qword [rsi], rax
mov ecx, 0xa
mov r8d, 8
mov rdx, rsi
call fcn.14004683c
call qword [sym.imp.USER32.dll_GetClipboardOwner]
mov qword [rsi], rax
mov ecx, 0xb
mov r8d, 8
mov rdx, rsi
call fcn.14004683c
mov ecx, 0x1cbf
call qword [sym.imp.USER32.dll_GetQueueStatus]
lea rdx, [rsp + 0x74]
mov dword [rdx], eax
mov ecx, 0xc
mov r8d, 4
call fcn.14004683c
lea rsi, [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, 0xd
mov r8d, 8
mov rdx, rsi
call fcn.14004683c
lea rsi, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, 6
mov r8d, 0x38
mov rdx, rsi
call fcn.14004683c
lea rsi, [rsp + 0x98]
lea r14, [rsp + 0x90]
lea rdi, [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rsp + 0x20], rsi
lea rbx, [rsp + 0x80]
mov rcx, rax
mov rdx, rbx
mov r8, rdi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_GetThreadTimes]
mov ecx, 0xe
mov r8d, 0x20
mov rdx, rbx
call fcn.14004683c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x20], rsi
mov rcx, rax
mov rdx, rbx
mov r8, rdi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov ecx, 0xf
mov r8d, 0x20
mov rdx, rbx
call fcn.14004683c
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14007de70
nop
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret