joyce8/EMBER2024-capa huggingface dataset:
Function at 0x492b06
Capabilities:
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x59f8eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
call fcn.00576b65
mov eax, dword [esi + 0x1c]
push 0
push 0xfffffffffffffff6
push eax
call dword [sym.imp.USER32.dll_SetClassLongA]
call fcn.0058ec69
mov eax, dword [eax + 0xc]
push 0x62
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [esi + 0x1c]
push eax
push 0
push 0x80
push ecx
mov dword [esi + 0x64], eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x3c
call fcn.00570bbc
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x10], 0
je 0x492b68
push 0
push esi
mov ecx, eax
call fcn.00481370
jmp 0x492b6a
xor eax, eax
mov dword [esi + 0x60], eax
mov edx, dword [0x6186bc]
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [edx + 0x58]
mov ecx, dword [eax + 0xc]
neg ecx
sbb ecx, ecx
neg ecx
dec ecx
mov dword [esi + 0x5c], ecx
mov ecx, esi
call fcn.004934c0
mov ecx, dword [esp + 8]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x49ca30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5a0518
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov al, 1
xor edx, edx
mov byte [esi + 0xe], al
mov byte [esi + 0xf], al
mov eax, dword [esp + 0x18]
mov byte [esi + 0xc], dl
mov byte [esi + 0xd], dl
mov dword [esi + 0x20], edx
mov dword [esi], vtable.CRectTool.0
mov ecx, dword [eax + 4]
push edx
push 0x5ff858
mov ecx, dword [ecx + 4]
push 0x5ff600
mov dword [esp + 0x1c], edx
push edx
mov edx, dword [ecx + eax + 4]
lea ecx, [ecx + eax + 4]
call dword [edx + 4]
push eax
call fcn.0053ce5e
mov ecx, dword [esp + 0x30]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov edx, dword [eax + 4]
add esp, 0x14
mov ecx, dword [edx + 8]
mov edx, dword [ecx + eax + 4]
lea ecx, [ecx + eax + 4]
call dword [edx + 0x50]
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x49d320
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5a05ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 0x14], 0x5b8698
mov dword [esp + 0x34], 0x5b8690
mov dword [esp + 0x28], vtable.CElement.0
mov eax, dword [0x5b8694]
mov dword [esp + 0x30], vtable.CInteractiveElement.0
mov dword [esp + 8], 3
mov dword [esp + eax + 0x34], vtable.CInteractiveElement.1.0
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 1
call fcn.0049d480
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], vtable.CResizeableElement.2.0
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x14], vtable.CResizeableElement.1.0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov dword [esp + ecx + 0x14], vtable.CResizeableElement.0
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
lea ecx, [eax - 0xc]
mov dword [esp + eax + 0x10], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], vtable.CSelectionTool::CSelectionElement.2.0
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x14], vtable.CSelectionTool::CSelectionElement.1.0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 8]
mov dword [esp + edx + 0x14], vtable.CSelectionTool::CSelectionElement.0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov dword [esp + ecx + 0x10], ebx
mov edx, dword [0x618664]
lea eax, [esp + 0x10]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x48], 4
call fcn.0049ca30
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], vtable.CResizeableElement.2.0
mov byte [esp + 0x40], 6
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x14], vtable.CResizeableElement.1.0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov dword [esp + ecx + 0x14], vtable.CResizeableElement.0
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
lea ecx, [eax - 0xc]
mov dword [esp + eax + 0x10], ecx
lea ecx, [esp + 0x18]
call fcn.004871d0
lea ecx, [esp + 0x30]
call fcn.0048b1c0
mov ecx, dword [esp + 0x38]
mov dword [esi], vtable.CSelectionTool.0
mov byte [esi + 0xe], bl
mov byte [esi + 0xf], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x4a5d40
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a0d38
push eax
mov al, byte [0x618c88]
mov dword fs:[0], esp
sub esp, 0x18
test al, al
push esi
mov esi, ecx
jne 0x4a5d78
xor al, al
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
mov al, byte [0x6187a8]
test al, al
je 0x4a5e1e
mov eax, 0x618c60
test eax, eax
je 0x4a5d97
mov eax, dword [0x618c64]
test eax, eax
jne 0x4a5da3
push 0x64
mov ecx, 0x618c60
call fcn.004430f0
lea ecx, [esp + 0xc]
push 3
push ecx
mov ecx, 0x618c60
call fcn.00443130
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 4]
push ecx
mov dword [esp + 0x28], 0
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov dword [esp + 8], edx
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esi]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
push eax
push ecx
push edx
push 2
lea ecx, [esp + 0x20]
call fcn.00571cff
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00442f50
mov al, 1
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
call dword [sym.imp.USER32.dll_ReleaseCapture]
lea eax, [esi - 0x10]
mov dword [0x6187b0], 0
test eax, eax
mov byte [0x618c88], 0
je 0x4a5e46
mov ecx, dword [esi - 0xc]
mov edx, dword [ecx + 8]
lea eax, [edx + esi - 0xc]
mov ecx, dword [0x6187ac]
push edi
mov edi, dword [esp + 0x30]
push ecx
push eax
mov ecx, dword [edi]
call fcn.00487e10
mov edx, dword [esi - 0xc]
push edi
mov eax, dword [edx + 8]
mov edx, dword [eax + esi - 0xc]
lea ecx, [eax + esi - 0xc]
call dword [edx + 0x48]
mov ecx, dword [esp + 0x20]
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x4a5d5f
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a0d38
push eax
mov al, byte [0x618c88]
mov dword fs:[0], esp
sub esp, 0x18
test al, al
push esi
mov esi, ecx
jne 0x4a5d78
xor al, al
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
mov al, byte [0x6187a8]
test al, al
je 0x4a5e1e
mov eax, 0x618c60
test eax, eax
je 0x4a5d97
mov eax, dword [0x618c64]
test eax, eax
jne 0x4a5da3
push 0x64
mov ecx, 0x618c60
call fcn.004430f0
lea ecx, [esp + 0xc]
push 3
push ecx
mov ecx, 0x618c60
call fcn.00443130
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 4]
push ecx
mov dword [esp + 0x28], 0
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov dword [esp + 8], edx
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esi]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
push eax
push ecx
push edx
push 2
lea ecx, [esp + 0x20]
call fcn.00571cff
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00442f50
mov al, 1
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
call dword [sym.imp.USER32.dll_ReleaseCapture]
lea eax, [esi - 0x10]
mov dword [0x6187b0], 0
test eax, eax
mov byte [0x618c88], 0
je 0x4a5e46
mov ecx, dword [esi - 0xc]
mov edx, dword [ecx + 8]
lea eax, [edx + esi - 0xc]
mov ecx, dword [0x6187ac]
push edi
mov edi, dword [esp + 0x30]
push ecx
push eax
mov ecx, dword [edi]
call fcn.00487e10
mov edx, dword [esi - 0xc]
push edi
mov eax, dword [edx + 8]
mov edx, dword [eax + esi - 0xc]
lea ecx, [eax + esi - 0xc]
call dword [edx + 0x48]
mov ecx, dword [esp + 0x20]
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x4a8540
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a0de8
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
mov eax, dword [esi + 8]
test eax, eax
jne 0x4a8579
xor al, al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
mov ecx, dword [0x6186e0]
cmp ecx, 3
je 0x4a8600
cmp ecx, 4
je 0x4a8600
cmp ecx, 5
je 0x4a8600
cmp eax, 0xec82e0
jbe 0x4a8600
mov eax, dword [0x6131b0]
mov dword [esp + 0x1c], eax
push 0x5282
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0
call fcn.00576ee0
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x1c]
push ecx
push 0x4e6c
push edx
call fcn.0056adcf
mov eax, dword [esp + 0x28]
add esp, 0xc
push 0
push 0x10
push eax
call fcn.0057e45c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00575bd5
xor al, al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
call fcn.005750c1
test eax, eax
je 0x4a8614
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
mov edi, eax
jmp 0x4a8616
xor edi, edi
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x4a863a
xor al, al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_GetClipboardOwner]
push eax
call fcn.00571129
cmp eax, edi
je 0x4a866c
call dword [sym.imp.USER32.dll_CloseClipboard]
xor al, al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
mov eax, dword [esi + 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x4a869a
call dword [sym.imp.USER32.dll_CloseClipboard]
xor al, al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
test edx, edx
jne 0x4a86b0
mov edx, 0x5af328
mov esi, edx
mov edx, ecx
mov edi, eax
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x20]
push ebx
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 8
Function at 0x4a8700
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a0e08
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov eax, dword [esi + 8]
test eax, eax
jne 0x4a872b
xor al, al
jmp 0x4a88d6
mov ecx, dword [0x6186e0]
cmp ecx, 3
je 0x4a87ae
cmp ecx, 4
je 0x4a87ae
cmp ecx, 5
je 0x4a87ae
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 8]
add ecx, eax
cmp ecx, 0xec82e0
jbe 0x4a87ae
mov edx, dword [0x6131b0]
mov dword [esp + 0x28], edx
push 0x5282
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], 0
call fcn.00576ee0
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x28]
push eax
push 0x4e6c
push ecx
call fcn.0056adcf
mov edx, dword [esp + 0x34]
add esp, 0xc
push 0
push 0x10
push edx
call fcn.0057e45c
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00575bd5
xor al, al
jmp 0x4a88d6
call fcn.005750c1
test eax, eax
je 0x4a87c2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
mov edi, eax
jmp 0x4a87c4
xor edi, edi
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x4a87d9
xor al, al
jmp 0x4a88d6
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_GetClipboardOwner]
push eax
call fcn.00571129
cmp eax, edi
je 0x4a87fc
call dword [sym.imp.USER32.dll_CloseClipboard]
xor al, al
jmp 0x4a88d6
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 2
call edi
mov ebx, eax
test ebx, ebx
jne 0x4a881d
call dword [sym.imp.USER32.dll_CloseClipboard]
xor al, al
jmp 0x4a88d6
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 8]
test eax, eax
je 0x4a8840
push eax
push 2
call edi
mov ebp, eax
test ebp, ebp
jne 0x4a8844
call dword [sym.imp.USER32.dll_CloseClipboard]
xor al, al
jmp 0x4a88d6
mov ebp, dword [esp + 0x28]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
test edx, edx
jne 0x4a885a
mov edx, 0x5af328
mov esi, edx
mov edx, ecx
mov edi, eax
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 8]
test eax, eax
je 0x4a88b1
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
test edx, edx
jne 0x4a8894
mov edx, 0x5af328
mov edi, eax
mov eax, ecx
mov esi, edx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edi, dword [sym.imp.USER32.dll_SetClipboardData]
push ebx
push ecx
call edi
mov eax, dword [esi + 8]
test eax, eax
je 0x4a88ce
mov edx, dword [esp + 0x2c]
push ebp
push edx
call edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, 1
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x10
Function at 0x4a88f0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a0e28
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
xor ebx, ebx
cmp dword [edi], ebx
jne 0x4a891c
call fcn.004a8e00
mov dword [edi], eax
call fcn.005750c1
cmp eax, ebx
je 0x4a8930
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
mov esi, eax
jmp 0x4a8932
xor esi, esi
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4a8ad4
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, ebx
je 0x4a8ad4
mov edx, dword [edi]
push edx
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x30], edi
je 0x4a8ab8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
cmp esi, ebx
je 0x4a8ab8
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ebp, eax
mov al, byte [esp + 0x34]
push 1
push ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.00405f60
test al, al
je 0x4a89cb
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
mov byte [eax + ebp], 0
mov ecx, dword [esp + 0x18]
mov eax, dword [0x5af33c]
mov ebp, ecx
mov dword [esp + 0x28], ebx
cmp eax, ebp
jae 0x4a89e0
mov ebp, eax
mov ebx, dword [esp + 0x30]
lea edx, [esp + 0x10]
cmp ebx, edx
jne 0x4a8a05
push eax
push ebp
mov ecx, ebx
call fcn.004a9190
push 0
push 0
mov ecx, ebx
call fcn.004a9190
jmp 0x4a8a87
test ebp, ebp
jbe 0x4a8a51
cmp ebp, ecx
jne 0x4a8a51
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4a8a1a
mov eax, 0x5af328
cmp byte [eax - 1], 0xfe
jae 0x4a8a51
push 1
mov ecx, ebx
call fcn.00406080
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4a8a36
mov eax, 0x5af328
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x4a8a87
push 1
push ebp
mov ecx, ebx
call fcn.00405f60
test al, al
je 0x4a8a87
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x4a8a6c
mov esi, 0x5af328
mov edi, dword [ebx + 4]
mov ecx, ebp
mov eax, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00405f40
mov eax, dword [esp + 0x14]
pop ebp
test eax, eax
je 0x4a8aad
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4a8aa4
cmp al, 0xff
je 0x4a8aa4
dec al
mov byte [ecx], al
jmp 0x4a8aad
push ecx
call fcn.00570be5
add esp, 4
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x4a8af0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a0e50
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [esp + 0x30]
xor ebx, ebx
push edi
cmp dword [esi], ebx
jne 0x4a8b1c
call fcn.004a8e00
mov dword [esi], eax
call fcn.005750c1
cmp eax, ebx
je 0x4a8b30
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
mov edi, eax
jmp 0x4a8b32
xor edi, edi
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4a8cc4
mov ecx, dword [edi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, ebx
je 0x4a8cc4
mov edx, dword [esi]
push ebp
push edx
call dword [sym.imp.USER32.dll_GetClipboardData]
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x4a8ca7
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
cmp ebp, ebx
je 0x4a8ca7
mov eax, dword [esi]
cmp eax, 1
jne 0x4a8c02
push ebp
lea ecx, [esp + 0x3c]
call fcn.00575c43
lea eax, [esp + 0x38]
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x34], ebx
call fcn.004a9aa0
add esp, 8
mov edx, dword [0x5b21c4]
mov ecx, dword [esp + 0x34]
push edx
push ebx
push eax
mov byte [esp + 0x38], 1
call fcn.004311c0
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x4a8be0
mov al, byte [ecx - 1]
cmp al, bl
je 0x4a8bd4
cmp al, 0xff
je 0x4a8bd4
dec al
mov byte [ecx - 1], al
jmp 0x4a8be0
lea eax, [ecx - 2]
push eax
call fcn.00570be5
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], 0xffffffff
call fcn.00575bd5
jmp 0x4a8c9c
cmp eax, 0xd
jne 0x4a8c9c
push ebp
call fcn.0053fa18
mov edi, eax
add esp, 4
cmp edi, 0x7ffffffd
jbe 0x4a8c23
call fcn.00557890
mov esi, dword [esp + 0x34]
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x4a8c4c
mov al, byte [ecx - 1]
cmp al, bl
je 0x4a8c4c
cmp al, 0xff
je 0x4a8c4c
cmp edi, ebx
jne 0x4a8c70
dec al
push ebx
mov byte [ecx - 1], al
mov ecx, esi
call fcn.004318f0
jmp 0x4a8c9c
cmp edi, ebx
jne 0x4a8c5b
push 1
mov ecx, esi
call fcn.004318f0
jmp 0x4a8c9c
mov eax, dword [esi + 0xc]
cmp eax, 0x1f
ja 0x4a8c67
cmp eax, edi
jae 0x4a8c78
push 1
mov ecx, esi
call fcn.004318f0
push edi
mov ecx, esi
call fcn.00432040
mov eax, dword [esi + 4]
cmp edi, ebx
mov ecx, ebp
jbe 0x4a8c92
mov edx, edi
mov bp, word [ecx]
add ecx, 2
mov word [eax], bp
add eax, 2
dec edx
jne 0x4a8c83
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
mov word [eax + edi*2], bx
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
mov ecx, dword [esp + 0x20]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x4a8ce0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
cmp dword [esi], 0
jne 0x4a8cf2
call fcn.004a8e00
mov dword [esi], eax
call fcn.005750c1
test eax, eax
je 0x4a8d06
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
mov edi, eax
jmp 0x4a8d08
xor edi, edi
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4a8d8f
mov ecx, dword [edi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4a8d8f
mov edx, dword [esi]
push ebx
push ebp
push edx
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
xor ebp, ebp
test ebx, ebx
je 0x4a8d80
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov edi, eax
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test esi, esi
je 0x4a8d80
test eax, eax
je 0x4a8d80
mov ecx, edi
mov edi, eax
mov eax, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call esi
push ebp
call esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, ebp
pop ebp
pop ebx
pop edi
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4
Function at 0x4aaef0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a1021
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x20]
push ebx
push ebp
push esi
xor ebx, ebx
mov esi, ecx
cmp eax, ebx
push edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
je 0x4aaf3a
mov dword [esi + 4], 0x5b91d8
mov dword [esi + 0x70], vtable.CSerializable.0
mov dword [esp + 0x10], 1
mov dword [esp + 0x28], ebx
push ebx
push 0x6d
mov ecx, esi
call fcn.004ab0e0
mov eax, dword [esi + 4]
mov dword [esi + 0xc], ebx
mov dword [esi], vtable.CProjectDataProperty.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], vtable.CProjectDataProperty.1.0
mov byte [esi + 0x14], bl
mov byte [esi + 0x15], 1
mov edx, dword [0x6131b0]
mov eax, 2
mov dword [esp + 0x28], eax
mov dword [esi + 0x18], edx
mov byte [esi + 0x1c], bl
mov byte [esi + 0x1d], 1
mov ecx, dword [0x6131b0]
mov byte [esi + 0x24], bl
mov dword [esi + 0x20], ecx
mov byte [esi + 0x25], 1
mov dword [esi + 0x28], eax
mov byte [esi + 0x2c], 1
mov byte [esi + 0x2d], bl
mov dword [esi + 0x30], ebx
mov byte [esi + 0x34], 1
mov byte [esi + 0x35], bl
mov byte [esi + 0x39], bl
mov byte [esi + 0x3a], 1
mov edx, dword [0x6131b0]
lea edi, [esi + 0x4c]
mov dword [edi], edx
mov byte [edi + 4], bl
mov byte [edi + 5], 1
mov byte [esi + 0x58], bl
mov byte [esi + 0x59], 1
mov byte [esi + 0x60], bl
mov byte [esi + 0x61], 1
mov eax, dword [0x6131b0]
mov byte [esi + 0x68], bl
mov dword [esi + 0x64], eax
mov byte [esi + 0x69], 1
mov ecx, dword [esi + 4]
mov dword [esi], vtable.CFieldProperty.1.0
mov byte [esp + 0x28], 6
mov edx, dword [ecx + 4]
mov dword [edx + esi + 4], vtable.CFieldProperty.0
mov eax, dword [esi + 4]
lea edx, [esp + 0x30]
mov eax, dword [eax + 4]
push edx
lea ecx, [eax - 0x6c]
mov dword [eax + esi], ecx
call fcn.00504250
add esp, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 7
call fcn.0057594a
mov byte [esp + 0x1c], 1
mov byte [esp + 0x1d], bl
lea eax, [esp + 0x18]
mov ecx, edi
push eax
mov byte [esp + 0x2c], 8
call fcn.00575d0e
mov cl, byte [esp + 0x1c]
mov dl, byte [esp + 0x1d]
mov byte [edi + 4], cl
lea ecx, [esp + 0x18]
mov byte [edi + 5], dl
mov byte [esp + 0x28], 7
call fcn.00575bd5
mov byte [esp + 0x28], 6
lea ecx, [esp + 0x30]
call fcn.00575bd5
xor eax, eax
mov byte [esp + 0x1c], 1
mov byte [esp + 0x1d], bl
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x30], 1
mov dword [esi + 0x58], eax
xor eax, eax
mov byte [esp + 0x31], 1
mov dx, word [esp + 0x30]
mov dword [esi + 0x5c], eax
xor al, al
mov word [esi + 0x38], dx
mov byte [esp + 0x1c], 1
mov byte [esp + 0x1d], bl
mov ecx, dword [esp + 0x1c]
mov byte [esi + 0x3a], al
lea ebp, [esi + 0x3c]
xor eax, eax
mov dword [esi + 0x60], ecx
mov dword [ebp], eax
xor ecx, ecx
xor edx, edx
xor edi, edi
mov dword [ebp + 4], ecx
push ebx
mov ecx, esi
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
call fcn.004abf00
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4