joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450665
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push 0x24
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.00474a10
add esp, 0xc
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45069e
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x4506a8
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
push esi
push 4
pop ecx
cmp ecx, eax
mov ecx, dword [ebp + 8]
push 0x40
mov dword [ecx], eax
lea eax, [ebp - 0x64]
sbb esi, esi
push 0
push eax
inc esi
call fcn.00474a10
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x4506f7
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x5c]
mov dword [eax], edx
mov dword [eax + 4], ecx
cmp ecx, 1
jb 0x4506ff
ja 0x4506f7
test edx, edx
jbe 0x4506ff
test esi, esi
jne 0x4506ff
xor eax, eax
jmp 0x450702
xor eax, eax
inc eax
pop esi
leave
ret

Function at 0x450732
Capabilities:
Print debug messages

Disassembly:
push 0x2c
mov eax, 0x4b0e9f
call fcn.00475a5f
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
cmp dword [ebp + 8], esi
jne 0x450756
push 0x57
pop eax
jmp 0x45083d
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_GetSecurityInfo]
mov edi, eax
cmp edi, esi
je 0x450785
push str.GetSecurityInfo_Error
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x450821
push 0x20
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.00474a10
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
push 0x14
push dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00479020
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x38]
push eax
push 1
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
mov edi, eax
cmp edi, esi
je 0x4507d4
push str.SetEntriesInAcl_Error
jmp 0x45077a
push esi
push dword [ebp - 0x10]
push esi
push esi
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov edi, eax
cmp edi, esi
je 0x450821
push 0x4f8ce0
lea ecx, [ebp + 8]
call fcn.004029af
push edi
lea eax, [ebp + 8]
push 0x4be8f0
push eax
mov dword [ebp - 4], esi
call fcn.00403b7e
mov ebx, dword [ebp + 8]
push ebx
call fcn.00404dac
add esp, 0x10
lea ecx, [ebx - 0x10]
call fcn.004029d4
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x14], esi
je 0x450831
push dword [ebp - 0x14]
call ebx
cmp dword [ebp - 0x10], esi
je 0x45083b
push dword [ebp - 0x10]
call ebx
mov eax, edi
call fcn.00475b37
ret 0x18
Function at 0x450a59
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
push 0x2000000
push 3
push ebx
push 3
push 0x60000
push eax
mov dword [ebp - 0x18], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x450aab
push str.CreateFile_fail
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x450ba5
push str.full
push esi
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], 1
call fcn.00474cc6
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfff2feaa
pop ecx
add esi, 0x1f01ff
pop ecx
cmp dword [ebp + 0x14], ebx
je 0x450aff
mov ecx, dword [ebp - 0x18]
push 3
push 1
push esi
push edi
push 1
push dword [ebp - 0x14]
call fcn.00450845
mov edi, eax
jmp 0x450b87
push 0x14
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.00474a10
push str.Everyone
push edi
call fcn.00474cc6
add esp, 0x14
test eax, eax
jne 0x450b54
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov edi, eax
cmp edi, ebx
jne 0x450b42
push str.AllocateAndInitializeSid_fail
jmp 0x450b81
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x1c], eax
jmp 0x450b60
xor eax, eax
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edi
mov ecx, dword [ebp - 0x18]
push 3
push 1
push esi
lea eax, [ebp - 0x2c]
push eax
push 1
push dword [ebp - 0x14]
call fcn.00450732
mov edi, eax
cmp edi, ebx
je 0x450b87
push str.Failed_to_add_ACE_to_object
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], ebx
je 0x450b9e
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
xor eax, eax
cmp edi, ebx
sete al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00474a8a
leave
ret 0x10
Function at 0x450bb6
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
lea ebp, [esp - 0x2a4]
sub esp, 0x324
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x2a0], eax
push ebx
mov ebx, dword [ebp + 0x2ac]
push esi
lea eax, [ebp - 0x7c]
push edi
push eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], 0x114
call fcn.00403d56
pop ecx
test eax, eax
je 0x450cc0
xor edi, edi
cmp dword [ebp - 0x78], 6
jne 0x450c04
cmp dword [ebp - 0x74], 4
je 0x450c17
cmp dword [ebp - 0x78], 0xa
jne 0x450cc0
cmp dword [ebp - 0x74], edi
jne 0x450cc0
push 0x208
lea eax, [ebp + 0x98]
push edi
push eax
call fcn.00474a10
add esp, 0xc
push edi
push 0x26
lea eax, [ebp + 0x98]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp + 0x98]
push eax
call fcn.004754ae
push eax
lea eax, [ebp + 0x98]
push ebx
push eax
call fcn.004772ee
add esp, 0x10
test eax, eax
je 0x450cc0
lea eax, [ebp + 0x98]
push 0x20
push eax
call fcn.00474750
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x450c9f
push str.__x86_
push esi
call fcn.00474cc6
pop ecx
pop ecx
test eax, eax
jne 0x450c9f
lea eax, [ebp + 0x98]
sub esi, eax
sar esi, 1
dec esi
push esi
push ebx
push eax
call fcn.004772ee
add esp, 0xc
test eax, eax
je 0x450cc0
push str.add_ac
call fcn.00404dac
pop ecx
mov ecx, dword [ebp - 0x80]
push edi
push str.nofull
push str.ALL_APPLICATION_PACKAGES
push ebx
call fcn.00450a59
jmp 0x450cc2
xor eax, eax
mov ecx, dword [ebp + 0x2a0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00474a8a
add ebp, 0x2a4
leave
ret 4

Function at 0x45276a
Capabilities:
Set registry value

Disassembly:
push 0x20
mov eax, 0x4b105c
call fcn.00475ac8
mov esi, ecx
push 0x4f8ce0
lea ecx, [ebp - 0x28]
call fcn.004029af
lea eax, [esi + 4]
mov edx, dword [eax + 0x10]
sub edx, dword [eax + 0xc]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x2c], ecx
test edx, 0xfffffff8
jne 0x4527af
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ecx
lea eax, [ebp - 0x24]
push eax
jmp 0x4527c9
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, esi
call fcn.004525da
test eax, eax
je 0x4527e0
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push 7
push str.PendingFileRenameOperations
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004029d4
xor eax, eax
inc eax
call fcn.00475b4b
ret
Function at 0x4530b4
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x4b1148
call fcn.00475a5f
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 0x80000
xor ebx, ebx
push 0x4f8ce0
lea ecx, [ebp - 0x10]
call fcn.004029af
push dword [ebp - 0x14]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00416210
mov esi, eax
test esi, esi
je 0x45314a
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push str.PendingFileRenameOperations
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0040b382
test edi, edi
je 0x453159
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
cmp edi, 0xea
jne 0x453150
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add eax, eax
mov dword [ebp - 0x14], eax
call fcn.004029d4
inc ebx
cmp ebx, 0xa
jl 0x4530d3
jmp 0x453177
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004029d4
xor eax, eax
jmp 0x45317a
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + 4]
push eax
push dword [ebp + 8]
push dword [ebp - 0x14]
push esi
call fcn.00452d65
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004029d4
xor eax, eax
inc eax
call fcn.00475b37
ret 4

Function at 0x453182
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x4b1148
call fcn.00475a5f
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 0x80000
xor ebx, ebx
push 0x4f8ce0
lea ecx, [ebp - 0x10]
call fcn.004029af
push dword [ebp - 0x14]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00416210
mov esi, eax
test esi, esi
je 0x453218
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push str.PendingFileRenameOperations
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0040b382
test edi, edi
je 0x453227
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
cmp edi, 0xea
jne 0x45321e
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add eax, eax
mov dword [ebp - 0x14], eax
call fcn.004029d4
inc ebx
cmp ebx, 0xa
jl 0x4531a1
jmp 0x45324a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004029d4
xor eax, eax
jmp 0x45324d
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x1c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x14]
push esi
call fcn.00452e14
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004029d4
xor eax, eax
inc eax
call fcn.00475b37
ret 0x10
Function at 0x453255
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x4b1148
call fcn.00475a5f
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 0x80000
xor ebx, ebx
push 0x4f8ce0
lea ecx, [ebp - 0x10]
call fcn.004029af
push dword [ebp - 0x14]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00416210
mov esi, eax
test esi, esi
je 0x4532eb
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push str.PendingFileRenameOperations
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0040b382
test edi, edi
je 0x4532fa
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
cmp edi, 0xea
jne 0x4532f1
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add eax, eax
mov dword [ebp - 0x14], eax
call fcn.004029d4
inc ebx
cmp ebx, 0xa
jl 0x453274
jmp 0x453311
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004029d4
xor eax, eax
jmp 0x453314
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
push esi
call fcn.00453036
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004029d4
xor eax, eax
inc eax
call fcn.00475b37
ret

Function at 0x453afa
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xc4]
sub esp, 0x144
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0xc0], eax
mov eax, dword [0x4ed020]
test eax, eax
jl 0x453b2c
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
jmp 0x453bb5
and dword [0x4ed020], 0
push esi
push 0x24
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00474a10
mov esi, 0x11c
push esi
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.00474a10
add esp, 0x18
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x453b79
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x5c], 0x114
call esi
test eax, eax
je 0x453bb2
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x453bb2
lea ecx, [ebp - 0x80]
push ecx
call eax
cmp word [ebp - 0x80], 9
je 0x453ba8
cmp word [ebp - 0x80], 6
jne 0x453bb2
xor eax, eax
inc eax
mov dword [0x4ed020], eax
jmp 0x453bb4
xor eax, eax
pop esi
mov ecx, dword [ebp + 0xc0]
xor ecx, ebp
call fcn.00474a8a
add ebp, 0xc4
leave
ret
Function at 0x453c1c
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
push 0x208
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00474a10
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x4d251c
xor esi, esi
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
inc esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x453c8c
push str.firstaid_superkiller.exe
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x453cbd
lea eax, [ebp - 0x78]
push eax
call fcn.00401e3f
pop ecx
test eax, eax
je 0x453cbd
push 0
push esi
push esi
lea eax, [ebp - 0x78]
push eax
call fcn.00401f29
test eax, eax
je 0x453cbd
mov eax, esi
jmp 0x453cbf
xor eax, eax
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
pop esi
call fcn.00474a8a
add ebp, 0x194
leave
ret

Function at 0x453ce0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x190], eax
and dword [ebp - 0x7c], 0
push esi
mov esi, dword [ebp + 0x19c]
push 0x208
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00474a10
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x4d251c
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x453d61
push str.firstaid
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x78]
push eax
jmp 0x453d66
push 0x4d2ec0
mov ecx, esi
call fcn.00402675
mov ecx, dword [ebp + 0x190]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00474a8a
add ebp, 0x194
leave
ret
Function at 0x453fb8
Capabilities:
Create thread
Terminate thread

Disassembly:
push 0xc
mov eax, 0x4b11f1
call fcn.00475a5f
xor edi, edi
push 0x4f8ce0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], edi
call fcn.004029af
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0x453d85
push edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, edi
jne 0x454008
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004029d4
xor eax, eax
call fcn.00475b37
ret
push 0x493e0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x454053
cmp eax, 0xffffffff
je 0x45403d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], edi
je 0x454038
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00401df2
mov edi, dword [ebp - 0x18]
jmp 0x454044
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004029d4
mov eax, edi
jmp 0x454002
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x45403d

Function at 0x45405d
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
sub esp, 0x514
lea ebp, [esp - 4]
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x514], eax
push 0xc
mov eax, 0x4b121c
call fcn.00475a5f
xor ebx, ebx
push 0x4f8ce0
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
call fcn.004029af
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], ebx
call fcn.00453fb8
pop ecx
test eax, eax
je 0x45419b
push dword [ebp - 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x45419b
xor eax, eax
push 0x40e
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.00474a10
add esp, 0xc
lea eax, [ebp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
push pe_nt_image_headers32
mov word [ebp + 0x410], ax
lea eax, [ebp + 0x412]
push ebx
push eax
call fcn.00474a10
lea eax, [ebp + 0x410]
push 0x80
push eax
call fcn.00453a22
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0x14
lea eax, [ebp + 0x410]
push eax
lea eax, [ebp]
push eax
call edi
lea eax, [ebp]
push eax
call esi
test eax, eax
jne 0x454139
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call fcn.00453bca
pop ecx
pop ecx
test eax, eax
je 0x45419b
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4bbca0
lea eax, [ebp]
push eax
call edi
lea eax, [ebp]
push eax
call esi
test eax, eax
je 0x45419b
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
call fcn.00402675
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.0044527d
pop ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
call fcn.004029d4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004029d4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x514]
xor ecx, ebp
call fcn.00474a8a
add ebp, 0x518
leave
ret
Function at 0x454dc7
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0xc
mov eax, 0x4b13c4
call fcn.00475a5f
mov esi, dword [ebp + 0x41c]
xor eax, eax
push 0x40e
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00474a10
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4d251c
push 0x4d2528
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 0x208
mov dword [ebp - 0x18], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push str.360util.dll
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x454eb2
lea eax, [ebp]
push eax
mov ecx, 0x4f6d00
call fcn.00454d29
test eax, eax
je 0x454eb2
and dword [ebp - 0x10], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.00454dac
test eax, eax
mov eax, dword [ebp - 0x10]
pop ecx
jl 0x454ea4
test eax, eax
je 0x454ea4
test esi, esi
je 0x454e91
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi], ecx
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x454e9f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
jmp 0x454eb4
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x454eb2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.00474a8a
add ebp, 0x414
leave
ret 4

Function at 0x455060
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push 1
push esi
lea ecx, [ebp - 8]
call fcn.00403bf7
xor ebx, ebx
cmp dword [esi + 0x18], ebx
jne 0x45508a
push 1
push ebx
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x455096
cmp eax, 0xffffffff
jne 0x4550ab
push ebx
push ebx
push esi
push 0x45504c
push ebx
push ebx
call fcn.004755c9
add esp, 0x18
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x18], ebx
je 0x4550d9
mov esi, dword [esi + 0x1c]
cmp esi, ebx
je 0x4550d9
cmp esi, 0xffffffff
je 0x4550d9
xor esi, esi
inc esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 8]
mov byte [ebp - 4], bl
call fcn.00403be0
mov eax, esi
pop esi
pop ebx
leave
ret
xor esi, esi
jmp 0x4550bf
Function at 0x455176
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x54
mov eax, 0x4b144e
call fcn.00475ac8
mov ebx, ecx
mov dword [ebp - 0x60], ebx
call fcn.00403d39
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], esi
lea ecx, [ebx + 0x24]
mov byte [ebp - 4], 3
call fcn.00414ec6
lea edi, [ebx + 0x3c]
push 0x4f8ce0
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.004029af
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x5c]
push eax
push str.setup_time
push str.SOFTWARE360Safe_stat
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 5
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x455261
push 0xa
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
push 0xa
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x4c]
call fcn.00479f72
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push str._4d_2d_2d
push eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
call fcn.00479efc
add esp, 0x20
push 0xffffffffffffffff
push esi
push esi
push esi
push dword [ebp - 0x48]
lea ecx, [ebp - 0x58]
push dword [ebp - 0x44]
push dword [ebp - 0x3c]
call fcn.00454bff
push dword [eax + 4]
mov ecx, dword [eax]
push ecx
push str._I64d
push 0x14
lea esi, [ebx + 0x3c]
push 0x14
mov ecx, esi
call fcn.00416210
push eax
call fcn.00479532
mov ecx, esi
jmp 0x4552b4
push esi
call fcn.00476f97
pop ecx
push 0xffffffffffffffff
push esi
push esi
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
call fcn.00454d0e
push eax
lea ecx, [ebp - 0x40]
call fcn.00454cf2
push eax
lea ecx, [ebp - 0x40]
call fcn.00454cd2
push eax
lea ecx, [ebp - 0x58]
call fcn.00454bff
push dword [eax + 4]
mov ecx, dword [eax]
push ecx
push str._I64d
push 0x14
push 0x14
mov ecx, edi
call fcn.00416210
push eax
call fcn.00479532
mov ecx, edi
add esp, 0x14
push 0xffffffffffffffff
call fcn.0040b382
mov eax, ebx
call fcn.00475b4b
ret