joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ed90
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1a0
movaps xmmword [rsp + 0x190], xmm6
mov rsi, r8
mov rbx, rdx
mov rdx, rcx
lea rdi, [r8 + 0x10]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x100], xmm6
lea r14, [rsp + 0x100]
mov rcx, r14
mov r8, rdi
mov r9, rsi
call fcn.140008a90
movaps xmmword [rsp + 0xf0], xmm6
lea r15, [rsp + 0xf0]
mov rcx, r15
mov rdx, rbx
mov r8, rdi
mov r9, rsi
call fcn.140008a90
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x50], r14
movabs rax, 0x600000000000002
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 2
movaps xmmword [rsp + 0x70], xmm6
lea rdx, str._a_____quiet__qn_TARGETDIR__
lea rcx, [rsp + 0x70]
lea r8, [rsp + 0x30]
mov r9, rsi
call fcn.14001c530
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x110], xmm0
movaps xmm0, xmmword [0x140089b70]
movaps xmmword [rsp + 0x90], xmm0
movaps xmm0, xmmword [0x140089b60]
movaps xmmword [rsp + 0x80], xmm0
movaps xmm0, xmmword [0x140089b80]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmm0, xmmword [0x140089b90]
movaps xmmword [rsp + 0xb0], xmm0
movaps xmm0, xmmword [0x140089ba0]
movaps xmmword [rsp + 0xc0], xmm0
movaps xmm0, xmmword [0x140089bb0]
movaps xmmword [rsp + 0xd0], xmm0
movaps xmm0, xmmword [0x140089bc0]
movaps xmmword [rsp + 0xe0], xmm0
lea rax, str.msiexec.exe
mov qword [rsp + 0x98], rax
movaps xmmword [rsp + 0x40], xmm6
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x110]
mov r8, rdi
mov r9, rsi
call fcn.14002c6d0
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x14000ef0b
cmp qword [rsp + 0x48], 0
je 0x14000efd3
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [rsp + 0x80]
movaps xmm1, xmmword [rsp + 0x90]
movaps xmm2, xmmword [rsp + 0xb0]
movaps xmm3, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x120], xmm0
movaps xmmword [rsp + 0x130], xmm1
movaps xmmword [rsp + 0x150], xmm2
movaps xmmword [rsp + 0x160], xmm3
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x170], xmm0
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0x180], xmm0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x148], rax
lea rcx, [rsp + 0x120]
call sub.SHELL32.dll_ShellExecuteExW
test eax, eax
je 0x14000efba
mov rcx, qword [rsp + 0x188]
mov edx, 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
mov al, 1
jmp 0x14000efbc
xor eax, eax
movaps xmm6, xmmword [rsp + 0x190]
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov qword [rsp + 0x20], 0
lea rcx, str.c:_odin_core_sys_windows_util.odin
mov edx, 0x39
mov r8d, 0xf
xor r9d, r9d
call fcn.1400525f0
int3
Function at 0x1400184a0
Capabilities:
Get disk size

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc8
movaps xmmword [rsp + 0xb0], xmm6
mov rsi, rcx
mov qword [0x14009d160], 0xffffffffffffffff
call fcn.1400178d0
test al, al
je 0x140018610
xorps xmm6, xmm6
movaps xmmword [rsp + 0x80], xmm6
lea rcx, [rsp + 0x80]
mov rdx, rsi
call fcn.1400186e0
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x68], 0
lea rdi, [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm6
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0xa0]
mov r8, rdi
mov r9, rsi
call fcn.14002c6d0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001854c
cmp qword [rsp + 0x38], 0
je 0x1400186ba
lea rbx, [rsp + 0x78]
lea r8, [rsp + 0x70]
lea r14, [rsp + 0x68]
mov rdx, rbx
mov r9, r14
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x140018665
cmp byte [0x14009e300], 0
cmove r14, rbx
mov rax, qword [r14]
mov qword [0x14009d160], rax
mov rbx, qword [0x14009e398]
lea rcx, [rax + 0x3fffffff]
test rax, rax
cmovns rcx, rax
sar rcx, 0x1e
xorps xmm6, xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x60], rcx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
movabs rax, 0x4100000000000005
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
movaps xmmword [rsp + 0x90], xmm6
lea rdx, str.Space_available:__GB
lea r14, [rsp + 0x90]
lea r8, [rsp + 0x50]
mov rcx, r14
mov r9, rsi
call fcn.14001c530
movaps xmmword [rsp + 0x30], xmm6
lea rcx, [rsp + 0x30]
mov rdx, r14
jmp 0x140018680
mov rdi, qword [0x14009e398]
lea r8, [rsi + 0x10]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rdx, str.Space_available:_Unknown
lea rcx, [rsp + 0x30]
mov r9, rsi
call fcn.14002c6d0
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140018649
cmp qword [rsp + 0x38], 0
je 0x1400186ba
mov rcx, rdi
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r14
jmp sub.USER32.dll_SetWindowTextW
mov rbx, qword [0x14009e398]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rdx, str.Space_available:_Unknown
lea rcx, [rsp + 0x30]
mov r8, rdi
mov r9, rsi
call fcn.14002c6d0
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001869d
cmp qword [rsp + 0x38], 0
je 0x1400186ba
mov rcx, rbx
call sub.USER32.dll_SetWindowTextW
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r14
ret
mov qword [rsp + 0x20], 0
lea rcx, str.c:_odin_core_sys_windows_util.odin
mov edx, 0x39
mov r8d, 0xf
xor r9d, r9d
call fcn.1400525f0
int3
Function at 0x1400214d0
Capabilities:
Get file size

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
movaps xmmword [rsp + 0xe0], xmm6
mov rsi, r9
mov rbx, r8
mov r14, rdx
mov rdi, rcx
mov rax, qword [rsp + 0x160]
movups xmm0, xmmword [rax + 0x50]
movaps xmmword [rsp + 0xd0], xmm0
movups xmm0, xmmword [rax + 0x40]
movaps xmmword [rsp + 0xc0], xmm0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmm3, xmmword [rax + 0x30]
movaps xmmword [rsp + 0xb0], xmm3
movaps xmmword [rsp + 0xa0], xmm2
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x50], 0
lea rdx, [rsp + 0x50]
call sub.KERNEL32.dll_GetFileSizeEx
test eax, eax
je 0x140021674
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jle 0x140021689
xorps xmm6, xmm6
movaps xmmword [rsp + 0x70], xmm6
lea rbp, [rsp + 0x80]
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x70]
mov rdx, r14
mov r8, rbx
call fcn.14004c420
mov r13, qword [rsp + 0x70]
test r13, r13
je 0x1400216a8
mov r12, qword [rsp + 0x78]
xor ebx, ebx
test r12, r12
jle 0x140021693
lea r14, [rsp + 0x50]
lea r15, [rsp + 0x68]
nop word [rax + rax]
test rbx, rbx
js 0x1400216c9
mov rax, r12
sub rax, rbx
jl 0x1400216c9
lea rcx, [rbx + r13]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], 0
mov rcx, rdi
mov rdx, r14
mov r8, r15
call fcn.14001fec0
mov rcx, qword [rsp + 0x68]
add rbx, rcx
test rcx, rcx
jle 0x140021621
cmp rbx, r12
jge 0x140021621
test rax, rax
je 0x1400215d0
cmp rbx, r12
jge 0x140021693
test rax, rax
je 0x140021693
mov rax, qword [rsp + 0x80]
test rax, rax
je 0x140021681
mov rcx, qword [rsp + 0x88]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], r14
lea rdx, str.c:_odin_core_os_os.odin
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
mov dl, 1
xor r8d, r8d
xor r9d, r9d
call rax
jmp 0x140021681
call sub.KERNEL32.dll_GetLastError
test eax, eax
je 0x14002156c
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x1400216ab
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov al, 1
jmp 0x1400216ad
test rbx, rbx
js 0x1400216ed
cmp rbx, r12
jg 0x1400216ed
mov qword [rsi], r13
mov qword [rsi + 8], rbx
mov al, 1
jmp 0x1400216ad
movups xmmword [rsi], xmm6
xor eax, eax
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea rcx, str.c:_odin_core_os_os.odin
mov edx, 0x44
mov r8d, 0x19
mov r9, rbx
call fcn.140004310
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbx
lea rcx, str.c:_odin_core_os_os.odin
mov edx, 0x83
mov r8d, 0xd
xor r9d, r9d
call fcn.140004310
int3
Function at 0x1400219e0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov r9, r8
mov rbx, rdx
mov qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov edx, 0x241
call fcn.14001dd80
test rax, rax
je 0x140021a18
xor esi, esi
jmp 0x140021aa7
mov rdi, qword [rsp + 0x38]
mov r12, qword [rbx + 8]
mov sil, 1
test r12, r12
je 0x140021a96
mov dword [rsp + 0x34], 0
jle 0x140021a96
xor r14d, r14d
mov ebp, 0x40000000
lea r15, [rsp + 0x34]
mov rax, qword [rbx + 8]
cmp r14, rax
jae 0x140021ab8
mov r8d, r12d
sub r8d, r14d
cmp r8d, 0x40000000
cmovge r8d, ebp
mov rdx, qword [rbx]
add rdx, r14
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov r9, r15
call sub.KERNEL32.dll_WriteFile
mov ecx, dword [rsp + 0x34]
test rcx, rcx
je 0x140021a8b
test eax, eax
je 0x140021a8b
add r14, rcx
cmp r14, r12
jl 0x140021a40
jmp 0x140021a96
call sub.KERNEL32.dll_GetLastError
test eax, eax
sete sil
mov rcx, rdi
call sub.KERNEL32.dll_CloseHandle
test eax, eax
jne 0x140021aa7
call sub.KERNEL32.dll_GetLastError
mov eax, esi
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov qword [rsp + 0x20], rax
lea rcx, str.c:_odin_core_os_file_windows.odin
mov edx, 0x5b
mov r8d, 0x30
mov r9, r14
call fcn.1400525f0
int3
Function at 0x140022d30
Capabilities:
Access peb ldr_data
Check if file exists
Get file attributes

Disassembly:
push rsi
push rbx
sub rsp, 0xd8
mov rsi, rdx
mov rdx, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], 0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
mov eax, dword [0x14009e890]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rax, [rax + 0x10]
cmp qword [rsi + 0x18], rax
jne 0x140022e2c
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov eax, dword [0x14009e890]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x10]
mov qword [rsp + 0x30], rcx
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140022dcc
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x40], rax
mov eax, dword [0x14009e890]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
inc qword [rax + 0x40]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x70], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rax
lea rax, str.c:_odin_core_os_file_windows.odin
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], 0x21
movabs rax, 0x20000015c
mov qword [rsp + 0xc0], rax
lea rax, str.exists
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], 6
lea r8, [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
mov r9, rsi
call fcn.14002c6d0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140022ed1
cmp qword [rsp + 0x38], 0
je 0x140022efd
call sub.KERNEL32.dll_GetFileAttributesW
cmp eax, 0xffffffff
setne bl
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0xb0]
mov r8, rsi
call fcn.14004c110
mov eax, ebx
add rsp, 0xd8
pop rbx
pop rsi
ret
mov qword [rsp + 0x20], 0
lea rcx, str.c:_odin_core_sys_windows_util.odin
mov edx, 0x39
mov r8d, 0xf
xor r9d, r9d
call fcn.1400525f0
int3
Function at 0x140022f30
Capabilities:
Access peb ldr_data
Get file attributes

Disassembly:
push rsi
push rbx
sub rsp, 0xd8
mov rsi, rdx
mov rdx, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], 0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
mov eax, dword [0x14009e890]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rax, [rax + 0x10]
cmp qword [rsi + 0x18], rax
jne 0x14002302c
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov eax, dword [0x14009e890]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x10]
mov qword [rsp + 0x30], rcx
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140022fcc
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x40], rax
mov eax, dword [0x14009e890]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
inc qword [rax + 0x40]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x70], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rax
lea rax, str.c:_odin_core_os_file_windows.odin
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], 0x21
movabs rax, 0x200000164
mov qword [rsp + 0xc0], rax
lea rax, str.is_file
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], 7
lea r8, [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
mov r9, rsi
call fcn.14002c6d0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400230d1
cmp qword [rsp + 0x38], 0
je 0x1400230fc
call sub.KERNEL32.dll_GetFileAttributesW
test al, 0x10
sete bl
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0xb0]
mov r8, rsi
call fcn.14004c110
mov eax, ebx
add rsp, 0xd8
pop rbx
pop rsi
ret
mov qword [rsp + 0x20], 0
lea rcx, str.c:_odin_core_sys_windows_util.odin
mov edx, 0x39
mov r8d, 0xf
xor r9d, r9d
call fcn.1400525f0
int3
Function at 0x140030820
Capabilities:
Create thread
Resume thread

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rsi, rdx
mov rdi, rcx
mov dword [rsp + 0x4c], 0
mov rax, qword [r8]
test rax, rax
je 0x140030975
mov rbx, r8
mov rcx, qword [r8 + 8]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x40], r8
lea r15, [rsp + 0x50]
mov qword [rsp + 0x38], r15
lea rdx, str.c:_odin_core_thread_thread_windows.odin
mov qword [rsp + 0x30], rdx
movups xmmword [rsp + 0x20], xmm0
xor r12d, r12d
mov r8d, 0xf8
mov r9d, 8
xor edx, edx
call rax
test al, al
jne 0x140030978
mov r14, qword [rsp + 0x50]
test r14, r14
je 0x140030978
movups xmm0, xmmword [rbx]
movups xmmword [r14 + 0xe8], xmm0
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
lea r8, [0x140052cb0]
xor ecx, ecx
xor edx, edx
mov r9, r14
call sub.KERNEL32.dll_CreateThread
test rax, rax
je 0x14003092c
lea rcx, [0x140052ca0]
mov qword [r14 + 0x28], rcx
mov qword [r14], rax
mov ecx, dword [rsp + 0x4c]
mov dword [r14 + 8], ecx
mov rcx, rax
mov edx, 2
call sub.KERNEL32.dll_SetThreadPriority
mov r12, r14
cmp eax, 1
je 0x140030978
mov rax, qword [rbx + 0x20]
test rax, rax
lea r10, [0x140005190]
cmovne r10, rax
lea rcx, str.runtime_assertion
lea rdx, [0x14008e408]
lea r8, str.c:_odin_core_thread_thread_windows.odin
mov r9, rbx
call r10
mov rax, qword [r14 + 0xe8]
test rax, rax
je 0x140030975
mov rcx, qword [r14 + 0xf0]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], r15
lea rdx, str.c:_odin_core_thread_thread_windows.odin
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], 0
mov dl, 1
xor r8d, r8d
xor r9d, r9d
call rax
xor r12d, r12d
mov qword [r12 + 0x30], rdi
or byte [r12 + 0x18], 8
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movups xmm3, xmmword [rsi + 0x30]
movups xmm4, xmmword [rsi + 0x40]
movups xmm5, xmmword [rsi + 0x50]
mov rax, qword [rsi + 0x60]
mov qword [r12 + 0xe0], rax
movups xmmword [r12 + 0xd0], xmm5
movups xmmword [r12 + 0xc0], xmm4
movups xmmword [r12 + 0xb0], xmm3
movups xmmword [r12 + 0xa0], xmm2
add byte [rax], al
movups xmmword [r12 + 0x90], xmm1
movups xmmword [r12 + 0x80], xmm0
lea rsi, [r12 + 0x10]
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
or byte [r12 + 0x18], 1
mov rcx, qword [r12]
call sub.KERNEL32.dll_ResumeThread
mov rcx, rsi
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
nop
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140045360
Capabilities:
Get graphical window text

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r15, rcx
call sub.USER32.dll_GetWindowTextLengthW
cmp qword [rbx + 8], 0
je 0x140045422
mov r14d, eax
mov rdx, qword [rbx]
lea r8d, [r14 + 1]
mov rcx, r15
call sub.USER32.dll_GetWindowTextW
test eax, eax
jle 0x1400453ee
mov rax, qword [rbx + 8]
movsxd rdx, r14d
test r14d, r14d
js 0x140045445
cmp rax, rdx
jl 0x140045445
test r14d, r14d
je 0x1400453f8
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rbx]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8, rdi
call fcn.14002c8d0
test al, al
je 0x1400453fe
movups xmmword [rsi], xmm6
jmp 0x1400453f4
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
xor eax, eax
jmp 0x140045411
xor eax, eax
xor ecx, ecx
jmp 0x140045408
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov al, 1
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov qword [rsp + 0x20], 0
lea rcx, str.w:_dev_PortableBuildTools_master_src_widgets_widgets.odin
mov edx, 0x11a
mov r8d, 0x23
xor r9d, r9d
call fcn.1400525f0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, str.w:_dev_PortableBuildTools_master_src_widgets_widgets.odin
mov edx, 0x11c
mov r8d, 0x28
xor r9d, r9d
call fcn.140004310
int3
Function at 0x140055280
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
lea r11, [0x14008e5b0]
mov r9, rdx
not ecx
cmp r8, 4
jb 0x1400552f9
mov r10, r8
shr r10, 2
imul rax, r10, 0xfffffffffffffffc
add r8, rax
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
add r9, 4
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1400552a0
test r8, r8
je 0x14005531d
nop
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r8, 1
jne 0x140055300
not ecx
mov eax, ecx
ret
Function at 0x1400599a8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400599f2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400599f2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400599f2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400599f2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400599f2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400599f4
xor al, al
add rsp, 0x28
ret

Function at 0x14005f32c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14005f128
Function at 0x1400686e8
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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140068718
xor eax, eax
jmp 0x1400687db
mov rbp, rbx
cmp word [rax], si
je 0x14006873d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140068724
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140068720
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140068608
movsxd r14, eax
test eax, eax
jne 0x14006877b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140068711
mov rcx, r14
call fcn.140066658
mov rdi, rax
test rax, rax
jne 0x140068794
xor ecx, ecx
call fcn.14006661c
jmp 0x140068770
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140068608
test eax, eax
jne 0x1400687c5
mov rcx, rdi
call fcn.14006661c
jmp 0x1400687cf
xor ecx, ecx
call fcn.14006661c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400687f8
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14006887f
mov rsi, rbx
cmp word [rax], bp
je 0x14006883e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140068828
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140068824
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140066658
mov rdi, rax
test rax, rax
je 0x14006886c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400729c0
mov rbp, rdi
xor ecx, ecx
call fcn.14006661c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14006dc40
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140063f90
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14006dcca
cmp byte [rbp - 0x21], r15b
je 0x14006dcc5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14006dd00
call fcn.140064ed0
test eax, eax
jne 0x14006dcec
cmp byte [rbp - 0x21], r15b
je 0x14006dce4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14006dd00
cmp byte [rbp - 0x21], r15b
je 0x14006dcfd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140066f94
test eax, eax
jne 0x14006dda0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140063f90
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14006dd3f
cmp byte [rbp - 0x21], r15b
je 0x14006dd74
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14006dd74
call fcn.140064ed0
test eax, eax
jne 0x14006dd60
cmp byte [rbp - 0x21], r15b
je 0x14006dd59
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14006dd74
cmp byte [rbp - 0x21], r15b
je 0x14006dd71
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140066f94
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14006dda0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14006dda3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14006ddb1
mov rcx, rdi
call fcn.14006661c
cmp byte [rbp + 0x3f], r15b
je 0x14006ddc0
mov rcx, qword [rbp + 0x27]
call fcn.14006661c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret