joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005ad0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x24], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
cmp qword [0x140003010], 0
je 0x140005b26
cmp qword [rsp + 0x70], 0
je 0x140005b1a
mov rax, qword [rsp + 0x70]
mov ecx, dword [0x140003018]
mov dword [rax], ecx
mov rax, qword [0x140003010]
jmp 0x140005ccd
lea rdx, [0x140007540]
lea rcx, [rsp + 0x48]
call fcn.140001198
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140005b56
xor eax, eax
jmp 0x140005ccd
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
xor edx, edx
mov ecx, 0xb
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x24], 0
jne 0x140005b7f
xor eax, eax
jmp 0x140005ccd
mov eax, dword [rsp + 0x24]
mov r8d, dword [0x140003020]
mov edx, eax
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x24]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.140001940
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x30]
mov ecx, 0xb
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jl 0x140005cad
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x140005bf7
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
cmp dword [rsp + 0x20], eax
jae 0x140005cad
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax + 0x10]
cmp qword [rsp + 0x40], rax
jb 0x140005ca8
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x128
mov rdx, qword [rsp + 0x38]
mov ecx, dword [rdx + rcx + 0x18]
mov rdx, qword [rsp + 0x38]
add rcx, qword [rdx + rax + 0x10]
mov rax, rcx
cmp qword [rsp + 0x40], rax
jae 0x140005ca8
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax + 0x10]
mov qword [0x140003010], rax
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x18]
mov dword [0x140003018], eax
cmp qword [rsp + 0x70], 0
je 0x140005ca6
mov rax, qword [rsp + 0x70]
mov ecx, dword [0x140003018]
mov dword [rax], ecx
jmp 0x140005cad
jmp 0x140005bed
cmp qword [rsp + 0x30], 0
je 0x140005cc6
mov edx, dword [0x140003020]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, qword [0x140003010]
add rsp, 0x68
ret
Function at 0x140006700
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14000684e
mov dword [rsp + 0x38], 0
lea r9, [rsp + 0x38]
mov r8w, 0xa
mov dl, 1
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_RtlImageDirectoryEntryToData]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14000684c
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14000677d
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x40], rax
jmp 0x14000678a
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14000684c
mov rax, qword [rsp + 0x70]
shr rax, 0x20
mov ecx, dword [rsp + 0x70]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
lea rcx, [rsp + 0x3c]
call qword [sym.imp.ntoskrnl.exe_RtlRandomEx]
mov eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140006814
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x1400067f8
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x48], rax
jmp 0x140006805
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
mov qword [rax], rcx
jmp 0x14000684c
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140006834
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x50], rax
jmp 0x140006841
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x58]
mov dword [rax], ecx
jmp 0x140006856
mov dword [rsp + 0x28], 0xc000007b
mov eax, dword [rsp + 0x28]
add rsp, 0x68
ret
Function at 0x14000dbac
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 0x14000dbdc
xor eax, eax
jmp 0x14000dc9f
mov rbp, rbx
cmp word [rax], si
je 0x14000dc01
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000dbe8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000dbe4
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.14000dafc
movsxd r14, eax
test eax, eax
jne 0x14000dc3f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000dbd5
mov rcx, r14
call fcn.14000a3ac
mov rdi, rax
test rax, rax
jne 0x14000dc58
xor ecx, ecx
call fcn.140009728
jmp 0x14000dc34
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.14000dafc
test eax, eax
jne 0x14000dc89
mov rcx, rdi
call fcn.140009728
jmp 0x14000dc93
xor ecx, ecx
call fcn.140009728
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 0x180e11160
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.180e112e7
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180e11191
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180e11177
add dl, dl
jne 0x180e1119e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180e111fe
xor eax, eax
add dl, dl
jne 0x180e111ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180e112b5
add dl, dl
jne 0x180e111be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180e111cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180e111d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180e111e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180e111f2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180e11186
mov eax, 1
add dl, dl
jne 0x180e1120e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180e1121b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180e11203
sub eax, ebx
mov ebx, 1
jne 0x180e11254
mov ecx, 1
add dl, dl
jne 0x180e11236
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180e11243
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180e1122b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180e11186
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180e11270
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180e1127d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180e11265
cmp eax, 0x7d00
jae 0x180e112a3
cmp eax, 0x500
jb 0x180e1129e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180e11186
cmp eax, 0x7f
ja 0x180e112a6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180e11186
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180e112da
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x180e11186
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x6dd8bf50
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.6dd934b0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.6dd934b0
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x6dd8bfc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x6de865e4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x6dd8c168
mov rax, qword [0x6de865e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x6dd8c00c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x6dd8c097
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x6dd8bff0
mov rcx, r12
call fcn.6dd8ccc0
mov rbp, rax
test rax, rax
je 0x6dd8c1a2
mov rax, qword [0x6de865e8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.6dd8cdf0
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6de865e8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6dd8c1b1
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x6dd8c090
sub eax, 4
and eax, 0xfffffffb
jne 0x6dd8c120
add dword [0x6de865e4], 1
cmp ebx, 8
jae 0x6dd8c0c8
test bl, 4
jne 0x6dd8c170
test ebx, ebx
je 0x6dd8c0b9
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x6dd8c190
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x6dd8c0b9
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x6dd8c0fa
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x6de865e8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6dd8c090
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.6dd8bf50
nop dword [rax]
xor edi, edi
jmp 0x6dd8c017
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x6dd8c0b9
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x6dd8c0b9
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.6dd8bf50
mov rax, qword [0x6de865e8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.6dd8bf50
nop
nop dword [rax]
Function at 0x6dd8c930
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6de868c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6de868a0]
test rbx, rbx
je 0x6dd8c984
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x6dd8c97b
test r12, r12
je 0x6dd8c97b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6dd8c960
lea rcx, [0x6de868c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x6dd8ccc0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x6ddd89e0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x6dd8cd39
mov rcx, r10
call fcn.6dd8cb90
test eax, eax
je 0x6dd8cd39
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x6dd8cd36
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x6dd8cd2d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x6dd8cd39
add r8, 0x28
cmp r8, r9
jne 0x6dd8cd18
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x6dd8d040
Capabilities:
Allocate thread local storage

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [0x6de868a8]
mov edi, ecx
mov rsi, rdx
test eax, eax
jne 0x6dd8c9c0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, 0x18
mov ecx, 1
call sub.msvcrt.dll_calloc
mov rbx, rax
test rax, rax
je 0x6dd8ca13
mov dword [rax], edi
lea rcx, [0x6de868c0]
mov qword [rax + 8], rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x6de868a0]
lea rcx, [0x6de868c0]
mov qword [0x6de868a0], rbx
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
or eax, 0xffffffff
jmp 0x6dd8c9b6
push r12
push rbx
sub rsp, 0x28
mov rbx, rcx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, eax
cmp eax, 0xffffffff
je 0x6dd8d070
mov rdx, r12
mov dword [rbx], eax
add rsp, 0x28
pop rbx
pop r12
jmp 0x6dd93640
add rsp, 0x28
pop rbx
pop r12
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
test rdx, rdx
jne 0x6dd93650
xor eax, eax
ret
jmp 0x6dd8c9a0

Function at 0x6dd8d0b0
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
sub rsp, 0x28
mov r12d, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, r12d
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, r13d
mov r12, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x28
pop r12
pop r13
ret

Function at 0x6dd8d0f0
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x6dd8d108
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x6dd95960
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
movups xmmword [rsp + 0x80], xmm6
movups xmmword [rsp + 0x90], xmm7
movups xmmword [rsp + 0xa0], xmm8
pxor xmm7, xmm7
mov rsi, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movupd xmm6, xmm1
lea rdi, [rsp + 0x30]
mov rbx, rcx
mov rcx, rdi
call rsi
comisd xmm7, xmm6
mov rdx, qword [rbx]
mov rax, qword [rsp + 0x30]
movsd xmm1, qword [rbx + 0x18]
movsd xmm2, qword [rdx]
ja 0x6dd95b80
comisd xmm6, xmm7
je 0x6dd95a80
pxor xmm0, xmm0
subsd xmm6, qword [0x6ddd5e30]
cvtsi2sd xmm0, rax
divsd xmm0, xmm2
subsd xmm0, xmm1
addsd xmm6, xmm0
comisd xmm0, xmm6
jae 0x6dd95b70
mov r14, qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov r15, qword [sym.imp.USER32.dll_WaitMessage]
lea r13, [rbx + 0x20]
lea rbp, [rbx + 0x28]
movsd xmm8, qword [0x6ddd5e38]
jmp 0x6dd95a6c
mulsd xmm3, xmm8
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0x4bf
cvttsd2si r9, xmm3
call r14
mov rdx, rbp
mov rcx, r13
call fcn.6ddb44a0
mov r12d, eax
test eax, eax
jne 0x6dd95a90
mov rcx, rdi
call rsi
mov rcx, qword [rbx]
pxor xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x30]
divsd xmm0, qword [rcx]
subsd xmm0, qword [rbx + 0x18]
comisd xmm0, xmm6
jae 0x6dd95b70
movupd xmm3, xmm6
subsd xmm3, xmm0
comisd xmm7, xmm3
jbe 0x6dd95a18
call r15
jmp 0x6dd95a34
lea rdx, [rbx + 0x28]
lea rcx, [rbx + 0x20]
call fcn.6ddb44a0
mov r12d, eax
xor esi, esi
cmp qword [rbx + 0x20], 0
mov r13, qword [sym.imp.USER32.dll_UpdateWindow]
je 0x6dd95ac6
mov r8, qword [rbx + 0x28]
mov rax, qword [r8 + rsi*8]
cmp byte [rax + 0xb0], 0
jne 0x6dd95b00
mov r10, qword [rax + 0x10]
add rsi, 1
mov rcx, qword [r10 + 0x30]
call r13
cmp qword [rbx + 0x20], rsi
ja 0x6dd95aa0
movups xmm6, xmmword [rsp + 0x80]
movups xmm7, xmmword [rsp + 0x90]
mov eax, r12d
movups xmm8, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x30], 0
mov rdx, rdi
mov rcx, rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x30], 6
call qword [rax + 0x20]
mov r9, qword [rbx + 0x28]
mov rax, qword [r9 + rsi*8]
jmp 0x6dd95ab1
xor r12d, r12d
jmp 0x6dd95a90
call qword [sym.imp.USER32.dll_WaitMessage]
lea rdx, [rbx + 0x28]
lea rcx, [rbx + 0x20]
call fcn.6ddb44a0
mov r12d, eax
jmp 0x6dd95a90
Function at 0x6dd9ef40
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov r12, qword [rcx + 0x10]
mov rsi, rdx
mov rbp, r8
mov rbx, r9
test r8, r8
je 0x6dd9f090
mov rcx, qword [r12 + 0x48]
lea rdx, [r9 + 1]
call sub.msvcrt.dll_realloc
mov rcx, rax
test rax, rax
je 0x6dd9f0c1
mov r8, rbx
mov rdx, rbp
call sub.msvcrt.dll_memcpy
mov byte [rax + rbx], 0
mov qword [r12 + 0x50], rbx
mov qword [r12 + 0x48], rax
lea rdi, str.text_plain
mov ecx, 0xb
mov r13d, 0xb
repe cmpsb byte [rsi], byte [rdi]
seta al
sbb al, 0
test al, al
jne 0x6dd9f076
mov rcx, qword [r12 + 0x30]
mov r13d, 2
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x6dd9f076
mov r9d, 0xffffffff
mov r8, rbp
xor edx, edx
mov ecx, 0xfde9
mov dword [rsp + 0x28], 0
mov r14, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov qword [rsp + 0x20], 0
call r14
mov ecx, 2
lea edx, [rax + 1]
mov edi, eax
movsxd rsi, edx
add rsi, rsi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r12, rax
test rax, rax
je 0x6dd9f0b9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r15, rax
test rax, rax
je 0x6dd9f0b0
mov r9d, ebx
xor edx, edx
mov r8, rbp
mov ecx, 0xfde9
mov dword [rsp + 0x28], edi
xor r13d, r13d
mov qword [rsp + 0x20], rax
call r14
xor r8d, r8d
mov rcx, r12
mov word [r15 + rsi - 2], r8w
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, r12
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov eax, r13d
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [r12 + 0x50], 0
mov qword [r12 + 0x48], 0
jmp 0x6dd9ef99
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalFree]
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x6dd9f076
mov rcx, qword [r12 + 0x48]
mov r13d, 0xc
call sub.msvcrt.dll_free
mov qword [r12 + 0x50], 0
jmp 0x6dd9f076
Function at 0x6ddaa930
Capabilities:
Query environment variable

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
lea rax, fcn.6ddab0c0
mov qword [rcx + 8], rdx
mov rdx, qword [rdx + 8]
mov rbx, rcx
mov qword [rcx], rax
lea rsi, [rbx + 0x30]
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r8
mov rcx, qword [rdx]
test rcx, rcx
je 0x6ddaaa30
call fcn.6dd96940
mov qword [rbx + 0x40], 0
movq xmm1, rsi
lea rcx, str.DPF_SCALE_FACTOR
mov qword [rbx + 0x20], rax
punpcklqdq xmm1, xmm1
mov r12, rax
mov dword [rbx + 0x48], 1
movups xmmword [rbx + 0x30], xmm1
call sub.msvcrt.dll_getenv
mov rcx, rax
test rax, rax
je 0x6ddaaa10
call sub.msvcrt.dll_atof
movsd xmm2, qword [0x6ddd55a0]
maxsd xmm0, xmm2
mov byte [rbx + 0x58], 0
pxor xmm3, xmm3
xor r9d, r9d
mov edx, 0x280
mov byte [rbx + 0x90], 0
mov r8d, 0x1e0
mov rcx, rbx
mov qword [rbx + 0x68], 0
mov qword [rbx + 0x70], 0
mov qword [rbx + 0x88], 0
movsd qword [rbx + 0x50], xmm0
movsd qword [rbx + 0x60], xmm2
movups xmmword [rbx + 0x78], xmm3
call fcn.6ddaa570
nop
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
test r12, r12
je 0x6ddaaa6c
mov rcx, r12
call fcn.6dda14b0
movsd xmm2, qword [0x6ddd55a0]
jmp 0x6ddaa9b2
mov qword [rbx + 0x20], 0
movq xmm0, rsi
lea rcx, str.DPF_SCALE_FACTOR
mov qword [rbx + 0x40], 0
punpcklqdq xmm0, xmm0
mov dword [rbx + 0x48], 1
movups xmmword [rbx + 0x30], xmm0
call sub.msvcrt.dll_getenv
mov rcx, rax
test rax, rax
jne 0x6ddaa9a1
movsd xmm2, qword [0x6ddd55a0]
movupd xmm0, xmm2
jmp 0x6ddaa9b2
Function at 0x6ddaac30
Capabilities:
Query environment variable

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
movups xmmword [rsp + 0x20], xmm6
lea rax, fcn.6ddab0c0
movsd xmm6, qword [rsp + 0x80]
mov edi, dword [rsp + 0x88]
mov qword [rcx + 8], rdx
mov rdx, qword [rdx + 8]
mov rbx, rcx
mov rsi, r9
mov qword [rcx], rax
mov r12, qword [rdx]
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r8
test r12, r12
je 0x6ddaad90
mov rcx, r12
call fcn.6dd96940
mov r12, rax
test rax, rax
je 0x6ddaac96
mov rdx, rsi
mov rcx, rax
call fcn.6dd9fe50
test rsi, rsi
lea rbp, [rbx + 0x30]
mov qword [rbx + 0x20], r12
setne cl
sete byte [rbx + 0x48]
movq xmm0, rbp
comisd xmm6, xmmword [0x6ddd55a8]
punpcklqdq xmm0, xmm0
mov qword [rbx + 0x40], 0
mov byte [rbx + 0x49], cl
mov byte [rbx + 0x4a], cl
mov byte [rbx + 0x4b], 0
movups xmmword [rbx + 0x30], xmm0
jne 0x6ddaad18
lea rcx, str.DPF_SCALE_FACTOR
call sub.msvcrt.dll_getenv
mov rcx, rax
test rax, rax
je 0x6ddaad00
call sub.msvcrt.dll_atof
movsd xmm1, qword [0x6ddd55a0]
movupd xmm6, xmm0
maxsd xmm6, xmm1
jmp 0x6ddaad20
test r12, r12
je 0x6ddaad80
mov rcx, r12
call fcn.6dda14b0
movupd xmm6, xmm0
nop dword [rax]
movsd xmm1, qword [0x6ddd55a0]
mov byte [rbx + 0x58], 0
pxor xmm2, xmm2
movzx r9d, dil
mov rcx, rbx
mov qword [rbx + 0x68], 0
mov r8d, 0x1e0
mov edx, 0x280
mov qword [rbx + 0x70], 0
mov qword [rbx + 0x88], 0
mov byte [rbx + 0x90], 0
movsd qword [rbx + 0x50], xmm6
movsd qword [rbx + 0x60], xmm1
movups xmmword [rbx + 0x78], xmm2
call fcn.6ddaa570
nop
movups xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
movsd xmm6, qword [0x6ddd55a0]
movupd xmm1, xmm6
jmp 0x6ddaad20
mov r9d, 0x52
lea r8, str.src_WindowPrivateData.cpp
lea rdx, str.world___nullptr
lea rcx, [0x6ddd53b0]
call fcn.6dd94aa0
jmp 0x6ddaac96