joyce8/EMBER2024-capa huggingface dataset:
Function at 0x68f1dd49
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68f5c912
mov eax, dword fs:[0]
push eax
mov eax, 0x105c
call fcn.68f54e20
mov eax, dword [0x68f6edd8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov edx, dword [ebp + 0xc]
xor ebx, ebx
mov dword [eax - 4], ebx
mov eax, dword [edi]
mov esi, ecx
mov byte [edi + 8], bl
mov word [eax], bx
mov dword [ebp - 0x1064], esi
mov dword [ebp - 0x1060], edx
mov dword [ebp - 0x105c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x105c]
push eax
call fcn.68f1e5ac
test al, al
je 0x68f1de01
mov eax, dword [ebp - 0x105c]
cmp eax, dword [edi]
mov esi, eax
je 0x68f1ddd2
push eax
call fcn.68f079b4
push eax
push esi
mov ecx, edi
call sym.GrooveUtil.DLL_public:_void___thiscall_GCStackStrBase::Set_wchar_t_const__const__unsigned_long_int_
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x105c]
call fcn.68f079b4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.68f53fd7
leave
ret 8
mov ecx, esi
call sym.GrooveUtil.DLL_public:_bool___thiscall_GCRegistryKey::IsVirtualKey_void_const
test al, al
je 0x68f1de11
push 2
pop esi
jmp 0x68f1ddd4
push 0x1046
lea eax, [ebp - 0x1056]
push ebx
push eax
mov word [ebp - 0x1058], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1068]
push eax
lea eax, [ebp - 0x1058]
push eax
push ebx
mov eax, esi
add esi, 4
neg eax
push ebx
push dword [ebp - 0x1060]
sbb eax, eax
and eax, esi
push dword [eax]
mov dword [ebp - 0x1068], 0x1048
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [ebp - 0x1064]
call fcn.68f1e366
mov esi, eax
cmp esi, ebx
jne 0x68f1ddd4
lea eax, [ebp - 0x1058]
cmp eax, dword [edi]
je 0x68f1ddd4
push eax
call fcn.68f079b4
push eax
lea eax, [ebp - 0x1058]
push eax
mov ecx, edi
call sym.GrooveUtil.DLL_public:_void___thiscall_GCStackStrBase::Set_wchar_t_const__const__unsigned_long_int_
jmp 0x68f1ddd4

Function at 0x68f1debd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
call sym.GrooveUtil.DLL_public:_bool___thiscall_GCRegistryKey::IsVirtualKey_void_const
test al, al
je 0x68f1ded2
push 2
pop eax
jmp 0x68f1df03
and dword [ebp - 4], 0
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push dword [ebp + 0xc]
lea ecx, [edi + 4]
push eax
mov eax, edi
neg eax
push 0
push dword [ebp + 8]
sbb eax, eax
and eax, ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, edi
call fcn.68f1e366
pop esi
pop edi
leave
ret 0xc
Function at 0x68f1e202
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x68f5c8d9
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x68f6edd8]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
mov eax, dword [0x68f6edd8]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push edi
mov ebx, esi
mov dword [esp + 0x18], ecx
call fcn.68f079b4
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea ecx, [esp + 0x34]
push ecx
push edi
push edi
push edi
push eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
je 0x68f1e324
mov eax, dword [esi + 4]
cmp dword [esp + 0x18], eax
jle 0x68f1e29c
mov edi, dword [esp + 0x18]
push 1
call fcn.68f079b4
xor edi, edi
push 0x206
lea eax, [esp + 0x2a]
push edi
push eax
mov word [esp + 0x30], di
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
jbe 0x68f1e324
push 0x104
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x68f1e316
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], edi
call fcn.68f079b4
mov dword [esp + 0x240], edi
lea eax, [esp + 0x1c]
push eax
mov eax, esi
call fcn.68f079b4
or dword [esp + 0x240], 0xffffffff
cmp dword [esp + 0x1c], edi
je 0x68f1e316
lea ecx, [esp + 0x1c]
call sym.GrooveUtil.DLL_private:_void___thiscall_GCStr::_Release_void_
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x18]
jb 0x68f1e2be
mov al, bl
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.68f53fd7
mov esp, ebp
pop ebp
ret 4
Function at 0x68f1e38e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x74
mov eax, 0x68f560f0
call fcn.68f54ccb
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x80], ebx
mov byte [ebp - 4], 1
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 8]
lea edx, [ebp - 0x7c]
push edx
push 0x20019
push ebx
push ecx
push eax
mov dword [ebp - 0x7c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x68f1e411
mov edi, dword [ebp - 0x7c]
push 0x62
lea eax, [ebp - 0x72]
push ebx
push eax
mov dword [ebp - 0x80], edi
mov word [ebp - 0x74], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push str.CurVer
push edi
mov dword [ebp - 0x7c], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x68f1e411
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x78]
call fcn.68f079b4
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x78], ebx
mov dword [esi], eax
mov byte [ebp - 4], bl
cmp dword [ebp - 0x80], ebx
je 0x68f1e42d
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x80], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.68f079b4
mov eax, esi
call fcn.68f54d4e
ret 4
Function at 0x68f24b2c
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, eax
push dword [esi + 0xc]
call fcn.68f079b4
mov edi, eax
test edi, edi
je 0x68f24bab
push edi
call fcn.68f24bb1
test al, al
je 0x68f24bab
mov eax, dword [edi + 0x3c]
and dword [ebp - 4], 0
add eax, edi
movzx ecx, word [eax + 0x14]
lea edx, [ecx + eax + 0x18]
movzx eax, word [eax + 6]
mov ecx, dword [esi + 0xc]
sub ecx, edi
test eax, eax
mov dword [ebp - 8], eax
jbe 0x68f24ba7
lea eax, [edx + 0x10]
push ebx
mov edi, dword [eax]
mov ebx, dword [eax - 8]
cmp edi, ebx
mov edx, dword [eax - 4]
ja 0x68f24b80
mov edi, ebx
cmp ecx, edx
jb 0x68f24b8a
add edi, edx
cmp ecx, edi
jbe 0x68f24b9a
inc dword [ebp - 4]
mov edx, dword [ebp - 4]
add eax, 0x28
cmp edx, dword [ebp - 8]
jb 0x68f24b72
jmp 0x68f24ba6
mov eax, dword [ebp - 4]
inc eax
sub ecx, edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
pop ebx
mov al, 1
jmp 0x68f24bad
xor al, al
pop edi
pop esi
leave
ret

Function at 0x68f24c7e
Capabilities:
Get file version info

Disassembly:
push 0x14
mov eax, 0x68f577ca
call fcn.68f54ccb
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
cmp edi, ebx
jne 0x68f24c9e
mov edi, dword [sym.GrooveUtil.DLL_wchar_t_const__const_raw_GCStr::SAFE_EMPTY_STRING_CBSTR]
lea eax, [ebp - 0x18]
push eax
push edi
mov dword [ebp - 0x18], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x68f24d2d
call fcn.68f54fb0
mov ebx, esp
push ebx
push esi
push dword [ebp - 0x18]
push edi
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x68f721ec
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x68f24d3a
mov eax, dword [ebp - 0x1c]
cmp word [eax + 0xc], 0
je 0x68f24d0b
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
lea eax, [ebp - 0x14]
push str._hu._02hu._hu._hu
push eax
call fcn.68f079b4
add esp, 0x18
jmp 0x68f24d3a
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
lea eax, [ebp - 0x14]
push str._hu._02hu._hu
push eax
call fcn.68f079b4
add esp, 0x14
jmp 0x68f24d3a
push str.0.0.0
lea ecx, [ebp - 0x14]
call fcn.68f079b4
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
and dword [ebp - 0x14], 0
mov dword [esi], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.68f079b4
mov eax, esi
lea esp, [ebp - 0x30]
call fcn.68f54d4e
ret 4
Function at 0x68f25b9a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x68f5c79c
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x68f6edd8]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
mov eax, dword [0x68f6edd8]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 0x68f76274
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
xor esi, esi
cmp eax, esi
jne 0x68f25bf8
xor al, al
jmp 0x68f25cab
push 0x104
lea ecx, [esp + 0x58]
push ecx
push eax
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
test eax, eax
je 0x68f25bf1
lea eax, [esp + 0x54]
push 0x5c
push eax
call dword [sym.imp.MSVCR80.dll_wcsrchr]
cmp eax, esi
pop ecx
pop ecx
je 0x68f25bf1
mov word [eax + 2], si
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
call fcn.68f079b4
mov dword [esp + 0x270], esi
push str.GrooveStdURLLauncher.exe
lea ecx, [esp + 0x18]
call fcn.68f079b4
push 0x3c
lea eax, [esp + 0x1c]
push esi
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x40], eax
add esp, 0xc
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x28], str.open
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne bl
or dword [esp + 0x270], 0xffffffff
cmp dword [esp + 0x14], esi
je 0x68f25ca9
lea ecx, [esp + 0x14]
call sym.GrooveUtil.DLL_private:_void___thiscall_GCStr::_Release_void_
mov al, bl
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.68f53fd7
mov esp, ebp
pop ebp
ret 0xc
Function at 0x68f27f7e
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x68f5c63c
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x68f6edd8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x30], ebx
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x68f28026
cmp word [esi], bx
je 0x68f28026
cmp dword [ebp + 0x10], ebx
je 0x68f28026
mov dword [esp + 0x14], ebx
mov byte [esp + 0x30], 1
mov dword [esp + 0x20], ebx
mov byte [esp + 0x30], 2
push esi
lea ecx, [esp + 0x18]
call fcn.68f079b4
push dword [ebp + 0x10]
lea ecx, [esp + 0x18]
call fcn.68f079b4
cmp eax, 0xffffffff
je 0x68f2800e
push eax
push esi
lea eax, [esp + 0x18]
push eax
call sym.GrooveUtil.DLL_public:_static_class_GCStrRetVal___stdcall_raw_GCStr::First_wchar_t_const___unsigned_long_int_
mov esi, dword [eax]
lea ecx, [esp + 0xc]
call fcn.68f079b4
mov dword [esp + 0xc], esi
jmp 0x68f28018
push esi
lea ecx, [esp + 0x10]
call fcn.68f079b4
mov byte [esp + 0x30], bl
lea eax, [esp + 0x14]
push eax
call fcn.68f2a08a
mov eax, dword [esp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp + 0xc], ebx
mov dword [esi], eax
or dword [esp + 0x30], 0xffffffff
cmp ebx, ebx
je 0x68f28045
lea ecx, [esp + 0xc]
call sym.GrooveUtil.DLL_private:_void___thiscall_GCStr::_Release_void_
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x68f2f1b7
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push dword [ebp + 8]
push 0
push dword [0x68fabe50]
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x68f2f1e5
lea eax, [ebp - 4]
push eax
push 0x40
push dword [ebp + 8]
push esi
call dword [sym.imp.kernel32.dll_VirtualProtect]
mov eax, esi
pop esi
leave
ret 4

Function at 0x68f3070f
Capabilities:
Get thread local storage value

Disassembly:
push 4
mov eax, 0x68f5e5a4
call fcn.68f54c62
push dword [0x68fabe74]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x68f30778
push 0x14
call dword [sym.imp.GrooveNew.DLL_void____cdecl_GrooveNew_unsigned_int_]
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x68f30761
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov byte [ebp - 4], 4
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov dword [esi + 0x10], eax
mov byte [ebp - 4], bl
jmp 0x68f30763
xor esi, esi
or dword [ebp - 4], 0xffffffff
push esi
mov eax, 0x68fabe74
call fcn.68f079b4
push esi
call fcn.68f079b4
mov eax, esi
call fcn.68f54d3a
ret
Function at 0x68f3c6ca
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x68f62e9f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x68f6edd8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
call sym.GrooveUtil.DLL_public:_static_class_GCDateFormat____stdcall_GWS::Util::GetWriteDateTimeFormat_void_
mov dword [esp + 0x14], eax
and dword [esp + 0x30], 0
fld qword [ebp + 0x10]
lea ecx, [esp + 0x1c]
fstp qword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.68f079b4
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov byte [esp + 0x30], 1
push dword [esp + 0xc]
mov edi, dword [ebp + 8]
lea eax, [esp + 0x1c]
push eax
call fcn.68f079b4
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov byte [esp + 0x30], 1
lea eax, [esp + 0x10]
push eax
call fcn.68f42223
mov byte [esp + 0x30], 0
cmp dword [esp + 0xc], 0
je 0x68f3c761
lea ecx, [esp + 0xc]
call sym.GrooveUtil.DLL_private:_void___thiscall_GCStr::_Release_void_
or dword [esp + 0x30], 0xffffffff
lea esi, [esp + 0x14]
call fcn.68f0dbe4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x68f42b41
Capabilities:
Get file version info

Disassembly:
push 0x43c
mov eax, 0x68f594e3
call fcn.68f54ccb
xor ebx, ebx
push 0x208
lea eax, [ebp - 0x222]
push ebx
push eax
mov edi, ecx
mov word [ebp - 0x224], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push edi
lea eax, [ebp - 0x224]
push 0x105
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x224]
push eax
mov dword [ebp - 0x43c], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
jbe 0x68f42c9a
push edi
call dword [sym.imp.GrooveNew.DLL_void____cdecl_GrooveNew_unsigned_int_]
pop ecx
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x440], eax
mov dword [ebp - 4], ebx
push eax
push edi
push dword [ebp - 0x43c]
lea eax, [ebp - 0x224]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x68f42c7b
push 0x4b0
push ebx
lea eax, [ebp - 0x324]
push str.StringFileInfo_04X_04XProductName
push eax
call fcn.68f079b4
add esp, 0x10
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x324]
push eax
push dword [ebp - 0x438]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x68f42c37
mov eax, dword [ebp - 0x444]
cmp eax, dword [esi]
mov edi, eax
je 0x68f42c7b
push eax
call fcn.68f079b4
push eax
push edi
mov ecx, esi
call sym.GrooveUtil.DLL_public:_void___thiscall_GCStackStrBase::Set_wchar_t_const__const__unsigned_long_int_
jmp 0x68f42c7b
call fcn.68f079b4
push eax
push 0x2d52
lea eax, [ebp - 0x434]
push eax
call fcn.68f08ee6
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x434]
cmp eax, dword [esi]
mov edi, eax
je 0x68f42c6d
push eax
call fcn.68f079b4
push eax
push edi
mov ecx, esi
call sym.GrooveUtil.DLL_public:_void___thiscall_GCStackStrBase::Set_wchar_t_const__const__unsigned_long_int_
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x434]
call fcn.68ef3ef5
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x438], ebx
je 0x68f42c9a
push dword [ebp - 0x438]
call dword [sym.imp.GrooveNew.DLL_void___cdecl_GrooveDelete_void__]
pop ecx
mov dword [ebp - 0x440], ebx
call fcn.68f54d4e
ret
Function at 0x68f44cd1
Capabilities:
Get thread local storage value

Disassembly:
push 8
mov eax, 0x68f56981
call fcn.68f54c62
push dword [0x68fac040]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
xor esi, esi
cmp ebx, esi
jne 0x68f44d28
push 0x10
call dword [sym.imp.GrooveNew.DLL_void____cdecl_GrooveNew_unsigned_int_]
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x68f44d15
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov byte [ebp - 4], 0
jmp 0x68f44d17
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ebx, eax
push eax
mov eax, 0x68fac040
call fcn.68f079b4
mov al, byte [ebp + 8]
mov esi, dword [ebx + 4]
mov byte [ebp - 0x14], al
test esi, esi
setge al
mov edi, 0x80070057
push edi
push 0x2e73696d
push eax
call fcn.68f079b4
cmp esi, dword [ebx + 4]
jl 0x68f44d65
lea eax, [esi + 1]
push eax
call fcn.68f079b4
cmp esi, dword [ebx + 4]
jl 0x68f44d65
push edi
push 0x2e736977
call fcn.68f079b4
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x14]
mov dword [ebx + esi*8], eax
xor eax, eax
mov dword [ebx + esi*8 + 4], eax
call fcn.68f54d3a
ret 4
Function at 0x68f51aee
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x68f61f22
call fcn.68f54c62
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
push 0x14
call dword [sym.imp.GrooveNew.DLL_void____cdecl_GrooveNew_unsigned_int_]
pop ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x68f51b33
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
push eax
call fcn.68f515f5
mov dword [ebp + 0x18], eax
jmp 0x68f51b36
mov dword [ebp + 0x18], ebx
mov byte [ebp - 4], bl
lea esi, [ebp - 0x10]
call fcn.68f51e3e
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp + 0x14], edi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov byte [ebp - 4], 2
inc dword [edi + 0x18]
cmp dword [edi + 0x18], 1
jne 0x68f51b7c
cmp dword [edi + 0x1c], ebx
jne 0x68f51b7c
mov esi, dword [edi + 0x24]
mov eax, dword [esi]
push esi
call dword [eax + 0x18]
cmp eax, ebx
jge 0x68f51b7c
push 0x68f79740
push esi
push eax
call fcn.68ef1079
mov byte [ebp - 4], bl
push edi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
push dword [ebp + 0x18]
mov dword [ebp - 0x10], ebx
push ebx
push 0x68f51ddd
call dword [sym.imp.MSVCR80.dll__beginthread]
add esp, 0xc
cmp eax, 0xffffffff
jne 0x68f51baa
push 0x2e6b6831
call fcn.68ef2114
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x10]
call fcn.68f51e3e
call fcn.68f54d3a
ret 0x14

