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

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x4ae3e2
call fcn.004711ef
xor eax, eax
push 0x206
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.004701a0
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 0x46b99c
xor eax, eax
jmp 0x46b9ff
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.004025d8
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041558e
push 0x22
lea ecx, [ebp - 0x10]
call fcn.00432033
lea ecx, [ebp - 0x10]
call fcn.004155f6
push 0x22
lea ecx, [ebp - 0x10]
call fcn.00437cf7
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 0x46b9f2
xor esi, esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040290e
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.0047021a
add ebp, 0x20c
leave
ret

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

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4ed820]
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.004701a0
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 0x46c4be
cmp ax, word [ebp - 0x78]
je 0x46c4be
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 0x46c4be
inc ebx
mov ecx, dword [ebp + 0x190]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0047021a
add ebp, 0x194
leave
ret
Function at 0x46c4d6
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4ed820]
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.004701a0
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 0x46c572
cmp ax, word [ebp - 0x78]
je 0x46c572
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 0x46c572
inc ebx
mov ecx, dword [ebp + 0x190]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0047021a
add ebp, 0x194
leave
ret

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

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4ed820]
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.004701a0
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 0x46c626
cmp ax, word [ebp - 0x78]
je 0x46c626
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 0x46c626
inc ebx
mov ecx, dword [ebp + 0x190]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0047021a
add ebp, 0x194
leave
ret
Function at 0x46c8b5
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x4aa1a2
call fcn.004711ef
mov esi, ecx
push 1
push dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 1
jne 0x46c8d9
call fcn.004712c7
ret
push 0x4f39f8
lea ecx, [ebp - 0x14]
call fcn.004028e9
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.0046c712
mov ecx, eax
call fcn.0046c752
push str._safemonWdHPFileSafe.dll
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004039cd
add esp, 0xc
push dword [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46c941
push dword [ebp - 0x10]
call fcn.00430cf7
test eax, eax
je 0x46c941
push 0x4c21fc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46c941
call eax
mov dword [esi + 0xc], eax
cmp dword [esi + 0xc], 0
je 0x46c970
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.0040290e
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040290e
mov eax, esi
jmp 0x46c8d3
xor esi, esi
jmp 0x46c953

Function at 0x46c98d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0xc
mov eax, 0x4aa9de
call fcn.004711ef
mov edi, dword [ebp + 0x80c]
mov ebx, dword [ebp + 0x810]
and dword [ebp - 0x14], 0
mov esi, 0x4cdf90
push esi
lea ecx, [ebp - 0x10]
call fcn.004025d8
and dword [ebp - 4], 0
xor eax, eax
push 0x7fe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.004701a0
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 0x46ca33
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040285e
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.00403c4d
jmp 0x46ca3b
push esi
mov ecx, edi
call fcn.004025d8
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040290e
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.0047021a
add ebp, 0x804
leave
ret
Function at 0x46ea0c
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 0x46ea32
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x46ea32
xor al, al
jmp 0x46ea52
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00479ac0
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 0x46ec61
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 0x46f8af
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4f3a14], 0
push esi
jne 0x46f822
call fcn.0046f748
test eax, eax
je 0x46f865
mov eax, dword [0x4f3a14]
cmp eax, 1
jne 0x46f843
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x46f865
pop esi
ret
push eax
call dword [0x4f3a1c]
test eax, eax
jne 0x46f8ad
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 0x46f869
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4f3a14]
call dword [0x4f3a1c]
mov edi, eax
test edi, edi
je 0x46f88e
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x46f8aa
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4f3a14]
call dword [0x4f3a18]
add edi, 0x10
cmp edi, esi
jb 0x46f896
mov eax, edi
pop edi
pop esi
ret
jmp 0x46f80f

Function at 0x47021a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ed820]
jne 0x470224
repz ret
jmp fcn.0047c16d
Function at 0x48a8eb
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.0047c9c8
and dword [ebp - 4], 0
cmp dword [0x4f4730], 0
mov ebx, eax
jne 0x48a99c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x48aa4d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x48aa4d
push eax
call fcn.0047c956
mov dword [esp], 0x4c6f00
push edi
mov dword [0x4f4730], eax
call esi
push eax
call fcn.0047c956
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4f4734], eax
call esi
push eax
call fcn.0047c956
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4f4738], eax
call esi
push eax
call fcn.0047c956
pop ecx
mov dword [0x4f4740], eax
test eax, eax
je 0x48a99c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0047c956
pop ecx
mov dword [0x4f473c], eax
mov eax, dword [0x4f473c]
cmp eax, ebx
je 0x48a9f4
cmp dword [0x4f4740], ebx
je 0x48a9f4
push eax
call fcn.0047c9d1
push dword [0x4f4740]
mov esi, eax
call fcn.0047c9d1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x48a9f4
test edi, edi
je 0x48a9f4
call esi
test eax, eax
je 0x48a9eb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x48a9eb
test byte [ebp - 0xc], 1
jne 0x48a9f4
or dword [ebp + 0x10], 0x200000
jmp 0x48aa2d
mov eax, dword [0x4f4734]
cmp eax, ebx
je 0x48aa2d
push eax
call fcn.0047c9d1
pop ecx
test eax, eax
je 0x48aa2d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x48aa2d
mov eax, dword [0x4f4738]
cmp eax, ebx
je 0x48aa2d
push eax
call fcn.0047c9d1
pop ecx
test eax, eax
je 0x48aa2d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4f4730]
call fcn.0047c9d1
pop ecx
test eax, eax
je 0x48aa4d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x48aa4f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48f990
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4ed820]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
test ebx, ebx
jne 0x48f9c8
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0047021a
add esp, 0x20c
ret
push esi
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004701a0
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x48fa93
mov ecx, ebx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x48fa00
sub ecx, esi
sar ecx, 1
mov edx, 0x103
sub edx, ecx
cmp eax, edx
jae 0x48fa93
push edi
lea edi, [esp + 0xc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x48fa22
mov eax, dword [0x4cdcb0]
mov dword [edi], eax
mov eax, ebx
mov edx, ebx
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48fa40
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x48fa54
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.0047021a
add esp, 0x20c
ret
mov ecx, dword [esp + 0x210]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0047021a
add esp, 0x20c
ret
Function at 0x490080
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.00471870
mov eax, dword [0x4ed820]
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 0x4901eb
cmp dword [esp + 0x2c20], edi
je 0x4901eb
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 0x4d25b0
lea eax, [esp + 0x30]
push 0x100
push eax
call fcn.0042ba60
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 0x4901c4
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.004701a0
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 0x4901b7
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.004701a0
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.00491990
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.0040b40b
test eax, eax
jne 0x4901b7
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x4901ce
inc ebx
cmp ebx, 0x10
jl 0x4900d0
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.0047021a
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0047021a
add esp, 0x2c14
ret
Function at 0x490490
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x4ed820]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x490691
cmp dword [esp + 0x2f8], 0
je 0x490691
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.004701a0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x4c70c0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x490658
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 0x49064b
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 0x490619
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 0x4d2644
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x49060e
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.004701a0
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.00490380
add esp, 0x14
test eax, eax
je 0x49060e
cmp byte [esp + 0x24], 0
je 0x4905d2
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x49060e
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 0x490601
mov cl, byte [esi + eax]
test cl, cl
je 0x490601
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x4905e6
jmp 0x490605
test edx, edx
jne 0x490606
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 0x490530
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 0x490691
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.0040b40b
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.0047021a
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0047021a
add esp, 0x2ec
ret
Function at 0x490a30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x4ed820]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x490bad
cmp ebp, 0x20
jb 0x490bad
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.004701a0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x4c711c
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x490bad
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x490ac0
sub eax, edx
cmp eax, 0x40
jne 0x490bad
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 0x490afe
mov cl, byte [esi + eax]
test cl, cl
je 0x490afe
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x490ae6
jmp 0x490b02
test edx, edx
jne 0x490b03
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 0x490b3b
mov cl, byte [edx + eax]
test cl, cl
je 0x490b3b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x490b20
jmp 0x490b3f
test esi, esi
jne 0x490b40
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.004701a0
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.0048fb00
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 0x490bad
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.0040b40b
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.0047021a
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0047021a
add esp, 0x50c
ret
Function at 0x490bd0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x290
mov eax, dword [0x4ed820]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004701a0
push 0x80
lea ebx, [esp + 0x20]
mov ecx, edi
call fcn.0048fb00
lea eax, [esp + 0x1a0]
mov edx, edi
mov ecx, eax
add esp, 0x10
mov esi, 0x104
sub edx, ecx
lea esp, [esp]
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x490c3b
mov cl, byte [edx + eax]
test cl, cl
je 0x490c3b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x490c20
jmp 0x490c3f
test esi, esi
jne 0x490c40
dec eax
lea edx, [esp + 0x10]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x198]
push eax
call fcn.0042f630
push 0xff
lea ecx, [esp + 0x95]
push 0
push ecx
mov dword [esp + 0x18], 1
mov byte [esp + 0x9c], 0
call fcn.004701a0
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x4c711c
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0x100
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x490d1b
mov ecx, edi
lea eax, [esp + 0x90]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x490ce3
test dl, dl
je 0x490cdf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x490ce3
add eax, 2
add ecx, 2
test dl, dl
jne 0x490cc3
xor eax, eax
jmp 0x490ce8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x490d1b
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x490cf6
sub eax, edx
push eax
lea edx, [esp + 0x94]
push edx
push 1
push str.mid_old
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [esp + 0x190]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x490d25
sub eax, edx
push eax
lea eax, [esp + 0x194]
push eax
push 1
push 0x4c711c
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov ecx, dword [esp + 0x294]
pop esi
pop ebx
xor ecx, esp
call fcn.0047021a
add esp, 0x290
ret