joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001c70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.10001c00
test al, al
jne 0x10001c83
mov esp, ebp
pop ebp
ret
push ebx
push esi
push edi
xor esi, esi
jmp 0x10001c90
movzx eax, byte [esi + 0x10056f20]
mov dl, al
and dl, 0xf1
mov cl, dl
shr dl, 4
and cl, 0xf
xor cl, dl
mov bl, cl
and cl, 3
mov dl, al
and dl, 0xe3
shr bl, 2
xor bl, cl
mov cl, dl
shr dl, 4
and cl, 0xf
xor cl, dl
mov dl, cl
shr dl, 2
and cl, 3
xor dl, cl
mov byte [ebp - 0x14], dl
mov dl, al
and dl, 0xc7
mov cl, dl
shr dl, 4
and cl, 0xf
xor cl, dl
mov dl, cl
shr dl, 2
and cl, 3
xor dl, cl
mov byte [ebp - 0x10], dl
mov dl, al
and dl, 0x8f
mov cl, dl
shr dl, 4
and cl, 0xf
xor cl, dl
mov dl, cl
shr dl, 2
and cl, 3
xor dl, cl
mov byte [ebp - 0xc], dl
mov dl, al
and dl, 0x1f
mov cl, dl
shr dl, 4
and cl, 0xf
xor cl, dl
mov dl, cl
shr dl, 2
and cl, 3
xor dl, cl
mov byte [ebp - 8], dl
mov dl, al
and dl, 0x3e
mov cl, dl
shr dl, 4
and cl, 0xf
xor cl, dl
mov dl, cl
shr dl, 2
and cl, 3
xor dl, cl
mov byte [ebp - 4], dl
mov dl, al
and dl, 0x7c
mov cl, dl
and cl, 0xf
shr dl, 4
xor cl, dl
mov dl, cl
and cl, 3
shr dl, 2
and al, 0xf8
xor dl, cl
mov cl, al
and cl, 0xf
shr al, 4
xor cl, al
mov al, cl
shr al, 2
and cl, 3
xor al, cl
movzx edi, al
mov eax, edi
and eax, 1
add eax, eax
xor eax, edi
movzx edx, dl
mov edi, edx
and edi, 1
add edi, edi
xor edi, edx
movzx edx, byte [ebp - 4]
and edi, 0xfffffffe
and eax, 0xfffffffe
add eax, eax
or eax, edi
mov edi, edx
and edi, 1
add edi, edi
xor edi, edx
movzx edx, byte [ebp - 8]
and edi, 0xfffffffe
add eax, eax
or eax, edi
mov edi, edx
and edi, 1
add edi, edi
xor edi, edx
movzx edx, byte [ebp - 0xc]
and edi, 0xfffffffe
add eax, eax
or eax, edi
mov edi, edx
and edi, 1
add edi, edi
xor edi, edx
movzx edx, byte [ebp - 0x10]
movzx ecx, bl
mov ebx, edx
and ebx, 1
add ebx, ebx
xor ebx, edx
movzx edx, byte [ebp - 0x14]
and edi, 0xfffffffe
and ebx, 0xfffffffe
add edi, edi
or edi, ebx
mov ebx, edx
and ebx, 1
add eax, eax
add ebx, ebx
xor ebx, edx
add eax, eax
add edi, edi
add eax, eax
or edi, ebx
mov edx, ecx
and edi, 0xfffffffe
shr edx, 1
and ecx, 1
or eax, edi
xor edx, ecx
or eax, edx
xor eax, 0x63
mov byte [esi + 0x10055530], al
inc esi
cmp esi, 0xff
jbe 0x10001c90
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000b210
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040d37
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100525d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebx], 0x10044ccc
mov dword [ebx + 0x54], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [ebx]
mov edi, dword [edx + 4]
add edi, ebx
mov ecx, edi
mov dword [ebp - 0x10], 1
call fcn.10001910
lea esi, [ebx + 4]
push 0x20
mov ecx, edi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], 0
call fcn.1000d020
cmp dword [edi + 0x28], 0
mov byte [edi + 0x30], al
jne 0x1000b2a3
mov eax, dword [edi + 8]
or eax, 4
or eax, 4
push 0
push eax
mov ecx, edi
call fcn.100017a0
mov dword [edi + 4], 0
mov dword [ebp - 4], 2
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov ecx, esi
call fcn.1000cd00
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], 0
mov byte [esi + 0x41], 0
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
xor ecx, ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov dword [esi + 0x4c], ecx
mov edx, dword [0x10054c2c]
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000cd00
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004015b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100525d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1001cf33
push 4
mov dword [ebp - 4], 0
call fcn.1001e484
mov edi, eax
add esp, 4
test edi, edi
je 0x1000cd80
call fcn.1001cd00
mov dword [edi], eax
call fcn.1001cb2e
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.1001ce84
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x1000cd76
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.1001ceac
jmp 0x1000cd82
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000d960
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x100525d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.10023380
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call esi
test eax, eax
jne 0x1000d9ba
lea edx, [ebp - 0x120]
push edx
mov dword [ebp - 0x120], 0x114
call esi
cmp dword [ebp - 0x110], 2
pop esi
jne 0x1000d9e0
cmp dword [ebp - 0x11c], 6
jb 0x1000d9e0
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001d39b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.1001d39b
mov esp, ebp
pop ebp
ret

