joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180069df0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
push rsi
push rdi
push r12
push r14
sub rsp, 0x40
movzx edx, cx
mov r12d, r9d
mov rcx, qword [0x1801086e8]
movsxd rsi, r8d
call qword [sym.imp.USER32.dll_LoadBitmapA]
xor ecx, ecx
mov qword [rsp + 0x30], rax
mov rbx, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov qword [rsp + 0x38], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, rax
mov rdx, rbx
mov r14, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov ecx, esi
mov r8d, 0x3000
mov qword [rsp + 0x28], rax
imul ecx, r12d
movsxd rdx, ecx
xor ecx, ecx
shl rdx, 2
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
mov rdi, rax
test rax, rax
jne 0x180069e7f
add rsp, 0x40
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov qword [rsp + 0x70], rbp
mov rbx, rsi
xor ebp, ebp
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x88], r15
test r12d, r12d
jle 0x180069efd
lea r13, [rsi*4]
lea r15, [rax + 1]
nop word [rax + rax]
xor edi, edi
test esi, esi
jle 0x180069eeb
mov rbx, r15
nop dword [rax]
mov r8d, ebp
mov edx, edi
mov rcx, r14
call qword [sym.imp.GDI32.dll_GetPixel]
mov byte [rbx + 1], al
inc edi
movzx ecx, ax
lea rbx, [rbx + 4]
shr cx, 8
shr eax, 0x10
mov byte [rbx - 4], cl
mov byte [rbx - 5], al
cmp edi, esi
jl 0x180069ec0
inc ebp
add r15, r13
cmp ebp, r12d
jl 0x180069eb0
mov rdi, qword [rsp + 0x20]
mov rbx, rsi
mov rdx, qword [rsp + 0x28]
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.GDI32.dll_DeleteObject]
movzx edx, word [rsp + 0x78]
mov rcx, qword [0x1801086e8]
call qword [sym.imp.USER32.dll_LoadBitmapA]
mov rdx, rax
mov qword [rsp + 0x28], rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
xor ebp, ebp
mov qword [rsp + 0x30], rax
test r12d, r12d
jle 0x180069f89
lea r13, [rbx*4]
lea r15, [rdi + 3]
xor ebx, ebx
test esi, esi
jle 0x180069f7a
mov rdi, r15
nop word [rax + rax]
mov r8d, ebp
mov edx, ebx
mov rcx, r14
call qword [sym.imp.GDI32.dll_GetPixel]
inc ebx
mov byte [rdi], al
lea rdi, [rdi + 4]
cmp ebx, esi
jl 0x180069f60
inc ebp
add r15, r13
cmp ebp, r12d
jl 0x180069f51
mov rax, qword [rsp + 0x30]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, qword [rsp + 0x38]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rax, qword [rsp + 0x20]
mov r15, qword [rsp + 0x88]
mov r13, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x18006d6e0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x1801096f0]
test rcx, rcx
je 0x18006d6f6
call qword [sym.imp.USER32.dll_DestroyCursor]
mov rcx, qword [0x180109578]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x1801096c8]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x1801096d0]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rdx, qword [0x1801086e8]
lea rcx, [0x1800e3420]
add rsp, 0x28
jmp fcn.180047f50

Function at 0x18006e8c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x40
movsxd rbx, ecx
mov r8d, 0x3000
xor ecx, ecx
lea eax, [rbx*4]
movsxd rdx, eax
lea r9d, [rcx + 4]
shl rdx, 2
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor ebp, ebp
mov r14, rax
test ebx, ebx
jle 0x18006e9bf
mov qword [rsp + 0x60], rsi
lea ecx, [rbx + rbx]
movsxd rsi, ecx
lea ecx, [rbx + rbx*2]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], r12
mov r12, rbx
mov qword [rsp + 0x78], r15
sub r12, rsi
movsxd r15, ecx
lea rdi, [rax + rsi*4]
movaps xmmword [rsp + 0x30], xmm6
sub r15, rsi
movaps xmmword [rsp + 0x20], xmm7
neg rsi
movd xmm7, ebx
cvtdq2ps xmm7, xmm7
nop word [rax + rax]
lea eax, [rbp + 2]
mov ecx, 2
movd xmm6, eax
cvtdq2ps xmm6, xmm6
divss xmm6, xmm7
movaps xmm1, xmm6
call fcn.18006e470
movaps xmm1, xmm6
movss dword [rdi + r15*4], xmm0
mov ecx, 1
call fcn.18006e470
movaps xmm1, xmm6
movss dword [rdi], xmm0
xor ecx, ecx
call fcn.18006e470
movaps xmm1, xmm6
movss dword [rdi + r12*4], xmm0
mov ecx, 0xffffffff
call fcn.18006e470
inc ebp
movss dword [rdi + rsi*4], xmm0
lea rdi, [rdi + 4]
cmp ebp, ebx
jl 0x18006e940
movaps xmm7, xmmword [rsp + 0x20]
mov rax, r14
movaps xmm6, xmmword [rsp + 0x30]
mov r15, qword [rsp + 0x78]
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop r14
pop rbp
pop rbx
ret
Function at 0x18006ed00
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x40
movsxd rbx, ecx
mov r8d, 0x3000
xor ecx, ecx
lea eax, [rbx*4]
movsxd rdx, eax
lea r9d, [rcx + 4]
shl rdx, 2
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor ebp, ebp
mov r14, rax
test ebx, ebx
jle 0x18006edff
mov qword [rsp + 0x60], rsi
lea ecx, [rbx + rbx]
movsxd rsi, ecx
lea ecx, [rbx + rbx*2]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], r12
mov r12, rbx
mov qword [rsp + 0x78], r15
sub r12, rsi
movsxd r15, ecx
lea rdi, [rax + rsi*4]
movaps xmmword [rsp + 0x30], xmm6
sub r15, rsi
movaps xmmword [rsp + 0x20], xmm7
neg rsi
movd xmm7, ebx
cvtdq2ps xmm7, xmm7
nop word [rax + rax]
lea eax, [rbp + 2]
mov ecx, 2
movd xmm6, eax
cvtdq2ps xmm6, xmm6
divss xmm6, xmm7
movaps xmm1, xmm6
call fcn.18006e2c0
movaps xmm1, xmm6
movss dword [rdi + r15*4], xmm0
mov ecx, 1
call fcn.18006e2c0
movaps xmm1, xmm6
movss dword [rdi], xmm0
xor ecx, ecx
call fcn.18006e2c0
movaps xmm1, xmm6
movss dword [rdi + r12*4], xmm0
mov ecx, 0xffffffff
call fcn.18006e2c0
inc ebp
movss dword [rdi + rsi*4], xmm0
lea rdi, [rdi + 4]
cmp ebp, ebx
jl 0x18006ed80
movaps xmm7, xmmword [rsp + 0x20]
mov rax, r14
movaps xmm6, xmmword [rsp + 0x30]
mov r15, qword [rsp + 0x78]
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop r14
pop rbp
pop rbx
ret
Function at 0x1800736c0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x68
mov rax, qword [0x180107738]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x44], 0x400
lea r8, [rsp + 0x38]
lea rdx, str.SOFTWAREWindowsUsersAP_DJ
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x180073778
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.Administrator_ID
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str..plugin_or_.8bf
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18007b2f0
add rsp, 0x68
ret

Function at 0x180073790
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp dword [0x18010ac50], 0
je 0x1800737b7
movsxd rax, dword [0x18010ac50]
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_KillTimer]
xor r9d, r9d
mov r8d, 0x64
mov edx, 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetTimer]
mov dword [0x18010ac50], eax
cmp qword [0x18010ac58], 0
je 0x1800737ed
mov rcx, qword [0x18010ac58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x40]
mov qword [0x18010b160], rax
lea rax, [0x18010ac60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x180073830]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x18010ac58], rax
add rsp, 0x38
ret
Function at 0x1800747f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x180107738]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x38], 0x400
lea r8, [rsp + 0x40]
lea rdx, str.SOFTWAREUsersClassesEnvironmentDjPs
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x180074919
mov dword [rsp + 0x38], reloc.WS2_32.dll_recv
mov dword [rsp + 0x3c], 3
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.Dialogs_3DButton_flags
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180074912
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [rsp + 0x4e]
mov dword [rsp + 0x30], eax
movzx eax, word [rsp + 0x4a]
imul eax, eax, 0x1e
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
movzx eax, word [rsp + 0x48]
imul eax, eax, 0x16d
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
movzx eax, word [rsp + 0x5e]
mov dword [rsp + 0x34], eax
movzx eax, word [rsp + 0x5a]
imul eax, eax, 0x1e
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
movzx eax, word [rsp + 0x58]
imul eax, eax, 0x16d
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
cmp eax, 0xf
jb 0x180074910
mov rcx, qword [rsp + 0x80]
call fcn.180076e30
jmp 0x180074917
call fcn.180076e80
jmp 0x18007491e
call fcn.180076e80
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.18007b2f0
add rsp, 0x78
ret

Function at 0x180074930
Capabilities:
Create thread
Terminate thread

Disassembly:
sub rsp, 0x38
cmp dword [0x18010ac68], 2
jne 0x18007499d
cmp qword [0x18010ac58], 0
je 0x180074963
xor edx, edx
mov rcx, qword [0x18010ac58]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x18010ac58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x18010ac58], 0
lea rax, [0x18010ac60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x180073830]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x18010ac58], rax
add rsp, 0x38
ret
Function at 0x1800749b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x78
mov rax, qword [0x180107738]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x38], 0x400
lea r8, [rsp + 0x40]
lea rdx, str.SOFTWAREUtilsDiskDefragDGTL
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x180074acb
mov dword [rsp + 0x38], reloc.WS2_32.dll_recv
mov dword [rsp + 0x3c], 3
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.Last_Defragment.
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180074ac4
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [rsp + 0x4e]
mov dword [rsp + 0x30], eax
movzx eax, word [rsp + 0x4a]
imul eax, eax, 0x1e
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
movzx eax, word [rsp + 0x48]
imul eax, eax, 0x16d
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
movzx eax, word [rsp + 0x5e]
mov dword [rsp + 0x34], eax
movzx eax, word [rsp + 0x5a]
imul eax, eax, 0x1e
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
movzx eax, word [rsp + 0x58]
imul eax, eax, 0x16d
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
cmp eax, 5
jb 0x180074ac2
xor eax, eax
jmp 0x180074ad5
jmp 0x180074ac9
call fcn.180074af0
jmp 0x180074ad0
call fcn.180074af0
mov eax, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.18007b2f0
add rsp, 0x78
ret

Function at 0x180074af0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x68
mov rax, qword [0x180107738]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x3c], 0x400
lea r8, [rsp + 0x30]
lea rdx, str.SOFTWAREUtilsDiskDefragDGTL
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x180074b73
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.Last_Defragment.
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18007b2f0
add rsp, 0x68
ret
Function at 0x180074f50
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub rsp, 0x88
mov rax, qword [0x180107738]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x3c], 0x400
lea r8, [rsp + 0x48]
lea rdx, str.SOFTWAREWindowsUsersAP_DJ
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x180075107
mov dword [rsp + 0x3c], reloc.WS2_32.dll_recv
mov dword [rsp + 0x40], 3
mov dword [rsp + 0x54], 4
mov dword [rsp + 0x50], 4
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
xor r8d, r8d
lea rdx, str..plugin_or_.8bf
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x180075026
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str..plugin_or_.8bf
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.Administrator_ID
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180075100
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [rsp + 0x5e]
mov dword [rsp + 0x30], eax
movzx eax, word [rsp + 0x5a]
imul eax, eax, 0x1e
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
movzx eax, word [rsp + 0x58]
imul eax, eax, 0x16d
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
movzx eax, word [rsp + 0x6e]
mov dword [rsp + 0x34], eax
movzx eax, word [rsp + 0x6a]
imul eax, eax, 0x1e
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
movzx eax, word [rsp + 0x68]
imul eax, eax, 0x16d
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
cmp eax, 0x1e
jb 0x1800750fe
cmp dword [rsp + 0x38], 0x1e
jbe 0x1800750fe
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.1800736c0
mov eax, 1
jmp 0x180075119
jmp 0x180075105
call fcn.1800736c0
jmp 0x18007510c
call fcn.1800736c0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18007b2f0
add rsp, 0x88
ret
Function at 0x180076d70
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x58
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x30], 0x400
lea r8, [rsp + 0x40]
lea rdx, str.SOFTWAREAlphaPluginsDigitalizerEnvironment
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x180076e2a
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x34], 3
call fcn.180073600
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x34]
xor r8d, r8d
lea rdx, str.used_dither_method
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call fcn.1800a5640
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x34]
xor r8d, r8d
lea rdx, str.PiPl_Version
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x58
ret

Function at 0x180076e30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov qword [0x18010b160], rax
lea rax, [0x18010ac60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x180073830]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x18010ac58], rax
add rsp, 0x38
ret

Function at 0x180076e80
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x68
mov rax, qword [0x180107738]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x3c], 0x400
lea r8, [rsp + 0x30]
lea rdx, str.SOFTWAREUsersClassesEnvironmentDjPs
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x180076f03
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.Dialogs_3DButton_flags
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18007b2f0
add rsp, 0x68
ret
Function at 0x180077d80
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp byte [0x18010be50], 0
mov dword [0x18010ba4c], ecx
jne 0x180077dc2
lea rax, [0x18010ba48]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, [0x180077dd0]
xor edx, edx
mov dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x18010ba40], rax
add rsp, 0x38
ret

Function at 0x180077f90
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp byte [0x18010be50], 0
jne 0x180077ff6
mov rax, qword [0x180109348]
test rdx, rdx
cmovne rax, rdx
mov rdx, 0xffffffffffffffff
mov qword [0x18010be58], rax
nop dword [rax]
inc rdx
cmp byte [rcx + rdx], 0
jne 0x180077fc0
lea rax, [0x18010ba48]
mov r9, rcx
mov qword [rsp + 0x28], rax
lea r8, [0x180078000]
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x18010ba40], rax
add rsp, 0x38
ret

