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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x425478]
push 0x41e8c4
lea ecx, [ebp - 4]
mov dword [ebp - 8], eax
call fcn.00414c9d
call fcn.0041b14c
mov eax, dword [eax + 4]
lea ecx, [ebp - 8]
add eax, 0xc0
push eax
call fcn.00414d1c
mov ecx, dword [ebp - 8]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x401ac9
mov edx, dword [ebp + 8]
lea ecx, [ebp - 4]
push edx
call fcn.00414d6c
jmp 0x401aee
lea eax, [ebp - 8]
lea ecx, [ebp - 4]
push eax
call fcn.00414f87
push 0x41e8c0
lea ecx, [ebp - 4]
call fcn.00414f4b
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 4]
call fcn.00414f4b
mov edx, dword [ebp - 4]
push 1
push 0
push edx
push str.Notes.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 4]
call fcn.00414c73
lea ecx, [ebp - 8]
call fcn.00414c73
mov esp, ebp
pop ebp
ret 4

Function at 0x401ec0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x14]
lea esi, [edi + 0x14]
test eax, eax
jne 0x401ef6
mov eax, dword [edi + 8]
lea ecx, [ebp - 4]
mov edx, dword [edi + 0x10]
push ecx
push esi
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401f12
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
mov eax, dword [esi]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esi]
push ecx
mov ecx, edi
call fcn.00401c90
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x401f70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 0x14]
mov dword [ebp - 4], ecx
test eax, eax
jne 0x401f89
mov eax, 5
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
push edi
push 0
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x401fdd
mov eax, dword [edi]
push eax
call fcn.004149b4
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x401fdd
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
push edi
push ebx
push ecx
mov ecx, dword [eax + 0x14]
push esi
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x401fdd
mov edx, dword [ebp + 0x14]
mov dword [edx], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4027f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x425478]
push esi
mov esi, ecx
push 0x41e8c4
lea ecx, [ebp - 4]
mov dword [ebp - 8], eax
call fcn.00414c9d
call fcn.0041b14c
mov eax, dword [eax + 4]
lea ecx, [ebp - 8]
add eax, 0xc0
push eax
call fcn.00414d1c
mov ecx, dword [ebp - 8]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40283d
push str.mail
lea ecx, [ebp - 4]
call fcn.00414d6c
jmp 0x402856
lea edx, [ebp - 8]
lea ecx, [ebp - 4]
push edx
call fcn.00414f87
push str._mail
lea ecx, [ebp - 4]
call fcn.00414f4b
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x13e]
push 1
push 0
push eax
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 4]
call fcn.00414c73
lea ecx, [ebp - 8]
call fcn.00414c73
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40abd1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x425bd0
cmp edx, dword [eax]
je 0x40abf3
add eax, 8
inc ecx
cmp eax, 0x425c60
jl 0x40abe4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x425bd0]
jne 0x40ad21
mov eax, dword [0x42a600]
cmp eax, 1
je 0x40acfb
test eax, eax
jne 0x40ac24
cmp dword [0x4257c4], 1
je 0x40acfb
cmp edx, 0xfc
je 0x40ad21
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40ac5b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004072a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004076d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40ac9e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004076d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4212a8
push edi
call fcn.00407b00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004072a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004072b0
lea eax, [ebp - 0xa0]
push 0x421288
push eax
call fcn.004072b0
push dword [esi + 0x425bd4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004072b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040e79f
add esp, 0x2c
pop edi
jmp 0x40ad21
lea eax, [ebp + 8]
lea esi, [esi + 0x425bd4]
push 0
push eax
push dword [esi]
call fcn.004076d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x413aff
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x413b41
call fcn.0041b14c
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x413b41
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x413b38
xor eax, eax
jmp 0x413b49
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00413b4f
pop edi
pop esi
pop ebx
ret 4
Function at 0x41c644
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41c672
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41c690
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041c5aa
jmp 0x41c690
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41c690
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0041c5aa
test edi, edi
mov eax, edi
jne 0x41c67a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1f2a0b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1974000]
push edi
or ebp, 0xffffffff
jmp 0x1f2a0d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1f2a0d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f2a0c8
mov eax, 1
add ebx, ebx
jne 0x1f2a0eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1f2a0fc
jne 0x1f2a11b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f2a11b
dec eax
add ebx, ebx
jne 0x1f2a108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1f2a0e0
add ebx, ebx
jne 0x1f2a117
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1f2a16d
xor ecx, ecx
sub eax, 3
jb 0x1f2a133
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1f2a1a2
sar eax, 1
mov ebp, eax
jmp 0x1f2a13e
add ebx, ebx
jne 0x1f2a13e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f2a10c
inc ecx
add ebx, ebx
jne 0x1f2a14c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f2a10c
add ebx, ebx
jne 0x1f2a159
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1f2a14e
jne 0x1f2a16a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1f2a14e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1f2a18c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1f2a17e
jmp 0x1f2a0ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1f2a18c
add edi, ecx
jmp 0x1f2a0ce
pop esi
mov edi, esi
mov ecx, 0x4ca7fd
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x1f2a1c7
cmp byte [edi], 0x65
jne 0x1f2a1ac
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x1f2a1aa
lea edi, [esi + 0x1aee000]
mov eax, dword [edi]
or eax, eax
je 0x1f2a20f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2fb7b60]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2fb7c90]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1f2a1cd
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2fb7c98]
or eax, eax
je 0x1f2a209
mov dword [ebx], eax
add ebx, 4
jmp 0x1f2a1ea
call dword [esi + 0x2fb7c94]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1f2a240
cmp al, 0xef
ja 0x1f2a233
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1f2a215
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1f2a222
mov ebp, dword [esi + 0x2fb7c9c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1f2a274
sub esp, 0xffffff80
jmp 0x92006c
Function at 0x414f34
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x415009
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x415024
push ebx
push 0x415034
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00405370
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403270
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404f58
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x414fb4
mov al, 0x69
call fcn.00414bac
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00414f08
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x414fbd
call fcn.00414f08
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415010
lea eax, [ebp - 4]
call fcn.00404ebc
ret

Function at 0x415124
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x4151ef
jmp 0x4151e3
cmp dword [esi + 0x10], 0x1000
jne 0x4151cf
test byte [esi + 0x15], 1
jne 0x4151cf
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x415180
cmp ebp, 2
je 0x415180
cmp ebp, 0x10
je 0x415180
cmp ebp, 0x20
jne 0x41519c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x41519c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4151ad
mov eax, dword [esi]
add eax, ebx
call fcn.0041511c
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4151a0
cmp byte [esp + 4], 0
je 0x4151cf
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x4151ef
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x415155
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x401794
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x4077a0]
movzx ebx, byte [esi]
mov dx, word [eax + 0x2f8]
mov edx, dword [eax + 0x2f8]
mov edx, dword [eax + 0x2f8]
mov ecx, edx
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, dh
mov cx, word [eax + ecx*2 + 0xf0]
xor cx, bx
inc esi
dec edi
mov word [eax + 0x2f8], cx
jne 0x40178b
pop ebx
pop edi
mov eax, dword [0x4077a0]
pop esi
mov ax, word [eax + 0x2f8]
ret
Function at 0x69b43110
Capabilities:
Get common file path

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x220]
push ecx
sub esp, 0x228
mov esi, dword [ecx + 4]
mov edi, dword [ecx + 8]
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
mov edx, ebx
sub esp, 8
cmp word [ebp - 0x220], 0
je 0x69b43161
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x69b43158
xor eax, eax
mov ecx, 0x5c
jmp 0x69b43177
movzx ecx, word [eax + str._spooldriverscolor]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x69b43170
movzx edx, word [ebp - 0x220]
test dx, dx
je 0x69b43200
mov eax, ebx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x69b43198
sub eax, ebx
test esi, esi
je 0x69b431ab
cmp eax, dword [edi]
jbe 0x69b431d0
mov edx, dword fs:[0x18]
mov dword [edx + 0x34], 0xea
mov dword [edi], eax
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
xor ecx, ecx
jmp 0x69b431dc
movzx edx, word [ebx + ecx]
mov word [esi + ecx], dx
add ecx, 2
test dx, dx
jne 0x69b431d8
mov dword [edi], eax
lea esp, [ebp - 0x10]
mov eax, 1
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
test esi, esi
je 0x69b4320d
xor eax, eax
mov word [esi], ax
xor eax, eax
jmp 0x69b431e8
xor eax, eax
jmp 0x69b431ab
Function at 0x69b445d0
Capabilities:
Copy file

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x448
mov esi, dword [ecx + 4]
mov edx, dword [ecx]
mov dword [ebp - 0x42c], 0x208
test esi, esi
sete al
test edx, edx
setne bl
or ebx, eax
test byte [0x69b7c090], 8
jne 0x69b44720
test bl, bl
je 0x69b44628
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
lea edi, [ebp - 0x42c]
lea ebx, [ebp - 0x428]
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.69b43110
sub esp, 0xc
test eax, eax
je 0x69b44613
lea edx, [ebp - 0x220]
mov eax, esi
call fcn.69b42960
cmp word [ebp - 0x428], 0
mov edx, ebx
je 0x69b44679
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x69b44670
xor eax, eax
mov ecx, 0x5c
jmp 0x69b4468f
movzx ecx, word [eax + 0x69b803c0]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x69b44688
cmp word [ebp - 0x428], 0
mov edx, ebx
je 0x69b446b9
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x69b446b0
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [ebp + eax - 0x220]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x69b446c0
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcscmp]
mov edx, eax
mov eax, 1
test edx, edx
je 0x69b44615
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [esp + 8], 1
call dword [sym.imp.kernel32.dll_CopyFileW]
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, esi
call fcn.69b42b00
mov dword [esp + 0xc], str.___s___n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.InstallColorProfileW
mov dword [esp + 4], 0x69b7c090
mov dword [esp], 3
call fcn.69b42fd0
test bl, bl
jne 0x69b44613
lea edi, [ebp - 0x42c]
test byte [0x69b7c090], 8
je 0x69b4462e
lea ebx, [ebp - 0x428]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.___p___p___n
mov dword [esp + 8], str.GetColorDirectoryW
mov dword [esp + 4], 0x69b7c090
mov dword [esp], 3
call fcn.69b42fd0
jmp 0x69b44634

Function at 0x69b44c20
Capabilities:
Delete file

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x28
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
mov edi, dword [ecx + 8]
test byte [0x69b7c090], 8
jne 0x69b44c80
test esi, esi
jne 0x69b44c68
test ebx, ebx
je 0x69b44c68
mov eax, 1
test edi, edi
jne 0x69b44cb8
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, ebx
call fcn.69b42b00
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.___s___x___n
mov dword [esp + 8], str.UninstallColorProfileW
mov dword [esp + 4], 0x69b7c090
mov dword [esp], 3
call fcn.69b42fd0
jmp 0x69b44c45
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_DeleteFileW]
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
Function at 0x69b455d0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
push ebx
mov ebx, eax
sub esp, 0x2fc
cmp word [eax], 0
mov dword [ebp - 0x2cc], ecx
mov dword [ebp - 0x2ac], 1
mov dword [ebp - 0x2a8], eax
je 0x69b45850
add eax, 2
cmp word [eax], 0
jne 0x69b45600
sub eax, ebx
add eax, 2
mov dword [ebp - 0x2a4], eax
lea eax, [ebp - 0x2ac]
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call sym.mscms.dll_OpenColorProfileW
sub esp, 0x10
mov esi, eax
test eax, eax
je 0x69b45810
lea eax, [ebp - 0x2a0]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym.mscms.dll_GetColorProfileHeader
sub esp, 8
test eax, eax
je 0x69b457e0
mov ecx, dword [sym.imp.advapi32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x2c0]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov dword [ebp - 0x2d0], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersionICM
mov dword [esp], 0x80000002
call ecx
lea edx, [ebp - 0x220]
mov eax, ebx
sub esp, 0x24
call fcn.69b42960
mov eax, dword [ebp - 0x294]
mov dword [esp + 8], 0x69b80158
mov dword [esp + 4], 5
movzx ebx, al
mov dword [esp + 0x18], ebx
movzx ebx, ah
mov dword [esp + 0x14], ebx
mov ebx, eax
shr eax, 0x18
shr ebx, 0x10
mov dword [esp + 0xc], eax
movzx ebx, bl
mov dword [esp + 0x10], ebx
lea ebx, [ebp - 0x2b6]
mov dword [esp], ebx
call fcn.69b42f20
lea eax, [ebp - 0x2bc]
mov dword [esp + 0x20], 0
mov ecx, dword [ebp - 0x2d0]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x2c0]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call ecx
lea edx, [ebp - 0x220]
sub esp, 0x24
test edi, edi
je 0x69b45830
mov eax, dword [ebp - 0x2cc]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 3
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x2bc]
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
mov eax, dword [ebp - 0x2bc]
mov ebx, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x2c0]
sub esp, 4
mov dword [esp], eax
call ebx
sub esp, 4
mov dword [esp], esi
call sym.mscms.dll_CloseColorProfile
mov edx, 1
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], esi
mov dword [ebp - 0x2cc], eax
call sym.mscms.dll_CloseColorProfile
mov edx, dword [ebp - 0x2cc]
mov eax, dword fs:[0x18]
sub esp, 4
mov dword [eax + 0x34], 0x7db
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword fs:[0x18]
xor edx, edx
mov dword [eax + 0x34], 0x7db
lea esp, [ebp - 0xc]
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x2bc]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
sub esp, 8
jmp 0x69b457a4
mov eax, 2
jmp 0x69b4560e
Function at 0x69b4bf30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp + 8], 0x69b8149b
mov dword [esp + 4], esi
test edi, edi
je 0x69b4bfc0
mov eax, dword [edi + 4]
mov dword [esp], eax
call fcn.69b4a990
mov ebx, eax
test eax, eax
je 0x69b4bf8b
mov eax, dword [edi + 0xb64]
mov dword [esp + 4], eax
mov eax, dword [edi + 4]
mov dword [esp], eax
call fcn.69b49eb0
test eax, eax
jne 0x69b4bf98
mov dword [esp], ebx
call dword [ebx + 0x118]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_remove]
add esp, 0x1c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, edi
mov edx, ebx
call fcn.69b4bcc0
mov dword [esp], ebx
test eax, eax
setne al
movzx eax, al
mov edi, eax
call dword [ebx + 0x118]
and eax, edi
je 0x69b4bf82
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0
call fcn.69b4a990
mov ebx, eax
test eax, eax
je 0x69b4bf8b
mov dword [esp + 8], 0x59e
mov dword [esp + 4], str..._libs_lcms2_src_cmsio0.c
mov dword [esp], str._hProfile_____void_0__
call dword [sym.imp.ucrtbase.dll__assert]
jmp 0x69b4bf60

Function at 0x69b4d0c0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [0x69b9401c]
test ebx, ebx
je 0x69b4d190
mov eax, dword [0x69b9401c]
test eax, eax
je 0x69b4d168
mov eax, dword [0x69b9401c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
sub esp, 8
cmp eax, 0xffffffff
je 0x69b4d168
mov eax, dword [0x69b7c100]
test eax, eax
je 0x69b4d1e0
mov eax, dword [0x69b9401c]
test eax, eax
je 0x69b4d140
mov eax, dword [0x69b9401c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReleaseMutex]
sub esp, 4
test eax, eax
je 0x69b4d140
mov dword [0x69b94020], 1
mov ebx, dword [ebp - 4]
mov eax, 1
leave
ret
mov dword [esp + 8], str.Mutex_unlock_failed
mov dword [esp + 4], 3
mov dword [esp], 0
call fcn.69b49c40
mov ebx, dword [ebp - 4]
xor eax, eax
leave
ret
mov dword [esp + 8], str.Mutex_lock_failed
mov dword [esp + 4], 3
mov dword [esp], 0
call fcn.69b49c40
mov ebx, dword [ebp - 4]
xor eax, eax
leave
ret
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateMutexA]
sub esp, 0xc
mov edx, eax
test eax, eax
je 0x69b4d0d5
mov eax, ebx
lock cmpxchg dword [0x69b9401c], edx
test eax, eax
je 0x69b4d0d5
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
jmp 0x69b4d0d5
mov dword [esp], 0x69b7c100
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
sub esp, 4
jmp 0x69b4d10d
Function at 0x69b59170
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x30
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.69b4ad90
mov ebx, eax
test eax, eax
je 0x69b59245
mov dword [esp], eax
mov dword [esp + 4], 0x9999999a
mov dword [esp + 8], 0x40119999
call fcn.69b4b880
mov dword [esp + 4], 0x6d6e7472
mov dword [esp], ebx
call fcn.69b4b850
mov dword [esp + 4], 0x47524159
mov dword [esp], ebx
call fcn.69b4b830
mov dword [esp + 4], 0x58595a20
mov dword [esp], ebx
call fcn.69b4b810
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.69b4b6b0
mov edx, str.gray_built_in
mov eax, ebx
call fcn.69b58ab0
test eax, eax
je 0x69b59250
test esi, esi
je 0x69b59223
mov dword [esp + 4], esi
lea esi, [ebp - 0x20]
mov dword [esp], esi
call fcn.69b77840
mov dword [esp + 8], esi
mov dword [esp + 4], 0x77747074
mov dword [esp], ebx
call fcn.69b4c910
test eax, eax
je 0x69b59250
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x69b59245
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], 0x6b545243
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.69b4c910
test eax, eax
je 0x69b59250
add esp, 0x30
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
mov dword [esp], ebx
xor ebx, ebx
call fcn.69b4c230
add esp, 0x30
mov eax, ebx
pop ebx
pop esi
pop ebp
ret