joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e2c6
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x46b6e8], ebx
push esi
push edi
jne 0x43e346
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43e381
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x462524
push edi
call esi
test eax, eax
mov dword [0x46b6e8], eax
je 0x43e381
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x46b6ec], eax
call esi
cmp dword [0x46b4a4], 2
mov dword [0x46b6f0], eax
jne 0x43e346
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x46b6f8], eax
je 0x43e346
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x46b6f4], eax
mov eax, dword [0x46b6f4]
test eax, eax
je 0x43e38b
call eax
test eax, eax
je 0x43e372
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x46b6f8]
test eax, eax
je 0x43e372
test byte [ebp - 8], 1
jne 0x43e38b
cmp dword [0x46b4b0], 4
jb 0x43e385
or byte [ebp + 0x12], 0x20
jmp 0x43e3aa
xor eax, eax
jmp 0x43e3ba
or byte [ebp + 0x12], 4
jmp 0x43e3aa
mov eax, dword [0x46b6ec]
test eax, eax
je 0x43e3aa
call eax
mov ebx, eax
test ebx, ebx
je 0x43e3aa
mov eax, dword [0x46b6f0]
test eax, eax
je 0x43e3aa
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x46b6e8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43e7e7
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 0x43e815
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 0x43e81c
cmp ebx, dword [eax + 4]
jae 0x43e81c
xor eax, eax
jmp 0x43ea0c
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x43e82d
xor eax, eax
inc eax
jmp 0x43ea0b
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x43e843
cmp ecx, edx
jae 0x43e988
cmp dword [eax + 4], 0
je 0x43e84c
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x43e834
cmp dword [ebp + 8], 0
je 0x43e86e
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x43e988
cmp eax, esi
jae 0x43e988
mov eax, dword [0x46b550]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x43e893
cmp dword [esi*4 + 0x46b558], edi
je 0x43e98c
inc esi
cmp esi, eax
jl 0x43e881
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x43ea08
cmp dword [ebp - 8], 0x1000000
jne 0x43ea08
test byte [ebp - 0xc], 0xcc
je 0x43e911
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x43ea08
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x43ea08
cmp word [eax + 0x18], 0x10b
jne 0x43ea08
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x43ea08
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x43e911
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x43e911
test byte [ecx + 0x27], 0x80
jne 0x43e988
push 1
push 0x46b598
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x43e825
mov ecx, dword [0x46b550]
test ecx, ecx
mov edx, ecx
jle 0x43e945
lea eax, [ecx*4 + 0x46b554]
cmp dword [eax], edi
je 0x43e945
dec edx
sub eax, 4
test edx, edx
jg 0x43e939
test edx, edx
jne 0x43e976
push 0xf
pop ebx
cmp ecx, ebx
jg 0x43e952
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x43e96a
lea eax, [edx*4 + 0x46b558]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x43e958
cmp ecx, 0x10
jge 0x43e976
inc ecx
mov dword [0x46b550], ecx
push 0
push 0x46b598
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x43e825
xor eax, eax
jmp 0x43ea0b
test esi, esi
jle 0x43e825
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x46b598
call ebx
test eax, eax
jne 0x43e825
cmp dword [esi*4 + 0x46b558], edi
je 0x43e9e2
mov eax, dword [0x46b550]
lea esi, [eax - 1]
test esi, esi
jl 0x43e9d0
cmp dword [esi*4 + 0x46b558], edi
je 0x43e9cc
dec esi
jns 0x43e9c0
test esi, esi
jge 0x43e9e0
cmp eax, 0x10
jge 0x43e9db
inc eax
mov dword [0x46b550], eax
lea esi, [eax - 1]
jmp 0x43e9e2
je 0x43e9fa
xor ecx, ecx
test esi, esi
jl 0x43e9fa
lea eax, [ecx*4 + 0x46b558]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x43e9e8
push 0
push 0x46b598
call ebx
jmp 0x43e825
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x440b23
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 [0x46b940]
push edi
jae 0x440cf8
mov eax, esi
sar eax, 5
lea edi, [eax*4 + 0x46b960]
mov eax, dword [edi]
and esi, 0x1f
shl esi, 3
add eax, esi
mov dl, byte [eax + 4]
test dl, 1
je 0x440cf8
and dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 0
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
je 0x440bce
test dl, 2
jne 0x440bce
test dl, 0x48
je 0x440b98
cmp byte [eax + 5], 0xa
je 0x440b98
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 0x440be1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop ecx
cmp eax, ecx
jne 0x440bc9
mov dword [0x46b49c], ecx
jmp 0x440cff
cmp eax, 0x6d
jne 0x440bd5
xor eax, eax
jmp 0x440d0c
push eax
call fcn.0043e788
pop ecx
jmp 0x440d09
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi]
add dword [ebp - 0xc], eax
test byte [ecx + esi + 4], 0x80
je 0x440cf3
test eax, eax
je 0x440c08
cmp byte [ebx], 0xa
jne 0x440c08
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x440c11
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 0x440ced
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 0x1a
je 0x440cdd
cmp al, 0xd
je 0x440c43
mov byte [ebx], al
inc ebx
inc dword [ebp - 8]
jmp 0x440ccf
dec ecx
cmp dword [ebp - 8], ecx
jae 0x440c5d
mov eax, dword [ebp - 8]
inc eax
cmp byte [eax], 0xa
jne 0x440c58
add dword [ebp - 8], 2
jmp 0x440cb1
mov dword [ebp - 8], eax
jmp 0x440ccb
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 0x440c85
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x440ccb
cmp dword [ebp - 0x10], 0
je 0x440ccb
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x440ca6
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x440cb1
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x440cce
cmp ebx, dword [ebp + 0xc]
jne 0x440cb6
cmp byte [ebp - 1], 0xa
jne 0x440cb6
mov byte [ebx], 0xa
jmp 0x440cce
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0043f4ed
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x440ccf
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 0xc]
cmp dword [ebp - 8], ecx
jb 0x440c27
jmp 0x440ced
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x440ced
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 0x440d0c
and dword [0x46b49c], 0
mov dword [0x46b498], 9
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x440e73
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.00458250
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x440f0e
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 [0x46b4a4]
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 0x440f0e
cmp eax, 1
je 0x440f2f
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 0x440f0e
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x440edb
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x440f0a
xor eax, eax
inc eax
jmp 0x440f4e
cmp edi, eax
jae 0x440f12
xor eax, eax
jmp 0x440f4e
cmp eax, esi
jae 0x440f19
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 [0x46b4a4]
jmp 0x440f32
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 0x442e9c
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov ecx, dword [ebp + 0x3a4]
cmp ecx, dword [0x46b940]
mov eax, dword [0x466ae0]
push ebx
push esi
mov dword [ebp + 0x398], eax
push edi
jae 0x443062
mov eax, ecx
sar eax, 5
lea ebx, [eax*4 + 0x46b960]
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 0x443062
xor edi, edi
cmp dword [ebp + 0x3ac], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], edi
jne 0x442f06
xor eax, eax
jmp 0x443076
test al, 0x20
je 0x442f17
push 2
push edi
push edi
push ecx
call fcn.0043f579
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x442fec
cmp dword [ebp + 0x3ac], edi
mov eax, dword [ebp + 0x3a8]
mov dword [ebp - 0x70], eax
mov dword [ebp + 0x3a4], edi
jbe 0x443033
mov ecx, dword [ebp - 0x70]
sub ecx, dword [ebp + 0x3a8]
lea eax, [ebp - 0x6c]
cmp ecx, dword [ebp + 0x3ac]
jae 0x442f79
mov edx, dword [ebp - 0x70]
inc dword [ebp - 0x70]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x442f6a
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 0x442f4c
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 0x442fb9
mov eax, dword [ebp - 0x78]
add dword [ebp - 0x74], eax
cmp eax, edi
jl 0x442fc5
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp + 0x3a8]
xor edi, edi
cmp eax, dword [ebp + 0x3ac]
jb 0x442f40
jmp 0x442fc7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x3a4], eax
xor edi, edi
mov eax, dword [ebp - 0x74]
cmp eax, edi
jne 0x44305d
cmp dword [ebp + 0x3a4], edi
je 0x443033
push 5
pop eax
cmp dword [ebp + 0x3a4], eax
jne 0x443025
mov dword [0x46b49c], eax
jmp 0x443069
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 0x443017
mov eax, dword [ebp - 0x78]
mov dword [ebp + 0x3a4], edi
mov dword [ebp - 0x74], eax
jmp 0x442fc7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x3a4], eax
jmp 0x442fc7
push dword [ebp + 0x3a4]
call fcn.0043e788
pop ecx
jmp 0x443073
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x44304b
mov eax, dword [ebp + 0x3a8]
cmp byte [eax], 0x1a
je 0x442eff
mov dword [0x46b498], 0x1c
mov dword [0x46b49c], edi
jmp 0x443073
sub eax, dword [ebp - 0x7c]
jmp 0x443076
and dword [0x46b49c], 0
mov dword [0x46b498], 9
or eax, 0xffffffff
mov ecx, dword [ebp + 0x398]
pop edi
pop esi
pop ebx
call fcn.00441a79
add ebp, 0x39c
leave
ret
Function at 0x44334a
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, 0x4681d8
mov ecx, ebx
call fcn.00443ae3
test eax, eax
jne 0x443383
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
push 0x45a5d8
push 0
push str.Cant_open_clipboard_for_writing.
call fcn.0044c1bc
jmp 0x4433c7
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 0x4433b1
cmp dword [ebp - 4], 4
jae 0x443461
push edi
mov ecx, ebx
call fcn.0044374a
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 0x4434ce
cmp dword [ebp - 4], 4
jb 0x4434ce
push dword [ebp - 0x10]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, edi
mov dword [ebp - 8], eax
je 0x44346c
cmp dword [ebp - 0x10], edi
je 0x44343b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
je 0x44348a
push edi
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 0x10]
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x4434bc
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jb 0x4434bc
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 0x4434ce
cmp dword [ebp - 4], 4
jb 0x4434ce
cmp dword [ebp - 0xc], edi
jne 0x4433cc
jmp 0x4434ce
push edi
mov ecx, ebx
call fcn.0044374a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x45a5d8
push edi
push str.Out_of_memory.
jmp 0x4434af
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
mov ecx, ebx
call fcn.0044374a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x45a5d8
push edi
push 0x45a768
mov ecx, dword [ebp - 0x14]
call fcn.0044c1bc
jmp 0x4433c5
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.0044374a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xc], edi
jne 0x4433c2
mov ecx, dword [0x467b78]
push 1
push edi
push 0xffffffffffffffff
push 0x45a734
call fcn.0040184e
jmp 0x4433c5
Function at 0x443502
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov edi, ecx
mov esi, 0x4681d8
mov ecx, esi
call fcn.00443ae3
test eax, eax
jne 0x443533
push 0x45a5d8
push eax
push str.Cant_open_clipboard_for_reading.
mov ecx, edi
call fcn.0044c1bc
jmp 0x4436f2
mov ecx, dword [0x467b78]
push ebx
push 1
xor ebx, ebx
push ebx
push 0xffffffffffffffff
push 0x45bf4c
call fcn.0040184e
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 0x443574
mov ecx, esi
call fcn.0044374a
jmp 0x4436f1
mov byte [ebp - 2], bl
mov byte [ebp - 3], bl
mov byte [ebp - 4], bl
mov dword [ebp - 8], ebx
jmp 0x44368c
cmp eax, 1
je 0x443597
cmp eax, 7
je 0x443597
cmp eax, 0xd
mov byte [ebp + 0xb], bl
jne 0x44359b
mov byte [ebp + 0xb], 1
cmp eax, 8
je 0x4435a8
cmp eax, 0x11
mov byte [ebp - 1], bl
jne 0x4435ac
mov byte [ebp - 1], 1
cmp eax, 0xe
je 0x4435ba
cmp eax, 3
je 0x4435ba
xor cl, cl
jmp 0x4435bc
mov cl, 1
cmp byte [ebp + 0xb], bl
je 0x4435ca
cmp byte [ebp - 2], bl
jne 0x44368b
cmp byte [ebp - 1], bl
je 0x4435d8
cmp byte [ebp - 3], bl
jne 0x44368b
cmp cl, bl
je 0x4435e5
cmp byte [ebp - 4], bl
jne 0x44368b
cmp byte [ebp + 0xb], bl
je 0x4435f0
mov byte [ebp - 2], 1
jmp 0x443603
cmp byte [ebp - 1], bl
je 0x4435fb
mov byte [ebp - 3], 1
jmp 0x443603
cmp cl, bl
je 0x443603
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.004439a1
mov edi, eax
cmp edi, ebx
je 0x443688
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x44362d
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x443688
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 0x44369f
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 0x44369f
cmp dword [ebp - 0x10], ebx
je 0x443688
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, 0x4681d8
je 0x4436ab
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_EnumClipboardFormats]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x443585
jmp 0x4436ab
cmp dword [ebp - 0x10], ebx
je 0x4436ab
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
mov ecx, esi
call fcn.0044374a
cmp dword [ebp - 8], ebx
jne 0x4436e5
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 0x4436e5
mov ecx, dword [0x467b78]
push 1
push ebx
push 0xffffffffffffffff
push 0x45a734
call fcn.0040184e
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 0x443796
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 0x4437b8
call fcn.00443ae3
test eax, eax
jne 0x4437b8
push str.Cant_open_clipboard_for_writing.
jmp 0x443845
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x4437d1
push ebx
mov ecx, esi
call fcn.0044374a
push 0x45a7f4
jmp 0x443845
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x443815
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x443823
cmp byte [eax], bl
jne 0x4437f4
cmp dword [ebp + 8], 0xd
jne 0x4437ee
cmp byte [eax + 1], bl
jne 0x4437f4
mov byte [ebp - 1], 1
jmp 0x4437f7
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 0x443823
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 4], eax
push ebx
mov ecx, esi
call fcn.0044374a
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 0x443838
mov dword [esi + 4], ebx
jmp 0x443815
push ebx
mov ecx, esi
call fcn.0044374a
push 0x45a7e0
mov ecx, esi
call fcn.004436f8
jmp 0x44381d

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
mov esi, dword [ebp + 8]
cmp esi, 0xc000
jb 0x443a56
cmp esi, 0xffff
ja 0x443a56
push 0x104
lea eax, [ebp - 0x10c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClipboardFormatNameA]
push 0xb
lea eax, [ebp - 0x10c]
push str.Link_Source
push eax
call fcn.00442545
add esp, 0xc
test eax, eax
je 0x443a4f
lea eax, [ebp - 0x10c]
push str.ObjectLink
push eax
call fcn.00442502
test eax, eax
pop ecx
pop ecx
je 0x443a4f
lea eax, [ebp - 0x10c]
push str.OwnerLink
push eax
call fcn.00442502
test eax, eax
pop ecx
pop ecx
je 0x443a4f
lea eax, [ebp - 0x10c]
push str.Native
push eax
call fcn.00442502
test eax, eax
pop ecx
pop ecx
je 0x443a4f
lea eax, [ebp - 0x10c]
push str.Embed_Source
push eax
call fcn.00442502
test eax, eax
pop ecx
pop ecx
jne 0x443a5d
xor eax, eax
jmp 0x443ade
mov byte [ebp - 0x10c], 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push esi
mov esi, dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 4], eax
jmp 0x443ad3
cmp dword [ebp + 8], 0xf
je 0x443adb
lea eax, [ebp - 0x10c]
push str.OwnerLink
push eax
call fcn.00442502
test eax, eax
pop ecx
pop ecx
je 0x443adb
mov eax, dword [0x465064]
cmp eax, 0xffffffff
je 0x443ab1
test eax, eax
je 0x443adb
call edi
mov ecx, dword [0x465064]
mov edx, dword [ebp - 4]
add ecx, edx
sub ecx, eax
cmp ecx, 5
jle 0x443adb
and dword [0x46506c], 0
push 1
push 0x8000012f
call fcn.0040de6e
pop ecx
pop ecx
push dword [ebp + 8]
mov dword [0x46506c], 1
call esi
test eax, eax
je 0x443a72
jmp 0x443add
xor eax, eax
pop edi
pop esi
leave
ret 4
Function at 0x443ae3
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push ecx
cmp dword [ecx + 0x18], 0
mov dword [esp], ecx
je 0x443af2
xor eax, eax
inc eax
pop ecx
ret
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
push dword [0x467254]
mov edi, dword [sym.imp.USER32.dll_OpenClipboard]
mov ebx, eax
call edi
xor ebp, ebp
inc ebp
jmp 0x443b54
mov eax, dword [0x465064]
cmp eax, 0xffffffff
je 0x443b32
test eax, eax
je 0x443b63
call esi
mov ecx, dword [0x465064]
add ecx, ebx
sub ecx, eax
cmp ecx, 5
jle 0x443b63
and dword [0x46506c], 0
push ebp
push 0x8000012f
call fcn.0040de6e
pop ecx
pop ecx
push dword [0x467254]
mov dword [0x46506c], ebp
call edi
test eax, eax
je 0x443b13
mov eax, dword [esp + 0x10]
mov dword [eax + 0x18], ebp
mov eax, ebp
jmp 0x443b65
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x443ea6
Capabilities:
Write clipboard data

Disassembly:
push ecx
push ebx
push esi
push edi
mov esi, ecx
jmp 0x443eb1
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 0
je 0x443eae
mov edi, dword [esp + 0x14]
cmp byte [edi + 0x17], 0
jne 0x443ec4
mov edi, dword [edi + 0xc]
mov ecx, edi
call fcn.00401dcc
xor ebx, ebx
inc ebx
cmp byte [esi + 0x17], bl
jne 0x443f13
push ebx
mov ecx, esi
call fcn.00401e61
cmp dword [edi + 8], eax
je 0x443f0f
push ebx
push 0
push dword [edi + 0xc]
mov ecx, esi
push 0
call fcn.0040184e
test eax, eax
je 0x443f60
mov eax, dword [edi + 0xc]
inc eax
push eax
push dword [edi + 8]
mov ecx, esi
push ebx
call fcn.00401e61
push eax
call fcn.004576b0
add esp, 0xc
or byte [esi + 0x15], bl
mov eax, ebx
jmp 0x443f60
mov ecx, 0x4681d8
call fcn.00443ae3
test eax, eax
jne 0x443f37
push 0x45a5d8
push str.Cant_open_clipboard_for_writing.
mov ecx, 0x467ce0
call fcn.0044c37d
jmp 0x443f60
push ebp
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [edi + 8]
mov eax, dword [edi + 0xc]
lea eax, [eax + esi + 1]
lea edi, [esi + 4]
cmp edi, eax
mov dword [esp + 0x18], eax
jbe 0x443f6b
push 0
mov ecx, 0x4681d8
call fcn.0044374a
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov eax, dword [esp + 0x18]
mov esi, dword [esi]
test esi, esi
mov dword [esp + 0x10], esi
je 0x443f53
mov ecx, edi
add edi, 4
cmp edi, eax
ja 0x443f53
mov ebx, dword [ecx]
mov esi, edi
add edi, ebx
cmp edi, eax
ja 0x443f53
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x443fd0
test ebx, ebx
je 0x443fba
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x443ff5
push ebx
push esi
push eax
call fcn.004576b0
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, edi
push ebp
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetClipboardData]
lea edi, [esi + 4]
cmp edi, dword [esp + 0x18]
jbe 0x443f67
jmp 0x443f53
push 0
mov ecx, 0x4681d8
call fcn.0044374a
push 0x45a5d8
push str.Out_of_memory.
mov ecx, 0x467ce0
call fcn.0044c37d
jmp 0x443f5f
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0
mov ecx, 0x4681d8
call fcn.0044374a
push 0x45a5d8
push 0x45a768
jmp 0x443fe6