joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e752
Capabilities:
Set registry value

Disassembly:
mov eax, 0x426ca0
call fcn.0041362c
sub esp, 0x468
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
je 0x40e93a
push ebx
push edi
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x20], 0xf
call fcn.004036db
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
xor edi, edi
mov dword [ebp - 4], ebx
test eax, eax
jbe 0x40e7e5
push edi
mov ecx, esi
call fcn.0040dacc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x38]
call fcn.0040e4d7
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
dec eax
cmp edi, eax
jae 0x40e7d4
push 0x2c
push 1
lea ecx, [ebp - 0x38]
call fcn.0040e489
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
inc edi
cmp edi, eax
jb 0x40e7a3
push dword [0x43282c]
lea ecx, [ebp - 0x54]
call fcn.004060ab
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x40e922
push 0x434240
push eax
call fcn.00413a7a
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x40e922
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x40e829
lea eax, [ebp - 0x34]
push dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call fcn.00413b50
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00403520
mov esi, eax
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00404136
mov edi, eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00403520
push 0x40da02
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x64]
push eax
call fcn.0040e5bb
mov eax, dword [ebp - 0x50]
add esp, 0x20
cmp dword [ebp - 0x3c], 0x10
jae 0x40e88c
lea eax, [ebp - 0x50]
push dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.0040d950
push dword [ebp - 0x14]
lea eax, [ebp - 0x474]
push dword [ebp - 0x10]
push eax
call fcn.0040d9ad
mov dword [ebp + 8], ebx
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 2
call fcn.0040cbeb
add esp, 0x1c
test eax, eax
jne 0x40e919
push str.ConfigOSSProxySettings
lea ecx, [ebp + 8]
call fcn.004029c3
push 0x2001f
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.004015be
test eax, eax
jne 0x40e911
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push 3
push ebx
push 0x42bba0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
call fcn.00412857
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.004015a3
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.00403cab
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00403cab
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40ef0c
Capabilities:
Get process image filename
Terminate process

Disassembly:
mov eax, 0x426530
call fcn.0041362c
sub esp, 0x330
push ebx
push esi
mov esi, dword [ebp + 8]
push dword [esi + 0x1c]
xor ebx, ebx
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp + 8], eax
cmp eax, ebx
jne 0x40ef3d
xor al, al
jmp 0x40efba
xor eax, eax
push 0x208
mov word [ebp - 0x33c], ax
lea eax, [ebp - 0x33a]
push ebx
push eax
call fcn.00413a00
add esp, 0xc
push 0x105
lea eax, [ebp - 0x33c]
push eax
push dword [ebp + 8]
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x40ef7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40ef39
push edi
lea eax, [ebp - 0x33c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004057c9
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 0x5c
call fcn.00402d95
mov edi, eax
cmp edi, 0xffffffff
jne 0x40efca
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004038ff
xor al, al
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
cmp dword [esi + 0x38], 0x10
jb 0x40efd5
mov esi, dword [esi + 0x24]
jmp 0x40efd8
add esi, 0x24
push esi
lea ecx, [ebp - 0x130]
call fcn.00403887
cmp dword [ebp - 0x14], 8
mov ecx, dword [eax]
mov eax, dword [ebp - 0x28]
jae 0x40eff2
lea eax, [ebp - 0x28]
push ecx
lea eax, [eax + edi*2 + 2]
push eax
call fcn.00413ffd
test eax, eax
lea eax, [ebp - 0x12c]
pop ecx
setne bl
pop ecx
cmp dword [ebp - 0x130], eax
je 0x40f01e
push dword [ebp - 0x130]
call fcn.00412862
pop ecx
test bl, bl
je 0x40f034
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004038ff
mov al, bl
jmp 0x40efb9
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp + 8]
test eax, eax
setne bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40f024
Function at 0x40fc45
Capabilities:
Set registry value

Disassembly:
mov eax, 0x426dd8
call fcn.0041362c
sub esp, 0x24
push ebx
push edi
push 0xf003f
xor edi, edi
push edi
push edi
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x10], eax
cmp eax, edi
je 0x40fdd5
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 6
test eax, eax
jbe 0x40fcea
push edi
mov ecx, esi
call fcn.0040db19
cmp dword [eax + 0x14], 0
je 0x40fcb4
push edi
mov ecx, esi
call fcn.0040db19
cmp dword [eax + 0x18], 0x10
jb 0x40fca2
mov eax, dword [eax + 4]
jmp 0x40fca5
add eax, 4
push eax
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.0040e33f
test al, al
jne 0x40fcc8
push edi
mov ecx, esi
call fcn.0040db19
push eax
mov ecx, ebx
call fcn.0040ef0c
test al, al
je 0x40fcdc
push edi
mov ecx, esi
call fcn.0040db19
add eax, 0x20
push eax
lea ecx, [ebx + 4]
call fcn.004091d9
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc edi
sar eax, 6
cmp edi, eax
jb 0x40fc81
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
xor ebx, ebx
sar eax, 6
xor edi, edi
test eax, eax
jbe 0x40fd1f
push edi
mov ecx, esi
call fcn.0040db19
cmp byte [eax + 0x3c], bl
jne 0x40fd2f
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc edi
sar eax, 6
cmp edi, eax
jb 0x40fd04
push str.Dont_need_to_update_registry___exiting_n
call fcn.0040192d
pop ecx
jmp 0x40fdd4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
lea eax, [ebp - 0x30]
push 0x432080
push eax
mov dword [ebp - 4], ebx
call fcn.00406a01
add esp, 0xc
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
jae 0x40fd5e
lea eax, [ebp - 0x2c]
push eax
push str.Reg_key:__s_n
call fcn.0040192d
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
jae 0x40fd77
lea eax, [ebp - 0x2c]
push 0xf013f
push eax
push SysStringLen
lea ecx, [ebp - 0x14]
call fcn.004015be
test eax, eax
jne 0x40fdc1
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x40fd9a
lea eax, [ebp - 0x2c]
push eax
push str.Setting_Reg_key:__s_n
call fcn.0040192d
pop ecx
pop ecx
push 4
lea eax, [ebp + 8]
push eax
push 4
push ebx
push str.ProxyEnable
push dword [ebp - 0x14]
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.004038ff
lea ecx, [ebp - 0x14]
call fcn.004015a3
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4114f6
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push esi
push edi
lea eax, [ebp - 4]
push eax
mov esi, 0x100
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call fcn.0041149f
mov eax, dword [ebp - 4]
mov cl, byte [ebp + eax - 0x105]
add esp, 0x10
cmp cl, 0x3a
je 0x41153d
cmp cl, 0x5c
je 0x41153d
mov byte [ebp + eax - 0x104], 0x5c
inc eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
push ecx
mov ecx, esi
sub ecx, eax
push ecx
push dword [ebp + 0xc]
lea eax, [ebp + eax - 0x104]
push eax
call fcn.0041149f
add esp, 0x10
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41157f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x411676
push ebx
xor ebx, ebx
cmp byte [ebp - 0x218], 0x2e
jne 0x4115ac
cmp byte [ebp - 0x217], bl
je 0x411654
cmp byte [ebp - 0x217], 0x2e
jne 0x4115ac
cmp byte [ebp - 0x216], bl
je 0x411654
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call fcn.0041149f
mov eax, dword [ebp - 4]
mov cl, byte [ebp + eax - 0x105]
add esp, 0x10
cmp cl, 0x3a
je 0x4115e3
cmp cl, 0x5c
je 0x4115e3
mov byte [ebp + eax - 0x104], 0x5c
inc eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
push ecx
mov ecx, esi
sub ecx, eax
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea eax, [ebp + eax - 0x104]
push eax
call fcn.0041149f
add esp, 0x10
test byte [ebp - 0x244], 0x10
lea eax, [ebp - 0x104]
je 0x411635
push 1
push 0x428c74
push eax
call fcn.004114f6
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x411654
jmp 0x411645
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x411654
cmp byte [ebp + 0x10], bl
je 0x41167a
lea eax, [ebp - 0x104]
push ebx
push eax
call fcn.0041121d
pop ecx
pop ecx
lea eax, [ebp - 0x244]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x411582
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x41166c

Function at 0x414cd8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4329c4]
jne 0x414ce2
repz ret
jmp fcn.0041dbce
Function at 0x422c2e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004199d6
and dword [ebp - 4], 0
cmp dword [0x434d70], 0
mov ebx, eax
jne 0x422cdf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x422d90
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x422d90
push eax
call fcn.00419964
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434d70], eax
call esi
push eax
call fcn.00419964
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x434d74], eax
call esi
push eax
call fcn.00419964
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x434d78], eax
call esi
push eax
call fcn.00419964
pop ecx
mov dword [0x434d80], eax
test eax, eax
je 0x422cdf
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00419964
pop ecx
mov dword [0x434d7c], eax
mov eax, dword [0x434d7c]
cmp eax, ebx
je 0x422d37
cmp dword [0x434d80], ebx
je 0x422d37
push eax
call fcn.004199df
push dword [0x434d80]
mov esi, eax
call fcn.004199df
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x422d37
test edi, edi
je 0x422d37
call esi
test eax, eax
je 0x422d2e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x422d2e
test byte [ebp - 0xc], 1
jne 0x422d37
or dword [ebp + 0x10], 0x200000
jmp 0x422d70
mov eax, dword [0x434d74]
cmp eax, ebx
je 0x422d70
push eax
call fcn.004199df
pop ecx
test eax, eax
je 0x422d70
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x422d70
mov eax, dword [0x434d78]
cmp eax, ebx
je 0x422d70
push eax
call fcn.004199df
pop ecx
test eax, eax
je 0x422d70
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x434d70]
call fcn.004199df
pop ecx
test eax, eax
je 0x422d90
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x422d92
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x661c50f8
Capabilities:
Check if file exists

Disassembly:
push 0x21c
mov eax, 0x662361d9
call fcn.6622a8c1
mov edi, ecx
xor ebx, ebx
cmp byte [edi + 0x8c], bl
mov esi, edx
mov dword [ebp - 0x220], esi
je 0x661c5130
lea eax, [edi + 0x90]
cmp dword [eax], ebx
je 0x661c5130
push eax
call fcn.661c5833
jmp 0x661c5215
mov eax, dword [edi + 0x50]
push 0x104
lea edx, [ebp - 0x218]
call fcn.661c100a
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.661c106a
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x228]
push eax
call fcn.66226849
mov eax, dword [eax]
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x661c51f4
lea eax, [ebp - 0x21c]
push eax
push edi
call fcn.661c4e0b
test al, al
je 0x661c51f4
cmp byte [edi + 0x8c], bl
je 0x661c51c5
mov esi, dword [ebp - 0x21c]
add edi, 0x90
mov eax, dword [edi]
cmp eax, ebx
je 0x661c51b3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
mov dword [edi], esi
je 0x661c51bf
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov esi, dword [ebp - 0x220]
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x21c], ebx
mov dword [esi], eax
mov byte [ebp - 4], bl
lea eax, [ebp - 0x21c]
push eax
call fcn.661c7d37
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x224]
push eax
call fcn.661c1686
jmp 0x661c5215
mov byte [ebp - 4], bl
lea eax, [ebp - 0x21c]
push eax
call fcn.661c7d37
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x224]
push eax
call fcn.661c1686
mov dword [esi], ebx
mov eax, esi
call fcn.6622a944
ret

Function at 0x661c7a5d
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [0x662802e4], ebx
push esi
jne 0x661c7a9b
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x661c7a91
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x662802e0], eax
mov dword [0x662802e4], 1
mov eax, dword [0x662802e0]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x661c7ab6
push dword [ebp + 0xc]
push eax
call esi
mov ebx, eax
test ebx, ebx
jne 0x661c7ae7
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jne 0x661c7adf
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x661c7ad0
push dword [edi + 8]
call dword [edi]
jmp 0x661c7ad6
push dword [edi + 0xc]
call dword [edi + 4]
test eax, eax
je 0x661c7ae7
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
push dword [ebp + 0xc]
push eax
call esi
mov ebx, eax
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8
Function at 0x661c80ec
Capabilities:
Check mutex on windows

Disassembly:
push 0
mov eax, 0x6622ec56
call fcn.6622a858
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi], eax
mov dword [ebp - 4], eax
push 1
push dword [ebp + 0xc]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
call fcn.661c8022
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x661c812f
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.6622a930
ret 8
Function at 0x661e1916
Capabilities:
Generate random numbers via winapi

Disassembly:
push 0xc
mov eax, 0x66238119
call fcn.6622a858
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebx], vtable.GCColoredIUnknown.0
mov dword [ebx + 4], 1
mov dword [ebx + 0x20], esi
mov dword [ebp - 4], esi
lea eax, [ebx + 0x24]
push eax
call fcn.661cab0b
mov byte [ebp - 4], 1
lea eax, [ebx + 0x34]
push eax
call fcn.661e1acb
mov byte [ebp - 4], 2
mov dword [ebx + 0x44], esi
mov byte [ebp - 4], 3
lea eax, [ebx + 0x48]
push eax
call fcn.661e1b13
mov byte [ebp - 4], 4
mov dword [ebx + 0x60], esi
mov byte [ebp - 4], 5
xor ecx, ecx
push ecx
mov eax, 0x661e2bd3
push eax
push ebx
lea edi, [ebx + 0x68]
mov dword [ebx + 0x64], esi
call fcn.661e547d
mov byte [ebp - 4], 6
xor ecx, ecx
push ecx
mov eax, 0x661e2c39
push eax
push ebx
lea edi, [ebx + 0x70]
mov dword [ebx + 0x6c], esi
call fcn.661e547d
mov byte [ebp - 4], 7
push 0xc
mov dword [ebx + 0x74], esi
mov dword [ebx + 0x78], esi
mov dword [ebx + 0x7c], esi
call dword [sym.imp.GrooveUtil.DLL_public:_static_void____stdcall_GCThunkHeap::Alloc_unsigned_long_int_]
mov edi, eax
cmp edi, esi
je 0x661e19e1
push 0xc
push edi
mov byte [edi], 0xb8
mov byte [edi + 5], 0xb9
mov word [edi + 0xa], 0xe0ff
mov dword [edi + 1], 0x661e2d75
mov dword [edi + 6], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov esi, edi
mov dword [ebx + 0x80], esi
mov byte [ebp - 4], 8
lea esi, [ebx + 0x1c]
push esi
push 4
call dword [sym.imp.GrooveUtil.DLL_public:_static_unsigned_long_int___stdcall_GCStdCryptProv::GetHandle_void_]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x661e1a11
push 0x80004005
push 0x2e6b3474
call fcn.661c8172
mov eax, 0x66280254
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 9
mov edi, dword [esi]
or dword [ebp - 0x10], 0xffffffff
lea esi, [ebp - 0x10]
mov dword [ebp - 0x14], edi
call fcn.661e57c3
test eax, eax
jne 0x661e1a73
push 0x10
call dword [sym.imp.GrooveNew.DLL_void____cdecl_GrooveNew_unsigned_int_]
push 4
mov esi, eax
push 0
push esi
call sub.MSVCR80.dll_memset
push 4
lea edi, [esi + 4]
push 0
push edi
call sub.MSVCR80.dll_memset
mov eax, dword [ebp - 0x14]
mov dword [edi], ebx
add esp, 0x1c
lea ebx, [ebp - 0x10]
mov edi, esi
mov dword [esi], eax
call fcn.661e5748
mov ebx, dword [ebp + 8]
jmp 0x661e1a76
mov dword [eax + 4], ebx
mov byte [ebp - 4], 8
push 0x66280254
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or eax, 0xffffffff
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x9c], eax
mov dword [ebx + 0xa0], eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.6622a930
ret 4
Function at 0x661e69a8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x661e6a00
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x661e69f1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x661e69ed
cmp edi, eax
jae 0x661e69f1
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x661e69df
cmp edi, eax
jb 0x661e69f5
xor eax, eax
jmp 0x661e69ff
mov ax, word [edi]
neg ax
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebp
ret 8
Function at 0x661f038b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
clc
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x661f03ad
invalid
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.661f00bf
sar ebp, 0x49
ja 0x661f038f
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid

Function at 0x661f38fd
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 0x661f3982
push esi
xor esi, esi
test eax, eax
jle 0x661f3957
add edi, 0x60
call fcn.662021d3
mov ecx, dword [eax]
mov eax, dword [ecx]
and dword [ecx + 0x18], 0
call dword [eax + 8]
call fcn.662021d3
mov eax, dword [eax]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x661f394c
call fcn.662021d3
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 0x661f3916
mov edi, eax
push ebx
push 0
lea ebx, [edi + 0x60]
call fcn.66203907
mov ecx, dword [edi + 0x18]
or dword [edi + 0x70], 0xffffffff
or dword [edi + 0x74], 0xffffffff
test ecx, ecx
pop ebx
je 0x661f397a
mov eax, dword [ecx]
push 0
push edi
call dword [eax + 0xc]
mov esi, edi
call fcn.661f8a84
pop esi
pop edi
pop ebp
ret 4

Function at 0x661f660f
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 0x661f6624
xor al, al
jmp 0x661f66b1
cmp byte [edi + 0x44], 0
je 0x661f661d
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x661f661d
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x661f661d
push ebx
mov ebx, dword [edi + 0x48]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
jne 0x661f66ae
mov eax, pe_nt_image_headers32
cmp dword [esi + 4], eax
jne 0x661f66ae
mov ecx, dword [esi + 8]
cmp ecx, 8
jne 0x661f666a
push dword [esi + 0xc]
push ecx
jmp 0x661f6673
cmp ecx, 0x2e
jne 0x661f6677
push dword [esi + 0xc]
push ecx
push eax
push ebx
jmp 0x661f66a4
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x661f66ae
push dword [esi + 8]
push str.ABCEIJKRLUVXYZ
call dword [sym.imp.MSVCR80.dll_strchr]
test eax, eax
pop ecx
pop ecx
je 0x661f66ae
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 0x661f66b0
xor al, al
pop ebx
pop edi
pop esi
pop ebp
ret 4
Function at 0x661f8a84
Capabilities:
Hide graphical window

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

Function at 0x661f9490
Capabilities:
Hide graphical window

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

Function at 0x661fcc52
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 0x10]
test eax, eax
je 0x661fcc74
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x661fcc74
mov eax, dword [esi + 0x10]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret