joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4177e0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404494
xor eax, eax
push ebp
push 0x41799c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x417960
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x74]
call fcn.0041b3a0
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 0x10]
mov ecx, 0x4179b4
call fcn.004042f8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x78]
call fcn.0041b3a0
mov eax, dword [ebp - 0x78]
mov ecx, 3
mov edx, 1
call fcn.00404504
lea eax, [ebp - 0x1c]
xor ecx, ecx
mov edx, 0xc
call fcn.00402d18
mov dword [ebp - 0x1c], 0xc
mov dword [ebp - 0x14], 0xffffffff
push 0
push 0x80
push 2
lea eax, [ebp - 0x1c]
push eax
push 2
push 0x40000000
mov eax, dword [ebp - 0x10]
call fcn.004044a4
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
lea eax, [ebp - 0x60]
xor ecx, ecx
mov edx, 0x44
call fcn.00402d18
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x34], 0x101
mov word [ebp - 0x30], 0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004044a4
push eax
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x7c]
mov ecx, dword [ebp - 4]
mov edx, 0x4179cc
call fcn.004042f8
mov eax, dword [ebp - 0x7c]
call fcn.004044a4
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x41793e
push 0x40
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_SetPriorityClass
push 0xffffffffffffffff
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
push ebx
call sub.kernel32.dll_CloseHandle_1
mov bl, 1
jmp 0x417940
xor ebx, ebx
test bl, bl
je 0x417956
mov eax, dword [esi]
mov edx, dword [ebp - 0x10]
call fcn.0040b20c
mov eax, dword [ebp - 0x10]
call fcn.00407994
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41796c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4179a3
lea eax, [ebp - 0x7c]
mov edx, 3
call fcn.00404030
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404030
lea eax, [ebp - 4]
call fcn.0040400c
ret
Function at 0x417ae8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x417b61
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xff
mov eax, dword [ebp - 8]
call fcn.00402544
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x417b50
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.004041e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417b57
mov eax, dword [ebp - 0xc]
call fcn.00402564
ret
Function at 0x41b3a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbfc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41b3e8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x404]
push eax
push 0x3ff
call sub.kernel32.dll_GetTempPathA
mov ecx, eax
lea edx, [ebp - 0x404]
mov eax, dword [ebp - 4]
call fcn.004040fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41b3ff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41c2a4
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x41c315
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, ebx
mov edx, 0x41c32c
mov eax, 0x80000001
call fcn.00410f04
test al, al
je 0x41c2fa
cmp dword [ebx], 0
je 0x41c2fa
mov edx, dword [ebx]
lea eax, [ebp - 8]
mov ecx, 0x41c380
call fcn.004042f8
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00416790
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00404060
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c31c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404030
ret

Function at 0x41d900
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004040fc
cmp dword [ebx], 0
je 0x41d934
mov eax, ebx
mov edx, 0x41d944
call fcn.004042b4
add esp, 0x104
pop ebx
ret
Function at 0x41d9b8
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x41dad8
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x41d9f5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41dae4
lea eax, [ebp - 0x10]
push eax
push 0x41daf0
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x41da1f
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41dae4
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 2
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x10
lea eax, [ebp - 0x24]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x41da65
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41dae4
push esi
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
jne 0x41da7f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41dae4
push 0xffffffffffffffff
push esi
call sub.kernel32.dll_TerminateProcess
test eax, eax
jne 0x41da95
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41dae4
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x10
lea eax, [ebp - 0x24]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x41dacc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41dae4
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41dae4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41db04
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404494
xor eax, eax
push ebp
push 0x41dbf2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x2000000
push 3
push 0
push 0
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.004044a4
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x41dbd5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x41dbb0
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x24]
call fcn.00408b84
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_SystemTimeToFileTime
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
call sub.kernel32.dll_LocalFileTimeToFileTime
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetFileTime
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41dbbe
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41dbdc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret

Function at 0x41dfc4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404494
xor eax, eax
push ebp
push 0x41e077
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x104
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 4]
call fcn.004044a4
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov ecx, ebx
mov edx, 8
mov eax, dword [ebp - 8]
call fcn.004076ac
mov eax, dword [0x424514]
cmp dword [eax], 2
je 0x41e056
lea edx, [ebp - 0x21c]
mov eax, dword [ebx]
call fcn.0041df18
mov edx, dword [ebp - 0x21c]
mov eax, ebx
call fcn.00404060
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e07e
lea eax, [ebp - 0x21c]
call fcn.0040400c
lea eax, [ebp - 4]
call fcn.0040400c
ret

Function at 0x41e084
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404494
xor eax, eax
push ebp
push 0x41e0f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004042ac
mov esi, eax
test esi, esi
jle 0x41e0d6
mov ebx, 1
lea eax, [ebp - 4]
call fcn.004044fc
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ebx - 1]
xor dx, 0x29a
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x41e0b9
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404060
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e0fd
lea eax, [ebp - 4]
call fcn.0040400c
ret
Function at 0x41e744
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov byte [ebp - 5], 0
xor ecx, ecx
push ebp
push 0x41e7c8
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov ebx, eax
mov edi, ebx
sub edx, edi
sub edx, 5
mov dword [ebp - 0xc], edx
lea eax, [ebp - 0x10]
push eax
push 0x40
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
mov eax, 0xff
call fcn.00402544
mov esi, eax
mov dword [esi], edi
mov edx, esi
add edx, 5
mov eax, ebx
call fcn.0041e700
mov edx, esi
add edx, 4
mov byte [edx], al
mov byte [ebx], 0xe9
inc edi
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
add esi, 5
mov eax, dword [ebp - 4]
mov dword [eax], esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41e7d9
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41e830
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, eax
mov bl, 1
xor edx, edx
push ebp
push 0x41e899
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, edi
mov edx, eax
sub edx, 5
mov esi, dword [edx]
dec eax
movzx eax, byte [eax]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push esi
call sub.kernel32.dll_VirtualProtect
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, esi
call fcn.00405b84
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
push eax
push 5
push esi
call sub.kernel32.dll_VirtualProtect
mov eax, edi
sub eax, 5
call fcn.00402564
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41e8a5
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x41c230
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
or ebp, 0xffffffff
jmp 0x41c252
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41c259
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41c248
mov eax, 1
add ebx, ebx
jne 0x41c26b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41c260
jne 0x41c27c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41c260
xor ecx, ecx
sub eax, 3
jb 0x41c290
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41c302
mov ebp, eax
add ebx, ebx
jne 0x41c29b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41c2a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41c2cc
inc ecx
add ebx, ebx
jne 0x41c2b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41c2ad
jne 0x41c2c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41c2ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41c2ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41c2dd
jmp 0x41c24e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41c2ec
add edi, ecx
jmp 0x41c24e
pop esi
mov edi, esi
mov ecx, 2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41c30a
cmp byte [edi], 5
jne 0x41c30a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41c30f
lea edi, [esi + 0x1a000]
mov eax, dword [edi]
or eax, eax
je 0x41c387
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x21bac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21be8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41c33c
mov ecx, edi
jns 0x41c36b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x21bec]
or eax, eax
je 0x41c381
mov dword [ebx], eax
add ebx, 4
jmp 0x41c359
call dword [esi + 0x21bf0]
popal
jmp 0x401150
Function at 0x100014a0
Capabilities:
Contain obfuscated stackstrings
Create service
Delete service
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov byte [ebp - 0x1c], 0x41
mov byte [ebp - 0x1b], 0x64
mov byte [ebp - 0x1a], 0x76
mov byte [ebp - 0x19], 0x61
mov byte [ebp - 0x18], 0x70
mov byte [ebp - 0x17], 0x69
mov byte [ebp - 0x16], 0x33
mov byte [ebp - 0x15], 0x32
mov byte [ebp - 0x14], 0x2e
mov byte [ebp - 0x13], 0x64
mov byte [ebp - 0x12], 0x6c
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], 0
push 0x3777cccb
call fcn.10002c90
add esp, 4
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x1c]
push eax
call dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10001514
push 0x94c4c32
call fcn.10002c90
add esp, 4
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x1c]
push ecx
call dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
push 0x4927ac50
mov edx, dword [ebp - 0x24]
push edx
call fcn.10002ba0
add esp, 8
mov dword [ebp - 0x20], eax
push 0x4842adf4
mov eax, dword [ebp - 0x24]
push eax
call fcn.10002ba0
add esp, 8
mov dword [ebp - 0x30], eax
push 0x42f77b2b
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.10002ba0
add esp, 8
mov dword [ebp - 0x28], eax
mov byte [ebp - 8], 0x61
mov byte [ebp - 7], 0x61
mov byte [ebp - 6], 0x76
mov byte [ebp - 5], 0
push 0xf003f
push 0
push 0
call dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 1
push 3
push 1
push 0xf01ff
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100015a9
cmp dword [ebp - 4], 0xffffffff
jne 0x10001611
push 0xf01ff
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [ebp - 0x30]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100015e3
lea edx, [ebp - 0x50]
push edx
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov edx, dword [ebp - 4]
push edx
call dword [ebp - 0x28]
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 1
push 3
push 1
push 0xf01ff
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 4], eax
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov edx, dword [ebp - 4]
push edx
call dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
push eax
call dword [ebp - 0x28]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x100016b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
push 0x289fbd13
call fcn.10002c90
add esp, 4
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x90], 0x73
mov byte [ebp - 0x8f], 0x63
mov byte [ebp - 0x8e], 0x20
mov byte [ebp - 0x8d], 0x73
mov byte [ebp - 0x8c], 0x74
mov byte [ebp - 0x8b], 0x6f
mov byte [ebp - 0x8a], 0x70
mov byte [ebp - 0x89], 0x20
mov byte [ebp - 0x88], 0
mov byte [ebp - 0x9c], 0x73
mov byte [ebp - 0x9b], 0x63
mov byte [ebp - 0x9a], 0x20
mov byte [ebp - 0x99], 0x64
mov byte [ebp - 0x98], 0x65
mov byte [ebp - 0x97], 0x6c
mov byte [ebp - 0x96], 0x65
mov byte [ebp - 0x95], 0x74
mov byte [ebp - 0x94], 0x65
mov byte [ebp - 0x93], 0x20
mov byte [ebp - 0x92], 0
lea eax, [ebp - 0x90]
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa0]
mov cl, byte [eax]
mov byte [ebp - 0xa9], cl
mov edx, dword [ebp - 0xa4]
mov al, byte [ebp - 0xa9]
mov byte [edx], al
mov ecx, dword [ebp - 0xa0]
add ecx, 1
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0xa4]
add edx, 1
mov dword [ebp - 0xa4], edx
cmp byte [ebp - 0xa9], 0
jne 0x10001779
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.10002d50
add esp, 8
push 0
lea edx, [ebp - 0x80]
push edx
call dword [ebp - 0x84]
lea eax, [ebp - 0x9c]
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0xb0]
mov cl, byte [eax]
mov byte [ebp - 0xb9], cl
mov edx, dword [ebp - 0xb4]
mov al, byte [ebp - 0xb9]
mov byte [edx], al
mov ecx, dword [ebp - 0xb0]
add ecx, 1
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb4]
add edx, 1
mov dword [ebp - 0xb4], edx
cmp byte [ebp - 0xb9], 0
jne 0x100017f9
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.10002d50
add esp, 8
push 0
lea edx, [ebp - 0x80]
push edx
call dword [ebp - 0x84]
mov esp, ebp
pop ebp
ret
Function at 0x10001990
Capabilities:
Contain obfuscated stackstrings
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov byte [ebp - 0x1c], 0x41
mov byte [ebp - 0x1b], 0x64
mov byte [ebp - 0x1a], 0x76
mov byte [ebp - 0x19], 0x61
mov byte [ebp - 0x18], 0x70
mov byte [ebp - 0x17], 0x69
mov byte [ebp - 0x16], 0x33
mov byte [ebp - 0x15], 0x32
mov byte [ebp - 0x14], 0x2e
mov byte [ebp - 0x13], 0x64
mov byte [ebp - 0x12], 0x6c
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], 0
push 0x3777cccb
call fcn.10002c90
add esp, 4
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x1c]
push eax
call dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x10001a04
push 0x94c4c32
call fcn.10002c90
add esp, 4
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x1c]
push ecx
call dword [ebp - 0x50]
mov dword [ebp - 0x40], eax
push 0x4927ac50
mov edx, dword [ebp - 0x40]
push edx
call fcn.10002ba0
add esp, 8
mov dword [ebp - 0x20], eax
push 0x4842adf4
mov eax, dword [ebp - 0x40]
push eax
call fcn.10002ba0
add esp, 8
mov dword [ebp - 0x4c], eax
push 0x42f77b2b
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.10002ba0
add esp, 8
mov dword [ebp - 0x44], eax
mov byte [ebp - 8], 0x61
mov byte [ebp - 7], 0x61
mov byte [ebp - 6], 0x76
mov byte [ebp - 5], 0
push 0xf003f
push 0
push 0
call dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
push 0xf01ff
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [ebp - 0x4c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10001a99
lea ecx, [ebp - 0x3c]
push ecx
push 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov ecx, dword [ebp - 4]
push ecx
call dword [ebp - 0x44]
mov esp, ebp
pop ebp
ret
Function at 0x10002b10
Capabilities:
Hash data using rshash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x5c6b7
mov dword [ebp - 4], 0xf8c9
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x10002b88
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
cmp eax, 0x41
jl 0x10002b61
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
cmp edx, 0x5a
jg 0x10002b61
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
lea eax, [eax + edx + 0x20]
mov dword [ebp - 0xc], eax
jmp 0x10002b73
mov ecx, dword [ebp - 0xc]
imul ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
add ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
imul ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
jmp 0x10002b2b
mov eax, dword [ebp - 0xc]
and eax, 0x7fffffff
mov esp, ebp
pop ebp
ret

Function at 0x10002ba0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 1
jmp 0x10002bd6
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x10002c34
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
push edx
call fcn.10002b10
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jne 0x10002c32
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
mov cx, word [edx + eax*2]
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
movzx ecx, word [ebp - 0x18]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
mov eax, edx
jmp 0x10002c36
jmp 0x10002bcd
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10002c40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x64
mov byte [ebp - 6], 0x6c
mov byte [ebp - 5], 0x6c
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esp, ebp
pop ebp
ret