joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401433
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x888
mov eax, dword [0x41c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xc
mov dword [ebp - 0x884], ecx
lea edi, [ebp - 0x6c]
pop ecx
mov esi, str.SYSTEMCurrentControlSetControlSession_Manager
and dword [ebp - 0x874], 0
rep movsd dword es:[edi], dword [esi]
push 0xc
pop ecx
push str.IsWow64Process
movsb byte es:[edi], byte [esi]
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
lea edi, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
push str.kernel32
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4014a0
lea eax, [ebp - 0x874]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov edi, dword [ebp - 0x874]
lea eax, [ebp - 0x87c]
neg edi
push eax
sbb edi, edi
lea eax, [ebp - 0x6c]
and edi, 0x100
or edi, 0x20019
push edi
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4015a3
mov esi, 0x800
mov dword [ebp - 0x878], 7
push esi
lea eax, [ebp - 0x86c]
push 0
push eax
call fcn.00404620
add esp, 0xc
mov dword [ebp - 0x870], esi
lea eax, [ebp - 0x870]
push eax
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x878]
push eax
push 0
push str.PendingFileRenameOperations
push dword [ebp - 0x87c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x87c]
mov esi, eax
call ebx
test esi, esi
jne 0x4015a3
mov eax, dword [ebp - 0x870]
lea esi, [ebp - 0x86c]
shr eax, 1
mov dword [ebp - 0x888], eax
mov dword [ebp - 0x870], eax
mov dword [ebp - 0x880], 0
je 0x4015a3
push dword [ebp - 0x884]
push esi
call fcn.00404391
pop ecx
pop ecx
test eax, eax
jne 0x4015df
push esi
call fcn.00405080
mov ecx, dword [ebp - 0x880]
inc ecx
add ecx, eax
push esi
mov dword [ebp - 0x880], ecx
call fcn.00405080
pop ecx
pop ecx
lea esi, [esi + eax*2]
mov eax, dword [ebp - 0x880]
add esi, 2
cmp eax, dword [ebp - 0x888]
jb 0x401560
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x870]
push eax
push edi
push 0
lea eax, [ebp - 0x38]
push eax
push 0x80000002
call esi
test eax, eax
jne 0x4015e6
mov edx, dword [ebp - 0x884]
mov ecx, dword [ebp - 0x870]
call fcn.004012b0
push dword [ebp - 0x870]
test eax, eax
je 0x4015e4
call ebx
xor eax, eax
inc eax
jmp 0x40161e
call ebx
lea eax, [ebp - 0x870]
push eax
push edi
push 0
lea eax, [ebp - 0x38]
push eax
push 0x80000001
call esi
test eax, eax
jne 0x40161c
mov edx, dword [ebp - 0x884]
mov ecx, dword [ebp - 0x870]
call fcn.004012b0
push dword [ebp - 0x870]
test eax, eax
jne 0x4015dd
call ebx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004037ca
mov esp, ebp
pop ebp
ret
Function at 0x40162f
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x41c004]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push ecx
push ecx
mov word [edi], ax
call fcn.00405080
pop ecx
inc eax
push eax
push edi
call fcn.00404fa7
add esp, 0xc
test eax, eax
je 0x401666
xor eax, eax
jmp 0x40180a
push ebx
push edi
call fcn.00405080
pop ecx
mov ebx, eax
push 0x5c
pop eax
cmp word [edi + ebx*2 - 2], ax
je 0x401685
mov word [edi + ebx*2], ax
inc ebx
xor eax, eax
mov word [edi + ebx*2], ax
push esi
push str.LMIR
push edi
call fcn.00405080
mov esi, eax
mov dword [esp], str.LMIR
call fcn.00405080
inc eax
pop ecx
add eax, esi
push eax
push edi
call fcn.0040500b
add esp, 0xc
test eax, eax
jne 0x401806
push str.LMIR
call fcn.00405080
pop ecx
push 4
pop ecx
cmp eax, ecx
ja 0x4016c9
mov ecx, eax
lea eax, [ebp - 0x14]
add ebx, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xc]
lea edx, [edi + ebx*2]
imul ecx, eax, 0x3c
movzx eax, word [ebp - 0xa]
push 2
pop esi
push 0x2e
add ecx, eax
movzx eax, word [ebp - 8]
imul ecx, ecx, 0x3c
add ecx, eax
mov eax, ecx
shr eax, 0x10
and eax, 0xf
mov ax, word [eax*2 + str.0123456789ABCDEF]
mov word [edx], ax
add edx, esi
mov eax, ecx
shr eax, 0xc
and eax, 0xf
mov ax, word [eax*2 + str.0123456789ABCDEF]
mov word [edx], ax
add edx, esi
mov eax, ecx
shr eax, 8
and eax, 0xf
mov ax, word [eax*2 + str.0123456789ABCDEF]
mov word [edx], ax
add edx, esi
mov eax, ecx
and ecx, 0xf
shr eax, 4
and eax, 0xf
mov ax, word [eax*2 + str.0123456789ABCDEF]
mov word [edx], ax
add edx, esi
mov ax, word [ecx*2 + str.0123456789ABCDEF]
mov word [edx], ax
add edx, esi
xor eax, eax
mov word [edx], ax
add edx, esi
mov word [edx], ax
add edx, esi
mov word [edx], ax
add edx, esi
pop eax
push 0x74
mov word [edx], ax
add edx, esi
pop eax
push 0x6d
mov word [edx], ax
add edx, esi
pop eax
push 0x70
mov word [edx], ax
pop eax
mov word [edx + esi], ax
xor eax, eax
mov word [edx + esi + 2], ax
xor esi, esi
inc esi
mov eax, esi
shr eax, 8
and eax, 0xf
push str.LMIR
mov ax, word [eax*2 + str.0123456789ABCDEF]
mov word [edi + ebx*2 + 0xa], ax
mov eax, esi
shr eax, 4
and eax, 0xf
mov ax, word [eax*2 + str.0123456789ABCDEF]
mov word [edi + ebx*2 + 0xc], ax
mov eax, esi
and eax, 0xf
inc esi
mov ax, word [eax*2 + str.0123456789ABCDEF]
mov word [edi + ebx*2 + 0xe], ax
call fcn.00405080
pop ecx
mov ecx, ebx
sub ecx, eax
lea ecx, [edi + ecx*2]
call fcn.00401433
test eax, eax
jne 0x4017fe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x401819
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401806
cmp esi, 0xfff
jb 0x40178d
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004037ca
mov esp, ebp
pop ebp
ret
xor eax, eax
inc eax
jmp 0x401808
Function at 0x40181e
Capabilities:
Create directory

Disassembly:
push ebx
push edi
mov edi, edx
mov ebx, ecx
push str.SHGetSpecialFolderPathW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x401842
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x4018cb
push 0
push 0x1c
push ebx
push 0
call eax
test eax, eax
je 0x401834
push esi
push str.LogMeIn_Rescue
push ebx
call fcn.00405080
mov dword [esp], str.LogMeIn_Rescue
lea esi, [eax + 1]
call fcn.00405080
pop ecx
add eax, esi
push eax
push ebx
call fcn.0040500b
add esp, 0xc
push str.Applet
push ebx
call fcn.00405080
mov dword [esp], str.Applet
lea esi, [eax + 1]
call fcn.00405080
pop ecx
add eax, esi
push eax
push ebx
call fcn.0040500b
add esp, 0xc
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop esi
test eax, eax
jne 0x4018bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401834
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
call fcn.00405080
pop ecx
pop edi
pop ebx
ret

Function at 0x4018ce
Capabilities:
Set current directory

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
mov esi, edx
xor eax, eax
push str.shell32.dll
mov word [edi], ax
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x401933
mov edx, eax
mov ecx, edi
call fcn.0040181e
test eax, eax
je 0x401933
cmp eax, 0x103
ja 0x401933
push esi
mov ecx, edi
call fcn.0040162f
pop ecx
test eax, eax
jne 0x401912
push 2
pop eax
jmp 0x401936
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x40192f
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call fcn.004011fb
pop ecx
push 3
jmp 0x40190f
xor eax, eax
jmp 0x401936
xor eax, eax
inc eax
pop edi
pop esi
pop ecx
ret
Function at 0x401dfb
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x41c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x20
pop eax
mov esi, edx
mov word [ebp - 0x418], ax
xor ebx, ebx
xor eax, eax
push ebx
push 0x80
cmp word [esi], bx
setne al
lea eax, [eax*2 + 2]
push eax
push ebx
push 1
push 0x40000000
push str.params.txt
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x401efd
push 2
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call fcn.00405080
mov ebx, eax
pop ecx
test ebx, ebx
je 0x401ef6
push 0x410
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00404620
and dword [ebp - 0x420], 0
lea eax, [ebp - 0x414]
push ebx
push esi
push 0x410
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00407bf9
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x41c]
add esp, 0x20
xor ebx, ebx
push ebx
push eax
push 1
lea eax, [ebp - 0x418]
push eax
push edi
call esi
push ebx
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00407820
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
push edi
call esi
push ebx
lea eax, [ebp - 0x41c]
push eax
push 1
lea eax, [ebp - 0x418]
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004037ca
mov esp, ebp
pop ebp
ret

Function at 0x401f0e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
xor edi, edi
mov esi, str.logo.bmp
test ecx, ecx
je 0x401f2f
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401f2f
xor eax, eax
inc eax
jmp 0x401fbc
push 0xa
push 0x2711
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [0x41d2d0], eax
test eax, eax
je 0x401f4d
call fcn.00401ae6
jmp 0x401f4f
mov eax, edi
test eax, eax
je 0x401fbc
mov ecx, dword [0x41d2dc]
mov eax, dword [0x41d2d8]
cmp ecx, 0x36
jb 0x401fa6
mov edx, 0x4d42
cmp word [eax], dx
jne 0x401fa6
cmp dword [eax + 2], ecx
jne 0x401fa6
cmp dword [eax + 0xe], 0x28
je 0x401f84
cmp dword [eax + 0xe], 0x6c
je 0x401f84
cmp dword [eax + 0xe], 0x7c
jne 0x401fa6
cmp dword [eax + 0x12], 0x4e
jne 0x401fa6
cmp dword [eax + 0x16], 0x20
je 0x401f96
cmp dword [eax + 0x16], 0xffffffe0
jne 0x401fa6
push 1
push edi
mov edx, esi
xor ecx, ecx
call fcn.00401b57
pop ecx
pop ecx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.00401b2a
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
ret
Function at 0x401fbf
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
xor edi, edi
mov esi, str.rescue.ico
test ecx, ecx
je 0x401fdd
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401fdd
xor eax, eax
inc eax
jmp 0x402027
push 0xa
push 0x2716
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [0x41d2d0], eax
test eax, eax
je 0x401ffb
call fcn.00401ae6
jmp 0x401ffd
mov eax, edi
test eax, eax
je 0x402025
push 1
push edi
mov edx, esi
xor ecx, ecx
call fcn.00401b57
pop ecx
pop ecx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.00401b2a
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
ret
Function at 0x40320f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc34
mov eax, dword [0x41c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0xf003f
xor esi, esi
push esi
push esi
call dword [0x41d2fc]
mov ebx, eax
test ebx, ebx
jne 0x40323f
inc eax
jmp 0x403369
push edi
lea eax, [ebp - 0x20c]
mov edi, 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x208
lea eax, [ebp - 0x61c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call fcn.00405080
pop ecx
mov ecx, eax
cmp ecx, 2
jle 0x4032bd
lea eax, [ecx + 2]
cmp eax, edi
jge 0x4032bd
push 0x5c
pop eax
cmp word [ebp + ecx*2 - 0x210], ax
je 0x4032bd
cmp word [ebp + ecx*2 - 0x20e], ax
jne 0x4032bd
mov word [ebp + ecx*2 - 0x20c], ax
lea ecx, [ecx*2 + 2]
cmp ecx, 0x208
jae 0x403379
xor eax, eax
mov word [ebp + ecx - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push 0x41d760
lea eax, [ebp - 0x61c]
push eax
push str.__s___service__sid___s___wd___s_
lea eax, [ebp - 0xc34]
push 0x30c
push eax
call fcn.00401998
add esp, 0x18
push 0xf01ff
push 0x41d560
push ebx
call dword [0x41d2e4]
mov edi, eax
test edi, edi
jne 0x403332
push esi
push esi
push 0x41adac
push esi
push esi
lea eax, [ebp - 0xc34]
push eax
push 1
push 2
push 0x10
push 0xf01ff
push 0x41d360
push 0x41d560
push ebx
call dword [0x41d2f4]
mov edi, eax
test edi, edi
je 0x40335f
push esi
push esi
push edi
call dword [0x41d2f0]
test eax, eax
jne 0x403358
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x403355
cmp eax, 0x420
je 0x403358
push 4
jmp 0x403357
push 3
pop esi
push edi
call dword [0x41d2e8]
push ebx
call dword [0x41d2e8]
mov eax, esi
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004037ca
mov esp, ebp
pop ebp
ret
call fcn.004038fe
int3
Function at 0x4034db
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4014
call fcn.00413ad0
mov eax, dword [0x41c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
lea edi, [esi + 0x10]
cmp ebx, 0x1c
jb 0x403630
cmp dword [esi], 0x80000001
jne 0x403630
and dword [ebp - 0x4010], 0
cmp dword [esi + 4], 0
jbe 0x40361f
mov ecx, dword [edi]
jmp 0x40352d
cmp byte [esi + ecx], 0
je 0x403537
inc ecx
mov dword [ebp - 0x400c], ecx
cmp ebx, ecx
ja 0x403526
mov eax, dword [edi + 4]
add eax, dword [edi + 8]
cmp ebx, eax
jb 0x403630
cmp ebx, ecx
je 0x403630
xor eax, eax
push 0x2000
push eax
mov word [ebp - 0x4004], ax
lea eax, [ebp - 0x2004]
push eax
call fcn.00404620
mov eax, dword [edi]
mov ecx, 0x1000
and dword [ebp - 0x4008], 0
add eax, esi
push ecx
push eax
push ecx
lea eax, [ebp - 0x2004]
push eax
lea eax, [ebp - 0x4008]
push eax
call fcn.00407e75
lea eax, [ebp - 0x2004]
push eax
lea eax, [ebp - 0x4004]
push 0x1000
push eax
call fcn.0040500b
add esp, 0x2c
xor eax, eax
push eax
push 0x8000080
push 2
push eax
push eax
push 0xc0000000
lea eax, [ebp - 0x4004]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4014], eax
cmp eax, 0xffffffff
je 0x403630
push 0
lea ecx, [ebp - 0x400c]
push ecx
push dword [edi + 8]
mov ecx, dword [edi + 4]
add ecx, esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403624
mov eax, dword [ebp - 0x400c]
cmp eax, dword [edi + 8]
jne 0x403624
push dword [ebp - 0x4014]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x4010]
add edi, 0xc
inc eax
mov dword [ebp - 0x4010], eax
cmp eax, dword [esi + 4]
jb 0x403522
xor eax, eax
inc eax
jmp 0x40363a
push dword [ebp - 0x4014]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004037ca
mov esp, ebp
pop ebp
ret
Function at 0x10001dd0
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.100035b0
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 0x10001e44
push 0x94c4c32
call fcn.100035b0
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.100034c0
add esp, 8
mov dword [ebp - 0x20], eax
push 0x4842adf4
mov eax, dword [ebp - 0x24]
push eax
call fcn.100034c0
add esp, 8
mov dword [ebp - 0x30], eax
push 0x42f77b2b
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.100034c0
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 0x10001ed9
cmp dword [ebp - 4], 0xffffffff
jne 0x10001f41
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 0x10001f13
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 0x10001fe0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
push 0x289fbd13
call fcn.100035b0
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 0x100020a9
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.10003670
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 0x10002129
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.10003670
add esp, 8
push 0
lea edx, [ebp - 0x80]
push edx
call dword [ebp - 0x84]
mov esp, ebp
pop ebp
ret
Function at 0x100022c0
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.100035b0
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 0x10002334
push 0x94c4c32
call fcn.100035b0
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.100034c0
add esp, 8
mov dword [ebp - 0x20], eax
push 0x4842adf4
mov eax, dword [ebp - 0x40]
push eax
call fcn.100034c0
add esp, 8
mov dword [ebp - 0x4c], eax
push 0x42f77b2b
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.100034c0
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 0x100023c9
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 0x10003430
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 0x100034a8
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
cmp eax, 0x41
jl 0x10003481
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
cmp edx, 0x5a
jg 0x10003481
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 0x10003493
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 0x1000344b
mov eax, dword [ebp - 0xc]
and eax, 0x7fffffff
mov esp, ebp
pop ebp
ret

Function at 0x100034c0
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 0x100034f6
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 0x10003554
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.10003430
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jne 0x10003552
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 0x10003556
jmp 0x100034ed
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10003560
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