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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x608554]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
push ecx
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x30]
mov eax, dword [ebp + 0x18]
push str.OperateFile::GetFileVersion
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], eax
call fcn.0040a480
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46ba5a
test byte [ecx + 0x1c], 1
je 0x46ba1f
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cecd4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x24
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
cmp ecx, 0x608f30
je 0x46ba5a
test byte [ecx + 0x1c], 1
je 0x46ba5a
cmp dword [0x608f68], 8
mov eax, 0x608f54
push ebx
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x25
call fcn.00405920
add esp, 0x10
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x46bb24
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
push esi
push ebx
push dword [esp + 0x14]
push dword [esp + 0x24]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push 0x5c692c
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x46bb12
cmp dword [esp + 0x10], 0
je 0x46bb12
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x46bb12
movzx eax, word [ecx + 0xa]
mov esi, 1
mov edx, dword [esp + 0x1c]
push edi
mov dword [edx], eax
movzx eax, word [ecx + 8]
mov edx, dword [esp + 0x24]
mov dword [edx], eax
movzx eax, word [ecx + 0xe]
mov edx, dword [esp + 0x28]
mov dword [edx], eax
movzx eax, word [ecx + 0xc]
mov ecx, dword [esp + 0x2c]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x46bb26
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x46bb26
xor esi, esi
mov byte [esp + 0x30], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46bb6c
test byte [ecx + 0x1c], 1
je 0x46bb6c
cmp dword [0x608f68], 8
mov eax, 0x608f54
push esi
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x26
call fcn.004018a0
add esp, 0x10
lea ecx, [esp + 0x2c]
call fcn.0040a570
mov ecx, dword [esp + 0x64]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0056d977
mov esp, ebp
pop ebp
ret 0x14
Function at 0x46c1f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6a4
mov eax, dword [0x608554]
xor eax, esp
mov dword [esp + 0x6a0], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push ecx
push str.OperateFile::FindFile
lea ecx, [esp + 0x18]
call fcn.0040a480
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46c2a4
test byte [ecx + 0x1c], 1
je 0x46c268
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cecd4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x2e
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
cmp ecx, 0x608f30
je 0x46c2a4
test byte [ecx + 0x1c], 1
je 0x46c2a4
cmp dword [0x608f68], 8
mov eax, 0x608f54
push esi
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push edi
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x2f
call fcn.00430170
add esp, 0x14
push 0x208
lea eax, [esp + 0x4a4]
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [esp + 0x298]
push 0x208
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [esp + 0x48]
push 0x250
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [esp + 0x298]
xor ebx, ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x298]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esp + eax*2 + 0x296], 0x5c
je 0x46c323
push 0x5c692c
lea eax, [esp + 0x29c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
lea eax, [esp + 0x29c]
push eax
lea eax, [esp + 0x4a8]
push 0x5c70f4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x4a4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x46c37a
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, 1
lea eax, [esp + 0x48]
push eax
push esi
call edi
test eax, eax
jne 0x46c367
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [esp + 0x14], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46c3c0
test byte [ecx + 0x1c], 1
je 0x46c3c0
cmp dword [0x608f68], 8
mov eax, 0x608f54
push ebx
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x30
call fcn.004018a0
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.0040a570
mov ecx, dword [esp + 0x6ac]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0056d977
mov esp, ebp
pop ebp
ret 8
Function at 0x46e7f0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, 1
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp esi, dword [edi + 8]
jge 0x46e81e
test esi, esi
js 0x46e825
mov eax, dword [edi + 4]
push 0x20
push dword [eax + esi*4]
call ebx
inc esi
test eax, eax
jne 0x46e806
pop edi
pop esi
pop ebx
pop ebp
ret 4
call fcn.005511b9
int3
Function at 0x46f050
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1156
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x608554]
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 dword [ebp - 0x258], ecx
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push ecx
push str.OperateFile::MoveFileExW
lea ecx, [ebp - 0x250]
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46f128
test byte [ecx + 0x1c], 1
je 0x46f0eb
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cecd4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x7c
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
cmp ecx, 0x608f30
je 0x46f128
test byte [ecx + 0x1c], 1
je 0x46f128
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push esi
push ebx
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x7d
call fcn.0040c1c0
add esp, 0x18
mov ecx, dword [ebp - 0x258]
push edi
push esi
push ebx
call fcn.0046eb50
mov esi, eax
test esi, esi
je 0x46f22a
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea ecx, [ebp - 0x254]
push edi
call fcn.00403320
mov byte [ebp - 4], 1
push 0x5c6930
push dword [ebp - 0x254]
call fcn.00574f99
add esp, 8
test eax, eax
je 0x46f208
push str..pnf
push 0x5cec54
lea ecx, [ebp - 0x254]
call fcn.00446ca0
push dword [ebp - 0x254]
lea eax, [ebp - 0x218]
push ebx
push 0x5c6c90
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46f208
test byte [ecx + 0x1c], 4
je 0x46f208
cmp dword [0x608f68], 8
lea edx, [ebp - 0x218]
push edx
mov eax, 0x608f54
mov edx, 0x5cecd4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x7e
call fcn.00405920
add esp, 0x10
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x254]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46f22a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x24c], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46f272
test byte [ecx + 0x1c], 1
je 0x46f272
cmp dword [0x608f68], 8
mov eax, 0x608f54
push esi
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x7f
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x250]
call fcn.0040a570
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.0056d977
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46ff70
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6a4
mov eax, dword [0x608554]
xor eax, esp
mov dword [esp + 0x6a0], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ecx
push str.OperateFile::GetFileCountInFolder
lea ecx, [esp + 0x18]
call fcn.0040a480
mov edi, dword [0x608f30]
cmp edi, 0x608f30
je 0x46ffe5
test byte [edi + 0x1c], 1
je 0x46ffe5
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cecd4
mov ecx, 0x94
cmovae eax, dword [0x608f54]
push eax
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.00401840
mov edi, dword [0x608f30]
add esp, 0xc
push 0x208
lea eax, [esp + 0x29c]
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [esp + 0x4a0]
push 0x208
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [esp + 0x48]
push 0x250
push 0
push eax
call fcn.00571c00
add esp, 0xc
xor esi, esi
test ebx, ebx
jne 0x47003f
mov dword [0x6183ec], 1
or esi, 0xffffffff
jmp 0x4700de
push ebx
lea eax, [esp + 0x29c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x298]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [esp + 0x298]
push eax
lea eax, [esp + 0x4a4]
push str._s.
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x4a4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4700d8
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop word [eax + eax]
push 0x5cafc8
lea eax, [esp + 0x78]
push eax
call edi
test eax, eax
je 0x4700c1
push 0x5cafcc
lea eax, [esp + 0x78]
push eax
call edi
test eax, eax
je 0x4700c1
inc esi
lea eax, [esp + 0x48]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4700a0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [0x608f30]
mov byte [esp + 0x14], 1
cmp edi, 0x608f30
je 0x47011e
test byte [edi + 0x1c], 1
je 0x47011e
cmp dword [0x608f68], 8
mov eax, 0x608f54
push esi
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push eax
push dword [edi + 0x14]
mov ecx, 0x95
push dword [edi + 0x10]
call fcn.004018a0
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.0040a570
mov ecx, dword [esp + 0x6ac]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0056d977
mov esp, ebp
pop ebp
ret 4
Function at 0x474300
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a16a0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x608554]
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 esi, dword [ebp + 8]
push ecx
push str.OperateService::GetSpoolerStatus
lea ecx, [ebp - 0x64]
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4743c4
test byte [ecx + 0x1c], 1
je 0x474389
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cf518
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x66
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
cmp ecx, 0x608f30
je 0x4743c4
test byte [ecx + 0x1c], 1
je 0x4743c4
cmp dword [0x608f68], 8
mov eax, 0x608f54
push esi
cmovae eax, dword [0x608f54]
mov edx, 0x5cf518
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x67
call fcn.00405920
add esp, 0x10
call fcn.0055f2f5
mov ecx, dword [eax + 4]
call fcn.00559f19
push 0xf003f
xor edi, edi
mov byte [ebp - 4], 1
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x474460
push 4
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
je 0x474443
xor esi, esi
nop dword [eax]
lea eax, [ebp - 0x2c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x474430
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x5dc
jb 0x474400
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call esi
push dword [ebp - 0x6c]
call esi
jmp 0x4744ae
mov edi, dword [ebp - 0x28]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call esi
push dword [ebp - 0x6c]
call esi
jmp 0x4744ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x6c]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, 0x424
cmp eax, ecx
cmove edi, ecx
call esi
jmp 0x4744ae
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4744b4
test byte [ecx + 0x1c], 2
je 0x4744b4
cmp dword [0x608f68], 8
lea ecx, [ebp - 0x64]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
push eax
mov eax, dword [0x608f30]
mov edx, 0x5cf518
push esi
mov ecx, 0x6c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
add esp, 0x10
mov ecx, dword [0x608f30]
mov byte [ebp - 0x60], 1
cmp ecx, 0x608f30
je 0x4744f3
test byte [ecx + 0x1c], 1
je 0x4744f3
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5cf518
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x6d
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x65]
call fcn.00453ac0
lea ecx, [ebp - 0x64]
call fcn.0040a570
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.0056d977
mov esp, ebp
pop ebp
ret 4
Function at 0x4748a0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a171b
mov eax, dword fs:[0]
push eax
mov eax, 0x1094
call fcn.0056e430
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x104c], ecx
mov esi, dword [ebp + 8]
push ecx
push str.OperateService::OperateStartService
lea ecx, [ebp - 0x1048]
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x474973
test byte [ecx + 0x1c], 1
je 0x474938
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cf518
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x73
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
cmp ecx, 0x608f30
je 0x474973
test byte [ecx + 0x1c], 1
je 0x474973
cmp dword [0x608f68], 8
mov eax, 0x608f54
push esi
cmovae eax, dword [0x608f54]
mov edx, 0x5cf518
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x74
call fcn.00405920
add esp, 0x10
push 0x44
lea eax, [ebp - 0x10a0]
push 0
push eax
call fcn.00571c00
push 0x800
lea eax, [ebp - 0x1010]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x105c], xmm0
call fcn.00571c00
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00571c00
push 0x400
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00571c00
add esp, 0x30
lea eax, [ebp - 0x410]
push 0x200
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x412], 0x5c
je 0x474a0c
push 0x5c692c
lea eax, [ebp - 0x410]
push 0x200
push eax
call fcn.00574a48
add esp, 0xc
push str.cmd.exe
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x810]
push 0x5c70f4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
xor eax, eax
mov dword [ebp - 0x10a0], 0x44
push str._C_net_start___s___Y
mov word [ebp - 0x1070], ax
lea eax, [ebp - 0x1010]
push 0x400
push eax
mov dword [ebp - 0x1074], 1
call fcn.0041e030
add esp, 0x20
lea eax, [ebp - 0x105c]
push eax
lea eax, [ebp - 0x10a0]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x474abb
mov ecx, dword [ebp - 0x104c]
push 1
push esi
call fcn.00474530
push dword [ebp - 0x105c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call esi
push dword [ebp - 0x1058]
call esi
mov byte [ebp - 0x1044], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x474b03
test byte [ecx + 0x1c], 1
je 0x474b03
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5cf518
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x75
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x1048]
call fcn.0040a570
mov eax, edi
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.0056d977
mov esp, ebp
pop ebp
ret 4
Function at 0x474b30
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a171b
mov eax, dword fs:[0]
push eax
mov eax, 0x1094
call fcn.0056e430
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x104c], ecx
mov esi, dword [ebp + 8]
push ecx
push str.OperateService::OperateStopService
lea ecx, [ebp - 0x1048]
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x474c03
test byte [ecx + 0x1c], 1
je 0x474bc8
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cf518
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x76
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
cmp ecx, 0x608f30
je 0x474c03
test byte [ecx + 0x1c], 1
je 0x474c03
cmp dword [0x608f68], 8
mov eax, 0x608f54
push esi
cmovae eax, dword [0x608f54]
mov edx, 0x5cf518
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x77
call fcn.00405920
add esp, 0x10
push 0x44
lea eax, [ebp - 0x10a0]
push 0
push eax
call fcn.00571c00
push 0x800
lea eax, [ebp - 0x1010]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x105c], xmm0
call fcn.00571c00
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00571c00
push 0x400
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00571c00
add esp, 0x30
lea eax, [ebp - 0x410]
push 0x200
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x412], 0x5c
je 0x474c9c
push 0x5c692c
lea eax, [ebp - 0x410]
push 0x200
push eax
call fcn.00574a48
add esp, 0xc
push str.cmd.exe
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x810]
push 0x5c70f4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
xor eax, eax
mov dword [ebp - 0x10a0], 0x44
push str._C_net_stop___s___Y
mov word [ebp - 0x1070], ax
lea eax, [ebp - 0x1010]
push 0x400
push eax
mov dword [ebp - 0x1074], 1
call fcn.0041e030
add esp, 0x20
lea eax, [ebp - 0x105c]
push eax
lea eax, [ebp - 0x10a0]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x474d4b
mov ecx, dword [ebp - 0x104c]
push 0
push esi
call fcn.00474530
push dword [ebp - 0x105c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call esi
push dword [ebp - 0x1058]
call esi
mov byte [ebp - 0x1044], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x474d93
test byte [ecx + 0x1c], 1
je 0x474d93
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5cf518
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x78
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x1048]
call fcn.0040a570
mov eax, edi
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.0056d977
mov esp, ebp
pop ebp
ret 4
Function at 0x478150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x608554]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
push ecx
push str.OperateString::GetCRC
lea ecx, [esp + 0x14]
call fcn.0040a480
mov esi, dword [0x608f30]
cmp esi, 0x608f30
je 0x4781bc
test byte [esi + 0x1c], 1
je 0x4781bc
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cf910
mov ecx, 0x35
cmovae eax, dword [0x608f54]
push eax
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.00401840
mov esi, dword [0x608f30]
add esp, 0xc
mov edi, dword [ebp + 8]
xor ebx, ebx
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4781c6
sub edx, ecx
sar edx, 1
je 0x478202
movzx ecx, byte [edi]
lea edi, [edi + 2]
movzx eax, bl
xor ecx, eax
shr ebx, 8
mov eax, ecx
and ecx, 0xf
shr eax, 4
mov eax, dword [eax*4 + 0x5c60f0]
xor eax, dword [ecx*4 + 0x5c60b0]
xor ebx, eax
sub edx, 1
jne 0x4781d7
mov al, 1
mov byte [esp + 0x10], al
cmp esi, 0x608f30
je 0x47824c
test byte [esi + 0x1c], al
je 0x47824c
cmp dword [0x608f68], 8
mov eax, 0x608f54
push ebx
cmovae eax, dword [0x608f54]
mov edx, 0x5cf910
push eax
push dword [esi + 0x14]
mov ecx, 0x36
push dword [esi + 0x10]
call fcn.004018a0
mov al, byte [esp + 0x20]
add esp, 0x10
mov esi, dword [0x608f30]
mov dword [esp + 0xc], vtable.WppTrace.0
test al, al
jne 0x4782a1
cmp esi, 0x608f30
je 0x4782a1
test byte [esi + 0x1c], 1
je 0x4782a1
cmp dword [esp + 0x28], 8
lea ecx, [esp + 0x14]
mov eax, 0x608f54
mov edx, 0x5c6f30
cmovae ecx, dword [esp + 0x14]
cmp dword [0x608f68], 8
push ecx
cmovae eax, dword [0x608f54]
mov ecx, 0xa
push eax
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.00405920
add esp, 0x10
lea ecx, [esp + 0x2c]
call fcn.00403570
lea ecx, [esp + 0x14]
call fcn.00403570
mov ecx, dword [esp + 0x44]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0056d977
mov esp, ebp
pop ebp
ret 4