Function at 0x1000d9f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x100525d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.10023380
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call esi
test eax, eax
jne 0x1000da4a
lea edx, [ebp - 0x120]
push edx
mov dword [ebp - 0x120], 0x114
call esi
cmp dword [ebp - 0x110], 2
pop esi
jne 0x1000da6a
cmp dword [ebp - 0x11c], 6
jb 0x1000da6a
mov eax, 1
cmp dword [ebp - 0x118], eax
jae 0x1000da6c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001d39b
mov esp, ebp
pop ebp
ret
Function at 0x1000da80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x100525d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.10023380
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call esi
test eax, eax
jne 0x1000dada
lea edx, [ebp - 0x120]
push edx
mov dword [ebp - 0x120], 0x114
call esi
mov ecx, 2
pop esi
cmp dword [ebp - 0x110], ecx
jne 0x1000db13
mov eax, dword [ebp - 0x11c]
cmp eax, 6
jb 0x1000db13
cmp dword [ebp - 0x118], ecx
jae 0x1000db00
cmp eax, 6
jbe 0x1000db13
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001d39b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.1001d39b
mov esp, ebp
pop ebp
ret

Function at 0x1000db30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push 0x80000002
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1000db95
mov eax, 4
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.EnableUAC
push ecx
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000e4f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x402c
call fcn.10030df0
mov eax, dword [0x100525d4]
xor eax, esp
mov dword [esp + 0x4028], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push esi
mov dword [esp + 0x18], esi
call sym.Common.dll_Ordinal_31
lea eax, [esp + 0xc]
push eax
push 0x20019
xor ebx, ebx
push ebx
push edi
push esi
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000e640
xor ecx, ecx
push 0x3ffe
push ecx
lea edx, [esp + 0x3a]
push edx
mov word [esp + 0x3c], cx
call fcn.10023380
mov ecx, dword [esp + 0x18]
add esp, 0xc
push 0x2000
lea eax, [esp + 0x34]
push eax
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x1000e635
xor edx, edx
mov eax, edi
mov word [esp + 0x18], dx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000e597
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [esp + 0x18]
call fcn.1000e860
push 1
push 0x1004507c
mov eax, esi
call fcn.1000e730
lea eax, [esp + 0x30]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000e5c7
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x1c]
call fcn.1000e730
mov eax, dword [esp + 0x18]
mov esi, 8
cmp dword [esp + 0x2c], esi
jae 0x1000e5f8
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call sym.Common.dll_Ordinal_33
inc ebx
cmp dword [esp + 0x2c], esi
jb 0x1000e617
mov edx, dword [esp + 0x18]
push edx
call fcn.1001df62
add esp, 4
mov ecx, dword [esp + 0xc]
push 0x2000
lea eax, [esp + 0x34]
push eax
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x1000e57b
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x4034]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1001d39b
mov esp, ebp
pop ebp
ret 8
Function at 0x10015180
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov esi, edx
test eax, eax
jne 0x10015196
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10015229
mov eax, dword [ebp + 8]
test eax, eax
je 0x10015234
test edi, edi
je 0x10015234
push 0
push edi
push eax
mov ecx, esi
call fcn.10014730
test eax, eax
jne 0x100151e3
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
mov edi, dword [esi + 0x224]
mov eax, dword [esi + 0x224]
sub edi, dword [esi + 0x220]
sub eax, dword [esi + 0x220]
mov dword [ebp - 4], 0
jne 0x10015209
call fcn.1001de49
mov esi, dword [esi + 0x220]
push 0
lea ecx, [ebp - 4]
push ecx
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
test eax, eax
jne 0x10015235
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x10015250
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10040c78
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x100525d4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10015389
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10015389
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x100152c6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10015389
cmp dword [esp + 0x18], 0
jne 0x100152ba
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0xf]
push ecx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x17], 0
call fcn.10015d20
mov dword [esp + 0x40], 0
cmp dword [esp + 0x14], 0
je 0x10015330
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
mov dword [esp + 0x10], 0
jne 0x1001530b
call fcn.1001de49
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
push 0
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10015330
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10015380
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x2c]
sub esi, dword [esp + 0x28]
jne 0x10015363
lea esi, [esp + 0x1c]
call fcn.10013c30
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
test esi, esi
ja 0x1001536c
call fcn.1001de49
mov ecx, dword [esp + 0x28]
push 0
push esi
push ecx
mov ecx, dword [ebp + 8]
call fcn.100148e0
test eax, eax
jne 0x10015341
lea esi, [esp + 0x1c]
call fcn.10013c30
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10015c90
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x10015d11
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 4
jl 0x10015d11
push ebx
push 0x80
push 3
push ebx
push 3
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10015cf5
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.1001f1ad
add esp, 8
test eax, eax
je 0x10015ce9
xor eax, eax
xor edx, edx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 8]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x10015d0a
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100165e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
push edi
lea eax, [ebp - 4]
push eax
push edi
push 0x20006
push edi
push edi
push edi
push str.SOFTWAREEnigmaSoftwareGroupSpyHunterSpyHunterConfig
push 0x80000002
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edx, dword [ebp + 0xc]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10016611
sub eax, esi
sar eax, 1
lea ecx, [eax + eax]
mov eax, dword [ebp - 4]
push ecx
push edx
mov edx, dword [ebp + 8]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1001663e
lea edi, [eax + 1]
mov eax, dword [ebp - 4]
test eax, eax
je 0x1001664c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x10016730
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SOFTWAREEnigmaSoftwareGroupSpyHunterSpyHunterConfig
push 0x80000002
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x10016776
lea esi, [eax + 1]
mov eax, dword [ebp - 4]
test eax, eax
je 0x10016784
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x10016cf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, eax
mov ebx, dword [esi + 0x10]
push edi
cmp dword [esi + 0xc], ebx
jbe 0x10016d08
call fcn.1001de49
mov edi, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
cmp edi, dword [esi + 0x10]
jbe 0x10016d1a
call fcn.1001de49
mov ecx, dword [ebp - 0xc]
mov eax, dword [esi]
push ebx
push ecx
push edi
push eax
lea ebx, [ebp - 0xc]
call fcn.10013d90
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push 0
push 0
push 0
push ebx
push ecx
call edi
test eax, eax
jne 0x10016d7d
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x10016d7d
push eax
push ecx
mov eax, esi
call fcn.10013c80
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
jne 0x10016d68
call fcn.1001de49
mov esi, dword [esi + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
lea eax, [ebp - 4]
push eax
push esi
push 0
push 0
push ebx
push edx
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1001b3b0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100407f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x100525d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
lea ebx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.1001b5c0
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1001b3f9
cmp dword [ebp + 0x20], 8
jb 0x1001b46d
mov eax, dword [ebp + 0xc]
push eax
jmp 0x1001b465
or eax, 0xffffffff
lea esi, [ebp + 8]
call fcn.1000ec50
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x1001b410
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1001b45b
push 2
lea ebx, [ebp + 8]
call fcn.1001b5c0
cmp eax, 0xffffffff
je 0x1001b446
sub esp, 0x1c
mov ecx, ebx
mov esi, esp
mov dword [ebp - 0x10], esp
lea edx, [eax + 1]
push ecx
call fcn.1001b300
call fcn.1001b3b0
add esp, 0x1c
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x1001b452
lea eax, [ebp + 0xc]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp + 0x20], 8
jb 0x1001b46d
mov edx, dword [ebp + 0xc]
push edx
call fcn.1001df62
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001b480
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040f20
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x100525d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
cmp esi, ebx
je 0x1001b57d
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 4
jl 0x1001b57d
push ebx
push 0x80
push 3
push ebx
push 3
push 0x80000000
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x20], edi
cmp edi, 0xffffffff
jne 0x1001b54a
lea eax, [ebp - 0x58]
push eax
push esi
call fcn.1001f1ad
add esp, 8
cmp eax, ebx
je 0x1001b532
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.UTILS_tFileSizeUint64:_tCan_not_open:__s__lerror___d_n
xor ecx, ecx
call fcn.10011b40
add esp, 0xc
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x18]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1001b576
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.UTILS_tFileSizeUint64:_t_File_size_failed___s___lerror__d_n
xor ecx, ecx
call fcn.10011b40
add esp, 0xc
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001c2f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100401e8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100525d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.10001270
mov dword [esi], vtable.boost::bad_function_call.0
mov dword [ebp - 4], 0
test edi, edi
je 0x1001c339
add edi, 0x28
jmp 0x1001c33b
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x1001c353
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::bad_function_call_.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_boost::bad_function_call_.1.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10026f67
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
xchg esi, eax
mov esi, 0xc6975d88
inc ebp
cwde
pop ss

Function at 0x10026f70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xchg esi, eax
mov esi, 0xc6975d88
inc ebp
cwde
pop ss
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.10026bba
push eax
push esi
push dword [ebp + 8]
call fcn.10026b6f
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
Function at 0x10039be0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test ecx, ecx
jne 0x10039beb
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
pop ebp
jmp fcn.10039900