joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6fa4e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x70b45d
push eax
mov dword fs:[0], esp
sub esp, 0x1c
cmp byte [0x991b00], 0
push esi
je 0x6fa52e
cmp byte [0x7f5de4], 0
je 0x6fa52e
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
call fcn.006fac40
add esp, 8
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push edi
push 0x7187ac
push dword [ebp + 0xc]
call fcn.006fa800
mov edi, eax
add esp, 8
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x6fa615
push 2
push 0
push edi
call fcn.006d37c5
push edi
call fcn.006d4732
push edi
mov esi, eax
call fcn.006fc0b0
add esp, 0x14
lea ecx, [ebp - 0x28]
push 0
push esi
call fcn.004b2670
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push edi
cmovae ecx, dword [ebp - 0x28]
push esi
push 1
push ecx
call fcn.006d333a
add esp, 0x10
cmp eax, esi
mov esi, dword [ebp + 8]
je 0x6fa5bf
lea ecx, [ebp - 0x28]
mov byte [esi + 0x18], 0
call fcn.004716c0
push edi
call fcn.006d2a7f
add esp, 4
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
push edi
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov byte [esi + 0x18], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.006d2a7f
add esp, 4
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov byte [eax + 0x18], 0
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x6fa630
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70b47d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
test eax, eax
je 0x6fa732
push esi
push 2
push 0
push eax
call fcn.006d37c5
push dword [ebp + 0xc]
call fcn.006d4732
push dword [ebp + 0xc]
mov esi, eax
call fcn.006fc0b0
add esp, 0x14
lea ecx, [ebp - 0x24]
push 0
push esi
call fcn.004b2670
push dword [ebp + 0xc]
cmp dword [ebp - 0x10], 0x10
lea ecx, [ebp - 0x24]
push esi
cmovae ecx, dword [ebp - 0x24]
push 1
push ecx
call fcn.006d333a
add esp, 0x10
cmp eax, esi
mov esi, dword [ebp + 8]
je 0x6fa6d6
lea ecx, [ebp - 0x24]
mov byte [esi + 0x18], 0
call fcn.004716c0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x6fa721
push eax
call fcn.006d2a7f
add esp, 4
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [ebp - 0x24], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x14]
movq qword [esi + 0x10], xmm0
mov byte [esi + 0x18], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
test ecx, ecx
je 0x6fa721
push ecx
call fcn.006d2a7f
add esp, 4
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov byte [eax + 0x18], 0
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x6fada0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 4]
imul edx, ecx, 0x1000193
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 5]
xor ecx, eax
movzx eax, byte [esi + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 7]
imul ecx, ecx, 0x1000193
pop esi
xor ecx, eax
imul eax, ecx, 0x1000193
xor eax, edx
pop ebp
ret 4

Function at 0x6fb000
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.006fb010

Function at 0x6fb990
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ecx + 4]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.006d333a
add esp, 0x10
pop ebp
ret 8
Function at 0x401120
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bab1
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1004610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax], vtable.CAmkProgDlg.0
mov dword [ebp - 4], 2
mov ecx, dword [0x1006610]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [0x1006610]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
add ecx, 0xe4
call fcn.00542015
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xd0
call fcn.00402640
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x7c
call fcn.00541e99
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
call fcn.00541447
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4018d0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bba8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x1004610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp + 8]
mov dword [0x1006628], eax
cmp dword [0x1006618], 0
je 0x401931
cmp dword [0x10067fc], 0
je 0x401931
cmp dword [0x1006628], 0
je 0x401927
push 8
mov ecx, dword [ebp - 0x64]
call fcn.00548212
jmp 0x401931
push 0
mov ecx, dword [ebp - 0x64]
call fcn.00548212
cmp dword [0x1006628], 0
je 0x401a34
mov ecx, dword [0x1006610]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
call fcn.004302c0
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0xdc], eax
mov dword [ecx + 0xe0], edx
mov edx, dword [ebp - 0x64]
add edx, 0xd4
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x64]
add eax, 0xd0
push eax
mov ecx, dword [0x10062a4]
add ecx, 0x7c
call fcn.00545c01
lea ecx, [ebp - 0x18]
call fcn.004025e0
mov dword [ebp - 4], 0
push 2
push 0x50
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0x5b7f74
call fcn.0041f340
add esp, 0x14
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.0041e3f0
add esp, 0xc
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00402680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00402640
lea ecx, [ebp - 0x10]
call fcn.004025e0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
push edx
push 0x5b7ff8
lea eax, [ebp - 0x10]
push eax
call fcn.00402c00
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x64]
add ecx, 0x7c
call fcn.00548170
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402640
jmp 0x401a95
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0xd0]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0x64]
add ecx, 0x7c
call fcn.00548170
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0xd8]
push eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0xd4]
push edx
call dword [sym.imp.USER32.dll_SetCursorPos]
call fcn.004302c0
mov ecx, dword [ebp - 0x64]
sub eax, dword [ecx + 0xdc]
sbb edx, dword [ecx + 0xe0]
mov dword [0x10068d0], eax
mov dword [0x10068d4], edx
mov edx, dword [0x1006610]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x401ef0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x10062a4], 0
push 0
push 0
push 0
push 0x401f40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [0x10062a4], 0
jne 0x401f32
push 0x10065fc
push 0x32
push 0xa
call fcn.00405a10
add esp, 0xc
jmp 0x401f16
mov esp, ebp
pop ebp
ret
Function at 0x403350
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4033bc
lea ecx, [ebp - 0x1c]
push ecx
push 0x5b86dc
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov dword [ebp - 0x14], 1
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 2
push 0
push 0
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4033bc
xor eax, eax
jmp 0x4033d4
push 0x80020003
mov eax, dword [ebp + 8]
or eax, 0x10
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret

Function at 0x404880
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bf68
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x1004610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x10]
call fcn.004025e0
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x404950
mov eax, dword [0x100667c]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40494a
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
movsx eax, byte [edx]
test eax, eax
je 0x404940
xor ecx, ecx
mov word [ebp - 0x20], cx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.004044c0
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x40491e
movzx ecx, word [ebp - 0x20]
test ecx, ecx
jne 0x404920
jmp 0x404940
mov dx, word [ebp - 0x20]
mov word [ebp - 0x4e], dx
movzx eax, word [ebp - 0x4e]
push eax
lea ecx, [ebp - 0x10]
call fcn.00429af0
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
jmp 0x4048ed
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.004029e0
add esp, 4
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
add edx, 0x10
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x24]
or ecx, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402640
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x40bb50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c95b
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x1004610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
push 0xa4
call fcn.005413c4
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x40bba2
mov ecx, dword [ebp - 0x18]
call fcn.0040b7e0
mov dword [ebp - 0x70], eax
jmp 0x40bba9
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x6c]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0040bc20
mov eax, dword [ebp - 0x10]
add eax, 0x30
mov dword [ebp - 0x68], eax
push 1
mov ecx, dword [ebp - 0x68]
call fcn.004d1f60
mov ecx, dword [ebp - 0x68]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x68]
mov dword [edx + 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0x30
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 0x30
call fcn.00405910
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41db60
Capabilities:
Acquire debug privileges
Allocate thread local storage
Get common file path
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59db36
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x1004610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf0], ecx
push 0
push 0x10063f0
call fcn.0041da40
add esp, 8
push 0x10063f0
mov ecx, 0x10067dc
call fcn.00429300
push 0
push 0x1a
push 0x104
mov ecx, 0x10067d8
call fcn.00429750
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, 0x10067d8
call fcn.00429110
push 1
push 0x5babe0
call fcn.0041dad0
add esp, 8
mov dword [0x10062d8], 0x114
push 0x10062d8
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.0054d2d6
mov eax, dword [eax + 4]
mov dword [ebp - 0xc8], eax
call fcn.0054d2d6
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xcc], ecx
mov edx, 0x80
movzx eax, dx
push eax
mov ecx, dword [ebp - 0xcc]
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [0x10062d4], eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xf0]
add eax, 0xa4
push eax
call sub.gdiplus.dll_GdiplusStartup
push 0
call fcn.0054c4a9
add esp, 4
push 0
lea ecx, [ebp - 0x98]
push ecx
call fcn.0042fb30
add esp, 8
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x98]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0xd0], eax
xor ecx, ecx
cmp dword [ebp - 0xd0], 0
sete cl
movzx edx, cl
test edx, edx
jne 0x41dcb7
mov eax, dword [ebp - 0x98]
push eax
call fcn.004312a0
add esp, 4
jmp 0x41dcc4
push 0x5baba4
call fcn.004312a0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.00402640
mov dword [ebp - 0xb0], vtable.VObj.0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], vtable.ExprItem.0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xb0], vtable.AnyArray.0
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0xd8]
mov dword [edx], 0
mov eax, dword [ebp - 0xd8]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0xd8]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx + 4]
mov dword [0x10062d0], eax
lea ecx, [ebp - 0xb0]
call fcn.0041de20
push 0
call fcn.005630fd
add esp, 4
push eax
call fcn.00561341
add esp, 4
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ecx + 0x44]
push edx
call fcn.004f9db0
add esp, 4
call fcn.00474680
call fcn.004c7310
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1006604], eax
push 0
lea ecx, [ebp - 0x94]
call fcn.0042b1a0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xf0]
lea ecx, [ebp - 0x94]
mov dword [eax + 0x20], ecx
push 0
mov edx, 0x66
movzx eax, dx
push eax
lea ecx, [ebp - 0x94]
call fcn.00541e01
push 0
lea ecx, [ebp - 0x94]
call fcn.0054451d
mov ecx, dword [0x1006604]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x1006604], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00541447
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41e2f0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59db98
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1004610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], 0
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
shl eax, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10], 0
je 0x41e340
mov ecx, dword [ebp - 0x14]
or ecx, 0x1000000
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x1c]
call fcn.004025e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x40
mov edx, dword [ebp - 0x18]
shl edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00429080
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00429110
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x18]
je 0x41e356
mov eax, dword [ebp - 0x1c]
sub eax, 0x10
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004029e0
add esp, 4
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
add edx, 0x10
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x24]
or ecx, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00402640
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x42ca70
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e3f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1004610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42cb4f
push 8
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x42cb49
push 8
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42cb49
mov eax, dword [ebp - 0x14]
push eax
call fcn.0042cc50
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42cb49
mov dword [ebp - 0x20], vtable.CGdiObject.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], vtable.CBitmap.0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00549847
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00439d80
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax + 4], 0
sete cl
neg ecx
sbb ecx, ecx
add ecx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], vtable.CBitmap.0
lea ecx, [ebp - 0x20]
call fcn.00402d00
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42cb70
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e428
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1004610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax + 4], 0
sete cl
test ecx, ecx
je 0x42cbac
xor eax, eax
jmp 0x42cc32
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42cc30
mov dword [ebp - 0x14], vtable.CGdiObject.0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], vtable.CBitmap.0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
call fcn.00439b80
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [ebp - 0x14]
test eax, eax
jne 0x42cbf6
mov dword [ebp - 0x1c], 0
jmp 0x42cbfc
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], vtable.CBitmap.0
lea ecx, [ebp - 0x14]
call fcn.00402d00
mov eax, dword [ebp - 0x18]
jmp 0x42cc32
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x42d210
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e490
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x1004610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x14]
call fcn.004025e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004025e0
mov byte [ebp - 4], 1
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42d2b9
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42d28a
mov dword [ebp - 0x3c], 0
jmp 0x42d299
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00560a2c
add esp, 4
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402740
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [ebp - 0x14]
sub edx, 0x10
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
push eax
call fcn.004029e0
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
add ecx, 0x10
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0x20]
or eax, 1
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402640
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret