joyce8/EMBER2024-capa huggingface dataset:
Function at 0x661fd655
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x661fd7df
lea eax, [esp + 8]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [esi + 0x54], 1
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
jne 0x661fd69e
push 0
push dword [esi + 0x58]
call edi
mov eax, dword [esp + 8]
jmp 0x661fd6d0
push 5
push dword [esi + 0x58]
call edi
lea eax, [esp + 0x18]
push eax
push 0
push 0x433
push dword [esi + 0x58]
call ebx
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 8]
lea eax, [ecx + eax + 1]
cmp dword [esp + 0x10], eax
jge 0x661fd6d0
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x80], eax
add eax, 0x14
cmp dword [esp + 0x10], eax
mov dword [esi + 0x84], ecx
mov dword [esp + 8], eax
jge 0x661fd6f1
mov dword [esp + 0x10], eax
cmp byte [esi + 0x60], 0
jne 0x661fd700
push 0
push dword [esi + 0x64]
call edi
jmp 0x661fd736
push 5
push dword [esi + 0x64]
call edi
lea eax, [esp + 0x18]
push eax
push 0
push 0x433
push dword [esi + 0x64]
call ebx
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
lea eax, [ecx + eax - 1]
cmp dword [esp + 8], eax
mov dword [esp + 0x10], eax
jle 0x661fd736
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x661fd765
lea ebx, [esi + 0x8c]
mov eax, dword [ebx]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x661fd7d2
mov eax, dword [ebx]
push 0
push dword [eax + 4]
call edi
jmp 0x661fd7d2
mov eax, dword [esi + 0x8c]
push dword [eax + 4]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
call ebx
test eax, eax
jne 0x661fd7b0
mov ecx, dword [esi + 0x8c]
mov eax, dword [ecx]
lea edx, [esp + 8]
push edx
push dword [esi + 4]
call dword [eax + 4]
mov eax, dword [esi + 0x8c]
push dword [eax + 4]
call ebx
test eax, eax
je 0x661fd7d2
push 0
push 0
push 0x8001
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x661fd7d2
mov eax, dword [esi + 0x8c]
push 5
push dword [eax + 4]
call edi
mov eax, dword [esi + 0x8c]
add eax, 4
push 0
push eax
lea eax, [esp + 0x10]
call fcn.6620f3ed
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x662001b5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
lea esi, [ebx + 0x34]
push esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
mov eax, dword [ebx + 0x10]
je 0x662001fa
test eax, eax
je 0x66200287
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x66200287
mov eax, dword [ebx + 0x10]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x66200287
test eax, eax
je 0x66200287
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x66200224
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x66200287
mov edx, dword [ebp + 8]
mov eax, dword [ecx]
push esi
push dword [edx + 4]
call dword [eax + 4]
jmp 0x66200287
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
push dword [esi + 0x30]
lea eax, [ebp - 0x14]
push dword [esi + 0x2c]
push eax
call fcn.6620d915
mov eax, dword [ebx + 0x10]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, dword [esi + 4]
je 0x66200268
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
mov dword [ecx + 0x18], esi
call dword [eax + 8]
push dword [esi + 4]
mov eax, dword [ebx + 0x10]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [ebx + 0x10]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x10]
add eax, 4
push 4
push eax
lea eax, [ebp - 0x14]
call fcn.6620f3ed
pop edi
pop esi
leave
ret 4

