joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4486b0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x22c
mov eax, dword [0x47f038]
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.0044e1b0
add esp, 0xc
push esi
push edi
mov ecx, ebx
mov byte [esp + 0x1b], 0
call fcn.004454a0
lea edx, [esp + 0x30]
test al, al
je 0x44883d
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 0x448720
mov dword [esp + 0x20], esi
test ebp, ebp
je 0x44873a
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 0x4487ed
push ebp
call fcn.0044e29f
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
je 0x4487ed
push edi
push ebp
push 0
lea edx, [esp + 0x3c]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4487e4
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x464acc
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.004412c0
mov eax, dword [esp + 0x3c]
shl esi, 0x10
or esi, edi
mov edi, dword [esp + 0x30]
add esp, 0x18
test eax, eax
je 0x4487e0
shl ebp, 0x10
or ebp, ebx
mov dword [eax], ebp
mov ebx, dword [esp + 0x1c]
push edi
call fcn.0044e22a
add esp, 4
cmp byte [esp + 0x13], 0
je 0x448812
push 0
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call fcn.004454a0
test al, al
je 0x448812
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
call fcn.00445e70
push esi
push str.GetFileVersion_returns_0x_08x_n
call fcn.004411d0
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044e1a0
add esp, 0x22c
ret 8
push edx
push 0
push 0x470790
mov ecx, ebx
call fcn.00445fa0
test eax, eax
je 0x44872f
push 0
push 0
lea eax, [esp + 0x38]
push eax
push edi
mov ecx, ebx
mov byte [esp + 0x23], 1
call fcn.00447d30
test eax, eax
jne 0x44872f
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call fcn.004454a0
test al, al
je 0x44888f
lea edx, [esp + 0x30]
push edx
mov ecx, ebx
call fcn.00445e70
xor eax, eax
jmp 0x448822
Function at 0x449200
Capabilities:
Get file version info

Disassembly:
sub esp, 0x22c
mov eax, dword [0x47f038]
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.0044e1b0
add esp, 0xc
push esi
push edi
mov ecx, ebx
mov byte [esp + 0x1b], 0
call fcn.004454a0
lea edx, [esp + 0x30]
test al, al
je 0x44938d
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 0x449270
mov dword [esp + 0x20], esi
test ebp, ebp
je 0x44928a
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 0x44933d
push ebp
call fcn.0044e29f
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
je 0x44933d
push edi
push ebp
push 0
lea edx, [esp + 0x3c]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x449334
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x464acc
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.004412c0
mov eax, dword [esp + 0x3c]
shl esi, 0x10
or esi, edi
mov edi, dword [esp + 0x30]
add esp, 0x18
test eax, eax
je 0x449330
shl ebp, 0x10
or ebp, ebx
mov dword [eax], ebp
mov ebx, dword [esp + 0x1c]
push edi
call fcn.0044e22a
add esp, 4
cmp byte [esp + 0x13], 0
je 0x449362
push 0
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call fcn.004454a0
test al, al
je 0x449362
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
call fcn.00445e70
push esi
push str.GetProductVersion_returns_0x_08x_n
call fcn.004411d0
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044e1a0
add esp, 0x22c
ret 8
push edx
push 0
push 0x470790
mov ecx, ebx
call fcn.00445fa0
test eax, eax
je 0x44927f
push 0
push 0
lea eax, [esp + 0x38]
push eax
push edi
mov ecx, ebx
mov byte [esp + 0x23], 1
call fcn.00447d30
test eax, eax
jne 0x44927f
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call fcn.004454a0
test al, al
je 0x4493df
lea edx, [esp + 0x30]
push edx
mov ecx, ebx
call fcn.00445e70
xor eax, eax
jmp 0x449372
Function at 0x44a850
Capabilities:
Create directory
Get common file path
Move file

