joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49e8cf
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push ebp
push esi
push edi
push 1
call ebx
movzx esi, ax
push 2
shr esi, 0xf
call ebx
mov edi, esi
or edi, 2
bt ax, 0xf
push 4
cmovae edi, esi
call ebx
mov cx, ax
mov eax, edi
or eax, 4
bt cx, 0xf
cmovae eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x49ee8c
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x18]
push eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x49eec4
push dword [edi]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [esp + 0x10], 1
push dword [edi]
push esi
call fcn.004a6378
test byte [edi + 0x14], 8
mov dword [esp + 0x14], eax
je 0x49efb5
call dword [sym.imp.USER32.dll_GetFocus]
cmp dword [edi], eax
jne 0x49efb5
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
sub ebp, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x49efe3
test ebp, ebp
jle 0x49efe3
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
je 0x49efe3
push ebp
push dword [esp + 0x30]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x30], eax
test eax, eax
je 0x49efac
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [edi + 0x10], 0
je 0x49ef56
push 4
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push dword [edi + 0x10]
push eax
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawStateW]
jmp 0x49ef6b
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push 2
pop eax
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
sub dword [esp + 0x20], eax
sub dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawFocusRect]
push 0xcc0020
xor eax, eax
push eax
push eax
push ebx
push ebp
push dword [esp + 0x40]
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x49efe3
cmp dword [edi + 0x10], ebx
je 0x49efcf
push 4
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [edi + 0x10]
push ebx
push ebx
push esi
call dword [sym.imp.USER32.dll_DrawStateW]
jmp 0x49efe3
push ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
push dword [esp + 0x14]
push esi
call fcn.004a6356
cmp dword [esp + 0x10], 0
je 0x49effd
push esi
push dword [edi]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x49f005
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetMessagePos]
mov edi, dword [esp + 0x20]
mov esi, eax
push 0xfffffffffffffff4
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [edi]
mov dword [esp + 0x14], eax
call fcn.004a2b34
push eax
call fcn.004a794a
push dword [0x5adf2c]
mov dword [esp + 0x24], eax
call fcn.004bf2c4
mov ebp, eax
movsx ecx, si
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
push eax
push dword [edi]
shr esi, 0x10
movsx ecx, si
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
movzx esi, ax
push 0x12
shr esi, 0xf
call edi
mov ebx, esi
or ebx, 2
bt ax, 0xf
push 0x11
cmovae ebx, esi
call edi
mov ecx, 0x8000
and ax, cx
movzx esi, ax
mov eax, dword [esp + 0x14]
mov dword [ebp], eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 4], eax
call fcn.0049e8cf
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [ebp + 0xc], eax
mov eax, ebx
push 0x49f0f0
push ebp
push dword [esp + 0x2c]
or eax, 4
test si, si
push dword [esp + 0x2c]
cmove eax, ebx
push dword [esp + 0x20]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [ebp + 0x14], eax
movzx eax, word [esp + 0x44]
push 0x332c
mov dword [ebp + 0x18], eax
call fcn.004a991b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x49f9d3
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x5af4c4]
call fcn.004bf07f
mov ebx, eax
test ebx, ebx
je 0x49fa37
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x49f9fc
push dword [esp + 0xc]
push ebx
call eax
jmp 0x49fa37
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push dword [esp + 0x14]
mov edi, eax
push edi
call fcn.004bfd50
mov esi, eax
lea ecx, [edi + 1]
push ecx
xor eax, eax
push esi
mov word [esi], ax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call fcn.00454608
pop ecx
sub edi, eax
push edi
call fcn.004bfde0
pop edi
pop esi
pop ebx
ret 8

Function at 0x4a058b
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push 0
push 0
push 0x1304
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x4a05fd
push ebp
mov ebp, dword [esp + 0x10]
mov ecx, ebp
and ecx, dword [esp + 0x14]
push esi
push edi
push dword [ebx]
cmp ecx, 0xffffffff
cmove ebp, eax
call fcn.0049fd4c
push ebp
push dword [ebx]
mov edi, eax
call fcn.0049fd25
add esp, 0xc
mov esi, eax
push 0
push ebp
push 0x130c
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
push dword [ebx]
call fcn.004a061d
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x4a1fbf
Capabilities:
Get graphical window text

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
xor edi, edi
push edi
push edi
push 0x147
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
or eax, 0xffffffff
cmp ebx, eax
je 0x4a204e
push 0xfffffffffffffff0
push dword [ebp]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 1
jne 0x4a204e
push esi
push dword [ebp]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
lea ecx, [esi*2 + 2]
push ecx
push edi
push dword [0x5acc94]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
lea ecx, [esi + 1]
push ecx
xor eax, eax
push edi
mov word [edi], ax
push dword [ebp]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
or esi, 0xffffffff
push esi
push 0x158
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
push dword [0x5acc94]
cmp eax, esi
cmove ebx, esi
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
mov eax, ebx
pop ebp
cdq
pop ebx
ret 4

Function at 0x4a6a7c
Capabilities:
Check if file exists

Disassembly:
xor eax, eax
push ebx
mov ebx, eax
mov eax, dword [0x5ae5ac]
push esi
push edi
test eax, eax
jne 0x4a6aa2
push 0x4a6bab
push 0x10
push 0x258
call fcn.004bf151
mov dword [0x5ae5ac], eax
mov edi, dword [esp + 0x10]
push edi
push eax
call fcn.004bf0bd
mov esi, eax
test esi, esi
je 0x4a6ba3
cmp dword [esp + 0x14], ebx
mov eax, 0x55e448
push ebp
cmovne eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
test ebp, ebp
je 0x4a6ada
xor ecx, ecx
cmp word [ebp], cx
jne 0x4a6ae3
mov ebp, 0x56d594
mov dword [esp + 0x1c], ebp
push eax
call fcn.00454608
push ebp
mov dword [esp + 0x20], eax
call fcn.00454608
add eax, dword [esp + 0x20]
pop ecx
pop ecx
lea eax, [eax*2 + 4]
push eax
xor eax, eax
push eax
push dword [0x5acc94]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
je 0x4a6b90
push dword [esp + 0x14]
push ebp
call fcn.00540568
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4a6b43
mov eax, dword [esp + 0x14]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x4a6b43
push 0x55b688
push ebp
call fcn.0054221b
pop ecx
pop ecx
push dword [esp + 0x1c]
push ebp
call fcn.0054221b
pop ecx
pop ecx
lea eax, [esi + 8]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x4a6b68
xor ecx, ecx
mov dword [esi + 4], ecx
jmp 0x4a6b7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 2
jne 0x4a6b7e
mov dword [esi + 4], 1
mov ebx, esi
push ebp
push ecx
push dword [0x5acc94]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test ebx, ebx
jne 0x4a6ba2
cmp edi, 0xffffffff
cmove edi, esi
push edi
push dword [0x5ae5ac]
call fcn.004bf030
pop ebp
pop edi
pop esi
mov eax, ebx
pop ebx
ret 0xc

Function at 0x4a6c21
Capabilities:
Delete file
Set file attributes

Disassembly:
cmp dword [esp + 4], 0
je 0x4a6c4a
test byte [esp + 8], 2
je 0x4a6c3e
push 0x80
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4a6c4c
xor eax, eax
ret 8
Function at 0x4a6d3c
Capabilities:
Get disk information
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x45c
push esi
or esi, 0xffffffff
push edi
mov edi, esi
test eax, eax
je 0x4a6e84
xor ecx, ecx
cmp word [eax], cx
je 0x4a6e84
push 0x104
push eax
lea eax, [esp + 0x10]
push eax
call fcn.0054224c
xor eax, eax
mov word [esp + 0x21c], ax
lea eax, [esp + 0x14]
push eax
call fcn.00454608
add esp, 0x10
lea ecx, [esp + eax*2 + 6]
cmp eax, 2
je 0x4a6d95
cmp eax, 3
jne 0x4a6dcf
cmp word [esp + 0xa], 0x3a
jne 0x4a6dcf
cmp eax, 2
jne 0x4a6db3
lea eax, [esp + 8]
push 0x55b688
push eax
call fcn.0054221b
pop ecx
pop ecx
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x4a6e84
push 0xfffffffffffffffe
pop edi
jmp 0x4a6e84
push ebx
push ebp
push 0x5c
pop ebp
push 0x2f
pop ebx
movzx eax, word [ecx]
cmp ax, bp
je 0x4a6de4
cmp ax, bx
jne 0x4a6dee
xor eax, eax
mov word [ecx], ax
sub ecx, 2
jmp 0x4a6dd7
lea eax, [esp + 0x21c]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, esi
je 0x4a6e2d
test byte [esp + 0x21c], 0x10
je 0x4a6e14
push 0xfffffffffffffffe
pop edi
jmp 0x4a6e24
mov esi, dword [esp + 0x238]
xor edi, edi
or edi, dword [esp + 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4a6e82
cmp word [esp + 0x10], bp
jne 0x4a6e3b
cmp word [esp + 0x12], bp
je 0x4a6e5a
cmp word [esp + 0x10], bx
jne 0x4a6e49
cmp word [esp + 0x12], bx
je 0x4a6e5a
push 0x2e
pop eax
cmp word [esp + 0x10], ax
jne 0x4a6e82
cmp word [esp + 0x12], ax
jne 0x4a6e82
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
je 0x4a6e6f
test al, 0x10
je 0x4a6e82
jmp 0x4a6e7f
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x4a6e82
push 0xfffffffffffffffe
pop edi
pop ebp
pop ebx
mov eax, edi
mov edx, esi
pop edi
pop esi
add esp, 0x45c
ret 4
Function at 0x4a7207
Capabilities:
Check os version

Disassembly:
sub esp, 0x34c
push ebp
push esi
push edi
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x114
push eax
mov esi, 0xc8
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4a7370
mov eax, dword [esp + 0x1c]
sub eax, 1
je 0x4a7353
sub eax, 1
jne 0x4a7370
lea eax, [esp + 0x120]
xor edi, edi
push eax
call fcn.004a71c0
pop ecx
test eax, eax
je 0x4a727e
cmp byte [esp + 0x23a], 1
mov ecx, dword [esp + 0x124]
mov eax, dword [esp + 0x128]
mov ebp, dword [esp + 0x12c]
jne 0x4a72b4
inc edi
jmp 0x4a72b4
lea eax, [esp + 0x23c]
mov dword [esp + 0x23c], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4a7370
mov ecx, dword [esp + 0x10]
xor edx, edx
mov eax, dword [esp + 0x14]
inc edx
cmp byte [esp + 0x356], dl
cmove edi, edx
sub ecx, 3
je 0x4a734f
sub ecx, 1
je 0x4a734b
sub ecx, 1
je 0x4a732d
sub ecx, 1
je 0x4a72f1
sub ecx, 4
jne 0x4a7370
test eax, eax
jne 0x4a7370
cmp ebp, 0x55f0
sbb esi, esi
and esi, 0xfffffff6
add esi, 0x78
jmp 0x4a7370
sub eax, 0
je 0x4a7320
sub eax, 1
je 0x4a7313
sub eax, 1
je 0x4a730c
sub eax, 1
jne 0x4a7370
push 0x69
pop esi
push 0x64
jmp 0x4a7325
push 0x5a
pop esi
push 0x5f
jmp 0x4a7318
push 0x50
pop esi
push 0x55
test edi, edi
pop eax
cmove esi, eax
jmp 0x4a7370
push 0x4b
pop esi
push 0x46
test edi, edi
pop eax
cmovne esi, eax
jmp 0x4a7370
sub eax, 0
je 0x4a7347
sub eax, 1
je 0x4a7343
sub eax, 1
jne 0x4a7370
push 0x41
pop esi
push 0x3c
jmp 0x4a7325
push 0x3c
jmp 0x4a736f
push 0x32
jmp 0x4a736f
push 0x14
jmp 0x4a736f
push 5
jmp 0x4a736f
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a736d
cmp eax, 0xa
je 0x4a7369
cmp eax, 0x5a
jne 0x4a7370
push 0x28
jmp 0x4a736f
push 0x1e
jmp 0x4a736f
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x34c
ret
Function at 0x4a7eaa
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push dword [0x5af4e0]
call fcn.004bf07f
mov esi, eax
test esi, esi
je 0x4a7f86
cmp dword [ebp + 0xc], 0
je 0x4a7ef6
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x4a7ee7
cmp dword [esi + 0x1c], 0
jne 0x4a7ee7
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4a7f86
test byte [ebp + 0x10], 3
push ebx
push 4
pop ebx
je 0x4a7f14
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
push dword [ebp + 0x10]
push dword [esi]
call fcn.004a8a5b
cmp dword [esi + 0x3c], 0xffffffff
je 0x4a7f38
xor eax, eax
cmp dword [esi + 0x3c], 0x1000000
sete al
xor ecx, ecx
cmp dword [esi + 0x3c], 0x20000000
sete cl
or dword [esi + 0x3c], 0xffffffff
jmp 0x4a7f50
push dword [esi]
call dword [sym.imp.USER32.dll_IsZoomed]
push dword [esi]
mov dword [ebp + 8], eax
call dword [sym.imp.USER32.dll_IsIconic]
mov ecx, eax
mov eax, dword [ebp + 8]
test dword [ebp + 0x10], 0x2000000
je 0x4a7f6b
test eax, eax
je 0x4a7f61
push 8
jmp 0x4a7f71
push 7
test ecx, ecx
pop eax
cmovne ebx, eax
jmp 0x4a7f7c
test eax, eax
je 0x4a7f74
push 3
pop ebx
jmp 0x4a7f7c
xor ebx, ebx
test ecx, ecx
setne bl
inc ebx
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x4a8bdb
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
xor edi, edi
call dword [sym.imp.USER32.dll_GetFocus]
mov ebp, dword [esp + 0x3c]
mov ebx, eax
and dword [esp + 0x10], edi
push str.PB_WindowID
push ebp
call dword [sym.imp.USER32.dll_GetPropW]
mov esi, eax
push 9
pop eax
test esi, esi
je 0x4a8c71
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x4a8c6e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x14], eax
jne 0x4a8c6e
lea eax, [esi - 1]
push eax
push dword [0x5af4e0]
call fcn.004bf07f
mov edi, eax
mov dword [esp + 0x10], 1
xor eax, eax
push 9
cmp dword [edi + 0x10], eax
jle 0x4a8c70
mov ecx, dword [edi + 4]
add ecx, 4
pop esi
cmp word [ecx - 2], si
jne 0x4a8c5e
mov edx, 0xfa01
cmp word [ecx], dx
je 0x4a8c69
inc eax
add ecx, 6
cmp eax, dword [edi + 0x10]
jl 0x4a8c4e
jmp 0x4a8c6e
and dword [esp + 0x10], 0
push 9
pop eax
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
test ebx, ebx
je 0x4a8d17
push eax
call esi
test al, al
jns 0x4a8d17
push 0x11
call esi
test al, al
js 0x4a8d17
push 0x10
call esi
test al, al
js 0x4a8d17
push 0x12
call esi
test al, al
js 0x4a8d17
push 0x10
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp dword [esp + 0x10], 0
jne 0x4a8d17
push 5
lea eax, [esp + 0x1c]
push str.RichE
push eax
call fcn.004548e0
add esp, 0xc
test eax, eax
je 0x4a8ceb
push 4
lea eax, [esp + 0x1c]
push str.RICHE
push eax
call fcn.004548e0
add esp, 0xc
test eax, eax
jne 0x4a8d02
push 0
push 0
push 0x44e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, 0x800
je 0x4a8d58
lea eax, [esp + 0x18]
push str.Scintilla
push eax
call fcn.0054228c
pop ecx
pop ecx
test eax, eax
je 0x4a8d58
test ebp, ebp
je 0x4a8d3b
push 0x11
call esi
test al, al
js 0x4a8d33
push 0x10
call esi
test al, al
js 0x4a8d33
push 0x12
call esi
test al, al
jns 0x4a8d3b
push 1
push ebp
call fcn.004a8d64
test ebx, ebx
je 0x4a8d4f
push str.PB_Hotkey
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x4a8d58
test edi, edi
je 0x4a8d58
mov eax, dword [edi + 8]
jmp 0x4a8d5a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4

Function at 0x4aaef3
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor esi, esi
push esi
mov ebx, esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4aaf34
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x4aaf2c
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x4aaf2c
push esi
call fcn.00454608
pop ecx
mov ebx, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4aaf37
mov edi, dword [ebp + 8]
push dword [ebp + 8]
push ebx
call fcn.004bfd50
test esi, esi
je 0x4aaf5f
lea ecx, [ebx*2 + 2]
push ecx
push esi
push eax
call fcn.0045c210
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x4aaf64
xor ecx, ecx
mov word [eax], cx
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4aaf6b
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4aafe1
cmp dword [esp + 8], esi
push ebx
push ebp
mov ebx, 0x55e448
cmovne ebx, dword [esp + 0x10]
push edi
push ebx
call fcn.00454608
pop ecx
lea ebp, [eax*2 + 2]
push ebp
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4aafd8
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4aafd8
push ebp
push ebx
push eax
call fcn.0045c210
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov esi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
ret 4

Function at 0x4ab0ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
test edx, edx
jne 0x4ab0be
mov eax, dword [esp + 0xc]
jmp 0x4ab1a0
mov ecx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
not ecx
cmp esi, 8
jb 0x4ab17f
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x56d838]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x56d838]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x56d838]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x56d838]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x56d838]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x56d838]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x56d838]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x56d838]
sub edi, 1
jne 0x4ab0d8
pop edi
test esi, esi
je 0x4ab19b
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x56d838]
inc edx
sub esi, 1
jne 0x4ab183
not ecx
mov eax, ecx
pop esi
ret 0xc
Function at 0x4ab3e0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x94
test dword [esp + 0xa0], 0x10000
je 0x4ab566
push ebx
mov ebx, dword [esp + 0x9c]
test ebx, ebx
je 0x4ab565
mov eax, dword [ebx]
mov ecx, dword [esp + 0xa8]
cdq
and edx, 7
push ebp
mov ebp, dword [ebx + 4]
add eax, edx
sar eax, 3
test ecx, ecx
push esi
push edi
mov edi, 0x55e448
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb8]
cmovne edi, ecx
cmp eax, 0x18
jne 0x4ab451
push edi
call fcn.00537ce0
mov edi, eax
mov esi, edi
lea eax, [esi + 1]
mov cl, byte [esi]
inc esi
test cl, cl
jne 0x4ab446
sub esi, eax
jmp 0x4ab489
cmp eax, 0x19
jne 0x4ab473
mov esi, edi
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4ab460
sub esi, ecx
sar esi, 1
add esi, esi
jmp 0x4ab489
push edi
call fcn.00537b00
mov edi, eax
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4ab480
sub esi, ecx
push esi
push edi
cmp esi, ebp
jle 0x4ab4d8
mov esi, dword [esp + 0xb4]
push ebx
mov eax, dword [esi + 0xc]
call eax
mov eax, dword [esi + 0x10]
push ebx
call eax
push dword [esp + 0x10]
lea eax, [ebx + 8]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0045c210
mov eax, ebp
sub eax, dword [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
add eax, dword [esp + 0x20]
push 0
push eax
call fcn.0045cb60
mov eax, dword [esi + 8]
add esp, 0x18
push 1
push ebx
call eax
jmp 0x4ab4f8
lea eax, [esp + 0x1c]
push eax
call fcn.0045c210
mov eax, ebp
sub eax, esi
push eax
lea eax, [esp + 0x24]
add eax, esi
push 0
push eax
call fcn.0045cb60
add esp, 0x18
push ebp
lea eax, [esp + 0x18]
push eax
lea esi, [ebx + 0x48]
push esi
call fcn.0045c210
add esp, 0xc
test ebp, ebp
jle 0x4ab525
lea eax, [esp + 0x14]
mov ecx, ebp
xor byte [eax], 0x36
lea eax, [eax + 1]
xor byte [esi], 0x5c
lea esi, [esi + 1]
sub ecx, 1
jne 0x4ab514
push ebp
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0xb4]
push ebx
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [esp + 0xb8]
cmp eax, 0x18
jne 0x4ab557
push edi
call fcn.00537af0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 0x14
cmp eax, 0x19
je 0x4ab562
push edi
call fcn.00537af0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 0x14

Function at 0x4ab9f5
Capabilities:
Set thread local storage value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
push edi
mov edi, ebx
test esi, esi
je 0x4aba52
push esi
call dword [esi + 0x58]
mov ecx, dword [esi + 0x80]
mov edi, eax
mov dword [esi + 0x94], ecx
mov ecx, dword [esi + 0x84]
mov dword [esi + 0x98], ecx
test edi, edi
jne 0x4aba52
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4aba31
push ebx
push esi
call eax
push esi
push ebx
push dword [0x5acc94]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
push dword [0x5af558]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0x5af554], ebx
mov eax, edi
pop edi
pop esi
pop ebx
ret 4