joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450c3a
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 0x450c8c
push str.CreateFile_fail
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x450d86
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.004756d6
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfff2feaa
pop ecx
add esi, 0x1f01ff
pop ecx
cmp dword [ebp + 0x14], ebx
je 0x450ce0
mov ecx, dword [ebp - 0x18]
push 3
push 1
push esi
push edi
push 1
push dword [ebp - 0x14]
call fcn.00450a26
mov edi, eax
jmp 0x450d68
push 0x14
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.00475420
push str.Everyone
push edi
call fcn.004756d6
add esp, 0x14
test eax, eax
jne 0x450d35
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 0x450d23
push str.AllocateAndInitializeSid_fail
jmp 0x450d62
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x1c], eax
jmp 0x450d41
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.00450913
mov edi, eax
cmp edi, ebx
je 0x450d68
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 0x450d7f
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.0047549a
leave
ret 0x10
Function at 0x450d97
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.00403d5b
pop ecx
test eax, eax
je 0x450ea1
xor edi, edi
cmp dword [ebp - 0x78], 6
jne 0x450de5
cmp dword [ebp - 0x74], 4
je 0x450df8
cmp dword [ebp - 0x78], 0xa
jne 0x450ea1
cmp dword [ebp - 0x74], edi
jne 0x450ea1
push 0x208
lea eax, [ebp + 0x98]
push edi
push eax
call fcn.00475420
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.00475ebe
push eax
lea eax, [ebp + 0x98]
push ebx
push eax
call fcn.00477d1d
add esp, 0x10
test eax, eax
je 0x450ea1
lea eax, [ebp + 0x98]
push 0x20
push eax
call fcn.00475160
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x450e80
push str.__x86_
push esi
call fcn.004756d6
pop ecx
pop ecx
test eax, eax
jne 0x450e80
lea eax, [ebp + 0x98]
sub esi, eax
sar esi, 1
dec esi
push esi
push ebx
push eax
call fcn.00477d1d
add esp, 0xc
test eax, eax
je 0x450ea1
push str.add_ac
call fcn.00404da7
pop ecx
mov ecx, dword [ebp - 0x80]
push edi
push str.nofull
push str.ALL_APPLICATION_PACKAGES
push ebx
call fcn.00450c3a
jmp 0x450ea3
xor eax, eax
mov ecx, dword [ebp + 0x2a0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047549a
add ebp, 0x2a4
leave
ret 4

Function at 0x45237d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test ecx, ecx
je 0x45238a
lea esi, [ecx - 0x34]
jmp 0x45238c
xor esi, esi
cmp byte [ecx + 0x1c], 0
je 0x4523c0
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x4523b1
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4523c6
cmp dword [ebp + 0xc], 0
jne 0x4523c0
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x4523db
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0x34]
call fcn.00451e9b
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x452f66
Capabilities:
Set registry value

Disassembly:
push 0x20
mov eax, 0x4b1b3c
call fcn.00476529
mov esi, ecx
push 0x4f9e00
lea ecx, [ebp - 0x28]
call fcn.004027fb
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 0x452fab
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 0x452fc5
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, esi
call fcn.00452dd6
test eax, eax
je 0x452fdc
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.00402820
xor eax, eax
inc eax
call fcn.004765ac
ret

Function at 0x4538b0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x4b1afe
call fcn.004764c0
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 0x80000
xor ebx, ebx
push 0x4f9e00
lea ecx, [ebp - 0x10]
call fcn.004027fb
push dword [ebp - 0x14]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00416214
mov esi, eax
test esi, esi
je 0x453946
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.0040b3c8
test edi, edi
je 0x453955
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
cmp edi, 0xea
jne 0x45394c
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add eax, eax
mov dword [ebp - 0x14], eax
call fcn.00402820
inc ebx
cmp ebx, 0xa
jl 0x4538cf
jmp 0x453973
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
xor eax, eax
jmp 0x453976
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + 4]
push eax
push dword [ebp + 8]
push dword [ebp - 0x14]
push esi
call fcn.00453561
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
xor eax, eax
inc eax
call fcn.00476598
ret 4
Function at 0x45397e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x4b1afe
call fcn.004764c0
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 0x80000
xor ebx, ebx
push 0x4f9e00
lea ecx, [ebp - 0x10]
call fcn.004027fb
push dword [ebp - 0x14]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00416214
mov esi, eax
test esi, esi
je 0x453a14
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.0040b3c8
test edi, edi
je 0x453a23
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
cmp edi, 0xea
jne 0x453a1a
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add eax, eax
mov dword [ebp - 0x14], eax
call fcn.00402820
inc ebx
cmp ebx, 0xa
jl 0x45399d
jmp 0x453a46
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
xor eax, eax
jmp 0x453a49
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.00453610
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
xor eax, eax
inc eax
call fcn.00476598
ret 0x10

Function at 0x453a51
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x4b1afe
call fcn.004764c0
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 0x80000
xor ebx, ebx
push 0x4f9e00
lea ecx, [ebp - 0x10]
call fcn.004027fb
push dword [ebp - 0x14]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00416214
mov esi, eax
test esi, esi
je 0x453ae7
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.0040b3c8
test edi, edi
je 0x453af6
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
cmp edi, 0xea
jne 0x453aed
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add eax, eax
mov dword [ebp - 0x14], eax
call fcn.00402820
inc ebx
cmp ebx, 0xa
jl 0x453a70
jmp 0x453b0d
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
xor eax, eax
jmp 0x453b10
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
push esi
call fcn.00453832
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
xor eax, eax
inc eax
call fcn.00476598
ret
Function at 0x454364
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 0x454396
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
jmp 0x45441f
and dword [0x4ee018], 0
push esi
push 0x24
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00475420
mov esi, 0x11c
push esi
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.00475420
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 0x4543e3
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x5c], 0x114
call esi
test eax, eax
je 0x45441c
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 0x45441c
lea ecx, [ebp - 0x80]
push ecx
call eax
cmp word [ebp - 0x80], 9
je 0x454412
cmp word [ebp - 0x80], 6
jne 0x45441c
xor eax, eax
inc eax
mov dword [0x4ee018], eax
jmp 0x45441e
xor eax, eax
pop esi
mov ecx, dword [ebp + 0xc0]
xor ecx, ebp
call fcn.0047549a
add ebp, 0xc4
leave
ret

Function at 0x454486
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.00475420
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x4d28bc
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 0x4544f6
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 0x454527
lea eax, [ebp - 0x78]
push eax
call fcn.00401c8b
pop ecx
test eax, eax
je 0x454527
push 0
push esi
push esi
lea eax, [ebp - 0x78]
push eax
call fcn.00401d75
test eax, eax
je 0x454527
mov eax, esi
jmp 0x454529
xor eax, eax
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
pop esi
call fcn.0047549a
add ebp, 0x194
leave
ret
Function at 0x45454a
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.00475420
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x4d28bc
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 0x4545cb
push str.firstaid
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x78]
push eax
jmp 0x4545d0
push 0x4d3260
mov ecx, esi
call fcn.004024e0
mov ecx, dword [ebp + 0x190]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0047549a
add ebp, 0x194
leave
ret

Function at 0x454822
Capabilities:
Create thread
Terminate thread

Disassembly:
push 0xc
mov eax, 0x4b1cd3
call fcn.004764c0
xor edi, edi
push 0x4f9e00
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], edi
call fcn.004027fb
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0x4545ef
push edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, edi
jne 0x454872
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402820
xor eax, eax
call fcn.00476598
ret
push 0x493e0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4548bd
cmp eax, 0xffffffff
je 0x4548a7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], edi
je 0x4548a2
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00401c3e
mov edi, dword [ebp - 0x18]
jmp 0x4548ae
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402820
mov eax, edi
jmp 0x45486c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x4548a7
Function at 0x4548c7
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, 0x4b1cfe
call fcn.004764c0
xor ebx, ebx
push 0x4f9e00
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
call fcn.004027fb
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], ebx
call fcn.00454822
pop ecx
test eax, eax
je 0x454a05
push dword [ebp - 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x454a05
xor eax, eax
push 0x40e
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.00475420
add esp, 0xc
lea eax, [ebp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
push 0x100
mov word [ebp + 0x410], ax
lea eax, [ebp + 0x412]
push ebx
push eax
call fcn.00475420
lea eax, [ebp + 0x410]
push 0x80
push eax
call fcn.0045428c
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 0x4549a3
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.00454434
pop ecx
pop ecx
test eax, eax
je 0x454a05
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4bc0f0
lea eax, [ebp]
push eax
call edi
lea eax, [ebp]
push eax
call esi
test eax, eax
je 0x454a05
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
call fcn.004024e0
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.0044563d
pop ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
call fcn.00402820
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
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.0047549a
add ebp, 0x518
leave
ret
Function at 0x4555ca
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, 0x4b1e81
call fcn.004764c0
mov esi, dword [ebp + 0x41c]
xor eax, eax
push 0x40e
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00475420
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4d28bc
push 0x4d28c8
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 0x4556b5
lea eax, [ebp]
push eax
mov ecx, 0x4f7e20
call fcn.0045552c
test eax, eax
je 0x4556b5
and dword [ebp - 0x10], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.004555af
test eax, eax
mov eax, dword [ebp - 0x10]
pop ecx
jl 0x4556a7
test eax, eax
je 0x4556a7
test esi, esi
je 0x455694
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi], ecx
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4556a2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
jmp 0x4556b7
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4556b5
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.0047549a
add ebp, 0x414
leave
ret 4

Function at 0x455863
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.00403bfc
xor ebx, ebx
cmp dword [esi + 0x18], ebx
jne 0x45588d
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 0x455899
cmp eax, 0xffffffff
jne 0x4558ae
push ebx
push ebx
push esi
push 0x45584f
push ebx
push ebx
call fcn.00475fd9
add esp, 0x18
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x18], ebx
je 0x4558dc
mov esi, dword [esi + 0x1c]
cmp esi, ebx
je 0x4558dc
cmp esi, 0xffffffff
je 0x4558dc
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.00403be5
mov eax, esi
pop esi
pop ebx
leave
ret
xor esi, esi
jmp 0x4558c2
Function at 0x455979
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x54
mov eax, 0x4b1f0b
call fcn.00476529
mov ebx, ecx
mov dword [ebp - 0x60], ebx
call fcn.00403d3e
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.00414e76
lea edi, [ebx + 0x3c]
push 0x4f9e00
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.004027fb
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 0x455a64
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.0047a8b2
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.0047a83c
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.00455402
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.00416214
push eax
call fcn.00479e72
mov ecx, esi
jmp 0x455ab7
push esi
call fcn.00476089
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.00455511
push eax
lea ecx, [ebp - 0x40]
call fcn.004554f5
push eax
lea ecx, [ebp - 0x40]
call fcn.004554d5
push eax
lea ecx, [ebp - 0x58]
call fcn.00455402
push dword [eax + 4]
mov ecx, dword [eax]
push ecx
push str._I64d
push 0x14
push 0x14
mov ecx, edi
call fcn.00416214
push eax
call fcn.00479e72
mov ecx, edi
add esp, 0x14
push 0xffffffffffffffff
call fcn.0040b3c8
mov eax, ebx
call fcn.004765ac
ret
Function at 0x455e7f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
xor esi, esi
mov eax, dword [esi + 0x4ee560]
lea ecx, [ebp - 8]
push ecx
push 0x20019
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x455ebc
cmp dword [ebp - 8], edi
jne 0x455ed4
add esi, 4
cmp esi, 8
jb 0x455e94
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047549a
leave
ret
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov eax, dword [esi + 0x4ee568]
cmp eax, edi
je 0x455f08
push edi
push edi
push 3
push edi
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x455f12
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x455f19
add esi, 4
cmp esi, 8
jb 0x455edf
jmp 0x455ec4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x455ec6

Function at 0x455f1e
Capabilities:
Check if file exists

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
xor edi, edi
push edi
push edi
push 3
push edi
xor ebp, ebp
inc ebp
push ebp
push edi
push str..BAPI
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
jne 0x455f5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 2
setne cl
mov dword [esp + 0x10], ecx
jmp 0x455f62
push eax
mov dword [esp + 0x14], ebp
call ebx
push edi
push edi
push 3
push edi
push ebp
push edi
push 0x4d2848
call esi
cmp eax, 0xffffffff
jne 0x455f88
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x455f8d
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push eax
call ebx
jmp 0x455f80
cmp dword [esp + 0x10], edi
jne 0x455f80
xor eax, eax
jmp 0x455f82

Function at 0x4564f5
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor edi, edi
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.00475420
push dword [esi]
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004781a5
push 0x4d2b78
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0047680a
add esp, 0x24
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45657f
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047549a
leave
ret
cmp word [ebp - 0x430], 0x2e
jne 0x45659e
lea eax, [ebp - 0x45c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45657f
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
jmp 0x456571
Function at 0x456c19
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 4]
call fcn.004024e0
xor esi, esi
push esi
push str._uninstall
lea ecx, [ebp - 4]
call fcn.0041f4a9
test eax, eax
jl 0x456c42
inc esi
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00402820
mov eax, esi
pop esi
leave
ret