joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414130
Capabilities:
Access peb ldr_data
Create process on windows
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x493568
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, edx
xor ebp, ebp
push 0x40
lea eax, [esp + 0x34]
push ebp
push eax
mov dword [esp + 0x24], ebp
call fcn.00463d60
mov edx, dword [0x4b994c]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x4b994c
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x2c], 0x44
mov dword [esp + 0x58], 1
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push esi
push ebx
push str.__s___s
lea edi, [esp + 0x20]
mov dword [esp + 0x8c], ebp
call fcn.004039d0
mov edi, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push edi
push ebp
mov word [esp + 0x84], 0xa
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebp
jne 0x414210
push esi
push ebx
push 1
push ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KFunction::RunApp_CreateProcessW_error:_d__wait:_d__show:_d__path:_ws__cmd:_ws
mov ecx, 0x4ba960
call fcn.0041d5c0
add esp, 0x18
mov ebx, ebp
jmp 0x414215
mov ebx, 1
mov eax, dword [esp + 0x1c]
cmp eax, ebp
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x41422a
push eax
call esi
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x414239
push eax
call esi
mov dword [esp + 0x20], ebp
lea eax, [edi - 0x10]
mov dword [esp + 0x80], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414260
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret

Function at 0x414280
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
test esi, esi
je 0x4142f1
lea eax, [esp + 0xc]
push eax
push 0x28
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4142f1
lea ecx, [esp + 0x14]
push ecx
push str.SeShutdownPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x4142f1
mov eax, dword [esp + 0xc]
push ebx
push ebx
push ebx
lea edx, [esp + 0x1c]
push edx
push ebx
push eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x34], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push ebx
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x4142f1
mov ebx, 1
mov eax, dword [esp + 0xc]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x41430a
push eax
call edi
mov dword [esp + 0xc], 0
test esi, esi
je 0x414311
push esi
call edi
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x18
ret
Function at 0x414580
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x24c
mov eax, dword [0x4b7110]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x228
lea eax, [esp + 0x28]
push ebp
push eax
mov ebx, ecx
mov dword [esp + 0x2c], ebp
call fcn.00463d60
mov esi, dword [ebx + 8]
add esp, 0xc
cmp dword [ebx + 4], esi
jbe 0x4145c0
call fcn.0045f752
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jbe 0x4145cd
call fcn.0045f752
push esi
push ebx
push edi
push ebx
lea ecx, [esp + 0x20]
push ecx
call fcn.00417cd0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x41467a
lea edx, [esp + 0x20]
push edx
push edi
mov dword [esp + 0x28], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41466f
mov ecx, dword [ebx + 4]
test ecx, ecx
mov esi, dword [esp + 0x28]
mov dword [esp + 0x10], esi
jne 0x414619
xor edx, edx
jmp 0x414621
mov edx, dword [ebx + 8]
sub edx, ecx
sar edx, 2
test ecx, ecx
je 0x41463e
mov eax, dword [ebx + 0xc]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x41463e
mov eax, dword [ebx + 8]
mov dword [eax], esi
add eax, 4
mov dword [ebx + 8], eax
jmp 0x41465d
mov esi, dword [ebx + 8]
cmp ecx, esi
jbe 0x41464a
call fcn.0045f752
push esi
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
mov eax, ebx
call fcn.00440cd0
lea edx, [esp + 0x20]
push edx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x414606
lea ebp, [eax + 1]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
jne 0x414693
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KHelper::GetAllProcess_error:_d
mov ecx, 0x4ba960
call fcn.0041d5c0
add esp, 8
mov ecx, dword [esp + 0x254]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.0045eec1
add esp, 0x24c
ret
Function at 0x4148c0
Capabilities:
Enumerate process modules

Disassembly:
push 0xffffffffffffffff
push 0x49488b
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x4b7110]
xor eax, esp
mov dword [esp + 0x42c], eax
push ebx
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x444]
mov dword fs:[0], eax
mov eax, dword [esp + 0x454]
push eax
push 8
mov esi, ecx
mov dword [esp + 0x1c], 0x428
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x414938
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KHelper::GetProcessModules_CreateToolhelp32Snapshot_failed__error:_d
mov ecx, 0x4ba960
call fcn.0041d5c0
add esp, 8
jmp 0x4149c3
lea ecx, [esp + 0x14]
push ecx
push edi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x4149bc
jmp 0x414950
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x238]
call fcn.004021c0
lea ecx, [esp + 0x10]
mov dword [esp + 0x44c], 0
call fcn.004149f0
test eax, eax
je 0x414982
lea ebx, [esp + 0x10]
call fcn.00416ef0
mov dword [esp + 0x44c], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4149ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
push edi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x414950
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x444]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x42c]
xor ecx, esp
call fcn.0045eec1
add esp, 0x440
ret
Function at 0x415200
Capabilities:
Start service

