joyce8/EMBER2024-capa huggingface dataset:
Function at 0x505918
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x505ad3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a2d0
mov eax, dword [ebp - 4]
call fcn.00505248
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x50596a
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040ae24
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0050655c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x505a49
xor eax, eax
push ebp
push 0x505a42
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.005054e8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00505b08
test al, al
je 0x505a20
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.0040a030
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x505a20
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.0040aa00
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00505448
test al, al
je 0x505a1a
mov eax, dword [ebp - 8]
call fcn.0040aa00
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040aa68
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00505918
dec ebx
cmp ebx, 0xffffffff
jne 0x5059c9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x505a49
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.005054e8
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp byte [0x7144a0], 0
je 0x505a89
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.0040aa00
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.005054d4
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00505448
mov ebx, eax
jmp 0x505ab0
mov eax, dword [ebp - 4]
call fcn.0040aa00
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.005054d4
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00505448
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x505ada
lea eax, [ebp - 0x3c]
call fcn.00409ea8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409f08
ret
Function at 0x505b74
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x505c2c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x48]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00505b08
test al, al
je 0x505c0e
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040a030
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x505c0e
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040aa00
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.0040aa00
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040aa68
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
inc esi
dec ebx
jne 0x505bc7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x505c33
lea eax, [ebp - 0x2c]
call fcn.00409ea8
lea eax, [ebp - 4]
call fcn.00409ea8
ret

Function at 0x505de4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x505e9c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x48]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00505b08
test al, al
je 0x505e7e
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040a030
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x505e7e
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040aa00
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.0040aa00
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040aa68
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
inc esi
dec ebx
jne 0x505e37
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x505ea3
lea eax, [ebp - 0x2c]
call fcn.00409ea8
lea eax, [ebp - 4]
call fcn.00409ea8
ret
Function at 0x506438
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.00505260
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0040aa00
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.00505448
test al, al
jne 0x5064a0
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x70e364]
mov dl, 1
mov eax, dword [0x5030b0]
call fcn.00429cac
call fcn.00409528
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x5064ac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040aa00
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.00505448
test al, al
jne 0x50650d
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x70e7dc]
mov dl, 1
mov eax, dword [0x5030b0]
call fcn.00429cac
call fcn.00409528
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00505290
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x506b0c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x506c34
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.005054e8
xor eax, eax
push ebp
push 0x506c0f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00505b08
test al, al
je 0x506bf3
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.005069ec
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040a030
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x506bf3
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040aa00
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00505448
test al, al
je 0x506bef
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040aa00
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.0040aa68
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.005069ec
pop ecx
inc edi
dec ebx
jne 0x506b97
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506c16
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.005054e8
ret
Function at 0x506c44
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x506e92
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.005054e8
xor eax, eax
push ebp
push 0x506e68
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00505b08
test al, al
je 0x506e4c
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040a030
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x506e4c
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.0040aa00
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00505448
test al, al
je 0x506e40
mov eax, dword [ebp - 4]
call fcn.0040aa00
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.0040aa68
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050655c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x506e40
xor eax, eax
push ebp
push 0x506e39
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.005054e8
xor eax, eax
push ebp
push 0x506e1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040aa00
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.0040aa68
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005054ec
mov eax, dword [ebp - 4]
call fcn.0040aa00
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.0040aa68
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050655c
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x506df8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00506b0c
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00506c44
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506dff
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x506ccf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506e6f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.005054e8
ret
Function at 0x510e50
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x510e56
ret
Function at 0x52f264
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x714660], 0
je 0x52f3a5
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x70e470]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x52f3a5
mov eax, dword [0x714664]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x714660]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x52f374
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x714660]
call fcn.004b3f44
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x52f36c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x205], 0
je 0x52f36c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x68]
test al, al
je 0x52f36c
mov eax, dword [ebp - 0x14]
call fcn.0053afa4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x52f36c
push ebp
call fcn.0052f220
pop ecx
test al, al
jne 0x52f36c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb9
call fcn.00408504
test al, al
je 0x52f36c
mov byte [ebp - 9], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 9]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffba
call fcn.00408504
cmp byte [ebp - 9], 0
je 0x52f36c
lea edx, [ebp - 8]
lea eax, [ebp - 0x28]
call fcn.004104fc
test al, al
je 0x52f36c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x714664]
call fcn.0052e968
inc edi
dec ebx
jne 0x52f2c9
mov eax, dword [0x714664]
cmp dword [eax + 8], 0
jle 0x52f38c
mov eax, dword [0x714664]
call fcn.0052ea1c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x52f3a5
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0052f088
pop ecx
test al, al
jne 0x52f3a5
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x537a7c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.004109ec
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.005318a8
test ebx, ebx
jne 0x537acf
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.005378f4
mov ebx, eax
test ebx, ebx
je 0x537bc5
cmp esi, ebx
je 0x537af8
mov eax, dword [esp]
sub eax, dword [ebx + 0x50]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x54]
mov dword [esp + 0x118], eax
jmp 0x537b0d
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x537b45
add eax, 0xffffff5f
sub eax, 2
jb 0x537b5d
dec eax
sub eax, 2
jb 0x537b71
dec eax
sub eax, 2
jb 0x537b67
jmp 0x537b7b
add eax, 0xfffffdff
sub eax, 2
jb 0x537b5d
dec eax
sub eax, 2
jb 0x537b71
dec eax
sub eax, 2
jb 0x537b67
jmp 0x537b7b
mov byte [esp + 0x120], 0
jmp 0x537b83
mov byte [esp + 0x120], 2
jmp 0x537b83
mov byte [esp + 0x120], 1
jmp 0x537b83
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00606248
mov esi, eax
call fcn.0052e314
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.005332ec
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x537bc7
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x560248
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x560335
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x560307
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x5602f6
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00406a18
mov eax, dword [ebp - 4]
call fcn.0055ff88
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
test eax, eax
jne 0x5602df
mov ecx, dword [0x70dfac]
mov dl, 1
mov eax, dword [0x4912d4]
call fcn.00429bdc
call fcn.00409528
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5602fd
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x560518
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x5605c0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x560593
mov edx, ebx
mov eax, dword [0x50e5bc]
call fcn.00516340
test al, al
je 0x560583
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
mov edi, eax
push edi
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00516258
call fcn.0040961c
jmp 0x5605c7
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x56054b
mov ecx, dword [0x70e038]
mov dl, 1
mov eax, dword [0x55fe90]
call fcn.00429bdc
call fcn.00409528
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5605c7
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x5605d0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x560628
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56062f
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x560638
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x56068d
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x560694
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x560704
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x560779
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0055ff88
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0051631c
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x560763
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x560780
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x560788
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x5607fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0055ff88
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x68]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x5607e7
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x560804
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x575340
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa0
mov edi, edx
mov ebx, eax
mov eax, ebx
call fcn.0053b374
test al, al
je 0x5755bf
mov eax, esp
xor ecx, ecx
mov edx, 0x60
call fcn.004075e4
mov edx, edi
mov eax, dword [ebx + 0x418]
call fcn.005771d8
mov esi, eax
mov eax, ebx
call fcn.0053afa4
mov ebp, eax
mov edx, edi
mov eax, dword [ebx + 0x418]
call fcn.005771d8
mov eax, dword [eax + 0x14]
push 0
push eax
push 0x1096
push ebp
call sub.user32.dll_SendMessageW
mov dword [esp + 4], 0xd
cmp dword [esi + 0x10], 0
je 0x5753b1
or dword [esp + 4], 2
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp], 0x60
cmp byte [esi + 0x1a], 2
jne 0x5753f6
cmp dword [esi + 0x28], 0xffffffff
jle 0x5753f6
mov eax, 0x5755c8
mov dword [esp + 8], eax
mov eax, 0x5755c8
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xc]
call fcn.0040aa00
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x1c]
call fcn.0040aa00
mov dword [esp + 0x40], eax
jmp 0x575420
mov eax, dword [esi + 0xc]
call fcn.0040aa00
mov dword [esp + 8], eax
mov eax, dword [esi + 0x1c]
call fcn.0040aa00
mov dword [esp + 0x28], eax
mov eax, 0x5755c8
mov dword [esp + 0x38], eax
mov eax, 0x5755c8
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x10]
call fcn.0040aa00
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x20], eax
mov edx, edi
mov eax, dword [ebx + 0x418]
call fcn.005771d8
test byte [eax + 0x18], 1
je 0x575450
or dword [esp + 0x20], 0
mov edx, edi
mov eax, dword [ebx + 0x418]
call fcn.005771d8
test byte [eax + 0x18], 2
je 0x575468
or dword [esp + 0x20], 2
xor edx, edx
mov eax, 6
call fcn.0042ad20
test al, al
je 0x57556d
mov edx, edi
mov eax, dword [ebx + 0x418]
call fcn.005771d8
test byte [eax + 0x18], 8
je 0x575494
or dword [esp + 0x20], 4
mov edx, edi
mov eax, dword [ebx + 0x418]
call fcn.005771d8
test byte [eax + 0x18], 0x10
je 0x5754ac
or dword [esp + 0x20], 8
mov edx, edi
mov eax, dword [ebx + 0x418]
call fcn.005771d8
test byte [eax + 0x18], 4
je 0x5754c4
or dword [esp + 0x20], 1
mov edx, edi
mov eax, dword [ebx + 0x418]
call fcn.005771d8
test byte [eax + 0x18], 0x20
je 0x5754dc
or dword [esp + 0x20], 0x10
mov edx, edi
mov eax, dword [ebx + 0x418]
call fcn.005771d8
test byte [eax + 0x18], 0x40
je 0x5754f4
or dword [esp + 0x20], 0x20
mov eax, dword [esi + 0x28]
cmp eax, 0xffffffff
jle 0x575504
or dword [esp + 4], 0x1000
mov dword [esp + 0x48], eax
cmp byte [esi + 0x1a], 2
jne 0x57551c