Function at 0x662006f1
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, 0x6622da1f
call fcn.6622a858
and dword [ebp - 4], 0
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
mov esi, dword [ebp + 8]
je 0x6620072b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x66200783
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x66200783
lea edi, [esi + 4]
push dword [edi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x66200749
push dword [ebp + 0xc]
mov eax, dword [esi]
push dword [ebx + 4]
mov ecx, esi
call dword [eax + 4]
jmp 0x66200783
push dword [edi]
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, dword [ebx + 4]
je 0x6620076e
lea eax, [ebx + 0x44]
mov dword [esi + 0x18], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push dword [ebx + 4]
push dword [edi]
call dword [sym.imp.USER32.dll_SetParent]
push 5
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0xc]
push 4
push edi
call fcn.6620f3ed
or dword [ebp - 4], 0xffffffff
lea esi, [ebp + 8]
call fcn.661f72a2
call fcn.6622a930
ret 8
Function at 0x6620db1a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x662309ee
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x66274018]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esi + 0x14]
mov dword [esp + 0x18], ebx
and dword [esp + 0x78], 0
push 0x30
pop edi
push edi
lea eax, [esp + 0x40]
push 0
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [esi + 8]
mov dword [esp + 0x58], eax
add esp, 0xc
lea eax, [esi + 0x1c]
push eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], 0x33
call dword [sym.imp.USER32.dll_CopyRect]
mov edi, dword [esi + 0x18]
mov dword [esp + 0x14], edi
mov byte [esp + 0x78], 1
and dword [esp + 0x10], 0
mov byte [esp + 0x78], 2
mov eax, dword [esi + 8]
lea ecx, [esp + 0x3c]
push ecx
push 0
push eax
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x6620dc7c
push 0
lea eax, [esp + 0x14]
push eax
push dword [esi + 8]
lea ebx, [esp + 0x24]
call fcn.6620f49f
test eax, eax
je 0x6620dc7c
push dword [esi + 0xc]
lea eax, [esp + 0x20]
push dword [esi + 0x10]
push eax
push edi
mov edi, dword [ebp + 8]
call fcn.6620dcac
test word [esp + 0x44], 0x800
je 0x6620dc31
mov byte [esp + 0x78], 3
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
lea esi, [esp + 0x1c]
lea edi, [esp + 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cdq
sub eax, edx
movsd dword es:[edi], dword [esi]
sar eax, 1
add eax, dword [esp + 0x20]
push 2
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x34], eax
push 6
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_DrawEdge]
mov byte [esp + 0x78], 2
jmp 0x6620dc7c
test word [esp + 0x48], 0x1000
movzx eax, word [esi + 0x2c]
mov dword [esp + 0x18], eax
je 0x6620dc47
push dword [edi + 0x1c]
jmp 0x6620dc4a
push dword [edi + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x18]
mov ebx, eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x24]
push edi
call fcn.6620dd1a
push ebx
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
mov byte [esp + 0x78], 1
cmp dword [esp + 0x10], 0
je 0x6620dc92
lea ecx, [esp + 0x10]
call dword [sym.imp.GrooveUtil.DLL_private:_void___thiscall_GCStr::_Release_void_]
or dword [esp + 0x78], 0xffffffff
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x662163f1
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push 0x234
mov eax, 0x66230519
call fcn.6622a8c1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x220], ebx
je 0x66216437
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp - 0x220], ebx
lea eax, [ebp - 0x220]
push eax
push ebx
push ebx
push 0x8004
call dword [sym.imp.GrooveUtil.DLL_public:_static_unsigned_long_int___stdcall_GCStdCryptProv::GetHandle_void_]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
mov edi, 0x80004005
mov esi, 0x2e6b3474
jne 0x66216467
push edi
push esi
call fcn.661c8172
push dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push eax
call fcn.66226d09
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x224], eax
push ebx
lea eax, [ebp - 0x21c]
push eax
call fcn.661c1052
add eax, eax
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x662164b3
push edi
push esi
call fcn.661c8172
push 4
pop eax
push ebx
lea ecx, [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x228]
push ecx
push eax
push dword [ebp - 0x220]
mov dword [ebp - 0x230], eax
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x662164e3
push edi
push esi
call fcn.661c8172
cmp dword [ebp - 0x230], 4
je 0x662164f3
push edi
push esi
call fcn.661c8172
lea eax, [ebp - 0x240]
push eax
call fcn.661cf3eb
mov byte [ebp - 4], 1
push dword [ebp - 0x228]
lea ebx, [ebp - 0x240]
call fcn.6620ca4e
mov eax, dword [ebp - 0x240]
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x228]
push ecx
push eax
push 2
push dword [ebp - 0x220]
mov dword [ebp - 0x224], eax
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x66216544
push edi
push esi
call fcn.661c8172
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x228]
push dword [ebp - 0x22c]
call fcn.6621cbea
mov byte [ebp - 4], bl
lea eax, [ebp - 0x240]
push eax
call fcn.661cf413
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x220], ebx
je 0x66216588
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp - 0x220], ebx
mov eax, dword [ebp - 0x22c]
call fcn.6622a944
ret 8
Function at 0x66225538
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6622c470
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x66274018]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
mov eax, dword [0x66274018]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x240], edi
mov eax, dword [ebx]
lea edx, [esp + 0x18]
push edx
push 0x2001f
push edi
push ecx
push eax
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x662255b9
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x18]
call fcn.6620ff75
mov esi, eax
cmp esi, edi
je 0x662255e2
or dword [esp + 0x240], 0xffffffff
cmp dword [esp + 0x14], edi
je 0x662255db
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
mov eax, esi
jmp 0x66225667
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x66225604
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.66225538
cmp eax, edi
mov dword [esp + 0x18], eax
jne 0x6622568d
lea eax, [esp + 0x24]
push eax
push edi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x40]
push eax
push edi
push dword [esp + 0x30]
mov dword [esp + 0x3c], pe_nt_image_headers32
call esi
test eax, eax
je 0x662255ea
cmp dword [esp + 0x14], edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x6622563f
push dword [esp + 0x14]
call esi
mov dword [esp + 0x14], edi
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
or dword [esp + 0x240], 0xffffffff
cmp dword [esp + 0x14], edi
je 0x66225665
push dword [esp + 0x14]
call esi
mov dword [esp + 0x14], edi
mov eax, ebx
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.66229806
mov esp, ebp
pop ebp
ret 4
or dword [esp + 0x240], 0xffffffff
cmp dword [esp + 0x14], edi
je 0x662256a9
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x18]
jmp 0x66225667
Function at 0x66225f49
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x66233201
call fcn.6622a858
mov edi, dword [ebp + 8]
push edi
call fcn.661fcef1
xor esi, esi
inc esi
mov dword [ebp - 4], esi
or dword [edi + 0x1c], 0x12345670
mov dword [edi], vtable.GCWindowImpl_class_GCWorkQueue__class_GCWindowBase__class_ATL::CWinTraitsOR_33554432__4__class_ATL::CWinTraits_114229248__262400___.0
mov dword [ebp - 4], 2
xor ebx, ebx
mov dword [edi], vtable.GCWorkQueue.0
mov dword [edi + 0x24], ebx
mov byte [ebp - 4], 3
mov dword [edi + 0x28], ebx
mov byte [ebp - 4], 4
mov dword [edi + 0x2c], ebx
mov byte [ebp - 4], 5
lea eax, [edi + 0x30]
push eax
call fcn.661c7ec1
mov byte [ebp - 4], 6
lea eax, [edi + 0x48]
mov dword [ebp - 0x10], eax
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov byte [ebp - 4], 9
lea eax, [edi + 0x58]
mov dword [ebp - 0x10], eax
mov dword [eax], ebx
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
mov byte [ebp - 4], 0xf
push esi
push ebx
push ebx
push esi
push ebx
mov byte [edi + 0x64], bl
mov dword [edi + 0x68], 0x3e8
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
lea esi, [edi + 0x24]
call fcn.661c8022
push 1
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
lea esi, [edi + 0x28]
call fcn.661c8022
push edi
xor ebx, ebx
push ebx
push 0x66226515
call dword [sym.imp.MSVCR80.dll__beginthread]
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
jne 0x66226022
push 0x2e6b346e
call fcn.661c806f
lea esi, [edi + 0x2c]
mov eax, dword [esi]
cmp eax, ebx
je 0x66226034
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
push 2
push ebx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call esi
push eax
push dword [ebp - 0x10]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x6622605c
push 0x2e726d69
call fcn.661c806f
mov eax, dword [edi + 0x24]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
or dword [ebp - 4], 0xffffffff
mov eax, edi
call fcn.6622a930
ret 4
Function at 0x66226a15
Capabilities:
Query environment variable

Disassembly:
push 0x24
mov eax, 0x66233091
call fcn.6622a88b
xor esi, esi
push esi
call dword [sym.imp.GrooveUtil.DLL_public:_static_void___stdcall_GCCriticalErrorInfo::StartErrorBlock_bool_]
mov dword [ebp - 4], esi
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1c]
push eax
call fcn.66226949
test al, al
jne 0x66226a4f
or dword [ebp - 4], 0xffffffff
call dword [sym.imp.GrooveUtil.DLL_public:_static_void___stdcall_GCCriticalErrorInfo::EndErrorBlock_void_]
mov al, 1
jmp 0x66226ada
cmp dword [ebp - 0x18], 0x40048
ja 0x66226a5f
jb 0x66226a3e
cmp dword [ebp - 0x1c], esi
jb 0x66226a3e
push esi
push esi
push str.DisableGrooveShellExtensions
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x66226a3e
push esi
push esi
push 1
lea ecx, [ebp - 0x30]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCRegistryKey::constructor_enum_GCRegistryKey::KEY_ROOT__wchar_t_const___bool_]
mov byte [ebp - 4], 2
push 0x20019
lea ecx, [ebp - 0x30]
call dword [sym.imp.GrooveUtil.DLL_public:_long_int___thiscall_GCRegistryKey::Open_unsigned_long_int_]
test eax, eax
jne 0x66226abe
push esi
push str.DisableShellExtensions
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.GrooveUtil.DLL_public:_long_int___thiscall_GCRegistryKey::GetValue_unsigned_long_int___wchar_t_const___unsigned_long_int__const]
test eax, eax
jne 0x66226abe
cmp dword [ebp - 0x14], esi
je 0x66226abe
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call dword [sym.imp.GrooveUtil.DLL_public_virtual:_void___thiscall_GCRegistryKey::destructor_void_]
jmp 0x66226a3e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call dword [sym.imp.GrooveUtil.DLL_public_virtual:_void___thiscall_GCRegistryKey::destructor_void_]
mov dword [ebp - 4], esi
or dword [ebp - 4], 0xffffffff
call dword [sym.imp.GrooveUtil.DLL_public:_static_void___stdcall_GCCriticalErrorInfo::EndErrorBlock_void_]
xor al, al
call fcn.6622a930
ret
Function at 0x66226aec
Capabilities:
Query environment variable

Disassembly:
push 0x1c
mov eax, 0x6623679b
call fcn.6622a88b
xor esi, esi
push esi
call dword [sym.imp.GrooveUtil.DLL_public:_static_void___stdcall_GCCriticalErrorInfo::StartErrorBlock_bool_]
mov dword [ebp - 4], esi
mov byte [ebp - 4], 1
push esi
push esi
push str.DisableGrooveShellHooks
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x66226b27
or dword [ebp - 4], 0xffffffff
call dword [sym.imp.GrooveUtil.DLL_public:_static_void___stdcall_GCCriticalErrorInfo::EndErrorBlock_void_]
mov al, 1
jmp 0x66226b94
push esi
push esi
push 1
lea ecx, [ebp - 0x28]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCRegistryKey::constructor_enum_GCRegistryKey::KEY_ROOT__wchar_t_const___bool_]
mov byte [ebp - 4], 2
push 0x20019
lea ecx, [ebp - 0x28]
call dword [sym.imp.GrooveUtil.DLL_public:_long_int___thiscall_GCRegistryKey::Open_unsigned_long_int_]
test eax, eax
jne 0x66226b75
push esi
push str.DisableShellHooks
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.GrooveUtil.DLL_public:_long_int___thiscall_GCRegistryKey::GetValue_unsigned_long_int___wchar_t_const___unsigned_long_int__const]
test eax, eax
jne 0x66226b75
cmp dword [ebp - 0x14], esi
je 0x66226b75
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call dword [sym.imp.GrooveUtil.DLL_public_virtual:_void___thiscall_GCRegistryKey::destructor_void_]
jmp 0x66226b19
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call dword [sym.imp.GrooveUtil.DLL_public_virtual:_void___thiscall_GCRegistryKey::destructor_void_]
mov dword [ebp - 4], esi
or dword [ebp - 4], 0xffffffff
call dword [sym.imp.GrooveUtil.DLL_public:_static_void___stdcall_GCCriticalErrorInfo::EndErrorBlock_void_]
call fcn.66226a15
call fcn.6622a930
ret
Function at 0x662272a4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.6622aa30
mov eax, dword [0x66274018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, 0xffff0000
test dword [ebp + 0xc], esi
push edi
mov dword [ebp - 0x1014], eax
je 0x6622733d
push dword [ebp + 0xc]
mov ecx, 0x66244074
call fcn.661c102d
test eax, eax
jne 0x6622733d
test dword [ebp + 8], esi
mov edi, 0x80004005
mov ebx, 0x2e6b3474
je 0x662272f8
push edi
push ebx
call fcn.661c8172
push 0x1001
lea eax, [ebp - 0x1008]
push eax
movzx eax, word [ebp + 8]
push eax
call dword [sym.imp.GrooveUtil.DLL_public:_static_struct_HINSTANCE______stdcall_GCGrooveResourceModule::GetHandle_void_]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov esi, eax
test esi, esi
jne 0x66227323
push edi
push ebx
call fcn.661c8172
mov ebx, dword [ebp - 0x1014]
push esi
call fcn.6620ca4e
push esi
lea eax, [ebp - 0x1008]
push eax
push esi
jmp 0x662273c5
push dword [ebp + 0xc]
mov esi, dword [sym.imp.GrooveUtil.DLL_public:_static_struct_HINSTANCE______stdcall_GCGrooveResourceModule::GetHandle_void_]
push dword [ebp + 8]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
mov dword [ebp - 0x1010], eax
mov edi, 0x80004005
mov ebx, 0x2e6b3474
jne 0x6622736d
push edi
push ebx
call fcn.661c8172
push dword [ebp - 0x1010]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x1010]
mov dword [ebp - 0x100c], eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x6622739e
push edi
push ebx
call fcn.661c8172
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [ebp - 0x100c]
mov ebx, dword [ebp - 0x1014]
mov esi, eax
call fcn.6620ca4e
push dword [ebp - 0x100c]
push esi
push dword [ebp - 0x100c]
push dword [ebx]
call dword [sym.imp.MSVCR80.dll_memcpy_s]
mov ecx, dword [ebp - 4]
add esp, 0x10
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.66229806
leave
ret 0xc
Function at 0x66228051
Capabilities:
Check if file exists
Get disk information

Disassembly:
test esi, esi
je 0x6622805b
cmp word [esi], 0
jne 0x6622805f
push 0x11
pop eax
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCServerShareW]
test eax, eax
je 0x6622806e
push 0xf
pop eax
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCServerW]
test eax, eax
je 0x6622807d
push 0xe
pop eax
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
jne 0x6622805b
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
push esi
je 0x662280c7
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
sub eax, 0
je 0x662280c3
dec eax
dec eax
je 0x662280bf
dec eax
je 0x662280bb
dec eax
je 0x662280b7
dec eax
je 0x662280b3
dec eax
jne 0x6622805b
push 0xb
pop eax
ret
push 0xa
pop eax
ret
push 9
pop eax
ret
push 8
pop eax
ret
push 7
pop eax
ret
push 0xc
pop eax
ret
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x662280d5
push 3
pop eax
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
and eax, 0xfffffff1
add eax, 0x11
ret