joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ab29
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebx + 0x14]
sub esp, 0x10
cmp eax, 0xffffffff
je 0x46ac0d
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
lea ecx, [ebp - 4]
call fcn.00414f25
pop ecx
lea eax, [ebp - 4]
call fcn.0046b557
test eax, eax
je 0x46ac02
mov eax, dword [0x509500]
push esi
mov esi, 0x509500
push edi
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [0x509500]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
lea edi, [ebp - 0x10]
mov dword [ebp - 8], eax
call fcn.0046b5de
lea edi, [ebp - 8]
call fcn.0042454d
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401023
push dword [ebp - 4]
lea eax, [ebp - 0x10]
call fcn.0046b684
pop ecx
lea edi, [ebp - 0xc]
call fcn.0042454d
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401023
mov eax, edi
push eax
lea eax, [ebp - 8]
lea ecx, [ebp - 0x10]
call fcn.00414f25
pop ecx
push 0
push dword [eax]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401023
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401023
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401023
pop edi
pop esi
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401023
or dword [ebx + 0x14], 0xffffffff
leave
ret
Function at 0x46b086
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push 1
push 0xc0000000
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x10], esi
jne 0x46b0e5
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
push esi
push str.CreateFile:_d
call fcn.0042a6ea
push dword [ebp + 0xc]
push esi
push str.CreateFileByMem_CreateFile_error:_d__path:_ws
mov esi, 0x50b3f4
call fcn.00445464
add esp, 0x14
jmp 0x46b249
mov edi, dword [ebp + 8]
push ebx
push dword [edi + 4]
push ebx
push 4
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
cmp esi, ebx
mov dword [ebp - 8], eax
jne 0x46b120
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
push eax
push str.CreateFileMapping:_d
call fcn.0042a6ea
pop ecx
pop ecx
push dword [ebp + 0xc]
call esi
push eax
push str.CreateFileByMem_CreateFileMapping_error:_d__path:_ws
jmp 0x46b155
push dword [edi + 4]
push ebx
push ebx
push 2
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
cmp eax, ebx
mov dword [ebp - 0xc], eax
jne 0x46b167
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
push eax
push str.MapViewOfFile:_d
call fcn.0042a6ea
pop ecx
pop ecx
push dword [ebp + 0xc]
call esi
push eax
push str.CreateFileByMem_MapViewOfFile_error:_d__path:_ws
mov esi, 0x50b3f4
call fcn.00445464
add esp, 0xc
jmp 0x46b1f3
lea ebx, [edi + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x18], 0
mov esi, dword [ebx + 4]
je 0x46b186
cmp dword [ebp - 0x18], ebx
je 0x46b18b
call fcn.00484b94
cmp dword [ebp - 0x14], esi
je 0x46b1e1
lea esi, [ebp - 0x18]
call fcn.0046bb89
mov esi, dword [eax]
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x46b1a5
xor eax, eax
jmp 0x46b1aa
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push 0
call fcn.0046b96d
push eax
push dword [ebp - 4]
call fcn.00484d60
mov eax, dword [esi + 4]
add esp, 0xc
test eax, eax
jne 0x46b1c9
xor esi, esi
jmp 0x46b1ce
mov esi, dword [esi + 8]
sub esi, eax
add dword [ebp - 4], esi
lea edi, [ebp - 0x20]
lea esi, [ebp - 0x18]
call fcn.00471757
mov edi, dword [ebp + 8]
jmp 0x46b178
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
mov dword [ebp - 4], 1
xor ebx, ebx
cmp dword [ebp - 8], ebx
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
je 0x46b203
push dword [ebp - 8]
call esi
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 4], ebx
je 0x46b249
push dword [ebp + 0xc]
mov eax, edi
call fcn.0046b253
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x46b249
mov eax, 0xe0000025
call fcn.0042a6db
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push dword [ebp + 0xc]
mov esi, 0x50b3f4
push dword [ebp - 4]
push str.ChecksumFileByMem_return_d__path:_ws
call fcn.00445464
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x46b253
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push ebx
mov esi, eax
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
jne 0x46b2b1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
push esi
push str.CreateFile:_d
call fcn.0042a6ea
push ebx
push esi
push str.ChecksumFileByMem_CreateFile_error:_d__path:_ws
mov esi, 0x50b3f4
call fcn.00445464
add esp, 0x14
jmp 0x46b3f8
push edi
push dword [esi + 4]
push edi
push 2
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
jne 0x46b2f8
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
push eax
push str.CreateFileMapping:_d
call fcn.0042a6ea
pop ecx
pop ecx
push ebx
call esi
push eax
push str.ChecksumFileByMem_CreateFileMapping_error:_d__path:_ws
mov esi, 0x50b3f4
call fcn.00445464
add esp, 0xc
jmp 0x46b3e3
push dword [esi + 4]
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
cmp eax, edi
mov dword [ebp - 0xc], eax
jne 0x46b33d
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
push eax
push str.MapViewOfFile:_d
call fcn.0042a6ea
pop ecx
pop ecx
push ebx
call esi
push eax
push str.ChecksumFileByMem_MapViewOfFile_error:_d__path:_ws
mov esi, 0x50b3f4
call fcn.00445464
add esp, 0xc
jmp 0x46b3d5
lea ebx, [esi + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], edi
mov esi, dword [ebx + 4]
je 0x46b35b
cmp dword [ebp - 0x20], ebx
je 0x46b360
call fcn.00484b94
cmp dword [ebp - 0x1c], esi
je 0x46b3ce
lea esi, [ebp - 0x20]
call fcn.0046bb89
mov esi, dword [eax]
mov ecx, dword [esi + 4]
cmp ecx, edi
jne 0x46b37a
xor eax, eax
jmp 0x46b37f
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edi
call fcn.0046b96d
push eax
push dword [ebp - 8]
call fcn.00487d4a
add esp, 0xc
test eax, eax
jne 0x46b3b8
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x46b3a1
xor esi, esi
jmp 0x46b3a6
mov esi, dword [esi + 8]
sub esi, eax
add dword [ebp - 8], esi
lea edi, [ebp - 0x28]
lea esi, [ebp - 0x20]
call fcn.00471757
xor edi, edi
jmp 0x46b34e
push dword [ebp + 8]
mov esi, 0x50b3f4
push str.ChecksumFileByMem_memcmp_return_not_same__path:_ws
call fcn.00445464
pop ecx
pop ecx
jmp 0x46b3d5
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0xc], edi
je 0x46b3e3
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
cmp dword [ebp - 0x10], edi
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
je 0x46b3f3
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x14]
call esi
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x46b47c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 0xc], 0
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_WriteFile]
mov ebx, ecx
push 0
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 8], eax
push eax
jmp 0x46b4b3
mov eax, dword [ebp - 4]
add ebx, eax
sub dword [ebp - 8], eax
je 0x46b4bf
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push ebx
push dword [ebp + 8]
call esi
test eax, eax
jne 0x46b4a0
jmp 0x46b4c6
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
leave
ret

Function at 0x46b4cd
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 4]
call fcn.00423484
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46b502
xor esi, esi
inc esi
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401023
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
mov esi, dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x46b4ed
mov edi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call edi
mov ebx, 0xb7
cmp eax, ebx
je 0x46b4ed
lea eax, [ebp - 4]
call fcn.0046b402
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], 0
jne 0x46b539
xor esi, esi
jmp 0x46b4f0
push eax
call fcn.0046b4cd
test eax, eax
pop ecx
je 0x46b535
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x46b4ed
call edi
cmp eax, ebx
jne 0x46b535
jmp 0x46b4ed

Function at 0x46b5de
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
test byte [0x50b8d8], 1
jne 0x46b617
mov eax, dword [0x509500]
or dword [0x50b8d8], 1
mov ecx, 0x509500
call dword [eax + 0xc]
add eax, 0x10
push 0x4d981d
mov dword [0x50b8d4], eax
call fcn.00485bce
pop ecx
mov eax, dword [0x50b8d4]
cmp dword [eax - 0xc], 0
jne 0x46b673
push 0x104
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
test eax, eax
je 0x46b66e
push ebx
lea eax, [ebp - 0x208]
push esi
push eax
call fcn.00483779
pop ecx
lea ecx, [ebp - 0x208]
mov ebx, eax
mov esi, 0x50b8d4
push ecx
mov eax, esi
call fcn.00414fca
call fcn.0046b43f
push str.drivers_
push esi
call fcn.00401000
pop esi
pop ebx
mov eax, dword [0x50b8d4]
add eax, 0xfffffff0
call fcn.004244f5
add eax, 0x10
mov dword [edi], eax
mov eax, edi
leave
ret

