joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f0690
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.004f06e0
mov esi, eax
test esi, esi
je 0x4f06d9
mov ecx, dword [edi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
mov ecx, esi
call fcn.005cd42e
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 0x4f983a
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5f44f8
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.005c410e
mov dword [ebx], method.CObArray.virtual_0
mov eax, dword [0x1a14e58]
lea ebp, [esi + 0x28]
mov dword [ebp], eax
mov ecx, dword [0x1a14e58]
lea ebx, [esi + 0x60]
mov dword [ebx], ecx
mov edx, dword [0x1a14e58]
mov dword [esi + 0x64], edx
mov eax, dword [0x1a14e58]
mov dword [esi + 0x8c], eax
lea ecx, [esi + 0xc0]
mov byte [esp + 0x20], 5
call fcn.005c35e6
mov dword [esi], 0x19b9b0c
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.005c5152
push eax
mov ecx, ebp
mov byte [esp + 0x24], 7
call fcn.005c521d
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 6
call fcn.005c50e4
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 0x19b09c0
lea ecx, [esi + 0x8c]
mov dword [esi + 0x84], 0xc0c0c0
mov dword [esi + 0x88], ebp
call fcn.005c526d
push 0x19b09c0
mov ecx, ebx
mov dword [esi + 0xb8], edi
call fcn.005c526d
push 0x1a19138
lea ecx, [esi + 0x64]
call fcn.005c526d
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 0x4f9a00
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5f4568
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.005c410e
mov dword [edi], method.CObArray.virtual_0
mov eax, dword [0x1a14e58]
lea ebp, [esi + 0x28]
mov dword [ebp], eax
mov ecx, dword [0x1a14e58]
mov dword [esi + 0x60], ecx
mov edx, dword [0x1a14e58]
mov dword [esi + 0x64], edx
mov eax, dword [0x1a14e58]
mov dword [esi + 0x8c], eax
lea ecx, [esi + 0xc0]
mov byte [esp + 0x1c], 6
call fcn.005c35e6
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
xor edi, edi
mov dword [esi], 0x19b9b0c
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.005c521d
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 0x19b09c0
lea ecx, [esi + 0x8c]
call fcn.005c526d
push 0x19b09c0
lea ecx, [esi + 0x60]
call fcn.005c526d
push 0x1a19138
lea ecx, [esi + 0x64]
call fcn.005c526d
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.005c50e4
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 0x508b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f5086
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.0057a1d0
lea ebp, [esi + 0x98]
mov byte [esp + 0x1c], 1
mov ecx, ebp
call fcn.00508500
push 0xa
lea ecx, [esi + 0xbc]
mov byte [esp + 0x20], 2
call fcn.005c3efd
lea ebx, [esi + 0xd8]
mov byte [esp + 0x1c], 3
mov ecx, ebx
call fcn.004e21e0
lea edi, [esi + 0xe8]
mov ecx, edi
call fcn.005c410e
mov dword [edi], method.CObArray.virtual_0
lea ecx, [esi + 0x100]
mov byte [esp + 0x1c], 4
call fcn.004dcda0
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 [0x1a14e58]
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], 0x19b9bac
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.0053a340
add esp, 8
mov dword [esi + 0x16c], edi
lea ecx, [esp + 0x3c]
mov dword [esi + 0x170], 0
mov dword [esp + 0x1c], edi
call fcn.005c50e4
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 0x51a750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f6163
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.005c3efd
mov dword [ebx], method.CObList.virtual_0
lea ebp, [esi + 0x70]
mov byte [esp + 0x1c], 1
mov ecx, ebp
call fcn.005c410e
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], 0x19ba1b8
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 0x51a830
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f6183
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.005c3efd
mov dword [ebx], method.CObList.virtual_0
lea ebp, [esi + 0x70]
mov byte [esp + 0x1c], 1
mov ecx, ebp
call fcn.005c410e
mov ecx, dword [esp + 0x28]
mov dword [ebp], method.CObArray.virtual_0
mov dword [esi], 0x19ba1b8
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 0x51b690
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5f6248
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.005cd159
push 7
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0
call fcn.005cca08
push 5
lea ecx, [esp + 0x2c]
mov ebx, eax
call fcn.005cc894
push 0
push 1
push 2
lea ecx, [esp + 0x1c]
mov ebp, eax
call fcn.005cd46e
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
mov byte [esp + 0x48], 1
call fcn.005cc8d0
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.0053c620
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.005cca08
push ebp
lea ecx, [esp + 0x2c]
call fcn.005cc8d0
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x28]
push edx
call fcn.005cc8d0
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 2
call fcn.005cd458
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.005cd1cb
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 0x51dee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f6368
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.005cd159
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.004bf800
mov eax, dword [esi + 0x1f4]
lea ecx, [esp + 4]
push eax
push ecx
mov ecx, esi
call fcn.004bf720
lea edx, [esp + 4]
mov ecx, esi
push edx
call fcn.004bf780
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.005cd1cb
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 0x10
Function at 0x520020
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f64d8
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.005cd159
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.0053aa60
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push edx
push edi
call fcn.0053c620
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.0053aa60
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x10]
push edx
push eax
push edi
call fcn.0053c620
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.005cd1cb
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 0x10
Function at 0x52b0c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f7408
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.005c4e59
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.00508b50
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], 0x19ba8b8
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.005c50e4
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 0x539550
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f81ea
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.0051a830
mov ebx, 1
push 0x2c
mov byte [esp + 0x18], bl
mov dword [esi], 0x19bc944
mov dword [esi + 0x8c], 5
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], ebx
mov dword [esi + 0x84], ebx
call fcn.005c4e25
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x5395db
mov ecx, eax
call fcn.00555a40
jmp 0x5395dd
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 0x5395fa
push ecx
mov ecx, eax
call fcn.00555be0
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], 0xffffffff
call fcn.005c50e4
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x539ef0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x5f82e0
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.005e4b3c
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0
call fcn.005e4e56
test eax, eax
je 0x539fe6
push 0
push 1
lea ecx, [esp + 0x14]
call fcn.005e4e18
test eax, eax
je 0x539fe6
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x539f5c
push eax
push eax
push str.Could_not_open_clipboard.
jmp 0x539fe1
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
jne 0x539f72
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x539fd8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
call fcn.005c4e25
mov esi, eax
add esp, 4
test esi, esi
jne 0x539fbe
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
push esi
push str.Out_of_memory_
call fcn.005d165e
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.005e4b69
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 0x53a00a
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call fcn.005c4e4e
add esp, 4
push 0
push 0
push str.Error_obtaining_text_from_Clipboard.
call fcn.005d165e
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.005e4b69
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.005c5152
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
push ecx
mov ecx, dword [esp + 0x34]
call fcn.005c521d
push esi
call fcn.005c4e4e
add esp, 4
lea ecx, [esp + 8]
mov byte [esp + 0x24], 0
call fcn.005c50e4
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.005e4b69
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x53a080
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f8308
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.005e4b3c
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.005e4e56
test eax, eax
je 0x53a22b
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.005e4e18
test eax, eax
je 0x53a22b
call fcn.005cae25
test eax, eax
je 0x53a0e6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x53a0e8
xor eax, eax
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x53a22b
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x53a1f9
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [ebp - 0x20]
mov edi, eax
call fcn.005c57a5
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 2
movsx ax, byte [edi]
test ax, ax
je 0x53a1ed
cmp ax, 0x7f
jbe 0x53a150
push eax
mov ecx, esi
call fcn.005c54e7
movsx ax, byte [edi + 1]
inc edi
push eax
mov ecx, esi
call fcn.005c54e7
inc edi
jmp 0x53a124
cmp ax, 0x20
jae 0x53a15c
cmp ax, 0xd
jne 0x53a170
push eax
mov ecx, esi
call fcn.005c54e7
push 0
mov ecx, esi
call fcn.005c54e7
inc edi
jmp 0x53a124
cmp ax, 9
jne 0x53a14d
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x53a1b9
push 0x1a19c84
lea ecx, [ebp - 0x14]
call fcn.005c5152
lea ecx, [ebp - 0x14]
push 0
push ecx
mov byte [ebp - 4], 3
call fcn.0053a340
add esp, 8
lea edx, [ebp - 0x14]
mov ecx, esi
push edx
call fcn.005c54fc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.005c50e4
inc edi
jmp 0x53a124
push 9
mov ecx, esi
call fcn.005c54e7
push 0
mov ecx, esi
call fcn.005c54e7
inc edi
jmp 0x53a124
mov dword [ebp - 4], 0
call fcn.005c57e3
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.005e4b69
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.005e4b69
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 0x53a250
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f8328
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 0x53a29a
inc eax
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x53a2bc
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], edi
call fcn.005c50e4
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 0x53a2e7
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.005c50e4
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 0x53f040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f8baf
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.005428a0
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x14]
push 0xa
inc eax
push edx
push eax
mov dword [esp + 0x30], 1
call fcn.004aec75
add esp, 0x14
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 8]
call fcn.005c54c0
mov esi, dword [esp + 0x24]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.005c4e59
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 0
call fcn.005c50e4
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret