joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4028b0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x18
push esi
push edi
push str.GetDiskFreeSpaceExA
push str.KERNEL32.DLL
or esi, 0xffffffff
or edi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4028fe
lea ecx, [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
push edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push ecx
push edx
call eax
test eax, eax
je 0x402937
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
pop edi
pop esi
add esp, 0x18
ret
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x2c]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x402937
mov eax, dword [esp + 0x24]
pop edi
imul eax, dword [esp + 4]
imul eax, dword [esp + 0xc]
xor edx, edx
pop esi
add esp, 0x18
ret
mov edx, edi
mov eax, esi
pop edi
pop esi
add esp, 0x18
ret

Function at 0x402a40
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
sub esp, 0x348
lea eax, [esp + 0x244]
push ebx
push ebp
mov ebp, dword [esp + 0x354]
push esi
push edi
push ebp
push str._s.
push eax
xor esi, esi
call fcn.00411870
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x254]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x402b0b
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp byte [esp + 0x3c], 0x2e
je 0x402af4
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x150]
push eax
push ebp
push str._s_s
push ecx
call fcn.00411870
mov al, byte [esp + 0x20]
add esp, 0x10
test al, 0x10
je 0x402ad0
lea edx, [esp + 0x150]
push edx
call fcn.00402a40
add esp, 4
cmp eax, 0xffffffff
je 0x402b18
add esi, eax
jmp 0x402af4
lea eax, [esp + 0x150]
push eax
call fcn.00402b30
add esp, 4
test al, al
jne 0x402b18
lea ecx, [esp + 0x150]
push 0x80
push ecx
call ebx
inc esi
lea edx, [esp + 0x10]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x402a8d
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x348
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x348
ret

Function at 0x402bc0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
lea eax, [esp]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402c50
lea ecx, [esp + 4]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 4]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push str.SystemRoot
push ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402c50
cmp dword [esp + 4], 0x104
ja 0x402c50
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x114]
lea eax, [esp + 0xc]
push eax
push 0x41c268
push ecx
call fcn.00411870
add esp, 0xc
mov al, 1
add esp, 0x110
ret
xor al, al
add esp, 0x110
ret
Function at 0x402c60
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x330
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x33c]
push ebp
mov ebp, dword [esp + 0x33c]
push eax
push 0x20019
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402d9c
mov cl, byte [0x41eb38]
push esi
push edi
mov byte [esp + 0x13c], cl
mov ecx, 0x40
lea edi, [esp + 0x13d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [esp + 0x34]
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x38]
push eax
lea edx, [esp + 0x34]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x38]
push 0
lea edx, [esp + 0x160]
push ecx
push edx
push eax
mov dword [esp + 0x48], 0x104
mov dword [esp + 0x44], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x402d79
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea ecx, [esp + 0x3c]
push 0xff
push ecx
push 0
push edx
call esi
test eax, eax
jne 0x402d79
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x240]
push eax
push ebx
push str._s_s
push ecx
call fcn.00411870
lea edx, [esp + 0x250]
push edx
push ebp
call fcn.00402c60
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x54]
add esp, 0x18
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
push 0xff
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x40]
push eax
push 0
push ecx
call esi
test eax, eax
je 0x402d29
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
pop esi
test eax, eax
pop ebp
pop ebx
sete al
add esp, 0x330
ret
pop ebp
xor al, al
pop ebx
add esp, 0x330
ret

Function at 0x404340
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [0x41fed4]
push ebx
push 0x41c370
push 0x96
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x40435f
xor al, al
pop ebx
ret
mov ecx, dword [0x41fed4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x404377
xor al, al
pop ebx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x404386
xor al, al
pop ebx
ret
push esi
push edi
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x41ed14
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x405540
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x298
call fcn.004057a0
call fcn.00405830
test al, al
jne 0x405570
mov eax, dword [0x420098]
push 0x40102
push eax
call fcn.00402db0
add esp, 8
xor al, al
add esp, 0x298
ret
mov al, byte [0x4200a2]
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x15c]
test al, al
push 0x14a
push ecx
je 0x4055a0
mov edx, dword [0x41fed4]
push 9
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x9c
jmp 0x4055b4
mov edx, dword [0x41fed4]
push 8
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x9b
mov eax, dword [0x41fed4]
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x41ec98
lea ecx, [esp + 0x160]
push 0x41fbe0
lea edx, [esp + 0x18]
push ecx
push edx
mov esi, eax
call fcn.00411870
mov ecx, dword [0x42003c]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [0x42003c]
push esi
push 1
push 0x80
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x42003c]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ed
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, eax
push 0xfffffffffffffff0
push esi
call ebx
mov ebp, dword [sym.imp.USER32.dll_SetWindowLongA]
or al, 0xd
push eax
push 0xfffffffffffffff0
push esi
call ebp
mov ecx, dword [0x42003c]
push 0x3ee
push ecx
call edi
mov esi, eax
push 0xfffffffffffffff0
push esi
call ebx
or al, 0xd
push eax
push 0xfffffffffffffff0
push esi
call ebp
mov eax, dword [0x41fed4]
lea edx, [esp + 0x10]
push 0x14a
push edx
push 0xa
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov edx, dword [0x42003c]
lea ecx, [esp + 0x10]
push ecx
push 0x3f0
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x298
ret

Function at 0x405f00
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi*8 + 0x42004c]
push 0
push eax
call edi
dec esi
test esi, esi
jl 0x405f42
lea eax, [esi*8 + 0x42004c]
cmp dword [eax], 0
jne 0x405f36
dec esi
sub eax, 8
test esi, esi
jge 0x405f24
mov eax, esi
pop edi
pop esi
ret
mov ecx, dword [esi*8 + 0x42004c]
push 5
push ecx
call edi
mov eax, esi
pop edi
pop esi
ret

Function at 0x405f50
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp esi, 9
jne 0x405f6d
mov eax, dword [0x42003c]
push 0
push eax
call dword [sym.imp.USER32.dll_EndDialog]
or eax, 0xffffffff
pop esi
ret
mov ecx, dword [esi*8 + 0x42004c]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ecx
call edi
inc esi
cmp esi, 9
jg 0x405fae
lea eax, [esi*8 + 0x42004c]
cmp dword [eax], 0
jne 0x405fa2
add eax, 8
inc esi
cmp eax, 0x420094
jle 0x405f8d
mov eax, esi
pop edi
pop esi
ret
mov edx, dword [esi*8 + 0x42004c]
push 5
push edx
call edi
mov eax, esi
pop edi
pop esi
ret
Function at 0x408250
Capabilities:
Create directory

Disassembly:
sub esp, 0x108
push ebx
mov ebx, dword [esp + 0x110]
push ebp
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov ebp, 2
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x11c]
mov byte [esp + 0x10], 0
not ecx
dec ecx
cmp eax, ecx
jbe 0x40828d
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x108
ret
push esi
push 0x5c
push eax
push ebx
mov dword [esp + 0x1c], eax
call fcn.00402a10
add esp, 0xc
test eax, eax
je 0x40830f
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
sub eax, ebx
inc eax
mov edi, eax
lea eax, [esp + 0x14]
push edi
push ebx
push eax
call fcn.00411970
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + edi + 0x14], 0
push 0
push ecx
call esi
test eax, eax
jne 0x4082e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
sub ebp, 0xb7
neg ebp
sbb ebp, ebp
and ebp, 0xfffffffe
add ebp, 2
jmp 0x4082ed
mov ebp, 1
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
push 0x5c
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
mov dword [esp + 0x1c], ecx
call fcn.00402a10
add esp, 0xc
test eax, eax
jne 0x4082a8
mov edx, dword [esp + 0x124]
test edx, edx
je 0x40833b
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x128]
test edx, edx
je 0x40836a
mov ecx, dword [esp + 0x10]
xor eax, eax
lea edi, [ecx + ebx]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
mov eax, ebp
pop edi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x409df0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x314
lea eax, [esp]
push esi
push edi
push eax
push 0x41a420
push 1
push 0
push 0x41a430
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x409e20
pop edi
xor al, al
pop esi
add esp, 0x314
ret
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x320]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edi, 0x41fef4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x41fef4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + ecx + 0xf]
mov cl, byte [esp + ecx + 0xf]
cmp cl, 0x5c
jne 0x409e77
mov byte [eax], 0
mov eax, dword [esp + 8]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push 0x41a440
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jge 0x409ea8
pop edi
xor al, al
pop esi
add esp, 0x314
ret
mov esi, dword [esp + 0x324]
lea eax, [esp + 0x114]
push 0x104
push eax
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x114]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x10]
push esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x10]
push 0x5c
push ecx
call fcn.0041204b
add esp, 8
test eax, eax
je 0x409f20
mov byte [eax], 0
lea edx, [esp + 0x10]
push 0
push edx
push 0x1001
push 0x80001000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
pop edi
mov al, 1
pop esi
add esp, 0x314
ret
Function at 0x409f50
Capabilities:
Set registry value

Disassembly:
sub esp, 0x20c
lea eax, [esp + 0x10c]
push esi
push edi
push 0x41fbe0
push str.Software_s
push eax
call fcn.00411870
add esp, 0xc
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
lea eax, [esp + 0x114]
push ecx
push edx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x409fab
pop edi
xor al, al
pop esi
add esp, 0x20c
ret
mov edi, 0x41fef4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + ecx + 0xf]
mov cl, byte [esp + ecx + 0xf]
cmp cl, 0x5c
jne 0x409fef
mov byte [eax], 0
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 8]
repne scasb al, byte es:[edi]
not ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 1
push eax
push str.InstallPath
push edx
call esi
test eax, eax
je 0x40a026
pop edi
xor al, al
pop esi
add esp, 0x20c
ret
push 0x41f8cc
push 0x41fef4
lea eax, [esp + 0x18]
push 0x41c044
push eax
call fcn.00411870
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov edx, dword [esp + 8]
not ecx
push ecx
lea ecx, [esp + 0x14]
push ecx
push 1
push eax
push 0x41c43c
push edx
call esi
test eax, eax
je 0x40a073
pop edi
xor al, al
pop esi
add esp, 0x20c
ret
mov edi, 0x41ec98
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push 0x41ec98
push 1
push eax
mov eax, dword [esp + 0x18]
push str.Version
push eax
call esi
test eax, eax
je 0x40a0a5
pop edi
xor al, al
pop esi
add esp, 0x20c
ret
mov edi, str.F6EE8B7F_3644_4F0F_9651_A56E61C719B7
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0xc]
push str.F6EE8B7F_3644_4F0F_9651_A56E61C719B7
push 1
push eax
push str.GUID
push ecx
call esi
test eax, eax
je 0x40a0d7
pop edi
xor al, al
pop esi
add esp, 0x20c
ret
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, 1
pop esi
add esp, 0x20c
ret
Function at 0x40a950
Capabilities:
Copy file

Disassembly:
sub esp, 0x208
lea eax, [esp + 0x104]
push ebx
push esi
push edi
push 0x41fef4
push str._sRunProxy.ocx
push eax
call fcn.00411870
mov al, byte [0x41c379]
add esp, 0xc
test al, al
je 0x40a999
lea ecx, [esp + 0xc]
push 0x25
push ecx
call fcn.004026c0
add esp, 8
test al, al
jne 0x40a9dc
pop edi
pop esi
pop ebx
add esp, 0x208
ret
lea edx, [esp + 0xc]
push edx
call fcn.00402bc0
add esp, 4
test al, al
je 0x40aa78
mov edi, str._system
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.RunProxy.ocx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00411920
add esp, 8
cmp eax, 0xffffffff
jne 0x40aa36
lea ecx, [esp + 0xc]
push 0
lea edx, [esp + 0x114]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x40aa78
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, 0x20
jb 0x40aa78
push str.DllRegisterServer
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40aa71
call eax
test eax, eax
push esi
jl 0x40aa72
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x208
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x208
ret
Function at 0x40aa90
Capabilities:
Move file

Disassembly:
sub esp, 0x208
push ebx
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x41fef4
lea eax, [esp + 0x114]
push str._ssggrabber.ax
push eax
call fcn.00411870
mov al, byte [0x41c379]
add esp, 0xc
test al, al
je 0x40aae9
lea ecx, [esp + 0xc]
push 0x25
push ecx
call fcn.004026c0
add esp, 8
test al, al
jne 0x40ab2c
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x208
ret
lea edx, [esp + 0xc]
push edx
call fcn.00402bc0
add esp, 4
test al, al
je 0x40abf2
mov edi, str._system
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._sggrabber.ax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00411920
add esp, 8
cmp eax, 0xffffffff
jne 0x40ab96
lea ecx, [esp + 0xc]
lea edx, [esp + 0x110]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x40aba9
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x208
ret
lea eax, [esp + 0xc]
lea ecx, [esp + 0x110]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, 0x20
jb 0x40abf2
push str.DllRegisterServer
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40abeb
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_CoUninitialize]
test edi, edi
pop edi
pop esi
setge al
pop ebx
add esp, 0x208
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x208
ret
Function at 0x40ac10
Capabilities:
Move file

Disassembly:
sub esp, 0x208
push ebx
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x41fef4
lea eax, [esp + 0x114]
push str._ssgimgoleEx.dll
push eax
call fcn.00411870
mov al, byte [0x41c379]
add esp, 0xc
test al, al
je 0x40ac69
lea ecx, [esp + 0xc]
push 0x25
push ecx
call fcn.004026c0
add esp, 8
test al, al
jne 0x40acac
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x208
ret
lea edx, [esp + 0xc]
push edx
call fcn.00402bc0
add esp, 4
test al, al
je 0x40ad72
mov edi, str._system
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._sgimgoleEx.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00411920
add esp, 8
cmp eax, 0xffffffff
jne 0x40ad16
lea ecx, [esp + 0xc]
lea edx, [esp + 0x110]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x40ad29
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x208
ret
lea eax, [esp + 0xc]
lea ecx, [esp + 0x110]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, 0x20
jb 0x40ad72
push str.DllRegisterServer
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ad6b
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_CoUninitialize]
test edi, edi
pop edi
pop esi
setge al
pop ebx
add esp, 0x208
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x208
ret
Function at 0x40ad90
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
sub esp, 0x10c
lea eax, [esp + 4]
lea ecx, [esp]
push ebx
push ebp
push esi
push edi
push eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push str..smv
push 0x80000000
call ebp
test eax, eax
jne 0x40aedf
mov edi, str.Seegle_smv
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
not ecx
push ecx
push str.Seegle_smv
push 1
push eax
push eax
push edx
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov eax, dword [esp + 0x10]
push eax
call ebx
test edi, edi
jne 0x40aedf
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
push edi
push 0x20006
push edi
push edi
push edi
push str.Seegle_smvDefaultIcon
push 0x80000000
call ebp
test eax, eax
jne 0x40aedf
push 0x41fef4
lea eax, [esp + 0x1c]
push str._ssgplayer.exe_0
push eax
call fcn.00411870
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
not ecx
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 1
push eax
push eax
push edx
call esi
mov edi, eax
mov eax, dword [esp + 0x10]
push eax
call ebx
test edi, edi
jne 0x40aedf
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
push edi
push 0x20006
push edi
push edi
push edi
push str.Seegle_smvShellOpenCommand
push 0x80000000
call ebp
test eax, eax
jne 0x40aedf
push 0x41fef4
lea eax, [esp + 0x1c]
push str._ssgplayer.exe___1
push eax
call fcn.00411870
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
not ecx
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 1
push eax
push eax
push edx
call esi
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
call ebx
test esi, esi
pop edi
pop esi
pop ebp
pop ebx
sete al
add esp, 0x10c
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10c
ret