joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f06e0
Capabilities:
Get number of processors

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7b3e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
push esi
push edi
mov eax, dword [0x6360e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
mov dword [eax + 4], 0
mov dword [eax], vtable.nana::widget_object_struct_nana::category::widget_tag__class_nana::drawerbase::panel::drawer__struct_nana::general_events__struct_nana::drawerbase::group::scheme__void_.0
mov dword [eax + 0xc], 0xffffffff
mov dword [eax + 0x10], 0
mov dword [eax + 8], vtable.nana::drawerbase::panel::drawer.0
mov dword [eax + 0x14], 0
add eax, 0x18
push 0x140
mov dword [ebp - 0x14], eax
call fcn.00577033
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
xorps xmm0, xmm0
movq qword [edi], xmm0
lea esi, [edi + 0xc]
push 0x134
mov dword [edi + 8], 0
push 0
push esi
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj2_struct_nana::general_events_.0
call fcn.00579030
add esp, 0xc
mov ecx, esi
call fcn.0040538f
mov ecx, dword [ebp - 0x20]
xorps xmm0, xmm0
movq qword [ecx + 0x18], xmm0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x1c], edi
mov edi, ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
push ecx
lea eax, [edi + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [0x5f0e90]
mov dword [ebp - 0x18], 0x6025d8
mov dword [ebp - 0x1c], 0x65d555
mov eax, dword [eax]
mov ecx, dword [eax]
call fcn.004c4c90
mov esi, eax
cmp dword [esi], 0
jne 0x4f0819
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
mov edx, dword [eax + 0xc]
cmp edx, fcn.004f1a40
jne 0x4f0809
call fcn.004f1a40
jmp 0x4f080b
call edx
mov ecx, dword [esi]
mov dword [esi], eax
test ecx, ecx
je 0x4f0819
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [esi]
lea ecx, [ebp - 0x18]
call fcn.004f1980
mov dword [edi + 0x20], eax
mov dword [ebp - 4], 1
push 0x64
mov dword [edi], vtable.nana::group.0
call fcn.00577033
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0047b500
mov dword [esi], vtable.nana::label.0
mov byte [ebp - 4], 3
push 0x78
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 2
call fcn.00577033
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0048e890
mov dword [esi + 0x2c], eax
xorps xmm0, xmm0
mov dword [esi + 0x30], 2
mov eax, edi
movups xmmword [esi + 0x34], xmm0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0xf
mov byte [esi + 0x34], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [edi + 0x24], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x505340
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b89cd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x6360e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], esi
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
movups xmmword [esi + 0x20], xmm0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 7
mov word [esi + 0x20], ax
mov dword [ebp - 0x10], ecx
mov dword [esi + 0x38], 1
mov dword [ebp - 4], eax
mov dword [esi], vtable.nana::widgets::skeletons::text_editor::undo_input_text.0
movups xmmword [esi + 0x3c], xmm0
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x14], eax
jb 0x5053eb
mov ecx, dword [ecx]
mov dword [ebp - 0x10], ecx
cmp eax, 0x7ffffffe
ja 0x5054bb
mov dword [esi + 0x50], 7
cmp eax, 8
jae 0x505411
mov dword [esi + 0x4c], eax
movups xmm0, xmmword [ecx]
movups xmmword [esi + 0x3c], xmm0
jmp 0x5054a1
mov edi, eax
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x505425
mov edi, SysReAllocString
jmp 0x50542f
mov eax, 0xa
cmp edi, eax
cmovb edi, eax
xor ecx, ecx
mov eax, edi
add eax, 1
setb cl
neg ecx
or ecx, eax
cmp ecx, 0x7fffffff
ja 0x5054b6
add ecx, ecx
cmp ecx, 0x1000
jb 0x505470
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x5054b6
push eax
call fcn.00577033
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x5054c0
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x505481
test ecx, ecx
je 0x50547f
push ecx
call fcn.00577033
add esp, 4
jmp 0x505481
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x50], edi
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x10]
push eax
call fcn.00578ab0
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.00401539
call fcn.004015dd
call fcn.0057c388
int3
Function at 0x507a00
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8c8f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x6360e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
push 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.00577033
add esp, 4
mov dword [eax + 4], 0
mov dword [edi], eax
mov dword [eax], edi
mov dword [edi + 0x14], 0x1e
mov dword [edi + 0x18], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov byte [ebp - 4], 2
lea esi, [edi + 0x80]
mov dword [edi + 0x7c], 0xffffffff
mov dword [ebp - 0x18], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00577033
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov dword [esi + 0x14], 0
xorps xmm0, xmm0
mov word [esi + 0x18], 0
xor eax, eax
movups xmmword [esi + 0x1c], xmm0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 7
mov word [esi + 0x1c], ax
movups xmmword [esi + 0x34], xmm0
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 7
mov word [esi + 0x34], ax
mov byte [ebp - 4], 5
mov ecx, esi
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
call fcn.00512920
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], vtable.nana::widgets::skeletons::colored_area_access.0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0x11c], 0
lea ecx, [edi + 0x120]
mov byte [ebp - 4], 8
mov dword [ebp - 0x18], ecx
mov byte [ecx], 0
add ecx, 4
call fcn.0046d2c0
mov byte [edi + 0x128], 0
mov dword [edi + 0x154], 0
mov byte [ebp - 4], 0xa
lea esi, [edi + 0x158]
mov dword [ebp - 0x18], esi
push 0x30
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00577033
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
add esi, 8
mov byte [ebp - 4], 0xb
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00577033
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov eax, edi
mov dword [edi + 0x174], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x516670
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
add ecx, 4
pop ebp
jmp fcn.00515ea0
Function at 0x5176e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
add eax, 0xfffffe00
mov ebx, edx
mov dword [edi + 0xc], ebx
cmp eax, 9
ja case.default.0x5176fd
jmp dword [eax*4 + 0x5177f8]
mov dword [edi + 0x18], 1
mov eax, 5
jmp 0x517790
mov dword [edi + 0x18], 3
mov eax, 5
jmp 0x517790
mov dword [edi + 0x18], 2
mov eax, 5
jmp 0x517790
mov dword [edi + 0x18], 1
mov eax, 6
jmp 0x517790
mov dword [edi + 0x18], 3
mov eax, 6
jmp 0x517790
mov dword [edi + 0x18], 2
mov eax, 6
jmp 0x517790
mov dword [edi + 0x18], 1
movzx eax, byte [ebx + 0x74]
shr eax, 1
shl eax, 2
not eax
and eax, 4
or eax, 1
jmp 0x517790
mov dword [edi + 0x18], 2
jmp 0x51775f
mov dword [edi + 0x18], 3
jmp 0x51775f
mov dword [edi + 0x18], 0
mov eax, 3
push esi
mov esi, dword [ebp + 0xc]
mov edx, 8
push 0x12
mov dword [ecx + edx], eax
movsx eax, word [esi + 4]
sub eax, dword [ebx + 4]
mov dword [edi + 0x10], eax
movsx eax, word [esi + 6]
sub eax, dword [ebx + 8]
mov dword [edi + 0x14], eax
call dword [sym.imp.USER32.dll_GetKeyState]
shr ax, 0xf
mov byte [edi + 0x1f], al
movzx eax, byte [esi]
shr al, 2
and al, 1
mov byte [edi + 0x20], al
movzx eax, byte [esi]
shr al, 3
and al, 1
mov byte [edi + 0x21], al
movzx eax, byte [esi]
and al, 1
mov byte [edi + 0x1c], al
movzx eax, byte [esi]
shr al, 4
and al, 1
mov byte [edi + 0x1d], al
movzx eax, byte [esi]
shr al, 1
and al, 1
mov byte [edi + 0x1e], al
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x51e8d0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x65d574]
cmp eax, dword [ecx + 4]
jle 0x51e9d3
push 0x65d574
call fcn.0057747b
add esp, 4
cmp dword [0x65d574], 0xffffffff
jne 0x51e9d3
push ebx
push esi
push 0x602f0c
mov dword [0x65d578], 0
mov dword [0x65d57c], 0
mov dword [0x65d580], 0
mov dword [0x65d584], 0
mov dword [0x65d588], 0
mov dword [0x65d58c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.GetDpiForWindow
push esi
call ebx
push str.GetDpiForSystem
push esi
mov dword [0x65d57c], eax
call ebx
push str.GetDpiFromDpiAwarenessContext
push esi
mov dword [0x65d580], eax
call ebx
push str.GetThreadDpiAwarenessContext
push esi
mov dword [0x65d588], eax
call ebx
push str.Shcore.DLL
mov dword [0x65d58c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
jne 0x51e9aa
push str.Shcore.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x51e9c4
push str.SetProcessDpiAwareness
push esi
call ebx
push str.GetDpiForMonitor
push esi
mov dword [0x65d578], eax
call ebx
mov dword [0x65d584], eax
push 0x65d574
call fcn.0057742a
add esp, 4
pop esi
pop ebx
mov eax, 0x65d578
ret
Function at 0x51e9e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a45d0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6360e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], edx
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
mov esi, eax
push ebx
mov dword [ebp - 0x14], esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp esi, eax
jne 0x51eab1
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push 4
push ebx
call edi
test eax, eax
je 0x51ea45
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp esi, eax
jne 0x51eab1
push 3
push ebx
call edi
mov esi, eax
test esi, esi
je 0x51ea72
push 4
push esi
call edi
cmp eax, ebx
jne 0x51ea67
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0x14], eax
jne 0x51eab1
push 3
push esi
call edi
mov esi, eax
test esi, esi
jne 0x51ea50
mov ecx, dword [0x65d354]
lea ecx, [ecx + 0x54]
call fcn.0051fa70
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0
mov ecx, dword [0x65d354]
lea ecx, [ecx + 0x54]
call fcn.0051fbb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.USER32.dll_ShowWindowAsync]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51fd10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b9a7b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6360e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
push 0x44
call fcn.00577033
mov esi, eax
push 0x102
push esi
call fcn.00562f5f
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [ebx], esi
mov dword [esi + 0x30], 0
mov eax, dword [ebx]
mov dword [eax + 0x34], 0
push 0x60
mov dword [ebp - 4], 0
call fcn.00577033
mov dword [ebp - 0x10], eax
push 0x10
mov byte [ebp - 4], 1
call fcn.00577033
mov edi, eax
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 2
lea esi, [edi + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 0x1c], esi
push 0x34
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00577033
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edi
lea edi, [eax + 4]
mov byte [ebp - 4], 3
push 0x28
mov dword [ebp - 0x1c], edi
call fcn.00577033
add esp, 0x1c
mov dword [edi + 0x1c], eax
xor eax, eax
lea ecx, [edi + 8]
mov byte [eax + edi], 0
lea ecx, [ecx + 4]
inc eax
mov dword [ecx - 4], 0xffffffff
cmp eax, 5
jb 0x51fdf5
mov byte [ebp - 4], 4
lea esi, [edi + 0x20]
mov dword [ebp - 0x18], esi
push 0x14
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00577033
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
mov dword [ebx + 4], eax
mov eax, ebx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 8], 0
mov byte [ebx + 0xd], 1
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov byte [ebx + 0x24], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x525eb0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b9f96
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 8
push esi
push edi
mov eax, dword [0x6360e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi], vtable.nana::detail::basic_window.0
xorps xmm0, xmm0
mov dword [edi + 4], 0
xor eax, eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
movups xmmword [edi + 0x40], xmm0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 7
mov word [edi + 0x40], ax
lea esi, [edi + 0x58]
mov dword [ebp - 4], eax
lea ecx, [esi + 4]
mov dword [ebp - 0x18], esi
call fcn.0046d2c0
push 0x70
mov byte [ebp - 4], 1
call fcn.00577033
add esp, 4
mov byte [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 0
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
mov dword [eax], 0
mov dword [edi + 0x70], ecx
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
lea esi, [edi + 0xb0]
mov byte [ebp - 4], 4
lea ecx, [esi + 8]
mov dword [ebp - 0x18], esi
mov dword [esi], 5
mov dword [esi + 4], 0
call fcn.0046d2c0
mov byte [ebp - 4], 5
push 0x60
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00577033
add esp, 4
mov word [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0x44
mov dword [eax + 0x34], 0
mov dword [eax + 0x5c], 0
mov dword [esi + 0x14], eax
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xdc], 0
push dword [ebx + 8]
mov byte [ebp - 4], 7
xor ecx, ecx
mov eax, dword [edi + 0x60]
mov dword [eax + 4], edi
xor eax, eax
mov dword [edi + 8], ecx
mov dword [edi + 0x10], ecx
mov ecx, edi
mov dword [edi + 4], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
call fcn.00526390
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
Function at 0x527af0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba06e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x6360e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
xor eax, eax
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 4], eax
xor esi, esi
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x10], esi
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x527c41
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x527b94
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x527b94
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov esi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x527c41
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x527baf
mov eax, dword [edi]
xor edx, edx
shr esi, 1
mov dword [edi + 0x10], 0
mov word [eax], dx
mov dword [ebp - 0x14], esi
cmp dword [edi + 0x14], esi
jae 0x527be1
mov esi, dword [edi + 0x10]
mov ecx, edi
push dword [ebp + 8]
mov eax, dword [ebp - 0x14]
sub eax, esi
push eax
call fcn.00527cd0
mov ecx, dword [ebp - 0x10]
mov dword [edi + 0x10], esi
mov esi, dword [ebp - 0x14]
lea eax, [ecx + esi*2]
push eax
push ecx
mov ecx, edi
call fcn.00513440
cmp dword [edi + 0x14], 8
mov edx, edi
mov esi, dword [edi + 0x10]
jb 0x527bfa
mov edx, dword [edi]
test esi, esi
je 0x527c41
lea eax, [esi - 1]
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0
lea eax, [edx + ecx*2]
jne 0x527c20
cmp eax, edx
je 0x527c41
sub eax, 2
cmp word [eax], 0
je 0x527c13
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
je 0x527c41
inc eax
cmp esi, eax
jb 0x527c56
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x527c38
mov ecx, dword [edi]
xor edx, edx
mov dword [edi + 0x10], eax
mov word [ecx + eax*2], dx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.00403bf0
int3

Function at 0x527c60
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [ebp + 0x14]
xor bl, bl
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x527cc0
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x527cba
push edi
push dword [ebp + 0x10]
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.00578ab0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
pop edi
setne bl
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, bl
pop ebx
pop ebp
ret 0x10
Function at 0x529910
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x78]
call fcn.004dd0c0
lea ecx, [esi + 0x10]
pop esi
jmp fcn.00528fc0

Function at 0x529de0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba235
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x6360e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], edi
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
push 0x38
mov dword [edi + 4], 0
call fcn.00577033
mov esi, eax
add esp, 4
mov dword [edi + 4], esi
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
mov dword [ebp - 4], 1
mov ecx, dword [eax]
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
jb 0x529e70
mov ecx, dword [ecx]
mov dword [ebp - 0x10], ecx
cmp eax, 0x7fffffff
ja 0x529f74
mov dword [esi + 0x24], 0xf
cmp eax, 0x10
jae 0x529e96
mov dword [esi + 0x20], eax
movups xmm0, xmmword [ecx]
movups xmmword [esi + 0x10], xmm0
jmp 0x529f21
mov edi, eax
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x529eaa
mov edi, SysReAllocString
jmp 0x529eb4
mov eax, 0x16
cmp edi, eax
cmovb edi, eax
xor ecx, ecx
mov eax, edi
add eax, 1
setb cl
neg ecx
or ecx, eax
cmp ecx, 0x1000
jb 0x529ef1
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x529f79
push eax
call fcn.00577033
add esp, 4
test eax, eax
je 0x529f7e
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x529f04
test ecx, ecx
je 0x529f02
push ecx
call fcn.00577033
add esp, 4
mov ecx, eax
jmp 0x529f04
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x20], eax
inc eax
push eax
push dword [ebp - 0x10]
mov dword [esi + 0x10], ecx
push ecx
mov dword [esi + 0x24], edi
call fcn.00578ab0
mov edi, dword [ebp - 0x18]
add esp, 0xc
mov edx, dword [ebp + 0xc]
xorps xmm0, xmm0
movups xmmword [esi + 0x28], xmm0
mov dword [esi + 0x2c], 0
mov eax, edi
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov ecx, dword [edi + 4]
mov dword [ecx], edx
mov ecx, dword [edi + 4]
mov dword [ecx + 4], edx
mov ecx, dword [edi + 4]
mov dword [ecx + 8], edx
mov ecx, dword [edi + 4]
mov byte [ecx + 0xc], 0
mov ecx, dword [edi + 4]
mov byte [ecx + 0xd], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
call fcn.004015dd
call fcn.00401539
call fcn.0057c388
int3