joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b3a33
Capabilities:
Reference sql statements

Disassembly:
push 4
mov eax, 0x62f332
call fcn.0058c0ed
mov esi, ecx
push 0x41
lea ecx, [esi + 0x1cf5]
call fcn.004c9e71
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push 0x48
mov dword [edi], eax
call fcn.004aef25
call fcn.0054f69d
push eax
lea ecx, [ebp + 0x10]
call fcn.004018a6
push dword [ebp + 8]
and dword [ebp - 4], 0
push 2
push dword [ebp + 8]
lea eax, [ebp + 0x10]
push 1
push 0x660250
push eax
call fcn.00401e49
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x18b4]
push 0xffffffffffffffff
push dword [ebp + 0x10]
push dword [eax + 0xbb4]
call fcn.004830b7
add esp, 0x2c
mov dword [ebp + 8], eax
test eax, eax
jne 0x4b3b02
jmp 0x4b3af4
push 0
push dword [ebp - 0x10]
call fcn.00442db6
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x4b3ace
mov ecx, dword [ebp + 0xc]
add eax, 0x3bd
push eax
call fcn.004aef25
push 1
push dword [ebp - 0x10]
call fcn.00442db6
mov ebx, eax
pop ecx
pop ecx
cmp ebx, 0xffffffff
je 0x4b3af4
push 1
push dword [ebp - 0x10]
call fcn.00442e34
pop ecx
pop ecx
cmp eax, 5
je 0x4b3af4
mov dword [edi], ebx
push dword [ebp - 0x10]
call fcn.004887a0
pop ecx
cmp eax, 0x65
jne 0x4b3aaf
push dword [ebp + 8]
mov ecx, dword [esi + 0x18b4]
call fcn.0041195f
push dword [ebp - 0x10]
call fcn.00477166
pop ecx
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00401493
call fcn.0058c1c5
ret 0xc
Function at 0x4b3c6f
Capabilities:
Reference sql statements

Disassembly:
push 0x18
mov eax, 0x62f3c9
call fcn.0058c0ed
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov edi, dword [ebp + 8]
push 0x6401e8
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.00402035
mov dword [ebp - 4], ebx
inc ebx
mov dword [ebp - 0x1c], ebx
jmp 0x4b3d9a
call fcn.0054f69d
push eax
lea ecx, [ebp - 0x14]
call fcn.004018a6
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push str.SELECT__name___parent__FROM__categories__WHERE__key____i
push eax
mov dword [ebp - 4], ebx
call fcn.00401e49
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x18b4]
push 0xffffffffffffffff
push dword [ebp - 0x14]
push dword [eax + 0xbb4]
call fcn.004830b7
add esp, 0x20
test eax, eax
jne 0x4b3d82
mov dword [ebp + 0xc], 0xffffff9d
jmp 0x4b3d70
mov ecx, dword [esi + 0x18b4]
push 0
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.00413b8e
push ebx
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00442db6
mov dword [ebp + 0xc], eax
push 0x6603c0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040e47a
push edi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.0040e423
add esp, 0x20
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00401dd7
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], bl
call fcn.00401493
push dword [ebp - 0x10]
call fcn.004887a0
pop ecx
cmp eax, 0x65
jne 0x4b3cf2
push dword [ebp - 0x10]
call fcn.00477166
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401493
cmp dword [ebp + 0xc], 0xffffff9d
jne 0x4b3ca0
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
add eax, 0xfffffffd
push eax
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
call fcn.00403286
push eax
mov ecx, edi
mov dword [ebp - 4], 5
call fcn.00401dd7
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00401493
mov eax, edi
call fcn.0058c1c5
ret 8
Function at 0x4b4ebd
Capabilities:
Reference sql statements

Disassembly:
push 0x1c
mov eax, 0x62f6d7
call fcn.0058c0ed
mov esi, ecx
mov eax, dword [esi + 0x18b4]
xor edi, edi
push edi
push edi
push edi
push str.BEGIN_TRANSACTION_
push dword [eax + 0xbb4]
mov dword [ebp - 4], edi
call fcn.00488a1c
add esp, 0x14
call fcn.0054f69d
push eax
lea ecx, [ebp - 0x18]
call fcn.004018a6
mov byte [ebp - 4], 1
call fcn.0054f69d
push eax
lea ecx, [ebp - 0x14]
call fcn.004018a6
push 6
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push 1
push 4
push str.SELECT__stickies_._key___stickies_._flags___content_rtf_._rtf__FROM__stickies__LEFT_JOIN__content_rtf__ON__stickies_._key____content_rtf_._key__WHERE____flags____i___0__AND____flags____i___0__AND___s__AND__noteclass____i
push eax
mov byte [ebp - 4], 2
call fcn.00401e49
push edi
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x18b4]
push 0xffffffffffffffff
push dword [ebp - 0x18]
push dword [eax + 0xbb4]
call fcn.004830b7
add esp, 0x2c
cmp eax, edi
jne 0x4b502b
jmp 0x4b5019
push edi
push dword [ebp - 0x10]
call fcn.00442db6
push 1
push dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
call fcn.00442db6
mov ecx, dword [esi + 0x18b4]
add esp, 0x10
push 2
push dword [ebp - 0x10]
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040d4a8
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
or ebx, 4
call fcn.00402e5b
lea eax, [esi + 0x1b2c]
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.004b4e0c
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00401dd7
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401493
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push ebx
push str.UPDATE__stickies__SET__flags____i_WHERE__key____i
push eax
call fcn.00401e49
push edi
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esi + 0x18b4]
push 0xffffffffffffffff
push dword [ebp - 0x18]
push dword [eax + 0xbb4]
call fcn.004830b7
add esp, 0x24
test eax, eax
jne 0x4b4ffe
push dword [ebp - 0x1c]
call fcn.004887a0
pop ecx
push dword [ebp - 0x1c]
call fcn.00477166
pop ecx
push dword [ebp - 0x20]
mov ecx, dword [esi + 0x18b4]
lea eax, [ebp - 0x14]
push eax
call fcn.0041d68d
push dword [ebp - 0x10]
call fcn.004887a0
pop ecx
cmp eax, 0x65
jne 0x4b4f52
push dword [ebp - 0x10]
call fcn.00477166
mov eax, dword [esi + 0x18b4]
push edi
push edi
push edi
push str.COMMIT_TRANSACTION_
push dword [eax + 0xbb4]
call fcn.00488a1c
mov ecx, dword [ebp - 0x14]
add esp, 0x18
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401493
call fcn.0058c1c5
ret 4
Function at 0x4b51e8
Capabilities:
Reference sql statements

Disassembly:
push 0x54
mov eax, 0x62f76b
call fcn.0058c0ed
mov esi, ecx
xor ebx, ebx
push 0x6401e8
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.00402035
mov byte [ebp - 4], 1
call fcn.0054f69d
push eax
lea ecx, [ebp - 0x18]
call fcn.004018a6
push str.manage.encrypted.password
lea eax, [ebp - 0x18]
push str.SELECT__value__FROM__options__WHERE__option____s
push eax
mov byte [ebp - 4], 2
call fcn.00401e49
mov edi, dword [ebp - 0x18]
push ebx
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x18b4]
push 0xffffffffffffffff
push edi
push dword [eax + 0xbb4]
call fcn.004830b7
add esp, 0x20
cmp eax, ebx
jne 0x4b5293
jmp 0x4b5285
mov ecx, dword [esi + 0x18b4]
push ebx
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.00413b8e
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00401dd7
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401493
push dword [ebp - 0x10]
call fcn.004887a0
pop ecx
cmp eax, 0x65
jne 0x4b5256
push dword [ebp - 0x10]
call fcn.00477166
pop ecx
lea ecx, [ebp - 0x60]
call fcn.00402079
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 4
call fcn.00402e5b
lea ecx, [ebp - 0x60]
call fcn.00401aab
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.00402e5b
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.004b4e0c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00406897
mov ecx, dword [ebp - 0x1c]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.00401493
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.004011bc
lea ecx, [edi - 0x10]
call fcn.00401493
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401493
mov al, bl
call fcn.0058c1c5
ret 4

Function at 0x4b5fd6
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
push dword [esi + 0x1d7c]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
and dword [esi + 0x18a0], 0
mov ecx, esi
call fcn.004a9bd0
push ecx
mov ecx, esp
mov dword [esp + 8], esp
push str....finished_filling_content_cache
call fcn.00402035
push 0
mov ecx, esi
call fcn.004abddf
mov ecx, esi
call fcn.004acca8
mov byte [esi + 0x1c68], al
push 1
lea ecx, [esi + 0x1be8]
test al, al
je 0x4af11b
lea eax, [esi + 0x1e94]
push eax
push 0x244
push esi
call fcn.0055f3f3
jmp 0x4af121
push esi
call fcn.0055f457
pop esi
pop ecx
ret
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x18b4]
xor ebx, ebx
cmp byte [eax + 0xec8], bl
je 0x4b6027
cmp byte [eax + 0xed8], bl
jne 0x4b6027
push esi
push ebx
push 0x4b5e3b
call fcn.0059544a
add esp, 0xc
push ebx
push 0x64
push 0x4ce
push dword [esi + 0x20]
mov dword [esi + 0x189c], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x1d80], ebx
mov dword [esi + 0x1d7c], eax
pop esi
pop ebx
ret
pop esi
pop ebx
jmp 0x4af0b3
Function at 0x4b602e
Capabilities:
Reference sql statements

Disassembly:
push 0xc
mov eax, 0x62f970
call fcn.0058c0ed
mov esi, ecx
call fcn.0054f69d
push eax
lea ecx, [ebp - 0x14]
call fcn.004018a6
lea eax, [ebp - 0x14]
push str.SELECT__next__FROM__categories__WHERE__key___1
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00401e49
mov edi, dword [ebp - 0x14]
push ebx
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x18b4]
push 0xffffffffffffffff
push edi
push dword [eax + 0xbb4]
call fcn.004830b7
add esp, 0x1c
test eax, eax
jne 0x4b60bb
push dword [ebp - 0x10]
call fcn.004887a0
pop ecx
cmp eax, 0x65
je 0x4b60bb
push ebx
push dword [ebp - 0x10]
call fcn.00442db6
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x18b4]
push dword [eax + 0xf10]
lea eax, [ebp - 0x18]
push 0xffffffffffffff9d
push dword [ebp + 0xc]
mov ecx, esi
push eax
push dword [ebp + 8]
call fcn.004af124
push dword [ebp - 0x10]
call fcn.00477166
pop ecx
push ebx
push ebx
push 0x10
lea ecx, [esi + 0x2a0]
call fcn.0055bf40
lea ecx, [edi - 0x10]
mov byte [esi + 0x300], bl
call fcn.00401493
call fcn.0058c1c5
ret 8
Function at 0x4e7f9f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 8
mov eax, 0x634e89
call fcn.0058c0ed
mov esi, ecx
movzx eax, word [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, 0x65a77c
push ebx
push eax
push 0
call edi
push eax
push 0
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [ebp + 8]
call fcn.0040e66e
push dword [ebp - 0x10]
and dword [ebp - 4], 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.00403286
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00401dd7
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401493
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00402e5b
mov ecx, esi
call fcn.004e2df6
push 0
push 4
push ebx
push 0xc5
push 0
call edi
push eax
lea ecx, [esi + 0x30]
call fcn.005116b0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov byte [esi + 0x208], 1
call fcn.00401493
call fcn.0058c1c5
ret 4
Function at 0x4edd65
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
push 0x10
mov esi, ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x4eddfa
push 0xffffffffffffffff
push 0x24
push 0x1c5
call fcn.0054fea2
cmp eax, 6
jne 0x4edef1
mov eax, dword [esi + 0x74]
mov eax, dword [eax + 0x14c8]
mov dword [ebp - 4], eax
test eax, eax
je 0x4edeea
mov ecx, dword [esi + 0x74]
lea eax, [ebp - 4]
push eax
add ecx, 0x14c4
call fcn.00408c8a
mov edi, dword [eax]
lea eax, [edi + 0x23c]
mov ecx, dword [eax]
cmp ecx, dword [esi + 0x78]
jne 0x4eddef
or dword [eax], 0xffffffff
push ecx
mov dword [ebp - 4], esp
mov ecx, esp
push str.stack_deleted
call fcn.00402035
mov ecx, edi
call fcn.00502f5b
mov eax, dword [esi + 0x74]
mov eax, dword [eax + 0x14c8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4edda8
jmp 0x4edeea
mov eax, dword [esi + 0x74]
mov eax, dword [eax + 0x14c8]
mov dword [ebp - 4], eax
test eax, eax
je 0x4edeea
mov ecx, dword [esi + 0x74]
lea eax, [ebp - 4]
push eax
add ecx, 0x14c4
call fcn.00408c8a
mov edi, dword [eax]
lea eax, [edi + 0x23c]
mov ecx, dword [eax]
cmp ecx, dword [esi + 0x78]
jne 0x4edee0
or dword [eax], 0xffffffff
mov ecx, edi
call fcn.004fbc73
cmp byte [edi + 0x21c], 0
mov ecx, edi
je 0x4ededb
mov eax, dword [esi + 0x74]
cmp dword [eax + 0xe80], 0
jne 0x4ede61
push 0
call fcn.004f0821
jmp 0x4edee0
lea eax, [ebp - 0x14]
push eax
call fcn.004f179d
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.004ec0e4
mov ecx, eax
call fcn.00408bcc
lea eax, [ebp - 0x2c]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0xc]
cdq
sub eax, edx
sar eax, 1
sub ebx, eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push 1
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 8]
sar ecx, 1
sub eax, ecx
push eax
push ebx
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004f1729
push 0
mov ecx, edi
call fcn.004f0821
push 0
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push ebx
call fcn.004f09b4
jmp 0x4edee0
call fcn.004fc0be
cmp dword [ebp - 4], 0
jne 0x4ede0e
mov ecx, esi
call fcn.004ed26b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4f1db8
Capabilities:
Open clipboard

Disassembly:
push ebx
push dword [ecx + 0x20]
xor bl, bl
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4f1dec
push esi
mov esi, dword [sym.imp.USER32.dll_EnumClipboardFormats]
push 0
jmp 0x4f1ddb
cmp eax, 2
jne 0x4f1dda
mov bl, 1
push eax
call esi
test eax, eax
jne 0x4f1dd3
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov al, bl
pop ebx
ret
xor al, al
pop ebx
ret
Function at 0x4f3425
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov ebx, ecx
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4f34ca
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebx + 0x2f8]
push 0x18
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_GetObjectW]
lea esi, [ebx + 0x30c]
cmp dword [esi], 0xffffffff
jne 0x4f347a
push dword [ebp - 0x10]
mov ecx, dword [ebx + 0x334]
push dword [ebp - 0x14]
push dword [ebx + 0x2f8]
call fcn.0040fe0a
jmp 0x4f3490
sub esp, 0x10
mov edi, esp
push dword [ebx + 0x2f8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.004f2820
mov esi, eax
call dword [sym.imp.USER32.dll_EmptyClipboard]
test esi, esi
jne 0x4f34a0
xor eax, eax
jmp 0x4f34a3
mov eax, dword [esi + 4]
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, esi
call fcn.005512c2
test esi, esi
je 0x4f34c6
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov al, 1
jmp 0x4f34cc
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4f4f13
Capabilities:
Get graphical window text

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x6ba0d0]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x30
mov eax, 0x63673f
call fcn.0058c0ed
mov edi, dword [ebp + 0x41c]
mov esi, ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_GetTopWindow]
or dword [edi], 0xffffffff
or dword [edi + 4], 0xffffffff
mov byte [ebp - 0xd], 0
jmp 0x4f5082
mov ebx, 0x104
push ebx
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ebx
lea eax, [ebp + 0x208]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_GetClassNameW]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsIconic]
mov ebx, eax
mov eax, dword [ebp - 0x14]
neg ebx
sbb bl, bl
inc bl
cmp eax, dword [ebp - 0x20]
push eax
sete byte [ebp - 0x15]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4f5077
push ecx
lea eax, [ebp]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.00402035
and dword [ebp - 4], 0
push ecx
lea eax, [esi + 0x1dc]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.00402e5b
mov ecx, dword [esi + 0x334]
or dword [ebp - 4], 0xffffffff
call fcn.0040f8ad
test al, al
je 0x4f5077
push ecx
lea eax, [ebp + 0x208]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.00402035
push ecx
lea eax, [esi + 0x1e0]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
mov dword [ebp - 4], 1
call fcn.00402e5b
mov ecx, dword [esi + 0x334]
or dword [ebp - 4], 0xffffffff
call fcn.0040faae
test al, al
je 0x4f5077
cmp byte [esi + 0x1f0], 0
je 0x4f5035
test bl, bl
je 0x4f5077
cmp byte [esi + 0x1f1], 0
je 0x4f5044
cmp byte [ebp - 0x15], 0
je 0x4f5077
cmp byte [ebp - 0xd], 0
jne 0x4f5077
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004f179d
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x3c]
mov byte [ebp - 0xd], 1
mov dword [edi], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x38]
mov dword [edi + 4], eax
push 2
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x4f4f60
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0058c0de
add ebp, 0x414
leave
ret 4
Function at 0x4fa2fd
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
sub esp, 0x18
push 0x74
mov eax, 0x637236
call fcn.0058c0ed
mov esi, ecx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4fa46b
push 2
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, esi
mov dword [ebp + 0x18], eax
call fcn.004f1db8
test al, al
je 0x4fa46b
mov eax, dword [esi + 0x334]
mov ecx, dword [eax + 0x1630]
xor ebx, ebx
cmp ecx, ebx
je 0x4fa368
call fcn.005512ee
mov eax, dword [esi + 0x334]
mov ecx, dword [eax + 0x1630]
cmp ecx, ebx
je 0x4fa368
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push 8
call fcn.0054c584
pop ecx
cmp eax, ebx
je 0x4fa381
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBitmap.0
mov edi, eax
jmp 0x4fa383
xor edi, edi
push dword [ebp + 0x18]
mov ecx, edi
call fcn.00551296
cmp eax, 1
jne 0x4fa46b
lea eax, [ebp]
push eax
push 0x18
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_GetObjectW]
push dword [ebp + 8]
mov ecx, dword [esi + 0x334]
push dword [ebp + 4]
push edi
call fcn.0040fe0a
mov ecx, dword [esi + 0x334]
mov dword [ecx + 0x1630], eax
mov ecx, edi
call fcn.005512c2
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esi + 0x334]
add eax, 0xc4c
mov ecx, dword [eax]
mov dword [esi + 0x210], ecx
mov dword [eax], 6
mov eax, dword [esi + 0x334]
lea edi, [esi + 0x31c]
mov dword [esi + 0x168], ebx
push edi
mov dword [eax + 0xc8c], esi
call dword [sym.imp.USER32.dll_GetCursorPos]
push edi
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [ebp - 0x80]
call fcn.0040d212
lea eax, [ebp - 0x80]
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.004f5b39
lea eax, [ebp - 0x80]
lea ebx, [esi + 0x1d4]
mov ecx, dword [ebx]
push eax
call fcn.004dbffa
sub dword [edi], eax
mov ecx, dword [ebx]
lea eax, [ebp - 0x80]
push eax
call fcn.004dbfdc
sub dword [esi + 0x320], eax
mov ecx, esi
call fcn.004f9251
mov ecx, esi
call fcn.004f18a5
lea ecx, [ebp - 0x80]
call fcn.0040c7d6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x1c
leave
ret
Function at 0x4fa47e
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
sub esp, 0x14
push 0x74
mov eax, 0x63725c
call fcn.0058c0ed
mov ebx, ecx
mov eax, dword [ebx + 0x334]
mov ecx, dword [eax + 0xc4c]
cmp ecx, 6
je 0x4fa4b0
cmp ecx, 7
je 0x4fa4b0
cmp ecx, 9
je 0x4fa4b0
cmp ecx, 0xe
jne 0x4fa4be
and dword [eax + 0xc8c], 0
mov ecx, ebx
call fcn.004f9251
mov eax, dword [ebx + 0x334]
mov eax, dword [eax + 0xc4c]
cmp eax, 8
je 0x4fa4de
cmp eax, 0xc
je 0x4fa4de
cmp eax, 0xa
je 0x4fa4de
cmp eax, 0xb
jne 0x4fa50e
or esi, 0xffffffff
mov ecx, esi
push ecx
mov eax, esi
lea edi, [ebx + 0x230]
push eax
mov ecx, edi
call fcn.00408b8e
test eax, eax
je 0x4fa511
mov eax, esi
mov ecx, ebx
mov dword [edi], eax
mov dword [edi + 4], esi
call fcn.004f9251
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x4fa511
or esi, 0xffffffff
mov eax, dword [ebx + 0x334]
cmp dword [eax + 0xc4c], 5
jne 0x4fa55b
lea eax, [ebp + 8]
push eax
lea edi, [ebx + 0x30c]
push edi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x14], esi
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x4fa55b
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x14], esi
lea esi, [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.004f9251
cmp dword [ebp + 0x20], 0xe
jne 0x4fa5e0
mov eax, dword [ebx + 0x334]
and dword [ebx + 0x168], 0
lea esi, [ebx + 0x31c]
push esi
mov dword [eax + 0xc8c], ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
push esi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [ebp - 0x80]
call fcn.0040d212
and dword [ebp - 4], 0
lea eax, [ebp - 0x80]
push eax
mov ecx, ebx
call fcn.004f5b39
lea eax, [ebp - 0x80]
lea edi, [ebx + 0x1d4]
mov ecx, dword [edi]
push eax
call fcn.004dbffa
sub dword [esi], eax
mov ecx, dword [edi]
lea eax, [ebp - 0x80]
push eax
call fcn.004dbfdc
sub dword [ebx + 0x320], eax
mov ecx, ebx
call fcn.004f9251
mov ecx, ebx
call fcn.004f18a5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.0040c7d6
mov ecx, ebx
call fcn.004f2da9
lea eax, [ebp]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp + 4]
push dword [ebp]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov eax, dword [ebx + 0x334]
mov ecx, dword [ebp + 0x20]
mov dword [eax + 0xc4c], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x18
leave
ret 4
Function at 0x4fbaa2
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov ebx, ecx
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4fbb97
push 2
call dword [sym.imp.USER32.dll_GetClipboardData]
push 8
mov edi, eax
call fcn.0054c584
xor esi, esi
pop ecx
cmp eax, esi
je 0x4fbae1
mov dword [eax + 4], esi
mov dword [eax], vtable.CBitmap.0
mov esi, eax
push edi
mov ecx, esi
call fcn.00551296
xor edi, edi
inc edi
cmp eax, edi
jne 0x4fbb8b
lea eax, [ebp - 0x28]
push eax
push 0x18
push dword [esi + 4]
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [ebx + 0x2f8]
test ecx, ecx
je 0x4fbb22
call fcn.005512ee
mov ecx, dword [ebx + 0x2f8]
test ecx, ecx
je 0x4fbb22
mov eax, dword [ecx]
push edi
call dword [eax + 4]
push dword [ebp - 0x20]
mov ecx, dword [ebx + 0x334]
push dword [ebp - 0x24]
push esi
call fcn.0040fe0a
mov ecx, esi
mov dword [ebx + 0x2f8], eax
call fcn.005512c2
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 4]
call dword [sym.imp.USER32.dll_CloseClipboard]
or eax, 0xffffffff
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea edi, [ebx + 0x30c]
lea esi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.004fa8e6
mov ecx, ebx
call fcn.004f6c9f
mov ecx, ebx
call fcn.004f0a1f
mov ecx, ebx
call fcn.004f0a0d
mov al, 1
jmp 0x4fbb99
test esi, esi
je 0x4fbb97
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 4]
xor al, al
pop edi
pop esi
pop ebx
leave
ret