joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450c4d
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.00475570
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 0x450c86
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x450c90
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.00475570
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 0x450cdf
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 0x450ce7
ja 0x450cdf
test edx, edx
jbe 0x450ce7
test esi, esi
jne 0x450ce7
xor eax, eax
jmp 0x450cea
xor eax, eax
inc eax
pop esi
leave
ret

Function at 0x450d1a
Capabilities:
Print debug messages

Disassembly:
push 0x2c
mov eax, 0x4b19a8
call fcn.00476610
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
cmp dword [ebp + 8], esi
jne 0x450d3e
push 0x57
pop eax
jmp 0x450e25
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 0x450d6d
push str.GetSecurityInfo_Error
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x450e09
push 0x20
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.00475570
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.00479b60
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 0x450dbc
push str.SetEntriesInAcl_Error
jmp 0x450d62
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 0x450e09
push 0x4f9e18
lea ecx, [ebp + 8]
call fcn.0040284b
push edi
lea eax, [ebp + 8]
push 0x4bfda0
push eax
mov dword [ebp - 4], esi
call fcn.00403b60
mov ebx, dword [ebp + 8]
push ebx
call fcn.00404d91
add esp, 0x10
lea ecx, [ebx - 0x10]
call fcn.00402870
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x14], esi
je 0x450e19
push dword [ebp - 0x14]
call ebx
cmp dword [ebp - 0x10], esi
je 0x450e23
push dword [ebp - 0x10]
call ebx
mov eax, edi
call fcn.004766e8
ret 0x18
Function at 0x451041
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4f3bd0]
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 0x451093
push str.CreateFile_fail
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x45118d
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.00475826
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfff2feaa
pop ecx
add esi, 0x1f01ff
pop ecx
cmp dword [ebp + 0x14], ebx
je 0x4510e7
mov ecx, dword [ebp - 0x18]
push 3
push 1
push esi
push edi
push 1
push dword [ebp - 0x14]
call fcn.00450e2d
mov edi, eax
jmp 0x45116f
push 0x14
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.00475570
push str.Everyone
push edi
call fcn.00475826
add esp, 0x14
test eax, eax
jne 0x45113c
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 0x45112a
push str.AllocateAndInitializeSid_fail
jmp 0x451169
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x1c], eax
jmp 0x451148
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.00450d1a
mov edi, eax
cmp edi, ebx
je 0x45116f
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 0x451186
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.004755ea
leave
ret 0x10
Function at 0x45119e
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
lea ebp, [esp - 0x2a4]
sub esp, 0x324
mov eax, dword [0x4f3bd0]
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.00403d38
pop ecx
test eax, eax
je 0x4512a8
xor edi, edi
cmp dword [ebp - 0x78], 6
jne 0x4511ec
cmp dword [ebp - 0x74], 4
je 0x4511ff
cmp dword [ebp - 0x78], 0xa
jne 0x4512a8
cmp dword [ebp - 0x74], edi
jne 0x4512a8
push 0x208
lea eax, [ebp + 0x98]
push edi
push eax
call fcn.00475570
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.0047600e
push eax
lea eax, [ebp + 0x98]
push ebx
push eax
call fcn.00477e6d
add esp, 0x10
test eax, eax
je 0x4512a8
lea eax, [ebp + 0x98]
push 0x20
push eax
call fcn.00475250
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x451287
push str.__x86_
push esi
call fcn.00475826
pop ecx
pop ecx
test eax, eax
jne 0x451287
lea eax, [ebp + 0x98]
sub esi, eax
sar esi, 1
dec esi
push esi
push ebx
push eax
call fcn.00477e6d
add esp, 0xc
test eax, eax
je 0x4512a8
push str.add_ac
call fcn.00404d91
pop ecx
mov ecx, dword [ebp - 0x80]
push edi
push str.nofull
push str.ALL_APPLICATION_PACKAGES
push ebx
call fcn.00451041
jmp 0x4512aa
xor eax, eax
mov ecx, dword [ebp + 0x2a0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004755ea
add ebp, 0x2a4
leave
ret 4

Function at 0x452d24
Capabilities:
Set registry value

Disassembly:
push 0x20
mov eax, 0x4b1bbd
call fcn.00476679
mov esi, ecx
push 0x4f9e18
lea ecx, [ebp - 0x28]
call fcn.0040284b
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 0x452d69
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 0x452d83
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, esi
call fcn.00452b94
test eax, eax
je 0x452d9a
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push 7
push str.PendingFileRenameOperations
push 0x4c0170
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402870
xor eax, eax
inc eax
call fcn.004766fc
ret
Function at 0x45366e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x4b1ca9
call fcn.00476610
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 0x80000
xor ebx, ebx
push 0x4f9e18
lea ecx, [ebp - 0x10]
call fcn.0040284b
push dword [ebp - 0x14]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004160d2
mov esi, eax
test esi, esi
je 0x453704
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push str.PendingFileRenameOperations
push 0x4c0170
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0040b36f
test edi, edi
je 0x453713
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
cmp edi, 0xea
jne 0x45370a
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add eax, eax
mov dword [ebp - 0x14], eax
call fcn.00402870
inc ebx
cmp ebx, 0xa
jl 0x45368d
jmp 0x453731
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402870
xor eax, eax
jmp 0x453734
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + 4]
push eax
push dword [ebp + 8]
push dword [ebp - 0x14]
push esi
call fcn.0045331f
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402870
xor eax, eax
inc eax
call fcn.004766e8
ret 4

Function at 0x45373c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x4b1ca9
call fcn.00476610
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 0x80000
xor ebx, ebx
push 0x4f9e18
lea ecx, [ebp - 0x10]
call fcn.0040284b
push dword [ebp - 0x14]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004160d2
mov esi, eax
test esi, esi
je 0x4537d2
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push str.PendingFileRenameOperations
push 0x4c0170
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0040b36f
test edi, edi
je 0x4537e1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
cmp edi, 0xea
jne 0x4537d8
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add eax, eax
mov dword [ebp - 0x14], eax
call fcn.00402870
inc ebx
cmp ebx, 0xa
jl 0x45375b
jmp 0x453804
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402870
xor eax, eax
jmp 0x453807
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.004533ce
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402870
xor eax, eax
inc eax
call fcn.004766e8
ret 0x10
Function at 0x45380f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x4b1ca9
call fcn.00476610
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 0x80000
xor ebx, ebx
push 0x4f9e18
lea ecx, [ebp - 0x10]
call fcn.0040284b
push dword [ebp - 0x14]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004160d2
mov esi, eax
test esi, esi
je 0x4538a5
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push str.PendingFileRenameOperations
push 0x4c0170
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0040b36f
test edi, edi
je 0x4538b4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
cmp edi, 0xea
jne 0x4538ab
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add eax, eax
mov dword [ebp - 0x14], eax
call fcn.00402870
inc ebx
cmp ebx, 0xa
jl 0x45382e
jmp 0x4538cb
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402870
xor eax, eax
jmp 0x4538ce
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
push esi
call fcn.004535f0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402870
xor eax, eax
inc eax
call fcn.004766e8
ret

Function at 0x454147
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xc4]
sub esp, 0x144
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0xc0], eax
mov eax, dword [0x4ee018]
test eax, eax
jl 0x454179
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
jmp 0x454202
and dword [0x4ee018], 0
push esi
push 0x24
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00475570
mov esi, 0x11c
push esi
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.00475570
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 0x4541c6
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x5c], 0x114
call esi
test eax, eax
je 0x4541ff
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 0x4541ff
lea ecx, [ebp - 0x80]
push ecx
call eax
cmp word [ebp - 0x80], 9
je 0x4541f5
cmp word [ebp - 0x80], 6
jne 0x4541ff
xor eax, eax
inc eax
mov dword [0x4ee018], eax
jmp 0x454201
xor eax, eax
pop esi
mov ecx, dword [ebp + 0xc0]
xor ecx, ebp
call fcn.004755ea
add ebp, 0xc4
leave
ret
Function at 0x454269
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 esi
push 0x208
lea eax, [ebp - 0x78]
push 0
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 0x4d35fc
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 0x4542d9
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 0x45430a
lea eax, [ebp - 0x78]
push eax
call fcn.00401cdb
pop ecx
test eax, eax
je 0x45430a
push 0
push esi
push esi
lea eax, [ebp - 0x78]
push eax
call fcn.00401dc5
test eax, eax
je 0x45430a
mov eax, esi
jmp 0x45430c
xor eax, eax
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
pop esi
call fcn.004755ea
add ebp, 0x194
leave
ret

Function at 0x45432d
Capabilities:
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
and dword [ebp - 0x7c], 0
push esi
mov esi, dword [ebp + 0x19c]
push 0x208
lea eax, [ebp - 0x78]
push 0
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 0x4d35fc
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 0x4543ae
push str.firstaid
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x78]
push eax
jmp 0x4543b3
push 0x4d3fa0
mov ecx, esi
call fcn.00402530
mov ecx, dword [ebp + 0x190]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004755ea
add ebp, 0x194
leave
ret
Function at 0x454605
Capabilities:
Create thread
Terminate thread

Disassembly:
push 0xc
mov eax, 0x4b1d77
call fcn.00476610
xor edi, edi
push 0x4f9e18
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], edi
call fcn.0040284b
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0x4543d2
push edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, edi
jne 0x454655
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402870
xor eax, eax
call fcn.004766e8
ret
push 0x493e0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4546a0
cmp eax, 0xffffffff
je 0x45468a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], edi
je 0x454685
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00401c8e
mov edi, dword [ebp - 0x18]
jmp 0x454691
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402870
mov eax, edi
jmp 0x45464f
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x45468a

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

Disassembly:
push ebp
sub esp, 0x514
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x514], eax
push 0xc
mov eax, 0x4b1da2
call fcn.00476610
xor ebx, ebx
push 0x4f9e18
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
call fcn.0040284b
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], ebx
call fcn.00454605
pop ecx
test eax, eax
je 0x4547e8
push dword [ebp - 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x4547e8
xor eax, eax
push 0x40e
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.00475570
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.00475570
lea eax, [ebp + 0x410]
push 0x80
push eax
call fcn.0045406f
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 0x454786
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.00454217
pop ecx
pop ecx
test eax, eax
je 0x4547e8
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4bd0a0
lea eax, [ebp]
push eax
call edi
lea eax, [ebp]
push eax
call esi
test eax, eax
je 0x4547e8
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
call fcn.00402530
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.0044555a
pop ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
call fcn.00402870
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402870
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.004755ea
add ebp, 0x518
leave
ret
Function at 0x45566c
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0xc
mov eax, 0x4b1f02
call fcn.00476610
mov esi, dword [ebp + 0x41c]
xor eax, eax
push 0x40e
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 0x4d35fc
push 0x4d3608
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 0x455757
lea eax, [ebp]
push eax
mov ecx, 0x4f7e38
call fcn.004555ce
test eax, eax
je 0x455757
and dword [ebp - 0x10], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.00455651
test eax, eax
mov eax, dword [ebp - 0x10]
pop ecx
jl 0x455749
test eax, eax
je 0x455749
test esi, esi
je 0x455736
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi], ecx
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x455744
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
jmp 0x455759
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x455757
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.004755ea
add ebp, 0x414
leave
ret 4

Function at 0x455905
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.00403bd9
xor ebx, ebx
cmp dword [esi + 0x18], ebx
jne 0x45592f
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 0x45593b
cmp eax, 0xffffffff
jne 0x455950
push ebx
push ebx
push esi
push 0x4558f1
push ebx
push ebx
call fcn.00476129
add esp, 0x18
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x18], ebx
je 0x45597e
mov esi, dword [esi + 0x1c]
cmp esi, ebx
je 0x45597e
cmp esi, 0xffffffff
je 0x45597e
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.00403bc2
mov eax, esi
pop esi
pop ebx
leave
ret
xor esi, esi
jmp 0x455964
Function at 0x455a1b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x54
mov eax, 0x4b1f8c
call fcn.00476679
mov ebx, ecx
mov dword [ebp - 0x60], ebx
call fcn.00403d1b
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.00414d93
lea edi, [ebx + 0x3c]
push 0x4f9e18
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0040284b
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 0x455b06
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.0047a9fe
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.00479b35
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.004554a4
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.004160d2
push eax
call fcn.0047a072
mov ecx, esi
jmp 0x455b59
push esi
call fcn.004761d9
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.004555b3
push eax
lea ecx, [ebp - 0x40]
call fcn.00455597
push eax
lea ecx, [ebp - 0x40]
call fcn.00455577
push eax
lea ecx, [ebp - 0x58]
call fcn.004554a4
push dword [eax + 4]
mov ecx, dword [eax]
push ecx
push str._I64d
push 0x14
push 0x14
mov ecx, edi
call fcn.004160d2
push eax
call fcn.0047a072
mov ecx, edi
add esp, 0x14
push 0xffffffffffffffff
call fcn.0040b36f
mov eax, ebx
call fcn.004766fc
ret