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

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x64]
cmp eax, 1
jl 0x662038e0
push esi
xor esi, esi
test eax, eax
jle 0x662038b5
add edi, 0x60
call fcn.662116be
mov ecx, dword [eax]
mov eax, dword [ecx]
and dword [ecx + 0x18], 0
call dword [eax + 8]
call fcn.662116be
mov eax, dword [eax]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x662038aa
call fcn.662116be
mov eax, dword [eax]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 8]
inc esi
cmp esi, dword [eax + 0x64]
jl 0x66203874
mov edi, eax
push ebx
push 0
lea ebx, [edi + 0x60]
call fcn.66213c93
mov ecx, dword [edi + 0x18]
or dword [edi + 0x70], 0xffffffff
or dword [edi + 0x74], 0xffffffff
test ecx, ecx
pop ebx
je 0x662038d8
mov eax, dword [ecx]
push 0
push edi
call dword [eax + 0xc]
mov esi, edi
call fcn.662089b1
pop esi
pop edi
pop ebp
ret 4

Function at 0x66206749
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
mov edi, ecx
jne 0x6620675e
xor al, al
jmp 0x662067eb
cmp byte [edi + 0x44], 0
je 0x66206757
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x66206757
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x66206757
push ebx
mov ebx, dword [edi + 0x48]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
jne 0x662067e8
mov eax, 0x100
cmp dword [esi + 4], eax
jne 0x662067e8
mov ecx, dword [esi + 8]
cmp ecx, 8
jne 0x662067a4
push dword [esi + 0xc]
push ecx
jmp 0x662067ad
cmp ecx, 0x2e
jne 0x662067b1
push dword [esi + 0xc]
push ecx
push eax
push ebx
jmp 0x662067de
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x662067e8
push dword [esi + 8]
push str.ABCEIJKRLUVXYZ
call dword [sym.imp.MSVCR80.dll_strchr]
test eax, eax
pop ecx
pop ecx
je 0x662067e8
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, 1
jmp 0x662067ea
xor al, al
pop ebx
pop edi
pop esi
pop ebp
ret 4

Function at 0x662089b1
Capabilities:
Hide graphical window

Disassembly:
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x662089c9
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call fcn.661f7ad5
ret

Function at 0x66209469
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esi + 0x54], eax
je 0x6620948f
push dword [esi + 4]
mov dword [esi + 0x54], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x66209489
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call fcn.661f7ad5
ret

Function at 0x6620cb2c
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 0x10]
test eax, eax
je 0x6620cb4e
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x6620cb4e
mov eax, dword [esi + 0x10]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x6620d558
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 0x6620d6e2
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 0x6620d5a1
push 0
push dword [esi + 0x58]
call edi
mov eax, dword [esp + 8]
jmp 0x6620d5d3
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 0x6620d5d3
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 0x6620d5f4
mov dword [esp + 0x10], eax
cmp byte [esi + 0x60], 0
jne 0x6620d603
push 0
push dword [esi + 0x64]
call edi
jmp 0x6620d639
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 0x6620d639
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x6620d668
lea ebx, [esi + 0x8c]
mov eax, dword [ebx]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x6620d6d5
mov eax, dword [ebx]
push 0
push dword [eax + 4]
call edi
jmp 0x6620d6d5
mov eax, dword [esi + 0x8c]
push dword [eax + 4]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
call ebx
test eax, eax
jne 0x6620d6b3
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 0x6620d6d5
push 0
push 0
push 0x8001
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x6620d6d5
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.66220319
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 0x6621020a
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 0x6621024f
test eax, eax
je 0x662102dc
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x662102dc
mov eax, dword [ebx + 0x10]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x662102dc
test eax, eax
je 0x662102dc
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x66210279
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x662102dc
mov edx, dword [ebp + 8]
mov eax, dword [ecx]
push esi
push dword [edx + 4]
call dword [eax + 4]
jmp 0x662102dc
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.6621e7bc
mov eax, dword [ebx + 0x10]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, dword [esi + 4]
je 0x662102bd
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.66220319
pop edi
pop esi
leave
ret 4

