Function at 0x4143a2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
mov dword [ebp - 8], 8
push 0x4466e4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4143e4
push str.Cant_open_GIF_for_writing
mov ecx, dword [ebp - 0x30]
add ecx, 0xc
call sub.MFC42.DLL_CString::operator_1
xor eax, eax
jmp 0x414621
mov edx, 1
mov ecx, dword [ebp - 8]
shl edx, cl
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x2c], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
mov edx, dword [eax + 0x10]
imul edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x20], edx
cmp dword [ebp - 8], 1
jg 0x414461
mov dword [ebp - 0x1c], 2
jmp 0x414467
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x24]
push ecx
push 6
push 1
push str.GIF87a
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.00414627
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.00414627
mov dword [ebp - 4], 0x80
mov eax, dword [ebp - 0xc]
sub eax, 1
shl eax, 5
mov ecx, dword [ebp - 4]
or ecx, eax
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
sub edx, 1
mov eax, dword [ebp - 4]
or eax, edx
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCRT.dll_fputc]
add esp, 8
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
call dword [sym.imp.MSVCRT.dll_fputc]
add esp, 8
mov edx, dword [ebp - 0x24]
push edx
push 0
call dword [sym.imp.MSVCRT.dll_fputc]
add esp, 8
mov dword [ebp - 0x14], 0
jmp 0x41451a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x28]
jge 0x414569
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + eax*4]
push edx
call dword [sym.imp.MSVCRT.dll_fputc]
add esp, 8
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x20]
mov eax, dword [edx + ecx*4]
push eax
call dword [sym.imp.MSVCRT.dll_fputc]
add esp, 8
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax + edx*4]
push ecx
call dword [sym.imp.MSVCRT.dll_fputc]
add esp, 8
jmp 0x414511
mov edx, dword [ebp - 0x24]
push edx
push 0x2c
call dword [sym.imp.MSVCRT.dll_fputc]
add esp, 8
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x30]
call fcn.00414627
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.00414627
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.00414627
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.00414627
mov ecx, dword [ebp - 0x24]
push ecx
push 0
call dword [sym.imp.MSVCRT.dll_fputc]
add esp, 8
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll_fputc]
add esp, 8
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
push edx
mov ecx, dword [ebp - 0x30]
call fcn.0041466d
mov eax, dword [ebp - 0x24]
push eax
push 0
call dword [sym.imp.MSVCRT.dll_fputc]
add esp, 8
mov ecx, dword [ebp - 0x24]
push ecx
push 0x3b
call dword [sym.imp.MSVCRT.dll_fputc]
add esp, 8
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret 0x20