joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466850
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4ef7f8
push 0x495620
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4f6108]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
mov eax, ecx
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3c], ebx
test eax, eax
je 0x4669e9
test ebx, ebx
je 0x4669e9
test edi, edi
je 0x4669e9
xor esi, esi
mov byte [ebp - 0x34], 0
xorps xmm0, xmm0
movq qword [ebp - 0x33], xmm0
mov dword [ebp - 0x2b], esi
mov word [ebp - 0x27], si
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x23], ecx
mov word [ebp - 0x1f], cx
mov byte [ebp - 0x1d], cl
mov dword [ebp - 4], ecx
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
call fcn.004667e0
add esp, 8
test eax, eax
je 0x4669de
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
mov edx, edi
mov ecx, dword [ebp - 0x40]
call fcn.00466750
add esp, 8
test eax, eax
je 0x4669de
xor eax, eax
mov dword [ebp - 0x38], eax
xor edi, edi
mov dword [ebp - 0x44], edi
mov cl, byte [ebp + eax - 0x24]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, 8
jb 0x466926
xor bh, bh
jmp 0x46692e
mov bh, byte [ebp + eax - 0x24]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, 8
jb 0x466937
xor bl, bl
jmp 0x46693f
mov bl, byte [ebp + eax - 0x24]
inc eax
mov dword [ebp - 0x38], eax
movzx edx, cl
mov ecx, edx
shr ecx, 2
movzx ecx, word [ecx*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov esi, dword [ebp - 0x3c]
mov word [esi + edi*2], cx
movzx esi, bh
mov ecx, esi
shr ecx, 4
and edx, 3
shl edx, 4
or ecx, edx
movzx ecx, word [ecx*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edx, dword [ebp - 0x3c]
mov word [edx + edi*2 + 2], cx
movzx edx, bl
mov ecx, edx
shr ecx, 6
and esi, 0xf
shl esi, 2
or ecx, esi
movzx ecx, word [ecx*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ebx, dword [ebp - 0x3c]
mov word [ebx + edi*2 + 4], cx
and edx, 0x3f
movzx ecx, word [edx*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ebx + edi*2 + 6], cx
add edi, 4
mov dword [ebp - 0x44], edi
cmp eax, 8
jb 0x466915
mov dword [ebx + edi*2 - 2], 0x3d
mov esi, 1
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4669eb
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4669eb
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0047ac53
mov esp, ebp
pop ebp
ret
Function at 0x466d10
Capabilities:
Check os version
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4888
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4f6108]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0x10], 0
mov dword [ebp - 4], 0
je 0x466d95
mov eax, dword [0x4f6de4]
mov esi, dword [ebp + 8]
cmp eax, 0xffffffff
jne 0x466d79
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x466d64
mov dword [0x4f6de4], 1
jmp 0x466d7d
push esi
push dword [ebp + 0xc]
mov dword [0x4f6de4], 0
call fcn.00467c60
jmp 0x466dc0
test eax, eax
je 0x466d8a
push esi
push dword [ebp + 0xc]
call fcn.00466e00
test eax, eax
jne 0x466dc0
push esi
push dword [ebp + 0xc]
call fcn.00467c60
jmp 0x466dc0
push dword [ebp + 0xc]
call fcn.00467a10
mov edi, dword [ebp + 0xc]
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call esi
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x466de2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x467c60
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4a96
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4f6108]
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 ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x21c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x467dfc
mov edi, dword [ebp - 0x21c]
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], eax
call fcn.004047a0
mov ecx, eax
test ecx, ecx
jne 0x467d10
push 0x80004005
call fcn.00404500
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x21c]
push dword [esi + 8]
push dword [esi]
push str.__s___s
push eax
call fcn.004139f0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00493690
add esp, 0x1c
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
call fcn.00467f10
mov esi, dword [ebp - 0x21c]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.004a69c9
add esp, 8
test eax, eax
je 0x467dc6
test esi, esi
jne 0x467d9b
lea eax, [esi + 0xd]
jmp 0x467dcc
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x467da0
sub eax, edx
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x467dcc
mov eax, dword [ebp - 0x220]
xor ebx, ebx
mov byte [ebp - 4], 0
test eax, eax
sete bl
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x467def
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x467dfe
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x467dfe
xor ebx, ebx
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 - 0x10]
xor ecx, ebp
call fcn.0047ac53
mov esp, ebp
pop ebp
ret 8

Function at 0x467e20
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp word [0x4fc390], 0
mov dword [ebp - 8], 0
jne 0x467e4d
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x100
push eax
push 0x4fc390
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov ecx, dword [ebp + 8]
push 0x4fc390
call fcn.00404260
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x467e70
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp word [0x4fc190], 0
mov dword [ebp - 8], 0
jne 0x467e9f
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x100
push eax
push 0x4fc190
push 2
call dword [sym.imp.Secur32.dll_GetUserNameExW]
mov ecx, dword [ebp + 8]
push 0x4fc190
call fcn.00404260
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x467ec0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x467ed5
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x467ee0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x467f10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x467f81
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x467f4f
cmp eax, 2
jne 0x467f6b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x467f7b
test ecx, ecx
je 0x467f76
test cl, 1
jne 0x467f6b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x467f7b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x468cf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4cfe
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4f6108]
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 ebx, ecx
lea eax, [ebp - 0x5c]
push eax
call fcn.004691c0
mov dword [ebp - 4], 0
push dword [ebp - 0x5c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x468d6a
and dword [ebp - 0x70], 0xfffffe00
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x78]
mov ecx, dword [ebp - 0x5c]
call fcn.0045b5c0
mov eax, dword [ebp - 0x70]
test al, al
je 0x468dac
cmp al, 7
je 0x468dac
lea ecx, [ebp - 0x78]
call fcn.004595b0
xor esi, esi
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x468d8e
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
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.0047ac53
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
push ecx
push str.send_date
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.00459cb0
lea edx, [ebp - 0x68]
mov ecx, eax
call fcn.0046a000
mov eax, dword [ebp - 0x64]
mov edi, dword [ebp - 0x68]
sub eax, edi
sar eax, 2
cmp eax, 3
jb 0x468e2f
mov ecx, dword [edi]
cmp ecx, 0x7d0
jb 0x468e2f
mov eax, dword [edi + 4]
cmp eax, 1
jb 0x468e2f
cmp eax, 0xc
ja 0x468e2f
mov eax, dword [edi + 8]
cmp eax, 1
jb 0x468e2f
cmp eax, 0x1f
ja 0x468e2f
sub esp, 0x10
push eax
push dword [edi + 4]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00457800
mov ecx, dword [eax]
mov dword [ebx + 0x3c], ecx
mov eax, dword [eax + 4]
mov dword [ebx + 0x40], eax
lea ecx, [ebp - 0x80]
call fcn.00436c70
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x80]
call fcn.0046b1f0
test eax, eax
je 0x468e4c
mov esi, dword [eax + 0xc]
jmp 0x468e4e
xor esi, esi
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebx + 0x3c]
call fcn.0046b1f0
test eax, eax
je 0x468e63
mov eax, dword [eax + 0xc]
jmp 0x468e65
xor eax, eax
cmp esi, eax
je 0x468ea1
mov eax, dword [ebp - 0x80]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebx + 0x40], eax
mov byte [ebp - 4], 4
lea ecx, [ebx + 0x34]
mov eax, dword [ebx + 0x34]
push dword [eax + 4]
call fcn.004138d0
mov eax, dword [ebx + 0x34]
mov dword [eax + 4], eax
mov eax, dword [ebx + 0x34]
mov dword [eax], eax
mov eax, dword [ebx + 0x34]
mov dword [eax + 8], eax
mov dword [ebx + 0x38], 0
jmp 0x468eb9
push ecx
push str.reports
lea ecx, [ebp - 0x78]
call fcn.00459cb0
lea edx, [ebx + 0x34]
mov ecx, eax
call fcn.0046a180
test edi, edi
je 0x468ecc
mov eax, dword [ebp - 0x60]
sub eax, edi
sar eax, 2
push eax
push edi
call fcn.00402650
lea ecx, [ebp - 0x78]
call fcn.004595b0
mov esi, 1
jmp 0x468d6c
Function at 0x4699a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4e98
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x4f6108]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0xc]
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00493690
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [esi + 0x44]
push 0x104
push eax
push 0x4dd474
push dword [ebp + 8]
push str.masterpdf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, 0x2a
cmp ax, word [ebp - 0x218]
je 0x469a55
lea edx, [ebp - 0x218]
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x469a30
sub edx, esi
lea eax, [ebp - 0x218]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.00404160
mov esi, 1
jmp 0x469a57
xor esi, esi
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x469a79
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.0047ac53
mov esp, ebp
pop ebp
ret 8

