joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10000590c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov rdi, qword [rdx]
xor ebx, ebx
mov rbp, rcx
mov dword [rsp + 0x70], ebx
mov dword [rsp + 0x78], ebx
mov qword [rdi], rcx
lea rcx, [rsp + 0x78]
call sub.P2PCOLLAB.dll_CollabGetUserSettings
cmp eax, ebx
jl 0x100005947
mov dl, byte [rsp + 0x78]
mov rcx, rdi
and dl, 1
call fcn.1000067e4
mov r8, rdi
mov edx, 0xffffffeb
mov rcx, rbp
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
lea rcx, [rsp + 0x70]
call sub.P2PCOLLAB.dll_CollabGetSignInInfo
cmp eax, ebx
jl 0x100005998
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x80], ebx
call fcn.100010934
mov edx, dword [rsp + 0x70]
cmp eax, ebx
jl 0x10000598d
or edx, dword [rsp + 0x80]
mov dword [rsp + 0x70], edx
mov r8, rbp
mov rcx, rdi
call fcn.1000065d0
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x88], ebx
mov dword [rsp + 0x80], 4
mov qword [rsp + 0x38], rbx
mov byte [rdi + 0x38], 1
call fcn.100012d58
cmp eax, ebx
mov esi, eax
lea r12, [0x10001c770]
jl 0x100005a42
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
lea rdx, [0x1000044c8]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x100005a1f
cmp dword [rsp + 0x30], 4
jne 0x100005a25
cmp dword [rsp + 0x80], 4
jne 0x100005a25
cmp dword [rsp + 0x88], ebx
jne 0x100005a25
mov byte [rdi + 0x38], bl
cmp eax, 2
cmove eax, ebx
mov rcx, qword [rsp + 0x38]
movzx esi, ax
or esi, 0x80070000
cmp eax, ebx
cmovle esi, eax
call qword [sym.imp.KERNEL32.dll_RegCloseKey]
cmp esi, ebx
jge 0x100005a72
mov rcx, qword [0x10001c770]
cmp rcx, r12
je 0x100005a72
test byte [rcx + 0x5c], 2
je 0x100005a72
cmp byte [rcx + 0x59], 1
jb 0x100005a72
mov rcx, qword [rcx + 0x50]
lea r8, [0x100001ea0]
mov edx, 0xf
mov r9d, esi
call fcn.100005080
mov rcx, rdi
call fcn.100007134
lea rcx, [0x100003f88]
call qword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov rcx, rdi
mov dword [rdi + 0x3c], eax
call fcn.100006424
cmp eax, ebx
mov edi, eax
jl 0x100005ac9
cmp byte [0x10001d0a2], bl
je 0x100005af9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movsxd r9, dword [0x10001c5b8]
mov edx, 0x800d
shl eax, 0x10
mov rcx, rbp
mov r8d, eax
call qword [sym.imp.USER32.dll_PostMessageW]
mov byte [0x10001d0a2], bl
jmp 0x100005af9
mov rcx, qword [0x10001c770]
cmp rcx, r12
je 0x100005af9
test byte [rcx + 0x5c], 0x10
je 0x100005af9
cmp byte [rcx + 0x59], 1
jb 0x100005af9
mov rcx, qword [rcx + 0x50]
lea r8, [0x100001f40]
mov edx, 0xc
mov r9d, eax
call fcn.100005080
cmp edi, ebx
setge bl
lea rax, [rbx - 1]
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1000071f8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
lea rcx, [rsp + 0x38]
xor ebp, ebp
mov rsi, r8
mov qword [rsp + 0x38], rbp
mov edi, 0x12c
call fcn.100012d58
cmp eax, ebp
mov ebx, eax
jl 0x1000072ac
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
lea rdx, [0x100004530]
xor r8d, r8d
mov dword [rsp + 0x88], ebp
mov dword [rsp + 0x80], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_RegQueryValueExW]
cmp eax, ebp
jne 0x100007289
cmp dword [rsp + 0x30], 4
jne 0x10000728f
cmp dword [rsp + 0x80], 4
jne 0x10000728f
mov edi, dword [rsp + 0x88]
cmp eax, 2
cmove eax, ebp
mov rcx, qword [rsp + 0x38]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, ebp
cmovle ebx, eax
call qword [sym.imp.KERNEL32.dll_RegCloseKey]
cmp ebx, ebp
jge 0x1000072e3
mov rcx, qword [0x10001c770]
lea rax, [0x10001c770]
cmp rcx, rax
je 0x1000072e3
test byte [rcx + 0x5c], 2
je 0x1000072e3
cmp byte [rcx + 0x59], 1
jb 0x1000072e3
mov rcx, qword [rcx + 0x50]
lea r8, [0x100001ea0]
mov edx, 0x12
mov r9d, ebx
call fcn.100005080
xor eax, eax
lea rcx, [rsp + 0x40]
mov word [rsp + 0x40], bp
mov qword [rsp + 0x42], rax
mov dword [rsp + 0x4a], eax
mov word [rsp + 0x4e], ax
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rcx, [rsp + 0x40]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov rbx, qword [rsp + 0x70]
mov eax, edi
imul rax, rax, 0x989680
add rax, qword [rsi]
mov qword [rsi], rax
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x100008bcc
Capabilities:
Find taskbar

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 r12
sub rsp, 0xe0
mov r12, rdx
lea r8, [0x100004020]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rsi, rax
test rax, rax
je 0x100008de9
lea r8, [0x100004040]
xor r9d, r9d
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rbp, rax
test rax, rax
je 0x100008de9
mov ebx, 0x30
lea rcx, [rsp + 0x80]
xor edx, edx
mov r8, rbx
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x80]
lea ecx, [rbx - 0x2b]
mov dword [rsp + 0x80], ebx
mov qword [rsp + 0x88], rsi
call qword [sym.imp.SHELL32.dll_SHAppBarMessage]
test rax, rax
je 0x100008de9
xor ebx, ebx
xor edi, edi
call qword [sym.imp.USER32.dll_GetDesktopWindow]
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x70]
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [rbx + 2]
lea rcx, [rsp + 0x98]
call qword [sym.imp.USER32.dll_MonitorFromRect]
test rax, rax
je 0x100008cf3
lea rdx, [rsp + 0xb0]
mov rcx, rax
mov dword [rsp + 0xb0], 0x28
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x100008cf3
movdqu xmm0, xmmword [rsp + 0xb4]
movdqu xmmword [rsp + 0x60], xmm0
mov r8d, dword [rsp + 0x94]
mov rcx, qword [rsp + 0x68]
mov r10d, 1
mov eax, r8d
test r8d, r8d
je 0x100008d41
sub eax, r10d
je 0x100008d1d
sub eax, r10d
je 0x100008d41
cmp eax, r10d
jne 0x100008d70
mov rbx, qword [rsp + 0x60]
mov eax, ecx
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
add eax, ebx
cmp eax, dword [rsp + 0x70]
jg 0x100008d70
mov eax, dword [rsp + 0x40]
sub eax, dword [rsp + 0x48]
lea ebx, [rax + rcx - 2]
jmp 0x100008d70
mov rdi, qword [rsp + 0x60]
mov r9, rcx
shr rdi, 0x20
shr r9, 0x20
mov eax, r9d
sub eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
cmp eax, dword [rsp + 0x74]
jg 0x100008d70
sub r9d, dword [rsp + 0x4c]
add r9d, dword [rsp + 0x44]
mov edi, r9d
test r8d, r8d
je 0x100008dbc
sub r8d, r10d
je 0x100008db2
sub r8d, r10d
je 0x100008d9c
cmp r8d, r10d
jne 0x100008dc7
shr rcx, 0x20
sub ecx, dword [rsp + 0x5c]
sub ecx, dword [rsp + 0x4c]
add ecx, dword [rsp + 0x54]
add ecx, dword [rsp + 0x44]
mov edi, ecx
jmp 0x100008dc7
mov eax, dword [rsp + 0x50]
sub eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x48]
add eax, dword [rsp + 0x40]
lea ebx, [rax + rcx - 2]
jmp 0x100008dc7
mov edi, dword [rsp + 0x5c]
sub edi, dword [rsp + 0x54]
jmp 0x100008dc7
mov ebx, dword [rsp + 0x58]
sub ebx, dword [rsp + 0x50]
add ebx, 2
mov dword [rsp + 0x30], 0x205
mov r9d, edi
mov r8d, ebx
mov rdx, r12
mov rcx, r12
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_SetWindowPos]
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x100009148
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x470
mov rax, qword [0x10001c110]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov r12, rdx
mov rbp, rcx
lea rdx, [rsp + 0x48]
mov rcx, r12
mov rbx, r8
call qword [sym.imp.USER32.dll_GetClientRect]
xor r14d, r14d
cmp eax, r14d
je 0x1000092c3
lea rdx, [rsp + 0x60]
mov r8d, 0x200
mov rcx, r12
mov word [rsp + 0x60], r14w
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [rsp + 0x60], r14w
je 0x1000092c3
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x40], r14d
mov edi, 0x5a010
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [r14 + 1]
mov r13d, eax
cmp byte [rbp + 0x5e], r14b
jne 0x1000091dd
cmp byte [rbp + 0x5d], r14b
je 0x1000091e2
mov esi, 2
mov edx, 0xffffffec
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov ecx, 0x7a010
bt rax, 0x16
cmovb edi, ecx
cmp esi, 4
jae 0x100009212
mov rax, qword [rbp + 0x48]
mov ecx, esi
mov rdx, qword [rax + rcx*8 + 0x88]
jmp 0x100009215
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov r9d, dword [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rsi, rax
lea rax, [rsp + 0x58]
mov r8d, r13d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov rcx, rbx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.GDI32.dll_GetTextExtentExPointW]
cmp eax, r14d
je 0x10000925f
cmp dword [rsp + 0x40], r13d
jne 0x10000925f
or edi, 0x24
mov edx, 1
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetBkMode]
call fcn.1000084f0
mov ecx, 8
cmp al, r14b
jne 0x100009281
mov ecx, 0x1a
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, rbx
mov edx, eax
call qword [sym.imp.GDI32.dll_SetTextColor]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rsp + 0x48]
lea rdx, [rsp + 0x60]
mov rcx, rbx
mov r8d, eax
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_DrawTextW]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.100017af0
add rsp, 0x470
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x100009ad0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
xor esi, esi
mov dword [rcx + 0x64], 0x12
mov rbx, rcx
mov byte [rcx + 0x5c], sil
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x50], esi
call fcn.100012d58
cmp eax, esi
mov edi, eax
jl 0x100009b99
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, [0x1000044e0]
xor r8d, r8d
mov dword [rsp + 0x58], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x100009b54
cmp dword [rsp + 0x60], 4
jne 0x100009b5a
cmp dword [rsp + 0x58], 4
jne 0x100009b5a
mov ecx, dword [rsp + 0x50]
mov dword [rbx + 0x64], ecx
cmp eax, 2
cmove eax, esi
mov rcx, qword [rsp + 0x68]
movzx edi, ax
or edi, 0x80070000
cmp eax, esi
cmovle edi, eax
call qword [sym.imp.KERNEL32.dll_RegCloseKey]
cmp edi, esi
jl 0x100009b99
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], esi
call fcn.100012df4
cmp eax, esi
mov edi, eax
jl 0x100009b99
mov eax, dword [rsp + 0x50]
shr eax, 3
and al, 1
mov byte [rbx + 0x5c], al
jmp 0x100009bd0
mov rcx, qword [0x10001c770]
lea rax, [0x10001c770]
cmp rcx, rax
je 0x100009bd0
test byte [rcx + 0x5c], 2
je 0x100009bd0
cmp byte [rcx + 0x59], 1
jb 0x100009bd0
mov rcx, qword [rcx + 0x50]
lea r8, [0x100001ea0]
mov edx, 0x10
mov r9d, edi
call fcn.100005080
cmp qword [rbx + 0x50], rsi
jne 0x100009bf0
mov rcx, qword [rbx]
xor r9d, r9d
mov r8d, 0x15e
lea edx, [r9 + 1]
call qword [sym.imp.USER32.dll_SetTimer]
mov qword [rbx + 0x50], rax
mov eax, 1
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x10000ad70
Capabilities:
Get file version info
Identify system language via api

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov rax, qword [0x10001c110]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r15, rdx
lea rdx, [rsp + 0x48]
mov rsi, rcx
xor bpl, bpl
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test eax, eax
je 0x10000af6d
mov rcx, rbx
call fcn.100015d2c
mov rdi, rax
test rax, rax
je 0x10000af62
mov edx, dword [rsp + 0x48]
mov r9, rax
mov r8d, ebx
mov rcx, rsi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10000af62
and qword [rsp + 0x40], 0
and dword [rsp + 0x34], 0
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x40]
lea rdx, [0x100004118]
mov rcx, rdi
movzx r13d, ax
mov word [rsp + 0x30], ax
call sub.VERSION.dll_VerQueryValueW
xor r11d, r11d
cmp eax, r11d
je 0x10000af62
mov ebx, dword [rsp + 0x34]
mov r12d, r11d
shr ebx, 2
cmp ebx, r11d
jbe 0x10000af62
mov rax, qword [rsp + 0x40]
mov rsi, r11
cmp ebx, 1
je 0x10000ae4e
cmp r13w, word [rsi + rax]
jne 0x10000af4e
mov r13d, r11d
mov bpl, r11b
lea r14, [0x10001c5c8]
mov r8, qword [r14]
movzx ecx, word [rsi + rax + 2]
movzx edx, word [rsi + rax]
cmp r8, r11
je 0x10000af37
cmp r15, r11
je 0x10000af37
movzx eax, cx
movzx r9d, dx
lea rcx, [rsp + 0x60]
mov edx, 0x2a
mov dword [rsp + 0x20], eax
call fcn.10000c2ac
xor r11d, r11d
cmp eax, r11d
jl 0x10000af32
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rcx, rdi
mov qword [rsp + 0x50], r11
mov dword [rsp + 0x38], r11d
call sub.VERSION.dll_VerQueryValueW
xor r11d, r11d
cmp eax, r11d
je 0x10000af32
mov ecx, dword [rsp + 0x38]
cmp rcx, 0x7ffffffe
jbe 0x10000aedb
mov word [r15], r11w
jmp 0x10000af32
mov r10, qword [rsp + 0x50]
mov edx, 0x104
mov rax, r15
sub r10, r15
mov r8d, r11d
cmp rcx, r11
je 0x10000af11
movzx r9d, word [r10 + rax]
cmp r9w, r11w
je 0x10000af11
dec rdx
mov word [rax], r9w
dec rcx
add rax, 2
cmp rdx, r11
jne 0x10000aeee
cmp rdx, r11
jne 0x10000af20
sub rax, 2
mov r8d, 0x8007007a
cmp r8d, r11d
mov word [rax], r11w
jge 0x10000af5f
cmp r8d, 0x8007007a
je 0x10000af5f
mov rax, qword [rsp + 0x40]
inc r13d
add r14, 8
cmp r13d, 2
jb 0x10000ae5b
mov r13w, word [rsp + 0x30]
inc r12d
add rsi, 4
cmp r12d, ebx
jae 0x10000af62
jmp 0x10000ae3e
mov bpl, 1
mov rcx, rdi
call fcn.100015d5c
mov al, bpl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.100017af0
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x10000b38c
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x470
mov rax, qword [0x10001c110]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rdi, rdx
mov rbp, rcx
lea rdx, [rsp + 0x48]
mov rcx, rdi
mov rbx, r8
call qword [sym.imp.USER32.dll_GetClientRect]
xor r12d, r12d
cmp eax, r12d
je 0x10000b527
lea rdx, [rsp + 0x60]
mov r8d, 0x200
mov rcx, rdi
mov word [rsp + 0x60], r12w
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [rsp + 0x60], r12w
je 0x10000b527
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x40], r12d
mov edi, 0x5a010
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, rbx
mov esi, eax
call qword [sym.imp.GDI32.dll_GetLayout]
mov rcx, qword [rbp + 8]
mov rdx, qword [rcx + 0x88]
test al, 1
mov eax, 0x7a010
mov rcx, rbx
cmovne edi, eax
call qword [sym.imp.GDI32.dll_SelectObject]
mov r9d, dword [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rbp, rax
lea rax, [rsp + 0x58]
mov r8d, esi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov rcx, rbx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.GDI32.dll_GetTextExtentExPointW]
cmp eax, r12d
je 0x10000b4a2
cmp dword [rsp + 0x40], esi
jne 0x10000b475
or edi, 0x24
jmp 0x10000b4a2
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x4c]
lea r8d, [rax + rax]
mov eax, dword [rsp + 0x54]
add eax, ecx
cmp r8d, eax
jge 0x10000b4a2
sub eax, r8d
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov dword [rsp + 0x4c], ecx
lea eax, [rcx + r8]
mov dword [rsp + 0x54], eax
call fcn.1000084f0
cmp al, r12b
je 0x10000b4da
mov ecx, 8
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, rbx
mov edx, eax
call qword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, 5
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, rbx
mov edx, eax
call qword [sym.imp.GDI32.dll_SetBkColor]
jmp 0x10000b4f6
mov edx, 0xffffff
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetTextColor]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetBkMode]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rsp + 0x48]
lea rdx, [rsp + 0x60]
mov rcx, rbx
mov r8d, eax
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_DrawTextW]
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.100017af0
add rsp, 0x470
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x10000d084
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x510
mov rax, qword [0x10001c110]
xor rax, rsp
mov qword [rsp + 0x500], rax
xor esi, esi
lea rcx, [rsp + 0x78]
xor edx, edx
lea r8d, [rsi + 0x60]
mov dword [rsp + 0x70], esi
call sub.msvcrt.dll_memset
xor eax, eax
lea edx, [rsi + 0x25]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x2f0]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x2f0], si
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rbp, [0x10001c770]
cmp eax, esi
mov ebx, eax
jge 0x10000d136
mov rcx, qword [0x10001c770]
cmp rcx, rbp
je 0x10000d288
test byte [rcx + 0x5c], 2
je 0x10000d288
cmp byte [rcx + 0x59], 1
jb 0x10000d288
lea edx, [rsi + 0xf]
mov r9d, eax
jmp 0x10000d271
mov edi, 0x105
lea r8, [0x1000041d8]
lea rcx, [rsp + 0x2f0]
mov rdx, rdi
call fcn.10000da2c
cmp eax, esi
mov ebx, eax
jge 0x10000d183
mov rcx, qword [0x10001c770]
cmp rcx, rbp
je 0x10000d288
test byte [rcx + 0x5c], 2
je 0x10000d288
cmp byte [rcx + 0x59], 1
jb 0x10000d288
mov edx, 0x10
jmp 0x10000d12e
lea rdx, [0x100004150]
lea rax, [rsp + 0xe0]
mov word [rsp + 0xe0], si
sub rdx, rax
lea rcx, [rsp + 0xe0]
lea rax, [rdi + 0x7ffffef9]
cmp rax, rsi
je 0x10000d1c7
movzx eax, word [rdx + rcx]
cmp ax, si
je 0x10000d1c7
mov word [rcx], ax
add rcx, 2
sub rdi, 1
jne 0x10000d1a5
cmp rdi, rsi
jne 0x10000d1d0
sub rcx, 2
mov eax, 5
mov word [rcx], si
lea rdx, [rsp + 0xe0]
mov word [rsp + 0xb0], ax
lea rax, [rsp + 0x50]
lea rcx, [rsp + 0x2f0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0x410
mov dword [rsp + 0x70], 0x68
mov dword [rsp + 0x20], esi
mov dword [rsp + 0xac], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, esi
jne 0x10000d281
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, esi
cmovle ebx, eax
mov rcx, qword [0x10001c770]
cmp rcx, rbp
je 0x10000d288
test byte [rcx + 0x5c], 2
je 0x10000d288
cmp byte [rcx + 0x59], 1
jb 0x10000d288
mov edx, 0x11
mov r9d, ebx
mov rcx, qword [rcx + 0x50]
lea r8, [0x100001ef0]
call fcn.100005080
mov rcx, qword [0x10001c770]
mov rax, qword [rsp + 0x50]
cmp rax, rsi
je 0x10000d2a2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x10001c770]
mov rax, qword [rsp + 0x58]
cmp rax, rsi
je 0x10000d2bc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x10001c770]
cmp ebx, esi
jge 0x10000d2e9
cmp rcx, rbp
je 0x10000d2e9
test byte [rcx + 0x5c], 2
je 0x10000d2e9
cmp byte [rcx + 0x59], 1
jb 0x10000d2e9
mov rcx, qword [rcx + 0x50]
lea r8, [0x100001ef0]
mov edx, 0x12
mov r9d, ebx
call fcn.100005080
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.100017af0
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x100012df4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x30
xor esi, esi
mov rdi, rcx
mov dword [rax + 8], 4
mov dword [rcx], esi
lea rcx, [rax + 0x20]
mov dword [rax + 0x10], esi
mov qword [rax + 0x20], rsi
call fcn.100012d58
cmp eax, esi
mov ebx, eax
jl 0x100012e8b
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
lea rdx, [0x1000044a8]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x100012e68
cmp dword [rsp + 0x60], 4
jne 0x100012e6e
cmp dword [rsp + 0x50], 4
jne 0x100012e6e
mov ecx, dword [rsp + 0x58]
mov dword [rdi], ecx
cmp eax, 2
cmove eax, esi
mov rcx, qword [rsp + 0x68]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, esi
cmovle ebx, eax
call qword [sym.imp.KERNEL32.dll_RegCloseKey]
cmp ebx, esi
jge 0x100012ec2
mov rcx, qword [0x10001c770]
lea rax, [0x10001c770]
cmp rcx, rax
je 0x100012ec2
test byte [rcx + 0x5c], 2
je 0x100012ec2
cmp byte [rcx + 0x59], 1
jb 0x100012ec2
mov rcx, qword [rcx + 0x50]
lea r8, [0x100001ea0]
mov edx, 0xd
mov r9d, ebx
call fcn.100005080
mov eax, ebx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret

Function at 0x100012ed4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov dword [rcx], 0xa
xor esi, esi
lea rcx, [rax + 0x20]
mov dword [rax + 8], 4
mov dword [rax + 0x10], esi
mov qword [rax + 0x20], rsi
call fcn.100012d58
cmp eax, esi
mov ebx, eax
jl 0x100012f6f
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
lea rdx, [0x100004500]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x100012f4c
cmp dword [rsp + 0x60], 4
jne 0x100012f52
cmp dword [rsp + 0x50], 4
jne 0x100012f52
mov ecx, dword [rsp + 0x58]
mov dword [rdi], ecx
cmp eax, 2
cmove eax, esi
mov rcx, qword [rsp + 0x68]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, esi
cmovle ebx, eax
call qword [sym.imp.KERNEL32.dll_RegCloseKey]
cmp ebx, esi
jge 0x100012fa6
mov rcx, qword [0x10001c770]
lea rax, [0x10001c770]
cmp rcx, rax
je 0x100012fa6
test byte [rcx + 0x5c], 2
je 0x100012fa6
cmp byte [rcx + 0x59], 1
jb 0x100012fa6
mov rcx, qword [rcx + 0x50]
lea r8, [0x100001ea0]
mov edx, 0x11
mov r9d, ebx
call fcn.100005080
mov eax, ebx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x100015858
Capabilities:
Get disk information

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 r12
sub rsp, 0x20
mov rsi, rcx
or rcx, 0xffffffffffffffff
xor eax, eax
xor ebx, ebx
mov rdi, rsi
repne scasw ax, word [rdi]
mov rdi, rbx
not rcx
sub rcx, 1
mov rbp, rcx
je 0x10001592f
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
cmp eax, ebx
je 0x1000158a9
mov bl, 1
jmp 0x10001592f
mov r12d, 0x5c
cmp word [rsi + rbp*2 - 2], r12w
jne 0x1000158bc
mov rcx, rsi
jmp 0x100015923
lea rcx, [rbp + rbp + 4]
call fcn.100015d2c
mov rdi, rax
cmp rax, rbx
jne 0x100015904
mov rcx, qword [0x10001c770]
lea rax, [0x10001c770]
cmp rcx, rax
je 0x10001592f
test byte [rcx + 0x5c], 2
je 0x10001592f
cmp byte [rcx + 0x59], 1
jb 0x10001592f
mov rcx, qword [rcx + 0x50]
lea r8, [0x100001e90]
mov edx, 0x73
call fcn.100005014
jmp 0x10001592f
lea rdx, [rbp + 1]
mov r9, rbp
mov r8, rsi
mov rcx, rax
call sub.msvcrt.dll_wcsncpy_s
mov word [rdi + rbp*2], r12w
mov word [rdi + rbp*2 + 2], bx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
sete bl
mov rcx, rdi
call fcn.100015d5c
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov al, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r12
ret

Function at 0x100015a6c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x40
xor ebx, ebx
mov dword [rax + 0x20], 4
lea rax, [rax - 0x18]
and qword [rax], rbx
and dword [rax + 0x28], ebx
and dword [rax + 0x30], ebx
mov rdi, rcx
lea rdx, [0x1000048a0]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100015af7
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
lea rdx, [0x100004918]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_RegQueryValueExW]
cmp dword [rsp + 0x58], 4
je 0x100015af3
mov ebx, 0x8007065d
jmp 0x100015b16
test eax, eax
je 0x100015b0c
call sub.KERNEL32.dll_GetLastError
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x100015b16
cmp dword [rsp + 0x60], 1
sete cl
mov byte [rdi], cl
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x100015b26
call qword [sym.imp.KERNEL32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret