joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43db91
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x43dbbf
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x43dbc6
cmp ebx, dword [eax + 4]
jae 0x43dbc6
xor eax, eax
jmp 0x43ddb6
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x43dbd7
xor eax, eax
inc eax
jmp 0x43ddb5
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x43dbed
cmp ecx, edx
jae 0x43dd32
cmp dword [eax + 4], 0
je 0x43dbf6
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x43dbde
cmp dword [ebp + 8], 0
je 0x43dc18
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x43dd32
cmp eax, esi
jae 0x43dd32
mov eax, dword [0x469040]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x43dc3d
cmp dword [esi*4 + 0x469048], edi
je 0x43dd36
inc esi
cmp esi, eax
jl 0x43dc2b
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x43ddb2
cmp dword [ebp - 8], 0x1000000
jne 0x43ddb2
test byte [ebp - 0xc], 0xcc
je 0x43dcbb
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x43ddb2
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x43ddb2
cmp word [eax + 0x18], 0x10b
jne 0x43ddb2
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x43ddb2
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x43dcbb
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x43dcbb
test byte [ecx + 0x27], 0x80
jne 0x43dd32
push 1
push 0x469088
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
test eax, eax
jne 0x43dbcf
mov ecx, dword [0x469040]
test ecx, ecx
mov edx, ecx
jle 0x43dcef
lea eax, [ecx*4 + 0x469044]
cmp dword [eax], edi
je 0x43dcef
dec edx
sub eax, 4
test edx, edx
jg 0x43dce3
test edx, edx
jne 0x43dd20
push 0xf
pop ebx
cmp ecx, ebx
jg 0x43dcfc
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x43dd14
lea eax, [edx*4 + 0x469048]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x43dd02
cmp ecx, 0x10
jge 0x43dd20
inc ecx
mov dword [0x469040], ecx
push 0
push 0x469088
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
jmp 0x43dbcf
xor eax, eax
jmp 0x43ddb5
test esi, esi
jle 0x43dbcf
mov ebx, dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
push 1
push 0x469088
call ebx
test eax, eax
jne 0x43dbcf
cmp dword [esi*4 + 0x469048], edi
je 0x43dd8c
mov eax, dword [0x469040]
lea esi, [eax - 1]
test esi, esi
jl 0x43dd7a
cmp dword [esi*4 + 0x469048], edi
je 0x43dd76
dec esi
jns 0x43dd6a
test esi, esi
jge 0x43dd8a
cmp eax, 0x10
jge 0x43dd85
inc eax
mov dword [0x469040], eax
lea esi, [eax - 1]
jmp 0x43dd8c
je 0x43dda4
xor ecx, ecx
test esi, esi
jl 0x43dda4
lea eax, [ecx*4 + 0x469048]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x43dd92
push 0
push 0x469088
call ebx
jmp 0x43dbcf
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43fed3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x469420]
push edi
jae 0x4400a8
mov eax, esi
sar eax, 5
lea edi, [eax*4 + 0x469440]
mov eax, dword [edi]
and esi, 0x1f
shl esi, 3
add eax, esi
mov dl, byte [eax + 4]
test dl, 1
je 0x4400a8
and dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 0
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
je 0x43ff7e
test dl, 2
jne 0x43ff7e
test dl, 0x48
je 0x43ff48
cmp byte [eax + 5], 0xa
je 0x43ff48
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea ecx, [ebx + 1]
mov dword [ebp - 0xc], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push ecx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x43ff91
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 5
pop ecx
cmp eax, ecx
jne 0x43ff79
mov dword [0x468f7c], ecx
jmp 0x4400af
cmp eax, 0x6d
jne 0x43ff85
xor eax, eax
jmp 0x4400bc
push eax
call fcn.0043db32
pop ecx
jmp 0x4400b9
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi]
add dword [ebp - 0xc], eax
test byte [ecx + esi + 4], 0x80
je 0x4400a3
test eax, eax
je 0x43ffb8
cmp byte [ebx], 0xa
jne 0x43ffb8
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x43ffc1
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
add ecx, eax
cmp eax, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
jae 0x44009d
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 0x1a
je 0x44008d
cmp al, 0xd
je 0x43fff3
mov byte [ebx], al
inc ebx
inc dword [ebp - 8]
jmp 0x44007f
dec ecx
cmp dword [ebp - 8], ecx
jae 0x44000d
mov eax, dword [ebp - 8]
inc eax
cmp byte [eax], 0xa
jne 0x440008
add dword [ebp - 8], 2
jmp 0x440061
mov dword [ebp - 8], eax
jmp 0x44007b
inc dword [ebp - 8]
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x440035
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x44007b
cmp dword [ebp - 0x10], 0
je 0x44007b
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x440056
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x440061
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x44007e
cmp ebx, dword [ebp + 0xc]
jne 0x440066
cmp byte [ebp - 1], 0xa
jne 0x440066
mov byte [ebx], 0xa
jmp 0x44007e
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0043e897
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x44007f
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 0xc]
cmp dword [ebp - 8], ecx
jb 0x43ffd7
jmp 0x44009d
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x44009d
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0xc]
jmp 0x4400bc
and dword [0x468f7c], 0
mov dword [0x468f78], 9
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x440223
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.004561f0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x4402be
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x468f84]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x4402be
cmp eax, 1
je 0x4402df
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x4402be
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x44028b
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x4402ba
xor eax, eax
inc eax
jmp 0x4402fe
cmp edi, eax
jae 0x4402c2
xor eax, eax
jmp 0x4402fe
cmp eax, esi
jae 0x4402c9
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov eax, dword [0x468f84]
jmp 0x4402e2
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x441e5e
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x45f9b0
call fcn.004568a8
mov edi, 0x94
mov eax, edi
call fcn.004561f0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x468f84], ecx
mov eax, dword [esi + 4]
mov dword [0x468f90], eax
mov edx, dword [esi + 8]
mov dword [0x468f94], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x468f88], esi
cmp ecx, 2
je 0x441ebe
or esi, 0x8000
mov dword [0x468f88], esi
shl eax, 8
add eax, edx
mov dword [0x468f8c], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x441ef9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x441ef9
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x441f11
cmp eax, 0x20b
je 0x441efe
mov dword [ebp - 0x1c], esi
jmp 0x441f25
cmp dword [ecx + 0x84], 0xe
jbe 0x441ef9
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x441f1f
cmp dword [ecx + 0x74], 0xe
jbe 0x441ef9
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.0043e165
pop ecx
test eax, eax
jne 0x441f51
cmp dword [0x468fdc], 1
jne 0x441f3e
call fcn.0043d4c0
push 0x1c
call fcn.0043d4f9
push 0xff
call fcn.0043d3dd
pop ecx
pop ecx
call fcn.0043e1fe
mov dword [ebp - 4], esi
call fcn.0043e624
test eax, eax
jge 0x441f6a
push 0x1b
call fcn.00441e39
pop ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x469564], eax
call fcn.0043c67a
mov dword [0x468fd4], eax
call fcn.004411af
test eax, eax
jge 0x441f90
push 8
call fcn.00441e39
pop ecx
call fcn.00441251
test eax, eax
jge 0x441fa1
push 9
call fcn.00441e39
pop ecx
push 1
call fcn.0043d42b
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x441fb7
push eax
call fcn.00441e39
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
call fcn.00441ddc
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x441fd8
movzx eax, word [ebp - 0x40]
jmp 0x441fdb
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0044ccf7
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x441ff9
push edi
call fcn.0043d4a6
call fcn.0043d41c
jmp 0x44202b
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.004568e3
ret
Function at 0x4421ab
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov ecx, dword [ebp + 0x3a4]
cmp ecx, dword [0x469420]
mov eax, dword [0x464a78]
push ebx
push esi
mov dword [ebp + 0x398], eax
push edi
jae 0x442371
mov eax, ecx
sar eax, 5
lea ebx, [eax*4 + 0x469440]
mov eax, dword [ebx]
mov esi, ecx
and esi, 0x1f
shl esi, 3
mov al, byte [eax + esi + 4]
test al, 1
mov dword [ebp - 0x80], ebx
je 0x442371
xor edi, edi
cmp dword [ebp + 0x3ac], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], edi
jne 0x442215
xor eax, eax
jmp 0x442385
test al, 0x20
je 0x442226
push 2
push edi
push edi
push ecx
call fcn.0043e923
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x4422fb
cmp dword [ebp + 0x3ac], edi
mov eax, dword [ebp + 0x3a8]
mov dword [ebp - 0x70], eax
mov dword [ebp + 0x3a4], edi
jbe 0x442342
mov ecx, dword [ebp - 0x70]
sub ecx, dword [ebp + 0x3a8]
lea eax, [ebp - 0x6c]
cmp ecx, dword [ebp + 0x3ac]
jae 0x442288
mov edx, dword [ebp - 0x70]
inc dword [ebp - 0x70]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x442279
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc edi
mov ebx, dword [ebp - 0x80]
mov byte [eax], dl
inc eax
inc edi
cmp edi, 0x400
jl 0x44225b
mov edi, eax
lea eax, [ebp - 0x6c]
sub edi, eax
push 0
lea eax, [ebp - 0x78]
push eax
push edi
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x4422c8
mov eax, dword [ebp - 0x78]
add dword [ebp - 0x74], eax
cmp eax, edi
jl 0x4422d4
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp + 0x3a8]
xor edi, edi
cmp eax, dword [ebp + 0x3ac]
jb 0x44224f
jmp 0x4422d6
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp + 0x3a4], eax
xor edi, edi
mov eax, dword [ebp - 0x74]
cmp eax, edi
jne 0x44236c
cmp dword [ebp + 0x3a4], edi
je 0x442342
push 5
pop eax
cmp dword [ebp + 0x3a4], eax
jne 0x442334
mov dword [0x468f7c], eax
jmp 0x442378
push edi
lea ecx, [ebp - 0x78]
push ecx
push dword [ebp + 0x3ac]
push dword [ebp + 0x3a8]
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x442326
mov eax, dword [ebp - 0x78]
mov dword [ebp + 0x3a4], edi
mov dword [ebp - 0x74], eax
jmp 0x4422d6
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp + 0x3a4], eax
jmp 0x4422d6
push dword [ebp + 0x3a4]
call fcn.0043db32
pop ecx
jmp 0x442382
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x44235a
mov eax, dword [ebp + 0x3a8]
cmp byte [eax], 0x1a
je 0x44220e
mov dword [0x468f78], 0x1c
mov dword [0x468f7c], edi
jmp 0x442382
sub eax, dword [ebp - 0x7c]
jmp 0x442385
and dword [0x468f7c], 0
mov dword [0x468f78], 9
or eax, 0xffffffff
mov ecx, dword [ebp + 0x398]
pop edi
pop esi
pop ebx
call fcn.00440e29
add ebp, 0x39c
leave
ret
Function at 0x442674
Capabilities:
Read file on windows
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov dword [ebp - 0x14], ecx
mov ebx, 0x466180
mov ecx, ebx
call fcn.00442e08
test eax, eax
jne 0x4426ad
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 0x14]
push 0x4585d8
push 0
push str.Cant_open_clipboard_for_writing.
call fcn.0044a60c
jmp 0x4426f1
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [sym.imp.KERNEL32.DLL_ReadFile]
xor edi, edi
push edi
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x4426db
cmp dword [ebp - 4], 4
jae 0x44278b
push edi
mov ecx, ebx
call fcn.00442a74
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4
push edi
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x4427f8
cmp dword [ebp - 4], 4
jb 0x4427f8
push dword [ebp - 0x10]
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
cmp eax, edi
mov dword [ebp - 8], eax
je 0x442796
cmp dword [ebp - 0x10], edi
je 0x442765
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
cmp eax, edi
je 0x4427b4
push edi
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 0x10]
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x4427e6
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jb 0x4427e6
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetClipboardData]
push edi
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x4427f8
cmp dword [ebp - 4], 4
jb 0x4427f8
cmp dword [ebp - 0xc], edi
jne 0x4426f6
jmp 0x4427f8
push edi
mov ecx, ebx
call fcn.00442a74
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x4585d8
push edi
push str.Out_of_memory.
jmp 0x4427d9
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
push edi
mov ecx, ebx
call fcn.00442a74
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x4585d8
push edi
push str.GlobalLock
mov ecx, dword [ebp - 0x14]
call fcn.0044a60c
jmp 0x4426ef
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
push edi
mov ecx, ebx
call fcn.00442a74
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0xc], edi
jne 0x4426ec
mov ecx, dword [0x465b20]
push 1
push edi
push 0xffffffffffffffff
push 0x45871c
call fcn.00401592
jmp 0x4426ef
Function at 0x44282c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov edi, ecx
mov esi, 0x466180
mov ecx, esi
call fcn.00442e08
test eax, eax
jne 0x44285d
push 0x4585d8
push eax
push str.Cant_open_clipboard_for_reading.
mov ecx, edi
call fcn.0044a60c
jmp 0x442a1c
mov ecx, dword [0x465b20]
push ebx
push 1
xor ebx, ebx
push ebx
push 0xffffffffffffffff
push 0x459f14
call fcn.00401592
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
push ebx
jne 0x44289e
mov ecx, esi
call fcn.00442a74
jmp 0x442a1b
mov byte [ebp - 2], bl
mov byte [ebp - 3], bl
mov byte [ebp - 4], bl
mov dword [ebp - 8], ebx
jmp 0x4429b6
cmp eax, 1
je 0x4428c1
cmp eax, 7
je 0x4428c1
cmp eax, 0xd
mov byte [ebp + 0xb], bl
jne 0x4428c5
mov byte [ebp + 0xb], 1
cmp eax, 8
je 0x4428d2
cmp eax, 0x11
mov byte [ebp - 1], bl
jne 0x4428d6
mov byte [ebp - 1], 1
cmp eax, 0xe
je 0x4428e4
cmp eax, 3
je 0x4428e4
xor cl, cl
jmp 0x4428e6
mov cl, 1
cmp byte [ebp + 0xb], bl
je 0x4428f4
cmp byte [ebp - 2], bl
jne 0x4429b5
cmp byte [ebp - 1], bl
je 0x442902
cmp byte [ebp - 3], bl
jne 0x4429b5
cmp cl, bl
je 0x44290f
cmp byte [ebp - 4], bl
jne 0x4429b5
cmp byte [ebp + 0xb], bl
je 0x44291a
mov byte [ebp - 2], 1
jmp 0x44292d
cmp byte [ebp - 1], bl
je 0x442925
mov byte [ebp - 3], 1
jmp 0x44292d
cmp cl, bl
je 0x44292d
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.00442ccb
mov edi, eax
cmp edi, ebx
je 0x4429b2
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalSize]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x442957
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x4429b2
push ebx
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x4429c9
push ebx
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x4429c9
cmp dword [ebp - 0x10], ebx
je 0x4429b2
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
cmp esi, ebx
mov esi, 0x466180
je 0x4429d5
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_EnumClipboardFormats]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x4428af
jmp 0x4429d5
cmp dword [ebp - 0x10], ebx
je 0x4429d5
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push ebx
mov ecx, esi
call fcn.00442a74
cmp dword [ebp - 8], ebx
jne 0x442a0f
push ebx
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x442a0f
mov ecx, dword [0x465b20]
push 1
push ebx
push 0xffffffffffffffff
push 0x45871c
call fcn.00401592
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
inc eax
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x442ac0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x18], ebx
jne 0x442ae2
call fcn.00442e08
test eax, eax
jne 0x442ae2
push str.Cant_open_clipboard_for_writing.
jmp 0x442b6f
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x442afb
push ebx
mov ecx, esi
call fcn.00442a74
push str.EmptyClipboard
jmp 0x442b6f
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x442b3f
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x442b4d
cmp byte [eax], bl
jne 0x442b1e
cmp dword [ebp + 8], 0xd
jne 0x442b18
cmp byte [eax + 1], bl
jne 0x442b1e
mov byte [ebp - 1], 1
jmp 0x442b21
mov byte [ebp - 1], bl
push ecx
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
cmp byte [ebp - 1], bl
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
je 0x442b4d
push dword [esi + 4]
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov dword [esi + 4], eax
push ebx
mov ecx, esi
call fcn.00442a74
pop esi
pop ebx
leave
ret 4
push dword [esi + 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x442b62
mov dword [esi + 4], ebx
jmp 0x442b3f
push ebx
mov ecx, esi
call fcn.00442a74
push str.SetClipboardData
mov ecx, esi
call fcn.00442a22
jmp 0x442b47

Function at 0x442ccb
Capabilities:
Check for time delay via gettickcount
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
mov ebx, dword [ebp + 8]
cmp ebx, 0xc000
jb 0x442d80
cmp ebx, 0xffff
ja 0x442d80
push 0x104
lea eax, [ebp - 0x108]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClipboardFormatNameA]
push 0xb
lea eax, [ebp - 0x108]
push str.Link_Source
push eax
call fcn.00441854
add esp, 0xc
test eax, eax
je 0x442d79
lea eax, [ebp - 0x108]
push str.ObjectLink
push eax
call fcn.00441811
test eax, eax
pop ecx
pop ecx
je 0x442d79
lea eax, [ebp - 0x108]
push str.OwnerLink
push eax
call fcn.00441811
test eax, eax
pop ecx
pop ecx
je 0x442d79
lea eax, [ebp - 0x108]
push str.Native
push eax
call fcn.00441811
test eax, eax
pop ecx
pop ecx
je 0x442d79
lea eax, [ebp - 0x108]
push str.Embed_Source
push eax
call fcn.00441811
test eax, eax
pop ecx
pop ecx
jne 0x442d87
xor eax, eax
jmp 0x442e03
mov byte [ebp - 0x108], 0
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call edi
mov esi, dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp + 8], eax
jmp 0x442df6
cmp ebx, 0xf
je 0x442dff
lea eax, [ebp - 0x108]
push str.OwnerLink
push eax
call fcn.00441811
test eax, eax
pop ecx
pop ecx
je 0x442dff
mov eax, dword [0x463064]
cmp eax, 0xffffffff
je 0x442dda
test eax, eax
je 0x442dff
call edi
mov ecx, dword [0x463064]
mov edx, dword [ebp + 8]
add ecx, edx
sub ecx, eax
cmp ecx, 5
jle 0x442dff
push 1
push 0x8000012f
mov byte [0x463069], 0
call fcn.0040b5c4
pop ecx
pop ecx
mov byte [0x463069], 1
push ebx
call esi
test eax, eax
je 0x442d9c
jmp 0x442e01
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4