Function at 0x18007a430
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov esi, edi
mov dword [rsp + 0x20], edi
mov rbx, qword [0x18010bf30]
mov qword [rsp + 0x48], rdi
cmp dword [0x180108694], edi
jne 0x18007a501
mov eax, dword [0x180108690]
test eax, eax
jne 0x18007a501
mov edx, dword [0x18010869c]
test edx, edx
je 0x18007a499
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180108690]
mov edx, dword [0x18010869c]
test eax, eax
jne 0x18007a501
test edx, edx
jne 0x18007a4aa
call fcn.1800021b0
test eax, eax
je 0x18007a4c0
lea rdx, [rsp + 0x48]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x18007a501
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add eax, 0xffffff82
cmp eax, 1
jbe 0x18007a4f7
cmp ecx, 0x78
je 0x18007a4f7
cmp ecx, 1
je 0x18007a4f7
cmp ecx, 0x32
je 0x18007a4f7
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov dword [0x180108690], 1
test rbx, rbx
jne 0x18007a521
lea rcx, str.ChooseFontA
call fcn.180065c60
mov rbx, rax
test rax, rax
je 0x18007a52c
mov qword [0x18010bf30], rax
mov rcx, r14
call rbx
mov esi, eax
mov dword [rsp + 0x20], eax
cmp dword [0x180108694], 0
je 0x18007a53e
cmp dword [0x180108690], 0
jne 0x18007a56a
mov ebx, edi
test esi, esi
sete bl
test ebx, ebx
je 0x18007a551
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x18007a56a
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
jmp 0x18007a4e1
Function at 0x18007a580
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov esi, edi
mov dword [rsp + 0x20], edi
mov rbx, qword [0x18010bf20]
mov qword [rsp + 0x48], rdi
cmp dword [0x180108694], edi
jne 0x18007a651
mov eax, dword [0x180108690]
test eax, eax
jne 0x18007a651
mov edx, dword [0x18010869c]
test edx, edx
je 0x18007a5e9
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180108690]
mov edx, dword [0x18010869c]
test eax, eax
jne 0x18007a651
test edx, edx
jne 0x18007a5fa
call fcn.1800021b0
test eax, eax
je 0x18007a610
lea rdx, [rsp + 0x48]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x18007a651
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add eax, 0xffffff82
cmp eax, 1
jbe 0x18007a647
cmp ecx, 0x78
je 0x18007a647
cmp ecx, 1
je 0x18007a647
cmp ecx, 0x32
je 0x18007a647
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov dword [0x180108690], 1
test rbx, rbx
jne 0x18007a671
lea rcx, str.GetOpenFileNameA
call fcn.180065c60
mov rbx, rax
test rax, rax
je 0x18007a67c
mov qword [0x18010bf20], rax
mov rcx, r14
call rbx
mov esi, eax
mov dword [rsp + 0x20], eax
cmp dword [0x180108694], 0
je 0x18007a68e
cmp dword [0x180108690], 0
jne 0x18007a6ba
mov ebx, edi
test esi, esi
sete bl
test ebx, ebx
je 0x18007a6a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x18007a6ba
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
jmp 0x18007a631
Function at 0x18007a6d0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov esi, edi
mov dword [rsp + 0x20], edi
mov rbx, qword [0x18010bf28]
mov qword [rsp + 0x48], rdi
cmp dword [0x180108694], edi
jne 0x18007a7a1
mov eax, dword [0x180108690]
test eax, eax
jne 0x18007a7a1
mov edx, dword [0x18010869c]
test edx, edx
je 0x18007a739
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180108690]
mov edx, dword [0x18010869c]
test eax, eax
jne 0x18007a7a1
test edx, edx
jne 0x18007a74a
call fcn.1800021b0
test eax, eax
je 0x18007a760
lea rdx, [rsp + 0x48]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x18007a7a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add eax, 0xffffff82
cmp eax, 1
jbe 0x18007a797
cmp ecx, 0x78
je 0x18007a797
cmp ecx, 1
je 0x18007a797
cmp ecx, 0x32
je 0x18007a797
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov dword [0x180108690], 1
test rbx, rbx
jne 0x18007a7c1
lea rcx, str.GetSaveFileNameA
call fcn.180065c60
mov rbx, rax
test rax, rax
je 0x18007a7cc
mov qword [0x18010bf28], rax
mov rcx, r14
call rbx
mov esi, eax
mov dword [rsp + 0x20], eax
cmp dword [0x180108694], 0
je 0x18007a7de
cmp dword [0x180108690], 0
jne 0x18007a80a
mov ebx, edi
test esi, esi
sete bl
test ebx, ebx
je 0x18007a7f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x18007a80a
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
jmp 0x18007a781