joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e0060
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push str.XDOpen
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
push str.XDClose
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
push str.XDAddRecordsEx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
push str.XDDeleteRecords
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
push str.XDGetFirst
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
push str.XDGetNext
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
push str.XDGetCounts
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
push str.XDGetLastFlag
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
je 0x4e016f
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x40], 0
je 0x4e016f
mov edx, dword [ebp - 4]
cmp dword [edx + 0x44], 0
je 0x4e016f
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0
je 0x4e016f
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x4c], 0
je 0x4e016f
mov edx, dword [ebp - 4]
cmp dword [edx + 0x50], 0
je 0x4e016f
mov eax, dword [ebp - 4]
cmp dword [eax + 0x54], 0
je 0x4e016f
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x58], 0
jne 0x4e01c3
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x40], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x44], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x4c], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x50], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], 0
xor eax, eax
jmp 0x4e01c8
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4e0ca0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x55930c]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
push str.360leakfixer.exe
lea eax, [ebp - 8]
push eax
call fcn.004d0d10
add esp, 8
lea ecx, [ebp - 8]
call fcn.0043cc50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e0d89
lea ecx, [ebp - 0x10]
call fcn.0043ca60
push str.360ver.dll
lea ecx, [ebp - 0xc]
push ecx
call fcn.004d0d10
add esp, 8
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0xc]
call fcn.0043cc50
push eax
call fcn.004e0f70
add esp, 8
test eax, eax
je 0x4e0d79
xor eax, eax
mov word [ebp - 0x220], ax
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.004ed5e0
add esp, 0xc
push 0x103
lea edx, [ebp - 0x220]
push edx
push str.8.9.0.0
push str.safe_minver
push str.Installer
call fcn.004e11f0
add esp, 0x14
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x10]
call fcn.0043cc50
push eax
call fcn.004e0db0
add esp, 8
test eax, eax
jge 0x4e0d79
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc]
call fcn.0043cae0
lea ecx, [ebp - 0x10]
call fcn.0043cae0
lea ecx, [ebp - 8]
call fcn.0043cae0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e9752
mov esp, ebp
pop ebp
ret

Function at 0x4e0fe0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4014
call fcn.004ed7c0
mov eax, dword [0x55930c]
xor eax, ebp
mov dword [ebp - 8], eax
mov ax, word [0x543764]
mov word [ebp - 0x4008], ax
push 0x3ffe
push 0
lea ecx, [ebp - 0x4006]
push ecx
call fcn.004ed5e0
add esp, 0xc
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x400c], eax
cmp dword [ebp - 0x400c], 0
je 0x4e1042
cmp dword [ebp - 0x400c], 0x3fff
jbe 0x4e1049
xor eax, eax
jmp 0x4e10f0
lea ecx, [ebp - 0x4008]
push ecx
mov edx, dword [ebp - 0x400c]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4e10ee
lea ecx, [ebp - 0x4014]
push ecx
lea edx, [ebp - 0x4010]
push edx
push 0x52b638
lea eax, [ebp - 0x4008]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4e10ee
mov ecx, dword [ebp - 0x4010]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 0x4010]
mov edx, dword [ecx + 8]
and edx, 0xffff
mov eax, dword [ebp + 0x10]
mov word [eax], dx
mov ecx, dword [ebp - 0x4010]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
mov eax, dword [ebp + 0x14]
mov word [eax], dx
mov ecx, dword [ebp - 0x4010]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
mov eax, dword [ebp + 0x18]
mov word [eax], dx
mov eax, 1
jmp 0x4e10f0
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004e9752
mov esp, ebp
pop ebp
ret
Function at 0x4e1100
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 0xc]
push eax
call fcn.004e11d0
add esp, 4
mov ecx, eax
call fcn.0043cc50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 5], al
lea ecx, [ebp - 0xc]
call fcn.0043cae0
movzx ecx, byte [ebp - 5]
test ecx, ecx
je 0x4e113e
xor eax, eax
jmp 0x4e118c
push str.deepscandeepscan.dll
lea edx, [ebp - 4]
push edx
call fcn.004d0d10
add esp, 8
lea ecx, [ebp - 4]
call fcn.0043cc50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e1174
call fcn.004e1190
test eax, eax
je 0x4e1174
mov dword [ebp - 0x14], 1
jmp 0x4e117b
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 4]
call fcn.0043cae0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x4e1190
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
call fcn.004c5230
add esp, 4
push str.deepscancloudsec3.dll
lea ecx, [ebp - 4]
call fcn.0043e6d0
lea ecx, [ebp - 4]
call fcn.0043cc50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 8], eax
lea ecx, [ebp - 4]
call fcn.0043cae0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4e1370
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4e1428
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4e1428
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e68e6
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [0x55c918], eax
cmp dword [0x55c918], 0
je 0x4e141e
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [0x55c918]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor edx, edx
mov eax, dword [ebp - 4]
mov ecx, dword [0x55c918]
mov word [ecx + eax*2], dx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x4e88f8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x566f68], 0
push esi
jne 0x4e8866
call fcn.004e877a
test eax, eax
je 0x4e88a9
mov eax, dword [0x566f68]
cmp eax, 1
jne 0x4e8887
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4e88a9
pop esi
ret
push eax
call dword [0x566f70]
test eax, eax
jne 0x4e88f1
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 0x4e88ad
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x566f68]
call dword [0x566f70]
mov edi, eax
test edi, edi
je 0x4e88d2
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4e88ee
mov edi, esi
add esi, 0xff0
push edi
push dword [0x566f68]
call dword [0x566f6c]
add edi, 0x10
cmp edi, esi
jb 0x4e88da
mov eax, edi
pop edi
pop esi
ret
jmp 0x4e8853