Function at 0x46aa10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push esi
mov esi, ecx
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x46aaaf
push 0x2c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00493690
add esp, 0xc
mov dword [esp + 8], 0x30
lea eax, [esp + 8]
mov dword [esp + 0x1c], 0x400000
mov dword [esp + 0x30], str.Q360SoftMgrTimerWnd
mov dword [esp + 0x10], 0x46ab00
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [esp + 0x20]
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x58]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov dword [esi + 0x10], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46aab9
push esi
push 0xffffffffffffffeb
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46e0e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x868
mov eax, dword [0x4f6108]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
jne 0x46e117
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047ac53
mov esp, ebp
pop ebp
ret 0x14
push 0x800
lea eax, [ebp - 0x80c]
push 0
push eax
call fcn.00493690
add esp, 0xc
lea eax, [ebp - 0x80c]
test edi, edi
je 0x46e14a
push edi
push esi
push 0x4dcfc8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x46e15a
push esi
push 0x4dcee4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x40
lea eax, [ebp - 0x860]
push 0
push eax
call fcn.00493690
mov ax, word [ebp + 0x18]
add esp, 0xc
mov word [ebp - 0x834], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x864], 0x44
movups xmmword [ebp - 0x81c], xmm0
push eax
lea eax, [ebp - 0x864]
mov dword [ebp - 0x838], 1
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x80c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x46e102
cmp dword [ebp + 0x10], 0
je 0x46e1e9
push dword [ebp + 0x14]
push dword [ebp - 0x81c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push dword [ebp - 0x81c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x81c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x818]
call esi
mov ecx, dword [ebp - 8]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047ac53
mov esp, ebp
pop ebp
ret 0x14

Function at 0x46e220
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x4f6108]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
je 0x46e2ed
mov eax, dword [0x4dceb0]
xorps xmm0, xmm0
movups xmmword [ebp - 0x22], xmm0
push 0x38
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x5c]
movq qword [ebp - 0x12], xmm0
movq xmm0, qword [str.runas]
push 0
push eax
mov dword [ebp - 0xa], 0
mov word [ebp - 6], 0
movq qword [ebp - 0x24], xmm0
call fcn.00493690
add esp, 0xc
mov dword [ebp - 0x60], 0x3c
lea eax, [ebp - 0x24]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x4c], ebx
push eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x5c], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x46e2ed
cmp dword [ebp + 0x10], 0
je 0x46e2cc
push dword [ebp + 0x14]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047ac53
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047ac53
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46f3b0
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4f0678
push 0x495620
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4f6108]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor ebx, ebx
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x46f41d
push 1
push str.ExtensionProtect
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
je 0x46f418
mov ebx, 1
push eax
call edi
push esi
call edi
jmp 0x46f423
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test ebx, ebx
jne 0x46f42c
lea eax, [ebx + 1]
jmp 0x46f491
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x44], ebx
xor esi, esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 4], ebx
push 0xf003f
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x46f483
push 0x10020
push str.ExtensionProtect
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x40], esi
test esi, esi
je 0x46f483
lea eax, [ebp - 0x38]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov ebx, eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.0046f4b9
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0047ac53
mov esp, ebp
pop ebp
ret
Function at 0x471c80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5bf4
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4f6108]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x4f9ff0]
test esi, esi
jne 0x471ce5
push 0x140
call fcn.0047a764
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x471cd6
mov ecx, eax
call fcn.004716c0
mov esi, eax
jmp 0x471cd8
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x4f9ff0], esi
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x471da2
push 1
mov ecx, esi
call fcn.0041c420
push 0xc0
call fcn.0047a764
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x471d25
mov ecx, eax
call fcn.0040f5a0
mov edi, eax
jmp 0x471d27
xor edi, edi
push 3
push 0x83
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f270
push 2
mov ecx, edi
call fcn.00410070
movaps xmm0, xmmword [0x4c8db0]
sub esp, 0x10
mov eax, esp
mov ecx, edi
movups xmmword [eax], xmm0
call fcn.004101c0
push edi
mov ecx, esi
call fcn.0041c440
push 0
mov ecx, esi
call fcn.0041ac90
movaps xmm0, xmmword [0x4c8dc0]
push 0
push ecx
mov eax, esp
push 0x40000
push SysReAllocString
push 0x4dcf38
push ecx
mov dword [eax], 0
lea ecx, [ebp - 0x20]
mov eax, esp
movups xmmword [ebp - 0x20], xmm0
push 0
mov dword [eax], ecx
mov ecx, esi
call fcn.00419710
push 1
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.0041c500
push eax
call fcn.004562c0
add esp, 4
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.0047ac53
mov esp, ebp
pop ebp
ret
Function at 0x476080
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c61c6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4f6108]
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
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x47612c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x47612c
call fcn.00442a90
mov esi, eax
jmp 0x47621c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x47614f
call fcn.00442a90
jmp 0x47620f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x47616d
call fcn.00442a90
jmp 0x47620f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x47618e
mov esi, 0x8007000e
jmp 0x476211
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00474f70
jmp 0x4761b8
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x4761cf
mov esi, 0x8007000e
jmp 0x476211
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x4761ef
call fcn.00442a90
jmp 0x47620f
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00475f20
mov esi, eax
test edi, edi
je 0x47621c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x476240
lea ecx, [ebp - 0x418]
call fcn.00475450
nop word [eax + eax]
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 - 0x14]
xor ecx, ebp
call fcn.0047ac53
mov esp, ebp
pop ebp
ret 0x10