Function at 0x68f51bbe
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x68f61eed
call fcn.68f54c62
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
push 0x14
call dword [sym.imp.GrooveNew.DLL_void____cdecl_GrooveNew_unsigned_int_]
pop ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x68f51c00
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
push eax
call fcn.68f5183c
mov dword [ebp + 0x14], eax
jmp 0x68f51c03
mov dword [ebp + 0x14], ebx
mov byte [ebp - 4], bl
lea esi, [ebp - 0x10]
call fcn.68f51e3e
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp + 0x10], edi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov byte [ebp - 4], 2
inc dword [edi + 0x18]
cmp dword [edi + 0x18], 1
jne 0x68f51c49
cmp dword [edi + 0x1c], ebx
jne 0x68f51c49
mov esi, dword [edi + 0x24]
mov eax, dword [esi]
push esi
call dword [eax + 0x18]
cmp eax, ebx
jge 0x68f51c49
push 0x68f79740
push esi
push eax
call fcn.68ef1079
mov byte [ebp - 4], bl
push edi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
push dword [ebp + 0x14]
mov dword [ebp - 0x10], ebx
push ebx
push 0x68f51e0b
call dword [sym.imp.MSVCR80.dll__beginthread]
add esp, 0xc
cmp eax, 0xffffffff
jne 0x68f51c77
push 0x2e6b6832
call fcn.68ef2114
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x10]
call fcn.68f51e3e
call fcn.68f54d3a
ret 0x10

Function at 0x68f53fd7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x68f6edd8]
jne 0x68f53fe0
ret
jmp fcn.68f54559
Function at 0x68f54c56
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x68fa7ff8], 0
push esi
jne 0x68f54bc9
call fcn.68f54af4
test eax, eax
je 0x68f54c0c
mov eax, dword [0x68fa7ff8]
cmp eax, 1
jne 0x68f54bea
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x68f54c0c
pop esi
ret
push eax
call dword [0x68fa8000]
test eax, eax
jne 0x68f54c54
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x68f54c10
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x68fa7ff8]
call dword [0x68fa8000]
mov edi, eax
test edi, edi
je 0x68f54c37
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x68f54c53
lea edi, [esi + 0xff0]
push esi
push dword [0x68fa7ff8]
call dword [0x68fa7ffc]
add esi, 0x10
cmp esi, edi
jb 0x68f54c3d
mov eax, esi
pop edi
pop esi
ret
jmp 0x68f54bb6
Function at 0x402b60
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0xb07064]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x402ba9
push str.SetDefaultDllDirectories
push 0xac1750
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402ba9
push 0xc00
call eax
test eax, eax
jne 0x402c47
push 0x106
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x402c47
cmp eax, 0x104
ja 0x402c47
cmp word [ebp + eax*2 - 0x2d6], 0x5c
je 0x402be7
mov ecx, 0x5c
mov word [ebp + eax*2 - 0x2d4], cx
inc eax
cmp byte [str.userenv], 0
push esi
mov esi, str.userenv
je 0x402c46
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
lea edi, [ebp - 0x2d4]
lea edi, [edi + eax*2]
mov al, byte [esi]
mov ecx, edi
inc esi
test al, al
je 0x402c20
movzx eax, al
mov word [ecx], ax
add ecx, 2
mov al, byte [esi]
inc esi
test al, al
jne 0x402c10
xor eax, eax
mov dword [ecx], 0x64002e
push 8
push eax
mov word [ecx + 8], ax
lea eax, [ebp - 0x2d4]
push eax
mov dword [ecx + 4], 0x6c006c
call ebx
cmp byte [esi], 0
jne 0x402c07
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a2a750
mov esp, ebp
pop ebp
ret