joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e65d
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x39c], eax
and dword [ebp - 0x78], 0
push ebx
push esi
push edi
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
mov dword [ebp - 0x80], 1
call fcn.00475570
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push 0x4d35fc
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsReaderTray.exe
mov ebx, closesocket
mov esi, 0x410
push ebx
mov dword [ebp - 0x7c], esi
call edi
test eax, eax
jne 0x46e711
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
push str.ReaderTray.exe
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46e711
push 0
push 1
push 1
lea eax, [ebp - 0x74]
push eax
call fcn.00401dc5
test eax, eax
je 0x46e711
mov dword [ebp - 0x78], 1
jmp 0x46e76f
push esi
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00475570
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push 0x4c57e0
push str.SOFTWARE360SoftMgr_reader
push ebx
mov dword [ebp - 0x7c], esi
call edi
test eax, eax
jne 0x46e76f
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46e76f
push 0
xor esi, esi
inc esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
call fcn.00401dc5
test eax, eax
je 0x46e76f
mov dword [ebp - 0x78], esi
mov ecx, dword [ebp + 0x39c]
mov eax, dword [ebp - 0x78]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004755ea
add ebp, 0x3a0
leave
ret
Function at 0x46e78a
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x4b39c2
call fcn.00476610
mov esi, dword [ebp + 0x214]
xor eax, eax
test esi, esi
je 0x46e869
push 0x206
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00475570
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
xor edi, edi
push str.SOFTWAREKasperskyLabSetupFolders
inc edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x46e806
xor eax, eax
jmp 0x46e869
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402530
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041583c
push 0x22
lea ecx, [ebp - 0x10]
call fcn.004322f9
lea ecx, [ebp - 0x10]
call fcn.004158a4
push 0x22
lea ecx, [ebp - 0x10]
call fcn.00437dc9
push str.avp.exe
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46e85c
xor edi, edi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402870
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.004755ea
add ebp, 0x20c
leave
ret

Function at 0x46e8b1
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.00475570
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push str.InstallLocation
xor esi, esi
push str.SoftWareMicrosoftWindowsCurrentVersionUninstallA9861883_31C5_4324_BD9A_DC9527EEB675_is1
inc esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x46e91b
xor eax, eax
jmp 0x46e956
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x78]
call fcn.00402530
push str.LenovoTray.exe
push dword [ebp - 0x78]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46e949
xor esi, esi
mov ecx, dword [ebp - 0x78]
add ecx, 0xfffffff0
call fcn.00402870
mov eax, esi
mov ecx, dword [ebp + 0x194]
xor ecx, ebp
pop esi
call fcn.004755ea
add ebp, 0x198
leave
ret
Function at 0x46e96c
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x4b39c2
call fcn.00476610
xor eax, eax
push 0x206
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00475570
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push str.InstallPath
xor esi, esi
push str.SoftwareHuorongSysdiag
inc esi
push closesocket
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x46e9de
xor eax, eax
jmp 0x46ea41
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402530
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041583c
push 0x22
lea ecx, [ebp - 0x10]
call fcn.004322f9
lea ecx, [ebp - 0x10]
call fcn.004158a4
push 0x22
lea ecx, [ebp - 0x10]
call fcn.00437dc9
push str.binHipsTray.exe
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46ea34
xor esi, esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402870
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.004755ea
add ebp, 0x20c
leave
ret

Function at 0x47169f
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
xor eax, eax
push 0x206
xor ebx, ebx
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push ebx
push eax
call fcn.00475570
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.UninstallString
push str.Software360360se6UpdateClientState02E720BD_2B50_4404_947C_65DBE64F6970
push closesocket
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x103
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x47173b
cmp ax, word [ebp - 0x78]
je 0x47173b
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.......
lea eax, [ebp - 0x78]
push eax
call edi
push str.360se.exe
lea eax, [ebp - 0x78]
push eax
call edi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
test eax, eax
je 0x47173b
inc ebx
mov ecx, dword [ebp + 0x190]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004755ea
add ebp, 0x194
leave
ret
Function at 0x471753
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
xor eax, eax
push 0x206
xor ebx, ebx
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push ebx
push eax
call fcn.00475570
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.UninstallString
push str.Software360ChromeUpdateClientState27D39816_7A3D_406c_9ABC_97FB55674016
push closesocket
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x103
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4717ef
cmp ax, word [ebp - 0x78]
je 0x4717ef
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.......
lea eax, [ebp - 0x78]
push eax
call edi
push str.360chrome.exe
lea eax, [ebp - 0x78]
push eax
call edi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
test eax, eax
je 0x4717ef
inc ebx
mov ecx, dword [ebp + 0x190]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004755ea
add ebp, 0x194
leave
ret

Function at 0x471807
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
xor eax, eax
push 0x206
xor ebx, ebx
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push ebx
push eax
call fcn.00475570
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.UninstallString
push str.Software360ChromeXUpdateClientState3D30AC46_8F09_8BE3_6B29_DD54B0E9EDA6
push closesocket
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x103
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4718a3
cmp ax, word [ebp - 0x78]
je 0x4718a3
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.......
lea eax, [ebp - 0x78]
push eax
call edi
push str.360ChromeX.exe
lea eax, [ebp - 0x78]
push eax
call edi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
test eax, eax
je 0x4718a3
inc ebx
mov ecx, dword [ebp + 0x190]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004755ea
add ebp, 0x194
leave
ret
Function at 0x471c76
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x4b3b87
call fcn.00476610
mov esi, ecx
push 1
push dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 1
jne 0x471c9a
call fcn.004766e8
ret
push 0x4f9e18
lea ecx, [ebp - 0x14]
call fcn.0040284b
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.00471976
mov ecx, eax
call fcn.004719b6
push str._safemonWdHPFileSafe.dll
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403a6b
add esp, 0xc
push dword [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x471d02
push dword [ebp - 0x10]
call fcn.00431007
test eax, eax
je 0x471d02
push 0x4c81fc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x471d02
call eax
mov dword [esi + 0xc], eax
cmp dword [esi + 0xc], 0
je 0x471d31
push 1
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402870
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402870
mov eax, esi
jmp 0x471c94
xor esi, esi
jmp 0x471d14

Function at 0x471d4e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0xc
mov eax, 0x4afdc7
call fcn.00476610
mov edi, dword [ebp + 0x80c]
mov ebx, dword [ebp + 0x810]
and dword [ebp - 0x14], 0
mov esi, 0x4d3fa0
push esi
lea ecx, [ebp - 0x10]
call fcn.00402530
and dword [ebp - 4], 0
xor eax, eax
push 0x7fe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00475570
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x14]
push eax
push str.Start_Page
push str.SoftwareMicrosoftInternet_ExplorerMain
push ebx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], 0x400
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x471df4
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.004027b6
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.00403c96
jmp 0x471dfc
push esi
mov ecx, edi
call fcn.00402530
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402870
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.004755ea
add ebp, 0x804
leave
ret
Function at 0x473d6a
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x473d90
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x473d90
xor al, al
jmp 0x473db0
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.0047eea0
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x473fbf
Capabilities:
Set file attributes

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x474c5f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4f9e34], 0
push esi
jne 0x474bd2
call fcn.00474af8
test eax, eax
je 0x474c15
mov eax, dword [0x4f9e34]
cmp eax, 1
jne 0x474bf3
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x474c15
pop esi
ret
push eax
call dword [0x4f9e3c]
test eax, eax
jne 0x474c5d
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x474c19
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4f9e34]
call dword [0x4f9e3c]
mov edi, eax
test edi, edi
je 0x474c3e
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x474c5a
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4f9e34]
call dword [0x4f9e38]
add edi, 0x10
cmp edi, esi
jb 0x474c46
mov eax, edi
pop edi
pop esi
ret
jmp 0x474bbf

Function at 0x4755ea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4f3bd0]
jne 0x4755f4
repz ret
jmp fcn.0048154d
Function at 0x48fcbb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00481da8
and dword [ebp - 4], 0
cmp dword [0x4fab50], 0
mov ebx, eax
jne 0x48fd6c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x48fe1d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x48fe1d
push eax
call fcn.00481d36
mov dword [esp], 0x4ccd30
push edi
mov dword [0x4fab50], eax
call esi
push eax
call fcn.00481d36
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4fab54], eax
call esi
push eax
call fcn.00481d36
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4fab58], eax
call esi
push eax
call fcn.00481d36
pop ecx
mov dword [0x4fab60], eax
test eax, eax
je 0x48fd6c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00481d36
pop ecx
mov dword [0x4fab5c], eax
mov eax, dword [0x4fab5c]
cmp eax, ebx
je 0x48fdc4
cmp dword [0x4fab60], ebx
je 0x48fdc4
push eax
call fcn.00481db1
push dword [0x4fab60]
mov esi, eax
call fcn.00481db1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x48fdc4
test edi, edi
je 0x48fdc4
call esi
test eax, eax
je 0x48fdbb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x48fdbb
test byte [ebp - 0xc], 1
jne 0x48fdc4
or dword [ebp + 0x10], 0x200000
jmp 0x48fdfd
mov eax, dword [0x4fab54]
cmp eax, ebx
je 0x48fdfd
push eax
call fcn.00481db1
pop ecx
test eax, eax
je 0x48fdfd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x48fdfd
mov eax, dword [0x4fab58]
cmp eax, ebx
je 0x48fdfd
push eax
call fcn.00481db1
pop ecx
test eax, eax
je 0x48fdfd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4fab50]
call fcn.00481db1
pop ecx
test eax, eax
je 0x48fe1d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x48fe1f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x494d60
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4f3bd0]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
test ebx, ebx
jne 0x494d98
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004755ea
add esp, 0x20c
ret
push esi
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00475570
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x494e63
mov ecx, ebx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x494dd0
sub ecx, esi
sar ecx, 1
mov edx, 0x103
sub edx, ecx
cmp eax, edx
jae 0x494e63
push edi
lea edi, [esp + 0xc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x494df2
mov eax, dword [0x4d3cc0]
mov dword [edi], eax
mov eax, ebx
mov edx, ebx
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x494e10
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x494e24
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004755ea
add esp, 0x20c
ret
mov ecx, dword [esp + 0x210]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004755ea
add esp, 0x20c
ret
Function at 0x495450
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.00476c90
mov eax, dword [0x4f3bd0]
xor eax, esp
mov dword [esp + 0x2c10], eax
mov eax, dword [esp + 0x2c18]
push edi
xor edi, edi
mov dword [esp + 0xc], eax
cmp eax, edi
je 0x4955bb
cmp dword [esp + 0x2c20], edi
je 0x4955bb
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov dword [esp + 0x10], edi
xor ebx, ebx
lea ebx, [ebx]
push ebx
push 0x4d85c0
lea eax, [esp + 0x30]
push pe_nt_image_headers32
push eax
call fcn.0042bda0
add esp, 0x10
push edi
push edi
push 3
push edi
push 3
push edi
lea ecx, [esp + 0x40]
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x495594
xor eax, eax
push 0x2710
lea edx, [esp + 0x514]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.00475570
add esp, 0xc
push edi
lea eax, [esp + 0x18]
push eax
push 0x2710
lea ecx, [esp + 0x51c]
push ecx
push 0xc
lea edx, [esp + 0x30]
push edx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x495587
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.00475570
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.00496d60
mov edx, dword [esp + 0x2c48]
mov eax, dword [esp + 0x34]
add esp, 0x1c
lea ecx, [esp + 0x128]
push ecx
push edx
push eax
call fcn.0040b427
test eax, eax
jne 0x495587
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x49559e
inc ebx
cmp ebx, 0x10
jl 0x4954a0
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.004755ea
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.004755ea
add esp, 0x2c14
ret
Function at 0x495860
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x4f3bd0]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x495a61
cmp dword [esp + 0x2f8], 0
je 0x495a61
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00475570
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x4ccef0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x495a28
mov ecx, dword [esp + 4]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x100]
push eax
push ebx
mov esi, 0x104
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x495a1b
lea ebx, [ebx]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push 0
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4959e9
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0x4d8654
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4959de
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.00475570
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.00495750
add esp, 0x14
test eax, eax
je 0x4959de
cmp byte [esp + 0x24], 0
je 0x4959a2
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x4959de
lea eax, [esp + 0x24]
lea esi, [esp + 0x88]
mov ecx, eax
mov edx, 0x64
sub esi, ecx
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x4959d1
mov cl, byte [esi + eax]
test cl, cl
je 0x4959d1
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x4959b6
jmp 0x4959d5
test edx, edx
jne 0x4959d6
dec eax
mov byte [eax], 0
mov esi, 0x104
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x100]
push ecx
inc ebx
push ebx
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x495900
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
cmp byte [esp + 0x1c], 0
je 0x495a61
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.0040b427
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.004755ea
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.004755ea
add esp, 0x2ec
ret
Function at 0x495e00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x4f3bd0]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x495f7d
cmp ebp, 0x20
jb 0x495f7d
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.00475570
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x4ccf4c
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x495f7d
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x495e90
sub eax, edx
cmp eax, 0x40
jne 0x495f7d
push ebx
lea edx, [eax + 0x40]
push esi
lea eax, [esp + 0x14]
lea esi, [esp + 0x114]
mov ecx, eax
sub esi, ecx
lea ecx, [edx - 0x60]
test ecx, ecx
je 0x495ece
mov cl, byte [esi + eax]
test cl, cl
je 0x495ece
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x495eb6
jmp 0x495ed2
test edx, edx
jne 0x495ed3
dec eax
mov byte [eax], 0
lea eax, [esp + 0x94]
lea edx, [esp + 0x134]
mov ecx, eax
mov esi, 0x80
sub edx, ecx
lea ecx, [ecx]
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x495f0b
mov cl, byte [edx + eax]
test cl, cl
je 0x495f0b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x495ef0
jmp 0x495f0f
test esi, esi
jne 0x495f10
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.00475570
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.00494ed0
add esp, 0x10
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
pop esi
pop ebx
test eax, eax
jne 0x495f7d
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.0040b427
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.004755ea
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.004755ea
add esp, 0x50c
ret