joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e1680
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f04e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.005c3629
mov eax, dword [edi + 4]
mov dword [esp + 0x14], 0
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
lea edx, [edi + 0x24]
mov dword [esi + 0x20], ecx
push edx
lea ecx, [esi + 0x24]
call fcn.005c3629
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4e3570
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push str.open
mov edi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4e3662
lea ecx, [esp + 0x10]
push ecx
push str..htm
push accept
mov ecx, edi
call fcn.00428c70
test eax, eax
jne 0x4e3662
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push accept
mov ecx, edi
call fcn.00428c70
test eax, eax
jne 0x4e3662
lea edx, [esp + 0x10]
push 0x18705a8
push edx
call fcn.004ae1e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4e3633
lea eax, [esp + 0x10]
push 0x18705a4
push eax
call fcn.004ae160
mov esi, eax
add esp, 8
test esi, esi
jne 0x4e3633
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x4e3636
mov byte [esi], 0
push 0x186fe8c
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x4eb9c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f19e7
push eax
mov dword fs:[0], esp
sub esp, 0xf4
push ebx
push ebp
push esi
mov esi, dword [esp + 0x110]
test esi, esi
push edi
mov ebp, ecx
je 0x4ebc23
mov edi, dword [ebp + 0x180]
test edi, edi
je 0x4ebb5b
mov eax, edi
mov edi, dword [edi]
lea ecx, [esp + 0x14]
mov esi, dword [eax + 8]
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xc8]
mov edx, dword [eax]
mov ecx, dword [edx - 8]
test ecx, ecx
lea ecx, [esp + 0x14]
setne bl
call fcn.005c38b4
test bl, bl
je 0x4ebb4c
mov eax, dword [0x186be60]
mov dword [esp + 0x10], eax
push 0xa2d8
lea ecx, [esp + 0x14]
mov dword [esp + 0x110], 0
call fcn.005ca3ac
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.005c3629
push 0
lea ecx, [esp + 0x5c]
call fcn.00554c10
push 0x18709c0
lea ecx, [esp + 0xbc]
mov byte [esp + 0x110], 1
call fcn.005c3a3d
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 0xc8]
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0x110], 2
call fcn.005c39ed
lea ecx, [esp + 0x18]
mov byte [esp + 0x10c], 1
call fcn.005c38b4
lea ecx, [esp + 0x54]
call fcn.005c5105
cmp eax, 1
je 0x4ebad7
push esi
mov ecx, ebp
call fcn.004bda50
mov edi, dword [ebp + 0x180]
lea ecx, [esp + 0xbc]
mov byte [esp + 0x10c], 6
call fcn.005c38b4
lea ecx, [esp + 0xb8]
mov byte [esp + 0x10c], 5
call fcn.005c38b4
lea ecx, [esp + 0xb4]
mov byte [esp + 0x10c], 4
call fcn.005c38b4
lea ecx, [esp + 0xb0]
mov byte [esp + 0x10c], 3
call fcn.005c38b4
lea ecx, [esp + 0x54]
mov byte [esp + 0x10c], 0
call fcn.005c4cc0
lea ecx, [esp + 0x10]
mov dword [esp + 0x10c], 0xffffffff
call fcn.005c38b4
test edi, edi
jne 0x4eb9fe
mov esi, dword [esp + 0x114]
push 0x1000
push 0x2002
lea ecx, [esp + 0x28]
call fcn.005d4d91
push 0
push 0x1000
lea edx, [esp + 0x28]
mov ebx, 7
push 0
push edx
lea ecx, [esp + 0xd0]
mov dword [esp + 0x11c], ebx
call fcn.005cbfd0
mov eax, dword [esi]
lea ecx, [esp + 0xc0]
push ecx
mov ecx, esi
mov byte [esp + 0x110], 8
call dword [eax + 8]
lea ecx, [esp + 0xc0]
call fcn.005cc134
mov edx, dword [ebp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [esp + 0x20]
call fcn.005d4eb6
push eax
mov eax, dword [0x18c95fc]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x4ebbee
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4ebbfc
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
mov ecx, ebp
call fcn.004eee60
lea ecx, [esp + 0xc0]
mov byte [esp + 0x10c], bl
call fcn.005cc0ac
lea ecx, [esp + 0x20]
mov dword [esp + 0x10c], 0xffffffff
call fcn.005d4dd7
mov ecx, dword [esp + 0x104]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x100
ret 4
Function at 0x4eee60
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.004eeeb0
mov esi, eax
test esi, esi
je 0x4eeea9
mov ecx, dword [edi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
mov ecx, esi
call fcn.005cbbfe
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 0x4f800a
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5f2d08
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.005c28de
mov dword [ebx], method.CObArray.virtual_0
mov eax, dword [0x186be60]
lea ebp, [esi + 0x28]
mov dword [ebp], eax
mov ecx, dword [0x186be60]
lea ebx, [esi + 0x60]
mov dword [ebx], ecx
mov edx, dword [0x186be60]
mov dword [esi + 0x64], edx
mov eax, dword [0x186be60]
mov dword [esi + 0x8c], eax
lea ecx, [esi + 0xc0]
mov byte [esp + 0x20], 5
call fcn.005c1db6
mov dword [esi], 0x1810cec
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.005c3922
push eax
mov ecx, ebp
mov byte [esp + 0x24], 7
call fcn.005c39ed
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 6
call fcn.005c38b4
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 0x1807b98
lea ecx, [esi + 0x8c]
mov dword [esi + 0x84], 0xc0c0c0
mov dword [esi + 0x88], ebp
call fcn.005c3a3d
push 0x1807b98
mov ecx, ebx
mov dword [esi + 0xb8], edi
call fcn.005c3a3d
push 0x1870148
lea ecx, [esi + 0x64]
call fcn.005c3a3d
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 0x4f81d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5f2d78
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.005c28de
mov dword [edi], method.CObArray.virtual_0
mov eax, dword [0x186be60]
lea ebp, [esi + 0x28]
mov dword [ebp], eax
mov ecx, dword [0x186be60]
mov dword [esi + 0x60], ecx
mov edx, dword [0x186be60]
mov dword [esi + 0x64], edx
mov eax, dword [0x186be60]
mov dword [esi + 0x8c], eax
lea ecx, [esi + 0xc0]
mov byte [esp + 0x1c], 6
call fcn.005c1db6
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
xor edi, edi
mov dword [esi], 0x1810cec
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.005c39ed
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 0x1807b98
lea ecx, [esi + 0x8c]
call fcn.005c3a3d
push 0x1807b98
lea ecx, [esi + 0x60]
call fcn.005c3a3d
push 0x1870148
lea ecx, [esi + 0x64]
call fcn.005c3a3d
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.005c38b4
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 0x507320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f3896
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.005789a0
lea ebp, [esi + 0x98]
mov byte [esp + 0x1c], 1
mov ecx, ebp
call fcn.00506cd0
push 0xa
lea ecx, [esi + 0xbc]
mov byte [esp + 0x20], 2
call fcn.005c26cd
lea ebx, [esi + 0xd8]
mov byte [esp + 0x1c], 3
mov ecx, ebx
call fcn.004e09b0
lea edi, [esi + 0xe8]
mov ecx, edi
call fcn.005c28de
mov dword [edi], method.CObArray.virtual_0
lea ecx, [esi + 0x100]
mov byte [esp + 0x1c], 4
call fcn.004db570
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 [0x186be60]
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], 0x1810d8c
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.00538b10
add esp, 8
mov dword [esi + 0x16c], edi
lea ecx, [esp + 0x3c]
mov dword [esi + 0x170], 0
mov dword [esp + 0x1c], edi
call fcn.005c38b4
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 0x518f20
Capabilities:
Access peb ldr_data

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

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

Disassembly:
push 0xffffffffffffffff
push 0x5f4a58
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.005cb929
push 7
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0
call fcn.005cb1d8
push 5
lea ecx, [esp + 0x2c]
mov ebx, eax
call fcn.005cb064
push 0
push 1
push 2
lea ecx, [esp + 0x1c]
mov ebp, eax
call fcn.005cbc3e
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
mov byte [esp + 0x48], 1
call fcn.005cb0a0
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.0053adf0
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.005cb1d8
push ebp
lea ecx, [esp + 0x2c]
call fcn.005cb0a0
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x28]
push edx
call fcn.005cb0a0
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 2
call fcn.005cbc28
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.005cb99b
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 0x51c6b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f4b78
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.005cb929
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.004bdfd0
mov eax, dword [esi + 0x1f4]
lea ecx, [esp + 4]
push eax
push ecx
mov ecx, esi
call fcn.004bdef0
lea edx, [esp + 4]
mov ecx, esi
push edx
call fcn.004bdf50
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.005cb99b
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 0x10
Function at 0x51e7f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f4ce8
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.005cb929
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.00539230
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push edx
push edi
call fcn.0053adf0
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.00539230
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x10]
push edx
push eax
push edi
call fcn.0053adf0
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.005cb99b
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 0x10
Function at 0x529890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f5c18
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.005c3629
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.00507320
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], 0x1811a98
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.005c38b4
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 0x537d20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f69fa
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.00519000
mov ebx, 1
push 0x2c
mov byte [esp + 0x18], bl
mov dword [esi], 0x1813b24
mov dword [esi + 0x8c], 5
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], ebx
mov dword [esi + 0x84], ebx
call fcn.005c35f5
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x537dab
mov ecx, eax
call fcn.00554210
jmp 0x537dad
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 0x537dca
push ecx
mov ecx, eax
call fcn.005543b0
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], 0xffffffff
call fcn.005c38b4
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x5386c0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x5f6af0
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.005e330c
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0
call fcn.005e3626
test eax, eax
je 0x5387b6
push 0
push 1
lea ecx, [esp + 0x14]
call fcn.005e35e8
test eax, eax
je 0x5387b6
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x53872c
push eax
push eax
push str.Could_not_open_clipboard.
jmp 0x5387b1
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
jne 0x538742
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x5387a8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
call fcn.005c35f5
mov esi, eax
add esp, 4
test esi, esi
jne 0x53878e
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
push esi
push str.Out_of_memory_
call fcn.005cfe2e
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.005e3339
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 0x5387da
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call fcn.005c361e
add esp, 4
push 0
push 0
push str.Error_obtaining_text_from_Clipboard.
call fcn.005cfe2e
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.005e3339
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.005c3922
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
push ecx
mov ecx, dword [esp + 0x34]
call fcn.005c39ed
push esi
call fcn.005c361e
add esp, 4
lea ecx, [esp + 8]
mov byte [esp + 0x24], 0
call fcn.005c38b4
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.005e3339
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret