joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431ae0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4a4d00]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ecx
test eax, eax
je 0x431b00
push eax
call edi
mov dword [0x4a4d00], 0
mov eax, dword [0x4a4d04]
test eax, eax
je 0x431b16
push eax
call edi
mov dword [0x4a4d04], 0
lea ecx, [esi + 0x48]
call fcn.0043f4f0
mov ecx, eax
call fcn.0041ba10
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x431b3f
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.00431670
pop edi
xor eax, eax
pop esi
ret 0x10

Function at 0x434ce0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x480fd8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a30f8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CPromoteDialog.1.0
mov dword [esi + 0x14], vtable.CPromoteDialog.0
xor edi, edi
lea ecx, [esi + 0x60]
mov dword [esp + 0x18], edi
call fcn.0044c630
mov eax, dword [esi + 0x30]
mov dword [esp + 0x18], 0xffffffff
cmp eax, edi
je 0x434d3f
push eax
call fcn.00462d5c
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, esi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
call fcn.00427a80
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x434f70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x481008
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4a30f8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.0043bc80
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
or ecx, 0xffffffff
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov byte [esi + 0x4c], al
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], ecx
mov dword [esi + 0xc], 3
mov dword [esi], vtable.CPromoteDialog.1.0
mov dword [esi + 0x14], vtable.CPromoteDialog.0
mov dword [esi + 0x58], eax
lea ecx, [esi + 0x60]
mov dword [esp + 0x14], eax
mov dword [esi + 0x5c], eax
call fcn.0044c8e0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x435da0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x47ffa8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4a30f8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x4a1014]
mov dword [esp + 8], eax
xor eax, eax
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
lea edx, [ecx + 4]
push edx
call fcn.00435980
mov esi, dword [esp + 8]
test eax, eax
je 0x435e0f
mov eax, dword [esp + 0xc]
push eax
push esi
push 7
push str.PendingFileRenameOperations
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [esi - 0xc]
cmp ecx, dword [0x4a1010]
je 0x435e31
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x435e31
push esi
call fcn.00461ef0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x436ac0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4800f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a30f8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x24], ecx
mov ebp, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, 0x80000
mov dword [esp + 0x20], 7
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0
lea ebx, [ebx]
mov eax, dword [0x4a1014]
mov dword [esp + 0x14], eax
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0
call fcn.0041c3e0
test eax, eax
mov eax, dword [esp + 0x14]
je 0x436bd9
lea edx, [esp + 0x18]
push edx
push eax
mov dword [eax - 8], esi
xor ecx, ecx
mov word [eax + esi*2], cx
mov ebx, eax
lea eax, [esp + 0x28]
push eax
push str.PendingFileRenameOperations
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.0041c4e0
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
mov dword [esi - 8], eax
mov word [esi + eax*2], cx
test edi, edi
je 0x436bff
cmp edi, 0xea
jne 0x436c54
mov edx, dword [esp + 0x18]
lea ecx, [esi - 0xc]
lea eax, [edx + edx]
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], 0xffffffff
cmp ecx, dword [0x4a1010]
je 0x436bc2
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x436bc2
push esi
call fcn.00461ef0
add esp, 4
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 0xa
mov dword [esp + 0x1c], eax
jge 0x436c39
mov esi, dword [esp + 0x18]
jmp 0x436b10
lea edx, [eax - 0xc]
cmp edx, dword [0x4a1010]
je 0x436bfb
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x436bfb
push esi
call fcn.00461ef0
add esp, 4
xor eax, eax
jmp 0x436c3e
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
lea eax, [ecx + 4]
push eax
mov eax, dword [esp + 0x1c]
push edx
push eax
push ebx
call fcn.00436880
lea ecx, [esi - 0xc]
cmp ecx, dword [0x4a1010]
je 0x436c39
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x436c39
push esi
call fcn.00461ef0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
lea edx, [esi - 0xc]
cmp edx, dword [0x4a1010]
je 0x436bfb
add esi, 0xfffffff4
jmp 0x436be7

Function at 0x4375f0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x437610
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x437624
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc
Function at 0x437650
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x437666
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x437673
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8

Function at 0x437cd0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x220], eax
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea esi, [esp + 0x14]
push esi
xor edi, edi
or eax, 0x2001f
push eax
push edi
push edx
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov esi, eax
cmp esi, edi
jne 0x437d46
xor eax, eax
cmp ecx, edi
je 0x437d34
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov esi, eax
mov dword [esp + 0xc], ecx
cmp eax, edi
je 0x437d54
cmp ecx, edi
je 0x437df2
push ecx
jmp 0x437dec
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x437dbc
lea esp, [esp]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.00437cd0
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x437e0b
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x10]
push edi
push edi
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edi
push edx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x437d80
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x437dcf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx]
push eax
push ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x437df2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00461862
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xc]
cmp ecx, edi
je 0x437df4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00461862
mov esp, ebp
pop ebp
ret 4
Function at 0x4381a0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x804
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
mov esi, ecx
test esi, esi
jne 0x4381d6
mov eax, 1
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.00461862
add esp, 0x804
ret
push 0x800
lea eax, [esp + 8]
push 0
push eax
call fcn.00461880
mov ecx, dword [esi]
mov eax, dword [ecx + 0x24]
add esp, 0xc
push 0x400
lea edx, [esp + 8]
push edx
push esi
call eax
cmp word [esp + 4], 0
je 0x4381bb
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
lea ecx, [esp + 0xc]
push ecx
mov esi, 1
push esi
push 0
mov dword [0x4a4d00], 0
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4a4d00], eax
test eax, eax
je 0x43823f
call ebp
cmp eax, 0xb7
jne 0x43823f
xor esi, esi
push 0x4895a8
push 1
push 0
mov dword [0x4a4d04], 0
call edi
mov dword [0x4a4d04], eax
test eax, eax
je 0x43826a
call ebp
cmp eax, 0xb7
jne 0x43826a
xor esi, esi
jmp 0x43826e
test esi, esi
jne 0x438273
call fcn.00431550
mov ecx, dword [esp + 0x80c]
pop edi
pop ebp
mov eax, esi
pop esi
xor ecx, esp
call fcn.00461862
add esp, 0x804
ret
Function at 0x439880
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x480300
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4a30f8]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov edi, dword [ebp + 0x414]
mov ebx, dword [ebp + 0x418]
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x439902
call fcn.004374d0
mov edi, eax
jmp 0x4399e4
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x43991b
call fcn.004374d0
jmp 0x4399db
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x439936
call fcn.004374d0
jmp 0x4399db
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x18], edi
cmp eax, edi
jae 0x43996c
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x43995a
lea ecx, [ebp]
call fcn.00437c90
lea ecx, [ebp - 0x20]
call fcn.00437c30
mov eax, 0x8007000e
jmp 0x4399f6
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.004386c0
mov dword [ebp - 4], 1
jmp 0x439998
mov eax, dword [ebp]
test eax, eax
jne 0x4399a6
mov edi, 0x8007000e
jmp 0x4399dd
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x4399bf
call fcn.004374d0
jmp 0x4399db
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004395c0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x4399f4
lea ecx, [ebp]
call fcn.00437c90
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.00461862
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10

Function at 0x43a320
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 8]
call fcn.0041deb0
mov esi, dword [esp + 4]
cmp dword [esi - 8], 0
jl 0x43a37e
push str._uninstall
push esi
call fcn.0046295e
add esp, 8
test eax, eax
je 0x43a37e
sub eax, esi
sar eax, 1
js 0x43a37e
lea eax, [esi - 0xc]
cmp eax, dword [0x4a1010]
je 0x43a376
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43a376
push esi
call fcn.00461ef0
add esp, 4
mov eax, 1
pop esi
pop ecx
ret
lea ecx, [esi - 0xc]
cmp ecx, dword [0x4a1010]
je 0x43a3a0
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43a3a0
push esi
call fcn.00461ef0
add esp, 4
xor eax, eax
pop esi
pop ecx
ret
Function at 0x43cbc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4807af
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4a30f8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.0043bc80
xor ebx, ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
or eax, 0xffffffff
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x4c], bl
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0xc], 2
mov dword [esi + 0x54], vtable.IExtractCallback.0
lea ecx, [esi + 0x60]
mov dword [esp + 0x18], ebx
mov dword [esi], vtable.CSetupProgressDialog.2.0
mov dword [esi + 0x14], vtable.CSetupProgressDialog.1.0
mov dword [esi + 0x54], vtable.CSetupProgressDialog.0
call fcn.0042f410
mov eax, dword [0x4a1014]
mov dword [esi + 0x358], eax
mov dword [esi + 0x35c], ebx
lea ecx, [esi + 0x388]
mov byte [esp + 0x18], 2
mov dword [esi + 0x380], ebx
mov dword [esi + 0x384], ebx
call fcn.00433ec0
lea ecx, [esi + 0x3c8]
mov byte [esp + 0x18], 3
call fcn.0042add0
lea ecx, [esi + 0x360]
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x378], ebx
mov dword [esi + 0x37c], 0x5a
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x43f720
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x43f75b
mov ecx, dword [esp + 8]
lea edx, [ecx + ecx]
lea ecx, [esp + 4]
push ecx
push eax
mov dword [esp + 0xc], edx
lea edx, [esp + 0x10]
push edx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360Desktop.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
ret 8

Function at 0x43fa00
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43fa16
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x43fa1c
mov eax, 1
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call edi
test eax, eax
jne 0x43fa41
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x43fa48
push esi
call edi
test eax, eax
je 0x43fa48
mov eax, 1
pop edi
ret
xor eax, eax
pop edi
ret
Function at 0x43fb50
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x1104
call fcn.00462620
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x1100], eax
mov eax, dword [esp + 0x1108]
push ebx
mov ebx, dword [esp + 0x1114]
push esi
mov esi, dword [eax]
cmp dword [esi - 8], 0x104
push edi
mov edi, dword [esp + 0x1118]
jle 0x43fba5
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1100]
xor ecx, esp
call fcn.00461862
add esp, 0x1104
ret
push 0x800
lea eax, [esp + 0x910]
push 0
push eax
call fcn.00461880
push 0x800
lea ecx, [esp + 0x11c]
push 0
push ecx
call fcn.00461880
push esi
lea edx, [esp + 0x928]
push 0x400
push edx
call fcn.00462ced
add esp, 0x24
test edi, edi
je 0x43fbfc
cmp word [edi], 0
je 0x43fbfc
push edi
lea eax, [esp + 0x910]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebp
push 0x100
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.00461880
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
xor esi, esi
nop
lea edx, [esp + 0x10]
push 0x80
push edx
call fcn.00401000
add esp, 8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x914]
push ecx
lea edx, [esp + 0x118]
push edx
call edi
lea eax, [esp + 0x110]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x43fc53
mov ecx, dword [str..tmp]
mov edx, dword [0x4911c4]
mov dword [eax], ecx
mov cx, word [0x4911c8]
mov dword [eax + 4], edx
lea edx, [esp + 0x110]
push edx
mov word [eax + 8], cx
call ebp
test eax, eax
je 0x43fcaa
inc esi
cmp esi, 0xa
jl 0x43fc20
xor eax, eax
mov ecx, dword [esp + 0x1110]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00461862
add esp, 0x1104
ret
lea eax, [esp + 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041c560
test eax, eax
je 0x43fcf4
mov eax, dword [ebx]
lea esi, [edi + edi]
push esi
lea ecx, [esp + 0x114]
push ecx
lea edx, [esi + 2]
push edx
push eax
call fcn.004618fa
push eax
call fcn.00408c80
mov eax, dword [ebx]
mov dword [eax - 8], edi
mov ecx, dword [ebx]
add esp, 0x14
xor edx, edx
mov word [esi + ecx], dx
mov eax, 1
jmp 0x43fc91
Function at 0x43fd00
Capabilities:
Copy file
Create process on windows
Get common file path
Query or enumerate registry value

Disassembly:
sub esp, 0xa78
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0xa74], eax
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x43fd25
call fcn.00401340
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x43fd42
pop esi
mov ecx, dword [esp + 0xa74]
xor ecx, esp
call fcn.00461862
add esp, 0xa78
ret
cmp dword [esi + 4], 0
jne 0x43fd53
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push eax
call edx
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push str.SETUPDATA
push 0xc9
push 0
push eax
call edx
test eax, eax
jne 0x43fef4
cmp dword [0x4a5040], 1
jne 0x43fe6e
push 0x104
lea eax, [esp + 0x474]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x60]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.Uninstall.exe
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x478]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x43fe6e
xor edx, edx
push 0x3fe
push edx
lea eax, [esp + 0x682]
push eax
mov word [esp + 0x684], dx
call fcn.00461880
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x688]
push 0x48a610
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x44
lea eax, [esp + 0x38]
push 0
push eax
call fcn.00461880
add esp, 0x24
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x20], 0x44
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x68]
push ecx
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x698]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x43fe6e
mov eax, dword [esp + 0xc]
push 0x2710
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push 0
call fcn.004645fa
lea ecx, [esi + 0x18]
mov dword [esi + 0xec], 1
call fcn.00424940
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x272]
mov dword [eax], 0
push edx
mov word [esp + 0x274], cx
call fcn.00461880
add esp, 0xc
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x26c]
push ecx
lea edx, [esp + 0xc]
push edx
push 0x4871dc
push str.SOFTWARE360desktop
push SysReAllocString
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x103
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jl 0x43fef4
lea eax, [esp + 0x268]
push eax
lea ecx, [esi + 0xf8]
call fcn.0041ca80
mov ecx, dword [esp + 0xa78]
pop esi
xor ecx, esp
mov eax, 1
call fcn.00461862
add esp, 0xa78
ret
Function at 0x440760
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x480d6b
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x41c], eax
push esi
push edi
mov eax, dword [0x4a30f8]
xor eax, esp
push eax
lea eax, [esp + 0x42c]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x4407a9
call fcn.00401340
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4408b3
cmp dword [esi + 8], 0
jne 0x4407c5
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push eax
call edx
mov dword [esi + 8], eax
mov eax, dword [0x4a1014]
push 0x81
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.0041cf30
cmp dword [esi + 0xec], 0
mov dword [esp + 0x434], 0
je 0x4408b7
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x22a]
push edx
mov word [esp + 0x22c], cx
call fcn.00461880
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x224]
push ecx
lea edx, [esp + 0x18]
push edx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360Desktop.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 0x206
mov dword [esp + 0x28], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x22]
push ecx
mov word [esp + 0x24], ax
call fcn.00461880
add esp, 0xc
push str.configuninst
lea edx, [esp + 0x224]
push edx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov esi, dword [esi + 8]
mov edi, dword [esp + 0xc]
mov ecx, dword [esi]
mov eax, dword [ecx]
push edi
lea edx, [esp + 0x1c]
push edx
push esi
call eax
test eax, eax
jne 0x4408d7
push 1
call fcn.00461230
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004614b0
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.0041c130
xor eax, eax
jmp 0x4408fe
mov edi, dword [esp + 0xc]
mov esi, dword [esi + 8]
mov edx, dword [esi]
mov eax, dword [edx + 4]
push edi
push str.SETUPCONFIG
push 0x27dc
push 0
push esi
call eax
test eax, eax
je 0x4408aa
lea ecx, [edi - 0xc]
cmp ecx, dword [0x4a1010]
je 0x4408f9
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4408f9
push esi
call fcn.00461ef0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.00461862
add esp, 0x42c
ret