joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444cc0
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
mov ebp, 0x1000
xor ebx, ebx
mov edi, 0x7a
test edi, edi
je 0x444d55
cmp edi, 0x7a
je 0x444d0d
cmp edi, 0x103
je 0x444cfb
mov dword [esp + 0x14], 1
jmp 0x444db4
mov eax, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
jmp 0x444db4
push esi
call fcn.004c5de7
push ebp
call fcn.004c5dbe
mov esi, eax
add esp, 8
test ebx, ebx
mov dword [esi], ebp
mov dword [esp + 0x10], ebp
jne 0x444d40
lea eax, [esp + 0x10]
push eax
push esi
push ebx
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov ebx, eax
xor eax, eax
test ebx, ebx
setne al
jmp 0x444d4d
lea ecx, [esp + 0x10]
push ecx
push esi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
je 0x444d9c
xor edi, edi
jmp 0x444da8
mov eax, dword [esp + 0x24]
test eax, eax
mov eax, dword [esp + 0x20]
je 0x444d70
test eax, eax
je 0x444d6a
test dword [esi + 0xc], eax
je 0x444d83
mov edx, dword [esi + 4]
push edx
jmp 0x444d7d
test eax, eax
je 0x444d79
test dword [esi + 0xc], eax
jne 0x444d83
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push ecx
push esi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
je 0x444d9c
xor edi, edi
jmp 0x444da8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x444cdd
push esi
call fcn.004c5de7
add esp, 4
test ebx, ebx
je 0x444dc8
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x444cdd
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x446c80
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
sub esp, 0x108
lea eax, [esp]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x446d19
mov eax, dword [esp + 0x10c]
test eax, eax
je 0x446cfe
push edi
call fcn.004d72f1
mov eax, dword [eax + 0xc]
lea ecx, [esp + 8]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 1
push eax
mov eax, dword [esp + 0x14]
push 0x51cc7c
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
pop edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x108
ret
mov ecx, dword [esp]
push 0x51cc7c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x108
ret

Function at 0x44d340
Capabilities:
Enumerate gui resources

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x44d364
pop edi
mov eax, 1
pop esi
ret 8
push edi
push 0x44d300
call dword [sym.imp.USER32.dll_EnumWindows]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
ret 8
Function at 0x44fdc0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2dc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x318
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], esp
cmp edi, eax
mov ebx, ecx
jne 0x44fe02
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 8], eax
cmp ecx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
jne 0x44fe18
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 0
lea edx, [ebp + 8]
push edx
push 0x4fceb8
push 1
push eax
push 0x4fcec8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
mov dword [ebp - 0x14], esi
jl 0x44ff1e
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x18]
push edx
push 0x4fcfe8
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
test esi, esi
mov dword [ebp - 0x14], esi
jl 0x44ff0a
lea eax, [ebp - 0x324]
push 0x104
push eax
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x324]
push 0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov esi, eax
test esi, esi
mov dword [ebp - 0x14], esi
jl 0x44fefa
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 0x1c]
push 2
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
mov esi, eax
test esi, esi
mov dword [ebp - 0x14], esi
jl 0x44fefa
mov eax, dword [ebp + 0x10]
test eax, eax
mov eax, dword [ebp + 8]
je 0x44fece
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x50]
mov esi, eax
mov eax, dword [ebp - 0x18]
push 1
push 0
mov ecx, dword [eax]
push eax
mov dword [ebp - 0x14], esi
call dword [ecx + 0x18]
jmp 0x44fefa
mov edx, dword [eax]
push 2
push 0
lea ecx, [ebp - 0x11c]
push 0x104
push ecx
push eax
call dword [edx + 0xc]
mov esi, eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x11c]
mov dword [ebp - 0x14], esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
jmp 0x44ff1e
mov ecx, dword [ebp - 0xc]
xor eax, eax
test esi, esi
pop edi
pop esi
setge al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x452900
Capabilities:
Get file size

Disassembly:
push esi
mov eax, dword [esp + 8]
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x452930
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
call fcn.004c5787
mov eax, edi
pop edi
pop esi
ret
Function at 0x458950
Capabilities:
Check mutex on windows
Create process on windows
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e3868
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push str.GreenBrowserUpdateMutex
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x45898f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.ResourceUpdate.ini
lea eax, [esp + 0xc]
push 0x527028
push eax
call fcn.004c5a1c
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
push ecx
push 0x14
push edx
push 0x5269d8
push str.Version
push 0x51ff0c
mov dword [esp + 0x44], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, str.6.9.1223
lea eax, [esp + 0x10]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4589fd
test cl, cl
je 0x4589f9
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4589fd
add eax, 2
add esi, 2
test cl, cl
jne 0x4589d5
xor eax, eax
jmp 0x458a02
sbb eax, eax
sbb eax, 0xffffffff
pop esi
pop ebx
test eax, eax
je 0x458a22
mov eax, dword [esp]
push eax
push str.6.9.1223
push str.Version
push 0x51ff0c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push str.ResourceGreenBrowserUpdate.exe
lea ecx, [esp + 8]
push 0x527028
push ecx
call fcn.004c5a1c
mov eax, dword [esp + 0x2c]
test eax, eax
mov eax, 0x51fee8
jne 0x458a48
mov eax, 0x5269d8
mov edx, dword [esp + 4]
push 5
push 0x5269d8
push eax
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 4]
call fcn.004c5787
lea ecx, [esp]
mov dword [esp + 0x24], 0xffffffff
call fcn.004c5787
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x45c2f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e3bfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
push ebx
push ebp
push esi
push edi
lea esi, [ecx + 0x37c]
push 0xffffffffffffffff
push 0
mov ecx, esi
mov dword [esp + 0x18], esi
call fcn.004c009f
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
push str.order.txt
push 0x527034
push eax
call fcn.004c5a1c
call fcn.00415270
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x14], ebp
je 0x45c3f0
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
push 0x51c3b0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebp
mov ebx, ecx
mov esi, ebp
add ebx, ebp
call fcn.004ad970
mov edi, eax
add esp, 8
test edi, edi
je 0x45c3ec
jmp 0x45c37d
mov ebp, dword [esp + 0x14]
cmp esi, edi
je 0x45c3ec
mov ebp, edi
lea ecx, [esp + 0x20]
sub ebp, esi
push ebp
push esi
push ecx
call fcn.004adfe0
add esp, 8
lea eax, [esp + 0x24]
mov edx, esp
mov dword [esp + 0x20], esp
push eax
push 0x527034
push edx
mov byte [esp + ebp + 0x30], 0
call fcn.004c5a1c
call fcn.004156a0
add esp, 4
test eax, eax
je 0x45c3cd
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
mov eax, dword [ecx + 8]
push eax
call fcn.004c022d
lea esi, [edi + 2]
cmp esi, ebx
jae 0x45c3e8
push 0x51c3b0
push esi
call fcn.004ad970
mov edi, eax
add esp, 8
test edi, edi
jne 0x45c379
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
push str..cgp
lea eax, [esp + 0x1c]
push 0x527034
push eax
xor ebx, ebx
call fcn.004c5a1c
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x124]
push ecx
push edx
mov dword [esp + 0x274], ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x45c4f9
test ebp, ebp
je 0x45c4c6
lea eax, [esp + 0x150]
push 0x2e
push eax
call fcn.004ae720
add esp, 8
test eax, eax
je 0x45c467
cmp byte [eax + 1], 0x43
jne 0x45c453
mov byte [eax + 1], 0x63
cmp byte [eax + 2], 0x47
jne 0x45c45d
mov byte [eax + 2], 0x67
cmp byte [eax + 3], 0x50
jne 0x45c467
mov byte [eax + 3], 0x70
lea ecx, [esp + 0x150]
lea edx, [esp + 0x20]
push ecx
push str._r_n_s_r_n
push edx
call fcn.004ae2d7
lea eax, [esp + 0x2c]
push eax
push ebp
call fcn.004ad970
add esp, 0x14
test eax, eax
jne 0x45c4d9
lea ecx, [esp + 0x150]
lea edx, [esp + 0x20]
push ecx
push str._s_r_n
push edx
call fcn.004ae2d7
lea eax, [esp + 0x2c]
push eax
push ebp
call fcn.004ad970
add esp, 0x14
cmp eax, ebp
je 0x45c4d9
mov eax, dword [esi + 8]
lea ecx, [esp + 0x150]
push ecx
jmp 0x45c4d1
mov eax, dword [esi + 8]
lea edx, [esp + 0x150]
push edx
push eax
mov ecx, esi
call fcn.004c022d
lea eax, [esp + 0x124]
inc ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x45c4f9
cmp ebx, 0xff
jl 0x45c42b
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebp, ebp
je 0x45c50d
push ebp
call fcn.004ae1ee
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x26c], 0xffffffff
call fcn.004c5787
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x260
ret
Function at 0x45d9c0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e3e66
push eax
mov eax, 0x7d30
mov dword fs:[0], esp
call fcn.004ae580
mov eax, dword [0x52790c]
push esi
mov ecx, dword [eax + 0x240]
dec ecx
js 0x45db80
push str.LastVisit.ini
lea edx, [esp + 0x10]
push 0x52702c
push edx
call fcn.004c5a1c
mov eax, dword [eax]
push eax
lea eax, [esp + 0x38]
push 0x7d00
push eax
push str.LastVisit
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.004c5787
test esi, esi
jbe 0x45db80
push str.PreviousVisit.ini
lea ecx, [esp + 8]
push 0x52702c
push ecx
call fcn.004c5a1c
mov edx, dword [esp + 4]
mov dword [esp + 0x7d3c], 0
push edx
push 0xffffffffffffffff
push str.Last
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
mov eax, dword [0x52790c]
mov ecx, dword [eax + 0x240]
dec ecx
cmp esi, ecx
jl 0x45da7d
xor esi, esi
jmp 0x45da7e
inc esi
push edi
push esi
lea edx, [esp + 0x28]
push 0x51d754
push edx
call fcn.004ae2d7
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0xc
lea ecx, [esp + 0x24]
push eax
push ecx
push str.Last
push str.Settings
call edi
push esi
lea edx, [esp + 0x28]
push str.LastVisit_d
push edx
call fcn.004ae2d7
mov eax, dword [esp + 0x14]
add esp, 0xc
lea ecx, [esp + 0x38]
lea edx, [esp + 0x24]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
mov eax, dword [0x52251c]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7d40], 1
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1e]
mov ecx, dword [esp + 0x1c]
and edx, 0xffff
and eax, 0xffff
push edx
mov edx, dword [esp + 0x1e]
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x1e]
push ecx
mov ecx, dword [esp + 0x20]
and edx, 0xffff
and eax, 0xffff
push edx
and ecx, 0xffff
push eax
push ecx
lea edx, [esp + 0x24]
push str._04d__02d__02d__02d:_02d:_02d
push edx
call fcn.004bdb29
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add esp, 0x20
lea edx, [esp + 0x24]
push eax
push ecx
push str.Time
push edx
call edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x7d40], 0
call fcn.004c5787
lea ecx, [esp + 8]
mov dword [esp + 0x7d40], 0xffffffff
call fcn.004c5787
pop edi
mov ecx, dword [esp + 0x7d34]
pop esi
mov dword fs:[0], ecx
add esp, 0x7d3c
ret
Function at 0x4606d0
Capabilities:
Create process on windows
Query environment variable
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4e428b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push str.SOFTWAREClientsMail_
lea ecx, [esp + 4]
call fcn.004c57f5
mov eax, dword [esp + 0x224]
lea ecx, [esp]
push eax
mov dword [esp + 0x220], 0
call fcn.004c5b63
push str.Shellopencommand
lea ecx, [esp + 4]
call fcn.004c5b63
mov edx, dword [esp]
lea ecx, [esp + 4]
push ecx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x460814
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push edi
lea ecx, [esp + 0x114]
push eax
push ecx
push 0
push 0
push 0x5269d8
push edx
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edi, [esp + 0x114]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
jne 0x460793
push 0xffffffffffffffff
push eax
push 0x87
call fcn.004194a0
add esp, 0xc
jmp 0x460814
push esi
lea eax, [esp + 0x10]
push 0x104
lea ecx, [esp + 0x118]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea edx, [esp + 0x10]
push 0x22
push edx
lea esi, [esp + 0x18]
call fcn.004ae0f0
lea ecx, [esp + 0x18]
add esp, 8
cmp eax, ecx
jne 0x4607db
lea esi, [eax + 1]
push 0x22
push esi
call fcn.004ae0f0
add esp, 8
test eax, eax
je 0x4607f2
jmp 0x4607ee
lea edx, [esp + 0x10]
push 0x20
push edx
call fcn.004ae0f0
add esp, 8
test eax, eax
je 0x4607f2
mov byte [eax], 0
inc eax
push 5
push 0x51c58c
push eax
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
lea ecx, [esp]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c5787
mov ecx, dword [esp + 0x214]
mov dword fs:[0], ecx
add esp, 0x220
ret 4
Function at 0x460840
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x4e42d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [esp + 0x120]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x10]
call fcn.004c57f5
push 0x23
lea ecx, [esp + 0x10]
mov dword [esp + 0x124], 0
call fcn.004bd781
test eax, eax
jle 0x4608bb
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.004bd709
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x124], 1
call fcn.004c58c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x120], 0
call fcn.004c5787
mov eax, dword [esp + 0x128]
lea edx, [esp + 0x14]
push 0x104
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea ecx, [esp + 0x14]
push 0x22
push ecx
lea edi, [esp + 0x1c]
call fcn.004ae0f0
lea edx, [esp + 0x1c]
add esp, 8
cmp eax, edx
jne 0x460902
lea edi, [eax + 1]
push 0x22
push edi
call fcn.004ae0f0
add esp, 8
test eax, eax
je 0x460918
jmp 0x460915
lea eax, [esp + 0x14]
push 0x20
push eax
call fcn.004ae720
add esp, 8
test eax, eax
je 0x460918
mov byte [eax], 0
lea ecx, [esp + 0x10]
push 5
push ecx
lea ecx, [esp + 0x14]
call fcn.004bd709
mov eax, dword [eax]
mov esi, 0x51d7e4
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x460957
test cl, cl
je 0x460953
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x460957
add eax, 2
add esi, 2
test cl, cl
jne 0x46092f
xor eax, eax
jmp 0x46095c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x10]
sete bl
call fcn.004c5787
test bl, bl
je 0x4609c3
lea eax, [esp + 0x10]
push 8
push eax
lea ecx, [esp + 0x14]
call fcn.004bd5d4
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x124], 2
call fcn.004c58c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x120], 0
call fcn.004c5787
push 0x5c
push 0x2f
lea ecx, [esp + 0x14]
call fcn.004bd3e3
push 0x51da78
push 0x520348
lea ecx, [esp + 0x14]
call fcn.004bd420
jmp 0x460a40
push edi
call fcn.004ae747
push str.WORD.EXE
push edi
call fcn.004ad970
add esp, 0xc
test eax, eax
jne 0x460a40
push str.DREAMWEAVER.EXE
push edi
call fcn.004ad970
add esp, 8
test eax, eax
jne 0x460a40
push str.FRONTPAGE
push edi
call fcn.004ad970
add esp, 8
test eax, eax
jne 0x460a40
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.004c54fc
lea eax, [esp + 0x14]
push eax
call fcn.00452810
add esp, 8
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x124], 3
call fcn.004c58c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x120], 0
call fcn.004c5787
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push 0x51c578
push edx
call fcn.004c5a90
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x124], 4
call fcn.004c58c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x120], 0
call fcn.004c5787
push 0x51c578
lea ecx, [esp + 0x10]
call fcn.004c5b63
mov eax, dword [esp + 0xc]
push 5
push 0
push eax
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0xc]
mov dword [esp + 0x120], 0xffffffff
call fcn.004c5787
mov ecx, dword [esp + 0x118]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x118
ret 8
Function at 0x4610a0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4e4353
push eax
mov eax, 0x8020
mov dword fs:[0], esp
call fcn.004ae580
push ebx
push ebp
push esi
push edi
xor eax, eax
mov dword [esp + 0x8038], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov eax, dword [0x52251c]
mov dword [esp + 0x18], eax
lea edx, [esp + 0x14]
mov esi, dword [esp + 0x20]
push edx
mov eax, dword [esp + 0x804c]
sub esp, 0x10
mov word [esp + 0x30], 3
mov edx, dword [esp + 0x30]
mov ebp, esp
mov edi, dword [esp + 0x3c]
sub esp, 0x10
mov dword [ebp], edx
mov ecx, dword [esp + 0x8064]
mov byte [esp + 0x805c], 1
mov dword [ebp + 4], esi
mov ebx, dword [ecx]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edi
mov ebp, esp
push ecx
mov dword [ebp], edx
mov dword [ebp + 4], esi
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edi
call dword [ebx + 0x2c]
test eax, eax
jne 0x4611db
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push 0x520350
mov ecx, dword [eax]
push eax
call dword [ecx]
xor ebx, ebx
cmp eax, ebx
jl 0x4611c7
mov eax, dword [0x527030]
mov edx, dword [esp + 0x8044]
push eax
lea ecx, [esp + 0x30]
push 0x8001
push ecx
push 0x5269d8
push str._GB_UserName
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x4611b5
lea eax, [esp + 0x18]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00409be0
add esp, 8
lea ecx, [esp + 0x18]
call fcn.004dade2
mov esi, eax
mov eax, dword [esp + 0x10]
push esi
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
inc dword [0x527978]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4611c7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4611dd
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0x14], ebx
jmp 0x4611dd
xor ebx, ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x8038], bl
call fcn.004c5787
lea ecx, [esp + 0x8044]
mov dword [esp + 0x8038], 0xffffffff
call fcn.004c5787
mov ecx, dword [esp + 0x8030]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x802c
ret
Function at 0x464d50
Capabilities:
Delete file
Read .ini file