Function at 0x46c541
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0
push dword [esp + 8]
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test eax, eax
jne 0x46c554
xor al, al
ret
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
setne al
ret
Function at 0x46c896
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push esi
lea eax, [ebp - 8]
push edi
push eax
call fcn.00437385
pop ecx
push dword [eax]
lea eax, [ebp - 4]
call fcn.00423484
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401023
mov esi, dword [ebp - 4]
cmp dword [esi - 0xc], 0
je 0x46c913
push str.operationcaskctrl.dat
lea eax, [ebp - 8]
call fcn.00423484
mov esi, dword [ebp - 8]
push dword [esi - 0xc]
lea eax, [ebp - 4]
push esi
call fcn.0040103b
lea eax, [esi - 0x10]
call fcn.00401023
mov esi, dword [ebp - 4]
push esi
push 0x50
push 0x4ee1e4
push 0x4e2828
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntW]
mov edi, eax
lea eax, [esi - 0x10]
call fcn.00401023
mov eax, edi
pop edi
pop esi
leave
ret
push 0x50
pop edi
jmp 0x46c905

Function at 0x46ca64
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x509500]
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov ecx, 0x509500
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
call dword [section..data]
cmp dword [ebp + 0xc], 0
je 0x46caa0
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x46caa4
xor eax, eax
jmp 0x46cabe
lea edi, [eax + eax]
mov eax, edi
call fcn.00493d50
mov esi, esp
push 0xfde9
push edi
push dword [ebp + 0xc]
call fcn.004350e1
push eax
lea eax, [ebp - 8]
push eax
call fcn.004234af
mov edi, dword [ebp - 8]
movzx eax, word [edi - 0xc]
mov dword [ebp - 4], eax
movzx eax, ax
xor ecx, ecx
test eax, eax
jle 0x46cae4
xor byte [ecx + edi], 0x88
inc ecx
cmp ecx, eax
jl 0x46cadb
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 2
add esi, 4
pop ebx
call fcn.0046c930
movzx ebx, word [ebp - 4]
push edi
call fcn.0046c930
lea eax, [edi - 0x10]
call fcn.00401023
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x46d0f6
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, eax
xor ebx, ebx
cmp dword [ebp + 8], ebx
push edi
setne al
mov word [edi + 0x2c], 0x165
call fcn.0046c9fd
movzx eax, byte [edi + 0x32]
push eax
mov ecx, edi
call fcn.0046ca19
cmp dword [ebp + 0xc], ebx
push edi
setne al
call fcn.0046c9fd
push 5
mov ecx, edi
call fcn.0046ca19
movzx eax, byte [edi + 0x36]
push eax
mov ecx, edi
call fcn.0046ca19
push str.ProgramPath
lea eax, [ebp + 8]
push str.softwarekingsoft_antivirus
push eax
call fcn.00472676
lea eax, [ebp + 8]
add esp, 0xc
push eax
call fcn.00472a8e
lea eax, [ebp + 8]
mov dword [esp], str.ressrcchsuplive.svr
push eax
call fcn.00401000
mov esi, dword [ebp + 8]
push esi
push ebx
push str.TryNo
push 0x4e2828
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntW]
mov ebx, eax
lea eax, [esi - 0x10]
call fcn.00401023
push ebx
mov ecx, edi
call fcn.0046ca32
call fcn.004d50b0
neg eax
sbb eax, eax
neg eax
movzx esi, ax
call fcn.004727fc
neg eax
sbb eax, eax
and eax, 2
movzx ebx, ax
call fcn.00472776
neg eax
sbb eax, eax
and eax, 4
movzx eax, ax
or eax, ebx
or eax, esi
push eax
mov ecx, edi
call fcn.0046ca32
mov eax, dword [0x50a840]
test eax, eax
jne 0x46d1d9
push 2
pop eax
push eax
mov ecx, edi
call fcn.0046ca19
push dword [ebp + 0x10]
mov ecx, edi
call fcn.0046ca19
call fcn.0042af01
push eax
mov ecx, edi
call fcn.0046ca4b
call fcn.0046cbff
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x46dc56
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push eax
call fcn.00437385
pop ecx
push dword [eax]
lea eax, [ebp - 8]
call fcn.00423484
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401023
mov esi, dword [ebp - 8]
cmp dword [esi - 0xc], 0
je 0x46dcfc
push str.operationcaskctrl.dat
lea eax, [ebp - 4]
call fcn.00423484
mov esi, dword [ebp - 4]
push dword [esi - 0xc]
lea eax, [ebp - 8]
push esi
call fcn.0040103b
lea eax, [esi - 0x10]
call fcn.00401023
and word [ebp - 0x208], 0
push 0x1fe
lea eax, [ebp - 0x206]
push 0
push eax
call fcn.004857c0
mov esi, dword [ebp - 8]
add esp, 0xc
push esi
push pe_nt_image_headers32
lea eax, [ebp - 0x208]
push eax
push 0x4e9bdc
push 0x4f1be4
push 0x4e2828
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
lea eax, [ebp - 0x208]
push eax
jmp 0x46dd01
push str.http:__helpdesktop0.ksmobile.com_c_
mov eax, ebx
call fcn.00423484
lea eax, [esi - 0x10]
call fcn.00401023
mov eax, ebx
pop esi
leave
ret
Function at 0x46dd15
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push eax
call fcn.00437385
pop ecx
push dword [eax]
lea eax, [ebp - 8]
call fcn.00423484
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401023
mov esi, dword [ebp - 8]
cmp dword [esi - 0xc], 0
je 0x46ddbb
push str.operationcaskctrl.dat
lea eax, [ebp - 4]
call fcn.00423484
mov esi, dword [ebp - 4]
push dword [esi - 0xc]
lea eax, [ebp - 8]
push esi
call fcn.0040103b
lea eax, [esi - 0x10]
call fcn.00401023
and word [ebp - 0x208], 0
push 0x1fe
lea eax, [ebp - 0x206]
push 0
push eax
call fcn.004857c0
mov esi, dword [ebp - 8]
add esp, 0xc
push esi
push pe_nt_image_headers32
lea eax, [ebp - 0x208]
push eax
push 0x4e9bdc
push str.server1
push 0x4e2828
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
lea eax, [ebp - 0x208]
push eax
jmp 0x46ddc0
push str.http:__helpdesktop1.ksmobile.com_c_
mov eax, ebx
call fcn.00423484
lea eax, [esi - 0x10]
call fcn.00401023
mov eax, ebx
pop esi
leave
ret

