joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4131a0
Capabilities:
Query service status
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584fdb
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x5eb770]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push str.Tool_VDCServiceStopAndStart
push ebx
lea ecx, [ebp - 0x138]
call fcn.0044ca70
add esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push eax
push str.bVdcCtrl___d__bDebug___d
lea ecx, [ebp - 0x138]
push 1
push ecx
mov dword [ebp - 4], ebx
call fcn.0044cd10
add esp, 0x14
xor eax, eax
push pe_nt_image_headers32
lea edx, [ebp - 0x114]
push ebx
push edx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], eax
call fcn.0055ca80
add esp, 0xc
push 0x20000000
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
cmp esi, ebx
jne 0x413287
push ebx
push str.return___08x
push 2
lea eax, [ebp - 0x138]
push eax
call fcn.0044cd10
add esp, 0x10
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], 0xffffffff
call fcn.0044cc70
xor eax, eax
jmp 0x41338c
push 0xf01ff
push str.Canon_NetSpot_Suite_Service
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, ebx
jne 0x4132b6
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
push str.return___08x
push 2
lea ecx, [ebp - 0x138]
push ecx
jmp 0x413266
cmp dword [ebp + 8], ebx
je 0x4132ec
push ebx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x413350
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
push ebx
push str.return___08x
push 2
lea edx, [ebp - 0x138]
push edx
jmp 0x413266
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x41331f
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
push 0
push str.return___08x
push 2
lea ecx, [ebp - 0x138]
push ecx
jmp 0x413266
cmp dword [ebp - 0x12c], 1
je 0x413355
lea edx, [ebp - 0x130]
push edx
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
cmp eax, 1
je 0x413350
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
push 0
jmp 0x413258
mov ebx, 1
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
push ebx
push str.return___08x
lea ecx, [ebp - 0x138]
push 2
push ecx
call fcn.0044cd10
add esp, 0x10
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], 0xffffffff
call fcn.0044cc70
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055649d
mov esp, ebp
pop ebp
ret
Function at 0x413710
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x584f4b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1068
call fcn.0055d880
mov eax, dword [0x5eb770]
xor eax, esp
mov dword [esp + 0x1064], eax
push esi
push edi
mov eax, dword [0x5eb770]
xor eax, esp
push eax
lea eax, [esp + 0x1078]
mov dword fs:[0], eax
push 0
push str.ServiceStopFromCmdLine
push 0
lea ecx, [esp + 0x18]
call fcn.0044ca70
add esp, 0xc
push str.SPOOLER
push str.lpszService___s
lea eax, [esp + 0x14]
push 1
push eax
mov dword [esp + 0x1090], 0
call fcn.0044cd10
push 0x400
lea ecx, [esp + 0x80]
push 0
push ecx
call fcn.0055ca80
add esp, 0x1c
push 0x400
lea edx, [esp + 0x470]
push 0
push edx
call fcn.0055ca80
add esp, 0xc
push 0x200
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.cmd.exe
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x474]
push 0x5b7940
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x44
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.0055ca80
add esp, 0x1c
push str.SPOOLER
push str._C_net_stop___s___Y
lea eax, [esp + 0x874]
xor edx, edx
push 0x400
push eax
mov dword [esp + 0x34], 0x44
mov word [esp + 0x64], dx
mov dword [esp + 0x60], 1
call fcn.005578c0
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x88c]
push eax
lea ecx, [esp + 0x490]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
je 0x4138b3
mov edx, dword [esp + 0x14]
push 0xea60
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0x18]
push ecx
call edi
push str.SPOOLER
push str.SPOOLER
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4138b3
call fcn.0046d2d8
mov eax, dword [eax + 4]
mov dword [eax + 0x8c0], 1
push esi
push str.return___08x
lea edx, [esp + 0x14]
push 2
push edx
call fcn.0044cd10
add esp, 0x10
lea ecx, [esp + 0xc]
mov dword [esp + 0x1080], 0xffffffff
call fcn.0044cc70
mov eax, esi
mov ecx, dword [esp + 0x1078]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1064]
xor ecx, esp
call fcn.0055649d
mov esp, ebp
pop ebp
ret
Function at 0x413910
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5868fb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x106c
call fcn.0055d880
mov eax, dword [0x5eb770]
xor eax, esp
mov dword [esp + 0x1068], eax
push ebx
push esi
push edi
mov eax, dword [0x5eb770]
xor eax, esp
push eax
lea eax, [esp + 0x1080]
mov dword fs:[0], eax
push 0
mov ebx, ecx
push str.ServiceStartFromCmdLine
push 0
lea ecx, [esp + 0x20]
call fcn.0044ca70
add esp, 0xc
push ebx
push str.lpszService___s
lea eax, [esp + 0x1c]
push 1
push eax
mov dword [esp + 0x1098], 0
call fcn.0044cd10
push 0x400
lea ecx, [esp + 0x88]
push 0
push ecx
call fcn.0055ca80
add esp, 0x1c
push 0x400
lea edx, [esp + 0x478]
push 0
push edx
call fcn.0055ca80
add esp, 0xc
push 0x200
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0x74]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.cmd.exe
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x47c]
push 0x5b7940
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x44
lea ecx, [esp + 0x40]
push 0
push ecx
call fcn.0055ca80
add esp, 0x1c
push ebx
push str._C_net_start___s___Y
lea eax, [esp + 0x87c]
xor edx, edx
push 0x400
push eax
mov dword [esp + 0x3c], 0x44
mov word [esp + 0x6c], dx
mov dword [esp + 0x68], 1
call fcn.005578c0
add esp, 0x10
xor ecx, ecx
call fcn.00414010
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x894]
push eax
lea ecx, [esp + 0x498]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
je 0x413a9b
mov ecx, 1
call fcn.00414010
mov edx, dword [esp + 0x1c]
push 0xea60
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0x20]
push ecx
call edi
push esi
push str.return___08x
lea edx, [esp + 0x1c]
push 2
push edx
call fcn.0044cd10
add esp, 0x10
lea ecx, [esp + 0x14]
mov dword [esp + 0x1088], 0xffffffff
call fcn.0044cc70
mov eax, esi
mov ecx, dword [esp + 0x1080]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1068]
xor ecx, esp
call fcn.0055649d
mov esp, ebp
pop ebp
ret
Function at 0x413ec0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584f10
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5eb770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push edi
mov esi, ecx
push str.GetServiceStartAndStopStatus
push edi
lea ecx, [ebp - 0x40]
call fcn.0044ca70
add esp, 0xc
push esi
push str.lpszService___s
lea eax, [ebp - 0x40]
push 1
push eax
mov dword [ebp - 4], edi
call fcn.0044cd10
add esp, 0x10
call fcn.0046d2d8
mov ecx, dword [eax + 4]
call fcn.00464015
push 0xf003f
push edi
push edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov dword [ebp - 0x38], ebx
cmp ebx, edi
je 0x413fb5
push 4
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x413f9b
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea ebx, [ebx]
lea ecx, [ebp - 0x2c]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp eax, 1
je 0x413f89
push 0x64
call ebx
inc esi
cmp esi, 0x96
jb 0x413f60
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, dword [ebp - 0x38]
jmp 0x413fab
mov edx, dword [ebp - 0x28]
push edi
mov dword [ebp - 0x30], edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, dword [ebp - 0x38]
jmp 0x413fab
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
jne 0x413fab
mov dword [ebp - 0x30], eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, dword [ebp - 0x30]
push edi
push str.return___08x
lea eax, [ebp - 0x40]
push 2
push eax
call fcn.0044cd10
add esp, 0x10
lea ecx, [ebp - 0x31]
mov byte [ebp - 4], 0
call fcn.004078f0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.0044cc70
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055649d
mov esp, ebp
pop ebp
ret
Function at 0x415190
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5eb770]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push str.Tool_ShoutCutCreateFolder
push ebx
lea ecx, [ebp - 0x1c]
call fcn.0044ca70
add esp, 0xc
push 0x17
push str.nFolder___d
lea eax, [ebp - 0x1c]
push 1
push eax
mov dword [ebp - 4], ebx
call fcn.0044cd10
add esp, 0x10
push 0x208
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov esi, eax
cmp esi, ebx
jne 0x415235
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push str.return___s
lea ecx, [ebp - 0x1c]
push 2
push ecx
call fcn.0044cd10
add esp, 0x10
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.0044cc70
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x10]
push edx
push 0x17
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edi, eax
mov eax, dword [ebp - 0x10]
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x41525a
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp edi, ebx
jne 0x415295
cmp dword [ebp - 0x10], ebx
je 0x415295
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
cmp eax, ebx
jl 0x415295
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x415295
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x10], ebx
push esi
push str.return___s
lea eax, [ebp - 0x1c]
push 2
push eax
call fcn.0044cd10
add esp, 0x10
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.0044cc70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4158c0
Capabilities:
Access peb ldr_data
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x589118
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x5eb770]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor esi, esi
push esi
push str.CheckConIme
push esi
lea ecx, [esp + 0x30]
call fcn.0044ca70
add esp, 0xc
push edi
push str.nMode___d
lea eax, [esp + 0x2c]
push 1
push eax
mov dword [esp + 0x48], esi
call fcn.0044cd10
add esp, 0x10
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x20], esi
call fcn.0046d2d8
mov ebx, dword [eax + 4]
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push esi
push str.Console
push SysReAllocStringLen
mov dword [ebx + 0x8b8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x415a0b
mov eax, 4
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push esi
push str.LoadConIme
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x4159fa
mov dword [esp + 0x18], 4
cmp edi, esi
je 0x4159b7
cmp dword [esp + 0xc], esi
je 0x4159bf
mov dword [esp + 0xc], esi
mov dword [esp + 0x20], 1
jmp 0x4159bf
mov dword [esp + 0xc], 1
mov ecx, dword [esp + 0x10]
push 4
lea eax, [esp + 0x10]
push eax
push 4
push esi
push str.LoadConIme
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, esi
jne 0x4159fa
cmp dword [esp + 0x20], esi
je 0x4159fe
mov dword [ebx + 0x8b8], 1
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x415a0f
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x415a0f
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x14]
push esi
push str.return___08x
lea eax, [esp + 0x2c]
push 2
push eax
call fcn.0044cd10
add esp, 0x10
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
call fcn.0044cc70
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416ac0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584d1b
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x5eb770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push edi
push str.Tool_DIASDeleteService
push edi
lea ecx, [ebp - 0x224]
call fcn.0044ca70
add esp, 0xc
push 0x44
lea eax, [ebp - 0x288]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.0055ca80
add esp, 0xc
xor eax, eax
push 0x208
lea ecx, [ebp - 0x218]
push edi
push ecx
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
call fcn.0055ca80
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
push 0x20019
push edi
push str.SOFTWARECanonDIASSETUP
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x22c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x416bca
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, dword [ebp - 0x21c]
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x228]
push eax
push edi
push str.Path
mov esi, 1
push ecx
mov dword [ebp - 0x22c], 0x208
mov dword [ebp - 0x228], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x416bfa
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push str.return___08x
lea eax, [ebp - 0x224]
push 2
push eax
call fcn.0044cd10
add esp, 0x10
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0xffffffff
call fcn.0044cc70
xor eax, eax
jmp 0x416ce1
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
xor edx, edx
push eax
mov dword [ebp - 0x288], 0x44
mov dword [ebp - 0x25c], esi
mov word [ebp - 0x258], dx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x21a], 0x5c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x416c4c
push 0x5b7ddc
lea ecx, [ebp - 0x218]
push ecx
call esi
push str.CnxDIAS.EXE
lea edx, [ebp - 0x218]
push edx
call esi
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x288]
push ecx
push edi
push edi
push edi
push edi
push edi
push edi
push str.__remove
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x23c]
mov edi, eax
mov eax, dword [ebp - 0x238]
push eax
call ebx
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x416cb3
lea ecx, [ebp - 0x240]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
call ebx
push edi
push str.return___08x
lea edx, [ebp - 0x224]
push 2
push edx
call fcn.0044cd10
add esp, 0x10
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0xffffffff
call fcn.0044cc70
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055649d
mov esp, ebp
pop ebp
ret
Function at 0x416d00
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584cdb
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x5eb770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
push esi
push str.Tool_DeleteRegOfPortSetUserID
push esi
lea ecx, [ebp - 0x228]
call fcn.0044ca70
add esp, 0xc
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], esi
push esi
push eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x220], esi
call fcn.0055ca80
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
push 0x2001f
push esi
push str.SOFTWARECanonPortSetPortSetUser
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x416dea
mov edx, dword [ebp - 0x21c]
push edx
lea ebx, [esi + 1]
call fcn.00416e40
mov edx, dword [ebp - 0x21c]
add esp, 4
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x218]
push ecx
push esi
push edx
mov dword [ebp - 0x220], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, esi
je 0x416ddb
push str.SOFTWARECanonPortSetPortSetUser
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, ebx
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x416def
mov esi, 1
push esi
push str.return___08x
lea ecx, [ebp - 0x228]
push 2
push ecx
call fcn.0044cd10
add esp, 0x10
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], 0xffffffff
call fcn.0044cc70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055649d
mov esp, ebp
pop ebp
ret
Function at 0x416e40
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x584c9b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5eb770]
xor eax, esp
mov dword [esp + 0x224], eax
push esi
push edi
mov eax, dword [0x5eb770]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
push edi
push str.Tool_DeleteRegValueOfPortSetUserID
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], eax
call fcn.0044ca70
add esp, 0xc
push ebx
push str.bDeleteKey___d
lea ecx, [esp + 0x20]
push 1
push ecx
mov dword [esp + 0x250], edi
call fcn.0044cd10
add esp, 0x10
mov dword [esp + 0x14], edi
call fcn.0046d2d8
mov esi, dword [eax + 4]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x416f26
lea edx, [esp + 0x10]
push edx
push 0x2001f
push eax
push str.SOFTWARECanonPortSetPortSetUser
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esp + 0x14], 1
test eax, eax
je 0x416f22
push edi
push str.return___08x
lea eax, [esp + 0x20]
push 2
push eax
call fcn.0044cd10
add esp, 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x240], 0xffffffff
call fcn.0044cc70
xor eax, eax
jmp 0x416fe3
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
push 0
test ebx, ebx
je 0x416f52
mov ecx, dword [esi + 0xe0]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x416fa6
mov esi, dword [esi + 0xe0]
mov ecx, dword [esp + 0x10]
push esi
push ecx
jmp 0x416f9b
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x38]
push ecx
push 1
push eax
mov dword [esp + 0x40], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x416fa6
mov eax, dword [esi + 0xe0]
mov edx, dword [esp + 0x10]
push 0
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x416fa6
mov esi, dword [esi + 0xe0]
mov eax, dword [esp + 0x10]
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, 1
cmp dword [esp + 0x14], 0
je 0x416fb8
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push str.return___08x
lea edx, [esp + 0x20]
push 2
push edx
call fcn.0044cd10
add esp, 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x240], 0xffffffff
call fcn.0044cc70
mov eax, edi
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.0055649d
mov esp, ebp
pop ebp
ret