Disassembly:
sub esp, 0x400
push ebx
mov bl, byte [esp + 0x408]
push esi
mov esi, ecx
test bl, 1
je 0x464d89
push 0xffffffffffffffff
push 0x24
push 0xef8f
call fcn.004194a0
add esp, 0xc
cmp eax, 7
jne 0x464d89
pop esi
xor eax, eax
pop ebx
add esp, 0x400
ret 4
test bl, 2
je 0x464da4
mov ecx, esi
call fcn.00472120
test eax, eax
jne 0x464da4
pop esi
pop ebx
add esp, 0x400
ret 4
mov eax, dword [0x527030]
lea ecx, [esp + 8]
push eax
push 0x400
push ecx
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov edx, dword [0x527030]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [0x527030]
lea ecx, [esp + 8]
push eax
push ecx
push str.Settings
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
pop esi
mov eax, 1
pop ebx
add esp, 0x400
ret 4

Function at 0x464e00
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e478c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
mov eax, dword [0x52251c]
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov dword [esp + 0x10], eax
push str.PlugIn_
lea ecx, [esp + 0x1c]
push 0x527028
push ecx
mov dword [esp + 0x178], ebp
call fcn.004c5a1c
lea edx, [esp + 0x18]
push 0x51c590
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x178], 1
call fcn.004c5a1c
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004c5787
cmp esi, 0xffffffff
je 0x464f95
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov bl, 2
test byte [esp + 0x24], 0x10
je 0x464f7b
lea edx, [esp + 0x50]
push 0x51c58c
push edx
call edi
test eax, eax
je 0x464f7b
lea eax, [esp + 0x50]
push 0x51c588
push eax
call edi
test eax, eax
je 0x464f7b
lea ecx, [esp + 0x50]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call fcn.004c5a1c
push 0x51c57c
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x178], bl
call fcn.004c5a1c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 3
call fcn.004c58c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x16c], bl
call fcn.004c5787
lea ecx, [esp + 0x20]
mov byte [esp + 0x16c], 1
call fcn.004c5787
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.004c54fc
call fcn.004156a0
add esp, 4
test eax, eax
je 0x464f7b
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004c54fc
call fcn.00414c50
add esp, 4
test eax, eax
je 0x464f7b
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.004c54fc
mov eax, dword [0x52790c]
lea ecx, [eax + 0x1148]
call fcn.0040baa0
test eax, eax
jl 0x464f90
lea ecx, [esp + 0x24]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x464f95
jmp 0x464e8b
mov ebp, 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x18]
mov byte [esp + 0x16c], 0
call fcn.004c5787
lea ecx, [esp + 0x10]
mov dword [esp + 0x16c], 0xffffffff
call fcn.004c5787
mov ecx, dword [esp + 0x164]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x160
ret
Function at 0x4650ab
Capabilities:
Check for time delay via queryperformancecounter
Copy file
Get common file path
Get hostname
Read .ini file
Set current directory

Disassembly:
ret