Function at 0x46df05
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
and word [ebp - 0x21c], 0
push ebx
push esi
push edi
push 0x206
lea eax, [ebp - 0x21a]
push 0
push eax
call fcn.004857c0
mov esi, dword [ebp + 8]
mov edi, 0x509500
add esp, 0xc
mov ecx, edi
call fcn.0040f32d
mov eax, dword [0x509500]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
mov eax, dword [0x50b1c0]
add eax, 0xfffffff0
call fcn.004244f5
lea esi, [eax + 0x10]
mov eax, dword [0x50b1c0]
add eax, 0xfffffff0
call fcn.004244f5
lea ebx, [eax + 0x10]
lea eax, [ebp - 0x10]
push eax
mov eax, esi
mov dword [ebp - 0x14], ebx
call fcn.004051be
pop ecx
push eax
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0xc]
call fcn.00414f25
pop ecx
lea edi, [ebp - 8]
call fcn.0042454d
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401023
lea eax, [ebx - 0x10]
call fcn.00401023
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401023
lea eax, [esi - 0x10]
call fcn.00401023
mov esi, dword [ebp - 8]
push esi
push 0x208
lea eax, [ebp - 0x21c]
push eax
push 0x4e96b4
push str.TryNo
push 0x4e2828
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
test eax, eax
je 0x46dff0
lea eax, [ebp - 0x21c]
push eax
push dword [ebp + 8]
call fcn.00414fa4
lea eax, [esi - 0x10]
call fcn.00401023
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x46e572
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
xor ecx, ecx
push ecx
push eax
push dword [edi + 4]
lea esi, [ebp - 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
call fcn.00440858
test eax, eax
mov ebx, 0x50b3f4
je 0x46e63b
mov eax, dword [edi + 0xc]
xor esi, esi
cmp dword [edi + 0x1c], esi
je 0x46e60b
cmp dword [eax - 0xc], esi
jne 0x46e5f6
cmp dword [ebp - 4], esi
je 0x46e5bf
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [edi + 8]
mov dword [ebp - 4], esi
push dword [edi + 4]
mov esi, ebx
push str.DeleteSubKeyTree_root:_d__path:_ws
call fcn.00445464
push dword [edi + 8]
push dword [edi + 4]
call fcn.0042a30f
push eax
push str.DeleteSubKeyTree_return:_d
mov dword [ebp - 0xc], eax
call fcn.00445464
add esp, 0x1c
cmp dword [ebp - 0xc], 0
jmp 0x46e607
cmp dword [ebp - 4], esi
je 0x46e63b
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x46e63b
jmp 0x46e634
cmp dword [eax - 0xc], esi
je 0x46e634
cmp dword [edi + 0x18], 4
jne 0x46e624
push dword [edi + 0x14]
push eax
lea eax, [ebp - 4]
call fcn.00404cc2
jmp 0x46e630
push dword [edi + 0x10]
lea esi, [ebp - 4]
push eax
call fcn.00472a5a
test eax, eax
je 0x46e63b
mov dword [ebp - 8], 1
push dword [edi + 0x10]
mov esi, ebx
push dword [edi + 0xc]
push dword [edi + 0x18]
push dword [edi + 8]
push dword [edi + 4]
push dword [edi + 0x1c]
push dword [ebp - 8]
push str.KExecReg_Run_Return:_d__delete:_d__root:0x_x__path:_ws__type:_d__name:_ws__value:_ws
call fcn.00445464
add esp, 0x20
cmp dword [ebp - 4], 0
pop edi
pop esi
pop ebx
je 0x46e671
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
leave
ret

Function at 0x46e7d2
Capabilities:
Delete service

Disassembly:
push edi
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x46e7ec
pop edi
jmp dword [sym.imp.KERNEL32.DLL_GetLastError]
push ebx
push esi
push 0x10000
push dword [esp + 0x14]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
jne 0x46e81b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
push edi
call ebx
mov eax, esi
pop esi
pop ebx
pop edi
ret
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x46e83e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
call edi
push esi
call edi
mov eax, ebx
jmp 0x46e817
push esi
call ebx
xor esi, esi
jmp 0x46e812
Function at 0x46e845
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push 0x40000000
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x46e86a
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x46e8b7
push ebx
push esi
push 0x14
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
cmp ebx, edi
jne 0x46e891
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
push dword [ebp - 4]
jmp 0x46e8dd
push 6
mov dword [ebp - 0x20], edi
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x46e8ba
cmp dword [ebp - 0x1c], 4
jne 0x46e8ba
xor eax, eax
pop esi
pop ebx
pop edi
leave
ret
xor edi, edi
push edi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x46e8e3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
push ebx
call esi
mov eax, edi
jmp 0x46e8b5
push ebx
call esi
jmp 0x46e88c

Function at 0x46e8e8
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push 0x40000000
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x46e90d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x46e936
push ebx
push edi
push 0x24
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
cmp ebx, esi
jne 0x46e939
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
pop edi
pop ebx
pop esi
leave
ret
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x40], esi
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x46e971
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
push ebx
call esi
mov eax, edi
jmp 0x46e934
push 6
mov dword [ebp - 0x24], esi
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
mov dword [ebp - 8], esi
mov esi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
rep stosd dword es:[edi], eax
jmp 0x46e997
cmp dword [ebp - 0x20], 1
je 0x46e9ab
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 0x24]
push eax
push ebx
call esi
test eax, eax
jne 0x46e989
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 8], eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, dword [ebp - 8]
jmp 0x46e929