Disassembly:
sub esp, 0xa2c
mov eax, dword [0x47f038]
xor eax, esp
mov dword [esp + 0xa28], eax
push ebx
mov ebx, dword [esp + 0xa38]
push ebp
mov ebp, dword [esp + 0xa38]
push esi
push edi
push str.CopyFileWithErrorHandle_WCHAR_version_n
mov esi, ecx
call fcn.004412c0
mov edi, dword [esp + 0xa50]
push edi
push str.bCopyCompressSrcToTemp___d__n
call fcn.004412c0
mov eax, dword [esp + 0xa54]
add esp, 0xc
push edi
push eax
push ebx
push ebp
mov ecx, esi
call fcn.00447d30
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x44aaae
cmp eax, 5
je 0x44a8c7
cmp eax, 0x20
jne 0x44aaae
lea ecx, [esp + 0x420]
push ecx
push 0
push 0x4771a8
mov ecx, esi
call fcn.00445fa0
test eax, eax
je 0x44aaae
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x1a]
push eax
mov word [esp + 0x1c], dx
call fcn.0044e1b0
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00447430
lea edx, [esp + 0x10]
push edx
push str.Common_App_Data_Folder___s__n
call fcn.004412c0
add esp, 8
cmp word [esp + 0x10], 0
je 0x44aa24
lea eax, [esp + 0x10]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x44a930
mov ecx, dword [str._temp]
mov edx, dword [0x477164]
mov dword [eax], ecx
mov ecx, dword [0x477168]
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.0044e1b0
add esp, 0xc
lea edx, [esp + 0x218]
push edx
push 0
push 0x4771a8
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x44aa0d
cmp word [esp + 0x218], 0
je 0x44aa0d
push 0
lea ecx, [esp + 0x424]
push ecx
mov ecx, esi
call fcn.004454a0
test al, al
je 0x44a9d0
lea edx, [esp + 0x420]
push edx
mov ecx, esi
call fcn.00445e70
xor eax, eax
jmp 0x44a9e0
movzx ecx, word [esp + eax + 0x218]
mov word [esp + eax + 0x420], cx
add eax, 2
test cx, cx
jne 0x44a9e0
lea eax, [esp + 0x420]
push eax
push str.__Change_Temp_folder_file_to___s__n
call fcn.004412c0
add esp, 8
lea ecx, [esp + 0x420]
push ecx
push str.__Temp_FileName___s__n
call fcn.004412c0
add esp, 8
jmp 0x44aa31
push str.Cannon_Get_App_Data_Folder_n
call fcn.004412c0
add esp, 4
mov edx, dword [esp + 0xa48]
push 0
push edx
lea eax, [esp + 0x428]
push eax
push ebp
mov ecx, esi
call fcn.00447d30
test eax, eax
je 0x44aaae
cmp byte [esi + 5], 0
je 0x44aa9b
push 0
lea ecx, [esp + 0x424]
push ecx
lea edx, [esp + 0x838]
push edx
mov ecx, esi
call fcn.00445250
push 0
push ebx
lea eax, [esp + 0x220]
push eax
mov ecx, esi
call fcn.00445250
push 5
lea ecx, [esp + 0x21c]
push ecx
lea edx, [esp + 0x838]
push edx
mov ecx, esi
call fcn.00445af0
jmp 0x44aab0
push 5
push ebx
lea eax, [esp + 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x44aab0
mov eax, edi
mov ecx, dword [esp + 0xa38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044e1a0
add esp, 0xa2c
ret 0x10
Function at 0x44ad30
Capabilities:
Create service
Persist via windows service

Disassembly:
sub esp, 0x418
mov eax, dword [0x47f038]
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.004412c0
add esp, 4
cmp byte [esi + 8], 0
mov byte [esp + 0xf], 0
mov dword [esp + 0x10], 0
jne 0x44aed8
push ebp
push 0xf003f
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebp, eax
test ebp, ebp
je 0x44aebf
mov eax, dword [esp + 0x438]
test eax, eax
je 0x44adc4
lea edx, [esp + 0x21c]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x44adb3
jmp 0x44ade0
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 0x44adf0
movzx ecx, word [eax + 0x468088]
mov word [esp + eax + 0x1c], cx
add eax, 2
test cx, cx
jne 0x44adf0
lea eax, [esp + 0x21c]
mov edx, eax
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44ae10
lea edi, [esp + 0x1c]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x44ae24
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 0x44ae50
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x44ae50
mov ecx, dword [esp + 0x18]
push 0
mov edx, dword [0x468088]
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 0x44aea2
push eax
mov byte [esp + 0x17], 1
call esi
push ebp
call esi
jmp 0x44aed7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KXSVC::InstallService___CreateService_error___d_n
mov dword [esp + 0x1c], eax
call fcn.004412c0
add esp, 8
push ebp
call esi
jmp 0x44aed7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KXSVC::InstallService___OpenSCManager_error___d_n
mov dword [esp + 0x1c], eax
call fcn.004412c0
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.0044e1a0
add esp, 0x418
ret 0x10
Function at 0x44af10
Capabilities:
Delete service
Stop service

Disassembly:
sub esp, 0x1c
push ebx
push esi
push str.KXSVC::UnistallService_n
mov esi, ecx
call fcn.004412c0
xor bl, bl
add esp, 4
cmp byte [esi + 8], bl
jne 0x44b01d
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 0x44affe
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 0x44afdb
lea edx, [esp + 0x10]
push edx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x44af89
push str.KXSVC::UnnstallService___Stop_service_success_n
call fcn.004412c0
add esp, 4
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x44afb5
push str.KXSVC::UnnstallService___DeleteService_success_n
call fcn.004412c0
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.004412c0
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.004412c0
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.004412c0
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 0x44b030
Capabilities:
Start service

Disassembly:
push ebx
push esi
push str.KXSVC::StartService_n
mov esi, ecx
call fcn.004412c0
xor bl, bl
add esp, 4
cmp byte [esi + 8], bl
jne 0x44b0f2
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 0x44b0d6
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 0x44b0b6
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 0x44b0a7
push str.KXSVC::StartService___Control_service_success_n
call fcn.004412c0
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.004412c0
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.004412c0
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 0x44b330
Capabilities:
Query service status

Disassembly:
sub esp, 0x20
push ebx
push esi
push str.KXSVC::GetServiceStatus_n
mov esi, ecx
call fcn.004412c0
xor ebx, ebx
add esp, 4
mov dword [esp + 8], ebx
cmp byte [esi + 8], bl
jne 0x44b412
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 0x44b3fb
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 0x44b3cd
lea edx, [esp + 0x14]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x44b3b2
push str.KXSVC::GetServiceStatus___QueryServiceStatus_success_n
call fcn.004412c0
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.004412c0
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.004412c0
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 0x44b9b0
Capabilities:
Reference wmi statements

Disassembly:
push 0xffffffffffffffff
push 0x463b80
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x47f038]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47f038]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x50]
mov edi, ecx
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x1c], eax
cmp byte [edi], bl
je 0x44bb37
push str.SELECT__FROM_Win32_ComputerSystem
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.00444940
mov esi, eax
push 0x477db8
lea ecx, [esp + 0x28]
mov dword [esp + 0x4c], ebx
call fcn.00444940
mov ecx, dword [esi]
mov byte [esp + 0x48], 1
cmp ecx, ebx
je 0x44ba31
mov ecx, dword [ecx]
jmp 0x44ba33
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x44ba3d
mov edx, dword [eax]
jmp 0x44ba3f
xor edx, edx
mov eax, dword [edi + 0x63c]
mov esi, dword [eax]
lea edi, [esp + 0x14]
push edi
push ebx
push 0x30
push ecx
push edx
push eax
mov eax, dword [esi + 0x50]
call eax
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.00444a60
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], 0xffffffff
call fcn.00444a60
cmp esi, ebx
jl 0x44bb33
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x1c]
push edx
push 1
mov dword [esp + 0x2c], ebx
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x20], ebx
je 0x44bb1f
cmp esi, ebx
jl 0x44bb1f
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [esp + 0x34]
push edx
push ebx
push str.SystemType
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp ebp, ebx
je 0x44baff
mov eax, dword [esp + 0x34]
mov edx, ebp
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x44baf0
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
mov esi, 1
call eax
mov eax, esi
jmp 0x44bb37
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
mov esi, dword [esp + 0x1c]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, esi
jmp 0x44bb37
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0044e1a0
add esp, 0x38
ret 4
Function at 0x44cba0
Capabilities:
Start service

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0xc]
mov dword [esp + 4], 0
test edi, edi
je 0x44ccc5
cmp word [edi], 0
je 0x44ccc5
mov ecx, dword [esp + 0x10]
push esi
lea eax, [esp + 8]
push eax
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov esi, eax
test esi, esi
je 0x44ccbd
push esi
push edi
push str.RegConnectRegistry_failed_____s___ld__n
call fcn.004412c0
xor eax, eax
add esp, 0xc
mov dword [esp + 8], eax
cmp esi, 0x35
jne 0x44ccc1
push ebx
push str.__Try_to_start_Remote_Registry_service_n
call fcn.004412c0
add esp, 4
push 0xf003f
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x44cc79
push ebp
push 0xf01ff
push str.RemoteRegistry
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x44cc5f
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x44cc56
push str.StartService___Control_service_success_n
call fcn.004411d0
add esp, 4
push esi
call ebp
push ebx
call ebp
pop ebp
jmp 0x44cc8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.StartService___OpenService_error___d_n
call fcn.004411d0
add esp, 8
push ebx
call ebp
pop ebp
jmp 0x44cc8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.StartService___OpenSCManager_error___d_n
call fcn.004411d0
add esp, 8
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc]
push edx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
pop ebx
test eax, eax
je 0x44ccbd
push eax
push edi
push str.RegConnectRegistry_failed_____s___ld__n
call fcn.004412c0
add esp, 0xc
mov eax, dword [esp + 8]
pop esi
pop edi
pop ecx
ret
mov eax, dword [esp + 0x10]
pop edi
pop ecx
ret
Function at 0x44ccd0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub esp, 0xc
push ebx
push esi
push eax
push ecx
xor ebx, ebx
call fcn.0044cba0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44ccf5
pop esi
pop ebx
add esp, 0xc
ret
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], edx
call fcn.0044cb50
test eax, eax
mov eax, dword [esp + 0x2c]
je 0x44cd16
test eax, 0x200
jne 0x44cd16
or eax, 0x100
push edi
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push eax
push 0
push 0
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44cd95
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x44cd7c
push esi
push eax
push str.SetRegValueLong___Set_value_error____ld_for__s_n
call fcn.004412c0
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0xc
ret
mov edx, dword [esp + 0xc]
push edx
mov ebx, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0xc
ret
push edi
push eax
push str.SetRegValueLong___Open_registry_error____ld_for__s_n
call fcn.004412c0
add esp, 0xc
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0xc
ret

Function at 0x44cdb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub esp, 0x10
push esi
push eax
push ecx
call fcn.0044cba0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44cdd5
mov eax, dword [esp + 0x28]
pop esi
add esp, 0x10
ret
mov edx, dword [esp + 0x28]
mov dword [esp + 8], edx
call fcn.0044cb50
test eax, eax
mov eax, dword [esp + 0x2c]
je 0x44cdf6
test eax, 0x200
jne 0x44cdf6
or eax, 0x100
push edi
mov edi, dword [esp + 0x24]
lea ecx, [esp + 8]
push ecx
push eax
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44ce60
mov esi, dword [esp + 0x28]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push esi
push edx
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x44ce4b
push esi
push eax
push str.GetRegValueLong___Get_value_error____ld_for__s_n
call fcn.004412c0
add esp, 0xc
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
pop edi
pop esi
add esp, 0x10
ret
push edi
push eax
push str.GetRegValueLong___Open_registry_error____ld_for__s_n
call fcn.004412c0
mov eax, dword [esp + 0x18]
add esp, 0xc
pop edi
pop esi
add esp, 0x10
ret