Function at 0x66210746
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, 0x6623ecf5
call fcn.6623ba18
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 0x66210780
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x662107d8
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x662107d8
lea edi, [esi + 4]
push dword [edi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x6621079e
push dword [ebp + 0xc]
mov eax, dword [esi]
push dword [ebx + 4]
mov ecx, esi
call dword [eax + 4]
jmp 0x662107d8
push dword [edi]
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, dword [ebx + 4]
je 0x662107c3
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.66220319
or dword [ebp - 4], 0xffffffff
lea esi, [ebp + 8]
call fcn.6620737e
call fcn.6623baf0
ret 8
Function at 0x6621e9c1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66241b41
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x66286018]
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 0x6621eb23
push 0
lea eax, [esp + 0x14]
push eax
push dword [esi + 8]
lea ebx, [esp + 0x24]
call fcn.66220345
test eax, eax
je 0x6621eb23
push dword [esi + 0xc]
lea eax, [esp + 0x20]
push dword [esi + 0x10]
push eax
push edi
mov edi, dword [ebp + 8]
call fcn.6621eb53
test word [esp + 0x44], 0x800
je 0x6621ead8
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 0x6621eb23
test word [esp + 0x48], 0x1000
movzx eax, word [esi + 0x2c]
mov dword [esp + 0x18], eax
je 0x6621eaee
push dword [edi + 0x1c]
jmp 0x6621eaf1
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.6621ebc1
push ebx
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
mov byte [esp + 0x78], 1
cmp dword [esp + 0x10], 0
je 0x6621eb39
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 0x6622735e
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push 0x234
mov eax, 0x66241624
call fcn.6623ba81
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 0x662273a4
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 0x662273d4
push edi
push esi
call fcn.661d7d78
push dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push eax
call fcn.66237b99
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x224], eax
push ebx
lea eax, [ebp - 0x21c]
push eax
call fcn.661d1052
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 0x66227420
push edi
push esi
call fcn.661d7d78
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 0x66227450
push edi
push esi
call fcn.661d7d78
cmp dword [ebp - 0x230], 4
je 0x66227460
push edi
push esi
call fcn.661d7d78
lea eax, [ebp - 0x240]
push eax
call fcn.661def35
mov byte [ebp - 4], 1
push dword [ebp - 0x228]
lea ebx, [ebp - 0x240]
call fcn.661db534
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 0x662274b1
push edi
push esi
call fcn.661d7d78
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x228]
push dword [ebp - 0x22c]
call fcn.6622dc1f
mov byte [ebp - 4], bl
lea eax, [ebp - 0x240]
push eax
call fcn.6621d9e9
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x220], ebx
je 0x662274f5
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp - 0x220], ebx
mov eax, dword [ebp - 0x22c]
call fcn.6623bb04
ret 8
Function at 0x6623622b
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6623d699
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x66286018]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
mov eax, dword [0x66286018]
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 0x662362ac
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x18]
call fcn.66220e1b
mov esi, eax
cmp esi, edi
je 0x662362d5
or dword [esp + 0x240], 0xffffffff
cmp dword [esp + 0x14], edi
je 0x662362ce
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
mov eax, esi
jmp 0x6623635a
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x662362f7
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.6623622b
cmp eax, edi
mov dword [esp + 0x18], eax
jne 0x66236380
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], 0x100
call esi
test eax, eax
je 0x662362dd
cmp dword [esp + 0x14], edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x66236332
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 0x66236358
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.6623a9c1
mov esp, ebp
pop ebp
ret 4
or dword [esp + 0x240], 0xffffffff
cmp dword [esp + 0x14], edi
je 0x6623639c
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x18]
jmp 0x6623635a
Function at 0x66236cb9
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x662443f2
call fcn.6623ba18
mov edi, dword [ebp + 8]
push edi
call fcn.6620cdab
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.661d7ac7
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.661d7c28
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.661d7c28
push edi
xor ebx, ebx
push ebx
push 0x66237246
call dword [sym.imp.MSVCR80.dll__beginthread]
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
jne 0x66236d92
push 0x2e6b346e
call fcn.661d7c75
lea esi, [edi + 0x2c]
mov eax, dword [esi]
cmp eax, ebx
je 0x66236da4
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 0x66236dcc
push 0x2e726d69
call fcn.661d7c75
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.6623baf0
ret 4
Function at 0x662378ab
Capabilities:
Query environment variable

Disassembly:
push 0x24
mov eax, 0x66244282
call fcn.6623ba4b
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.662377e6
test al, al
jne 0x662378e5
or dword [ebp - 4], 0xffffffff
call dword [sym.imp.GrooveUtil.DLL_public:_static_void___stdcall_GCCriticalErrorInfo::EndErrorBlock_void_]
mov al, 1
jmp 0x66237970
cmp dword [ebp - 0x18], 0x40048
ja 0x662378f5
jb 0x662378d4
cmp dword [ebp - 0x1c], esi
jb 0x662378d4
push esi
push esi
push str.DisableGrooveShellExtensions
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x662378d4
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 0x66237954
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 0x66237954
cmp dword [ebp - 0x14], esi
je 0x66237954
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call dword [sym.imp.GrooveUtil.DLL_public_virtual:_void___thiscall_GCRegistryKey::destructor_void_]
jmp 0x662378d4
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.6623baf0
ret
Function at 0x66237982
Capabilities:
Query environment variable

Disassembly:
push 0x1c
mov eax, 0x66247907
call fcn.6623ba4b
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 0x662379bd
or dword [ebp - 4], 0xffffffff
call dword [sym.imp.GrooveUtil.DLL_public:_static_void___stdcall_GCCriticalErrorInfo::EndErrorBlock_void_]
mov al, 1
jmp 0x66237a2a
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 0x66237a0b
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 0x66237a0b
cmp dword [ebp - 0x14], esi
je 0x66237a0b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call dword [sym.imp.GrooveUtil.DLL_public_virtual:_void___thiscall_GCRegistryKey::destructor_void_]
jmp 0x662379af
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.662378ab
call fcn.6623baf0
ret
Function at 0x66238134
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.6623bbf0
mov eax, dword [0x66286018]
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 0x662381cd
push dword [ebp + 0xc]
mov ecx, 0x662550ac
call fcn.661d102d
test eax, eax
jne 0x662381cd
test dword [ebp + 8], esi
mov edi, 0x80004005
mov ebx, 0x2e6b3474
je 0x66238188
push edi
push ebx
call fcn.661d7d78
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 0x662381b3
push edi
push ebx
call fcn.661d7d78
mov ebx, dword [ebp - 0x1014]
push esi
call fcn.661db534
push esi
lea eax, [ebp - 0x1008]
push eax
push esi
jmp 0x66238255
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 0x662381fd
push edi
push ebx
call fcn.661d7d78
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 0x6623822e
push edi
push ebx
call fcn.661d7d78
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [ebp - 0x100c]
mov ebx, dword [ebp - 0x1014]
mov esi, eax
call fcn.661db534
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.6623a9c1
leave
ret 0xc