joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d280
Capabilities:
Query or enumerate registry value
Read .ini file
Set registry value

Disassembly:
mov eax, 0x1810
call fcn.0044fef0
mov eax, dword [0x486d80]
xor eax, esp
mov dword [esp + 0x180c], eax
push ebx
mov ebx, dword [esp + 0x1820]
push ebp
mov ebp, dword [esp + 0x1828]
push esi
mov esi, dword [esp + 0x1820]
push edi
mov edi, dword [esp + 0x1828]
push 0x800
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0044efc0
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
push str.libver
push 0x470de0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [esp + 0x1c]
push esi
push ecx
call fcn.0044fde8
add esp, 8
test eax, eax
jge 0x41d376
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41d317
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
push edx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 1
push str.libver
push 0x470de0
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41d350
sub eax, edx
sar eax, 1
add eax, eax
push eax
push edi
push 1
push str.libdate
push 0x470de0
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push 0x800
lea ecx, [esp + 0x820]
push 0
push ecx
call fcn.0044efc0
add esp, 0xc
push str.updatecfg.ini
push ebx
lea edx, [esp + 0x824]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x800
lea eax, [esp + 0x1020]
push 0
push eax
call fcn.0044efc0
add esp, 0xc
lea ecx, [esp + 0x81c]
push ecx
push 0x40
lea edx, [esp + 0x1024]
push edx
push 0x4788e0
push 0x479564
push str.360lib
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x101c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41d3f0
sub eax, edx
sar eax, 1
jne 0x41d41a
lea eax, [esp + 0x81c]
push eax
push ebp
push 0x479564
push str.360lib
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [esp + 0x181c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0044efac
add esp, 0x1810
ret 0x10
Function at 0x41d5e0
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x1804
call fcn.0044fef0
mov eax, dword [0x486d80]
xor eax, esp
mov dword [esp + 0x1800], eax
push esi
mov esi, dword [esp + 0x180c]
push edi
push 0x800
lea eax, [esp + 0x80c]
push 0
push eax
call fcn.0044efc0
push 0x800
lea ecx, [esp + 0x1018]
push 0
push ecx
call fcn.0044efc0
push 0x800
lea edx, [esp + 0x24]
push 0
push edx
call fcn.0044efc0
add esp, 0x24
push 0x208
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.360SoftMgr.cpl
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x1010]
push edx
call edi
push str.SoftMgr360SoftMgr.cpl
push esi
lea eax, [esp + 0x810]
push eax
call edi
push 0
lea ecx, [esp + 0x100c]
push ecx
lea edx, [esp + 0x810]
push edx
call fcn.00425bc0
mov esi, eax
add esp, 0xc
lea eax, [esp + 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x1808]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.0044efac
add esp, 0x1804
ret 4

Function at 0x41d8b0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x804
mov eax, dword [0x486d80]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
mov ebx, dword [esp + 0x810]
push esi
mov esi, dword [esp + 0x810]
push edi
push 0x800
xor edi, edi
lea eax, [esp + 0x10]
push edi
push eax
call fcn.0044efc0
add esp, 0xc
push str.360verify.dll
push esi
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp dword [0x48a244], edi
jne 0x41d90f
lea edx, [esp + 0xc]
push edx
call fcn.00404850
jmp 0x41d93f
call fcn.004048a0
test eax, eax
jne 0x41d934
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d934
lea ecx, [esp + 0xc]
push ecx
call fcn.00404920
add esp, 4
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41d969
push str.GetCIDW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41d962
mov ecx, dword [esp + 0x81c]
push ecx
push ebx
call eax
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x80c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044efac
add esp, 0x804
ret 0xc
Function at 0x41daa0
Capabilities:
Check if file exists
Delete registry key
Delete registry value
Persist via run registry key

Disassembly:
mov eax, 0x1004
call fcn.0044fef0
mov eax, dword [0x486d80]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x1014]
push 0x800
lea eax, [esp + 0x810]
push 0
push eax
mov esi, ecx
call fcn.0044efc0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push str.ipcqutmipc.dll
push edi
lea ecx, [esp + 0x814]
push ecx
call ebx
cmp dword [0x48a244], 0
jne 0x41db09
lea edx, [esp + 0x80c]
push edx
call fcn.00404850
jmp 0x41db42
call fcn.004048a0
test eax, eax
jne 0x41db34
lea eax, [esp + 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41db34
lea ecx, [esp + 0x80c]
push ecx
call fcn.00404920
add esp, 4
lea edx, [esp + 0x80c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x41db58
push str.Uninstall
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41db58
call eax
mov ecx, dword [esi + 4]
call fcn.00434290
mov esi, eax
test esi, esi
je 0x41dbc8
push 0x800
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0044efc0
add esp, 0xc
push str.safemon_safemon.dll
push edi
lea ecx, [esp + 0x14]
push ecx
call ebx
mov edx, dword [esi]
mov ecx, dword [edx + 0x1c]
lea eax, [esp + 0xc]
push eax
push esi
call ecx
push str.safemon360seax.dll
push edi
lea edx, [esp + 0x14]
push edx
call ebx
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push esi
call edx
push str.safemon360webpro.dll
push edi
lea eax, [esp + 0x14]
push eax
call ebx
mov ecx, dword [esi]
mov eax, dword [ecx + 0x1c]
lea edx, [esp + 0xc]
push edx
push esi
call eax
push str.Software360Safe_safemon
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push str.360Safetray
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0044efac
add esp, 0x1004
ret 4

Function at 0x41dc10
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xa0c
mov eax, dword [0x486d80]
xor eax, esp
mov dword [esp + 0xa08], eax
push esi
mov esi, dword [esp + 0xa14]
push edi
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
mov edi, ecx
call fcn.0044efc0
add esp, 0xc
push str.AntiArpdpath.ini
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x10]
push ecx
call esi
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x812]
push eax
mov word [esp + 0x814], dx
call fcn.0044efc0
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x104
lea edx, [esp + 0x810]
push edx
push 0x4788e0
push str.datapath
push str.main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x41dcc3
mov eax, dword [edi + 0x14]
push 0x4712c4
push eax
lea ecx, [esp + 0x10]
push ecx
call esi
lea edx, [esp + 8]
push edx
call fcn.00436ed0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xa10]
pop edi
pop esi
xor ecx, esp
call fcn.0044efac
add esp, 0xa0c
ret 8
Function at 0x41dce0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x804
mov eax, dword [0x486d80]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
mov esi, dword [esp + 0x80c]
push edi
mov edi, dword [esp + 0x814]
test esi, esi
je 0x41dda3
test edi, edi
je 0x41dda3
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0044efc0
add esp, 0xc
push edi
push esi
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41dda3
push ebx
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
test bl, 1
je 0x41dd66
and ebx, 0xfffffffe
push ebx
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test bl, 0x10
pop ebx
je 0x41dd98
cmp dword [esp + 0x818], 0
jne 0x41dda3
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.0044efac
add esp, 0x804
ret
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
call fcn.0044efac
add esp, 0x804
ret

Function at 0x41ddc0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0xa0c
mov eax, dword [0x486d80]
xor eax, esp
mov dword [esp + 0xa08], eax
lea eax, [esp + 0x800]
push eax
push 0
push 0
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x800
lea ecx, [esp + 4]
push 0
push ecx
call fcn.0044efc0
add esp, 0xc
push 0x47130c
lea edx, [esp + 0x804]
push edx
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0xa08]
xor ecx, esp
call fcn.0044efac
add esp, 0xa0c
ret

Function at 0x41de40
Capabilities:
Delete file

Disassembly:
sub esp, 0x804
mov eax, dword [0x486d80]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push 0x800
lea eax, [esp + 8]
push 0
push eax
mov esi, ecx
call fcn.0044efc0
mov ecx, dword [esi + 8]
add esp, 0xc
push str.360setupscan.exe
push ecx
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x804]
pop esi
xor ecx, esp
call fcn.0044efac
add esp, 0x804
ret
Function at 0x41dec0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x468dfb
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x486d80]
xor eax, esp
mov dword [esp + 0x804], eax
push esi
mov eax, dword [0x486d80]
xor eax, esp
push eax
lea eax, [esp + 0x810]
mov dword fs:[0], eax
push str.SafemonFixRegSrv
mov esi, ecx
call fcn.00415560
mov eax, dword [0x485064]
add esp, 4
mov dword [esp + 8], eax
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x81c], 0
call fcn.00434d10
push 0x800
lea edx, [esp + 0x10]
push 0
push edx
call fcn.0044efc0
mov eax, dword [esp + 0x14]
add esp, 0xc
push str.safemon360procmon.dll
push eax
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.004048a0
test eax, eax
jne 0x41df91
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41df91
lea eax, [esp + 0xc]
push eax
call fcn.00404920
add esp, 4
test eax, eax
jne 0x41df91
push 1
call fcn.0044eb40
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0044ed50
add esp, 0xc
jmp 0x41dfa0
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x41e006
lea eax, [esp + 0xc]
push eax
push str.Module__s_not_found_
call fcn.00415560
add esp, 8
mov eax, dword [esp + 8]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x485060]
je 0x41dfdf
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41dfdf
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.0044fbd4
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x810]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.0044efac
add esp, 0x814
ret
push str.FixRegSrv
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41dfb2
call eax
push str.FixRegSrv_Done
call fcn.00415560
mov eax, dword [esp + 0xc]
lea ecx, [eax - 0xc]
add esp, 4
cmp ecx, dword [0x485060]
je 0x41e052
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41e052
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.0044fbd4
add esp, 4
mov eax, 1
jmp 0x41dfe1
Function at 0x41e510
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x486d80]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
mov ebp, dword [sym.imp.SHELL32.dll_SHGetMalloc]
push esi
push edi
lea eax, [esp + 0x10]
push eax
mov esi, ecx
call ebp
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jl 0x41e58c
lea ecx, [esp + 0x14]
push ecx
push 0x25
push 0
call ebx
test eax, eax
jl 0x41e580
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x10]
call fcn.004182b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
jl 0x41e5dc
lea ecx, [esp + 0x14]
push ecx
push 0x24
push 0
call ebx
test eax, eax
jl 0x41e5d0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x14]
call fcn.004182b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
jl 0x41e62c
lea ecx, [esp + 0x14]
push ecx
push 2
push 0
call ebx
test eax, eax
jl 0x41e620
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x18]
call fcn.004182b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
jl 0x41e67c
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
call ebx
test eax, eax
jl 0x41e670
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x1c]
call fcn.004182b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
jl 0x41e6cc
lea ecx, [esp + 0x14]
push ecx
push 0x15
push 0
call ebx
test eax, eax
jl 0x41e6c0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x20]
call fcn.004182b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044efac
add esp, 0x214
ret
Function at 0x41ebe0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x46955b
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x486d80]
xor eax, esp
mov dword [esp + 0x80c], eax
push esi
mov eax, dword [0x486d80]
xor eax, esp
push eax
lea eax, [esp + 0x818]
mov dword fs:[0], eax
mov esi, dword [esp + 0x828]
test esi, esi
je 0x41ecdd
push 0x800
lea eax, [esp + 0x18]
push 0
push eax
call fcn.0044efc0
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push esi
push str.SOFTWAREKasperskyLabSetupFolders
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41ecdd
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xc]
call fcn.0041a210
lea ecx, [esp + 8]
mov dword [esp + 0x820], 0
call fcn.0041e380
push 0x22
lea ecx, [esp + 0xc]
call fcn.0041e450
lea ecx, [esp + 8]
call fcn.0041e3e0
push 0x22
lea ecx, [esp + 0xc]
call fcn.0041e4b0
mov edx, dword [esp + 8]
push str.avp.exe
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 8]
test eax, eax
jne 0x41ece1
call fcn.00416500
xor eax, eax
jmp 0x41eceb
call fcn.00416500
mov eax, 1
mov ecx, dword [esp + 0x818]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.0044efac
add esp, 0x81c
ret 4
Function at 0x420020
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x469736
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x486d80]
xor eax, esp
mov dword [esp + 0x808], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x486d80]
xor eax, esp
push eax
lea eax, [esp + 0x820]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x830]
push 0x800
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0044efc0
mov ebp, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push str.360safe360move
push esi
lea ecx, [esp + 0x24]
push ecx
call ebp
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x420173
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call fcn.0041a210
push str.360safe_move
push esi
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x834], 0
call ebp
lea edx, [esp + 0x1c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push edi
mov ecx, ebx
call fcn.0041cdb0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0041a210
push str.360safe
push esi
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x834], 1
call ebp
lea eax, [esp + 0x1c]
push eax
call fcn.00401d70
add esp, 4
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov esi, dword [esp + 0x14]
push edi
push esi
mov ecx, ebx
call fcn.0041cdb0
push esi
call fcn.00401d70
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [esi - 0xc]
add esp, 4
cmp ecx, dword [0x485060]
je 0x420155
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x420155
push esi
call fcn.0044fbd4
add esp, 4
lea edx, [edi - 0xc]
cmp edx, dword [0x485060]
je 0x420173
lea esi, [edi - 0xc]
push esi
call ebx
test eax, eax
jg 0x420173
push esi
call fcn.0044fbd4
add esp, 4
mov ecx, dword [esp + 0x820]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.0044efac
add esp, 0x818
ret 4
Function at 0x420a30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x486d80]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [esp + 0x10]
push eax
mov esi, ecx
call edi
mov ebp, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ebx, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jl 0x420aab
lea ecx, [esp + 0x14]
push ecx
push 0x23
push 0
call ebp
test eax, eax
jl 0x420a9f
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00420020
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
call edi
test eax, eax
jl 0x420afa
lea ecx, [esp + 0x14]
push ecx
push 0x1a
push 0
call ebp
test eax, eax
jl 0x420aee
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00420020
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0044efac
add esp, 0x214
ret

