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

Disassembly:
push 0x2e4
mov eax, 0x43ff44
call fcn.0042a256
mov dword [ebp - 0x2e4], 1
push 0x208
push 0
lea eax, [ebp - 0x2dc]
push eax
call fcn.00429ac0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x2dc]
push eax
push dword [0x455244]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str....._sweeperMainPageRepair.ini
lea eax, [ebp - 0x2dc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xb4
push 0
lea eax, [ebp - 0xd4]
push eax
call fcn.00429ac0
add esp, 0xc
lea eax, [ebp - 0x2dc]
push eax
push 0x1d
lea eax, [ebp - 0xd4]
push eax
mov ebx, 0x4473c4
push ebx
push 0x4473c8
mov edi, str.FlagSecTion
push edi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call esi
lea eax, [ebp - 0x2dc]
push eax
push 0x1d
lea eax, [ebp - 0x98]
push eax
push ebx
push str.RcmdTip_LastTime_Aid
push edi
call esi
lea eax, [ebp - 0x2dc]
push eax
push 0x1d
lea eax, [ebp - 0x5c]
push eax
push ebx
push str.RcmdTip_LastTime_Full
push edi
call esi
mov dword [ebp - 0x2f0], 3
xor esi, esi
mov dword [ebp - 0x2e0], esi
mov eax, dword [ebp - 0x2f0]
cmp dword [ebp - 0x2e0], eax
jge 0x403f66
mov eax, dword [ebp - 0x2e0]
imul eax, eax, 0x3c
lea eax, [ebp + eax - 0xd4]
cmp word [eax], si
je 0x403f5b
mov dword [ebp - 4], esi
mov dword [ebp - 0x2ec], esi
mov dword [ebp - 0x2e8], esi
push eax
lea eax, [ebp - 0x2ec]
call fcn.00407659
pop ecx
cmp eax, esi
je 0x403f3f
push esi
call fcn.0042833e
pop ecx
sub eax, dword [ebp - 0x2ec]
sbb edx, dword [ebp - 0x2e8]
cmp edx, esi
jg 0x403f3f
jl 0x403f39
cmp eax, 0x708
jae 0x403f3f
mov dword [ebp - 0x2e4], esi
or dword [ebp - 4], 0xffffffff
jmp 0x403f5b
inc dword [ebp - 0x2e0]
jmp 0x403ed2
mov eax, dword [ebp - 0x2e4]
call fcn.0042a2a3
ret

Function at 0x403f72
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push 0xf003f
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 8], eax
cmp eax, edi
je 0x403ff3
push 0xf01ff
push str.dsmainsrv
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
cmp esi, edi
je 0x403ff3
push 6
mov dword [ebp - 0x24], edi
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x403fe3
cmp dword [ebp - 0x24], 0x10
je 0x403fd6
cmp dword [ebp - 0x24], 0x20
jne 0x403fe3
lea eax, [ebp - 0x24]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov edi, eax
call ebx
test edi, edi
jne 0x404009
call fcn.004077f1
push str.SystemCurrentControlSetServicesdsmainsrv
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004076a7
pop ecx
pop ecx
cmp dword [ebp - 8], 0
je 0x404014
push dword [ebp - 8]
call ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404087
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8d0
mov eax, dword [0x451220]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
call fcn.00403c64
test al, al
jne 0x4040b5
call fcn.00413ab4
jmp 0x40420f
lea edi, [ebp - 0x8c8]
mov dword [ebp - 0x8c8], esi
call fcn.00403acc
test al, al
je 0x4040ab
call fcn.00403bef
test eax, eax
jne 0x4040ab
call fcn.00403bb6
test eax, eax
jne 0x4040ab
call fcn.00403df9
test eax, eax
je 0x4040ab
call fcn.00404300
push 0x208
lea eax, [ebp - 0x214]
push esi
push eax
call fcn.00429ac0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.....utils360safechecker.dll
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x214]
call fcn.004114e9
mov dword [ebp - 0x8cc], eax
cmp eax, esi
je 0x40420f
push str.NotifyScanArk
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x8c8], eax
cmp eax, esi
je 0x404203
mov edi, 0x6ac
push edi
lea eax, [ebp - 0x8c4]
push esi
push eax
call fcn.00429ac0
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x8c4], edi
xor edi, edi
push 0x40
inc edi
pop ecx
lea edx, [ebp - 0x298]
mov dword [ebp - 0x8c0], edi
mov dword [ebp - 0x29c], edi
call fcn.00405737
push esi
push esi
push esi
push 0x4043de
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
je 0x4041ae
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004122bb
mov ebx, dword [eax + 4]
call fcn.0040daeb
mov ecx, str._x641_
cmp ebx, esi
jne 0x4041c9
mov ecx, 0x447820
call fcn.0040db95
push ecx
push dword [ebp + 8]
mov ebx, eax
push 0x26e3
push esi
push str._tpkill_list__f__typedisa_1__rid_d__md5__dst_u__l__cmdl_s__s
mov ecx, ebx
call fcn.0040dd1b
add esp, 0x14
mov eax, ebx
call fcn.0040dd0b
lea eax, [ebp - 0x8c4]
push eax
call dword [ebp - 0x8c8]
mov dword [0x454a2c], edi
push dword [ebp - 0x8cc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00406e8b
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427527
leave
ret 4
Function at 0x40724f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x451220]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
push ebx
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x420], esi
call fcn.004114b4
pop ecx
test eax, eax
je 0x407363
push 0x40
lea eax, [ebp - 0x478]
push esi
push eax
call fcn.00429ac0
xor eax, eax
mov dword [ebp - 0x434], esi
lea edi, [ebp - 0x430]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
lea eax, [ebp - 0x47c]
push eax
mov dword [ebp - 0x47c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 5
pop eax
mov word [ebp - 0x44c], ax
xor eax, eax
push 0x40e
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push esi
push eax
mov dword [ebp - 0x450], 1
call fcn.00429ac0
mov eax, dword [ebp - 0x424]
add esp, 0xc
cmp eax, esi
jne 0x4072ff
mov eax, 0x447820
push eax
push ebx
push str.__s___s
mov eax, 0x410
lea edi, [ebp - 0x41c]
call fcn.00409dac
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x47c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
mov eax, edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x430], esi
je 0x407353
push dword [ebp - 0x430]
call edi
cmp dword [ebp - 0x434], esi
je 0x407363
push dword [ebp - 0x434]
call edi
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x420]
pop edi
xor ecx, ebp
pop esi
call fcn.00427527
leave
ret
Function at 0x4076a7
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x451220]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x39
pop esi
mov dword [ebp - 0x80c], eax
mov dword [ebp - 0x814], 0x400
call fcn.004056bf
push dword [ebp - 0x80c]
xor edi, edi
push ebx
cmp eax, edi
je 0x4076ec
call eax
jmp 0x4076f2
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, edi
je 0x4077e2
lea eax, [ebp - 0x810]
push eax
push dword [ebp - 0x80c]
mov dword [ebp - 0x810], edi
push ebx
call fcn.00409cd3
cmp eax, edi
jne 0x4077e2
push 0x800
lea eax, [ebp - 0x808]
push edi
push eax
mov dword [ebp - 0x814], 0x400
call fcn.00429ac0
mov eax, dword [ebp - 0x810]
add esp, 0xc
push 0x3f
pop esi
mov dword [ebp - 0x818], eax
call fcn.004056bf
cmp eax, edi
je 0x407775
lea ecx, [ebp - 0x820]
push ecx
push edi
push edi
push edi
lea ecx, [ebp - 0x814]
push ecx
lea ecx, [ebp - 0x808]
push ecx
push edi
push dword [ebp - 0x818]
call eax
jmp 0x40779a
lea eax, [ebp - 0x820]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x808]
push eax
push edi
push dword [ebp - 0x818]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, edi
jne 0x4077ba
lea eax, [ebp - 0x808]
push eax
push dword [ebp - 0x810]
call fcn.004076a7
pop ecx
pop ecx
test eax, eax
je 0x40771b
push dword [ebp - 0x810]
call fcn.004055a6
push 0x39
pop esi
call fcn.004056bf
push dword [ebp - 0x80c]
push ebx
cmp eax, edi
je 0x4077dc
call eax
jmp 0x4077e2
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427527
leave
ret
Function at 0x4078c2
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x451220]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
call fcn.00412398
xor ebx, ebx
test eax, eax
je 0x40793b
lea eax, [ebp - 0x1c]
push eax
push 8
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x40790e
cmp dword [ebp - 0x1c], ebx
je 0x407907
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40799e
lea eax, [ebp - 0x24]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
push 0x14
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x4079ac
cmp dword [ebp - 0x1c], ebx
je 0x40793b
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x40799b
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x40798d
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x14], ebx
je 0x40799b
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00427527
leave
ret
xor eax, eax
cmp dword [ebp - 0x20], ebx
setne al
mov esi, eax
cmp dword [ebp - 0x1c], ebx
je 0x4079c4
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x40799e
Function at 0x408859
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x451220]
xor eax, ebp
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
neg esi
sbb esi, esi
push edi
and esi, 0x100
or esi, 0xf003f
push esi
push ecx
mov ebx, 0x400
push eax
mov dword [ebp - 0x81c], eax
mov dword [ebp - 0x818], ecx
mov dword [ebp - 0x814], ebx
call fcn.00408801
xor edi, edi
cmp eax, edi
je 0x40895a
lea eax, [ebp - 0x810]
push eax
push esi
push edi
push dword [ebp - 0x818]
mov dword [ebp - 0x810], edi
push dword [ebp - 0x81c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x40895a
jmp 0x4088f8
push dword [ebp + 0x10]
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 0x810]
call fcn.00408859
add esp, 0xc
test eax, eax
jne 0x40893c
push 0x800
lea eax, [ebp - 0x80c]
push edi
push eax
mov dword [ebp - 0x814], ebx
call fcn.00429ac0
add esp, 0xc
lea eax, [ebp - 0x824]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x80c]
push eax
push edi
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4088dc
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push dword [ebp - 0x818]
push dword [ebp - 0x81c]
call fcn.00408801
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427527
leave
ret

Function at 0x4099ef
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push 2
xor ebx, ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
cmp esi, ebx
je 0x409a71
push edi
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
je 0x409a67
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x409a67
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 8], eax
test eax, eax
je 0x409a60
push ebx
call fcn.00427dc9
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x409a60
push ebx
push dword [ebp + 8]
push eax
call fcn.0042a480
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor ebx, ebx
pop edi
xor esi, esi
cmp dword [ebp - 4], ebx
je 0x409ab4
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 0x4478c4
push dword [ebp - 4]
mov dword [ebp + 8], ebx
mov dword [ebp - 8], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x409aab
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [edx], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
inc esi
push dword [ebp - 4]
call fcn.00427938
pop ecx
mov eax, esi
pop esi
pop ebx
leave
ret 0xc
Function at 0x40a664
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, eax
mov dword [ebp - 4], edi
call fcn.0040aa98
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
cmp ebx, edi
je 0x40a6d9
mov eax, dword [ebp - 4]
dec eax
cmp eax, 1
jne 0x40a6d2
mov eax, dword [ebx + 4]
push edi
push 0x4482a4
push esi
call fcn.00407377
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
add esp, 0xc
and eax, 0xfffffffc
cmp eax, 8
jne 0x40a6d2
push 0x4482a8
call fcn.0040cc70
mov esi, eax
call fcn.00404c5b
xor ecx, ecx
test eax, eax
setge cl
mov edi, ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40b44b
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0x4552d4
push 0x40b437
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x40b434
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
ret
xor eax, eax
ret
mov edx, 0x80
xor eax, eax
sub ecx, edx
je 0x40b468
dec ecx
jne 0x40b470
mov dword [0x4552d4], 0x81
jmp 0x40b40d
mov dword [0x4552d4], edx
jmp 0x40b463
ret
Function at 0x40b553
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa74
mov eax, dword [0x451220]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push edi
lea esi, [ebp - 0xa34]
mov dword [ebp - 0xa34], ebx
call fcn.0040b4df
test eax, eax
je 0x40b765
cmp dword [ebp - 0xa34], ebx
jne 0x40b765
xor eax, eax
mov edi, 0x40e
push edi
mov word [ebp - 0x620], ax
lea eax, [ebp - 0x61e]
push ebx
push eax
call fcn.00429ac0
add esp, 0xc
mov esi, 0x208
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x620]
push eax
call fcn.00427610
add esp, 0xc
push str._elevated
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x40b765
push edi
mov word [ebp - 0xa30], ax
lea eax, [ebp - 0xa2e]
push ebx
push eax
call fcn.00429ac0
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
add esp, 0xc
push 0x410
lea eax, [ebp - 0xa30]
push eax
push ebx
call edi
push 0x2f
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov dword [ebp - 0xa38], eax
mov eax, dword [0x453c6c]
mov ecx, 0x453c6c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa34], eax
lea eax, [ebp - 0xa34]
cmp dword [ebp - 0xa38], ebx
je 0x40b66a
push dword [ebp - 0xa38]
push eax
call fcn.00406e04
push str.__elevated
lea eax, [ebp - 0xa34]
push eax
call fcn.00404b6a
jmp 0x40b675
push str._elevated
push eax
call fcn.00406e04
push esi
push dword [ebp - 0xa34]
lea eax, [ebp - 0x620]
push eax
call fcn.00427610
add esp, 0xc
push esi
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.00429ac0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push ebx
call edi
push str.....360util.dll
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call fcn.004057ed
pop ecx
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0xa30]
push eax
mov eax, 0x453680
call fcn.00401ec0
test eax, eax
je 0x40b6f8
mov eax, dword [ebp - 0xa34]
add eax, 0xfffffff0
call fcn.00406e8b
xor eax, eax
jmp 0x40b768
push 0x38
lea eax, [ebp - 0xa70]
push ebx
push eax
call fcn.00429ac0
lea eax, [ebp - 0xa30]
mov dword [ebp - 0xa64], eax
lea eax, [ebp - 0x620]
mov dword [ebp - 0xa60], eax
add esp, 0xc
lea eax, [ebp - 0xa74]
push eax
mov dword [ebp - 0xa74], 0x3c
mov dword [ebp - 0xa6c], ebx
mov dword [ebp - 0xa68], str.runas
mov dword [ebp - 0xa5c], ebx
mov dword [ebp - 0xa58], 1
mov dword [ebp - 0xa70], 0x1000
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x40b6e6
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427527
leave
ret
Function at 0x40b79e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x5c]
push ebx
push eax
mov dword [ebp - 0x60], 0x44
call fcn.00429ac0
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x40b7df
call fcn.00413ab4
xor esi, esi
jmp 0x40b8c4
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
xor edi, edi
push ecx
inc edi
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
call esi
test eax, eax
je 0x40b8ac
cmp dword [ebp - 4], 0xc
jne 0x40b8ac
cmp dword [ebp - 0x14], edi
je 0x40b821
push dword [ebp - 0x14]
jmp 0x40b8b3
cmp dword [ebp - 0xc], ebx
jne 0x40b830
call fcn.00413ab4
jmp 0x40b8b9
push 0x453cc0
push dword [ebp - 0xc]
call fcn.00428dc4
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
jne 0x40b84a
push dword [ebp - 0xc]
jmp 0x40b8b3
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
push edi
push dword [ebp - 8]
call esi
test eax, eax
mov eax, dword [ebp - 0xc]
je 0x40b897
cmp dword [ebp - 4], eax
jne 0x40b897
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov dword [esi + 4], eax
cmp eax, 1
jne 0x40b87b
push edi
push esi
call fcn.00406e04
jmp 0x40b885
cmp eax, 2
jne 0x40b826
mov eax, dword [edi]
mov dword [esi + 8], eax
mov ebx, esi
call fcn.0040b8cd
mov esi, eax
push esi
call fcn.00413ab4
pop ecx
jmp 0x40b8bb
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00413ab4
add esp, 0xc
jmp 0x40b8b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00413ab4
pop ecx
xor esi, esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x40be92
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x451220]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ecx, ecx
mov eax, str.scansoftid
xor edi, edi
mov dword [ebp - 0x21c], 1
cmp ecx, eax
je 0x40c0c4
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x40bec6
sub eax, edx
sar eax, 1
je 0x40c0c4
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
call fcn.00429ac0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [0x455244]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...popsofteng.dll
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c0c0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0040508e
pop ecx
test eax, eax
jne 0x40bf5d
lea eax, [ebp - 0x210]
push eax
call fcn.004114b4
pop ecx
test eax, eax
je 0x40c0c0
push 2
push edi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
mov dword [ebp - 0x23c], ebx
cmp ebx, edi
jne 0x40bf85
push edi
call fcn.004278ad
pop ecx
jmp 0x40c0ca
mov eax, str.FEATURE
push eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x40bfac
push edi
call fcn.004278ad
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40c0ca
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push ebx
mov dword [ebp - 0x214], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
je 0x40bf99
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x218], eax
cmp eax, edi
je 0x40bf99
mov esi, dword [ebp - 0x214]
inc esi
push 0x453cc0
push esi
call fcn.00428dc4
pop ecx
pop ecx
push edi
mov ebx, eax
call fcn.004278ad
pop ecx
cmp ebx, edi
jne 0x40c000
push dword [ebp - 0x23c]
jmp 0x40bfa1
push esi
push edi
push ebx
call fcn.00429ac0
add esp, 0xc
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push ebx
call fcn.0042a480
add esp, 0xc
push ebx
lea esi, [ebp - 0x214]
call fcn.00408b24
lea esi, [ebp - 0x234]
call fcn.00404d28
push edi
mov eax, esi
push 0x4485a8
push eax
mov eax, dword [ebp - 0x214]
call fcn.00407377
mov eax, dword [ebp - 0x224]
sub eax, dword [ebp - 0x228]
add esp, 0xc
sar eax, 2
test eax, eax
jbe 0x40c08f
push str.scansoftid
lea esi, [ebp - 0x234]
call fcn.0040cc70
push eax
call fcn.00404b9e
test eax, eax
je 0x40c08f
mov eax, dword [ebp - 0x224]
sub eax, dword [ebp - 0x228]
inc edi
sar eax, 2
cmp edi, eax
jb 0x40c061
lea esi, [ebp - 0x234]
call fcn.00404eaa
push dword [ebp - 0x234]
call fcn.0042751c
mov eax, dword [ebp - 0x214]
pop ecx
add eax, 0xfffffff0
call fcn.00406e8b
push ebx
call fcn.004278ad
pop ecx
jmp 0x40bff8
xor eax, eax
jmp 0x40c0d0
mov dword [ebp - 0x21c], edi
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427527
leave
ret
Function at 0x40cda0
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
cmp dword [0x455254], esi
jne 0x40cdc4
push esi
push esi
push esi
push 0x40cd56
push 0x7d00
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x455254], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x455250], eax
mov eax, dword [0x4552e4]
cmp eax, esi
pop esi
je 0x40cde0
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
ret
Function at 0x40db0f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
push esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 4
pop esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.UserExperience
push str.Software360TotalSecurityExperience
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call edi
cmp dword [ebp - 4], 0
je 0x40db52
xor eax, eax
inc eax
jmp 0x40db91
and dword [ebp - 4], 0
call fcn.004078c2
test eax, eax
jne 0x40db66
mov dword [ebp - 4], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.EnableUE
push str.Software360Safe
push SysReAllocString
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call edi
xor eax, eax
cmp dword [ebp - 4], eax
setne al
pop edi
pop esi
leave
ret