joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4044f0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x408
push ebx
mov ebx, dword [esp + 0x414]
push ebp
mov ebp, dword [esp + 0x420]
push esi
push edi
mov edi, dword [esp + 0x41c]
lea eax, [esp + 0x18]
push edi
push 0x200
push eax
push 0x4af7e0
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString_2
mov edx, dword [eax]
push 0x4af7e0
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
lea ecx, [esp + 0x14]
mov esi, eax
call sub.MFC42u.DLL_CString::CString
test esi, esi
jne 0x404566
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x408
ret
cmp dword [esp + 0x10], 0x1f8
jbe 0x4045b9
push 0x2000
call sub.MFC42u.DLL_operatornew
add esp, 4
mov esi, eax
push edi
push 0x1000
push esi
push 0x4af7e0
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [esp + 0x424]
push esi
call sub.MFC42u.DLL_CString::operator_1
push esi
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x408
ret
mov ecx, dword [esp + 0x424]
lea eax, [esp + 0x18]
push eax
call sub.MFC42u.DLL_CString::operator_1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x408
ret

Function at 0x4045e0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
sub esp, 0x40
lea ecx, [esp]
push esi
push eax
mov eax, dword [esp + 0x58]
push 0x20
push ecx
push 0x4af7e0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x4c]
call sub.MFC42u.DLL_CString::CString_2
mov edx, dword [eax]
push 0x4af7e0
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
lea ecx, [esp + 0x48]
mov esi, eax
call sub.MFC42u.DLL_CString::CString
test esi, esi
pop esi
jne 0x40463a
xor eax, eax
add esp, 0x40
ret
lea eax, [esp]
push eax
call dword [sym.imp.MSVCRT.dll__wtoi64]
mov ecx, dword [esp + 0x50]
add esp, 4
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, 1
add esp, 0x40
ret
Function at 0x404680
Capabilities:
Create directory
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x48a94d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x4af280]
push ebx
cmp eax, 1
push esi
mov dword [esp + 8], 0
je 0x404770
test eax, eax
je 0x404794
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004020c0
add esp, 8
push str.testdir
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x38], 1
call sub.MFC42u.DLL_operator_2
mov bl, 3
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], bl
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esp + 0xc]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
neg eax
sbb eax, eax
inc eax
mov dword [0x4af280], eax
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [0x4af280]
test eax, eax
jne 0x40475a
lea ecx, [esp + 0x18]
push ecx
call fcn.00404820
add esp, 4
push 0x4af7e4
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x38], 4
call sub.MFC42u.DLL_operator_2
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call sub.MFC42u.DLL_CString::CString
mov esi, dword [0x4af280]
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call sub.MFC42u.DLL_CString::CString
mov eax, esi
test eax, eax
je 0x404794
lea eax, [esp + 0x20]
push eax
call fcn.00404820
mov ebx, 1
add esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 0x2c], 5
jmp 0x4047b4
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.004020c0
mov ebx, 2
add esp, 8
mov dword [esp + 8], ebx
mov dword [esp + 0x2c], 6
mov esi, dword [esp + 0x34]
push 0x4af7e4
push eax
push esi
call sub.MFC42u.DLL_operator_2
or ebx, 4
test bl, 2
mov dword [esp + 0x2c], 5
je 0x4047e4
and ebx, 0xfffffffd
lea ecx, [esp + 0x1c]
mov dword [esp + 8], ebx
call sub.MFC42u.DLL_CString::CString
test bl, 1
mov dword [esp + 0x2c], 0
je 0x404801
and ebx, 0xfffffffe
lea ecx, [esp + 0x20]
mov dword [esp + 8], ebx
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x404820
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
sub esp, 0x20c
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], si
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push 0x23
push eax
push esi
mov dword [esp + 0x18], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x404866
lea ecx, [esp + 0xc]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 7
lea edx, [esp + 0x10]
push str.360SD_
push edx
call dword [sym.imp.MSVCRT.dll_wcsncat]
add esp, 0xc
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x404896
lea ecx, [esp + 0xc]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [esp + 0x218]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_2
mov eax, esi
pop edi
pop esi
add esp, 0x20c
ret
Function at 0x4068f0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push esi
push eax
push 0x2001f
push 0
push str.SOFTWARELiveUpdate360
mov esi, ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406991
mov ecx, dword [esi + 0x1c]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea edx, [esp + 8]
push 4
push edx
push 4
push eax
mov eax, dword [esp + 0x1c]
push str.proxytype
push eax
mov dword [esp + 0x20], ecx
call edi
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push str.customproxytype
push eax
mov dword [esp + 0x20], ecx
call edi
mov edx, dword [esi + 0x24]
lea ecx, [esi + 0x24]
mov eax, dword [edx - 8]
lea edx, [eax + eax + 2]
push edx
push eax
call sub.MFC42u.DLL_CString::GetBuffer
push eax
mov eax, dword [esp + 0x14]
push 1
push 0
push str.customhttp
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 8
ret

Function at 0x406aa0
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push ebx
xor ebx, ebx
push eax
push 0x2001f
push ebx
push str.SOFTWARELiveUpdate360
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406b45
mov edx, dword [esp + 4]
push edi
lea ecx, [esp + 0xc]
push 4
xor edi, edi
push ecx
push 4
push edi
push str.proxytype
push edx
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x406afb
mov edi, 1
mov eax, dword [esp + 8]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.customproxytype
push eax
call esi
test eax, eax
je 0x406b17
cmp eax, 2
jne 0x406b18
inc edi
mov ecx, dword [esp + 0xc]
push str.customhttp
push ecx
call esi
test eax, eax
pop esi
je 0x406b2e
cmp eax, 2
jne 0x406b2f
inc edi
cmp edi, 3
pop edi
jne 0x406b3a
mov ebx, 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
add esp, 8
ret

Function at 0x406cd0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, ecx
xor ecx, ecx
mov dword [esp + 8], 3
lea eax, [esi + 6]
mov dword [esi], 0x495a8c
mov edx, eax
mov word [esi + 4], 0
mov dword [esp + 4], 0x10
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push eax
push edx
push str.LinkScanDate
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x406d30
mov ax, word [esi + 0x14]
mov word [esi + 4], ax
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x406d70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push edx
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [esp + 0xc], 0
pop edi
jne 0x406dd5
xor eax, eax
add esp, 0x210
ret 8
lea eax, [esp + 8]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
mov ecx, dword [esp + 0x21c]
add esp, 8
test ecx, ecx
je 0x406e10
test eax, eax
je 0x406e10
mov edx, dword [esp + 0x218]
mov word [eax], 0
lea eax, [esp + 8]
push edx
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
mov eax, 1
add esp, 0x210
ret 8

Function at 0x406e20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 4]
lea ecx, [esp + 0xc]
push eax
push ecx
push edx
push str.InstallDir
push str.SOFTWAREBitDefenderBitDefender_DesktopMaintenanceInstall
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [esp + 0x21c]
mov edx, dword [esp + 0x218]
lea ecx, [esp + 0xc]
push eax
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
mov edx, dword [esp + 0x10]
xor eax, eax
add esp, 0xc
cmp eax, edx
sbb eax, eax
neg eax
pop edi
add esp, 0x210
ret 8
Function at 0x4073a0
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x274
push esi
mov esi, str._bdusers.dll
mov eax, esi
mov dword [esp + 4], esi
test eax, eax
mov dword [esp + 8], str._npcomm.dll
mov dword [esp + 0xc], str.WSLib.dll
mov dword [esp + 0x10], str.quarcore.dll
mov dword [esp + 0x14], str.quarmgr.dll
mov dword [esp + 0x18], str._agentreg.dll
mov dword [esp + 0x1c], str.WSID.dll
mov dword [esp + 0x20], str.ExcMgr.dll
mov dword [esp + 0x24], str._sch_serv.dll
mov dword [esp + 0x28], str._vsserv.exe
mov dword [esp + 0x2c], str._bdsmtpp.dll
mov dword [esp + 0x30], str._bdpop3p.dll
mov dword [esp + 0x34], str.httproxy.dll
mov dword [esp + 0x38], str._bdpredir.dll
mov dword [esp + 0x3c], str._as2core_as2core.dll
mov dword [esp + 0x40], str.txmlx.dll
mov dword [esp + 0x44], str.bdfdrvi.dll
mov dword [esp + 0x48], str.dbokf.db
mov dword [esp + 0x4c], str.dbokf.dll
mov dword [esp + 0x50], str.bdch.dll
mov dword [esp + 0x54], str.bdsubmit.dll
mov dword [esp + 0x58], str.BDUtils.dll
mov dword [esp + 0x5c], str.privscan.dll
mov dword [esp + 0x60], str.htmlpack.dll
mov dword [esp + 0x64], str.libmpack.dll
mov dword [esp + 0x68], str.asstat.ini
mov dword [esp + 0x6c], 0
je 0x4074e0
push ebx
mov ebx, dword [esp + 0x280]
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_wcsncpy]
push edi
lea edi, [esp + 0x10]
push 0x104
lea ecx, [esp + 0x80]
push ebx
push ecx
call ebp
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
push eax
lea edx, [esp + 0x90]
push esi
push edx
call dword [sym.imp.MSVCRT.dll_wcsncat]
add esp, 0x1c
lea eax, [esp + 0x7c]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, dword [edi + 4]
add edi, 4
test esi, esi
jne 0x40749a
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x274
ret 4