Function at 0x421d00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4699b4
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x486d80]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CCommandParser.0
mov eax, dword [0x485064]
lea edi, [esi + 4]
mov dword [edi], eax
mov ecx, dword [0x485064]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esi + 8], ecx
mov edx, dword [0x485064]
mov dword [esi + 0xc], edx
mov ecx, dword [0x485064]
mov dword [esi + 0x10], ecx
mov edx, dword [esp + 0x20]
mov ecx, 1
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], ecx
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 3
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
call fcn.0041a210
lea eax, [esp + 0x20]
push eax
mov ecx, edi
mov byte [esp + 0x1c], 4
call fcn.00418250
mov eax, dword [esp + 0x20]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x485060]
je 0x421dd0
lea edi, [eax - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x421dd0
push edi
call fcn.0044fbd4
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x423070
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x24
push ebp
push esi
test ecx, ecx
je 0x42307e
lea ebp, [ecx - 0x4c]
jmp 0x423080
xor ebp, ebp
cmp dword [esp + 0x3c], 0
mov ecx, dword [ebp + 4]
je 0x423107
mov eax, dword [esp + 0x30]
push ebx
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [esp + 0x3c]
mov edi, eax
push edi
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00416600
test eax, eax
je 0x4230fb
mov edx, dword [esi]
mov dword [edx - 8], edi
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + edi*2], cx
mov eax, dword [esi]
test eax, eax
je 0x4230fb
lea edx, [edi + 1]
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.00416700
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
mov dword [ecx - 8], eax
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp dword [esp + 0x10], edi
pop edi
pop ebx
jge 0x423156
xor esi, esi
jmp 0x423120
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
push eax
mov eax, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov esi, eax
test esi, esi
jne 0x42314c
push 0xffffffffffffffff
add ebp, 0x4c
call dword [sym.imp.USER32.dll_MessageBeep]
test ebp, ebp
je 0x423134
lea eax, [ebp - 0x4c]
jmp 0x423136
xor eax, eax
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, esi
pop esi
pop ebp
add esp, 0x24
ret 0x18
cmp dword [esp + 0x40], 0
je 0x423189
mov ecx, dword [esi]
mov edx, dword [ecx - 8]
cmp edx, dword [esp + 0x44]
jle 0x423189
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
push ecx
push edx
lea ecx, [ebp + 0x4c]
call fcn.00422a60
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret 0x18
pop esi
mov eax, 1
pop ebp
add esp, 0x24
ret 0x18