joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444070
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x47b038]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, dword [esp + 0x21c]
push edi
lea ecx, [esp + 0xc]
push ecx
xor eax, eax
push 0x2e
push eax
xor edi, edi
mov word [esp + 0x1c], ax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4440e6
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x4440f7
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4440f7
push 0
push 0x2e
lea eax, [esp + 0x18]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [esp + 0x10], di
je 0x444137
test esi, esi
je 0x44411f
lea eax, [esp + 0x10]
mov edx, esi
mov ecx, eax
sub edx, ecx
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x444110
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x444126
sub eax, edx
sar eax, 1
jmp 0x444139
mov eax, edi
mov ecx, dword [esp + 0x218]
pop edi
pop esi
xor ecx, esp
call fcn.0044ac80
add esp, 0x214
ret 4

Function at 0x444160
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x47b038]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, dword [esp + 0x21c]
push edi
lea ecx, [esp + 0xc]
push ecx
xor eax, eax
push 0x23
push eax
xor edi, edi
mov word [esp + 0x1c], ax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4441d4
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x4441d4
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp word [esp + 0x10], di
je 0x444217
test esi, esi
je 0x4441ff
lea eax, [esp + 0x10]
mov edx, esi
mov ecx, eax
sub edx, ecx
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4441f0
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x444206
sub eax, edx
sar eax, 1
jmp 0x444219
mov eax, edi
mov ecx, dword [esp + 0x218]
pop edi
pop esi
xor ecx, esp
call fcn.0044ac80
add esp, 0x214
ret 4

Function at 0x4442c0
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push edi
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4442f6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret 4
Function at 0x444d60
Capabilities:
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0xa84
mov eax, dword [0x47b038]
xor eax, esp
mov dword [esp + 0xa80], eax
mov eax, dword [esp + 0xa8c]
push ebx
mov ebx, dword [esp + 0xa9c]
push esi
mov esi, dword [esp + 0xa90]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x444db7
lea edx, [esp + 0x470]
mov eax, ebx
sub edx, ebx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x444da6
jmp 0x444dd7
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x461ab4]
mov word [esp + eax + 0x470], cx
add eax, 2
test cx, cx
jne 0x444dc0
lea ecx, [esp + 0x470]
push ecx
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [esp + 0x888]
push 0x461a90
push edx
call esi
add esp, 0x10
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x884]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x444f5c
push ebp
mov ebp, dword [esp + 0xa9c]
push edi
mov edi, dword [esp + 0xaa4]
jmp 0x444e30
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x4c]
push edx
push eax
lea ecx, [esp + 0x688]
push 0x461a90
push ecx
call esi
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x5c]
push edx
push eax
lea ecx, [esp + 0x288]
push 0x461a90
push ecx
call esi
add esp, 0x20
test byte [esp + 0x20], 0x10
je 0x444f1d
test edi, edi
je 0x444f37
mov ecx, 0x461aa4
lea eax, [esp + 0x4c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x444ea7
test dx, dx
je 0x444ea3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x444ea7
add eax, 4
add ecx, 4
test dx, dx
jne 0x444e81
xor eax, eax
jmp 0x444eac
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x444f37
mov ecx, 0x461a9c
lea eax, [esp + 0x4c]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x444ee6
test dx, dx
je 0x444ee2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x444ee6
add eax, 4
add ecx, 4
test dx, dx
jne 0x444ec0
xor eax, eax
jmp 0x444eeb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x444f37
push 0
lea edx, [esp + 0x274]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
push edi
push ebp
lea eax, [esp + 0x27c]
push eax
lea ecx, [esp + 0x690]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00444d60
jmp 0x444f37
mov ecx, dword [esp + 0x10]
push ebp
lea edx, [esp + 0x274]
push edx
lea eax, [esp + 0x688]
push eax
call fcn.004449d0
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x444e30
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop ebp
mov ecx, dword [esp + 0xa88]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0044ac80
add esp, 0xa84
ret 0x14
Function at 0x4452e0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x22c
mov eax, dword [0x47b038]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
mov ebp, dword [esp + 0x23c]
push esi
push edi
mov edi, dword [esp + 0x240]
xor eax, eax
mov ebx, ecx
push 0x206
push eax
lea ecx, [esp + 0x3a]
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebp
xor esi, esi
mov word [esp + 0x3c], ax
call fcn.0044ac90
add esp, 0xc
push esi
push edi
mov ecx, ebx
mov byte [esp + 0x1b], 0
call fcn.004421d0
lea edx, [esp + 0x30]
test al, al
je 0x44546d
mov eax, edi
sub edx, edi
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x445350
mov dword [esp + 0x20], esi
test ebp, ebp
je 0x44536a
mov dword [ebp], esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
test ebp, ebp
jbe 0x44541d
push ebp
call fcn.0044ad7f
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
je 0x44541d
push edi
push ebp
push 0
lea edx, [esp + 0x3c]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x445414
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x461a8c
push edi
mov dword [esp + 0x24], esi
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [esp + 0x14]
mov dx, word [eax + 8]
mov si, word [eax + 0xe]
movzx ebx, word [eax + 0xc]
mov cx, word [eax + 0xa]
movzx edi, dx
mov edx, dword [esp + 0x28]
push edx
movzx ebp, si
push ebx
push ebp
movzx esi, cx
push edi
push esi
push str.GetFileVersion____d__d__d__d___s__n
call fcn.0043e2c0
mov eax, dword [esp + 0x3c]
shl esi, 0x10
or esi, edi
mov edi, dword [esp + 0x30]
add esp, 0x18
test eax, eax
je 0x445410
shl ebp, 0x10
or ebp, ebx
mov dword [eax], ebp
mov ebx, dword [esp + 0x1c]
push edi
call fcn.0044ad0a
add esp, 4
cmp byte [esp + 0x13], 0
je 0x445442
push 0
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call fcn.004421d0
test al, al
je 0x445442
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
call fcn.00442ba0
push esi
push str.GetFileVersion_returns_0x_08x_n
call fcn.0043e1d0
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044ac80
add esp, 0x22c
ret 8
push edx
push 0
push 0x46cee8
mov ecx, ebx
call fcn.00442cd0
test eax, eax
je 0x44535f
push 0
lea eax, [esp + 0x34]
push eax
push edi
mov ecx, ebx
mov byte [esp + 0x1f], 1
call fcn.004449d0
test eax, eax
jne 0x44535f
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call fcn.004421d0
test al, al
je 0x4454bd
lea edx, [esp + 0x30]
push edx
mov ecx, ebx
call fcn.00442ba0
xor eax, eax
jmp 0x445452
Function at 0x445e30
Capabilities:
Get file version info

Disassembly:
sub esp, 0x22c
mov eax, dword [0x47b038]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
mov ebp, dword [esp + 0x23c]
push esi
push edi
mov edi, dword [esp + 0x240]
xor eax, eax
mov ebx, ecx
push 0x206
push eax
lea ecx, [esp + 0x3a]
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebp
xor esi, esi
mov word [esp + 0x3c], ax
call fcn.0044ac90
add esp, 0xc
push esi
push edi
mov ecx, ebx
mov byte [esp + 0x1b], 0
call fcn.004421d0
lea edx, [esp + 0x30]
test al, al
je 0x445fbd
mov eax, edi
sub edx, edi
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x445ea0
mov dword [esp + 0x20], esi
test ebp, ebp
je 0x445eba
mov dword [ebp], esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
test ebp, ebp
jbe 0x445f6d
push ebp
call fcn.0044ad7f
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
je 0x445f6d
push edi
push ebp
push 0
lea edx, [esp + 0x3c]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x445f64
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x461a8c
push edi
mov dword [esp + 0x24], esi
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [esp + 0x14]
mov dx, word [eax + 0x10]
mov si, word [eax + 0x16]
movzx ebx, word [eax + 0x14]
mov cx, word [eax + 0x12]
movzx edi, dx
mov edx, dword [esp + 0x28]
push edx
movzx ebp, si
push ebx
push ebp
movzx esi, cx
push edi
push esi
push str.GetProductVersion____d__d__d__d___s__n
call fcn.0043e2c0
mov eax, dword [esp + 0x3c]
shl esi, 0x10
or esi, edi
mov edi, dword [esp + 0x30]
add esp, 0x18
test eax, eax
je 0x445f60
shl ebp, 0x10
or ebp, ebx
mov dword [eax], ebp
mov ebx, dword [esp + 0x1c]
push edi
call fcn.0044ad0a
add esp, 4
cmp byte [esp + 0x13], 0
je 0x445f92
push 0
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call fcn.004421d0
test al, al
je 0x445f92
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
call fcn.00442ba0
push esi
push str.GetProductVersion_returns_0x_08x_n
call fcn.0043e1d0
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044ac80
add esp, 0x22c
ret 8
push edx
push 0
push 0x46cee8
mov ecx, ebx
call fcn.00442cd0
test eax, eax
je 0x445eaf
push 0
lea eax, [esp + 0x34]
push eax
push edi
mov ecx, ebx
mov byte [esp + 0x1f], 1
call fcn.004449d0
test eax, eax
jne 0x445eaf
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call fcn.004421d0
test al, al
je 0x44600d
lea edx, [esp + 0x30]
push edx
mov ecx, ebx
call fcn.00442ba0
xor eax, eax
jmp 0x445fa2
Function at 0x447340
Capabilities:
Create directory
Get common file path
Move file

Disassembly:
sub esp, 0xa2c
mov eax, dword [0x47b038]
xor eax, esp
mov dword [esp + 0xa28], eax
push ebx
mov ebx, dword [esp + 0xa34]
push ebp
push esi
push edi
mov edi, dword [esp + 0xa44]
push str.CopyFileWithErrorHandle_WCHAR_version_n
mov esi, ecx
call fcn.0043e2c0
mov eax, dword [esp + 0xa4c]
add esp, 4
push eax
push edi
push ebx
mov ecx, esi
call fcn.004449d0
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebp, ebp
jne 0x44758c
cmp eax, 5
je 0x4473a4
cmp eax, 0x20
jne 0x44758c
lea ecx, [esp + 0x420]
push ecx
push 0
push 0x473708
mov ecx, esi
call fcn.00442cd0
test eax, eax
je 0x44758c
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x1a]
push eax
mov word [esp + 0x1c], dx
call fcn.0044ac90
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00444160
lea edx, [esp + 0x10]
push edx
push str.Common_App_Data_Folder___s__n
call fcn.0043e2c0
add esp, 8
cmp word [esp + 0x10], 0
je 0x447504
lea eax, [esp + 0x10]
add eax, 0xfffffffe
lea ecx, [ecx]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x447410
mov ecx, dword [str._temp]
mov edx, dword [0x4736c4]
mov dword [eax], ecx
mov ecx, dword [0x4736c8]
mov dword [eax + 4], edx
push 0
lea edx, [esp + 0x14]
push edx
mov dword [eax + 8], ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x222]
push ecx
mov word [esp + 0x224], ax
call fcn.0044ac90
add esp, 0xc
lea edx, [esp + 0x218]
push edx
push 0
push 0x473708
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4474ed
cmp word [esp + 0x218], 0
je 0x4474ed
push 0
lea ecx, [esp + 0x424]
push ecx
mov ecx, esi
call fcn.004421d0
test al, al
je 0x4474b0
lea edx, [esp + 0x420]
push edx
mov ecx, esi
call fcn.00442ba0
xor eax, eax
jmp 0x4474c0
movzx ecx, word [esp + eax + 0x218]
mov word [esp + eax + 0x420], cx
add eax, 2
test cx, cx
jne 0x4474c0
lea eax, [esp + 0x420]
push eax
push str.__Change_Temp_folder_file_to___s__n
call fcn.0043e2c0
add esp, 8
lea ecx, [esp + 0x420]
push ecx
push str.__Temp_FileName___s__n
call fcn.0043e2c0
add esp, 8
jmp 0x447511
push str.Cannon_Get_App_Data_Folder_n
call fcn.0043e2c0
add esp, 4
mov edx, dword [esp + 0xa48]
push edx
lea eax, [esp + 0x424]
push eax
push ebx
mov ecx, esi
call fcn.004449d0
test eax, eax
je 0x44758c
cmp byte [esi + 5], 0
je 0x447579
push 0
lea ecx, [esp + 0x424]
push ecx
lea edx, [esp + 0x838]
push edx
mov ecx, esi
call fcn.00441f80
push 0
push edi
lea eax, [esp + 0x220]
push eax
mov ecx, esi
call fcn.00441f80
push 5
lea ecx, [esp + 0x21c]
push ecx
lea edx, [esp + 0x838]
push edx
mov ecx, esi
call fcn.00442820
jmp 0x44758e
push 5
push edi
lea eax, [esp + 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x44758e
mov eax, ebp
mov ecx, dword [esp + 0xa38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044ac80
add esp, 0xa2c
ret 0xc
Function at 0x447810
Capabilities:
Create service
Persist via windows service

Disassembly:
sub esp, 0x418
mov eax, dword [0x47b038]
xor eax, esp
mov dword [esp + 0x414], eax
mov eax, dword [esp + 0x424]
push ebx
mov ebx, dword [esp + 0x424]
push esi
push edi
mov edi, dword [esp + 0x428]
push str.KXSVC::InstallService_n
mov esi, ecx
mov dword [esp + 0x18], eax
call fcn.0043e2c0
add esp, 4
cmp byte [esi + 8], 0
mov byte [esp + 0xf], 0
mov dword [esp + 0x10], 0
jne 0x4479b8
push ebp
push 0xf003f
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebp, eax
test ebp, ebp
je 0x44799f
mov eax, dword [esp + 0x438]
test eax, eax
je 0x4478a4
lea edx, [esp + 0x21c]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x447893
jmp 0x4478c0
push 0x104
lea ecx, [esp + 0x220]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
jmp 0x4478d0
movzx ecx, word [eax + 0x464b78]
mov word [esp + eax + 0x1c], cx
add eax, 2
test cx, cx
jne 0x4478d0
lea eax, [esp + 0x21c]
mov edx, eax
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4478f0
lea edi, [esp + 0x1c]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x447904
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1c]
add edi, 0xfffffffe
jmp 0x447930
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x447930
mov ecx, dword [esp + 0x18]
push 0
mov edx, dword [0x464b78]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x30]
push eax
push 1
push 2
push 0x10
push 0xf01ff
push ecx
push ebx
push ebp
mov dword [edi], edx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
je 0x447982
push eax
mov byte [esp + 0x17], 1
call esi
push ebp
call esi
jmp 0x4479b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KXSVC::InstallService___CreateService_error___d_n
mov dword [esp + 0x1c], eax
call fcn.0043e2c0
add esp, 8
push ebp
call esi
jmp 0x4479b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KXSVC::InstallService___OpenSCManager_error___d_n
mov dword [esp + 0x1c], eax
call fcn.0043e2c0
add esp, 8
pop ebp
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0x420]
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044ac80
add esp, 0x418
ret 0x10
Function at 0x4479f0
Capabilities:
Delete service
Stop service

