joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429170
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bf5cb
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x4ea688]
xor eax, esp
mov dword [esp + 0x450], eax
push ebx
push esi
push edi
mov eax, dword [0x4ea688]
xor eax, esp
push eax
lea eax, [esp + 0x468]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x470], esi
cmp eax, esi
jne 0x4291fc
push ebx
push str.Software360TotalSecurity_srvtpi_s
lea edx, [esp + 0x54]
call fcn.0042c2a0
add esp, 8
lea edx, [esp + 0x14]
push edx
push 1
push esi
lea eax, [esp + 0x58]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
jmp 0x429206
lea ecx, [esp + 0x14]
push ecx
push 1
push esi
push ebx
push eax
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x42932b
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x50]
push ecx
push esi
push str.StartType
push edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x5c], 0x104
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x24]
cmp eax, 2
ja 0x429320
cmp eax, esi
je 0x429320
cmp dword [ebp + 0x14], esi
jne 0x429289
cmp eax, 2
jne 0x429289
lea esi, [esp + 0x18]
call fcn.00401a30
jmp 0x42932b
push str.DelayLoad
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
call fcn.004241b0
test eax, eax
je 0x4292af
mov eax, dword [esp + 0x40]
cmp eax, esi
je 0x4292af
mov eax, dword [eax + 0x10]
mov dword [esp + 0x20], eax
push str.ImagePath
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
push ecx
lea edi, [esp + 0x4c]
lea esi, [esp + 0x25c]
call fcn.00424130
test eax, eax
jne 0x42927b
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, esi
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x3c]
push edx
lea esi, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
call fcn.004295a0
lea esi, [esp + 0x18]
mov edi, eax
call fcn.00401a30
mov eax, edi
jmp 0x42932d
cmp edi, esi
je 0x42932b
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x468]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x450]
xor ecx, esp
call fcn.00491db1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x429360
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf91b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x4ea688]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], esi
lea edx, [ebp - 0x220]
push edx
push 8
push esi
push str.Software360TotalSecurity_srvtpi
mov dword [ebp - 4], esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x220], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x4294d6
mov ebx, dword [ebp - 0x220]
xor edi, edi
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x224], edi
lea eax, [ebp - 0x240]
push eax
push esi
push esi
push esi
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x21c]
push edx
push edi
push ebx
mov dword [ebp - 0x234], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4294cb
mov eax, dword [esi + 0x4ec3e4]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00492756
add esp, 8
test eax, eax
je 0x4294b6
add esi, 4
cmp esi, 4
jb 0x429422
xor ebx, ebx
xor edi, edi
xor esi, esi
mov edi, edi
mov edx, dword [esi + 0x4ec488]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.00492756
add esp, 8
test eax, eax
je 0x429475
add esi, 0x14
inc edi
cmp esi, 0x50
jb 0x429450
jmp 0x42948c
mov ecx, dword [ebp - 0x228]
lea ebx, [edi + edi*4]
mov dword [ecx + edi*4], 1
lea ebx, [ebx*4 + 0x4ec488]
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x238]
push 0
lea edx, [ebp - 0x21c]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.00429170
mov ebx, dword [ebp - 0x220]
mov edi, dword [ebp - 0x224]
inc edi
xor esi, esi
cmp edi, 0x200
mov dword [ebp - 0x224], edi
jl 0x4293f0
cmp ebx, esi
je 0x4294d6
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret 4
Function at 0x4296f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf558
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x4ea688]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, ecx
cmp dword [edi + 0x7c], 0
jne 0x429864
lea eax, [edi + 0x34]
push ebx
push eax
mov dword [ebp - 0x20], eax
call fcn.00428750
test eax, eax
jne 0x429864
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x429756
mov eax, ebx
call fcn.00424a20
test eax, eax
je 0x429864
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x429864
push str.CreateTrayClient
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42985d
lea ecx, [ebp - 0x14]
push ecx
push 1
mov dword [ebp - 0x14], 0
call eax
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x42985a
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp + 0xc]
jb 0x429851
mov edi, dword [edi + 0x84]
mov dword [ebp - 0x18], 0
test edi, edi
je 0x429851
mov eax, dword [esi]
mov edx, dword [eax + 8]
lea ecx, [ebp - 0x18]
push ecx
push edi
mov ecx, esi
call edx
test eax, eax
je 0x429851
lea eax, [ebp - 0x4c]
push eax
call fcn.00429880
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 0
mov edx, ebx
lea edi, [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
call fcn.00425a10
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x44], esi
mov esi, dword [ebp - 0x20]
push ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
call fcn.004282d0
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x429832
push str.appd.dll
push eax
call fcn.00492756
add esp, 8
test eax, eax
jne 0x429832
mov edx, dword [ebp - 0x10]
push edx
call fcn.00429500
lea eax, [ebp - 0x4c]
call fcn.004298e0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42aaf0
Capabilities:
Enumerate processes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x658
mov eax, dword [0x4ea688]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x650], 1
mov word [ebp - 0x414], ax
call fcn.004982c0
add esp, 0xc
lea edx, [ebp - 0x658]
push edx
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x650]
push ecx
push 0x4c561c
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeTray.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x658], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x42ab7d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
push 0
push 2
mov dword [ebp - 0x654], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x644], esi
cmp esi, 0xffffffff
je 0x42abc2
lea edx, [ebp - 0x640]
push edx
push esi
mov dword [ebp - 0x640], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x42abd3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x61c]
push str.QHSafeTray.exe
push eax
call fcn.00492756
add esp, 8
test eax, eax
jne 0x42ac98
mov edx, dword [ebp - 0x638]
lea ecx, [ebp - 0x64c]
push ecx
push edx
mov dword [ebp - 0x64c], eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x42ac98
mov eax, dword [ebp - 0x654]
cmp dword [ebp - 0x64c], eax
jne 0x42ac98
mov ecx, dword [ebp - 0x638]
push ecx
push 0
push 0x410
call ebx
mov esi, eax
test esi, esi
je 0x42ac92
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20a]
push eax
mov word [ebp - 0x20c], dx
call fcn.004982c0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x42ac8f
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x414]
push eax
call fcn.00492756
add esp, 8
test eax, eax
je 0x42acaf
push esi
call edi
mov esi, dword [ebp - 0x644]
lea ecx, [ebp - 0x640]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42abe1
jmp 0x42acc4
mov edx, dword [ebp - 0x638]
push esi
mov dword [ebp - 0x648], edx
call edi
mov esi, dword [ebp - 0x644]
push esi
call edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x648]
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.00491db1
mov esp, ebp
pop ebp
ret
Function at 0x42ace0
Capabilities:
Enumerate processes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
mov eax, dword [0x4ea688]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov dword [ebp - 0x648], 1
mov word [ebp - 0x414], ax
call fcn.004982c0
xor eax, eax
add esp, 0xc
lea edx, [ebp - 0x64c]
push edx
mov dword [0x4f212c], eax
mov dword [0x4f2130], eax
mov dword [0x4f2134], eax
mov dword [0x4f2138], eax
mov dword [0x4f213c], eax
mov dword [0x4f2140], eax
mov dword [0x4f2144], eax
mov dword [0x4f2148], eax
mov dword [0x4f214c], eax
mov dword [0x4f2150], eax
mov dword [0x4f2154], eax
mov dword [0x4f2158], eax
mov dword [0x4f215c], eax
mov dword [0x4f2160], eax
mov dword [0x4f2164], eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x648]
push ecx
push 0x4c561c
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeTray.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x64c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42aeb4
push esi
push eax
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x644], esi
cmp esi, 0xffffffff
je 0x42aeb3
lea edx, [ebp - 0x640]
push edx
push esi
mov dword [ebp - 0x640], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x42adef
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, 0x4f212c
lea esp, [esp]
lea eax, [ebp - 0x61c]
push str.QHSafeTray.exe
push eax
call fcn.00492756
add esp, 8
test eax, eax
jne 0x42ae95
mov ecx, dword [ebp - 0x638]
push ecx
push eax
push 0x410
call edi
mov esi, eax
test esi, esi
je 0x42ae8f
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20a]
push eax
mov word [ebp - 0x20c], dx
call fcn.004982c0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x42ae88
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x414]
push eax
call fcn.00492756
add esp, 8
test eax, eax
jne 0x42ae88
mov ecx, dword [ebp - 0x638]
mov dword [ebx], ecx
add ebx, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x644]
lea edx, [ebp - 0x640]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42ae00
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret
Function at 0x42cf90
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 8]
push eax
push ecx
xor ebx, ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x42cfb3
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push esi
call fcn.00492838
mov edi, eax
add esp, 4
test edi, edi
jne 0x42cfca
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
push edi
push esi
push 0
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42d003
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x4ce6b0
push edi
call sub.VERSION.dll_VerQueryValueW
mov ecx, dword [ebp + 0xc]
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov dword [ecx], edx
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
push edi
call fcn.004929f3
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42d460
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x568
mov eax, dword [0x4ea688]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push 0x11c
lea eax, [ebp - 0x530]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x534], esi
call fcn.004982c0
push 0x11c
push 0
push ebx
mov dword [ebp - 0x530], 0x11c
call fcn.004982c0
add esp, 0x18
push ebx
mov dword [ebx], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebx + 4], 5
jne 0x42d4d5
call fcn.0042d360
test eax, eax
je 0x42d4d5
mov dword [esi + 4], 0
jmp 0x42d5c2
push str.RtlGetVersion
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42d4f9
lea ecx, [ebp - 0x530]
push ecx
call eax
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 8]
push edi
lea edi, [eax + edx*2]
mov eax, dword [ebp - 0x52c]
mov edx, dword [ebp - 0x528]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2]
cmp eax, edi
jle 0x42d52d
mov ecx, 0x47
lea esi, [ebp - 0x530]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, eax
xor eax, eax
push 0x40e
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.004982c0
add esp, 0xc
lea esi, [ebp - 0x414]
call fcn.0042d3b0
test eax, eax
jl 0x42d5b4
lea edx, [ebp - 0x568]
push edx
mov eax, esi
call fcn.0042d5e0
test eax, eax
je 0x42d5b4
mov ecx, dword [ebp - 0x558]
mov eax, ecx
shr eax, 0x10
movzx ecx, cx
lea edx, [eax + eax*4]
lea edx, [ecx + edx*2]
cmp edi, edx
jge 0x42d5a5
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x554]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x534]
shr eax, 0x10
mov dword [ebx + 0xc], eax
mov dword [ecx + 4], 1
jmp 0x42d5c1
mov edx, dword [ebp - 0x534]
mov dword [edx + 4], 0
jmp 0x42d5c1
mov eax, dword [ebp - 0x534]
mov dword [eax + 4], 0
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00491db1
mov esp, ebp
pop ebp
ret 4
Function at 0x42d5e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 2
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x42d664
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x42d65d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42d65d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x42d656
mov ecx, dword [ebp - 4]
push ecx
call fcn.00492838
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x42d656
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
push edx
push eax
push ebx
call fcn.00499f30
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
cmp ebx, esi
je 0x42d6a2
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0x4ce6b0
push ebx
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42d699
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 8]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov esi, 1
push ebx
call fcn.004929f3
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x431710
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
test esi, esi
jne 0x43171e
xor eax, eax
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push eax
push 0x23
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x431718
mov ecx, dword [ebp - 4]
push esi
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x431718
mov eax, esi
lea edx, [eax + 2]
jmp 0x431750
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431750
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 - 2], 0x5c
jne 0x43176e
xor edx, edx
mov word [esi + eax*2 - 2], dx
push 0x104
push str.360SafeLogInfo
push 0x104
push esi
call fcn.00497658
add esp, 0x10
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x431bc0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [0x4ea688]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x416]
push ecx
mov edi, edx
mov word [ebp - 0x418], ax
call fcn.004982c0
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20e]
push eax
mov word [ebp - 0x210], dx
call fcn.004982c0
push 0x24c
lea ecx, [ebp - 0x664]
push 0
push ecx
mov dword [ebp - 0x668], 0
call fcn.004982c0
push str..log
push edi
add esi, 0x430
push esi
lea edx, [ebp - 0x418]
push str._s_s_s
push edx
mov ecx, 0x104
call fcn.00423fe0
add esp, 0x38
lea eax, [ebp - 0x668]
push eax
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x431cc0
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test byte [ebp - 0x668], 0x10
jne 0x431ca7
lea edx, [ebp - 0x63c]
push edx
push esi
lea eax, [ebp - 0x210]
push str._s_s
push eax
mov ecx, 0x104
call fcn.00423fe0
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call ebx
lea edx, [ebp - 0x668]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x431c74
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00491db1
mov esp, ebp
pop ebp
ret
Function at 0x431ce0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [0x4ea688]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push str..log2
push str.New360_formal_
lea esi, [eax + 0x430]
mov edi, ecx
xor ecx, ecx
push esi
lea edx, [ebp - 0x418]
mov word [ebx], cx
push str._s_s_s
push edx
mov ecx, 0x104
call fcn.00423fe0
add esp, 0x14
lea eax, [ebp - 0x668]
push eax
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x66c], eax
cmp eax, 0xffffffff
je 0x431e31
test byte [ebp - 0x668], 0x10
jne 0x431d8e
lea edx, [ebp - 0x63c]
push edx
push esi
lea eax, [ebp - 0x210]
push str._s_s
push eax
mov ecx, 0x104
call fcn.00423fe0
add esp, 0x10
test edi, edi
je 0x431d8e
lea ecx, [ebp - 0x210]
push ecx
call fcn.00431e50
test eax, eax
jne 0x431dcb
mov eax, dword [ebp - 0x66c]
lea edx, [ebp - 0x668]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x431d50
mov eax, dword [ebp - 0x66c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret 8
lea esi, [ebp - 0x210]
mov edx, 0x104
mov eax, ebx
sub esi, ebx
lea ebx, [ebx]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x431e00
movzx ecx, word [esi + eax]
test cx, cx
je 0x431e00
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x431de0
jmp 0x431e04
test edx, edx
jne 0x431e07
sub eax, 2
xor edx, edx
mov word [eax], dx
mov eax, dword [ebp - 0x66c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00491db1
mov esp, ebp
pop ebp
ret 8
Function at 0x431f20
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa40
mov eax, dword [0x4ea688]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push str.Newctrl.lck
lea eax, [ebx + 0x430]
push eax
lea ecx, [ebp - 0xa34]
push str._s_s
push ecx
mov ecx, 0x104
mov dword [ebp - 0xa38], 0
call fcn.00423fe0
add esp, 0x10
lea edx, [ebp - 0xa34]
push edx
lea edi, [ebp - 0xa40]
call fcn.00431e50
test eax, eax
jne 0x431f96
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret 4
mov edx, str.360_tmp_
mov ecx, ebx
call fcn.00431bc0
mov edx, str.360_formal_
mov ecx, ebx
call fcn.00431bc0
lea eax, [ebp - 0x41c]
push eax
push ebx
lea ecx, [ebp - 0xa3c]
call fcn.00431ce0
test eax, eax
jne 0x43203c
lea ecx, [ebp - 0x624]
push ecx
push ebx
call fcn.004323e0
test eax, eax
je 0x43202d
xor edx, edx
cmp dx, word [ebp - 0x624]
je 0x43202d
lea eax, [ebp - 0x82c]
lea esi, [ebp - 0x624]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x432011
movzx ecx, word [esi + eax]
test cx, cx
je 0x432011
add eax, 2
sub edx, 1
jne 0x431ff6
lea eax, [ebp - 0x624]
push eax
lea edx, [ebp - 0x214]
mov ecx, ebx
call fcn.00432580
test eax, eax
jne 0x4320c1
mov dword [ebp - 0xa38], 2
jmp 0x432105
xor ecx, ecx
cmp cx, word [ebp - 0x41c]
je 0x43202d
push str..up2
lea edx, [ebp - 0x41c]
push edx
lea eax, [ebp - 0x214]
push 0x4c6084
push eax
mov ecx, 0x104
call fcn.00423fe0
add esp, 0x10
lea esi, [ebp - 0xa3c]
call fcn.00431ec0
push 1
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x41c]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x432105
lea eax, [ebp - 0x82c]
lea esi, [ebp - 0x41c]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x4320c1
movzx ecx, word [esi + eax]
test cx, cx
je 0x4320c1
add eax, 2
sub edx, 1
jne 0x4320a6
lea eax, [ebp - 0x214]
push eax
call fcn.00432130
test eax, eax
jne 0x4320e0
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x432105
lea edx, [ebp - 0x214]
push edx
mov esi, ebx
call fcn.00432260
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0xa38], 1
lea esi, [ebp - 0xa40]
call fcn.00431ec0
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xa38]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00491db1
mov esp, ebp
pop ebp
ret 4