Function at 0x44fb80
Capabilities:
Open clipboard
Read file on windows
Write clipboard data

Disassembly:
mov eax, 0x401c
call fcn.0045ed70
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x4030]
push 0
push edi
call fcn.0044e4b0
push 0x47009c
push edi
mov esi, eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 0x10
test edi, edi
mov dword [esp + 0x10], edi
je 0x44fe1b
push 0xa
push 0xb
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push 0x2002
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x44fbe3
push edi
jmp 0x44fe12
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
jne 0x44fc0e
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x401c
ret
mov edi, str.Hej_Tom_n
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
xor edi, edi
push ecx
push 0x2000
push 1
push edx
mov dword [esp + 0x28], edi
xor esi, esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x44fdc7
jmp 0x44fc64
mov eax, dword [esp + 0x1c]
xor edx, edx
test eax, eax
mov dword [esp + 0x14], edx
jle 0x44fd36
mov cl, byte [esp + edx + 0x28]
cmp cl, 0xd
je 0x44fd29
cmp cl, 0xa
jne 0x44fd21
mov byte [esp + esi + 0x2028], cl
inc esi
mov byte [esp + esi + 0x2028], 0
add esi, edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x24], esi
cmp esi, edi
jl 0x44fcd7
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
add edi, 0x2000
push 0x2042
push edi
push ebp
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x44fe0d
mov eax, dword [esp + 0x18]
lea edi, [esp + 0x2028]
or ecx, 0xffffffff
lea edx, [eax + ebx]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
xor esi, esi
inc eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov edi, ecx
jmp 0x44fd2e
mov byte [esp + esi + 0x2028], cl
inc esi
inc edx
mov dword [esp + 0x14], edx
cmp edx, eax
jl 0x44fc72
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push edx
push 0x2000
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
mov dword [esp + 0x1c], eax
test eax, eax
jg 0x44fc60
test esi, esi
jle 0x44fdc7
mov byte [esp + esi + 0x2028], 0
lea ecx, [esi + edi]
mov esi, dword [esp + 0x20]
cmp ecx, esi
jl 0x44fd9c
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
add esi, 0x2000
push 0x2042
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x44fe0d
mov eax, dword [esp + 0x18]
lea edi, [esp + 0x2028]
or ecx, 0xffffffff
lea edx, [eax + ebx]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x401c
ret
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x401c
ret