joyce8/EMBER2024-capa huggingface dataset:
Function at 0x516fc0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], 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, [ebp - 0x210]
push esi
xor edi, edi
or eax, 0x2001f
push eax
push edi
push edx
push ecx
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x20c], edi
mov dword [ebp - 0x208], edi
mov dword [ebp - 0x210], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x20c]
mov esi, eax
cmp esi, edi
jne 0x517041
xor eax, eax
cmp ecx, edi
je 0x517029
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x208], edi
mov esi, eax
mov dword [ebp - 0x20c], ecx
cmp eax, edi
je 0x51704f
cmp ecx, edi
je 0x517110
push ecx
jmp 0x51710a
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x220]
push eax
push edi
push edi
push edi
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x204]
push eax
push edi
push ecx
mov dword [ebp - 0x214], 0x100
call esi
test eax, eax
jne 0x5170d0
nop
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x20c]
call fcn.00516fc0
mov dword [ebp - 0x210], eax
cmp eax, edi
jne 0x517125
lea edx, [ebp - 0x220]
push edx
mov edx, dword [ebp - 0x20c]
push edi
push edi
push edi
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x204]
push ecx
push edi
push edx
mov dword [ebp - 0x214], 0x100
call esi
test eax, eax
je 0x517080
mov eax, dword [ebp - 0x20c]
cmp eax, edi
je 0x5170e7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20c], edi
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebx]
push eax
push ecx
mov dword [ebp - 0x208], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [ebp - 0x20c]
cmp eax, edi
je 0x517110
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x20c]
cmp ecx, edi
je 0x517112
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret 4
Function at 0x517590
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push edi
push 0x10c
xor ebx, ebx
call fcn.0051d4d3
mov esi, eax
add esp, 4
test esi, esi
je 0x5175d4
push str.Global_
lea edi, [esi + 8]
push 0x104
push edi
mov byte [edi], bl
call fcn.00515ee0
push str.Global360TSUpdateMutex
push 0xfd
add edi, 7
push edi
call fcn.00515ee0
mov dword [esi], ebx
jmp 0x5175d6
xor esi, esi
lea eax, [esi + 8]
push eax
push 0
push 0
mov dword [0x5993ac], esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
call edi
mov dword [esi + 4], eax
cmp eax, 0xb7
je 0x517603
cmp eax, 5
jne 0x517678
mov eax, dword [esi]
test eax, eax
je 0x517612
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
call edi
cmp eax, 0xb7
je 0x517620
cmp eax, 5
jne 0x517678
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
xor edi, edi
push edi
push str.360TotalSecurityUpdMsgWnd
call esi
test eax, eax
jne 0x517669
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea ebx, [ebx]
mov ecx, edi
inc edi
cmp ecx, 5
jge 0x517665
push 0x3e8
call ebx
push 0
push str.360TotalSecurityUpdMsgWnd
call esi
test eax, eax
je 0x517640
pop edi
pop esi
mov eax, 1
pop ebx
ret
test eax, eax
je 0x517672
pop edi
pop esi
mov eax, 1
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x518fd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edx, edx
push 2
push edx
push eax
mov dword [ebp - 0x40c], edx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x408], edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x519025
call fcn.00414c40
mov esi, eax
jmp 0x519104
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x51903e
call fcn.00414c40
jmp 0x5190fb
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x519056
call fcn.00414c40
jmp 0x5190fb
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x5190a3
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x519080
lea ecx, [ebp - 0x408]
call fcn.00516ec0
lea ecx, [ebp - 0x40c]
call fcn.00516ce0
pop edi
pop esi
mov eax, 0x8007000e
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret 0x10
push eax
lea ecx, [ebp - 0x408]
call fcn.00517e40
mov eax, dword [ebp - 0x408]
test eax, eax
jne 0x5190c0
mov esi, 0x8007000e
jmp 0x5190fd
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x5190d9
call fcn.00414c40
jmp 0x5190fb
mov edx, dword [ebp - 0x408]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x408]
push eax
push ecx
lea ecx, [ebp - 0x414]
call fcn.00518dc0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x404]
cmp dword [ebp - 0x408], edx
je 0x519120
lea ecx, [ebp - 0x408]
call fcn.00516ec0
lea ecx, [ecx]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret 0x10

Function at 0x51aaa6
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x599474], 0
push esi
jne 0x51aa14
call fcn.0051a928
test eax, eax
je 0x51aa57
mov eax, dword [0x599474]
cmp eax, 1
jne 0x51aa35
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x51aa57
pop esi
ret
push eax
call dword [0x59947c]
test eax, eax
jne 0x51aa9f
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x51aa5b
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x599474]
call dword [0x59947c]
mov edi, eax
test edi, edi
je 0x51aa80
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x51aa9c
mov edi, esi
add esi, 0xff0
push edi
push dword [0x599474]
call dword [0x599478]
add edi, 0x10
cmp edi, esi
jb 0x51aa88
mov eax, edi
pop edi
pop esi
ret
jmp 0x51aa01

Function at 0x51d23b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x594ccc]
jne 0x51d245
repz ret
jmp fcn.00529e66
Function at 0x5492d5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0052afe5
and dword [ebp - 4], 0
cmp dword [0x59a2c8], 0
mov ebx, eax
jne 0x549386
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x549437
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x549437
push eax
call fcn.0052af73
mov dword [esp], 0x5761c8
push edi
mov dword [0x59a2c8], eax
call esi
push eax
call fcn.0052af73
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x59a2cc], eax
call esi
push eax
call fcn.0052af73
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x59a2d0], eax
call esi
push eax
call fcn.0052af73
pop ecx
mov dword [0x59a2d8], eax
test eax, eax
je 0x549386
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0052af73
pop ecx
mov dword [0x59a2d4], eax
mov eax, dword [0x59a2d4]
cmp eax, ebx
je 0x5493de
cmp dword [0x59a2d8], ebx
je 0x5493de
push eax
call fcn.0052afee
push dword [0x59a2d8]
mov esi, eax
call fcn.0052afee
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5493de
test edi, edi
je 0x5493de
call esi
test eax, eax
je 0x5493d5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5493d5
test byte [ebp - 0xc], 1
jne 0x5493de
or dword [ebp + 0x10], 0x200000
jmp 0x549417
mov eax, dword [0x59a2cc]
cmp eax, ebx
je 0x549417
push eax
call fcn.0052afee
pop ecx
test eax, eax
je 0x549417
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x549417
mov eax, dword [0x59a2d0]
cmp eax, ebx
je 0x549417
push eax
call fcn.0052afee
pop ecx
test eax, eax
je 0x549417
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x59a2c8]
call fcn.0052afee
pop ecx
test eax, eax
je 0x549437
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x549439
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x550590
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x594ccc]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
test ebx, ebx
jne 0x5505c8
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0051d23b
add esp, 0x20c
ret
push esi
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0051d250
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x550693
mov ecx, ebx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x550600
sub ecx, esi
sar ecx, 1
mov edx, 0x103
sub edx, ecx
cmp eax, edx
jae 0x550693
push edi
lea edi, [esp + 0xc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x550622
mov eax, dword [0x560120]
mov dword [edi], eax
mov eax, ebx
mov edx, ebx
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x550640
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x550654
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0051d23b
add esp, 0x20c
ret
mov ecx, dword [esp + 0x210]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0051d23b
add esp, 0x20c
ret
Function at 0x550ee0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.0051d7f0
mov eax, dword [0x594ccc]
xor eax, esp
mov dword [esp + 0x2c10], eax
mov eax, dword [esp + 0x2c18]
push edi
xor edi, edi
mov dword [esp + 0xc], eax
cmp eax, edi
je 0x55104b
cmp dword [esp + 0x2c20], edi
je 0x55104b
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov dword [esp + 0x10], edi
xor ebx, ebx
lea ebx, [ebx]
push ebx
push str..PhysicalDrive_d
lea eax, [esp + 0x30]
push 0x100
push eax
call fcn.00436f40
add esp, 0x10
push edi
push edi
push 3
push edi
push 3
push edi
lea ecx, [esp + 0x40]
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x551024
xor eax, eax
push 0x2710
lea edx, [esp + 0x514]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.0051d250
add esp, 0xc
push edi
lea eax, [esp + 0x18]
push eax
push 0x2710
lea ecx, [esp + 0x51c]
push ecx
push 0xc
lea edx, [esp + 0x30]
push edx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x551017
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.0051d250
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.00552ca0
mov edx, dword [esp + 0x2c48]
mov eax, dword [esp + 0x34]
add esp, 0x1c
lea ecx, [esp + 0x128]
push ecx
push edx
push eax
call fcn.00436c30
test eax, eax
jne 0x551017
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x55102e
inc ebx
cmp ebx, 0x10
jl 0x550f30
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.0051d23b
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0051d23b
add esp, 0x2c14
ret
Function at 0x551330
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x594ccc]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x551531
cmp dword [esp + 0x2f8], 0
je 0x551531
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0051d250
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x5762c8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5514f8
mov ecx, dword [esp + 4]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x100]
push eax
push ebx
mov esi, 0x104
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x5514eb
lea ebx, [ebx]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push 0
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5514b9
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5514ae
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.0051d250
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.00551220
add esp, 0x14
test eax, eax
je 0x5514ae
cmp byte [esp + 0x24], 0
je 0x551472
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x5514ae
lea eax, [esp + 0x24]
lea esi, [esp + 0x88]
mov ecx, eax
mov edx, 0x64
sub esi, ecx
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x5514a1
mov cl, byte [esi + eax]
test cl, cl
je 0x5514a1
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x551486
jmp 0x5514a5
test edx, edx
jne 0x5514a6
dec eax
mov byte [eax], 0
mov esi, 0x104
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x100]
push ecx
inc ebx
push ebx
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x5513d0
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
cmp byte [esp + 0x1c], 0
je 0x551531
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.00436c30
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.0051d23b
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0051d23b
add esp, 0x2ec
ret
Function at 0x5518d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x594ccc]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x551a4d
cmp ebp, 0x20
jb 0x551a4d
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.0051d250
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x565db4
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x551a4d
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x551960
sub eax, edx
cmp eax, 0x40
jne 0x551a4d
push ebx
lea edx, [eax + 0x40]
push esi
lea eax, [esp + 0x14]
lea esi, [esp + 0x114]
mov ecx, eax
sub esi, ecx
lea ecx, [edx - 0x60]
test ecx, ecx
je 0x55199e
mov cl, byte [esi + eax]
test cl, cl
je 0x55199e
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x551986
jmp 0x5519a2
test edx, edx
jne 0x5519a3
dec eax
mov byte [eax], 0
lea eax, [esp + 0x94]
lea edx, [esp + 0x134]
mov ecx, eax
mov esi, 0x80
sub edx, ecx
lea ecx, [ecx]
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x5519db
mov cl, byte [edx + eax]
test cl, cl
je 0x5519db
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x5519c0
jmp 0x5519df
test esi, esi
jne 0x5519e0
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.0051d250
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.00550950
add esp, 0x10
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
pop esi
pop ebx
test eax, eax
jne 0x551a4d
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.00436c30
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.0051d23b
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0051d23b
add esp, 0x50c
ret
Function at 0x551a70
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x290
mov eax, dword [0x594ccc]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0051d250
push 0x80
lea ebx, [esp + 0x20]
mov ecx, edi
call fcn.00550950
lea eax, [esp + 0x1a0]
mov edx, edi
mov ecx, eax
add esp, 0x10
mov esi, 0x104
sub edx, ecx
lea esp, [esp]
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x551adb
mov cl, byte [edx + eax]
test cl, cl
je 0x551adb
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x551ac0
jmp 0x551adf
test esi, esi
jne 0x551ae0
dec eax
lea edx, [esp + 0x10]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x198]
push eax
call fcn.00550860
push 0xff
lea ecx, [esp + 0x95]
push 0
push ecx
mov dword [esp + 0x18], 1
mov byte [esp + 0x9c], 0
call fcn.0051d250
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x565db4
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0x100
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x551bbb
mov ecx, edi
lea eax, [esp + 0x90]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x551b83
test dl, dl
je 0x551b7f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x551b83
add eax, 2
add ecx, 2
test dl, dl
jne 0x551b63
xor eax, eax
jmp 0x551b88
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x551bbb
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x551b96
sub eax, edx
push eax
lea edx, [esp + 0x94]
push edx
push 1
push str.mid_old
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [esp + 0x190]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x551bc5
sub eax, edx
push eax
lea eax, [esp + 0x194]
push eax
push 1
push 0x565db4
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov ecx, dword [esp + 0x294]
pop esi
pop ebx
xor ecx, esp
call fcn.0051d23b
add esp, 0x290
ret
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x67393195
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e0d2
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6c6c5f91
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40bd59
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
push esi
mov esi, eax
push esi
call fcn.0040a35d
cmp eax, 0x3f6
jae 0x40bf6d
push ebx
push edi
push 0x3c
pop edi
push edi
xor ebx, ebx
push ebx
lea eax, [ebp - 0x44]
push eax
call fcn.0040a262
mov cl, byte [esi]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], 0x5c0
cmp cl, 0x22
jne 0x40bda1
lea eax, [esi + 1]
mov dword [ebp - 0x34], eax
jmp 0x40bda4
mov dword [ebp - 0x34], esi
xor eax, eax
cmp cl, bl
je 0x40bde9
mov ecx, esi
cmp byte [ecx], 0x22
jne 0x40bdc5
jmp 0x40bdb9
cmp byte [eax + esi], 0x22
je 0x40bdc1
inc eax
cmp byte [eax + esi], bl
jne 0x40bdb3
jmp 0x40bdc5
mov byte [eax + esi], 0x20
cmp byte [eax + esi], 0x20
je 0x40bddc
cmp byte [eax + esi + 1], 0x2f
je 0x40bddc
inc eax
lea ecx, [eax + esi]
cmp byte [ecx], bl
jne 0x40bdac
jmp 0x40bde9
add eax, esi
cmp byte [eax], 0x20
jne 0x40bde5
mov byte [eax], bl
inc eax
mov dword [ebp - 0x30], eax
cmp byte [ebp + 8], bl
jne 0x40bdfd
cmp byte [0x41a392], bl
je 0x40bdfd
mov dword [ebp - 0x30], 0x41a392
push dword [ebp - 0x34]
mov dword [ebp - 0x28], 1
call fcn.00407669
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x40be29
push str..inf
push eax
call fcn.0040a573
test eax, eax
jne 0x40be29
mov dword [ebp - 0x38], str.Install
push ebx
push dword [ebp - 0x34]
call fcn.0040572e
mov byte [ebp - 1], al
cmp al, bl
je 0x40be51
lea eax, [ebp - 0x844]
push eax
push dword [ebp - 0x34]
call fcn.004057e4
lea eax, [ebp - 0x844]
mov dword [ebp - 0x34], eax
cmp byte [ebp + 8], bl
je 0x40be90
cmp byte [ebp - 1], bl
jne 0x40be90
push dword [ebp - 0x34]
lea eax, [ebp - 0x444]
push eax
call fcn.0040a450
push str..exe
lea eax, [ebp - 0x444]
push eax
call fcn.0040a5bb
push ebx
lea eax, [ebp - 0x444]
push eax
call fcn.0040572e
test al, al
je 0x40bf6b
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea eax, [ebp - 0x44]
push eax
call edi
test eax, eax
setne al
cmp al, bl
jne 0x40bec2
and dword [ebp - 0x40], 0xfffffbff
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x34], esi
call edi
test eax, eax
setne al
cmp al, bl
je 0x40bf6b
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 1], bl
cmp byte [0x419f88], bl
jne 0x40bed8
cmp byte [ebp + 8], bl
je 0x40bf0f
mov eax, dword [0x419f80]
cmp eax, ebx
je 0x40bef9
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40bef9
push ebx
push dword [0x419f80]
call esi
mov byte [ebp - 1], 1
push 0x7d0
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0xc]
call fcn.0040b6c3
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], ebx
je 0x40bf2e
push str..exe
push dword [ebp - 8]
call fcn.0040a573
test eax, eax
je 0x40bf5c
cmp byte [0x419f88], bl
je 0x40bf42
cmp byte [ebp + 8], bl
jne 0x40bf42
push 0x1b58
jmp 0x40bf56
xor eax, eax
cmp byte [ebp + 8], bl
sete al
dec eax
and eax, 0xfffffce0
add eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [ebp - 1], bl
je 0x40bf6b
push 1
push dword [0x419f80]
call esi
pop edi
pop ebx
pop esi
leave
ret 4