Disassembly:
push ebx
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x415246
push 0xf003f
push str.LenovoDrvSv
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x415243
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push esi
call ebx
push edi
call ebx
push 0
push str.KHelper::StartDgnpsev_return:_d
mov ecx, 0x4ba960
call fcn.0041d5c0
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x415260
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4934b0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], ebx
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4152bd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea eax, [esp + 0x1c]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SOFTWARELenovoDrivers_ManagementUpdate
push reloc.WS2_32.dll_bind
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x41536d
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x2c]
movzx eax, word [esp + 0x2a]
movzx ecx, word [esp + 0x28]
push edx
movzx edx, word [esp + 0x2a]
push eax
movzx eax, word [esp + 0x2a]
push ecx
movzx ecx, word [esp + 0x2c]
push edx
push eax
push ecx
push str._04d:_02d:_02d__02d:_02d:_02d
lea edi, [esp + 0x38]
call fcn.004039d0
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
add esp, 0x1c
xor edi, edi
cmp ebp, ebx
je 0x41536d
mov eax, esi
lea edx, [eax + 2]
jmp 0x415340
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x415340
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push esi
push 1
push ebx
push str.KisliveUpdateTime
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
jne 0x41536d
mov edi, 1
push edi
push esi
push str.KHelper::SetUpdateTime:_s__return:_d
mov ecx, 0x4ba960
call fcn.0041d5c0
lea eax, [esi - 0x10]
add esp, 0xc
mov byte [esp + 0x38], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4153a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4153b0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x4153d0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x41541c
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push 0
push str.TrayNotifyWnd
push 0
push eax
call esi
test eax, eax
je 0x41541c
push 0
push str.SysPager
push 0
push eax
call esi
push 0
push str.ToolBarWindow32
push 0
push eax
call esi
mov edi, eax
test edi, edi
jne 0x415427
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0
push 0
push 0xf
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
lea ecx, [esp + 0x1c]
push ecx
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esp + 0x20]
mov ecx, 1
add edx, 0xffffffff
cmp edx, ecx
mov dword [esp + 0x14], ecx
jle 0x4154b7
mov eax, dword [esp + 0x24]
mov ebp, dword [sym.imp.USER32.dll_PostMessageW]
add eax, 0xffffffff
mov esi, 1
cmp eax, esi
jle 0x4154a5
movzx ebx, cx
jmp 0x415480
movzx eax, si
shl eax, 0x10
or eax, ebx
push eax
push 0
push 0x200
push edi
call ebp
mov eax, dword [esp + 0x24]
add esi, 0xf
add eax, 0xffffffff
cmp esi, eax
jl 0x415480
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add ecx, 0xf
add edx, 0xffffffff
cmp ecx, edx
mov dword [esp + 0x14], ecx
jl 0x41546f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret

Function at 0x4154d0
Capabilities:
Delete registry key

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 0xf003f
xor esi, esi
push esi
push str.SOFTWARELenovoDrivers_ManagementUpdate
push reloc.WS2_32.dll_bind
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41550e
mov ecx, dword [esp + 4]
push str.NeedReboot
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x41550e
lea esi, [eax + 1]
mov eax, dword [esp + 4]
test eax, eax
je 0x41551d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret
Function at 0x415530
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x493538
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
xor esi, esi
push esi
lea eax, [esp + 0xc]
push eax
push esi
push 0xf003f
push 1
push esi
push esi
push str.SOFTWARELenovoDrivers_ManagementUpdateReupdateForceReboot
mov dword [esp + 0x38], esi
push reloc.WS2_32.dll_bind
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4155b1
mov eax, dword [esp + 8]
test eax, eax
mov dword [esp + 0xc], 1
je 0x4155b1
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push esi
push 0x4a180c
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4155b1
mov esi, 1
push esi
push 1
push str.KHelper::SetRegForceReboot_bForceReboot:_d_return:_d
mov ecx, 0x4ba960
call fcn.0041d5c0
mov eax, dword [esp + 0x14]
add esp, 0xc
test eax, eax
je 0x4155d5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x415690
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4ae340
push 0x463e40
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4b7110]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x38], esi
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], esi
lea eax, [ebp - 0x1c]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
je 0x41573e
lea ecx, [ebp - 0x28]
push ecx
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
cmp eax, esi
je 0x41573e
mov edi, 1
mov dword [ebp - 0x38], edi
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 2
push esi
push esi
push esi
lea ecx, [ebp - 0x38]
push ecx
push esi
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp eax, esi
je 0x41573e
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.00415761
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415bb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4947f8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
or edi, 0xffffffff
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
lea esi, [esp + 0x1c]
mov dword [esp + 0x28], 0
call fcn.0042cd40
push eax
lea eax, [esp + 0x1c]
push eax
mov ebx, str.lenovodrvup.exe
mov byte [esp + 0x30], 1
call fcn.0040d090
add esp, 8
mov byte [esp + 0x28], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415c3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str._std__continue
mov ebx, 0xe
lea eax, [esp + 0x18]
call fcn.00401f30
cmp dword [0x4baa80], 0
je 0x415c69
push 9
push str.__autorun
lea ecx, [esp + 0x1c]
push ecx
call fcn.00401ff0
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, esi
call fcn.00414130
test eax, eax
je 0x415c7e
xor edi, edi
mov edx, dword [esp + 0x18]
push edi
push esi
push edx
push str.KHelper::RestartApp_appPath:_ws__cmdline:_ws__return__d
mov ecx, 0x4ba960
call fcn.0041d5c0
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415cbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415ce0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret

Function at 0x415d60
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWARELenovoDrivers_ManagementUpdate
push reloc.WS2_32.dll_bind
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x415db9
mov eax, dword [esp]
test eax, eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 4], ecx
je 0x415dc7
push 4
lea edx, [esp + 8]
push edx
push 4
push 0
push str.cs3failtimes
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
test eax, eax
je 0x415dc7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 8
ret
Function at 0x415dd0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x493510
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
lea esi, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.0042cd40
mov byte [esp + 0x1c], 1
mov eax, dword [eax]
push eax
push 0x4a1b4c
lea edi, [esp + 0x14]
call fcn.004039d0
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415e5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0xc]
push esi
push 0
push str.TryNo
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415e97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x415fa0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWARELenovoDrivers_ManagementUpdate
push reloc.WS2_32.dll_bind
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x416017
lea ecx, [esp + 4]
push ecx
push str.kisliveFailTime
lea eax, [esp + 8]
call fcn.0040f1a0
mov edx, dword [esp + 4]
mov eax, dword [esp]
add edx, 1
test eax, eax
mov dword [esp + 4], edx
je 0x416025
push 4
lea ecx, [esp + 8]
push ecx
push 4
push 0
push str.kisliveFailTime
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
test eax, eax
je 0x416025
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 8
ret

Function at 0x416030
Capabilities:
Delete registry value

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWARELenovoDrivers_ManagementUpdate
push reloc.WS2_32.dll_bind
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x416070
mov ecx, dword [esp]
push str.kisliveFailTime
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esp]
test eax, eax
je 0x41607e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret
Function at 0x416080
Capabilities:
Access peb ldr_data
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4956a3
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4b7110]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x238], ebx
mov dword [esp + 0x18], ebx
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
mov dword [esp + 0x20], esi
call edx
add eax, 0x10
mov dword [esi], eax
push 0x206
lea eax, [esp + 0x2a]
mov dword [esp + 0x23c], ebx
push ebx
mov ebp, 1
push eax
mov dword [esp + 0x24], ebp
mov word [esp + 0x30], bx
call fcn.00463d60
mov edx, dword [0x4b994c]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x4b994c
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x238], ebp
mov edx, dword [0x4b994c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4b994c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x23c], 2
call fcn.00412990
mov byte [esp + 0x23c], 3
mov edx, dword [eax]
push edx
push 0x4a1b4c
lea edi, [esp + 0x1c]
call fcn.004039d0
mov byte [esp + 0x244], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416192
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x10]
lea edi, [esp + 0x14]
call fcn.00401cd0
push ebp
push 0x4a12cc
mov ecx, edi
push ecx
call fcn.00401ff0
mov ebp, dword [esp + 0x14]
push ebx
push ebp
call fcn.004602c8
add esp, 8
test eax, eax
jne 0x4161ca
mov eax, edi
lea edi, [esp + 0x10]
call fcn.00401cd0
mov edx, dword [esp + 0x10]
push edx
push 0x104
lea eax, [esp + 0x2c]
push eax
push 0x4a0c40
push str.Version
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, ebx
jle 0x41621f
lea eax, [esp + 0x24]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x416200
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x24]
mov ebx, eax
push ecx
mov eax, esi
call fcn.00401f30
xor ebx, ebx
mov edi, esi
call fcn.00401c30
push 0x4a0c40
push 0x4a110c
push esi
call fcn.004168d0
lea eax, [ebp - 0x10]
mov byte [esp + 0x238], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41625a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x238], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416281
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0045eec1
add esp, 0x22c
ret
Function at 0x4162b0
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
xor esi, esi
push esi
lea eax, [esp + 8]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallKingsoft_Internet_Security
push reloc.WS2_32.dll_bind
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41631e
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
push ebx
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x41631d
mov eax, edx
push edi
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4162f0
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
push 1
push 0
push str.DisplayVersion
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop edi
jne 0x41631d
lea esi, [eax + 1]
pop ebx
mov eax, dword [esp + 4]
test eax, eax
je 0x41632d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret