joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140056360
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x390], rbx
mov rax, qword [0x1400bf030]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov r10, rdx
mov rsi, rcx
xor ebx, ebx
mov dword [rsp + 0x28], ebx
lea rdi, [rbp + 0x40]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
mov rcx, r10
call qword [sym.imp.SHELL32.DLL_SHGetKnownFolderPath]
test eax, eax
jns 0x140056404
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.OLE32.DLL_CoTaskMemFree]
lea rcx, [rbp - 0x20]
call fcn.140024200
nop
mov rcx, rax
call fcn.1400568a0
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1400243e0
lea rdx, [0x1400bb068]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rbx
mov word [rsp + 0x60], bx
mov rdx, qword [rsp + 0x20]
cmp word [rdx], bx
jne 0x140056426
mov r8, rbx
jmp 0x14005643a
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], bx
jne 0x140056430
lea rcx, [rsp + 0x60]
call fcn.14002a140
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
lea rcx, [rbp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.OLE32.DLL_CoTaskMemFree]
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x30], bx
cmp word [rbp + 0x40], 0
je 0x14005649a
lea rax, [rbp + 0x40]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140056490
mov r8, rbx
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14002a140
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140024520
nop
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x1400564d1
inc r8
mov rdx, qword [rsp + 0x60]
call fcn.14002aac0
mov rax, rsi
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.14005b100
mov rbx, qword [rsp + 0x390]
add rsp, 0x360
pop rdi
pop rsi
pop rbp
ret

Function at 0x140057790
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x150
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1400bf030]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
call fcn.140057690
cmp qword [rbx + 0x20], 8
jb 0x1400577c9
mov rcx, qword [rbx + 8]
jmp 0x1400577cd
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x14005786c
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x38]
call fcn.1400294b0
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140024520
mov rbx, rax
lea rcx, [rsp + 0xe0]
call fcn.140024200
nop
lea rdx, str.Error_when_deleting_file:
mov rcx, rax
call fcn.14002d100
mov rcx, rax
mov rdx, rbx
call fcn.140037470
mov rcx, rax
lea rdx, str.Last_error:
call fcn.14002d100
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.14003a1b0
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.1400243e0
lea rdx, [0x1400bb068]
lea rcx, [rsp + 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14005b100
add rsp, 0x150
pop rbx
ret
Function at 0x140057890
Capabilities:
Move file

Disassembly:
push rdi
sub rsp, 0x190
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x1b0], rbx
mov rax, qword [0x1400bf030]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rdi, rdx
mov rbx, rcx
call fcn.140057690
cmp qword [rdi + 0x18], 8
jb 0x1400578d3
mov rdx, qword [rdi]
jmp 0x1400578d6
mov rdx, rdi
cmp qword [rbx + 0x20], 8
jb 0x1400578e3
mov rcx, qword [rbx + 8]
jmp 0x1400578e7
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_MoveFileW]
test eax, eax
jne 0x1400579b9
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x20], eax
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.1400294b0
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140024520
mov rdi, rax
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x58]
call fcn.1400294b0
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.140024520
mov rbx, rax
lea rcx, [rsp + 0x120]
call fcn.140024200
nop
lea rdx, str.Error_when_renaming_file_from
mov rcx, rax
call fcn.14002d100
mov rcx, rax
mov rdx, rbx
call fcn.140037470
mov rcx, rax
call fcn.1400580b0
mov rcx, rax
mov rdx, rdi
call fcn.140037470
mov rcx, rax
lea rdx, str.Last_error:
call fcn.14002d100
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.14003a1b0
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.1400243e0
lea rdx, [0x1400bb068]
lea rcx, [rsp + 0xc0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14005b100
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x190
pop rdi
ret

Function at 0x140057b90
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x180
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1400bf030]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], 0
test rdx, rdx
je 0x140057cb9
mov edx, 0xc0000004
mov r9d, 2
call fcn.1400574c0
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, esi
mov rdx, rdi
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x140057cf4
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x30], eax
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x50]
call fcn.1400294b0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140024520
mov rbx, rax
lea rcx, [rsp + 0x110]
call fcn.140024200
nop
mov rcx, rax
call fcn.140058270
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.1400510d0
mov rcx, rax
lea rdx, str._bytes_to_file
call fcn.14002d100
mov rcx, rax
mov rdx, rbx
call fcn.140037470
mov rcx, rax
lea rdx, str.Last_error:
call fcn.14002d100
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.14003a1b0
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.1400243e0
lea rdx, [0x1400bb068]
lea rcx, [rsp + 0xb0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Invalid_data_passed
lea rcx, [rsp + 0x50]
call fcn.140029640
nop
mov dword [rsp + 0x30], 1
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.14002e040
lea rdx, [0x1400bb1c8]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14005b100
add rsp, 0x180
pop rdi
pop rsi
pop rbx
ret
Function at 0x140057d10
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x170
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x1a8], rbx
mov rax, qword [0x1400bf030]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
mov dword [rsp + 0x30], 0
test rdx, rdx
je 0x140057e88
add rcx, 8
call fcn.140057370
cmp eax, edi
jb 0x140057e4d
mov rax, qword [rbx + 0x28]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140057d7e
mov rcx, rbx
call fcn.140057690
xor r9d, r9d
mov edx, 0x80000000
mov rcx, rbx
call fcn.1400574c0
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, edi
mov rdx, rsi
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x140057ec3
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x30], eax
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x48]
call fcn.1400294b0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140024520
mov rbx, rax
lea rcx, [rsp + 0x100]
call fcn.140024200
nop
lea rdx, str.Error_when_reading_file
mov rcx, rax
call fcn.14002d100
mov rcx, rax
mov rdx, rbx
call fcn.140037470
mov rcx, rax
lea rdx, str.Last_error:
call fcn.14002d100
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.14003a1b0
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.1400243e0
lea rdx, [0x1400bb068]
lea rcx, [rsp + 0xa0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Invalid_size_passed
lea rcx, [rsp + 0x48]
call fcn.140029640
nop
mov dword [rsp + 0x30], 2
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x68]
call fcn.14002e040
lea rdx, [0x1400bb1c8]
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Invalid_data_passed
lea rcx, [rsp + 0x48]
call fcn.140029640
nop
mov dword [rsp + 0x30], 1
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x68]
call fcn.14002e040
lea rdx, [0x1400bb1c8]
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14005b100
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x170
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005a350
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1400bf030]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea r8, [0x1400a66c4]
lea rcx, [rsp + 0x20]
call fcn.1400474a0
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
mov r8, qword [rsp + 0x38]
cmp r8, 8
jb 0x14005a3a3
mov rdx, qword [rsp + 0x20]
inc r8
call fcn.14002aac0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14005b100
add rsp, 0x58
ret
Function at 0x401ea0
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.00403040
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.00403040
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 0x401f10
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x0041a614]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x4020b8
mov rax, qword [0x0041a618]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x401f5c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x401fe7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x401f40
mov rcx, r12
call fcn.00402c70
mov rbp, rax
test rax, rax
je 0x4020f2
mov rax, qword [0x0041a618]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.00402da0
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x0041a618]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x402101
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x401fe0
sub eax, 4
and eax, 0xfffffffb
jne 0x402070
add dword [0x0041a614], 1
cmp ebx, 8
jae 0x402018
test bl, 4
jne 0x4020c0
test ebx, ebx
je 0x402009
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x4020e0
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 0x402009
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 0x40204a
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 [0x0041a618]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x401fe0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00401ea0
nop dword [rax]
xor edi, edi
jmp 0x401f67
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x402009
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x402009
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.00401ea0
mov rax, qword [0x0041a618]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.00401ea0
nop
nop dword [rax]
Function at 0x4028e0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0041a900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0041a8e0]
test rbx, rbx
je 0x402934
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 0x40292b
test r12, r12
je 0x40292b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402910
lea rcx, [0x0041a900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x402c70
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x00416cd0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x402ce9
mov rcx, r10
call fcn.00402b40
test eax, eax
je 0x402ce9
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 0x402ce6
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 0x402cdd
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x402ce9
add r8, 0x28
cmp r8, r9
jne 0x402cc8
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x180002ea8
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0xa0
movdqa xmm0, xmmword [0x180033be0]
movdqa xmm1, xmmword [0x180033c30]
mov rbx, qword [0x18003ccf0]
movdqa xmmword [rax - 0x48], xmm0
movdqa xmm0, xmmword [0x180033c20]
movdqa xmmword [rax - 0x38], xmm1
movdqa xmm1, xmmword [0x180033bd0]
movdqa xmmword [rax - 0x28], xmm0
movdqa xmm0, xmmword [0x180033bf0]
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmm0, xmmword [0x180033bc0]
movdqa xmmword [rax - 0x18], xmm1
movdqa xmm1, xmmword [0x180033c00]
movdqa xmmword [rax - 0x78], xmm1
movdqa xmm1, xmmword [0x180033c10]
movdqa xmmword [rax - 0x58], xmm1
movdqa xmmword [rax - 0x68], xmm0
call fcn.180006328
mov edx, 0xc9
mov r8d, 2
mov rcx, rbx
call rax
mov esi, dword [rax + 4]
mov edi, dword [rax]
mov ecx, esi
add rdi, rbx
mov ebx, esi
call fcn.18000a178
xor r10d, r10d
mov rcx, rax
test rax, rax
je 0x180002f6c
test esi, esi
je 0x180002f6c
mov byte [rax], r10b
inc rax
sub rbx, 1
jne 0x180002f60
lea rdx, [rdi + 0x67]
mov r8d, esi
call fcn.180002fd0
mov rdx, rcx
mov r8d, 0x49200
mov r11d, r10d
mov eax, r11d
inc r11d
and eax, 0xf
mov al, byte [rsp + rax*4 + 0x20]
xor byte [rdx], al
inc rdx
cmp r11d, r8d
jb 0x180002f84
mov rdx, rcx
mov eax, r10d
inc r10d
and eax, 0xf
mov al, byte [rsp + rax*4 + 0x60]
xor byte [rdx], al
inc rdx
cmp r10d, r8d
jb 0x180002f9e
lea r11, [rsp + 0xa0]
mov rax, rcx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x180004028
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x50
movaps xmmword [rax - 0x18], xmm6
mov edi, 0x59
xorps xmm6, xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
cvtsi2ss xmm6, rdi
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
call qword [sym.imp.USER32.dll_GetCapture]
movss xmm8, dword [0x180033aec]
mov rbx, rdi
movaps xmm7, xmm6
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
movsx eax, bl
movsx ecx, bl
imul ecx, eax
mulss xmm7, xmm8
movsx rax, cl
movaps xmm8, xmm7
cqo
movsx ecx, cl
idiv rbx
xorps xmm7, xmm7
movaps xmm0, xmm8
movd xmm1, ecx
mov rbx, rax
cvtdq2ps xmm1, xmm1
cvtsi2ss xmm7, rax
divss xmm0, xmm7
subss xmm1, xmm0
cvttss2si eax, xmm1
cmp al, 0xb
jl 0x180004069
cmp al, 0x2a
jge 0x18000404e
movsd xmm1, qword [0x180033a00]
movaps xmm0, xmm1
divsd xmm0, xmm1
cvttsd2si eax, xmm0
movaps xmm1, xmm0
cmp al, 0x30
jl 0x1800040bf
mov rbx, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x20]
movsx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
add rsp, 0x50
pop rdi
ret

Function at 0x180004450
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
sub rsp, 0x88
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movsd xmm8, qword [0x1800338d0]
comisd xmm8, xmm0
movaps xmmword [rax - 0x48], xmm10
movaps xmmword [rax - 0x58], xmm11
movaps xmmword [rax - 0x68], xmm12
jbe 0x18000458b
movsd xmm12, qword [0x180033938]
movsd xmm10, qword [0x180033850]
movss xmm11, dword [0x180033a60]
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
movsd xmm6, qword [0x180033910]
call qword [sym.imp.USER32.dll_GetShellWindow]
movaps xmm0, xmm6
call fcn.180004450
movd xmm6, eax
cvtdq2pd xmm6, xmm6
comisd xmm12, xmm6
jae 0x1800044b3
movss xmm7, dword [0x180033b7c]
jmp 0x18000450b
call qword [sym.imp.USER32.dll_GetDialogBaseUnits]
movaps xmm0, xmm7
divss xmm0, xmm7
movaps xmm7, xmm0
cvttss2si ecx, xmm7
call fcn.180004410
movsx ecx, al
movaps xmm1, xmm7
xorps xmm6, xmm6
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvtss2sd xmm6, xmm1
ucomisd xmm6, qword [0x180033840]
jp 0x1800044da
jne 0x1800044da
comisd xmm10, xmm6
movss xmm7, dword [0x180033b80]
jbe 0x18000453c
call qword [sym.imp.USER32.dll_EmptyClipboard]
movaps xmm0, xmm7
divss xmm0, xmm7
comiss xmm11, xmm0
movaps xmm7, xmm0
ja 0x180004526
mov edx, 0x1f
lea ecx, [rdx + 0x1c]
mov eax, ecx
imul eax, edx
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call fcn.180004410
mov edx, eax
movd xmm1, edx
cvtdq2ps xmm1, xmm1
addss xmm1, xmm6
cvttss2si ecx, xmm1
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvtps2pd xmm0, xmm1
ucomisd xmm0, qword [0x1800338f8]
jp 0x180004544
jne 0x180004544
comisd xmm8, xmm0
ja 0x1800044a5
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x30]
movaps xmm12, xmmword [rsp + 0x20]
cvttsd2si eax, xmm0
add rsp, 0x88
ret
Function at 0x180004608
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r13, rdx
mov r12, rcx
rdtscp
shl rdx, 0x20
mov r9d, 0x989680
or rax, rdx
cmp rax, r9
jbe 0x180004646
mov ebx, 0xd75ed99
jmp 0x18000465e
rdtscp
shl rdx, 0x20
or rax, rdx
xor edx, edx
mov rcx, rax
mov rax, r9
div rcx
mov rbx, rax
rdtscp
shl rdx, 0x20
or rax, rdx
mov ecx, eax
movabs rax, 0x58ed2308158ed231
imul rsi, rcx, 0xb1d7
mov cl, bl
mul rsi
mov rax, rsi
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 6
imul rax, rax, 0x5f
sub rsi, rax
add esi, 3
xor edi, edi
test r12, r12
je 0x180004729
mov r14, qword gs:[0x60]
mov ebp, ebx
cmp ebx, esi
jle 0x1800046f5
lea r15d, [rbx + rbx]
cmp r15d, esi
jge 0x1800046ed
mov eax, 0x59
cmp cl, 0x16
jge 0x1800046d0
add rax, rax
mov cl, al
cmp al, 0x16
jl 0x1800046c7
cmp cl, 0x4a
jg 0x1800046dd
call qword [sym.imp.USER32.dll_GetMenuCheckMarkDimensions]
jmp 0x1800046e3
call qword [sym.imp.USER32.dll_EmptyClipboard]
inc ebp
mov cl, 0x71
cmp ebp, esi
jg 0x1800046b8
jmp 0x1800046f5
mov rax, qword [r14 + 0x18]
mov rdi, qword [rax + 0x20]
mov rdx, qword [r14 + 0x18]
add rdx, 0x20
cmp rdi, rdx
je 0x180004729
lea eax, [rbx + 4]
movsxd r9, esi
movsxd r8, eax
cmp r8, r9
jle 0x180004783
cmp qword [rdi + 0x20], r12
je 0x180004778
cmp ebx, esi
jle 0x180004724
lea eax, [rbx + rbx]
cmp eax, esi
jl 0x180004748
mov rdi, qword [rdi]
cmp rdi, rdx
jne 0x18000470b
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp cl, 0x57
jne 0x18000475d
call qword [sym.imp.KERNEL32.dll_FlushProcessWriteBuffers]
movsd xmm0, qword [0x1800339f0]
jmp 0x18000476b
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movsd xmm0, qword [0x180033928]
call fcn.180002ffc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
jmp 0x180004770
mov qword [rdi + 0x20], r13
mov eax, 1
jmp 0x18000472b
cmp cl, 0x7a
jg 0x180004795
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, 0x25
jmp 0x18000479a
mov ecx, 1
call fcn.1800031a8
movsd xmm2, qword [0x180033970]
mov eax, 0x3a
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
movaps xmm0, xmm1
mulsd xmm0, xmm2
addsd xmm1, xmm0
movaps xmm2, xmm0
cvttsd2si rax, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
subsd xmm0, xmm1
cvttsd2si eax, xmm0
cmp al, 0x68
jge 0x1800047b4
cmp al, 0x26
jl 0x1800047f6
call qword [sym.imp.ole32.dll_CoUninitialize]
movsd xmm0, qword [0x180033928]
call fcn.180003208
mov cl, al
jmp 0x180004783
call qword [sym.imp.USER32.dll_GetClipboardSequenceNumber]
xor cl, cl
jmp 0x180004783
Function at 0x180006328
Capabilities:
Access peb ldr_data
Resolve function by hash
Resolve function by parsing pe exports

Disassembly:
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rdx, qword [rcx + 0x20]
jmp 0x180006375
mov r8, qword [rdx + 0x50]
xor ecx, ecx
movzx r9d, word [rdx + 0x48]
ror ecx, 0xd
cmp byte [r8], 0x61
jb 0x18000635a
movzx eax, byte [r8]
sub eax, 0x20
cdqe
jmp 0x18000635e
movzx eax, byte [r8]
add rcx, rax
inc r8
sub r9, 1
jne 0x180006346
cmp ecx, 0x6a4abc5b
je 0x18000637d
mov rdx, qword [rdx]
test rdx, rdx
jne 0x18000633b
xor eax, eax
ret
mov r8, qword [rdx + 0x20]
movsxd rax, dword [r8 + 0x3c]
mov r11d, dword [rax + r8 + 0x88]
mov edx, dword [r11 + r8 + 0x20]
mov ecx, dword [r11 + r8 + 0x24]
add rdx, r8
add rcx, r8
mov r9d, dword [rdx]
add r9, r8
xor r10d, r10d
mov al, byte [r9]
inc r9
ror r10d, 0xd
movsx eax, al
add r10d, eax
mov al, byte [r9]
test al, al
jne 0x1800063a9
cmp r10d, 0x3bd09a55
je 0x1800063d0
add rdx, 4
add rcx, 2
jmp 0x18000639d
movzx edx, word [rcx]
mov ecx, dword [r11 + r8 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
ret

Function at 0x1800066e4
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x180006776
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x180006750
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18000676f
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000676f
mov rdx, qword [rdi]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rsi
call rax
jmp 0x18000675f
cmp dword [rdi + 8], 0
je 0x18000676f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov eax, 1
jmp 0x18000675f
cmp byte [0x18003cde0], 0
jne 0x1800067c1
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800067ad
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
mov qword [0x18003cdd8], rax
jmp 0x1800067b4
mov r10, qword [0x18003cdd8]
mov eax, 1
mov byte [0x18003cde0], al
jmp 0x1800067c8
mov r10, qword [0x18003cdd8]
mov rcx, qword [rbx]
mov rdx, rsi
test r10, r10
je 0x180006759
mov r8d, dword [rbx + 8]
xor r9d, r9d
call r10
jmp 0x18000675f