Function at 0x4e9752
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x55930c]
jne 0x4e975c
repz ret
jmp fcn.004f7d13

Function at 0x50b696
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.004f742b
and dword [ebp - 4], 0
cmp dword [0x567a38], 0
mov ebx, eax
jne 0x50b747
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x50b7f8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x50b7f8
push eax
call fcn.004f73b9
mov dword [esp], 0x53e98c
push edi
mov dword [0x567a38], eax
call esi
push eax
call fcn.004f73b9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x567a3c], eax
call esi
push eax
call fcn.004f73b9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x567a40], eax
call esi
push eax
call fcn.004f73b9
pop ecx
mov dword [0x567a48], eax
test eax, eax
je 0x50b747
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004f73b9
pop ecx
mov dword [0x567a44], eax
mov eax, dword [0x567a44]
cmp eax, ebx
je 0x50b79f
cmp dword [0x567a48], ebx
je 0x50b79f
push eax
call fcn.004f7434
push dword [0x567a48]
mov esi, eax
call fcn.004f7434
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x50b79f
test edi, edi
je 0x50b79f
call esi
test eax, eax
je 0x50b796
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x50b796
test byte [ebp - 0xc], 1
jne 0x50b79f
or dword [ebp + 0x10], 0x200000
jmp 0x50b7d8
mov eax, dword [0x567a3c]
cmp eax, ebx
je 0x50b7d8
push eax
call fcn.004f7434
pop ecx
test eax, eax
je 0x50b7d8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x50b7d8
mov eax, dword [0x567a40]
cmp eax, ebx
je 0x50b7d8
push eax
call fcn.004f7434
pop ecx
test eax, eax
je 0x50b7d8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x567a38]
call fcn.004f7434
pop ecx
test eax, eax
je 0x50b7f8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x50b7fa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5194a0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.004ed7c0
mov eax, dword [0x55930c]
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 0x51960b
cmp dword [esp + 0x2c20], edi
je 0x51960b
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.00518ec0
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 0x5195e4
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.004ed5e0
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 0x5195d7
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.004ed5e0
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.0051b070
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.00518d10
test eax, eax
jne 0x5195d7
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x5195ee
inc ebx
cmp ebx, 0x10
jl 0x5194f0
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.004e9752
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.004e9752
add esp, 0x2c14
ret
Function at 0x5198f0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x55930c]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x519af1
cmp dword [esp + 0x2f8], 0
je 0x519af1
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.004ed5e0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x53f514
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x519ab8
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 0x519aab
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 0x519a79
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 0x519a6e
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.004ed5e0
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.005197e0
add esp, 0x14
test eax, eax
je 0x519a6e
cmp byte [esp + 0x24], 0
je 0x519a32
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x519a6e
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 0x519a61
mov cl, byte [esi + eax]
test cl, cl
je 0x519a61
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x519a46
jmp 0x519a65
test edx, edx
jne 0x519a66
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 0x519990
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 0x519af1
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.00518d10
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.004e9752
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.004e9752
add esp, 0x2ec
ret
Function at 0x519d60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x55930c]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x519edd
cmp ebp, 0x20
jb 0x519edd
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.004ed5e0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x53f584
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x519edd
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x519df0
sub eax, edx
cmp eax, 0x40
jne 0x519edd
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 0x519e2e
mov cl, byte [esi + eax]
test cl, cl
je 0x519e2e
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x519e16
jmp 0x519e32
test edx, edx
jne 0x519e33
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 0x519e6b
mov cl, byte [edx + eax]
test cl, cl
je 0x519e6b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x519e50
jmp 0x519e6f
test esi, esi
jne 0x519e70
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.004ed5e0
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.00518f20
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 0x519edd
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.00518d10
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.004e9752
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.004e9752
add esp, 0x50c
ret

Function at 0x519f00
Capabilities:
Set registry value

Disassembly:
sub esp, 0x188
mov eax, dword [0x55930c]
xor eax, esp
mov dword [esp + 0x184], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0xc]
push 0
push eax
mov esi, ecx
call fcn.004ed5e0
push 0x80
lea ebx, [esp + 0x18]
mov ecx, esi
call fcn.00518f20
lea eax, [esp + 0x98]
mov ecx, eax
add esp, 0x10
mov edx, 0x104
sub esi, ecx
lea esp, [esp]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x519f6b
mov cl, byte [esi + eax]
test cl, cl
je 0x519f6b
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x519f50
jmp 0x519f6f
test edx, edx
jne 0x519f70
dec eax
lea edx, [esp + 8]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x90]
push eax
call fcn.00518dd0
lea eax, [esp + 0x88]
pop esi
lea edx, [eax + 1]
pop ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x519f96
sub eax, edx
push eax
lea ecx, [esp + 0x84]
push ecx
push 1
push 0x53f584
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.004e9752
add esp, 0x188
ret
Function at 0x4039cf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
push edi
push str.StartServiceCtrlDispatcherA
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, str.Serpiei
mov edi, eax
push esi
call fcn.00403061
test eax, eax
pop ecx
je 0x403a23
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
mov dword [ebp - 0xc], 0x403756
call edi
pop edi
xor eax, eax
pop esi
leave
ret 0x10
and byte [ebp - 0x114], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x114]
push eax
call fcn.00402ca7
lea eax, [ebp - 0x114]
push 1
push eax
push str.Microsoft_.NET_COM_Integration_with_SOAP
push str.Microsoft_.Net_Frameworek_COMi_Suppoot
push esi
call fcn.004031c0
add esp, 0x18
call fcn.00402217
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401c28
Capabilities:
Hide graphical window

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x88
mov dword [ebp - 0x64], 0x476b90
mov dword [ebp - 0x60], 0x477458
lea eax, [ebp - 0x5c]
lea ebx, [ebp - 0x18]
mov dword [eax], ebx
mov edx, 0x401eb1
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.0040b170
call fcn.0040a400
mov eax, dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov dword [ebp - 0x78], 1
call eax
mov dword [ebp - 0x1c], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
call eax
sub esp, 8
lea eax, [ebp - 0x25]
mov ecx, eax
call fcn.00440490
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x25]
mov dword [esp + 4], edx
mov dword [esp], str.C:Program_FilesWindows_Defenderrwd.mof
mov dword [ebp - 0x78], 2
mov ecx, eax
call fcn.0044bee0
sub esp, 8
lea eax, [ebp - 0x25]
mov ecx, eax
call fcn.004404c0
mov dword [esp], 0
call sub.msvcrt.dll_time
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
mov dword [esp], eax
call sub.msvcrt.dll_localtime
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_asctime
mov dword [ebp - 0x80], eax
mov dword [esp + 4], 0x480176
mov dword [esp], 0x47ef60
mov dword [ebp - 0x78], 3
call fcn.00473350
mov esi, dword [ebp - 0x80]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00473350
lea eax, [ebp - 0x3c]
lea edx, [ebp - 0x2c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00401742
lea eax, [ebp - 0x3c]
mov dword [esp], eax
mov dword [ebp - 0x78], 4
call fcn.00401664
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x78], 3
mov ecx, eax
call fcn.00469b5c
mov dword [esp + 4], str._Jackpot_game__n
mov dword [esp], 0x47ef60
mov dword [ebp - 0x78], 5
call fcn.00473350
mov dword [esp + 4], str.The_goal_of_this_game_is_to_guess_a_number._n
mov dword [esp], 0x47ef60
call fcn.00473350
mov dword [esp + 4], str.Jackpot_will_tell_you_if_the_number_is_too_big_or_too_n
mov dword [esp], 0x47ef60
call fcn.00473350
mov dword [esp + 4], str.small_compared_to_the_secret_number_to_find._n_n
mov dword [esp], 0x47ef60
call fcn.00473350
call fcn.00401520
mov dword [ebp - 0x80], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x78], 1
mov ecx, eax
call fcn.0044c550
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x80], eax
jmp 0x401ee1
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.0040b2f0
mov eax, dword [ebp - 0x80]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret

Function at 0x409df0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [esp + 0x24]
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.00409e50