Disassembly:
sub esp, 0x1c
push ebx
push esi
push str.KXSVC::UnistallService_n
mov esi, ecx
call fcn.0043e2c0
xor bl, bl
add esp, 4
cmp byte [esi + 8], bl
jne 0x447afd
mov eax, dword [esp + 0x28]
push edi
push 0xf003f
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x447ade
mov ecx, dword [esp + 0x30]
push ebp
push 0xf01ff
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x447abb
lea edx, [esp + 0x10]
push edx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x447a69
push str.KXSVC::UnnstallService___Stop_service_success_n
call fcn.0043e2c0
add esp, 4
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x447a95
push str.KXSVC::UnnstallService___DeleteService_success_n
call fcn.0043e2c0
add esp, 4
push esi
mov bl, 1
call ebp
push edi
call ebp
pop ebp
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x1c
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KXSVC::UnnstallService___DeleteService_error___d_n
call fcn.0043e2c0
add esp, 8
push esi
call ebp
push edi
call ebp
pop ebp
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x1c
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KXSVC::UnnstallService___OpenService_error___d_n
call fcn.0043e2c0
add esp, 8
push edi
call ebp
pop ebp
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x1c
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KXSVC::UnnstallService___OpenSCManager_error___d_n
call fcn.0043e2c0
add esp, 8
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x1c
ret 8
pop esi
mov al, bl
pop ebx
add esp, 0x1c
ret 8

Function at 0x447b10
Capabilities:
Start service

Disassembly:
push ebx
push esi
push str.KXSVC::StartService_n
mov esi, ecx
call fcn.0043e2c0
xor bl, bl
add esp, 4
cmp byte [esi + 8], bl
jne 0x447bd2
mov eax, dword [esp + 0xc]
push edi
push 0xf003f
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x447bb6
mov ecx, dword [esp + 0x14]
push ebp
push 0xf01ff
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x447b96
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x447b87
push str.KXSVC::StartService___Control_service_success_n
call fcn.0043e2c0
add esp, 4
mov bl, 1
push esi
call ebp
push edi
call ebp
pop ebp
pop edi
pop esi
mov al, bl
pop ebx
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KXSVC::StartService___OpenService_error___d_n
call fcn.0043e2c0
add esp, 8
push edi
call ebp
pop ebp
pop edi
pop esi
mov al, bl
pop ebx
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KXSVC::StartService___OpenSCManager_error___d_n
call fcn.0043e2c0
add esp, 8
pop edi
pop esi
mov al, bl
pop ebx
ret 0x10
pop esi
mov al, bl
pop ebx
ret 0x10
Function at 0x447e10
Capabilities:
Query service status

Disassembly:
sub esp, 0x20
push ebx
push esi
push str.KXSVC::GetServiceStatus_n
mov esi, ecx
call fcn.0043e2c0
xor ebx, ebx
add esp, 4
mov dword [esp + 8], ebx
cmp byte [esi + 8], bl
jne 0x447ef2
mov eax, dword [esp + 0x2c]
push edi
push 0xf003f
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
cmp edi, ebx
je 0x447edb
mov ecx, dword [esp + 0x34]
push ebp
push 0xf01ff
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
cmp esi, ebx
je 0x447ead
lea edx, [esp + 0x14]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x447e92
push str.KXSVC::GetServiceStatus___QueryServiceStatus_success_n
call fcn.0043e2c0
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x10], eax
push esi
call ebp
push edi
call ebp
pop ebp
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 8]
pop esi
pop ebx
add esp, 0x20
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push ebx
push str.KXSVC::GetServiceStatus___OpenService_error___d_n
call fcn.0043e2c0
add esp, 8
push edi
call ebp
pop ebp
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 8]
pop esi
pop ebx
add esp, 0x20
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push ebx
push str.KXSVC::GetServiceStatus___OpenSCManager_error___d_n
call fcn.0043e2c0
add esp, 8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 8]
pop esi
pop ebx
add esp, 0x20
ret 8
Function at 0x4482a0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0xffffffffffffffff
push 0x4604d9
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x47b038]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47b038]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x23c]
mov esi, ecx
lea ecx, [esi + 0x620]
mov dword [esp + 0x1c], esi
call fcn.004031d0
push 0
push 0
mov dword [esp + 0x23c], 0
mov byte [esi], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
push 0
push 0
push 3
push 4
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [esp + 0x18], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x2a]
lea edi, [esi + 0x638]
lea ebp, [esi + 0x63c]
push ecx
mov dword [edi], 0
mov dword [ebp], 0
mov word [esp + 0x2c], ax
call fcn.0044ac90
push ebx
lea edx, [esp + 0x30]
push str._s_rootcimv2
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call fcn.00441940
cmp dword [esp + 0x18], 0
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x234], 1
jl 0x448407
push edi
push 0x476adc
push 5
push 0
push 0x476bac
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x448407
test ebx, ebx
je 0x4483ad
mov ecx, dword [ebx]
jmp 0x4483af
xor ecx, ecx
mov eax, dword [edi]
mov edx, dword [eax]
push ebp
push 0
push 0
push 0x80
push 0
push 0
push 0
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
test eax, eax
jge 0x4483da
mov edi, dword [edi]
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
jmp 0x448407
mov eax, dword [ebp]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jge 0x448404
mov ebp, dword [ebp]
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
push ebp
call edx
jmp 0x448407
mov byte [esi], 1
push 0x634
lea eax, [esi + 4]
push 0
push eax
call fcn.0044ac90
add esp, 0xc
mov byte [esp + 0x234], 0
test ebx, ebx
je 0x44845a
lea eax, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x44845a
mov eax, dword [ebx]
test eax, eax
je 0x448441
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
test eax, eax
je 0x448451
push eax
call fcn.0044ad0a
add esp, 4
push ebx
call fcn.0044ad0a
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0044ac80
add esp, 0x224
ret 4