Function at 0x4074f0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea ecx, [esp + 4]
lea edx, [esp + 0x14]
mov dword [esp + 0xc], eax
push ecx
push edx
push eax
push eax
push eax
push eax
push eax
push eax
push str.MsiExec.exe__X4A56DAB1_2680_4B8A_AD84_77EECFB94D7B__passive__norestart
push eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x44
mov word [esp + 0x6c], 5
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
je 0x40756d
mov eax, dword [esp]
push esi
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 4]
push edx
call esi
mov eax, 1
pop esi
add esp, 0x54
ret
xor eax, eax
add esp, 0x54
ret
Function at 0x407580
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x45c
push ebx
push ebp
push esi
mov ebp, dword [esp + 0x46c]
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
push ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jle 0x4076b3
mov ebx, dword [sym.imp.MSVCRT.dll_wcsncpy]
push 0x104
lea eax, [esp + 0x18]
push ebp
push eax
call ebx
mov esi, dword [sym.imp.MSVCRT.dll_wcsncat]
push 4
lea ecx, [esp + 0x24]
push 0x4b00bc
push ecx
call esi
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x238]
add esp, 0x18
mov dword [esp + 0x21c], 0
lea edx, [esp + 0x21c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x4076b3
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
cmp word [esp + 0x248], 0x2e
je 0x40768a
push 0x104
lea ecx, [esp + 0x18]
push ebp
push ecx
call ebx
push 1
lea edx, [esp + 0x24]
push 0x4b00b8
push edx
call esi
lea eax, [esp + 0x260]
push eax
call edi
lea ecx, [esp + 0x264]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call esi
mov al, byte [esp + 0x244]
add esp, 0x28
test al, 0x10
je 0x40767f
lea eax, [esp + 0x14]
push eax
call fcn.00407580
add esp, 4
jmp 0x40768a
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x21c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x407622
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x45c
ret
Function at 0x408c90
Capabilities:
Check if file exists
Delete file
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x48b0a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
push edi
mov edi, ecx
lea eax, [esp + 0xc]
xor esi, esi
push eax
mov dword [esp + 0x20], esi
call fcn.00408e00
mov eax, dword [eax]
add esp, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 0xc]
mov ebp, eax
call sub.MFC42u.DLL_CString::CString
cmp ebp, esi
je 0x408cf7
lea ecx, [esp + 0xc]
push ecx
call fcn.00408e00
mov eax, dword [eax]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString
lea edx, [esp + 0x24]
lea ecx, [edi + 0x334]
push edx
call sub.MFC42u.DLL_CString::operator
mov eax, dword [edi + 0x2d4]
lea ecx, [edi + 0x2d4]
call dword [eax + 0xc0]
cmp dword [edi + 0x338], esi
je 0x408dc7
mov ebp, 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, edi
call fcn.00408940
cmp eax, 0xffffffff
je 0x408d58
push eax
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x408d5a
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebp, eax
jmp 0x408d5a
xor ebp, ebp
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.004020c0
mov esi, dword [eax]
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x28], 1
call fcn.00408e00
mov eax, dword [eax]
push 0
push 0x32
push esi
push 0x4b9760
push eax
push 0
mov byte [esp + 0x40], 2
call fcn.0041e730
add esp, 0x24
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x1c], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call sub.MFC42u.DLL_CString::CString
test esi, esi
je 0x408dc7
test ebp, ebp
jne 0x408dc0
mov ecx, edi
call fcn.004089c0
push str._CL_NewCloseProc_ret_suc__
jmp 0x408dcc
push str._CL_NewCloseProc_ret_failed__
call fcn.0040ef50
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x409460
Capabilities:
Access peb ldr_data
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x48b1a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x670
push ebp
push esi
mov dword [esp + 0xc], ecx
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x26e]
mov word [esp + 0x26c], si
mov ebp, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x68c]
lea ecx, [esp + 0x26c]
push eax
push str._s.
push 0x104
push ecx
call ebp
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x1c], esi
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x26c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x18], edi
je 0x409686
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov dword [esp + 0x684], esi
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x68c], 1
call fcn.0041b620
add esp, 8
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x40965a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp word [esp + 0x4c], 0x2e
je 0x409645
test byte [esp + 0x20], 0x10
je 0x409645
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x47a]
mov word [esp + 0x478], si
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x478]
push ecx
push str._s.uiz
push 0x104
push edx
stosw word es:[edi], ax
call ebp
mov edx, dword [esp + 0x6a0]
add esp, 0x10
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x4c]
push eax
push ecx
push edx
push str._s_s_s.uiz
lea eax, [esp + 0x280]
push 0x104
push eax
call ebp
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
add esp, 0x18
lea eax, [esp + 0x478]
lea esi, [ecx + 0xc8]
push esi
push edx
push 0x4b06a0
push eax
call ebx
lea ecx, [esp + 0x270]
push esi
push ecx
lea edx, [esp + 0x480]
push str.path
push edx
call ebx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x270]
push eax
push ecx
push 0x4b068c
push 0x4b06a0
call ebx
mov eax, dword [esp + 0x690]
lea edx, [esp + 0x4c]
push edx
push eax
push 0x4b0680
lea ecx, [esp + 0x27c]
push 0x104
push ecx
call ebp
mov ecx, dword [esp + 0x28]
add esp, 0x14
lea edx, [esp + 0x270]
push edx
call fcn.00409460
mov edi, dword [esp + 0x1c]
xor esi, esi
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x409544
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x684], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x684], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x67c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x67c
ret 4
Function at 0x4099c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], si
mov dword [esp + 0xc], esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
mov dword [esp + 8], esi
push eax
push 0x20019
push esi
push 0x495d40
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x409a40
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push esi
push 0x495d34
push ecx
mov dword [esp + 0x28], 0x208
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x220]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_2
mov eax, esi
pop edi
pop esi
add esp, 0x214
ret
Function at 0x409be0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48b2b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x29c
push ebx
xor ebx, ebx
push edi
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.004020c0
add esp, 8
push str.Pluginswdb___.wl
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x2b8], ebx
call sub.MFC42u.DLL_operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2ac], 2
call sub.MFC42u.DLL_CString::CString
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x58]
mov dword [esp + 0x54], ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x54]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x409c84
lea ecx, [esp + 0xc]
mov dword [esp + 0x2ac], eax
call sub.MFC42u.DLL_CString::CString
pop edi
pop ebx
mov ecx, dword [esp + 0x29c]
mov dword fs:[0], ecx
add esp, 0x2a8
ret
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.00409e20
add esp, 4
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0x2b4], 3
call fcn.0041d520
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b0], 5
call sub.MFC42u.DLL_CString::CString
lea edx, [esp + 0xc]
push edx
call fcn.00409e90
add esp, 4
mov eax, dword [eax]
push 0xea60
push 0x6400000
push 0x93a80
push 1
push 0x4b9760
push 0x4b9760
push 0x4b9760
push ebx
push eax
push str.White
push str.360SD
lea ecx, [esp + 0x50]
mov byte [esp + 0x2dc], 6
call fcn.0041d650
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x2b0], 5
call sub.MFC42u.DLL_CString::CString
cmp esi, ebx
je 0x409dce
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov bl, 8
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.004020c0
add esp, 8
push str.Plugins_
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x2c0], 7
call sub.MFC42u.DLL_operator_2
lea edx, [esp + 0x88]
mov byte [esp + 0x2b4], bl
push edx
push eax
lea eax, [esp + 0x18]
push eax
call sub.MFC42u.DLL_operator_2
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push eax
push esi
push ecx
mov byte [esp + 0x2c0], 9
call fcn.00409a90
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x2b4], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2b4], 7
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b4], 5
call sub.MFC42u.DLL_CString::CString
lea edx, [esp + 0x5c]
push edx
push edi
call ebp
test eax, eax
jne 0x409d27
push esi
lea ecx, [esp + 0x2c]
call fcn.0041d830
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x24]
mov byte [esp + 0x2b0], 2
call fcn.0041d600
lea ecx, [esp + 0x10]
mov dword [esp + 0x2b0], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x2a8]
pop esi
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2a8
ret