joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ee580
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
cmp qword [rcx + 0xb88], 0
mov rsi, r8
mov r14, rdx
mov rbx, rcx
je 0x1400ee680
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
and dword [rsp + 0x50], 0
lea r8, [rsp + 0x50]
mov rcx, rsi
mov edx, eax
mov ebp, eax
call fcn.1400ec008
jmp 0x1400ee678
mov r8d, dword [rsp + 0x50]
cmp r8d, r15d
sete al
cmp qword [rbx + 0x18], 0
je 0x1400ee5ef
test al, al
jne 0x1400ee669
test al, al
je 0x1400ee60f
lea rax, str.Active_Thread
xor r9d, r9d
mov rdx, r14
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1400eda60
jmp 0x1400ee669
xor edx, edx
lea ecx, [rdx + 0x4a]
call qword [rbx + 0xb88]
mov rdi, rax
test rax, rax
je 0x1400ee669
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rsp + 0x50]
lea rdx, str.Suspended_Thread
test eax, eax
lea rcx, str.Running_Thread
mov r9, rdi
cmovne rcx, rdx
mov rdx, r14
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call fcn.1400eda60
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [0x14011e328]
lea r8, [rsp + 0x50]
mov edx, ebp
mov rcx, rsi
call fcn.1400ec0c8
test eax, eax
jne 0x1400ee5d9
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x1400ee6a0
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
cmp qword [rcx + 0xb88], 0
mov rsi, r8
mov r14, rdx
mov rbx, rcx
je 0x1400ee7a0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
and dword [rsp + 0x50], 0
lea r8, [rsp + 0x50]
mov rcx, rsi
mov edx, eax
mov ebp, eax
call fcn.1400ec008
jmp 0x1400ee798
mov r8d, dword [rsp + 0x50]
cmp r8d, r15d
sete al
cmp qword [rbx + 0x18], 0
je 0x1400ee70f
test al, al
jne 0x1400ee789
test al, al
je 0x1400ee72f
lea rax, str.active
xor r9d, r9d
mov rdx, r14
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1400edbc8
jmp 0x1400ee789
xor edx, edx
lea ecx, [rdx + 0x4a]
call qword [rbx + 0xb88]
mov rdi, rax
test rax, rax
je 0x1400ee789
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rsp + 0x50]
lea rdx, str.suspended
test eax, eax
lea rcx, str.running
mov r9, rdi
cmovne rcx, rdx
mov rdx, r14
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call fcn.1400edbc8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [0x14011e328]
lea r8, [rsp + 0x50]
mov edx, ebp
mov rcx, rsi
call fcn.1400ec0c8
test eax, eax
jne 0x1400ee6f9
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1400eee10
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x14017da30]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rax, str.Unknown
mov qword [rbx], rax
mov eax, dword [rsp + 0x24]
sub eax, 3
je 0x1400eef1a
dec eax
je 0x1400eeec8
dec eax
je 0x1400eee8e
dec eax
jne 0x1400eef34
cmp dword [rsp + 0x30], 2
jne 0x1400eef34
cmp dword [rsp + 0x28], eax
jne 0x1400eef34
lea rax, str.Windows_Vista
jmp 0x1400eef31
cmp dword [rsp + 0x30], 2
jne 0x1400eef34
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x1400eeebf
dec eax
je 0x1400eeeb6
dec eax
jne 0x1400eef34
lea rax, str.Windows_Server_2003
jmp 0x1400eef31
lea rax, str.Windows_XP
jmp 0x1400eef31
lea rax, str.Windows_2000
jmp 0x1400eef31
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x1400eeefa
cmp eax, 0xa
je 0x1400eeeea
cmp eax, 0x5a
jne 0x1400eef34
cmp dword [rsp + 0x30], 1
jne 0x1400eef34
lea rax, str.Windows_Me
jmp 0x1400eef31
cmp dword [rsp + 0x30], 1
jne 0x1400eef34
lea rax, str.Windows_98
jmp 0x1400eef31
cmp dword [rsp + 0x30], 2
jne 0x1400eef0a
lea rax, str.Windows_NT_4.0
jmp 0x1400eef31
cmp dword [rsp + 0x30], 1
jne 0x1400eef34
lea rax, str.Windows_95
jmp 0x1400eef31
cmp dword [rsp + 0x28], 0x33
jne 0x1400eef34
cmp dword [rsp + 0x30], 2
lea rax, str.Windows_NT_3.51
cmovne rax, qword [rbx]
mov qword [rbx], rax
lea rcx, [rbx + 8]
lea r8, [rsp + 0x34]
mov edx, pe_nt_image_headers64
call qword [sym.imp.MSVCR120.dll_wcscpy_s]
mov ecx, dword [rsp + 0x2c]
mov r9d, 0xa
lea r8d, [r9 + 6]
lea rdx, [rbx + 0x108]
call qword [sym.imp.MSVCR120.dll__ultow_s]
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14010a480
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rbp
ret

Function at 0x1400eef88
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
lea rdi, [0x140138d00]
mov qword [rcx], rdi
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [0x140194650], 0
je 0x1400eefdd
movzx eax, word [rsp + 0x20]
test eax, eax
je 0x1400eefdd
cmp eax, 6
je 0x1400eefd4
lea rcx, str.AMD_x64
cmp eax, 9
cmove rdi, rcx
mov qword [rbx], rdi
jmp 0x1400eefe7
lea rax, str.IA_64
jmp 0x1400eefe4
lea rax, str.Intel_x86
mov qword [rbx], rax
mov eax, dword [rsp + 0x40]
mov dword [rbx + 8], eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x1400ef000
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x14017da30]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rdi, rdx
mov r15d, ecx
mov ebx, pe_nt_image_headers64
lea r8, [0x140138d18]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.MSVCR120.dll_wcscpy_s]
lea r14, [rdi + 0x100]
lea r8, [0x140138d10]
lea edx, [rbx - 0x70]
mov rcx, r14
call qword [sym.imp.MSVCR120.dll_wcscpy_s]
lea rsi, [rdi + 0x120]
lea r8, [0x140138d18]
mov rcx, rsi
mov edx, ebx
call qword [sym.imp.MSVCR120.dll_wcscpy_s]
xor r12d, r12d
mov ebx, 1
cmp dword [0x140194650], r12d
je 0x1400ef1ec
lea r8, str.HARDWAREDESCRIPTIONSystemCentralProcessor_lu
lea rcx, [rsp + 0x50]
mov r9d, r15d
mov edx, 0x104
call qword [sym.imp.MSVCR120.dll_swprintf_s]
lea rax, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400ef1e9
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, str.MHz
xor r8d, r8d
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400ef136
cmp dword [rsp + 0x30], 4
jne 0x1400ef136
mov ecx, dword [rsp + 0x40]
lea r9d, [rbx + 9]
lea r8d, [rbx + 0xf]
mov rdx, r14
call qword [sym.imp.MSVCR120.dll__ultow_s]
jmp 0x1400ef13a
mov word [r14], r12w
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.ProcessorNameString
mov r14d, 0x100
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x34], r14d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400ef18a
cmp dword [rsp + 0x30], ebx
jne 0x1400ef18a
lea rdx, [0x140137410]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_StrTrimW]
jmp 0x1400ef18e
mov word [rsi], r12w
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.Identifier
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x34], r14d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400ef1d8
cmp dword [rsp + 0x30], ebx
jne 0x1400ef1d8
lea rdx, [0x140137410]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrTrimW]
jmp 0x1400ef1dc
mov word [rdi], r12w
mov rcx, qword [rsp + 0x38]
call qword [0x14011e0c8]
jmp 0x1400ef1ec
mov ebx, r12d
mov eax, ebx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14010a480
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400ef220
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14017da30]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [rsp + 0x24]
mov esi, 0xa
lea r8d, [rsi - 2]
mov r9d, esi
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll__ultow_s]
mov ecx, dword [rsp + 0x28]
lea edi, [rsi + 6]
lea rdx, [rbx + 0x10]
mov r8d, edi
mov r9d, esi
call qword [sym.imp.MSVCR120.dll__ultow_s]
mov ecx, dword [rsp + 0x30]
lea rdx, [rbx + 0x30]
mov r9d, esi
mov r8d, edi
call qword [sym.imp.MSVCR120.dll__ultow_s]
mov ecx, dword [rsp + 0x38]
lea rdx, [rbx + 0x50]
mov r9d, esi
mov r8d, edi
call qword [sym.imp.MSVCR120.dll__ultow_s]
mov ecx, dword [rsp + 0x40]
lea rdx, [rbx + 0x70]
mov r9d, esi
mov r8d, edi
call qword [sym.imp.MSVCR120.dll__ultow_s]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14010a480
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400efef4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x240
mov rax, qword [0x14017da30]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdx, str.environment
mov rsi, rcx
call fcn.1400fbd24
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r15d, r15d
mov rdi, rax
test rax, rax
je 0x1400efff5
mov rbx, rax
cmp word [rax], r15w
je 0x1400effec
mov edx, 0x3d
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_wcschr]
xor edx, edx
mov rbp, rax
test rax, rax
je 0x1400effd2
mov rcx, rax
call qword [sym.imp.MSVCR120.dll_wcschr]
mov r9, rbp
lea rcx, [rsp + 0x20]
sub r9, rbx
mov r8, rbx
mov edx, 0x104
sar r9, 1
mov r14, rax
call qword [sym.imp.MSVCR120.dll_wcsncpy_s]
lea rdx, str.variable
mov rcx, rsi
call fcn.1400fbd24
lea r8, [rsp + 0x20]
lea rdx, str.name
mov rcx, rsi
call fcn.1400fb860
lea r8, [rbp + 2]
lea rdx, str.value
mov rcx, rsi
call fcn.1400fb860
mov rcx, rsi
call fcn.1400fb950
jmp 0x1400effde
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_wcschr]
mov r14, rax
lea rbx, [r14 + 2]
cmp word [rbx], r15w
jne 0x1400eff52
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rcx, rsi
call fcn.1400fb950
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14010a480
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400f0030
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x2e0
mov rax, qword [0x14017da30]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rsi, rcx
mov edi, 2
lea rdx, [rsp + 0x30]
mov ecx, edi
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400f011a
lea rcx, [rsp + 0x1d0]
mov edx, 0x100
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x1400f0114
lea rcx, [rsp + 0x1d0]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rbx, rax
test rax, rax
je 0x1400f0114
cmp word [rax + 0x10], di
jne 0x1400f0114
mov rcx, qword [rax + 0x18]
xor edi, edi
mov rax, qword [rcx]
jmp 0x1400f010f
movsx r8, word [rbx + 0x12]
lea rcx, [rsp + 0x20]
mov rdx, rax
call sub.MSVCR120.dll_memcpy
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov rbp, rax
test edi, edi
je 0x1400f00fa
lea rcx, [0x140138b2c]
call qword [sym.imp.MSVCR120.dll_wcslen]
lea rdx, [0x140138b2c]
mov rcx, rsi
mov r8, rax
call fcn.1400e7814
mov rdx, rbp
mov rcx, rsi
call fcn.1400e79a8
mov rax, qword [rbx + 0x18]
inc edi
mov rax, qword [rax + rdi*8]
test rax, rax
jne 0x1400f00b8
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.14010a480
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1400f01a0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x330
mov rax, qword [0x14017da30]
xor rax, rsp
mov qword [rsp + 0x320], rax
mov rdi, rcx
mov esi, 2
lea rdx, [rsp + 0x40]
mov ecx, esi
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400f02b0
lea rcx, [rsp + 0x220]
mov edx, 0x100
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x1400f02aa
lea rcx, [rsp + 0x220]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rbx, rax
test rax, rax
je 0x1400f02aa
cmp word [rax + 0x10], si
jne 0x1400f02aa
lea rdx, [0x140139410]
mov rcx, rdi
call fcn.1400fbd24
mov rcx, qword [rbx + 0x18]
xor esi, esi
mov rax, qword [rcx]
jmp 0x1400f029d
movsx r8, word [rbx + 0x12]
lea rcx, [rsp + 0x30]
mov rdx, rax
call sub.MSVCR120.dll_memcpy
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
lea rcx, [rsp + 0x1e0]
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x20], rcx
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
mov r8, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [rsp + 0x1e0]
lea rdx, [0x140139418]
mov rcx, rdi
call fcn.1400fb860
mov rax, qword [rbx + 0x18]
inc esi
mov rax, qword [rax + rsi*8]
test rax, rax
jne 0x1400f023a
mov rcx, rdi
call fcn.1400fb950
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.14010a480
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400f1794
Capabilities:
Delete file

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, 0x50
cmp qword [rcx + 0xb80], 0
mov rsi, rdx
mov rbx, rcx
jne 0x1400f17c4
xor eax, eax
jmp 0x1400f1887
and qword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rsi
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400f17bd
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp qword [rbx + 0x18], 0
mov r14d, eax
je 0x1400f1846
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
and qword [rsp + 0x30], 0
mov rcx, qword [rbx + 0x18]
and qword [rsp + 0x28], 0
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x44], rcx
mov dword [rsp + 0x4c], 1
mov edx, r14d
jmp 0x1400f185a
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov edx, eax
mov r9d, dword [0x14017d964]
mov r8, rdi
mov rcx, rbp
call qword [rbx + 0xb80]
mov rcx, rdi
mov ebx, eax
call qword [0x14011e328]
test ebx, ebx
jne 0x1400f1885
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret

Function at 0x1400f22bc
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
xor ebx, ebx
mov r14d, r8d
mov r15, rdx
mov rbp, rcx
test r8d, r8d
jne 0x1400f22e3
xor eax, eax
jmp 0x1400f2387
mov word [rdx], bx
lea rdx, [rsp + 0x90]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test eax, eax
je 0x1400f22dc
mov ecx, esi
call fcn.140109e80
mov rdi, rax
test rax, rax
je 0x1400f22dc
mov edx, dword [rsp + 0x90]
mov r9, rax
mov r8d, esi
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1400f237d
lea r9, [rsp + 0x98]
lea r8, [rsp + 0x40]
lea rdx, [0x14013d40c]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400f237d
mov rdx, qword [rsp + 0x40]
movzx ecx, word [rdx + 0xe]
movzx r8d, word [rdx + 8]
movzx eax, word [rdx + 0xc]
movzx r9d, word [rdx + 0xa]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r8d
lea r8, str._lu._lu._lu._lu
mov rdx, r14
mov rcx, r15
call qword [sym.imp.MSVCR120.dll_swprintf_s]
mov ebx, 1
mov rcx, rdi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400f2434
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14017da30]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, rcx
lea rcx, [rsp + 0x40]
mov ebx, edx
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov r10, qword [rsp + 0x60]
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov rax, qword [rsp + 0x48]
shr r9, 0x14
shr r8, 0x14
shr r10, 0x14
shr rax, 0x14
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x30], r9
mov r9d, dword [rsp + 0x44]
mov qword [rsp + 0x28], r8
lea r8, [0x140138fb0]
mov edx, ebx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCR120.dll_swprintf_s]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14010a480
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret

Function at 0x1400f24d4
Capabilities:
Query environment variable

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 rbp, rcx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r14d, r14d
mov rdi, rax
test rax, rax
je 0x1400f2563
mov rsi, rax
cmp word [rax], r14w
je 0x1400f255a
mov rcx, rsi
call qword [sym.imp.MSVCR120.dll_wcslen]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.MSVCR120.dll_wcslen]
mov rdx, rsi
mov r8, rax
mov rcx, rbp
call fcn.1400e7814
lea rcx, [0x140137680]
call qword [sym.imp.MSVCR120.dll_wcslen]
lea rdx, [0x140137680]
mov rcx, rbp
mov r8, rax
call fcn.1400e7814
lea rsi, [rsi + rbx*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x1400f250a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400f4640
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x14017da30]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, rcx
mov rcx, qword [rcx]
mov rbp, rdx
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, qword [0x140194018]
xor edi, edi
mov rdx, qword [rcx + 8]
mov rbx, rax
test rdx, rdx
je 0x1400f4691
mov rcx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdi, rax
mov rcx, qword [rsi]
lea rdx, [rsp + 0x20]
mov r8d, 0x104
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCR120.dll_wcslen]
lea rdx, [rsp + 0x20]
mov r9, rbp
mov r8, rax
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test rdi, rdi
je 0x1400f46d5
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsi]
mov rdx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14010a480
mov rbx, qword [rsp + 0x270]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400f47b8
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x14017da30]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rsi, rcx
mov rcx, qword [rcx]
mov rbx, rdx
lea rdx, [rsp + 0x40]
mov r8d, 0x104
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, 0xf
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, rbx
mov edx, eax
call qword [sym.imp.GDI32.dll_SetBkColor]
mov rax, qword [0x140194018]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400f4827
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbp, rax
jmp 0x1400f4829
xor ebp, ebp
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_GetParent]
test rax, rax
je 0x1400f4850
mov r9, qword [rsi]
mov r8, rbx
mov edx, 0x138
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
jmp 0x1400f4852
xor edi, edi
test rdi, rdi
jne 0x1400f4867
mov rax, qword [0x140194018]
mov rdi, qword [rax + 0x60]
test rdi, rdi
je 0x1400f4886
mov rcx, qword [rsi]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0x30]
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_FillRect]
mov edx, dword [rsi + 0x218]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetTextColor]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCR120.dll_wcslen]
mov edx, 1
lea r9, [rsp + 0x40]
mov r8d, edx
mov rcx, rbx
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_TextOutW]
mov ecx, shutdown
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, rbx
mov edx, eax
call qword [sym.imp.GDI32.dll_SetTextColor]
test rbp, rbp
je 0x1400f48e1
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
call qword [sym.imp.USER32.dll_GetFocus]
cmp rax, qword [rsi]
jne 0x1400f4907
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400f470c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DrawFocusRect]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14010a480
mov rbx, qword [rsp + 0x290]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400f4930
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor esi, esi
mov rbx, rcx
cmp word [rcx + 0x10], si
je 0x1400f4985
mov rax, qword [0x140194018]
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x1400f4960
call qword [sym.imp.USER32.dll_SetCursor]
lea r8, [rbx + 0x10]
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rsi
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1400f49b4
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_GetParent]
mov rdi, rax
test rax, rax
je 0x1400f49b4
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov r9, qword [rbx]
mov edx, 0x111
movzx r8d, ax
mov rcx, rdi
call qword [sym.imp.USER32.dll_PostMessageW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400f51e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov qword [rcx + 0x10], rdx
xor edi, edi
mov rbx, rcx
mov r9, rcx
lea r8, [0x1400f52a4]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.MSVCR120.dll__beginthreadex]
test rax, rax
mov qword [rbx], rax
mov rbx, qword [rsp + 0x40]
setne dil
mov eax, edi
add rsp, 0x30
pop rdi
ret