joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e7630
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push 0x64
mov edi, ecx
push eax
call fcn.004e7680
mov esi, eax
test esi, esi
je 0x4e7679
mov ecx, dword [edi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
mov ecx, esi
call fcn.005c43ce
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
pop edi
mov eax, 1
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4

Function at 0x4f07da
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5eb4d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
lea ebx, [esi + 0x10]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x20], edi
call fcn.005bb0ae
mov dword [ebx], method.CObArray.virtual_0
mov eax, dword [0x1cb6e58]
lea ebp, [esi + 0x28]
mov dword [ebp], eax
mov ecx, dword [0x1cb6e58]
lea ebx, [esi + 0x60]
mov dword [ebx], ecx
mov edx, dword [0x1cb6e58]
mov dword [esi + 0x64], edx
mov eax, dword [0x1cb6e58]
mov dword [esi + 0x8c], eax
lea ecx, [esi + 0xc0]
mov byte [esp + 0x20], 5
call fcn.005ba586
mov dword [esi], 0x1c5bd8c
mov dword [esi + 4], edi
mov dword [esi + 8], edi
push str.sheet
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 6
mov dword [esi + 0x24], edi
call fcn.005bc0f2
push eax
mov ecx, ebp
mov byte [esp + 0x24], 7
call fcn.005bc1bd
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 6
call fcn.005bc084
mov eax, 0x834
lea edx, [esi + 0x40]
mov dword [esi + 0x34], eax
mov ecx, 0xb9a
mov eax, 0xc8
mov dword [esi + 0x38], ecx
mov dword [edx], eax
mov ecx, eax
mov ebp, 1
mov dword [esi + 0xc], edi
mov dword [edx + 4], ecx
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], 0xffffff
mov dword [edx + 8], eax
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x30], 0x64
mov dword [esi + 0x98], edi
mov dword [edx + 0xc], eax
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], 5
mov dword [esi + 0xa8], ebp
mov dword [esi + 0xac], edi
mov dword [esi + 0x50], 0x96
mov dword [esi + 0x54], 0xaa
mov dword [esi + 0x58], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0x74], ebp
mov dword [esi + 0x78], 0x41
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], ebp
push 0x1c52c40
lea ecx, [esi + 0x8c]
mov dword [esi + 0x84], 0xc0c0c0
mov dword [esi + 0x88], ebp
call fcn.005bc20d
push 0x1c52c40
mov ecx, ebx
mov dword [esi + 0xb8], edi
call fcn.005bc20d
push 0x1cbb138
lea ecx, [esi + 0x64]
call fcn.005bc20d
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x70], edi
mov dword [esi + 0xbc], edi
mov word [esi + 0x68], 0x1388
mov dword [esi + 0x6c], 0xe1e1e1
mov dword [esi + 0x5c], ebp
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4f09a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5eb548
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 0x10]
mov ebx, 1
mov ecx, edi
mov dword [esp + 0x1c], ebx
call fcn.005bb0ae
mov dword [edi], method.CObArray.virtual_0
mov eax, dword [0x1cb6e58]
lea ebp, [esi + 0x28]
mov dword [ebp], eax
mov ecx, dword [0x1cb6e58]
mov dword [esi + 0x60], ecx
mov edx, dword [0x1cb6e58]
mov dword [esi + 0x64], edx
mov eax, dword [0x1cb6e58]
mov dword [esi + 0x8c], eax
lea ecx, [esi + 0xc0]
mov byte [esp + 0x1c], 6
call fcn.005ba586
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
xor edi, edi
mov dword [esi], 0x1c5bd8c
mov dword [esi + 4], edi
lea eax, [esp + 0x2c]
mov dword [esi + 8], ecx
push eax
mov ecx, ebp
mov byte [esp + 0x20], 7
mov dword [esi + 0x24], edx
call fcn.005bc1bd
mov eax, 0x834
lea ebp, [esi + 0x40]
mov dword [esi + 0x34], eax
mov ecx, 0xb9a
mov eax, 0xc8
mov dword [esi + 0x38], ecx
mov dword [ebp], eax
mov ecx, eax
mov edx, eax
mov dword [esi + 0x3c], ebx
mov dword [ebp + 4], ecx
mov dword [esi + 0xc], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], 0xffffff
mov dword [ebp + 8], edx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], 0x64
mov dword [esi + 0x98], edi
mov dword [ebp + 0xc], eax
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], 5
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], edi
mov dword [esi + 0x50], 0x96
mov dword [esi + 0x54], 0xaa
mov dword [esi + 0x58], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], 0x41
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], 0xc0c0c0
mov dword [esi + 0x88], ebx
push 0x1c52c40
lea ecx, [esi + 0x8c]
call fcn.005bc20d
push 0x1c52c40
lea ecx, [esi + 0x60]
call fcn.005bc20d
push 0x1cbb138
lea ecx, [esi + 0x64]
call fcn.005bc20d
lea ecx, [esp + 0x2c]
mov word [esi + 0x68], 0x1388
mov dword [esi + 0x6c], 0xe1e1e1
mov dword [esi + 0x70], edi
mov dword [esi + 0x5c], ebx
mov dword [esi + 0xbc], edi
mov dword [esp + 0x1c], 0xffffffff
call fcn.005bc084
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x4ffaf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ec066
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x30]
sub esp, 0x10
mov dword [esp + 0x30], 0
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x44]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, esi
call fcn.00571170
lea ebp, [esi + 0x98]
mov byte [esp + 0x1c], 1
mov ecx, ebp
call fcn.004ff4a0
push 0xa
lea ecx, [esi + 0xbc]
mov byte [esp + 0x20], 2
call fcn.005bae9d
lea ebx, [esi + 0xd8]
mov byte [esp + 0x1c], 3
mov ecx, ebx
call fcn.004d9180
lea edi, [esi + 0xe8]
mov ecx, edi
call fcn.005bb0ae
mov dword [edi], method.CObArray.virtual_0
lea ecx, [esi + 0x100]
mov byte [esp + 0x1c], 4
call fcn.004d3d40
or edi, 0xffffffff
mov dword [esi + 0x148], edi
mov dword [esi + 0x14c], edi
mov dword [esi + 0x150], edi
mov dword [esi + 0x154], edi
mov dword [esi + 0x158], edi
mov dword [esi + 0x15c], edi
mov dword [esi + 0x160], edi
mov dword [esi + 0x164], edi
mov dword [esi + 0x168], edi
mov edx, dword [0x1cb6e58]
mov dword [esi + 0x174], edx
xor eax, eax
mov ecx, 0xf
mov dword [esi + 0xfc], eax
mov dword [esi + 0x13c], eax
mov dword [esi + 0x140], eax
mov dword [esi + 0x144], eax
push eax
lea eax, [esp + 0x40]
mov dword [esi], 0x1c5be2c
mov dword [ebp], ecx
mov dword [ebp + 4], ecx
mov dword [ebp + 8], ecx
push eax
mov byte [esp + 0x24], 6
mov dword [ebx], 0x14
mov dword [esi + 0xdc], 3
mov dword [esi + 0xe0], 2
call fcn.005312e0
add esp, 8
mov dword [esi + 0x16c], edi
lea ecx, [esp + 0x3c]
mov dword [esi + 0x170], 0
mov dword [esp + 0x1c], edi
call fcn.005bc084
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x1c
Function at 0x5116f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ed143
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebx, [esi + 0x54]
xor edi, edi
push 0xa
mov ecx, ebx
mov dword [esp + 0x20], edi
call fcn.005bae9d
mov dword [ebx], method.CObList.virtual_0
lea ebp, [esi + 0x70]
mov byte [esp + 0x1c], 1
mov ecx, ebp
call fcn.005bb0ae
lea ebx, [esi + 0x14]
xor eax, eax
mov dword [ebp], method.CObArray.virtual_0
xor ecx, ecx
mov dword [ebx], eax
xor edx, edx
mov dword [esi + 4], eax
mov dword [esi + 0xc], eax
mov dword [ebx + 4], ecx
mov eax, 0x19
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [ebx + 8], edx
mov edx, eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [ebx + 0xc], edi
lea ebx, [esi + 0x3c]
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [ebx], eax
mov dword [esi + 0x30], edi
mov word [esi + 0x38], di
mov dword [esi + 0x34], edi
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi], 0x1c5c438
mov dword [esi + 0x28], 1
mov dword [ebx + 8], edx
mov eax, esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x5117d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ed163
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebx, [esi + 0x54]
xor edi, edi
push 0xa
mov ecx, ebx
mov dword [esp + 0x20], edi
call fcn.005bae9d
mov dword [ebx], method.CObList.virtual_0
lea ebp, [esi + 0x70]
mov byte [esp + 0x1c], 1
mov ecx, ebp
call fcn.005bb0ae
mov ecx, dword [esp + 0x28]
mov dword [ebp], method.CObArray.virtual_0
mov dword [esi], 0x1c5c438
lea eax, [esi + 0x14]
mov edx, dword [ecx]
lea ebx, [esi + 0x3c]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0xc]
mov dword [esi + 0x2c], edx
mov dword [eax + 0xc], ecx
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], eax
mov eax, 0x19
xor ecx, ecx
mov dword [ebx], eax
mov edx, eax
mov dword [esi + 0x24], edi
mov dword [esi + 0x4c], edi
mov dword [ebx + 4], ecx
mov dword [esi + 0x50], edi
mov dword [esi + 0x30], edi
mov word [esi + 0x38], di
mov dword [ebx + 8], edx
mov dword [esi + 0x34], edi
mov dword [esi + 8], ecx
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0xc], edi
mov dword [esi + 0x28], 1
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x512630
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5ed228
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x54]
mov esi, ecx
push edi
lea ecx, [esp + 0x2c]
call fcn.005c40f9
push 7
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0
call fcn.005c39a8
push 5
lea ecx, [esp + 0x2c]
mov ebx, eax
call fcn.005c3834
push 0
push 1
push 2
lea ecx, [esp + 0x1c]
mov ebp, eax
call fcn.005c440e
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
mov byte [esp + 0x48], 1
call fcn.005c3870
lea ecx, [esi + 0x14]
mov dword [esp + 0x54], eax
mov edx, dword [ecx]
mov dword [esp + 0x18], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x4c]
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x24], eax
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esi + 0x2c]
lea ecx, [esp + 0x18]
push ecx
push edx
push edi
call fcn.005335c0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
add esp, 0xc
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
push ebx
lea ecx, [esp + 0x2c]
call fcn.005c39a8
push ebp
lea ecx, [esp + 0x2c]
call fcn.005c3870
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x28]
push edx
call fcn.005c3870
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 2
call fcn.005c43f8
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.005c416b
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 0xc

Function at 0x514e80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ed348
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x20]
call fcn.005c40f9
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
lea edx, [esp + 4]
mov dword [esp + 8], ecx
push edx
mov ecx, esi
mov dword [esp + 0x3c], 0
mov dword [esp + 8], eax
call fcn.004b67a0
mov eax, dword [esi + 0x1f4]
lea ecx, [esp + 4]
push eax
push ecx
mov ecx, esi
call fcn.004b66c0
lea edx, [esp + 4]
mov ecx, esi
push edx
call fcn.004b6720
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_DrawFocusRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005c416b
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 0x10
Function at 0x516fc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ed4b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [esp + 0x40]
mov esi, ecx
push edi
lea ecx, [esp + 0x20]
call fcn.005c40f9
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 4]
mov ebx, dword [esi + 8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ecx
call fcn.00531a00
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push edx
push edi
call fcn.005335c0
mov ecx, dword [esp + 0x30]
mov ebx, dword [sym.imp.USER32.dll_DrawFocusRect]
add esp, 0x10
lea eax, [esp + 0xc]
push eax
push ecx
call ebx
mov edx, dword [esp + 0x4c]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
mov edx, dword [esp + 0x4c]
push edx
push ecx
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
lea ecx, [esp + 0xc]
push ecx
call fcn.00531a00
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x10]
push edx
push eax
push edi
call fcn.005335c0
mov edx, dword [esp + 0x30]
add esp, 0x10
lea ecx, [esp + 0xc]
push ecx
push edx
call ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005c416b
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 0x10
Function at 0x522060
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ee3e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
push ecx
lea eax, [esp + 0x3c]
xor edi, edi
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
mov dword [esp + 0x20], edi
call fcn.005bbdf9
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x44]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x38]
push edx
mov ecx, esi
call fcn.004ffaf0
lea ebx, [esi + 0x180]
mov eax, 1
mov ecx, eax
mov edx, eax
mov dword [ebx], eax
mov dword [esi + 0x194], edi
mov dword [esi + 0x17c], edi
mov dword [esi + 0x178], edi
mov dword [ebx + 4], ecx
mov edi, eax
lea ecx, [esp + 0x38]
mov dword [esi], 0x1c5cb38
mov dword [ebx + 8], edx
mov dword [esi + 0x190], 5
mov dword [esi + 0x198], 2
mov dword [esp + 0x18], 0xffffffff
mov dword [ebx + 0xc], edi
call fcn.005bc084
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x1c

Function at 0x5304f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ef1ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x20], 0
call fcn.005117d0
mov ebx, 1
push 0x2c
mov byte [esp + 0x18], bl
mov dword [esi], 0x1c5ebc4
mov dword [esi + 0x8c], 5
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], ebx
mov dword [esi + 0x84], ebx
call fcn.005bbdc5
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x53057b
mov ecx, eax
call fcn.0054c9e0
jmp 0x53057d
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x88], eax
mov byte [esp + 0x14], bl
mov edx, dword [ecx - 8]
test edx, edx
je 0x53059a
push ecx
mov ecx, eax
call fcn.0054cb80
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], 0xffffffff
call fcn.005bc084
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x530e90
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x5ef2c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
lea ecx, [esp + 0xc]
call fcn.005dbadc
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0
call fcn.005dbdf6
test eax, eax
je 0x530f86
push 0
push 1
lea ecx, [esp + 0x14]
call fcn.005dbdb8
test eax, eax
je 0x530f86
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x530efc
push eax
push eax
push str.Could_not_open_clipboard.
jmp 0x530f81
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
jne 0x530f12
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x530f78
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
call fcn.005bbdc5
mov esi, eax
add esp, 4
test esi, esi
jne 0x530f5e
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
push esi
push str.Out_of_memory_
call fcn.005c85fe
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.005dbb09
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x530faa
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call fcn.005bbdee
add esp, 4
push 0
push 0
push str.Error_obtaining_text_from_Clipboard.
call fcn.005c85fe
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.005dbb09
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
lea ecx, [esp + 0xc]
call fcn.005bc0f2
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
push ecx
mov ecx, dword [esp + 0x34]
call fcn.005bc1bd
push esi
call fcn.005bbdee
add esp, 4
lea ecx, [esp + 8]
mov byte [esp + 0x24], 0
call fcn.005bc084
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.005dbb09
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x531020
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ef2e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], esp
call fcn.005dbadc
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.005dbdf6
test eax, eax
je 0x5311cb
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.005dbdb8
test eax, eax
je 0x5311cb
call fcn.005c1dc5
test eax, eax
je 0x531086
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x531088
xor eax, eax
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x5311cb
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x531199
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [ebp - 0x20]
mov edi, eax
call fcn.005bc745
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 2
movsx ax, byte [edi]
test ax, ax
je 0x53118d
cmp ax, 0x7f
jbe 0x5310f0
push eax
mov ecx, esi
call fcn.005bc487
movsx ax, byte [edi + 1]
inc edi
push eax
mov ecx, esi
call fcn.005bc487
inc edi
jmp 0x5310c4
cmp ax, 0x20
jae 0x5310fc
cmp ax, 0xd
jne 0x531110
push eax
mov ecx, esi
call fcn.005bc487
push 0
mov ecx, esi
call fcn.005bc487
inc edi
jmp 0x5310c4
cmp ax, 9
jne 0x5310ed
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x531159
push 0x1cbbc84
lea ecx, [ebp - 0x14]
call fcn.005bc0f2
lea ecx, [ebp - 0x14]
push 0
push ecx
mov byte [ebp - 4], 3
call fcn.005312e0
add esp, 8
lea edx, [ebp - 0x14]
mov ecx, esi
push edx
call fcn.005bc49c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.005bc084
inc edi
jmp 0x5310c4
push 9
mov ecx, esi
call fcn.005bc487
push 0
mov ecx, esi
call fcn.005bc487
inc edi
jmp 0x5310c4
mov dword [ebp - 4], 0
call fcn.005bc783
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.005dbb09
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.005dbb09
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5311f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5ef308
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov ebx, dword [esp + 0x20]
mov ebp, dword [sym.imp.USER32.dll_OpenClipboard]
push ebx
call ebp
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x24]
or edi, 0xffffffff
mov eax, dword [eax - 8]
cmp eax, edi
je 0x53123a
inc eax
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x53125c
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], edi
call fcn.005bc084
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 0x24]
mov edi, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test edi, edi
je 0x531287
push ebx
call ebp
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call fcn.005bc084
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
Function at 0x535fe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5efb8f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x28]
push esi
lea ecx, [esp + 4]
push eax
push ecx
mov dword [esp + 0x10], 0
call fcn.00539840
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x14]
push 0xa
inc eax
push edx
push eax
mov dword [esp + 0x30], 1
call fcn.004a5c15
add esp, 0x14
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 8]
call fcn.005bc460
mov esi, dword [esp + 0x24]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.005bbdf9
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 0
call fcn.005bc084
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret