joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a1258
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
push esi
call fcn.00406c40
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x54]
call fcn.004086d0
push eax
call fcn.0040a8f0
pop ecx
lea ecx, [ebp - 0x54]
mov bl, al
call fcn.00408720
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.00403650
test bl, bl
je 0x4a1395
push edi
push esi
lea ecx, [ebp - 0x58]
call fcn.00425b88
lea eax, [ebp - 0x58]
push eax
call fcn.0049dfdb
mov edi, str.test_access
push edi
call fcn.004241d7
pop ecx
pop ecx
push eax
push edi
lea ecx, [ebp - 0x58]
call fcn.0043be5f
push 7
mov byte [ebp - 0x24], 0
lea edi, [ebp - 0x23]
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0x58]
lea ecx, [ebp - 0x3c]
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00406c40
push 0x1e
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x54]
call fcn.004086d0
push eax
call fcn.0040ad70
add esp, 0xc
lea ecx, [ebp - 0x54]
cmp eax, 0xffffffff
setne bl
call fcn.00408720
xor edi, edi
lea ecx, [ebp - 0x3c]
push 0
inc edi
push edi
call fcn.00403650
test bl, bl
je 0x4a1333
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4a1389
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WriteFile_testfile_fail_errcode_d__r_n
push 0x55b31c
call fcn.004a9913
add esp, 0xc
lea ecx, [ebp - 0x59]
push edi
push 0x1f01ff
push esi
call fcn.004330af
xor ebx, ebx
mov dword [ebp - 0x28], 0xf
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], ebx
push eax
push ebx
push edi
push 2
push str.execptiondirectory_permissions_problems
push ebx
push 0x6e
mov byte [ebp - 0x3c], bl
call fcn.004b1bf0
push ebx
push edi
lea ecx, [ebp - 0x3c]
call fcn.00403580
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.004206ab
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret 4
Function at 0x4a1d35
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push eax
lea ecx, [ebp - 0x23c]
call fcn.00406c40
lea eax, [ebp - 0x23c]
mov ecx, esi
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004a0aa3
xor ebx, ebx
lea ecx, [ebp - 0x23c]
push ebx
push 1
call fcn.00403650
push ebx
push 0x1c
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00405d70
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00407560
mov esi, str.liebaoUser_Data
push esi
call fcn.00405d70
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00407480
mov esi, 0x50f8e4
push esi
call fcn.00405d70
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00407480
cmp dword [ebp - 0x210], 8
lea esi, [ebp - 0x224]
cmovae esi, dword [ebp - 0x224]
push esi
call fcn.00405d70
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00407480
cmp dword [edi + 0x14], 8
jb 0x4a1e0b
mov eax, dword [edi]
jmp 0x4a1e0d
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a1e2e
cmp dword [ebp + 0x10], eax
je 0x4a1e2e
cmp dword [edi + 0x14], 8
jb 0x4a1e25
mov edi, dword [edi]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push 1
lea ecx, [ebp - 0x224]
call fcn.00403650
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4a2330
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
jne 0x4a2367
cmp dword [ebp - 0x110], 0
mov eax, 0x4f7a6c
je 0x4a236c
mov eax, str.SpoolerGroup
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret

Function at 0x4a28b6
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea esi, [ecx + 8]
mov eax, dword [esi]
sub eax, 0x10
push edi
push eax
call fcn.00425cc0
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0049dfdb
pop ecx
pop ecx
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00425c4a
push esi
call fcn.0049dfdb
mov edi, str.skinupdater.exe
push edi
call fcn.004241d7
pop ecx
pop ecx
push eax
push edi
lea ecx, [ebp - 4]
call fcn.0043be5f
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a2915
mov edi, 0x4ff4d8
push edi
call fcn.004241d7
pop ecx
push eax
push edi
mov ecx, esi
call fcn.0043be5f
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004206ab
xor eax, eax
pop edi
inc eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4a2a09
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x38]
push edi
push 0
push eax
mov edi, ecx
call fcn.0049c3fe
push dword [ebp - 0x38]
mov ebx, 0x55b31c
push str.Init_localpath___ws_r_n
push ebx
call fcn.004a9913
xor eax, eax
add esp, 0x14
test esi, esi
setne al
mov dword [edi + 0x28], eax
test eax, eax
je 0x4a2a7b
push esi
call fcn.004241d7
pop ecx
push eax
push esi
lea ecx, [edi + 0x2c]
call fcn.0042415e
push esi
push str.Init_7zFilePath___ws_r_n
push ebx
call fcn.004a9913
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
jmp 0x4a2a90
lea ecx, [edi + 0x80]
call fcn.004a945b
mov ebx, eax
test ebx, ebx
je 0x4a2bbd
lea esi, [edi + 4]
push esi
call fcn.0049c1b7
pop ecx
test eax, eax
je 0x4a2aa7
mov dword [edi + 0x70], 1
jmp 0x4a2aaf
push esi
mov ecx, edi
call fcn.004a1f42
push esi
call fcn.0049dfdb
push dword [edi + 0x70]
push dword [esi]
push str.Init_InstallPath_ws_m_bInstalled_d_r_n
push 0x55b31c
call fcn.004a9913
and dword [ebp - 0xc], 0
xor eax, eax
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 8], 7
call fcn.0049bfce
lea eax, [ebp - 0x1c]
push eax
call fcn.0049e01b
mov esi, str.liebao
push esi
call fcn.00405d70
add esp, 0x20
lea ecx, [ebp - 0x1c]
push eax
push esi
call fcn.00407480
lea eax, [ebp - 0x1c]
push eax
call fcn.0049e01b
cmp dword [ebp - 8], 8
lea esi, [ebp - 0x1c]
cmovae esi, dword [ebp - 0x1c]
push esi
call fcn.004241d7
pop ecx
pop ecx
push eax
push esi
lea ecx, [edi + 0x24]
call fcn.0042415e
mov esi, 0x4fdcf8
push esi
call fcn.00405d70
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.00407480
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.004086d0
push eax
call fcn.00412220
pop ecx
lea ecx, [ebp - 0x34]
call fcn.00408720
lea eax, [ebp - 0x1c]
push eax
call fcn.0049e01b
cmp dword [ebp - 8], 8
lea esi, [ebp - 0x1c]
cmovae esi, dword [ebp - 0x1c]
push esi
call fcn.004241d7
pop ecx
pop ecx
push eax
push esi
lea ecx, [edi + 0x20]
call fcn.0042415e
mov ecx, edi
call fcn.004a5128
mov ecx, edi
call fcn.004a529f
cmp dword [edi + 0x70], 0
je 0x4a2b9c
mov ecx, edi
call fcn.004a532b
mov ecx, edi
call fcn.004a3d09
mov ecx, edi
call fcn.004a7bd7
mov ecx, edi
call fcn.004a6f07
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00403650
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.004206ab
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret 4
Function at 0x4a3168
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, ecx
push ebx
mov dword [ebp - 0xc], eax
push esi
mov eax, dword [eax + 8]
sub eax, 0x10
push edi
push eax
call fcn.00425cc0
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0049dfdb
mov esi, str.knbcenter.exe
push esi
call fcn.004241d7
add esp, 0xc
lea ecx, [ebp - 4]
push eax
push esi
call fcn.0043be5f
push str.knbcenter
lea ecx, [ebp - 0x10]
call fcn.00425b88
push 0x4fe6c8
lea ecx, [ebp - 0x18]
call fcn.00425b88
push 0x4fe6e0
lea ecx, [ebp - 8]
call fcn.00425b88
lea ecx, [ebp - 0x20]
call fcn.00464df4
push 2
xor ebx, ebx
lea ecx, [ebp - 0x20]
push ebx
call fcn.00464e87
mov edi, dword [ebp - 0x10]
test eax, eax
jne 0x4a320f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
push eax
push str.service_open_fail__err_d_r_n
push 0x55b31c
mov dword [ecx], eax
call fcn.004a9913
add esp, 0xc
jmp 0x4a32f7
lea ecx, [ebp - 0x14]
call fcn.00464dee
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
push ebx
push ebx
push ebx
push ebx
call fcn.004a2330
push eax
push esi
push ebx
push 2
push 0x10
push ebx
push dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push edi
push eax
lea ecx, [ebp - 0x14]
call fcn.00464e3d
test eax, eax
jne 0x4a326e
mov esi, dword [ebp + 8]
push dword [esi]
push str.service_create_fail__err_d_r_n
push 0x55b31c
call fcn.004a9913
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
cmp eax, 0x431
jne 0x4a32ef
mov dword [esi], ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4a32ec
call fcn.00420bd2
push eax
lea ecx, [ebp + 8]
call fcn.00423e41
push edi
lea eax, [ebp + 8]
push str.SYSTEMCurrentControlSetServices_s
push eax
call fcn.00424501
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
add esp, 0xc
push eax
push 0x2001f
push ebx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a32e4
push dword [ebp - 0xc]
lea ecx, [ebp - 8]
call fcn.00423e74
mov ecx, dword [ebp - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push ebx
push str.Description
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esi - 0x10]
call fcn.004206ab
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x14]
call fcn.00464dfe
lea ecx, [ebp - 0x20]
call fcn.00464e03
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004206ab
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.004206ab
lea ecx, [edi - 0x10]
call fcn.004206ab
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004206ab
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a369e
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8d0
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x8d0], ebx
push dword [ebx + 4]
mov ecx, ebx
mov dword [ebp - 0x8cc], edi
push dword [ebx]
mov esi, eax
call fcn.004a88d4
mov eax, dword [ebx]
mov ecx, edi
mov dword [ebx + 4], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x808], 7
mov word [ebp - 0x81c], ax
lea eax, [ebp - 0x81c]
push eax
mov dword [ebp - 0x80c], ebx
call fcn.004a1e52
cmp dword [ebp - 0x808], 8
lea eax, [ebp - 0x81c]
cmovae eax, dword [ebp - 0x81c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a3840
xor eax, eax
push 0x7fe
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push ebx
push eax
call fcn.004bf240
add esp, 0xc
lea eax, [ebp - 0x81c]
cmp dword [ebp - 0x808], 8
cmovae eax, dword [ebp - 0x81c]
push eax
push 0x400
lea eax, [ebp - 0x804]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, eax
test edi, edi
je 0x4a3840
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004bae68
mov ebx, eax
xor eax, eax
push edi
push eax
push ebx
call fcn.004bf240
xor edx, edx
add esp, 0x10
mov ecx, edx
test edi, edi
je 0x4a3834
mov ax, word [ebp + esi*2 - 0x804]
mov word [ebx + ecx*2], ax
inc ecx
cmp word [ebp + esi*2 - 0x804], dx
jne 0x4a382b
lea ecx, [ebp - 0x8c4]
call fcn.004a045e
cmp dword [ebp - 0x808], 8
lea eax, [ebp - 0x81c]
mov ecx, dword [ebp - 0x8cc]
cmovae eax, dword [ebp - 0x81c]
push eax
push ebx
lea eax, [ebp - 0x8c4]
push eax
call fcn.004a3863
mov ecx, dword [ebp - 0x8d0]
lea eax, [ebp - 0x8c4]
push eax
call fcn.004a8edc
push edi
xor eax, eax
push eax
push ebx
call fcn.004bf240
add esp, 0xc
lea ecx, [ebp - 0x8c4]
xor eax, eax
mov dword [ebp - 0x8c8], eax
call fcn.004a0813
mov ecx, dword [ebp - 0x8c8]
xor edx, edx
inc esi
cmp esi, edi
jb 0x4a37a7
push ebx
call fcn.004bbca6
xor esi, esi
inc esi
xor ebx, ebx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x81c]
call fcn.00403650
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret 4
Function at 0x4a3ec0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push str.Magic_DesktopShortcut_Begin_r_n
push 0x55b31c
mov esi, ecx
call fcn.004a9913
pop ecx
pop ecx
call fcn.00420bd2
push eax
lea ecx, [ebp - 4]
call fcn.00423e41
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.004a2095
lea eax, [ebp - 4]
push eax
call fcn.0049dfdb
pop ecx
call fcn.00420bd2
push eax
lea ecx, [ebp - 8]
call fcn.00423e41
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.004a24e2
call fcn.00420bd2
push eax
lea ecx, [ebp - 0xc]
call fcn.00423e41
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.004a2541
mov ecx, esi
call fcn.004a400e
push 0x4ff594
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00442e1f
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x10]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
call fcn.004206ab
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
inc bl
je 0x4a3fd4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 4]
push 0x4ff594
push eax
lea eax, [ebp - 0x10]
push eax
je 0x4a3fab
call fcn.00442e1f
push str.Liebao
push esi
push dword [eax]
push str.__ico1
push edi
call fcn.0049b885
mov ecx, dword [ebp - 0x10]
add esp, 0x20
add ecx, 0xfffffff0
jmp 0x4a3fcb
call fcn.00442e1f
push str.Liebao
push dword [eax]
push str.__ico1
push edi
call fcn.0049ba7a
mov ecx, dword [ebp - 0x10]
add esp, 0x1c
lea ecx, [ecx - 0x10]
mov ebx, eax
call fcn.004206ab
jmp 0x4a3fd7
xor ebx, ebx
inc ebx
push ebx
push str.Magic_DesktopShortcut_End_bRet___d_r_n
push 0x55b31c
call fcn.004a9913
add esp, 0xc
lea ecx, [esi - 0x10]
call fcn.004206ab
lea ecx, [edi - 0x10]
call fcn.004206ab
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004206ab
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a400e
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push str.Magic_DesktopShortcutClear_Begin_r_n
push 0x55b31c
mov esi, ecx
call fcn.004a9913
pop ecx
pop ecx
call fcn.00420bd2
push eax
lea ecx, [ebp - 4]
call fcn.00423e41
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.004a2095
lea eax, [ebp - 4]
push eax
call fcn.0049dfdb
lea eax, [ebp - 4]
mov dword [esp], 0x4ff820
push eax
lea eax, [ebp - 8]
push eax
call fcn.00442e1f
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 8]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004206ab
test esi, esi
je 0x4a40a1
push 0x4ff820
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00442e1f
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004206ab
push 0x4ff594
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00442e1f
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 8]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004206ab
test esi, esi
pop esi
je 0x4a40f8
push 0x4ff594
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00442e1f
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004206ab
push str.Magic_DesktopShortcutClear_End_r_n
push 0x55b31c
call fcn.004a9913
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004206ab
mov esp, ebp
pop ebp
ret
Function at 0x4a4a65
Capabilities:
Check if file exists
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push str.Magic_StartMenuQuickLaunchShortcut_Begin_r_n
push 0x55b31c
mov esi, ecx
call fcn.004a9913
pop ecx
pop ecx
xor edi, edi
call fcn.00420bd2
push eax
lea ecx, [ebp - 0x10]
call fcn.00423e41
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.004a2541
mov ecx, esi
call fcn.004a4c01
call fcn.0049de27
test eax, eax
je 0x4a4bee
push ebx
call fcn.00420bd2
push eax
lea ecx, [ebp - 4]
call fcn.00423e41
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 4]
call fcn.00425c4a
lea eax, [ebp - 4]
push eax
call fcn.0049dfdb
pop ecx
call fcn.00420bd2
push eax
lea ecx, [ebp - 8]
call fcn.00423e41
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.004a24e2
call fcn.00420bd2
push eax
lea ecx, [ebp - 0xc]
call fcn.00423e41
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.004a2541
mov edi, dword [ebp - 0xc]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, 0x4ff594
test eax, eax
push ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
je 0x4a4b42
call fcn.00442e1f
mov esi, dword [ebp - 8]
push str.Liebao
push edi
push dword [eax]
push str.__ico4
push esi
call fcn.0049b885
add esp, 0x20
jmp 0x4a4b5f
call fcn.00442e1f
mov esi, dword [ebp - 8]
push str.Liebao
push dword [eax]
push str.__ico4
push esi
call fcn.0049ba7a
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.004206ab
lea ecx, [edi - 0x10]
call fcn.004206ab
lea ecx, [esi - 0x10]
call fcn.004206ab
push ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00442e1f
add esp, 0xc
xor edi, edi
xor ecx, ecx
inc edi
push edi
push ecx
push ecx
push dword [eax]
push str.startpin
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0xc]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.004206ab
push esi
push str.ShellExecute_ret0x_x_r_n
push 0x55b31c
call fcn.004a9913
push ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00442e1f
add esp, 0x18
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.004206ab
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004206ab
pop ebx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004206ab
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a4c01
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push str.Magic_StartMenuQuickLaunchShortcutClear_Begin_r_n
push 0x55b31c
call fcn.004a9913
pop ecx
pop ecx
call fcn.0049de27
test eax, eax
je 0x4a4dd5
push ebx
push esi
push edi
call fcn.00420bd2
push eax
lea ecx, [ebp - 4]
call fcn.00423e41
push 0x104
lea ecx, [ebp - 4]
call fcn.00423e74
push eax
push 0
push 0x1a
push 0
call fcn.0049e38c
add esp, 0x10
lea ecx, [ebp - 4]
push 0xffffffffffffffff
call fcn.00425bfa
mov esi, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedStartMenu_
push esi
call fcn.004241d7
pop ecx
push eax
push esi
lea ecx, [ebp - 4]
call fcn.0043be5f
push 0x4ff594
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00442e1f
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [eax]
call ebx
mov ecx, dword [ebp - 8]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004206ab
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
test esi, esi
je 0x4a4ceb
push 0x4ff594
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00442e1f
add esp, 0xc
xor ecx, ecx
push ecx
push ecx
push ecx
push dword [eax]
push str.startunpin
push ecx
call edi
mov ecx, dword [ebp - 8]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004206ab
push esi
push str.ShellExecute_ret0x_x_r_n
push 0x55b31c
call fcn.004a9913
add esp, 0xc
push 0x4ff820
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00442e1f
add esp, 0xc
push dword [eax]
call ebx
mov ecx, dword [ebp - 8]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004206ab
test esi, esi
je 0x4a4d59
push 0x4ff820
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00442e1f
add esp, 0xc
xor ecx, ecx
push ecx
push ecx
push ecx
push dword [eax]
push str.startunpin
push ecx
call edi
mov ecx, dword [ebp - 8]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004206ab
push esi
push str.ShellExecute_ret0x_x_r_n
push 0x55b31c
call fcn.004a9913
add esp, 0xc
push 0x4ffc84
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00442e1f
add esp, 0xc
push dword [eax]
call ebx
mov ecx, dword [ebp - 8]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004206ab
test esi, esi
je 0x4a4dc7
push 0x4ffc84
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00442e1f
add esp, 0xc
xor ecx, ecx
push ecx
push ecx
push ecx
push dword [eax]
push str.startunpin
push ecx
call edi
mov ecx, dword [ebp - 8]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004206ab
push esi
push str.ShellExecute_ret0x_x_r_n
push 0x55b31c
call fcn.004a9913
add esp, 0xc
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004206ab
pop edi
pop esi
pop ebx
push str.Magic_StartMenuQuickLaunchShortcutClear_End_r_n
push 0x55b31c
call fcn.004a9913
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4a532b
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x1c]
lea ebx, [edi + 4]
push dword [ebx]
call fcn.00406c40
lea eax, [ebp - 0x1c]
push eax
call fcn.0049e01b
mov esi, str.liebao.exe
push esi
call fcn.00405d70
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.00407480
call fcn.00420bd2
push eax
lea ecx, [ebp - 0x20]
call fcn.00423e41
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a53d6
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x20]
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push ecx
push eax
call fcn.0049c5a9
pop ecx
pop ecx
lea esi, [edi + 0x14]
push ebx
mov ecx, esi
call fcn.00425c4a
push esi
call fcn.0049dfdb
mov eax, dword [ebp - 0x20]
pop ecx
mov ecx, esi
push dword [eax - 0xc]
push eax
call fcn.0043be5f
push esi
lea ecx, [edi + 0x10]
call fcn.00425c4a
jmp 0x4a549a
call fcn.00420bd2
push eax
lea ecx, [ebp - 0x28]
call fcn.00423e41
lea eax, [ebp - 0x28]
push eax
call fcn.0049c2f1
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
push eax
call fcn.00425cc0
add eax, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.0049dfdb
mov esi, str.knbcenter.exe
push esi
call fcn.004241d7
add esp, 0x10
lea ecx, [ebp - 0x24]
push eax
push esi
call fcn.0043be5f
mov esi, str.LBBrowser
push esi
push dword [ebp - 0x24]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x4a5443
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call fcn.0049c5a9
pop ecx
pop ecx
jmp 0x4a5454
push esi
call fcn.004241d7
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.0042415e
lea esi, [edi + 0x14]
push ebx
mov ecx, esi
call fcn.00425c4a
push esi
call fcn.0049dfdb
mov eax, dword [ebp - 0x20]
pop ecx
mov ecx, esi
push dword [eax - 0xc]
push eax
call fcn.0043be5f
push esi
call fcn.0049dfdb
pop ecx
push esi
lea ecx, [edi + 0x10]
call fcn.00425c4a
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.004206ab
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.004206ab
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.004206ab
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00403650
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret