joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47b3d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6319d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x10]
lea esi, [edi + 4]
push str.CNXT_XYZ_UIU
push esi
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x204], edx
mov dword [ebp - 0x1fc], 0
call fcn.00599e8d
add esp, 8
test eax, eax
je 0x47b4a0
push ebx
push esi
call fcn.00599e8d
add esp, 8
test eax, eax
je 0x47b4a0
lea edx, [ebp - 0x1f8]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x47b443
lea edi, [ebp - 0x1f8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x47b454
mov ax, word [0x5cd28c]
mov word [edi], ax
mov eax, ebx
mov ecx, ebx
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47b470
lea edi, [ebp - 0x1f8]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x47b482
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x210]
jmp 0x47b4ba
lea edx, [ebp - 0x1f8]
mov eax, ebx
sub edx, ebx
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x47b4b0
mov edx, dword [edi + 0x1f8]
lea ecx, [ebp - 0x200]
push ecx
mov ecx, dword [edi]
or edx, 0x20019
push edx
push 0
lea eax, [ebp - 0x1f8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x47b541
mov esi, dword [ebp - 0x204]
mov edx, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x200]
push esi
push edx
push eax
push eax
mov eax, dword [ebp - 0x208]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x47b516
mov dword [ebp - 0x1fc], 1
mov edx, dword [ebp - 0x200]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1fc], 0
je 0x47b541
mov eax, dword [esi]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00599ed4
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00599ed4
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47b560
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x6319d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp + 0x18]
lea esi, [edi + 4]
push str.CNXT_XYZ_UIU
push esi
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x208], ecx
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x204], eax
mov dword [ebp - 0x1fc], 0
call fcn.00599e8d
add esp, 8
test eax, eax
je 0x47b63e
push ebx
push esi
call fcn.00599e8d
add esp, 8
test eax, eax
je 0x47b63e
lea edx, [ebp - 0x1f8]
mov eax, esi
sub edx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x47b5e0
lea edi, [ebp - 0x1f8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x47b5f1
mov cx, word [0x5cd28c]
mov eax, ebx
mov word [edi], cx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47b607
lea edi, [ebp - 0x1f8]
sub eax, ecx
mov esi, ecx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x47b620
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x214]
jmp 0x47b652
lea edx, [ebp - 0x1f8]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x47b648
mov eax, dword [edi + 0x1f8]
lea edx, [ebp - 0x200]
push edx
mov edx, dword [edi]
or eax, 0x20019
push eax
push 0
lea ecx, [ebp - 0x1f8]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x47b6df
mov esi, dword [ebp - 0x204]
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x208]
mov edx, dword [ebp - 0x20c]
push esi
push eax
mov eax, dword [ebp - 0x200]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x47b6b4
mov dword [ebp - 0x1fc], 1
mov ecx, dword [ebp - 0x200]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1fc], 0
je 0x47b6df
mov eax, dword [esi]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00599ed4
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00599ed4
mov esp, ebp
pop ebp
ret 0x14
Function at 0x47b700
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x6319d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
lea esi, [edi + 4]
push str.CNXT_XYZ_UIU
push esi
mov dword [ebp - 0x204], edi
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x1fc], 0
call fcn.00599e8d
add esp, 8
test eax, eax
je 0x47b7be
push ebx
push esi
call fcn.00599e8d
add esp, 8
test eax, eax
je 0x47b7be
lea edx, [ebp - 0x1f8]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x47b761
lea edi, [ebp - 0x1f8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x47b772
mov cx, word [0x5cd28c]
mov eax, ebx
mov word [edi], cx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47b788
lea edi, [ebp - 0x1f8]
sub eax, ecx
mov esi, ecx
dec edi
lea ebx, [ebx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x47b7a0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x204]
jmp 0x47b7d2
lea edx, [ebp - 0x1f8]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x47b7c8
mov eax, dword [edi + 0x1f8]
lea edx, [ebp - 0x200]
push edx
mov edx, dword [edi]
or eax, 0xf003f
push eax
push 0
lea ecx, [ebp - 0x1f8]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x47b8a3
mov eax, dword [ebp - 0x208]
mov ecx, dword [ebp - 0x200]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x47b821
mov dword [ebp - 0x1fc], 1
mov edx, dword [ebp - 0x200]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x1fc]
test esi, esi
je 0x47b88e
lea eax, [ebp - 0x1f8]
push eax
mov ecx, edi
call fcn.0047ac60
test eax, eax
je 0x47b88e
lea ecx, [ebp - 0x1f8]
push str.SOFTWAREMICROSOFTWINDOWSCURRENTVERSIONRUNONCE
push ecx
call fcn.00599e8d
add esp, 8
test eax, eax
je 0x47b88e
lea edx, [ebp - 0x1f8]
push str.SOFTWAREMICROSOFTWINDOWSCURRENTVERSIONRUN
push edx
call fcn.00599e8d
add esp, 8
test eax, eax
je 0x47b88e
push 1
push 0
push 1
lea eax, [ebp - 0x1f8]
push eax
mov ecx, edi
call fcn.0047aeb0
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00599ed4
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1fc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00599ed4
mov esp, ebp
pop ebp
ret 8
Function at 0x47b8c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x6319d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ecx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x210]
push edx
mov edx, dword [eax + 0x1f8]
mov eax, dword [eax]
or edx, 0x20019
push edx
xor ebx, ebx
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x47b9f8
mov eax, 0x104
lea ecx, [ebp - 0x218]
push ecx
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x21c]
push eax
mov eax, dword [ebp - 0x210]
push ebx
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x20c]
push edx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x47b9eb
push esi
mov esi, dword [edi]
inc ebx
cmp esi, 0x5dc
jae 0x47b99e
lea ecx, [esi + 1]
mov dword [edi], ecx
cmp esi, 0xffffffff
je 0x47b99e
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47b970
sub eax, edx
add eax, 5
push eax
call fcn.004a6dbf
add esp, 4
mov dword [edi + esi*4 + 0x5e0], eax
lea ecx, [ebp - 0x108]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x47b994
mov eax, 0x104
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp - 0x210]
push 0
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x20c]
push eax
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x47b952
pop esi
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [edi]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00599ed4
mov esp, ebp
pop ebp
ret 8
Function at 0x47ba10
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bbebb
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x6319d0]
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
mov eax, ecx
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x120], edi
lea edx, [ebp - 0x118]
push edx
mov edx, dword [eax + 0x1f8]
mov eax, dword [eax]
or edx, 0x20019
push edx
push edi
push ecx
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x11c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x47bb71
mov edx, dword [ebp - 0x118]
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x47bb64
inc dword [ebp - 0x11c]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x128]
call fcn.004048c0
mov edi, dword [ebp - 0x128]
push edi
call fcn.0059b19a
push eax
call fcn.0059b13d
mov esi, edi
add esp, 8
mov ecx, eax
sub esi, eax
lea esp, [esp]
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
test dl, dl
jne 0x47bae0
push eax
call fcn.0059a02a
mov esi, dword [ebx]
add esp, 4
cmp esi, 0x5dc
jae 0x47bb3c
lea ecx, [esi + 1]
mov dword [ebx], ecx
cmp esi, 0xffffffff
je 0x47bb3c
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47bb10
sub eax, edx
add eax, 5
push eax
call fcn.004a6dbf
mov edx, eax
add esp, 4
mov dword [ebx + esi*4 + 0x5e0], eax
mov ecx, edi
sub edx, edi
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x47bb32
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
push 0x104
lea edx, [ebp - 0x114]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x47baa6
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebx]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x47bb93
mov eax, dword [ebp - 0x124]
push eax
call fcn.004a6dca
push edi
call fcn.004a6dca
add esp, 8
mov eax, esi
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.00599ed4
mov esp, ebp
pop ebp
ret 8
Function at 0x47c190
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bbf06
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x6319d0]
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
mov eax, ecx
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x230], esi
lea edx, [ebp - 0x224]
push edx
mov edx, dword [eax + 0x1f8]
mov eax, dword [eax]
or edx, 0x20019
push edx
push ebx
push ecx
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x47c312
mov eax, 0x104
lea ecx, [ebp - 0x220]
push ecx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebp - 0x224]
push ebx
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x114]
push edx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push eax
call ebx
test eax, eax
jne 0x47c2ff
lea esp, [esp]
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x24c]
inc esi
call fcn.004048c0
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x228]
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x23c], eax
call fcn.004048c0
mov edx, dword [ebp - 0x220]
lea eax, [ebp - 0x24c]
push eax
mov ecx, edi
mov dword [ebp - 0x22c], edx
call fcn.0047c080
mov eax, 0x104
lea ecx, [ebp - 0x220]
push ecx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebp - 0x224]
push 0
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x114]
push edx
push esi
push eax
call ebx
test eax, eax
je 0x47c260
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x238]
mov edi, dword [edi]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x47c334
mov edx, dword [ebp - 0x234]
push edx
call fcn.004a6dca
push ebx
call fcn.004a6dca
add esp, 8
mov esi, dword [ebp - 0x24c]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x47c35a
mov eax, dword [ebp - 0x248]
push eax
call fcn.004a6dca
push esi
call fcn.004a6dca
add esp, 8
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.00599ed4
mov esp, ebp
pop ebp
ret 8
Function at 0x47cd50
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6319d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esi
call fcn.0046d4f0
test eax, eax
je 0x47cdf7
push esi
push str.CRegOps::StartTheService_:_pszServiceName___s_n
push 0x6a24d0
call fcn.00599ee3
mov ecx, dword [str.ENTRY:]
mov edx, dword [0x5ccf7c]
mov eax, 0x6a24d0
mov dword [0x6a23d0], ecx
add esp, 0xc
mov dword [0x6a23d4], edx
mov ecx, eax
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47cdb0
mov edi, 0x6a23d0
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x47cdc1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d500
push 0x6a23d0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
push 0xf01ff
push esi
push eax
xor ebx, ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x47ce32
call fcn.0046d4f0
test eax, eax
je 0x47cecb
push str.Failed_:_OpenService_n
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
jmp 0x47cecb
lea ecx, [ebp - 0x20]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x47ce6a
call fcn.0046d4f0
test eax, eax
je 0x47cec4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_:_QueryServiceStatus1_:_GetLastError_____d_n
push 0x6a22d0
call fcn.00599ee3
add esp, 0xc
push 0x6a22d0
jmp 0x47ceb8
cmp dword [ebp - 0x1c], 4
jne 0x47ce80
call fcn.0046d4f0
test eax, eax
je 0x47cec4
push str.Failed_:_Service_is_alrady_running_n
jmp 0x47ceb8
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov ebx, eax
test ebx, ebx
jne 0x47cec4
call fcn.0046d4f0
test eax, eax
je 0x47cec4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_:_StartService___GetLastError___d_n
push 0x6a21d0
call fcn.00599ee3
add esp, 0xc
push 0x6a21d0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call fcn.0046d4f0
test eax, eax
je 0x47cf48
push ebx
push str.CRegOps::StartTheService_:_bRetVal___d_n
push 0x6a20d0
call fcn.00599ee3
mov eax, dword [0x5ccefc]
mov edx, dword [str.EXIT:]
mov dword [0x6a1fd4], eax
mov eax, 0x6a20d0
add esp, 0xc
mov dword [0x6a1fd0], edx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47cf04
mov edi, 0x6a1fd0
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x47cf15
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x6a1fd0
rep movsb byte es:[edi], byte [esi]
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d510
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00599ed4
mov esp, ebp
pop ebp
ret 8
Function at 0x4821b0
Capabilities:
Copy file

Disassembly:
mov dword [ecx + 0x26], 0
mov dword [ecx + 0x18], 2
add ecx, 0x14
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
ret
Function at 0x4870a0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6319d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0xc]
push ecx
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x487103
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x4870f6
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00599ed4
mov esp, ebp
pop ebp
ret

Function at 0x4873e0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bc93b
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x6319d0]
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
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [esi + 0xaa00]
sub eax, 0x10
push eax
call fcn.004022e0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x314], eax
lea ecx, [ebp - 0x314]
mov dword [ebp - 4], 0
call fcn.00408a80
lea ecx, [ebp - 0x314]
call fcn.00408a00
mov ebx, dword [ebp - 0x314]
mov eax, dword [ebx - 0xc]
test eax, eax
je 0x4874ae
lea edi, [ebp - 0x114]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x487470
mov cx, word [0x5ce514]
mov eax, ebx
mov word [edi], cx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x487486
lea edi, [ebp - 0x114]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x487498
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 1
push reloc.OLEAUT32.dll_SysReAllocString
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
lea ecx, [ebp - 0x310]
mov dword [ebp - 0x118], 0
call fcn.0047c120
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4874d8
sub eax, edx
push eax
lea edx, [ebp - 0x114]
push edx
push str.UIUContinue
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x310]
call fcn.0047b0f0
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487523
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.00599ed4
mov esp, ebp
pop ebp
ret
Function at 0x488df0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bcc4b
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x6319d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x124
lea eax, [ebp - 0x134]
push 0
push eax
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
call fcn.00599fb0
add esp, 0xc
call fcn.004a8620
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x488e61
push 0x80004005
call fcn.00401b60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x140], esi
push 0
push 2
mov dword [ebp - 4], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x488f2a
lea ecx, [ebp - 0x138]
push ecx
push edi
mov dword [ebp - 0x138], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x488f23
lea esp, [esp]
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x488ec0
sub eax, edx
push eax
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x140]
call fcn.004026b0
lea ecx, [ebp - 0x140]
call fcn.004027d0
mov esi, dword [ebp - 0x140]
cmp dword [esi - 0xc], 0
jl 0x488f12
push str.MSIEXEC.EXE
push esi
call fcn.0059a963
add esp, 8
test eax, eax
je 0x488f12
sub eax, esi
cmp eax, 0xffffffff
je 0x488f12
inc dword [ebp - 0x13c]
lea eax, [ebp - 0x138]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x488eb0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488f4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599ed4
mov esp, ebp
pop ebp
ret